Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype MenuButton = MenuButton (ForeignPtr MenuButton)
- class GObject o => MenuButtonK o
- toMenuButton :: MenuButtonK o => o -> IO MenuButton
- noMenuButton :: Maybe MenuButton
- menuButtonGetAlignWidget :: (MonadIO m, MenuButtonK a) => a -> m Widget
- menuButtonGetDirection :: (MonadIO m, MenuButtonK a) => a -> m ArrowType
- menuButtonGetMenuModel :: (MonadIO m, MenuButtonK a) => a -> m MenuModel
- menuButtonGetPopover :: (MonadIO m, MenuButtonK a) => a -> m Popover
- menuButtonGetPopup :: (MonadIO m, MenuButtonK a) => a -> m Menu
- menuButtonGetUsePopover :: (MonadIO m, MenuButtonK a) => a -> m Bool
- menuButtonNew :: MonadIO m => m MenuButton
- menuButtonSetAlignWidget :: (MonadIO m, MenuButtonK a, WidgetK b) => a -> Maybe b -> m ()
- menuButtonSetDirection :: (MonadIO m, MenuButtonK a) => a -> ArrowType -> m ()
- menuButtonSetMenuModel :: (MonadIO m, MenuButtonK a, MenuModelK b) => a -> Maybe b -> m ()
- menuButtonSetPopover :: (MonadIO m, MenuButtonK a, WidgetK b) => a -> Maybe b -> m ()
- menuButtonSetPopup :: (MonadIO m, MenuButtonK a, WidgetK b) => a -> Maybe b -> m ()
- menuButtonSetUsePopover :: (MonadIO m, MenuButtonK a) => a -> Bool -> m ()
- data MenuButtonAlignWidgetPropertyInfo
- constructMenuButtonAlignWidget :: ContainerK a => a -> IO ([Char], GValue)
- getMenuButtonAlignWidget :: (MonadIO m, MenuButtonK o) => o -> m Container
- setMenuButtonAlignWidget :: (MonadIO m, MenuButtonK o, ContainerK a) => o -> a -> m ()
- data MenuButtonDirectionPropertyInfo
- constructMenuButtonDirection :: ArrowType -> IO ([Char], GValue)
- getMenuButtonDirection :: (MonadIO m, MenuButtonK o) => o -> m ArrowType
- setMenuButtonDirection :: (MonadIO m, MenuButtonK o) => o -> ArrowType -> m ()
- data MenuButtonMenuModelPropertyInfo
- constructMenuButtonMenuModel :: MenuModelK a => a -> IO ([Char], GValue)
- getMenuButtonMenuModel :: (MonadIO m, MenuButtonK o) => o -> m MenuModel
- setMenuButtonMenuModel :: (MonadIO m, MenuButtonK o, MenuModelK a) => o -> a -> m ()
- data MenuButtonPopoverPropertyInfo
- constructMenuButtonPopover :: PopoverK a => a -> IO ([Char], GValue)
- getMenuButtonPopover :: (MonadIO m, MenuButtonK o) => o -> m Popover
- setMenuButtonPopover :: (MonadIO m, MenuButtonK o, PopoverK a) => o -> a -> m ()
- data MenuButtonPopupPropertyInfo
- constructMenuButtonPopup :: MenuK a => a -> IO ([Char], GValue)
- getMenuButtonPopup :: (MonadIO m, MenuButtonK o) => o -> m Menu
- setMenuButtonPopup :: (MonadIO m, MenuButtonK o, MenuK a) => o -> a -> m ()
- data MenuButtonUsePopoverPropertyInfo
- constructMenuButtonUsePopover :: Bool -> IO ([Char], GValue)
- getMenuButtonUsePopover :: (MonadIO m, MenuButtonK o) => o -> m Bool
- setMenuButtonUsePopover :: (MonadIO m, MenuButtonK o) => o -> Bool -> m ()
Exported types
newtype MenuButton Source
class GObject o => MenuButtonK o Source
(GObject o, IsDescendantOf MenuButton o) => MenuButtonK o Source |
toMenuButton :: MenuButtonK o => o -> IO MenuButton Source
Methods
menuButtonGetAlignWidget
menuButtonGetAlignWidget :: (MonadIO m, MenuButtonK a) => a -> m Widget Source
menuButtonGetDirection
menuButtonGetDirection :: (MonadIO m, MenuButtonK a) => a -> m ArrowType Source
menuButtonGetMenuModel
menuButtonGetMenuModel :: (MonadIO m, MenuButtonK a) => a -> m MenuModel Source
menuButtonGetPopover
menuButtonGetPopover :: (MonadIO m, MenuButtonK a) => a -> m Popover Source
menuButtonGetPopup
menuButtonGetPopup :: (MonadIO m, MenuButtonK a) => a -> m Menu Source
menuButtonGetUsePopover
menuButtonGetUsePopover :: (MonadIO m, MenuButtonK a) => a -> m Bool Source
menuButtonNew
menuButtonNew :: MonadIO m => m MenuButton Source
menuButtonSetAlignWidget
menuButtonSetAlignWidget :: (MonadIO m, MenuButtonK a, WidgetK b) => a -> Maybe b -> m () Source
menuButtonSetDirection
menuButtonSetDirection :: (MonadIO m, MenuButtonK a) => a -> ArrowType -> m () Source
menuButtonSetMenuModel
menuButtonSetMenuModel :: (MonadIO m, MenuButtonK a, MenuModelK b) => a -> Maybe b -> m () Source
menuButtonSetPopover
menuButtonSetPopover :: (MonadIO m, MenuButtonK a, WidgetK b) => a -> Maybe b -> m () Source
menuButtonSetPopup
menuButtonSetPopup :: (MonadIO m, MenuButtonK a, WidgetK b) => a -> Maybe b -> m () Source
menuButtonSetUsePopover
menuButtonSetUsePopover :: (MonadIO m, MenuButtonK a) => a -> Bool -> m () Source
Properties
AlignWidget
data MenuButtonAlignWidgetPropertyInfo Source
AttrInfo MenuButtonAlignWidgetPropertyInfo Source | |
type AttrLabel MenuButtonAlignWidgetPropertyInfo = "MenuButton::align-widget" Source | |
type AttrGetType MenuButtonAlignWidgetPropertyInfo = Container Source | |
type AttrBaseTypeConstraint MenuButtonAlignWidgetPropertyInfo = MenuButtonK Source | |
type AttrSetTypeConstraint MenuButtonAlignWidgetPropertyInfo = ContainerK Source | |
type AttrAllowedOps MenuButtonAlignWidgetPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructMenuButtonAlignWidget :: ContainerK a => a -> IO ([Char], GValue) Source
getMenuButtonAlignWidget :: (MonadIO m, MenuButtonK o) => o -> m Container Source
setMenuButtonAlignWidget :: (MonadIO m, MenuButtonK o, ContainerK a) => o -> a -> m () Source
Direction
data MenuButtonDirectionPropertyInfo Source
AttrInfo MenuButtonDirectionPropertyInfo Source | |
type AttrLabel MenuButtonDirectionPropertyInfo = "MenuButton::direction" Source | |
type AttrGetType MenuButtonDirectionPropertyInfo = ArrowType Source | |
type AttrBaseTypeConstraint MenuButtonDirectionPropertyInfo = MenuButtonK Source | |
type AttrSetTypeConstraint MenuButtonDirectionPropertyInfo = * ~ ArrowType Source | |
type AttrAllowedOps MenuButtonDirectionPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getMenuButtonDirection :: (MonadIO m, MenuButtonK o) => o -> m ArrowType Source
setMenuButtonDirection :: (MonadIO m, MenuButtonK o) => o -> ArrowType -> m () Source
MenuModel
data MenuButtonMenuModelPropertyInfo Source
AttrInfo MenuButtonMenuModelPropertyInfo Source | |
type AttrLabel MenuButtonMenuModelPropertyInfo = "MenuButton::menu-model" Source | |
type AttrGetType MenuButtonMenuModelPropertyInfo = MenuModel Source | |
type AttrBaseTypeConstraint MenuButtonMenuModelPropertyInfo = MenuButtonK Source | |
type AttrSetTypeConstraint MenuButtonMenuModelPropertyInfo = MenuModelK Source | |
type AttrAllowedOps MenuButtonMenuModelPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructMenuButtonMenuModel :: MenuModelK a => a -> IO ([Char], GValue) Source
getMenuButtonMenuModel :: (MonadIO m, MenuButtonK o) => o -> m MenuModel Source
setMenuButtonMenuModel :: (MonadIO m, MenuButtonK o, MenuModelK a) => o -> a -> m () Source
Popover
data MenuButtonPopoverPropertyInfo Source
AttrInfo MenuButtonPopoverPropertyInfo Source | |
type AttrLabel MenuButtonPopoverPropertyInfo = "MenuButton::popover" Source | |
type AttrGetType MenuButtonPopoverPropertyInfo = Popover Source | |
type AttrBaseTypeConstraint MenuButtonPopoverPropertyInfo = MenuButtonK Source | |
type AttrSetTypeConstraint MenuButtonPopoverPropertyInfo = PopoverK Source | |
type AttrAllowedOps MenuButtonPopoverPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getMenuButtonPopover :: (MonadIO m, MenuButtonK o) => o -> m Popover Source
setMenuButtonPopover :: (MonadIO m, MenuButtonK o, PopoverK a) => o -> a -> m () Source
Popup
data MenuButtonPopupPropertyInfo Source
AttrInfo MenuButtonPopupPropertyInfo Source | |
type AttrLabel MenuButtonPopupPropertyInfo = "MenuButton::popup" Source | |
type AttrGetType MenuButtonPopupPropertyInfo = Menu Source | |
type AttrBaseTypeConstraint MenuButtonPopupPropertyInfo = MenuButtonK Source | |
type AttrSetTypeConstraint MenuButtonPopupPropertyInfo = MenuK Source | |
type AttrAllowedOps MenuButtonPopupPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getMenuButtonPopup :: (MonadIO m, MenuButtonK o) => o -> m Menu Source
setMenuButtonPopup :: (MonadIO m, MenuButtonK o, MenuK a) => o -> a -> m () Source
UsePopover
data MenuButtonUsePopoverPropertyInfo Source
AttrInfo MenuButtonUsePopoverPropertyInfo Source | |
type AttrLabel MenuButtonUsePopoverPropertyInfo = "MenuButton::use-popover" Source | |
type AttrGetType MenuButtonUsePopoverPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint MenuButtonUsePopoverPropertyInfo = MenuButtonK Source | |
type AttrSetTypeConstraint MenuButtonUsePopoverPropertyInfo = * ~ Bool Source | |
type AttrAllowedOps MenuButtonUsePopoverPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getMenuButtonUsePopover :: (MonadIO m, MenuButtonK o) => o -> m Bool Source
setMenuButtonUsePopover :: (MonadIO m, MenuButtonK o) => o -> Bool -> m () Source