Class: Gtk::ToggleToolButton
- Inherits:
-
Object
- Object
- Gtk::ToggleToolButton
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#active ⇒ TrueClass
Queries a Gtk::ToggleToolButton and returns its current state.
-
#active=(active) ⇒ TrueClass
If the toggle tool button should be pressed in.
-
#active? ⇒ TrueClass
If the toggle tool button should be pressed in.
-
#new ⇒ Gtk::ToolItem
Returns a new Gtk::ToggleToolButton.
-
#new_from_stock(stock_id) ⇒ Gtk::ToolItem
Creates a new Gtk::ToggleToolButton containing the image and text from a stock item.
Instance Method Details
#active ⇒ TrueClass
Queries a Gtk::ToggleToolButton and returns its current state. Returns true if the toggle button is pressed in and false if it is raised.
#active=(active) ⇒ TrueClass
If the toggle tool button should be pressed in.
#active? ⇒ TrueClass
If the toggle tool button should be pressed in.
#new ⇒ Gtk::ToolItem
Returns a new Gtk::ToggleToolButton
#new_from_stock(stock_id) ⇒ Gtk::ToolItem
Creates a new Gtk::ToggleToolButton containing the image and text from a stock item. Some stock ids have preprocessor macros like #GTK_STOCK_OK and #GTK_STOCK_APPLY.
It is an error if stock_id is not a name of a stock item.