GtkToggleToolButton

Share:

Description

A GtkToolItem containing a toggle button

Methods and Functions

gtkToggleToolButtonNew(show = TRUE)
gtkToggleToolButtonNewFromStock(stock.id)
gtkToggleToolButtonSetActive(object, is.active)
gtkToggleToolButtonGetActive(object)
gtkToggleToolButton(show = TRUE)

Hierarchy

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkToolItem
                                       +----GtkToolButton
                                             +----GtkToggleToolButton
                                                   +----GtkRadioToolButton

Interfaces

GtkToggleToolButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.

Detailed Description

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.

Structures

GtkToggleToolButton

The GtkToggleToolButton struct contains only private data and should only be accessed through the functions described below.

Convenient Construction

gtkToggleToolButton is the equivalent of gtkToggleToolButtonNew.

Signals

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.

Properties

active [logical : Read / Write]

If the toggle tool button should be pressed in or not. Default value: FALSE Since 2.8

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://library.gnome.org/devel//gtk/GtkToggleToolButton.html

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.