| 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 |
GI.GtkSource.Objects.StyleScheme
Contents
Description
No description available in the introspection data.
Synopsis
- newtype StyleScheme = StyleScheme (ManagedPtr StyleScheme)
- class GObject o => IsStyleScheme o
- toStyleScheme :: (MonadIO m, IsStyleScheme o) => o -> m StyleScheme
- noStyleScheme :: Maybe StyleScheme
- styleSchemeGetAuthors :: (HasCallStack, MonadIO m, IsStyleScheme a) => a -> m (Maybe [Text])
- styleSchemeGetDescription :: (HasCallStack, MonadIO m, IsStyleScheme a) => a -> m (Maybe Text)
- styleSchemeGetFilename :: (HasCallStack, MonadIO m, IsStyleScheme a) => a -> m (Maybe Text)
- styleSchemeGetId :: (HasCallStack, MonadIO m, IsStyleScheme a) => a -> m Text
- styleSchemeGetName :: (HasCallStack, MonadIO m, IsStyleScheme a) => a -> m Text
- styleSchemeGetStyle :: (HasCallStack, MonadIO m, IsStyleScheme a) => a -> Text -> m (Maybe Style)
- getStyleSchemeDescription :: (MonadIO m, IsStyleScheme o) => o -> m (Maybe Text)
- getStyleSchemeFilename :: (MonadIO m, IsStyleScheme o) => o -> m (Maybe Text)
- constructStyleSchemeId :: IsStyleScheme o => Text -> IO (GValueConstruct o)
- getStyleSchemeId :: (MonadIO m, IsStyleScheme o) => o -> m Text
- getStyleSchemeName :: (MonadIO m, IsStyleScheme o) => o -> m Text
Exported types
newtype StyleScheme Source #
Memory-managed wrapper type.
Constructors
| StyleScheme (ManagedPtr StyleScheme) |
Instances
| GObject StyleScheme Source # | |
Defined in GI.GtkSource.Objects.StyleScheme Methods gobjectType :: StyleScheme -> IO GType # | |
| IsObject StyleScheme Source # | |
Defined in GI.GtkSource.Objects.StyleScheme | |
| IsStyleScheme StyleScheme Source # | |
Defined in GI.GtkSource.Objects.StyleScheme | |
class GObject o => IsStyleScheme o Source #
Type class for types which can be safely cast to StyleScheme, for instance with toStyleScheme.
Instances
| (GObject a, (UnknownAncestorError StyleScheme a :: Constraint)) => IsStyleScheme a Source # | |
Defined in GI.GtkSource.Objects.StyleScheme | |
| IsStyleScheme StyleScheme Source # | |
Defined in GI.GtkSource.Objects.StyleScheme | |
toStyleScheme :: (MonadIO m, IsStyleScheme o) => o -> m StyleScheme Source #
Cast to StyleScheme, for types for which this is known to be safe. For general casts, use castTo.
noStyleScheme :: Maybe StyleScheme Source #
A convenience alias for Nothing :: Maybe StyleScheme.
Methods
getAuthors
styleSchemeGetAuthors Source #
Arguments
| :: (HasCallStack, MonadIO m, IsStyleScheme a) | |
| => a |
|
| -> m (Maybe [Text]) | Returns: a
|
No description available in the introspection data.
Since: 2.0
getDescription
styleSchemeGetDescription Source #
Arguments
| :: (HasCallStack, MonadIO m, IsStyleScheme a) | |
| => a |
|
| -> m (Maybe Text) | Returns: |
No description available in the introspection data.
Since: 2.0
getFilename
styleSchemeGetFilename Source #
Arguments
| :: (HasCallStack, MonadIO m, IsStyleScheme a) | |
| => a |
|
| -> m (Maybe Text) | Returns: |
No description available in the introspection data.
Since: 2.0
getId
Arguments
| :: (HasCallStack, MonadIO m, IsStyleScheme a) | |
| => a |
|
| -> m Text | Returns: |
No description available in the introspection data.
Since: 2.0
getName
Arguments
| :: (HasCallStack, MonadIO m, IsStyleScheme a) | |
| => a |
|
| -> m Text | Returns: |
No description available in the introspection data.
Since: 2.0
getStyle
Arguments
| :: (HasCallStack, MonadIO m, IsStyleScheme a) | |
| => a |
|
| -> Text |
|
| -> m (Maybe Style) | Returns: style which corresponds to |
No description available in the introspection data.
Since: 2.0
Properties
description
Style scheme description, a translatable string to present to the user.
getStyleSchemeDescription :: (MonadIO m, IsStyleScheme o) => o -> m (Maybe Text) Source #
Get the value of the “description” property.
When overloading is enabled, this is equivalent to
get styleScheme #description
filename
Style scheme filename or Nothing.
getStyleSchemeFilename :: (MonadIO m, IsStyleScheme o) => o -> m (Maybe Text) Source #
Get the value of the “filename” property.
When overloading is enabled, this is equivalent to
get styleScheme #filename
id
Style scheme id, a unique string used to identify the style scheme
in StyleSchemeManager.
constructStyleSchemeId :: IsStyleScheme o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “id” property. This is rarely needed directly, but it is used by new.
getStyleSchemeId :: (MonadIO m, IsStyleScheme o) => o -> m Text Source #
Get the value of the “id” property.
When overloading is enabled, this is equivalent to
get styleScheme #id
name
Style scheme name, a translatable string to present to the user.
getStyleSchemeName :: (MonadIO m, IsStyleScheme o) => o -> m Text Source #
Get the value of the “name” property.
When overloading is enabled, this is equivalent to
get styleScheme #name