Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
The ActionMenu
struct contains only private fields and should not be
directly accessed.
Synopsis
- newtype ActionMenu = ActionMenu (ManagedPtr ActionMenu)
- class (GObject o, IsDescendantOf ActionMenu o) => IsActionMenu o
- toActionMenu :: (MonadIO m, IsActionMenu o) => o -> m ActionMenu
- noActionMenu :: Maybe ActionMenu
- actionMenuNew :: (HasCallStack, MonadIO m, IsWindow a) => a -> m ActionMenu
- constructActionMenuWindow :: IsActionMenu o => Ptr () -> IO (GValueConstruct o)
- getActionMenuWindow :: (MonadIO m, IsActionMenu o) => o -> m (Ptr ())
Exported types
newtype ActionMenu Source #
Memory-managed wrapper type.
ActionMenu (ManagedPtr ActionMenu) |
Instances
GObject ActionMenu Source # | |
Defined in GI.Wnck.Objects.ActionMenu gobjectType :: IO GType | |
HasParentTypes ActionMenu Source # | |
Defined in GI.Wnck.Objects.ActionMenu | |
type ParentTypes ActionMenu Source # | |
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 # | |
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
.
noActionMenu :: Maybe ActionMenu Source #
A convenience alias for Nothing
:: Maybe
ActionMenu
.
Methods
new
:: (HasCallStack, MonadIO m, IsWindow a) | |
=> a |
|
-> m ActionMenu | Returns: a newly created |
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