gi-gtk-0.3.16.12: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.MenuItem

Contents

Description

 

Synopsis

Exported types

Methods

menuItemActivate

menuItemActivate :: (MonadIO m, MenuItemK a) => a -> m () Source

menuItemDeselect

menuItemDeselect :: (MonadIO m, MenuItemK a) => a -> m () Source

menuItemGetAccelPath

menuItemGetLabel

menuItemGetReserveIndicator

menuItemGetRightJustified

menuItemGetRightJustified :: (MonadIO m, MenuItemK a) => a -> m Bool Source

Deprecated: (Since version 3.2)See gtk_menu_item_set_right_justified()

menuItemGetSubmenu

menuItemGetUseUnderline

menuItemNew

menuItemNewWithLabel

menuItemNewWithMnemonic

menuItemSelect

menuItemSelect :: (MonadIO m, MenuItemK a) => a -> m () Source

menuItemSetAccelPath

menuItemSetLabel

menuItemSetLabel :: (MonadIO m, MenuItemK a) => a -> Text -> m () Source

menuItemSetReserveIndicator

menuItemSetRightJustified

menuItemSetRightJustified :: (MonadIO m, MenuItemK a) => a -> Bool -> m () Source

Deprecated: (Since version 3.2)If you insist on using it, use gtk_widget_set_hexpand() and gtk_widget_set_halign().

menuItemSetSubmenu

menuItemSetSubmenu :: (MonadIO m, MenuItemK a, MenuK b) => a -> Maybe b -> m () Source

menuItemSetUseUnderline

menuItemToggleSizeAllocate

menuItemToggleSizeRequest

Properties

AccelPath

Label

setMenuItemLabel :: (MonadIO m, MenuItemK o) => o -> Text -> m () Source

RightJustified

Submenu

setMenuItemSubmenu :: (MonadIO m, MenuItemK o, MenuK a) => o -> a -> m () Source

UseUnderline

Signals

Activate

type MenuItemActivateCallbackC = Ptr () -> Ptr () -> IO () Source

ActivateItem

Deselect

type MenuItemDeselectCallbackC = Ptr () -> Ptr () -> IO () Source

Select

type MenuItemSelectCallbackC = Ptr () -> Ptr () -> IO () Source

ToggleSizeAllocate

ToggleSizeRequest