Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Signals Properties Author(s) References
A GtkToolItem containing a toggle button
gtkToggleToolButtonNew(show = TRUE)
gtkToggleToolButtonNewFromStock(stock.id)
gtkToggleToolButtonSetActive(object, is.active)
gtkToggleToolButtonGetActive(object)
gtkToggleToolButton(show = TRUE)
1 2 3 4 5 6 7 8 9 10 | 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.
GtkToggleToolButtonThe 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.buttonthe object that emitted the signal
user.datauser 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
https://developer.gnome.org/gtk2/stable/GtkToggleToolButton.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.