GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gtk2::Style(3) User Contributed Perl Documentation Gtk2::Style(3)

Gtk2::Style - wrapper for GtkStyle

  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)

$window (Gtk2::Gdk::Window)

  • $window (Gtk2::Gdk::Window)
  • $state_type (Gtk2::StateType)

$state (Gtk2::StateType)

$state (Gtk2::StateType)

$state (Gtk2::StateType)

$state (Gtk2::StateType)

  • $state (Gtk2::StateType)
  • $pixmap (Gtk2::Gdk::Pixmap or undef)

$state (Gtk2::StateType)

$state (Gtk2::StateType)

  • $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

$state (Gtk2::StateType)

$state (Gtk2::StateType)

  • $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 is an alias for get_style_property.

    my $size = $style->get_style_property ("expander-size");

Note: The get method shadows Glib::Object::get (see "get and set" in Glib::Object). 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 then the property can be accessed with get_property.

Since: gtk+ 2.16

$state (Gtk2::StateType)

$state (Gtk2::StateType)

$color_name (string)

Since: gtk+ 2.10

$stock_id (string)

$state (Gtk2::StateType)

$state (Gtk2::StateType)

  • $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::Window)
  • $state_type (Gtk2::StateType)
  • $area (Gtk2::Gdk::Rectangle or undef)
  • $widget (Gtk2::Widget or undef)
  • $detail (string or undef)
  • $step (integer)
  • $x (integer)
  • $y (integer)
  • $width (integer)
  • $height (integer)

Since: gtk+ 2.20

  • $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)

  • $widget_package (string)
  • ... (list)

Since: gtk+ 2.16

$state (Gtk2::StateType)

$state (Gtk2::StateType)

$state (Gtk2::StateType)

$state (Gtk2::StateType)

realize (Gtk2::Style)
unrealize (Gtk2::Style)

  • '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'

  • 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
  • 'vertical' / 'GTK_ORIENTATION_VERTICAL'

  • 'left' / 'GTK_POS_LEFT'
  • 'right' / 'GTK_POS_RIGHT'
  • 'top' / 'GTK_POS_TOP'
  • 'bottom' / 'GTK_POS_BOTTOM'

  • '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'

  • 'none' / 'GTK_TEXT_DIR_NONE'
  • 'ltr' / 'GTK_TEXT_DIR_LTR'
  • 'rtl' / 'GTK_TEXT_DIR_RTL'

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-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.