gtk-strut-0.1.3.2: Library for creating strut windows with gi-gtk
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.UI.GIGtkStrut

Synopsis

Documentation

data StrutPosition Source #

Constructors

TopPos 
BottomPos 
LeftPos 
RightPos 

Instances

Instances details
Read StrutPosition Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

readsPrec :: Int -> ReadS StrutPosition

readList :: ReadS [StrutPosition]

readPrec :: ReadPrec StrutPosition

readListPrec :: ReadPrec [StrutPosition]

Show StrutPosition Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

showsPrec :: Int -> StrutPosition -> ShowS

show :: StrutPosition -> String

showList :: [StrutPosition] -> ShowS

Eq StrutPosition Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

data StrutSize Source #

Constructors

ExactSize Int32 
ScreenRatio Rational 

Instances

Instances details
Read StrutSize Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

readsPrec :: Int -> ReadS StrutSize

readList :: ReadS [StrutSize]

readPrec :: ReadPrec StrutSize

readListPrec :: ReadPrec [StrutSize]

Show StrutSize Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

showsPrec :: Int -> StrutSize -> ShowS

show :: StrutSize -> String

showList :: [StrutSize] -> ShowS

Eq StrutSize Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

(==) :: StrutSize -> StrutSize -> Bool

(/=) :: StrutSize -> StrutSize -> Bool

data StrutAlignment Source #

Constructors

Beginning 
Center 
End 

Instances

Instances details
Read StrutAlignment Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

readsPrec :: Int -> ReadS StrutAlignment

readList :: ReadS [StrutAlignment]

readPrec :: ReadPrec StrutAlignment

readListPrec :: ReadPrec [StrutAlignment]

Show StrutAlignment Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

showsPrec :: Int -> StrutAlignment -> ShowS

show :: StrutAlignment -> String

showList :: [StrutAlignment] -> ShowS

Eq StrutAlignment Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

data StrutConfig Source #

Instances

Instances details
Show StrutConfig Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

showsPrec :: Int -> StrutConfig -> ShowS

show :: StrutConfig -> String

showList :: [StrutConfig] -> ShowS

Default StrutConfig Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

def :: StrutConfig

Eq StrutConfig Source # 
Instance details

Defined in Graphics.UI.GIGtkStrut

Methods

(==) :: StrutConfig -> StrutConfig -> Bool

(/=) :: StrutConfig -> StrutConfig -> Bool

buildStrutWindow :: (MonadFail m, MonadIO m) => StrutConfig -> m Window Source #

Build a strut window to the specifications provided by the StrutConfig argument.

setupStrutWindow :: (MonadFail m, MonadIO m) => StrutConfig -> Window -> m () Source #

Configure the provided Window so that it has the properties specified by the StrutConfig argument.