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

NAME

6       Gtk2::RcStyle
7

HIERARCHY

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

METHODS

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

ENUMS AND FLAGS

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

SEE ALSO

80       Gtk2, Glib::Object
81
83       Copyright (C) 2003-2007 by the gtk2-perl team.
84
85       This software is licensed under the LGPL.  See Gtk2 for a full notice.
86
87
88
89perl v5.8.8                       2007-03-18                  Gtk2::RcStyle(3)
Impressum