gi-wnck-3.0.8: Wnck bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Wnck.Objects.ActionMenu

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

Instances details
Eq ActionMenu Source # 
Instance details

Defined in GI.Wnck.Objects.ActionMenu

Methods

(==) :: ActionMenu -> ActionMenu -> Bool

(/=) :: ActionMenu -> ActionMenu -> Bool

GObject ActionMenu Source # 
Instance details

Defined in GI.Wnck.Objects.ActionMenu

ManagedPtrNewtype ActionMenu Source # 
Instance details

Defined in GI.Wnck.Objects.ActionMenu

Methods

toManagedPtr :: ActionMenu -> ManagedPtr ActionMenu

TypedObject ActionMenu Source # 
Instance details

Defined in GI.Wnck.Objects.ActionMenu

Methods

glibType :: IO GType

IsGValue ActionMenu Source #

Convert ActionMenu to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Wnck.Objects.ActionMenu

Methods

toGValue :: ActionMenu -> IO GValue

fromGValue :: GValue -> IO ActionMenu

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]

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

Instances details
(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

Overloaded 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, MonadIO m) => Ptr () -> m (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