Maemomm Reference Documentation: hildonmm
Main Page   Namespaces   Book  

Hildon::EditToolbar Class Reference
[Widgets]

A toolbar widget for editing. More...

Inheritance diagram for Hildon::EditToolbar:

Inheritance graph
[legend]

List of all members.

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::EditToolbarwrap (HildonEditToolbar *object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

A toolbar widget for editing.

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().


Constructor & Destructor Documentation

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.

Parameters:
label Text for the toolbar label.
button Text for the toolbar button.
Returns:
A new Hildon::EditToolbar
{2,2}.


Member Function Documentation

HildonEditToolbar* Hildon::EditToolbar::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::HBox.

const HildonEditToolbar* Hildon::EditToolbar::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::HBox.

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}

Parameters:
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}

Parameters:
label A new text for the label of the toolbar button.

Glib::SignalProxy0< void > Hildon::EditToolbar::signal_button_clicked (  ) 

Prototype:
void on_my_button_clicked()

Glib::SignalProxy0< void > Hildon::EditToolbar::signal_arrow_clicked (  ) 

Prototype:
void on_my_arrow_clicked()


Friends And Related Function Documentation

Hildon::EditToolbar * wrap ( HildonEditToolbar *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated for hildonmm by Doxygen 1.5.6 © 1997-2001