cwidget
0.5.17
|
Utility functions to construct prefabricated widgets. More...
Go to the source code of this file.
Namespaces | |
cwidget | |
The namespace containing everything defined by cwidget. | |
cwidget::dialogs | |
Routines to construct simple dialog boxes. | |
Functions | |
widget_ref | cwidget::dialogs::ok (const widgets::widget_ref &widget, util::slot0arg okslot, const std::wstring &label, const style &st) |
Create a dialog box with a single button. More... | |
widget_ref | cwidget::dialogs::ok (fragment *msg, slot0arg okslot, bool scrollbar) |
widget_ref | cwidget::dialogs::ok (fragment *msg, slot0arg okslot, const style &st, bool scrollbar) |
widget_ref | cwidget::dialogs::ok (fragment *msg, slot0arg okslot, const std::wstring &label, const style &st, bool scrollbar) |
widget_ref | cwidget::dialogs::ok (const std::wstring &msg, slot0arg okslot) |
widget_ref | cwidget::dialogs::ok (const std::wstring &msg, slot0arg okslot, const style &st) |
widgets::widget_ref | cwidget::dialogs::ok (const std::wstring &msg, util::slot0arg okslot, const std::wstring &label, const style &st) |
widget_ref | cwidget::dialogs::yesno (const widgets::widget_ref &widget, util::slot0arg yesslot, const std::wstring &yeslabel, util::slot0arg noslot, const std::wstring &nolabel, const style &st, bool deflt=true) |
Create a dialog box with two buttons, labelled "yes" and "no". More... | |
widget_ref | cwidget::dialogs::yesno (fragment *msg, slot0arg yesslot, slot0arg noslot, bool scrollbar, bool deflt) |
widget_ref | cwidget::dialogs::yesno (fragment *msg, slot0arg yesslot, slot0arg noslot, const style &st, bool scrollbar, bool deflt) |
widget_ref | cwidget::dialogs::yesno (fragment *msg, slot0arg yesslot, const std::wstring &yeslabel, slot0arg noslot, const std::wstring &nolabel, const style &st, bool scrollbar, bool deflt) |
widget_ref | cwidget::dialogs::yesno (const std::wstring &msg, slot0arg yesslot, slot0arg noslot, bool deflt) |
widget_ref | cwidget::dialogs::yesno (const std::wstring &msg, slot0arg yesslot, slot0arg noslot, const style &st, bool deflt) |
widget_ref | cwidget::dialogs::yesno (const std::wstring &msg, slot0arg yesslot, const std::wstring &yeslabel, slot0arg noslot, const std::wstring &nolabel, const style &st, bool deflt) |
widgets::widget_ref | cwidget::dialogs::fileview (const std::string &fn, util::slot0arg okslot=NULL, util::slotarg< sigc::slot1< void, widgets::pager &> > search_slot=NULL, util::slotarg< sigc::slot1< void, widgets::pager &> > repeat_search_slot=NULL, util::slotarg< sigc::slot1< void, widgets::pager &> > repeat_search_back_slot=NULL, const char *encoding=NULL) |
widgets::widget_ref | cwidget::dialogs::fileview (const std::string &fn, util::slot0arg okslot, util::slotarg< sigc::slot1< void, widgets::pager &> > search_slot, util::slotarg< sigc::slot1< void, widgets::pager &> > repeat_search_slot, util::slotarg< sigc::slot1< void, widgets::pager &> > repeat_search_back_slot, const style &st, const char *encoding=NULL) |
widget_ref | cwidget::dialogs::string (fragment *msg, const std::wstring &deflt, slotarg< sigc::slot1< void, std::wstring > > slot, slotarg< sigc::slot0< void > > cancel_slot, slotarg< sigc::slot1< void, std::wstring > > changed_slot, editline::history_list *history, const style &st) |
widget_ref | cwidget::dialogs::string (const std::wstring &msg, const std::wstring &deflt, slotarg< sigc::slot1< void, std::wstring > > slot, slotarg< sigc::slot0< void > > cancel_slot, slotarg< sigc::slot1< void, std::wstring > > changed_slot, editline::history_list *history, const style &st) |
widget_ref | cwidget::dialogs::string (const std::wstring &msg, const std::wstring &deflt, slotarg< sigc::slot1< void, std::wstring > > slot, slotarg< sigc::slot0< void > > cancel_slot, slotarg< sigc::slot1< void, std::wstring > > changed_slot, editline::history_list *history) |
Utility functions to construct prefabricated widgets.
For instance, basic message boxes and yes/no queries can be constructed here.