| ||||||||||||||
| ||||||||||||||
| ||||||||||||||
Description | ||||||||||||||
A ToolItem containing a button with an additional dropdown menu
| ||||||||||||||
Synopsis | ||||||||||||||
Detail | ||||||||||||||
A MenuToolButton is a ToolItem that contains a button and a small additional button with an arrow. When clicked, the arrow button pops up a dropdown menu. Use menuToolButtonNew to create a new MenuToolButton. Use menuToolButtonNewFromStock to create a new MenuToolButton containing a stock item. | ||||||||||||||
Class Hierarchy | ||||||||||||||
| GObject | +----Object | +----Widget | +----Container | +----Bin | +----ToolItem | +----ToolButton | +----MenuToolButton | ||||||||||||||
Types | ||||||||||||||
data MenuToolButton | ||||||||||||||
| ||||||||||||||
class ToolButtonClass o => MenuToolButtonClass o | ||||||||||||||
| ||||||||||||||
castToMenuToolButton :: GObjectClass obj => obj -> MenuToolButton | ||||||||||||||
gTypeMenuToolButton :: GType | ||||||||||||||
toMenuToolButton :: MenuToolButtonClass o => o -> MenuToolButton | ||||||||||||||
Constructors | ||||||||||||||
menuToolButtonNew | ||||||||||||||
| ||||||||||||||
menuToolButtonNewFromStock | ||||||||||||||
| ||||||||||||||
Methods | ||||||||||||||
menuToolButtonSetMenu | ||||||||||||||
| ||||||||||||||
menuToolButtonGetMenu :: MenuToolButtonClass self => self -> IO (Maybe Menu) | ||||||||||||||
Gets the Menu associated with MenuToolButton. | ||||||||||||||
menuToolButtonSetArrowTooltip | ||||||||||||||
| ||||||||||||||
menuToolButtonSetArrowTooltipText | ||||||||||||||
| ||||||||||||||
menuToolButtonSetArrowTooltipMarkup | ||||||||||||||
| ||||||||||||||
Attributes | ||||||||||||||
menuToolButtonMenu :: (MenuToolButtonClass self, MenuClass menu) => ReadWriteAttr self (Maybe Menu) (Maybe menu) | ||||||||||||||
The dropdown menu. | ||||||||||||||
Signals | ||||||||||||||
onShowMenu :: MenuToolButtonClass self => self -> IO () -> IO (ConnectId self) | ||||||||||||||
afterShowMenu :: MenuToolButtonClass self => self -> IO () -> IO (ConnectId self) | ||||||||||||||
Produced by Haddock version 2.7.2 |