gtk3-0.15.0: Binding to the Gtk+ 3 graphical user interface library

Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.MenuComboToolbar.RadioMenuItem

Contents

Description

A choice from multiple check menu items

Synopsis

Detail

A radio menu item is a check menu item that belongs to a group. At each instant exactly one of the radio menu items from a group is selected.

Class Hierarchy

| GObject
| +----Object
| +----Widget
| +----Container
| +----Bin
| +----Item
| +----MenuItem
| +----CheckMenuItem
| +----RadioMenuItem

Types

Constructors

radioMenuItemNewWithLabel :: GlibString string => string -> IO RadioMenuItem Source #

Creates a new RadioMenuItem whose child is a simple Label.

radioMenuItemNewWithMnemonic :: GlibString string => string -> IO RadioMenuItem Source #

Creates a new RadioMenuItem containing a label. The label will be created using labelNewWithMnemonic, so underscores in label indicate the mnemonic for the menu item.

radioMenuItemNewFromWidget Source #

Arguments

:: RadioMenuItem

groupMember - a member of an existing radio button group, to which the new radio button will be added.

-> IO RadioMenuItem 

Create a new radio button, adding it to the same group as the group to which groupMember belongs.

radioMenuItemNewWithLabelFromWidget Source #

Arguments

:: GlibString string 
=> RadioMenuItem

groupMember - a member of an existing radio button group, to which the new radio button will be added.

-> string 
-> IO RadioMenuItem 

Create a new radio button with a label, adding it to the same group as the group to which groupMember belongs.

radioMenuItemNewWithMnemonicFromWidget :: GlibString string => RadioMenuItem -> string -> IO RadioMenuItem Source #

Create a new radio button with a label and attach it to the group of another radio button. Underscores in the label string indicate the mnemonic for the menu item.

Compatibilty aliases