Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype Handle = Handle (ManagedPtr Handle)
- class (GObject o, IsDescendantOf Handle o) => IsHandle o
- toHandle :: (MonadIO m, IsHandle o) => o -> m Handle
- handleGetApplication :: (HasCallStack, MonadIO m, IsHandle a) => a -> CULong -> m Application
- handleGetClassGroup :: (HasCallStack, MonadIO m, IsHandle a) => a -> Text -> m ClassGroup
- handleGetDefaultScreen :: (HasCallStack, MonadIO m, IsHandle a) => a -> m (Maybe Screen)
- handleGetScreen :: (HasCallStack, MonadIO m, IsHandle a) => a -> Int32 -> m Screen
- handleGetScreenForRoot :: (HasCallStack, MonadIO m, IsHandle a) => a -> CULong -> m Screen
- handleGetWindow :: (HasCallStack, MonadIO m, IsHandle a) => a -> CULong -> m Window
- handleNew :: (HasCallStack, MonadIO m) => ClientType -> m Handle
- handleSetDefaultIconSize :: (HasCallStack, MonadIO m, IsHandle a) => a -> Word64 -> m ()
- handleSetDefaultMiniIconSize :: (HasCallStack, MonadIO m, IsHandle a) => a -> Word64 -> m ()
- constructHandleClientType :: (IsHandle o, MonadIO m) => ClientType -> m (GValueConstruct o)
- getHandleClientType :: (MonadIO m, IsHandle o) => o -> m ClientType
- setHandleClientType :: (MonadIO m, IsHandle o) => o -> ClientType -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Handle Source # | |
GObject Handle Source # | |
Defined in GI.Wnck.Objects.Handle | |
ManagedPtrNewtype Handle Source # | |
Defined in GI.Wnck.Objects.Handle toManagedPtr :: Handle -> ManagedPtr Handle | |
TypedObject Handle Source # | |
Defined in GI.Wnck.Objects.Handle | |
HasParentTypes Handle Source # | |
Defined in GI.Wnck.Objects.Handle | |
IsGValue (Maybe Handle) Source # | Convert |
Defined in GI.Wnck.Objects.Handle gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Handle -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Handle) | |
type ParentTypes Handle Source # | |
Defined in GI.Wnck.Objects.Handle type ParentTypes Handle = '[Object] |
class (GObject o, IsDescendantOf Handle o) => IsHandle o Source #
Instances
(GObject o, IsDescendantOf Handle o) => IsHandle o Source # | |
Defined in GI.Wnck.Objects.Handle |
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getApplication, getClassGroup, getData, getDefaultScreen, getProperty, getQdata, getScreen, getScreenForRoot, getWindow.
Setters
setData, setDataFull, setDefaultIconSize, setDefaultMiniIconSize, setProperty.
getApplication
:: (HasCallStack, MonadIO m, IsHandle a) | |
=> a |
|
-> CULong |
|
-> m Application | Returns: the |
Gets the Application
corresponding to the group leader with xwindow
as X window ID.
getClassGroup
:: (HasCallStack, MonadIO m, IsHandle a) | |
=> a |
|
-> Text |
|
-> m ClassGroup | Returns: the |
Gets the ClassGroup
corresponding to id
.
getDefaultScreen
handleGetDefaultScreen Source #
:: (HasCallStack, MonadIO m, IsHandle a) | |
=> a |
|
-> m (Maybe Screen) | Returns: the default |
Gets the default Screen
on the default display.
getScreen
:: (HasCallStack, MonadIO m, IsHandle a) | |
=> a |
|
-> Int32 |
|
-> m Screen | Returns: the |
Gets the Screen
for a given screen on the default display.
getScreenForRoot
getWindow
new
:: (HasCallStack, MonadIO m) | |
=> ClientType |
|
-> m Handle | Returns: newly created |
Creates a new Handle
object with a given clientType
.
setDefaultIconSize
handleSetDefaultIconSize Source #
:: (HasCallStack, MonadIO m, IsHandle a) | |
=> a |
|
-> Word64 |
|
-> m () |
The default main icon size is DEFAULT_ICON_SIZE
. This function allows
to change this value.
setDefaultMiniIconSize
handleSetDefaultMiniIconSize Source #
:: (HasCallStack, MonadIO m, IsHandle a) | |
=> a |
|
-> Word64 |
|
-> m () |
The default main icon size is DEFAULT_MINI_ICON_SIZE
. This function
allows to change this value.
Properties
clientType
No description available in the introspection data.
constructHandleClientType :: (IsHandle o, MonadIO m) => ClientType -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “client-type
” property. This is rarely needed directly, but it is used by new
.
getHandleClientType :: (MonadIO m, IsHandle o) => o -> m ClientType Source #
Get the value of the “client-type
” property.
When overloading is enabled, this is equivalent to
get
handle #clientType
setHandleClientType :: (MonadIO m, IsHandle o) => o -> ClientType -> m () Source #
Set the value of the “client-type
” property.
When overloading is enabled, this is equivalent to
set
handle [ #clientType:=
value ]