Toc Gallery Index Tree Gtk.Radio_Menu_Item

Hierarchy

Description

This widget provides a special kind of menu item that represents a radio button. Such a button can be checked or unchecked by the user, but only one button in a group can be selected at any given time, as opposed to a toggle menu item.

Types

Subprograms

  • procedure Gtk_New (Radio_Menu_Item : out Gtk_Radio_Menu_Item; Group : Widget_SList.GSlist; Label : UTF8_String := "");
    procedure Initialize (Radio_Menu_Item : access Gtk_Radio_Menu_Item_Record'Class; Group : Widget_SList.GSlist; Label : UTF8_String := "");
    Creates or initializes a menu item
  • procedure Gtk_New_With_Mnemonic (Radio_Menu_Item : out Gtk_Radio_Menu_Item; Group : Widget_SList.GSlist; Label : UTF8_String);
    procedure Initialize_With_Mnemonic (Radio_Menu_Item : access Gtk_Radio_Menu_Item_Record'Class; Group : Widget_SList.GSlist; Label : UTF8_String);
    Creates or initializes a menu item. The first underscore sign in Label will be used as a key shortcut to this item when the menu is displayed. For instance, if you use "_Open", then pressing alt-o when the menu is open will select the menu item
  • procedure Gtk_New_From_Widget (Radio_Menu_Item : out Gtk_Radio_Menu_Item; Group : access Gtk_Radio_Menu_Item_Record'Class);
    procedure Initialize_From_Widget (Radio_Menu_Item : access Gtk_Radio_Menu_Item_Record'Class; Group : access Gtk_Radio_Menu_Item_Record'Class);
    Creates or initializes a menu item. It initially belongs to the same group as Group
  • procedure Gtk_New_With_Label_From_Widget (Radio_Menu_Item : out Gtk_Radio_Menu_Item; Group : access Gtk_Radio_Menu_Item_Record'Class; Label : String);
    procedure Initialize_With_Label_From_Widget (Radio_Menu_Item : access Gtk_Radio_Menu_Item_Record'Class; Group : access Gtk_Radio_Menu_Item_Record'Class; Label : String);
    Creates or initializes a menu item. It initially belongs to the same group as Group.
  • procedure Gtk_New_With_Mnemonic_From_Widget (Radio_Menu_Item : out Gtk_Radio_Menu_Item; Group : access Gtk_Radio_Menu_Item_Record'Class; Label : String);
    procedure Initialize_With_Mnemonic_From_Widget (Radio_Menu_Item : access Gtk_Radio_Menu_Item_Record'Class; Group : access Gtk_Radio_Menu_Item_Record'Class; Label : String);
    Same as Gtk_New_With_Mnemonic, except the group is given by a widget
  • function Get_Type return Gtk.Gtk_Type;
    Return the internal value associated with a Gtk_Radio_Menu_Item.
  • procedure Set_Group (Radio_Menu_Item : access Gtk_Radio_Menu_Item_Record; Group : Widget_SList.GSlist);
    function Get_Group (Radio_Menu_Item : access Gtk_Radio_Menu_Item_Record) return Widget_SList.GSlist;
    Set or Get to which the menu item belongs. Only one menu item in this group can be selected at any given time
  • function Selected_Button (In_Group : Widget_SList.GSlist) return Natural;
    Return the button number of the selected button in the group. Note: This function is not part of Gtk+ itself, but is provided as a convenient function

Signals

Properties

  • Group_Property
    Object
    The radio menu item whose group this widget belongs to.

Alphabetical Index