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 |
- newtype WindowProperties = WindowProperties (ManagedPtr WindowProperties)
- class GObject o => IsWindowProperties o
- toWindowProperties :: (MonadIO m, IsWindowProperties o) => o -> m WindowProperties
- noWindowProperties :: Maybe WindowProperties
- windowPropertiesGetFullscreen :: (HasCallStack, MonadIO m, IsWindowProperties a) => a -> m Bool
- windowPropertiesGetGeometry :: (HasCallStack, MonadIO m, IsWindowProperties a) => a -> m Rectangle
- windowPropertiesGetLocationbarVisible :: (HasCallStack, MonadIO m, IsWindowProperties a) => a -> m Bool
- windowPropertiesGetMenubarVisible :: (HasCallStack, MonadIO m, IsWindowProperties a) => a -> m Bool
- windowPropertiesGetResizable :: (HasCallStack, MonadIO m, IsWindowProperties a) => a -> m Bool
- windowPropertiesGetScrollbarsVisible :: (HasCallStack, MonadIO m, IsWindowProperties a) => a -> m Bool
- windowPropertiesGetStatusbarVisible :: (HasCallStack, MonadIO m, IsWindowProperties a) => a -> m Bool
- windowPropertiesGetToolbarVisible :: (HasCallStack, MonadIO m, IsWindowProperties a) => a -> m Bool
- constructWindowPropertiesFullscreen :: IsWindowProperties o => Bool -> IO (GValueConstruct o)
- getWindowPropertiesFullscreen :: (MonadIO m, IsWindowProperties o) => o -> m Bool
- constructWindowPropertiesGeometry :: IsWindowProperties o => Rectangle -> IO (GValueConstruct o)
- getWindowPropertiesGeometry :: (MonadIO m, IsWindowProperties o) => o -> m (Maybe Rectangle)
- constructWindowPropertiesLocationbarVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o)
- getWindowPropertiesLocationbarVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool
- constructWindowPropertiesMenubarVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o)
- getWindowPropertiesMenubarVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool
- constructWindowPropertiesResizable :: IsWindowProperties o => Bool -> IO (GValueConstruct o)
- getWindowPropertiesResizable :: (MonadIO m, IsWindowProperties o) => o -> m Bool
- constructWindowPropertiesScrollbarsVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o)
- getWindowPropertiesScrollbarsVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool
- constructWindowPropertiesStatusbarVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o)
- getWindowPropertiesStatusbarVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool
- constructWindowPropertiesToolbarVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o)
- getWindowPropertiesToolbarVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool
Exported types
newtype WindowProperties Source #
class GObject o => IsWindowProperties o Source #
toWindowProperties :: (MonadIO m, IsWindowProperties o) => o -> m WindowProperties Source #
Methods
getFullscreen
windowPropertiesGetFullscreen Source #
:: (HasCallStack, MonadIO m, IsWindowProperties a) | |
=> a |
|
-> m Bool | Returns: |
Get whether the window should be shown in fullscreen state or not.
getGeometry
windowPropertiesGetGeometry Source #
:: (HasCallStack, MonadIO m, IsWindowProperties a) | |
=> a |
|
-> m Rectangle |
Get the geometry the window should have on the screen when shown.
getLocationbarVisible
windowPropertiesGetLocationbarVisible Source #
:: (HasCallStack, MonadIO m, IsWindowProperties a) | |
=> a |
|
-> m Bool | Returns: |
Get whether the window should have the locationbar visible or not.
getMenubarVisible
windowPropertiesGetMenubarVisible Source #
:: (HasCallStack, MonadIO m, IsWindowProperties a) | |
=> a |
|
-> m Bool | Returns: |
Get whether the window should have the menubar visible or not.
getResizable
windowPropertiesGetResizable Source #
:: (HasCallStack, MonadIO m, IsWindowProperties a) | |
=> a |
|
-> m Bool | Returns: |
Get whether the window should be resizable by the user or not.
getScrollbarsVisible
windowPropertiesGetScrollbarsVisible Source #
:: (HasCallStack, MonadIO m, IsWindowProperties a) | |
=> a |
|
-> m Bool | Returns: |
Get whether the window should have the scrollbars visible or not.
getStatusbarVisible
windowPropertiesGetStatusbarVisible Source #
:: (HasCallStack, MonadIO m, IsWindowProperties a) | |
=> a |
|
-> m Bool | Returns: |
Get whether the window should have the statusbar visible or not.
getToolbarVisible
windowPropertiesGetToolbarVisible Source #
:: (HasCallStack, MonadIO m, IsWindowProperties a) | |
=> a |
|
-> m Bool | Returns: |
Get whether the window should have the toolbar visible or not.
Properties
fullscreen
constructWindowPropertiesFullscreen :: IsWindowProperties o => Bool -> IO (GValueConstruct o) Source #
getWindowPropertiesFullscreen :: (MonadIO m, IsWindowProperties o) => o -> m Bool Source #
geometry
constructWindowPropertiesGeometry :: IsWindowProperties o => Rectangle -> IO (GValueConstruct o) Source #
getWindowPropertiesGeometry :: (MonadIO m, IsWindowProperties o) => o -> m (Maybe Rectangle) Source #
locationbarVisible
constructWindowPropertiesLocationbarVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o) Source #
getWindowPropertiesLocationbarVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool Source #
menubarVisible
constructWindowPropertiesMenubarVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o) Source #
getWindowPropertiesMenubarVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool Source #
resizable
constructWindowPropertiesResizable :: IsWindowProperties o => Bool -> IO (GValueConstruct o) Source #
getWindowPropertiesResizable :: (MonadIO m, IsWindowProperties o) => o -> m Bool Source #
scrollbarsVisible
constructWindowPropertiesScrollbarsVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o) Source #
getWindowPropertiesScrollbarsVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool Source #
statusbarVisible
constructWindowPropertiesStatusbarVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o) Source #
getWindowPropertiesStatusbarVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool Source #
toolbarVisible
constructWindowPropertiesToolbarVisible :: IsWindowProperties o => Bool -> IO (GValueConstruct o) Source #
getWindowPropertiesToolbarVisible :: (MonadIO m, IsWindowProperties o) => o -> m Bool Source #