Class Index | Cross Index | Namespace Index |
Button with indicator
Contained in: Gtk
Derived from:
Gtk::ToggleButton
Derived by:
Gtk::RadioButton
#include <gtk--/checkbutton.h>
public function member index: |
||
CheckButton | (); | |
CheckButton | (const string& label, gfloat x=0.5, gfloat y=0.5); | |
GtkCheckButton* | gtkobj | (); |
const GtkCheckButton* | gtkobj | () const; |
static bool | isA | (Object* object); |
virtual | ~CheckButton | (); |
protected function member index: |
||
virtual void | draw_indicator_impl | (GdkRectangle* p0); |
With an empty button, you can Gtk::Button::add a widget such as a Gtk::Pixmap or Gtk::Box.If you just wish to add a Gtk::Label, you may want to use the {Gtk::CheckButton(const string &label)} ctor directly instead.
You won't be able to add a widget in this button since it already has a Gtk::Label in it.
Triggered when the button is redrawn (e.g.after being toggled) Overload this signal if you want to implement your own check button look. Otherwise, you most likely don't care about it. The GdkRectangle specifies the area of the widget which will get redrawn.