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:


Gtk_CheckButton();
Create an empty check button.

Gtk_CheckButton(const string &label);
Create a check button with a label.

Gtk_CheckButton(GtkCheckButton *castitem);
signal void draw_indicator(GdkRectangle *);
Emited on button redraw to update indicator.

GtkCheckButton *gtkobj();
const GtkCheckButton *gtkobj()const;
static bool isGtkCheckButton(Gtk_Object *checkcast);
Protected member index:


virtual void *get_parent_class();
virtual void draw_indicator_impl(GdkRectangle *p1);
Private member index:


GtkType get_type();

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);

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.


draw_indicator
signal void Gtk_CheckButton::draw_indicator(GdkRectangle *);

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.


Protected member details:



Private member details:



Examples:





(pages generated by PERCEPS -script.)