gi-wnck-3.0.9: 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

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