Toc Gallery Index Tree Gtk.Toggle_Tool_Button

Hierarchy

Description

This package defines the base class for all items that can be added into a toolbar (see gtk-toolbar.ads). See also Gtk.Tool_Button (gtk-tool_button.ads). See also Gtk.Separator_Tool_Item (gtk-separator_tool_item).

Types

Subprograms

  • procedure Gtk_New (Button : out Gtk_Toggle_Tool_Button);
    procedure Initialize (Button : access Gtk_Toggle_Tool_Button_Record'Class);
    Create or initialize a new toggle button
  • procedure Gtk_New_From_Stock (Button : out Gtk_Toggle_Tool_Button; Stock_Id : String);
    procedure Initialize_From_Stock (Button : access Gtk_Toggle_Tool_Button_Record'Class; Stock_Id : String);
    Create or initialize a new toggle button that contains a text and image from a stock item.
  • function Get_Type return GType;
    Internal type representing this class of widgets
  • procedure Set_Active (Button : access Gtk_Toggle_Tool_Button_Record; Is_Active : Boolean);
    function Get_Active (Button : access Gtk_Toggle_Tool_Button_Record) return Boolean;
    Sets whether the button should be selected

Signals

  • toggled
    procedure Handler (Button : access Gtk_Toggle_Tool_Button_Record'Class);
    Emitted whenever the toggle button changes state

Properties

  • Active_Property
    Boolean

Alphabetical Index