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.Selector

Contents

Description

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

Synopsis

Exported types

newtype Selector Source #

Memory-managed wrapper type.

Constructors

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

Defined in GI.Wnck.Objects.Selector

Methods

gobjectType :: IO GType

HasParentTypes Selector Source # 
Instance details

Defined in GI.Wnck.Objects.Selector

type ParentTypes Selector Source # 
Instance details

Defined in GI.Wnck.Objects.Selector

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

class (GObject o, IsDescendantOf Selector o) => IsSelector o Source #

Type class for types which can be safely cast to Selector, for instance with toSelector.

Instances
(GObject o, IsDescendantOf Selector o) => IsSelector o Source # 
Instance details

Defined in GI.Wnck.Objects.Selector

toSelector :: (MonadIO m, IsSelector o) => o -> m Selector Source #

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

noSelector :: Maybe Selector Source #

A convenience alias for Nothing :: Maybe Selector.

Methods

new

selectorNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Selector

Returns: a newly created Selector.

Creates a new Selector. The Selector will list Window of the Screen it is on.

Since: 2.10