gi-gtk-0.3.18.14: 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.Menu

Contents

Description

 

Synopsis

Exported types

newtype Menu Source

Constructors

Menu (ForeignPtr Menu) 

Instances

GObject Menu 
((~) * info (ResolveMenuMethod t Menu), MethodInfo * info Menu p) => IsLabelProxy t (Menu -> p) 
type ParentTypes Menu 
type AttributeList Menu 
type SignalList Menu 

class GObject o => MenuK o Source

Instances

toMenu :: MenuK o => o -> IO Menu Source

Methods

menuAttach

data MenuAttachMethodInfo Source

Instances

((~) * signature (b -> Word32 -> Word32 -> Word32 -> Word32 -> m ()), MonadIO m, MenuK a, WidgetK b) => MethodInfo * MenuAttachMethodInfo a signature 

menuAttach :: (MonadIO m, MenuK a, WidgetK b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> m () Source

menuAttachToWidget

data MenuAttachToWidgetMethodInfo Source

Instances

((~) * signature (b -> Maybe MenuDetachFunc -> m ()), MonadIO m, MenuK a, WidgetK b) => MethodInfo * MenuAttachToWidgetMethodInfo a signature 

menuDetach

data MenuDetachMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MenuK a) => MethodInfo * MenuDetachMethodInfo a signature 

menuDetach :: (MonadIO m, MenuK a) => a -> m () Source

menuGetAccelGroup

data MenuGetAccelGroupMethodInfo Source

Instances

((~) * signature (m AccelGroup), MonadIO m, MenuK a) => MethodInfo * MenuGetAccelGroupMethodInfo a signature 

menuGetAccelPath

data MenuGetAccelPathMethodInfo Source

Instances

((~) * signature (m Text), MonadIO m, MenuK a) => MethodInfo * MenuGetAccelPathMethodInfo a signature 

menuGetActive

data MenuGetActiveMethodInfo Source

Instances

((~) * signature (m Widget), MonadIO m, MenuK a) => MethodInfo * MenuGetActiveMethodInfo a signature 

menuGetAttachWidget

data MenuGetAttachWidgetMethodInfo Source

Instances

((~) * signature (m Widget), MonadIO m, MenuK a) => MethodInfo * MenuGetAttachWidgetMethodInfo a signature 

menuGetForAttachWidget

menuGetMonitor

data MenuGetMonitorMethodInfo Source

Instances

((~) * signature (m Int32), MonadIO m, MenuK a) => MethodInfo * MenuGetMonitorMethodInfo a signature 

menuGetReserveToggleSize

menuGetTearoffState

data MenuGetTearoffStateMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, MenuK a) => MethodInfo * MenuGetTearoffStateMethodInfo a signature 

menuGetTearoffState :: (MonadIO m, MenuK a) => a -> m Bool Source

Deprecated: (Since version 3.10)

menuGetTitle

data MenuGetTitleMethodInfo Source

Instances

((~) * signature (m Text), MonadIO m, MenuK a) => MethodInfo * MenuGetTitleMethodInfo a signature 

menuGetTitle :: (MonadIO m, MenuK a) => a -> m Text Source

Deprecated: (Since version 3.10)

menuNew

menuNewFromModel

menuPopdown

data MenuPopdownMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MenuK a) => MethodInfo * MenuPopdownMethodInfo a signature 

menuPopdown :: (MonadIO m, MenuK a) => a -> m () Source

menuPopup

data MenuPopupMethodInfo Source

Instances

((~) * signature (Maybe b -> Maybe c -> Maybe MenuPositionFunc -> Word32 -> Word32 -> m ()), MonadIO m, MenuK a, WidgetK b, WidgetK c) => MethodInfo * MenuPopupMethodInfo a signature 

menuPopup :: (MonadIO m, MenuK a, WidgetK b, WidgetK c) => a -> Maybe b -> Maybe c -> Maybe MenuPositionFunc -> Word32 -> Word32 -> m () Source

menuPopupForDevice

data MenuPopupForDeviceMethodInfo Source

Instances

((~) * signature (Maybe b -> Maybe c -> Maybe d -> Maybe MenuPositionFunc -> Word32 -> Word32 -> m ()), MonadIO m, MenuK a, DeviceK b, WidgetK c, WidgetK d) => MethodInfo * MenuPopupForDeviceMethodInfo a signature 

menuReorderChild

data MenuReorderChildMethodInfo Source

Instances

