Gtk2::RcStyle(3) wrapper for GtkRcStyle

HIERARCHY

  Glib::Object
  +----Gtk2::RcStyle

METHODS

rcstyle = Gtk2::RcStyle->new

color = $style->base ($state, $new=undef)

  • $state (Gtk2::StateType)
  • $new (Gtk2::Gdk::Color or undef)

color = $style->bg ($state, $new=undef)

  • $state (Gtk2::StateType)
  • $new (Gtk2::Gdk::Color or undef)

scalar = $style->bg_pixmap_name ($state, $new=undef)

  • $state (Gtk2::StateType)
  • $new (string or undef)

rcflags = $style->color_flags ($state, $new=0)

  • $state (Gtk2::StateType)
  • $new (Gtk2::RcFlags)

rcstyle = $orig->copy

color = $style->fg ($state, $new=undef)

  • $state (Gtk2::StateType)
  • $new (Gtk2::Gdk::Color or undef)

scalar = $style->font_desc ($new=undef)

  • $new (scalar)

scalar = $style->name ($new=undef)

  • $new (scalar)

color = $style->text ($state, $new=undef)

  • $state (Gtk2::StateType)
  • $new (Gtk2::Gdk::Color or undef)

scalar = $style->xthickness ($new=undef)

  • $new (scalar)

scalar = $style->ythickness ($new=undef)

  • $new (scalar)

ENUMS AND FLAGS

flags Gtk2::RcFlags

  • 'fg' / 'GTK_RC_FG'
  • 'bg' / 'GTK_RC_BG'
  • 'text' / 'GTK_RC_TEXT'
  • 'base' / 'GTK_RC_BASE'

enum Gtk2::StateType

  • 'normal' / 'GTK_STATE_NORMAL'
  • 'active' / 'GTK_STATE_ACTIVE'
  • 'prelight' / 'GTK_STATE_PRELIGHT'
  • 'selected' / 'GTK_STATE_SELECTED'
  • 'insensitive' / 'GTK_STATE_INSENSITIVE'

COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.