1Gtk2::RcStyle(3)      User Contributed Perl Documentation     Gtk2::RcStyle(3)
2
3
4

NAME

6       Gtk2::RcStyle - wrapper for GtkRcStyle
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::RcStyle
11

METHODS

13   rcstyle = Gtk2::RcStyle->new
14   color = $style->base ($state, $new=undef)
15       •   $state (Gtk2::StateType)
16
17       •   $new (Gtk2::Gdk::Color or undef)
18
19   color = $style->bg ($state, $new=undef)
20       •   $state (Gtk2::StateType)
21
22       •   $new (Gtk2::Gdk::Color or undef)
23
24   scalar = $style->bg_pixmap_name ($state, $new=undef)
25       •   $state (Gtk2::StateType)
26
27       •   $new (string or undef)
28
29   rcflags = $style->color_flags ($state, $new=0)
30       •   $state (Gtk2::StateType)
31
32       •   $new (Gtk2::RcFlags)
33
34   rcstyle = $orig->copy
35   color = $style->fg ($state, $new=undef)
36       •   $state (Gtk2::StateType)
37
38       •   $new (Gtk2::Gdk::Color or undef)
39
40   scalar = $style->font_desc ($new=undef)
41       •   $new (scalar)
42
43   scalar = $style->name ($new=undef)
44       •   $new (scalar)
45
46   color = $style->text ($state, $new=undef)
47       •   $state (Gtk2::StateType)
48
49       •   $new (Gtk2::Gdk::Color or undef)
50
51   scalar = $style->xthickness ($new=undef)
52       •   $new (scalar)
53
54   scalar = $style->ythickness ($new=undef)
55       •   $new (scalar)
56

ENUMS AND FLAGS

58   flags Gtk2::RcFlags
59       •   'fg' / 'GTK_RC_FG'
60
61       •   'bg' / 'GTK_RC_BG'
62
63       •   'text' / 'GTK_RC_TEXT'
64
65       •   'base' / 'GTK_RC_BASE'
66
67   enum Gtk2::StateType
68       •   'normal' / 'GTK_STATE_NORMAL'
69
70       •   'active' / 'GTK_STATE_ACTIVE'
71
72       •   'prelight' / 'GTK_STATE_PRELIGHT'
73
74       •   'selected' / 'GTK_STATE_SELECTED'
75
76       •   'insensitive' / 'GTK_STATE_INSENSITIVE'
77

SEE ALSO

79       Gtk2, Glib::Object
80
82       Copyright (C) 2003-2011 by the gtk2-perl team.
83
84       This software is licensed under the LGPL.  See Gtk2 for a full notice.
85
86
87
88perl v5.36.0                      2023-01-20                  Gtk2::RcStyle(3)
Impressum