Maemomm Reference Documentation: hildonmm |
Public Member Functions | |
virtual | ~EditToolbar () |
HildonEditToolbar * | gobj () |
Provides access to the underlying C GtkObject. | |
const HildonEditToolbar * | gobj () const |
Provides access to the underlying C GtkObject. | |
EditToolbar () | |
EditToolbar (const Glib::ustring &label, const Glib::ustring &button) | |
Creates a new Hildon::EditToolbar, with the toolbar label set to label and the button label set to button. | |
void | set_label (const Glib::ustring &label) |
Sets the label of toolbar to label. | |
void | set_button_label (const Glib::ustring &label) |
Sets the label of the toolbar button to label. | |
Glib::SignalProxy0< void > | signal_button_clicked () |
Glib::SignalProxy0< void > | signal_arrow_clicked () |
Related Functions | |
(Note that these are not member functions.) | |
Hildon::EditToolbar * | wrap (HildonEditToolbar *object, bool take_copy=false) |
A Glib::wrap() method for this object. |
Hildon::EditToolbar is a toolbar which contains a label and two buttons, one of them being an arrow pointing backwards.
The label is a description of the action that the user is supposed to do. The button is to be pressed when the user completes the action. The arrow is used to go back to the previous view discarding any changes.
Note that those widgets don't do anything themselves by default. To actually peform actions the developer must provide signal handlers for them.
To add a Hildon::EditToolbar to a window use Hildon::Window::set_edit_toolbar().
virtual Hildon::EditToolbar::~EditToolbar | ( | ) | [virtual] |
Hildon::EditToolbar::EditToolbar | ( | ) |
Hildon::EditToolbar::EditToolbar | ( | const Glib::ustring & | label, | |
const Glib::ustring & | button | |||
) |
Creates a new Hildon::EditToolbar, with the toolbar label set to label and the button label set to button.
label | Text for the toolbar label. | |
button | Text for the toolbar button. |
HildonEditToolbar* Hildon::EditToolbar::gobj | ( | ) | [inline] |
const HildonEditToolbar* Hildon::EditToolbar::gobj | ( | ) | const [inline] |
void Hildon::EditToolbar::set_label | ( | const Glib::ustring & | label | ) |
Sets the label of toolbar to label.
This will clear any previously set value.
{2,2}
label | A new text for the toolbar label. |
void Hildon::EditToolbar::set_button_label | ( | const Glib::ustring & | label | ) |
Sets the label of the toolbar button to label.
This will clear any previously set value.
{2,2}
label | A new text for the label of the toolbar button. |
Glib::SignalProxy0< void > Hildon::EditToolbar::signal_button_clicked | ( | ) |
void on_my_button_clicked()
Glib::SignalProxy0< void > Hildon::EditToolbar::signal_arrow_clicked | ( | ) |
void on_my_arrow_clicked()
Hildon::EditToolbar * wrap | ( | HildonEditToolbar * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |