gi-gdk-3.0.21: Gdk 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.Gdk.Structs.WindowAttr

Contents

Description

Attributes to use for a newly-created window.

Synopsis

Exported types

newZeroWindowAttr :: MonadIO m => m WindowAttr Source #

Construct a WindowAttr struct initialized to zero.

Properties

cursor

cursor for the window (see windowSetCursor)

clearWindowAttrCursor :: MonadIO m => WindowAttr -> m () Source #

Set the value of the “cursor” field to Nothing. When overloading is enabled, this is equivalent to

clear #cursor

getWindowAttrCursor :: MonadIO m => WindowAttr -> m (Maybe Cursor) Source #

Get the value of the “cursor” field. When overloading is enabled, this is equivalent to

get windowAttr #cursor

setWindowAttrCursor :: MonadIO m => WindowAttr -> Ptr Cursor -> m () Source #

Set the value of the “cursor” field. When overloading is enabled, this is equivalent to

set windowAttr [ #cursor := value ]

eventMask

event mask (see windowSetEvents)

getWindowAttrEventMask :: MonadIO m => WindowAttr -> m Int32 Source #

Get the value of the “event_mask” field. When overloading is enabled, this is equivalent to

get windowAttr #eventMask

setWindowAttrEventMask :: MonadIO m => WindowAttr -> Int32 -> m () Source #

Set the value of the “event_mask” field. When overloading is enabled, this is equivalent to

set windowAttr [ #eventMask := value ]

height

height of window

getWindowAttrHeight :: MonadIO m => WindowAttr -> m Int32 Source #

Get the value of the “height” field. When overloading is enabled, this is equivalent to

get windowAttr #height

setWindowAttrHeight :: MonadIO m => WindowAttr -> Int32 -> m () Source #

Set the value of the “height” field. When overloading is enabled, this is equivalent to

set windowAttr [ #height := value ]

overrideRedirect

True to bypass the window manager

getWindowAttrOverrideRedirect :: MonadIO m => WindowAttr -> m Bool Source #

Get the value of the “override_redirect” field. When overloading is enabled, this is equivalent to

get windowAttr #overrideRedirect

setWindowAttrOverrideRedirect :: MonadIO m => WindowAttr -> Bool -> m () Source #

Set the value of the “override_redirect” field. When overloading is enabled, this is equivalent to

set windowAttr [ #overrideRedirect := value ]

title

title of the window (for toplevel windows)

clearWindowAttrTitle :: MonadIO m => WindowAttr -> m () Source #

Set the value of the “title” field to Nothing. When overloading is enabled, this is equivalent to

clear #title

getWindowAttrTitle :: MonadIO m => WindowAttr -> m (Maybe Text) Source #

Get the value of the “title” field. When overloading is enabled, this is equivalent to

get windowAttr #title

setWindowAttrTitle :: MonadIO m => WindowAttr -> CString -> m () Source #

Set the value of the “title” field. When overloading is enabled, this is equivalent to

set windowAttr [ #title := value ]

typeHint

a hint of the function of the window

getWindowAttrTypeHint :: MonadIO m => WindowAttr -> m WindowTypeHint Source #

Get the value of the “type_hint” field. When overloading is enabled, this is equivalent to

get windowAttr #typeHint

setWindowAttrTypeHint :: MonadIO m => WindowAttr -> WindowTypeHint -> m () Source #

Set the value of the “type_hint” field. When overloading is enabled, this is equivalent to

set windowAttr [ #typeHint := value ]

visual

Visual for window

clearWindowAttrVisual :: MonadIO m => WindowAttr -> m () Source #

Set the value of the “visual” field to Nothing. When overloading is enabled, this is equivalent to

clear #visual

getWindowAttrVisual :: MonadIO m => WindowAttr -> m (Maybe Visual) Source #

Get the value of the “visual” field. When overloading is enabled, this is equivalent to

get windowAttr #visual

setWindowAttrVisual :: MonadIO m => WindowAttr -> Ptr Visual -> m () Source #

Set the value of the “visual” field. When overloading is enabled, this is equivalent to

set windowAttr [ #visual := value ]

wclass

GDK_INPUT_OUTPUT (normal window) or GDK_INPUT_ONLY (invisible window that receives events)

getWindowAttrWclass :: MonadIO m => WindowAttr -> m WindowWindowClass Source #

Get the value of the “wclass” field. When overloading is enabled, this is equivalent to

get windowAttr #wclass

setWindowAttrWclass :: MonadIO m => WindowAttr -> WindowWindowClass -> m () Source #

Set the value of the “wclass” field. When overloading is enabled, this is equivalent to

set windowAttr [ #wclass := value ]

width

width of window

getWindowAttrWidth :: MonadIO m => WindowAttr -> m Int32 Source #

Get the value of the “width” field. When overloading is enabled, this is equivalent to

get windowAttr #width

setWindowAttrWidth :: MonadIO m => WindowAttr -> Int32 -> m () Source #

Set the value of the “width” field. When overloading is enabled, this is equivalent to

set windowAttr [ #width := value ]

windowType

type of window

getWindowAttrWindowType :: MonadIO m => WindowAttr -> m WindowType Source #

Get the value of the “window_type” field. When overloading is enabled, this is equivalent to

get windowAttr #windowType

setWindowAttrWindowType :: MonadIO m => WindowAttr -> WindowType -> m () Source #

Set the value of the “window_type” field. When overloading is enabled, this is equivalent to

set windowAttr [ #windowType := value ]

wmclassClass

don’t use (see gtk_window_set_wmclass())

clearWindowAttrWmclassClass :: MonadIO m => WindowAttr -> m () Source #

Set the value of the “wmclass_class” field to Nothing. When overloading is enabled, this is equivalent to

clear #wmclassClass

getWindowAttrWmclassClass :: MonadIO m => WindowAttr -> m (Maybe Text) Source #

Get the value of the “wmclass_class” field. When overloading is enabled, this is equivalent to

get windowAttr #wmclassClass

setWindowAttrWmclassClass :: MonadIO m => WindowAttr -> CString -> m () Source #

Set the value of the “wmclass_class” field. When overloading is enabled, this is equivalent to

set windowAttr [ #wmclassClass := value ]

wmclassName

don’t use (see gtk_window_set_wmclass())

clearWindowAttrWmclassName :: MonadIO m => WindowAttr -> m () Source #

Set the value of the “wmclass_name” field to Nothing. When overloading is enabled, this is equivalent to

clear #wmclassName

getWindowAttrWmclassName :: MonadIO m => WindowAttr -> m (Maybe Text) Source #

Get the value of the “wmclass_name” field. When overloading is enabled, this is equivalent to

get windowAttr #wmclassName

setWindowAttrWmclassName :: MonadIO m => WindowAttr -> CString -> m () Source #

Set the value of the “wmclass_name” field. When overloading is enabled, this is equivalent to

set windowAttr [ #wmclassName := value ]

x

X coordinate relative to parent window (see windowMove)

getWindowAttrX :: MonadIO m => WindowAttr -> m Int32 Source #

Get the value of the “x” field. When overloading is enabled, this is equivalent to

get windowAttr #x

setWindowAttrX :: MonadIO m => WindowAttr -> Int32 -> m () Source #

Set the value of the “x” field. When overloading is enabled, this is equivalent to

set windowAttr [ #x := value ]

y

Y coordinate relative to parent window (see windowMove)

getWindowAttrY :: MonadIO m => WindowAttr -> m Int32 Source #

Get the value of the “y” field. When overloading is enabled, this is equivalent to

get windowAttr #y

setWindowAttrY :: MonadIO m => WindowAttr -> Int32 -> m () Source #

Set the value of the “y” field. When overloading is enabled, this is equivalent to

set windowAttr [ #y := value ]