gi-wnck-3.0.1: Wnck 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.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.

class GObject o => IsActionMenu o Source #

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

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