GtkToggleToolButton
A GtkToolItem containing a toggle button
gtkToggleToolButtonNew(show = TRUE)
gtkToggleToolButtonNewFromStock(stock.id)
gtkToggleToolButtonSetActive(object, is.active)
gtkToggleToolButtonGetActive(object)
gtkToggleToolButton(show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----GtkToolButton +----GtkToggleToolButton +----GtkRadioToolButton
GtkToggleToolButton implements
AtkImplementorIface, GtkBuildable
and GtkActivatable
.
A GtkToggleToolButton
is a GtkToolItem
that contains a toggle
button.
Use gtkToggleToolButtonNew
to create a new
GtkToggleToolButton
. Use gtkToggleToolButtonNewFromStock
to
create a new GtkToggleToolButton
containing a stock item.
GtkToggleToolButton
The GtkToggleToolButton
struct contains only private data and
should only be accessed through the functions described below.
gtkToggleToolButton
is the equivalent of gtkToggleToolButtonNew
.
toggled(toggle.tool.button, user.data)
Emitted whenever the toggle tool button changes state.
toggle.tool.button
the object that emitted the signal
user.data
user data set when the signal handler was connected.
active
[logical : Read / Write]If the toggle tool button should be pressed in or not. Default value: FALSE Since 2.8
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.