Gtk.RcStyle

g GObject.Object GObject.Object Gtk.RcStyle Gtk.RcStyle GObject.Object->Gtk.RcStyle

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

copy ()

Virtual Methods

Inherited:

GObject.Object (7)

do_merge (src)

do_parse (settings, scanner)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

base

[Gdk.Color]

r

Base colors

bg

[Gdk.Color]

r

Background colors

bg_pixmap_name

[str]

r

Pixmap name

color_flags

[Gtk.RcFlags]

r

Gtk.RcFlags

engine_specified

int

r

fg

[Gdk.Color]

r

Foreground colors

font_desc

Pango.FontDescription

r

A Pango.FontDescription

icon_factories

[object]

r

name

str

r

Name

parent_instance

GObject.Object

r

rc_properties

[object]

r

rc_style_lists

[object]

r

text

[Gdk.Color]

r

Text colors

xthickness

int

r

X thickness

ythickness

int

r

Y thickness

Class Details

class Gtk.RcStyle(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gtk.RcStyleClass

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

classmethod new()[source]
Returns:

the newly-created Gtk.RcStyle

Return type:

Gtk.RcStyle

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

Deprecated since version 3.0: Use Gtk.CssProvider instead.

copy()[source]
Returns:

the resulting Gtk.RcStyle

Return type:

Gtk.RcStyle

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

Deprecated since version 3.0: Use Gtk.CssProvider instead.

do_merge(src) virtual
Parameters:

src (Gtk.RcStyle) –

do_parse(settings, scanner) virtual
Parameters:
Return type:

int