| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.GIGtkStrut
Synopsis
- defaultStrutConfig :: StrutConfig
- data StrutPosition
- data StrutSize
- data StrutAlignment
- data StrutConfig = StrutConfig {}
- buildStrutWindow :: (MonadFail m, MonadIO m) => StrutConfig -> m Window
- setupStrutWindow :: (MonadFail m, MonadIO m) => StrutConfig -> Window -> m ()
Documentation
data StrutPosition Source #
Instances
| Read StrutPosition Source # | |
Defined in Graphics.UI.GIGtkStrut | |
| Show StrutPosition Source # | |
Defined in Graphics.UI.GIGtkStrut | |
| Eq StrutPosition Source # | |
Defined in Graphics.UI.GIGtkStrut Methods (==) :: StrutPosition -> StrutPosition -> Bool Source # (/=) :: StrutPosition -> StrutPosition -> Bool Source # | |
Constructors
| ExactSize Int32 | |
| ScreenRatio Rational |
data StrutAlignment Source #
Instances
| Read StrutAlignment Source # | |
Defined in Graphics.UI.GIGtkStrut | |
| Show StrutAlignment Source # | |
Defined in Graphics.UI.GIGtkStrut | |
| Eq StrutAlignment Source # | |
Defined in Graphics.UI.GIGtkStrut Methods (==) :: StrutAlignment -> StrutAlignment -> Bool Source # (/=) :: StrutAlignment -> StrutAlignment -> Bool Source # | |
data StrutConfig Source #
Constructors
| StrutConfig | |
Fields | |
Instances
| Default StrutConfig Source # | |
Defined in Graphics.UI.GIGtkStrut Methods def :: StrutConfig Source # | |
| Show StrutConfig Source # | |
Defined in Graphics.UI.GIGtkStrut | |
| Eq StrutConfig Source # | |
Defined in Graphics.UI.GIGtkStrut Methods (==) :: StrutConfig -> StrutConfig -> Bool Source # (/=) :: StrutConfig -> StrutConfig -> Bool Source # | |
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.