|
Graphics.UI.Gtk.MenuComboToolbar.RadioToolButton | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
A toolbar item that contains a radio button
- Module available since Gtk+ version 2.4
|
|
Synopsis |
|
|
|
|
Detail
|
|
A RadioToolButton is a ToolItem that contains a radio button, that
is, a button that is part of a group of toggle buttons where only one button
can be active at a time.
Use radioToolButtonNew to create a new RadioToolButton. use
radioToolButtonNewFromWidget to create a new RadioToolButton that is
part of the same group as an existing RadioToolButton. Use
radioToolButtonNewFromStock or radioToolButtonNewFromWidgetWithStock to
create a new RadioToolButton containing a stock item.
|
|
Class Hierarchy
|
|
| GObject
| +----Object
| +----Widget
| +----Container
| +----Bin
| +----ToolItem
| +----ToolButton
| +----ToggleToolButton
| +----RadioToolButton
|
|
Types
|
|
data RadioToolButton |
Instances | |
|
|
class ToggleToolButtonClass o => RadioToolButtonClass o |
| Instances | |
|
|
castToRadioToolButton :: GObjectClass obj => obj -> RadioToolButton |
|
Constructors
|
|
radioToolButtonNew :: IO RadioToolButton |
Creates a new RadioToolButton, creating a new group.
|
|
radioToolButtonNewFromStock |
|
|
radioToolButtonNewFromWidget |
:: RadioToolButtonClass groupMember | | => groupMember | groupMember - a member of an existing radio group,
to which the new radio tool button will be added.
| -> IO RadioToolButton | | Creates a new RadioToolButton adding it to the same group as
the group to which groupMember belongs.
|
|
|
radioToolButtonNewWithStockFromWidget |
:: RadioToolButtonClass groupMember | | => groupMember | groupMember - a member of an existing radio group,
to which the new radio tool button will be added.
| -> String | stockId - the name of a stock item
| -> IO RadioToolButton | | Creates a new RadioToolButton adding it to the same group as the group
to which groupMember belongs. The new RadioToolButton will contain an
icon and label from the stock item indicated by stockId.
|
|
|
Methods
|
|
radioToolButtonGetGroup |
|
|
radioToolButtonSetGroup |
:: RadioToolButtonClass self | | => self | | -> RadioToolButton | groupMember - a member of an existing radio group,
to which the radio tool button will be added.
| -> IO () | | Adds button to group, removing it from the group it belonged to
before.
|
|
|
Attributes
|
|
radioToolButtonGroup :: RadioToolButtonClass self => ReadWriteAttr self [RadioToolButton] RadioToolButton |
Sets a new group for a radio tool button.
|
|
Produced by Haddock version 0.7 |