index
gtk-- homepage



Description:
Gtk_CheckButton

#include <gtk--/checkbutton.h>
Base classes: Gtk_ToggleButton
Derived by: Gtk_RadioButton

Button with indicator



Properties:


Public member index:


static GtkType get_type();
GtkCheckButton *gtkobj();
const GtkCheckButton *gtkobj()const;
static bool isA(Gtk_Object *checkcast);
virtual ~Gtk_CheckButton();
Gtk_CheckButton();
Create an empty check button.

Gtk_CheckButton(const string &label,gfloat x=0 . 5,gfloat y=0 . 5);
Create a check button with a label.

Protected member index:


void initialize_class();
void *get_parent_class();
static void init_parent_class();
explicit Gtk_CheckButton(GtkCheckButton *castitem);
virtual void draw_indicator_impl(GdkRectangle *p0);
Emited on button redraw to update indicator.

Private member index:


Gtk_CheckButton(const Gtk_CheckButton &);
Gtk_CheckButton &operator =(const Gtk_CheckButton &);

Public member details:


Gtk_CheckButton
Gtk_CheckButton::Gtk_CheckButton();

Create an empty check button.
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.


Gtk_CheckButton
Gtk_CheckButton::Gtk_CheckButton(const string &label,gfloat x=0 . 5,gfloat y=0 . 5);

Create a check button with a label.
You won't be able to add a widget in this button since it already has a Gtk_Label in it.


Protected member details:



draw_indicator_impl
virtual void Gtk_CheckButton::draw_indicator_impl(GdkRectangle *p0);

Emited on button redraw to update indicator.
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.


Private member details:




Examples:





(pages generated by PERCEPS -script.)