Graphics.UI.Gtk.General.Settings

gtk3-0.14.2: Binding to the Gtk+ 3 graphical user interface library

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable (depends on GHC)
Safe Haskell | None
Language | Haskell98

Graphics.UI.Gtk.General.Settings

Contents

- Class Hierarchy
- Types
- Methods

Description

Storing data on clipboards

Synopsis

- data Settings
- class GObjectClass o => SettingsClass o
- castToSettings :: GObjectClass obj => obj -> Settings
- gTypeSettings :: GType
- toSettings :: SettingsClass o => o -> Settings
- settingsGetDefault :: IO (Maybe Settings)
- settingsGetForScreen :: ScreenClass screen => screen -> IO Settings
- settingsSetLongProperty :: (SettingsClass settings, GlibString string) => settings -> string -> Int -> string -> IO ()
- settingsSetStringProperty :: (SettingsClass settings, GlibString string) => settings -> string -> string -> string -> IO ()

# Class Hierarchy

    | GObject
    | +----Settings

# Types

data Settings

Instances

Eq Settings |
Ord Settings |
GObjectClass Settings |
SettingsClass Settings |

class GObjectClass o => SettingsClass o

Instances

SettingsClass Settings |

castToSettings :: GObjectClass obj => obj -> Settings

gTypeSettings :: GType

toSettings :: SettingsClass o => o -> Settings

# Methods

settingsGetDefault

Arguments

:: IO (Maybe Settings) | returns a Settings. If there is no default screen, then returns Nothing.

Gets the Settings object for the default GDK screen, creating it if necessary. See `settingsGetForScreen`.

settingsGetForScreen :: ScreenClass screen => screen -> IO Settings

Gets the Settings object for screen, creating it if necessary.

settingsSetLongProperty :: (SettingsClass settings, GlibString string) => settings -> string -> Int -> string -> IO ()

settingsSetStringProperty :: (SettingsClass settings, GlibString string) => settings -> string -> string -> string -> IO ()