Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Attributes to use for a newly-created window.
- newtype WindowAttr = WindowAttr (ForeignPtr WindowAttr)
- newZeroWindowAttr :: MonadIO m => m WindowAttr
- noWindowAttr :: Maybe WindowAttr
- windowAttrClearCursor :: MonadIO m => WindowAttr -> m ()
- windowAttrCursor :: AttrLabelProxy "cursor"
- windowAttrReadCursor :: MonadIO m => WindowAttr -> m (Maybe Cursor)
- windowAttrWriteCursor :: MonadIO m => WindowAttr -> Ptr Cursor -> m ()
- windowAttrEventMask :: AttrLabelProxy "eventMask"
- windowAttrReadEventMask :: MonadIO m => WindowAttr -> m Int32
- windowAttrWriteEventMask :: MonadIO m => WindowAttr -> Int32 -> m ()
- windowAttrHeight :: AttrLabelProxy "height"
- windowAttrReadHeight :: MonadIO m => WindowAttr -> m Int32
- windowAttrWriteHeight :: MonadIO m => WindowAttr -> Int32 -> m ()
- windowAttrOverrideRedirect :: AttrLabelProxy "overrideRedirect"
- windowAttrReadOverrideRedirect :: MonadIO m => WindowAttr -> m Bool
- windowAttrWriteOverrideRedirect :: MonadIO m => WindowAttr -> Bool -> m ()
- windowAttrClearTitle :: MonadIO m => WindowAttr -> m ()
- windowAttrReadTitle :: MonadIO m => WindowAttr -> m (Maybe Text)
- windowAttrTitle :: AttrLabelProxy "title"
- windowAttrWriteTitle :: MonadIO m => WindowAttr -> CString -> m ()
- windowAttrReadTypeHint :: MonadIO m => WindowAttr -> m WindowTypeHint
- windowAttrTypeHint :: AttrLabelProxy "typeHint"
- windowAttrWriteTypeHint :: MonadIO m => WindowAttr -> WindowTypeHint -> m ()
- windowAttrClearVisual :: MonadIO m => WindowAttr -> m ()
- windowAttrReadVisual :: MonadIO m => WindowAttr -> m (Maybe Visual)
- windowAttrVisual :: AttrLabelProxy "visual"
- windowAttrWriteVisual :: MonadIO m => WindowAttr -> Ptr Visual -> m ()
- windowAttrReadWclass :: MonadIO m => WindowAttr -> m WindowWindowClass
- windowAttrWclass :: AttrLabelProxy "wclass"
- windowAttrWriteWclass :: MonadIO m => WindowAttr -> WindowWindowClass -> m ()
- windowAttrReadWidth :: MonadIO m => WindowAttr -> m Int32
- windowAttrWidth :: AttrLabelProxy "width"
- windowAttrWriteWidth :: MonadIO m => WindowAttr -> Int32 -> m ()
- windowAttrReadWindowType :: MonadIO m => WindowAttr -> m WindowType
- windowAttrWindowType :: AttrLabelProxy "windowType"
- windowAttrWriteWindowType :: MonadIO m => WindowAttr -> WindowType -> m ()
- windowAttrClearWmclassClass :: MonadIO m => WindowAttr -> m ()
- windowAttrReadWmclassClass :: MonadIO m => WindowAttr -> m (Maybe Text)
- windowAttrWmclassClass :: AttrLabelProxy "wmclassClass"
- windowAttrWriteWmclassClass :: MonadIO m => WindowAttr -> CString -> m ()
- windowAttrClearWmclassName :: MonadIO m => WindowAttr -> m ()
- windowAttrReadWmclassName :: MonadIO m => WindowAttr -> m (Maybe Text)
- windowAttrWmclassName :: AttrLabelProxy "wmclassName"
- windowAttrWriteWmclassName :: MonadIO m => WindowAttr -> CString -> m ()
- windowAttrReadX :: MonadIO m => WindowAttr -> m Int32
- windowAttrWriteX :: MonadIO m => WindowAttr -> Int32 -> m ()
- windowAttrX :: AttrLabelProxy "x"
- windowAttrReadY :: MonadIO m => WindowAttr -> m Int32
- windowAttrWriteY :: MonadIO m => WindowAttr -> Int32 -> m ()
- windowAttrY :: AttrLabelProxy "y"
Exported types
newtype WindowAttr Source
WrappedPtr WindowAttr | |
(~) AttrOpTag tag AttrSet => Constructible WindowAttr tag | |
((~) * info (ResolveWindowAttrMethod t WindowAttr), MethodInfo * info WindowAttr p) => IsLabelProxy t (WindowAttr -> p) | |
type AttributeList WindowAttr |
newZeroWindowAttr :: MonadIO m => m WindowAttr Source
Construct a WindowAttr
struct initialized to zero.
Properties
Cursor
windowAttrClearCursor :: MonadIO m => WindowAttr -> m () Source
windowAttrCursor :: AttrLabelProxy "cursor" Source
windowAttrReadCursor :: MonadIO m => WindowAttr -> m (Maybe Cursor) Source
windowAttrWriteCursor :: MonadIO m => WindowAttr -> Ptr Cursor -> m () Source
EventMask
windowAttrEventMask :: AttrLabelProxy "eventMask" Source
windowAttrReadEventMask :: MonadIO m => WindowAttr -> m Int32 Source
windowAttrWriteEventMask :: MonadIO m => WindowAttr -> Int32 -> m () Source
Height
windowAttrHeight :: AttrLabelProxy "height" Source
windowAttrReadHeight :: MonadIO m => WindowAttr -> m Int32 Source
windowAttrWriteHeight :: MonadIO m => WindowAttr -> Int32 -> m () Source
OverrideRedirect
windowAttrOverrideRedirect :: AttrLabelProxy "overrideRedirect" Source
windowAttrReadOverrideRedirect :: MonadIO m => WindowAttr -> m Bool Source
windowAttrWriteOverrideRedirect :: MonadIO m => WindowAttr -> Bool -> m () Source
Title
windowAttrClearTitle :: MonadIO m => WindowAttr -> m () Source
windowAttrReadTitle :: MonadIO m => WindowAttr -> m (Maybe Text) Source
windowAttrTitle :: AttrLabelProxy "title" Source
windowAttrWriteTitle :: MonadIO m => WindowAttr -> CString -> m () Source
TypeHint
windowAttrReadTypeHint :: MonadIO m => WindowAttr -> m WindowTypeHint Source
windowAttrTypeHint :: AttrLabelProxy "typeHint" Source
windowAttrWriteTypeHint :: MonadIO m => WindowAttr -> WindowTypeHint -> m () Source
Visual
windowAttrClearVisual :: MonadIO m => WindowAttr -> m () Source
windowAttrReadVisual :: MonadIO m => WindowAttr -> m (Maybe Visual) Source
windowAttrVisual :: AttrLabelProxy "visual" Source
windowAttrWriteVisual :: MonadIO m => WindowAttr -> Ptr Visual -> m () Source
Wclass
windowAttrReadWclass :: MonadIO m => WindowAttr -> m WindowWindowClass Source
windowAttrWclass :: AttrLabelProxy "wclass" Source
windowAttrWriteWclass :: MonadIO m => WindowAttr -> WindowWindowClass -> m () Source
Width
windowAttrReadWidth :: MonadIO m => WindowAttr -> m Int32 Source
windowAttrWidth :: AttrLabelProxy "width" Source
windowAttrWriteWidth :: MonadIO m => WindowAttr -> Int32 -> m () Source
WindowType
windowAttrReadWindowType :: MonadIO m => WindowAttr -> m WindowType Source
windowAttrWindowType :: AttrLabelProxy "windowType" Source
windowAttrWriteWindowType :: MonadIO m => WindowAttr -> WindowType -> m () Source
WmclassClass
windowAttrClearWmclassClass :: MonadIO m => WindowAttr -> m () Source
windowAttrReadWmclassClass :: MonadIO m => WindowAttr -> m (Maybe Text) Source
windowAttrWmclassClass :: AttrLabelProxy "wmclassClass" Source
windowAttrWriteWmclassClass :: MonadIO m => WindowAttr -> CString -> m () Source
WmclassName
windowAttrClearWmclassName :: MonadIO m => WindowAttr -> m () Source
windowAttrReadWmclassName :: MonadIO m => WindowAttr -> m (Maybe Text) Source
windowAttrWmclassName :: AttrLabelProxy "wmclassName" Source
windowAttrWriteWmclassName :: MonadIO m => WindowAttr -> CString -> m () Source
X
windowAttrReadX :: MonadIO m => WindowAttr -> m Int32 Source
windowAttrWriteX :: MonadIO m => WindowAttr -> Int32 -> m () Source
windowAttrX :: AttrLabelProxy "x" Source
Y
windowAttrReadY :: MonadIO m => WindowAttr -> m Int32 Source
windowAttrWriteY :: MonadIO m => WindowAttr -> Int32 -> m () Source
windowAttrY :: AttrLabelProxy "y" Source