Next: Gtk2::Table | Previous: Gtk2::Stock | [Gtk2-Perl - Table of Contents] | [Gtk2-Perl - Index] |
Gtk2::Style
Glib::Object +----Gtk2::Style
$window (Gtk2::Gdk::Window)
$set_bg (boolean)
$state_type (Gtk2::StateType)
$area (Gtk2::Gdk::Rectangle or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$widget (Gtk2::Widget)
$drawable (Gtk2::Gdk::Drawable)
$area (Gtk2::Gdk::Rectangle)
$location (Gtk2::Gdk::Rectangle)
$is_primary (boolean)
$direction (Gtk2::TextDirection)
$draw_arrow (boolean)
Since: gtk+ 2.4
$widget_package (string) widget package name (ex: 'Gtk2::TreeView')
... (list) list of property names
Fetch and return the values for the style properties named in ... for a widget of type widget_package. get_style_property is an alias for get.
Note: The get method shadows Glib::Object::get. This shouldn't be a problem since Gtk2::Style defines no properties (as of gtk+ 2.16). If you have a class that's derived from Gtk2::Style and adds a property or if a new version of gtk+ adds a property to Gtk2::Style, the property can be accessed with get_property which still resolves to Glib::Object::get_property:
my $value = $style->get_property('property');
Since: gtk+ 2.16
Since: gtk+ 2.10
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$arrow_type (Gtk2::ArrowType)
$fill (boolean)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$gap_side (Gtk2::PositionType)
$gap_x (integer)
$gap_width (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget)
$detail (string or undef)
$x (integer)
$y (integer)
$expander_style (Gtk2::ExpanderStyle)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$gap_side (Gtk2::PositionType)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$orientation (Gtk2::Orientation)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x1 (integer)
$x2 (integer)
$y (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$use_text (boolean)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$layout (Pango::Layout)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$fill (boolean)
$x1 (integer) x coordinate of the first vertex
$y1 (integer) y coordinate of the first vertex
... (list) pairs of x and y coordinates
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$edge (Gtk2::Gdk::WindowEdge)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$gap_side (Gtk2::PositionType)
$gap_x (integer)
$gap_width (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$orientation (Gtk2::Orientation)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$shadow_type (Gtk2::ShadowType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget)
$detail (string or undef)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$window (Gtk2::Gdk::Drawable)
$state_type (Gtk2::StateType)
$area (Gtk2::Gdk::Rectangle or undef)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
$y1_ (integer)
$y2_ (integer)
$x (integer)
$source (Gtk2::IconSource)
$direction (Gtk2::TextDirection)
$state (Gtk2::StateType)
$size (Gtk2::IconSize)
$widget (Gtk2::Widget or undef)
$detail (string or undef)
'up' / 'GTK_ARROW_UP'
'down' / 'GTK_ARROW_DOWN'
'left' / 'GTK_ARROW_LEFT'
'right' / 'GTK_ARROW_RIGHT'
'none' / 'GTK_ARROW_NONE'
'collapsed' / 'GTK_EXPANDER_COLLAPSED'
'semi-collapsed' / 'GTK_EXPANDER_SEMI_COLLAPSED'
'semi-expanded' / 'GTK_EXPANDER_SEMI_EXPANDED'
'expanded' / 'GTK_EXPANDER_EXPANDED'
'north-west' / 'GDK_WINDOW_EDGE_NORTH_WEST'
'north' / 'GDK_WINDOW_EDGE_NORTH'
'north-east' / 'GDK_WINDOW_EDGE_NORTH_EAST'
'west' / 'GDK_WINDOW_EDGE_WEST'
'east' / 'GDK_WINDOW_EDGE_EAST'
'south-west' / 'GDK_WINDOW_EDGE_SOUTH_WEST'
'south' / 'GDK_WINDOW_EDGE_SOUTH'
'south-east' / 'GDK_WINDOW_EDGE_SOUTH_EAST'
'invalid' / 'GTK_ICON_SIZE_INVALID'
'menu' / 'GTK_ICON_SIZE_MENU'
'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
'button' / 'GTK_ICON_SIZE_BUTTON'
'dnd' / 'GTK_ICON_SIZE_DND'
'dialog' / 'GTK_ICON_SIZE_DIALOG'
'none' / 'GTK_SHADOW_NONE'
'in' / 'GTK_SHADOW_IN'
'out' / 'GTK_SHADOW_OUT'
'etched-in' / 'GTK_SHADOW_ETCHED_IN'
'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
'normal' / 'GTK_STATE_NORMAL'
'active' / 'GTK_STATE_ACTIVE'
'prelight' / 'GTK_STATE_PRELIGHT'
'selected' / 'GTK_STATE_SELECTED'
'insensitive' / 'GTK_STATE_INSENSITIVE'
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.