Gtk2::RcStyle(3) User Contributed Perl Documentation Gtk2::RcStyle(3) NAME Gtk2::RcStyle - wrapper for GtkRcStyle HIERARCHY Glib::Object +----Gtk2::RcStyle METHODS rcstyle = Gtk2::RcStyle->new color = $style->base ($state, $new=undef) o $state (Gtk2::StateType) o $new (Gtk2::Gdk::Color or undef) color = $style->bg ($state, $new=undef) o $state (Gtk2::StateType) o $new (Gtk2::Gdk::Color or undef) scalar = $style->bg_pixmap_name ($state, $new=undef) o $state (Gtk2::StateType) o $new (string or undef) rcflags = $style->color_flags ($state, $new=0) o $state (Gtk2::StateType) o $new (Gtk2::RcFlags) rcstyle = $orig->copy color = $style->fg ($state, $new=undef) o $state (Gtk2::StateType) o $new (Gtk2::Gdk::Color or undef) scalar = $style->font_desc ($new=undef) o $new (scalar) scalar = $style->name ($new=undef) o $new (scalar) color = $style->text ($state, $new=undef) o $state (Gtk2::StateType) o $new (Gtk2::Gdk::Color or undef) scalar = $style->xthickness ($new=undef) o $new (scalar) scalar = $style->ythickness ($new=undef) o $new (scalar) ENUMS AND FLAGS flags Gtk2::RcFlags o 'fg' / 'GTK_RC_FG' o 'bg' / 'GTK_RC_BG' o 'text' / 'GTK_RC_TEXT' o 'base' / 'GTK_RC_BASE' enum Gtk2::StateType o 'normal' / 'GTK_STATE_NORMAL' o 'active' / 'GTK_STATE_ACTIVE' o 'prelight' / 'GTK_STATE_PRELIGHT' o 'selected' / 'GTK_STATE_SELECTED' o 'insensitive' / 'GTK_STATE_INSENSITIVE' SEE ALSO Gtk2, Glib::Object COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.38.0 2023-07-25 Gtk2::RcStyle(3)