gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.RcStyle

Contents

Description

The RcStyle-struct is used to represent a set of information about the appearance of a widget. This can later be composited together with other RcStyle-struct<!-- -->s to form a Style.

Synopsis

Exported types

newtype RcStyle Source #

Constructors

RcStyle (ManagedPtr RcStyle) 

Instances

GObject RcStyle Source # 
IsObject RcStyle Source # 
IsRcStyle RcStyle Source # 
((~) * info (ResolveRcStyleMethod t RcStyle), MethodInfo * info RcStyle p) => IsLabel t (RcStyle -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> RcStyle -> p #

((~) * info (ResolveRcStyleMethod t RcStyle), MethodInfo * info RcStyle p) => IsLabelProxy t (RcStyle -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> RcStyle -> p #

HasAttributeList * RcStyle Source # 
type AttributeList RcStyle Source # 
type SignalList RcStyle Source # 

Methods

copy

data RcStyleCopyMethodInfo Source #

Instances

((~) * signature (m RcStyle), MonadIO m, IsRcStyle a) => MethodInfo * RcStyleCopyMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy RcStyleCopyMethodInfo a -> signature -> s #

rcStyleCopy Source #

Arguments

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

orig: the style to copy

-> m RcStyle

Returns: the resulting RcStyle

Deprecated: (Since version 3.0)Use CssProvider instead.

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

new

rcStyleNew Source #

Arguments

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

Returns: the newly-created RcStyle

Deprecated: (Since version 3.0)Use CssProvider instead.

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