gi-gtksource-3.0.23: GtkSource bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Objects.StyleScheme

Description

No description available in the introspection data.

Synopsis

Exported types

newtype StyleScheme Source #

Memory-managed wrapper type.

Constructors

StyleScheme (ManagedPtr StyleScheme) 

Instances

Instances details
Eq StyleScheme Source # 
Instance details

Defined in GI.GtkSource.Objects.StyleScheme

Methods

(==) :: StyleScheme -> StyleScheme -> Bool

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

GObject StyleScheme Source # 
Instance details

Defined in GI.GtkSource.Objects.StyleScheme

ManagedPtrNewtype StyleScheme Source # 
Instance details

Defined in GI.GtkSource.Objects.StyleScheme

Methods

toManagedPtr :: StyleScheme -> ManagedPtr StyleScheme

TypedObject StyleScheme Source # 
Instance details

Defined in GI.GtkSource.Objects.StyleScheme

Methods

glibType :: IO GType

IsGValue StyleScheme Source #

Convert StyleScheme to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.GtkSource.Objects.StyleScheme

Methods

toGValue :: StyleScheme -> IO GValue

fromGValue :: GValue -> IO StyleScheme

HasParentTypes StyleScheme Source # 
Instance details

Defined in GI.GtkSource.Objects.StyleScheme

type ParentTypes StyleScheme Source # 
Instance details

Defined in GI.GtkSource.Objects.StyleScheme

type ParentTypes StyleScheme = '[Object]

class (GObject o, IsDescendantOf StyleScheme o) => IsStyleScheme o Source #

Type class for types which can be safely cast to StyleScheme, for instance with toStyleScheme.

Instances

Instances details
(GObject o, IsDescendantOf StyleScheme o) => IsStyleScheme o Source # 
Instance details

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.

Methods

Overloaded methods

getAuthors

styleSchemeGetAuthors Source #

Arguments

:: (HasCallStack, MonadIO m, IsStyleScheme a) 
=> a

scheme: a StyleScheme.

-> m (Maybe [Text])

Returns: a Nothing-terminated array containing the scheme authors or Nothing if no author is specified by the style scheme.

No description available in the introspection data.

Since: 2.0

getDescription

styleSchemeGetDescription Source #

Arguments

:: (HasCallStack, MonadIO m, IsStyleScheme a) 
=> a

scheme: a StyleScheme.

-> m (Maybe Text)

Returns: scheme description (if defined), or Nothing.

No description available in the introspection data.

Since: 2.0

getFilename

styleSchemeGetFilename Source #

Arguments

:: (HasCallStack, MonadIO m, IsStyleScheme a) 
=> a

scheme: a StyleScheme.

-> m (Maybe Text)

Returns: scheme file name if the scheme was created parsing a style scheme file or Nothing in the other cases.

No description available in the introspection data.

Since: 2.0

getId

styleSchemeGetId Source #

Arguments

:: (HasCallStack, MonadIO m, IsStyleScheme a) 
=> a

scheme: a StyleScheme.

-> m Text

Returns: scheme id.

No description available in the introspection data.

Since: 2.0

getName

styleSchemeGetName Source #

Arguments

:: (HasCallStack, MonadIO m, IsStyleScheme a) 
=> a

scheme: a StyleScheme.

-> m Text

Returns: scheme name.

No description available in the introspection data.

Since: 2.0

getStyle

styleSchemeGetStyle Source #

Arguments

:: (HasCallStack, MonadIO m, IsStyleScheme a) 
=> a

scheme: a StyleScheme.

-> Text

styleId: id of the style to retrieve.

-> m (Maybe Style)

Returns: style which corresponds to styleId in the scheme, or Nothing when no style with this name found. It is owned by scheme and may not be unref'ed.

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, MonadIO m) => Text -> m (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