index
gtk-- homepage



Description:
Gtk_CheckMenuItem

#include <gtk--/checkmenuitem.h>
Base classes: Gtk_MenuItem
Derived by: Gtk_RadioMenuItem



Properties:

NameTypeGetSetDescription
active bool none set_active() Whether the item is checked or not
always_show_toggle bool none set_show_toggle() Whether the toggle indicator is always drawn or only when the item is highlighted


Public member index:


Gtk_CheckMenuItem();
Gtk_CheckMenuItem(GtkCheckMenuItem *castitem);
Gtk_CheckMenuItem(const _gtk_string &label);
void set_active(bool state);
void set_show_toggle(bool always);
signal void toggled(BaseObjectType);
signal void draw_indicator(GdkRectangle *);
GtkCheckMenuItem *gtkobj();
const GtkCheckMenuItem *gtkobj()const;
static bool isGtkCheckMenuItem(Gtk_Object *checkcast);
Protected member index:


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


GtkType get_type();

Public member details:


toggled
signal void Gtk_CheckMenuItem::toggled(BaseObjectType);

Triggered when the item changes state (Note : changing the item's state with set_active() will also trigger this signal).


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

Triggered when the item is redrawn (e.g.after being toggled) Overload this signal if you want to implement your own check item 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.)