gi-wnck-3.0.4: Wnck bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Wnck.Objects.ActionMenu

Contents

Description

The ActionMenu struct contains only private fields and should not be directly accessed.

Synopsis

Exported types

newtype ActionMenu Source #

Memory-managed wrapper type.

Constructors

ActionMenu (ManagedPtr ActionMenu) 
Instances
GObject ActionMenu Source # 
Instance details

Defined in GI.Wnck.Objects.ActionMenu

Methods

gobjectType :: IO GType

HasParentTypes ActionMenu Source # 
Instance details

Defined in GI.Wnck.Objects.ActionMenu

type ParentTypes ActionMenu Source # 
Instance details

Defined in GI.Wnck.Objects.ActionMenu

type ParentTypes ActionMenu = Menu ': (MenuShell ': (Container ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': ([] :: [Type])))))))

class (GObject o, IsDescendantOf ActionMenu o) => IsActionMenu o Source #

Type class for types which can be safely cast to ActionMenu, for instance with toActionMenu.

Instances
(GObject o, IsDescendantOf ActionMenu o) => IsActionMenu o Source # 
Instance details

Defined in GI.Wnck.Objects.ActionMenu

toActionMenu :: (MonadIO m, IsActionMenu o) => o -> m ActionMenu Source #

Cast to ActionMenu, for types for which this is known to be safe. For general casts, use castTo.

Methods

new

actionMenuNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a) 
=> a

window: the Window for which a menu will be created.

-> m ActionMenu

Returns: a newly created ActionMenu.

Creates a new ActionMenu. The ActionMenu will be filled with menu items for window operations on window.

Since: 2.22

Properties

window

No description available in the introspection data.

constructActionMenuWindow :: IsActionMenu o => Ptr () -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “window” property. This is rarely needed directly, but it is used by new.

getActionMenuWindow :: (MonadIO m, IsActionMenu o) => o -> m (Ptr ()) Source #

Get the value of the “window” property. When overloading is enabled, this is equivalent to

get actionMenu #window