Maeomm Reference Documentation: hildonmm |
Public Member Functions | |
virtual | ~CheckButton () |
HildonCheckButton* | gobj () |
Provides access to the underlying C GtkObject. | |
const HildonCheckButton* | gobj () const |
Provides access to the underlying C GtkObject. | |
CheckButton () | |
CheckButton (Gtk::Hildon::SizeType size) | |
void | set_active (bool is_active=true) |
Sets the status of a Hildon::CheckButton. | |
bool | get_active () const |
Gets the current state of button. | |
void | toggled () |
Emits the Hildon::CheckButton::toggled signal on the Hildon::CheckButton. | |
Glib::SignalProxy0<void> | signal_toggled () |
Related Functions | |
(Note that these are not member functions.) | |
Hildon::CheckButton* | wrap (HildonCheckButton* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
Hildon::CheckButton is a button containing a label and a check box which will remain "pressed-in" when clicked. Clicking again will make the check box toggle its state.
The state of a Hildon::CheckButton can be set using Hildon::CheckButton::set_active(), and retrieved using Hildon::CheckButton::get_active(). The label can be set using Gtk::Button::set_label() and retrieved using Gtk::Button::get_label().
virtual Hildon::CheckButton::~CheckButton | ( | ) | [virtual] |
Hildon::CheckButton::CheckButton | ( | ) |
Hildon::CheckButton::CheckButton | ( | Gtk::Hildon::SizeType | size | ) | [explicit] |
HildonCheckButton* Hildon::CheckButton::gobj | ( | ) | [inline] |
const HildonCheckButton* Hildon::CheckButton::gobj | ( | ) | const [inline] |
void Hildon::CheckButton::set_active | ( | bool | is_active = true |
) |
Sets the status of a Hildon::CheckButton.
Set to true
if you want button to be 'pressed-in', and false
to raise it. This action causes the Hildon::CheckButton::toggled signal to be emitted.
is_active | New state for the button. |
bool Hildon::CheckButton::get_active | ( | ) | const |
Gets the current state of button.
true
if button is active, false
otherwise.void Hildon::CheckButton::toggled | ( | ) |
Emits the Hildon::CheckButton::toggled signal on the Hildon::CheckButton.
There is no good reason for an application ever to call this function.
Glib::SignalProxy0< void > Hildon::CheckButton::signal_toggled | ( | ) |
void on_my_toggled()
Hildon::CheckButton* wrap | ( | HildonCheckButton * | 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. |