gi-gtk-3.0.32: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.RcStyle

Contents

Description

The tRcStyle-struct is used to represent a set of information about the appearance of a widget. This can later be composited together with other tRcStyle-structs to form a tStyle.

Synopsis

Exported types

newtype RcStyle Source #

Memory-managed wrapper type.

Constructors

RcStyle (ManagedPtr RcStyle) 
Instances
Eq RcStyle Source # 
Instance details

Defined in GI.Gtk.Objects.RcStyle

Methods

(==) :: RcStyle -> RcStyle -> Bool

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

GObject RcStyle Source # 
Instance details

Defined in GI.Gtk.Objects.RcStyle

Methods

gobjectType :: IO GType

IsGValue RcStyle Source #

Convert RcStyle to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.RcStyle

Methods

toGValue :: RcStyle -> IO GValue

fromGValue :: GValue -> IO RcStyle

HasParentTypes RcStyle Source # 
Instance details

Defined in GI.Gtk.Objects.RcStyle

type ParentTypes RcStyle Source # 
Instance details

Defined in GI.Gtk.Objects.RcStyle

type ParentTypes RcStyle = Object ': ([] :: [Type])

class (GObject o, IsDescendantOf RcStyle o) => IsRcStyle o Source #

Type class for types which can be safely cast to RcStyle, for instance with toRcStyle.

Instances
(GObject o, IsDescendantOf RcStyle o) => IsRcStyle o Source # 
Instance details

Defined in GI.Gtk.Objects.RcStyle

toRcStyle :: (MonadIO m, IsRcStyle o) => o -> m RcStyle Source #

Cast to RcStyle, for types for which this is known to be safe. For general casts, use castTo.

noRcStyle :: Maybe RcStyle Source #

A convenience alias for Nothing :: Maybe RcStyle.

Methods

Overloaded methods

copy

rcStyleCopy Source #

Arguments

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

orig: the style to copy

-> m RcStyle

Returns: the resulting tRcStyle

Deprecated: (Since version 3.0)Use tCssProvider instead.

Makes a copy of the specified tRcStyle. This function will correctly copy an RC style that is a member of a class derived from tRcStyle.

new

rcStyleNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m RcStyle

Returns: the newly-created tRcStyle

Deprecated: (Since version 3.0)Use tCssProvider instead.

Creates a new tRcStyle with no fields set and a reference count of 1.