Gtk2::RcStyle(3) User Contributed Perl Documentation Gtk2::RcStyle(3)

Gtk2::RcStyle - wrapper for GtkRcStyle

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

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)

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

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)

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

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

Gtk2, Glib::Object

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

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

2022-05-29 perl v5.36.0