((~) * signature (b -> Int32 -> m ()), MonadIO m, MenuK a, WidgetK b) => MethodInfo * MenuReorderChildMethodInfo a signature 

menuReorderChild :: (MonadIO m, MenuK a, WidgetK b) => a -> b -> Int32 -> m () Source

menuReposition

data MenuRepositionMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MenuK a) => MethodInfo * MenuRepositionMethodInfo a signature 

menuReposition :: (MonadIO m, MenuK a) => a -> m () Source

menuSetAccelGroup

data MenuSetAccelGroupMethodInfo Source

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, MenuK a, AccelGroupK b) => MethodInfo * MenuSetAccelGroupMethodInfo a signature 

menuSetAccelGroup :: (MonadIO m, MenuK a, AccelGroupK b) => a -> Maybe b -> m () Source

menuSetAccelPath

data MenuSetAccelPathMethodInfo Source

Instances

((~) * signature (Maybe Text -> m ()), MonadIO m, MenuK a) => MethodInfo * MenuSetAccelPathMethodInfo a signature 

menuSetAccelPath :: (MonadIO m, MenuK a) => a -> Maybe Text -> m () Source

menuSetActive

data MenuSetActiveMethodInfo Source

Instances

((~) * signature (Word32 -> m ()), MonadIO m, MenuK a) => MethodInfo * MenuSetActiveMethodInfo a signature 

menuSetActive :: (MonadIO m, MenuK a) => a -> Word32 -> m () Source

menuSetMonitor

data MenuSetMonitorMethodInfo Source

Instances

((~) * signature (Int32 -> m ()), MonadIO m, MenuK a) => MethodInfo * MenuSetMonitorMethodInfo a signature 

menuSetMonitor :: (MonadIO m, MenuK a) => a -> Int32 -> m () Source

menuSetReserveToggleSize

data MenuSetReserveToggleSizeMethodInfo Source

Instances

((~) * signature (Bool -> m ()), MonadIO m, MenuK a) => MethodInfo * MenuSetReserveToggleSizeMethodInfo a signature 

menuSetScreen

data MenuSetScreenMethodInfo Source

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, MenuK a, ScreenK b) => MethodInfo * MenuSetScreenMethodInfo a signature 

menuSetScreen :: (MonadIO m, MenuK a, ScreenK b) => a -> Maybe b -> m () Source

menuSetTearoffState

data MenuSetTearoffStateMethodInfo Source

Instances

((~) * signature (Bool -> m ()), MonadIO m, MenuK a) => MethodInfo * MenuSetTearoffStateMethodInfo a signature 

menuSetTearoffState :: (MonadIO m, MenuK a) => a -> Bool -> m () Source

Deprecated: (Since version 3.10)

menuSetTitle

data MenuSetTitleMethodInfo Source

Instances

((~) * signature (Text -> m ()), MonadIO m, MenuK a) => MethodInfo * MenuSetTitleMethodInfo a signature 

menuSetTitle :: (MonadIO m, MenuK a) => a -> Text -> m () Source

Deprecated: (Since version 3.10)

Properties

AccelGroup

clearMenuAccelGroup :: (MonadIO m, MenuK o) => o -> m () Source

setMenuAccelGroup :: (MonadIO m, MenuK o, AccelGroupK a) => o -> a -> m () Source

AccelPath

clearMenuAccelPath :: (MonadIO m, MenuK o) => o -> m () Source

setMenuAccelPath :: (MonadIO m, MenuK o) => o -> Text -> m () Source

Active

getMenuActive :: (MonadIO m, MenuK o) => o -> m Int32 Source

setMenuActive :: (MonadIO m, MenuK o) => o -> Int32 -> m () Source

AttachWidget

clearMenuAttachWidget :: (MonadIO m, MenuK o) => o -> m () Source

setMenuAttachWidget :: (MonadIO m, MenuK o, WidgetK a) => o -> a -> m () Source

Monitor

setMenuMonitor :: (MonadIO m, MenuK o) => o -> Int32 -> m () Source

ReserveToggleSize

TearoffState

setMenuTearoffState :: (MonadIO m, MenuK o) => o -> Bool -> m () Source

TearoffTitle

clearMenuTearoffTitle :: (MonadIO m, MenuK o) => o -> m () Source

setMenuTearoffTitle :: (MonadIO m, MenuK o) => o -> Text -> m () Source

Signals

MoveScroll

type MenuMoveScrollCallbackC = Ptr () -> CUInt -> Ptr () -> IO () Source