Gtk2::Style(3)

πŸ“¦
version 1.24993 Β· 2 versions
, in fedora 43

πŸŽ€ Gtk2::Style(3) πŸŽ€

User Contributed Perl Documentation

okay bestie, this is the Gtk2::Style page and it is long, so buckle up πŸ’… we're doing this in parts.


πŸ’– NAME πŸ’–

Gtk2::Style β€” a wrapper for GtkStyle. that's the whole pitch, that's the vibe, periodt. 🫢

🌈 HIERARCHY 🌈

Glib::Object
+----Gtk2::Style

so Gtk2::Style sits right under Glib::Object. no cap. ✨

✨ METHODS ✨

style = Gtk2::Style->new

brand new style object, fresh out the box. πŸŽ€


$style->apply_default_background ($window, $set_bg, $state_type, $area, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Window
  • $set_bg β€” boolean
  • $state_type β€” a Gtk2::StateType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

style = $style->attach ($window)

  • $window β€” a Gtk2::Gdk::Window

gives you back a style. πŸ¦‹


boolean = $style->attached

hands you a boolean, bestie. that's it. that's the method. πŸ’…


$style->set_background ($window, $state_type)

  • $window β€” a Gtk2::Gdk::Window
  • $state_type β€” a Gtk2::StateType

color = $style->base ($state)

  • $state β€” a Gtk2::StateType

you get a color back. 🌸


gc = $style->base_gc ($state)

  • $state β€” a Gtk2::StateType

you get a gc back. πŸ‘‘


color = $style->bg ($state)

  • $state β€” a Gtk2::StateType

color. πŸŽ€


gc = $style->bg_gc ($state)

  • $state β€” a Gtk2::StateType

gc. ✨


pixmap = $style->bg_pixmap ($state, $pixmap=undef)

  • $state β€” a Gtk2::StateType
  • $pixmap β€” a Gtk2::Gdk::Pixmap or undef (and note the $pixmap=undef in the signature β€” it defaults to undef 🫢)

you get a pixmap. πŸ’œ


scalar = $style->black

scalar. yes. that's literally it. πŸ–€


scalar = $style->black_gc

also a scalar. πŸ’€


style = $style->copy

gives you a style back β€” a copy. obviously. πŸ™ˆ


color = $style->dark ($state)

  • $state β€” a Gtk2::StateType

color. 🌈


gc = $style->dark_gc ($state)

  • $state β€” a Gtk2::StateType

gc. ⭐


$style->detach

no args, no return listed, just vibes. 🧚


Gtk2->draw_insertion_cursor ($widget, $drawable, $area, $location, $is_primary, $direction, $draw_arrow)

okay heads up: this one is called on Gtk2 itself, not on $style. don't @ me, that's just how it's written. πŸ’…

  • $widget β€” a Gtk2::Widget
  • $drawable β€” a Gtk2::Gdk::Drawable
  • $area β€” a Gtk2::Gdk::Rectangle
  • $location β€” a Gtk2::Gdk::Rectangle
  • $is_primary β€” boolean
  • $direction β€” a Gtk2::TextDirection
  • $draw_arrow β€” boolean
Since: gtk+ 2.4 🌱

color = $style->fg ($state)

  • $state β€” a Gtk2::StateType

color. πŸ“


gc = $style->fg_gc ($state)

  • $state β€” a Gtk2::StateType

gc. ✨


scalar = $style->font_desc

a scalar, and it's your font description. πŸŽ€


list = $style->get (widget_package, ...)

list = $style->get_style_property (widget_package, ...)

  • $widget_package β€” string, the widget package name (ex: 'Gtk2::TreeView')
  • ... β€” list, the list of property names

okay so here's the tea β˜• β€” this fetches and returns the values for the style properties you name in ... for a widget of type widget_package. and <hotpink>get</hotpink> is just an alias for get_style_property. same method, two names, iconic behavior. πŸ‘‘

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). but 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 that property can be accessed with get_property. noted, bestie. πŸ“
Since: gtk+ 2.16 🌱

color = $style->light ($state)

  • $state β€” a Gtk2::StateType

color. 🌟


gc = $style->light_gc ($state)

  • $state β€” a Gtk2::StateType

gc. πŸ’«


color = $style->lookup_color ($color_name)

  • $color_name β€” string

color. 🎨

Since: gtk+ 2.10 🌱

iconset = $style->lookup_icon_set ($stock_id)

  • $stock_id β€” string

you get an iconset. cute. πŸ–ΌοΈ


color = $style->mid ($state)

  • $state β€” a Gtk2::StateType

color. πŸ’


gc = $style->mid_gc ($state)

  • $state β€” a Gtk2::StateType

gc. ✨


$style->paint_arrow ($window, $state_type, $shadow_type, $area, $widget, $detail, $arrow_type, $fill, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $arrow_type β€” a Gtk2::ArrowType
  • $fill β€” boolean
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_box ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_box_gap ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height, $gap_side, $gap_x, $gap_width)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer
  • $gap_side β€” a Gtk2::PositionType
  • $gap_x β€” integer
  • $gap_width β€” integer

$style->paint_check ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget πŸ‘€ (no or undef on this one, bestie β€” it's just Gtk2::Widget)
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_diamond ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_expander ($window, $state_type, $area, $widget, $detail, $x, $y, $expander_style)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget (again, no or undef πŸ’…)
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $expander_style β€” a Gtk2::ExpanderStyle

$style->paint_extension ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height, $gap_side)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer
  • $gap_side β€” a Gtk2::PositionType

$style->paint_flat_box ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_focus ($window, $state_type, $area, $widget, $detail, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_handle ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height, $orientation)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string πŸ‘€ (no or undef here, just plain string)
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer
  • $orientation β€” a Gtk2::Orientation

$style->paint_hline ($window, $state_type, $area, $widget, $detail, $x1, $x2, $y)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x1 β€” integer
  • $x2 β€” integer
  • $y β€” integer

$style->paint_layout ($window, $state_type, $use_text, $area, $widget, $detail, $x, $y, $layout)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $use_text β€” boolean
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $layout β€” a Pango::Layout

$style->paint_option ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget (yep, no or undef, stay woke πŸ’…)
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_polygon ($window, $state_type, $shadow_type, $area, $widget, $detail, $fill, $x1, $y1, ...)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a 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

$style->paint_resize_grip ($window, $state_type, $area, $widget, $detail, $edge, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $edge β€” a Gtk2::Gdk::WindowEdge
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_shadow ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType
  • $shadow_type β€” a Gtk2::ShadowType
  • $area β€” a Gtk2::Gdk::Rectangle or undef
  • $widget β€” a Gtk2::Widget or undef
  • $detail β€” string or undef
  • $x β€” integer
  • $y β€” integer
  • $width β€” integer
  • $height β€” integer

$style->paint_shadow_gap ($window, $state_type, $shadow_type, $area, $widget, $detail, $x, $y, $width, $height, $gap_side, $gap_x, $gap_width)

  • $window β€” a Gtk2::Gdk::Drawable
  • $state_type β€” a Gtk2::StateType

…and that's exactly where part 1 runs out, bestie 😭 the rest of paint_shadow_gap's args are waiting in the next chunk. πŸ’–

okay so picking up right where we left off, the rest of the params for that method were:

  • $shadow_type (Gtk2::ShadowType) β€” a Gtk2::ShadowType, bestie πŸ’…
  • $area (Gtk2::Gdk::Rectangle or undef) β€” a Gtk2::Gdk::Rectangle or undef, mysterious πŸ¦‹
  • $widget (Gtk2::Widget or undef) β€” a Gtk2::Widget or undef ✨
  • $detail (string or undef) β€” a string or undef πŸŽ€
  • $x (integer) β€” an integer, no cap πŸ“
  • $y (integer) β€” an integer, fr fr πŸ“
  • $width (integer) β€” an integer, periodt πŸ“
  • $height (integer) β€” an integer, slay πŸ“
  • $gap_side (Gtk2::PositionType) β€” a Gtk2::PositionType, iconic πŸ‘‘
  • $gap_x (integer) β€” an integer, iykyk πŸ”₯
  • $gap_width (integer) β€” an integer, literally 🌈

$style->paint_slider πŸ’…

$style->paint_slider ($window, $state_type, $shadow_type, $area, $widget,
    $detail, $x, $y, $width, $height, $orientation)
  • $window (Gtk2::Gdk::Drawable) β€” a Gtk2::Gdk::Drawable, bestie ✨
  • $state_type (Gtk2::StateType) β€” a Gtk2::StateType, lowkey πŸ¦‹
  • $shadow_type (Gtk2::ShadowType) β€” a Gtk2::ShadowType, highkey πŸ’…
  • $area (Gtk2::Gdk::Rectangle or undef) β€” a Gtk2::Gdk::Rectangle or undef, no cap πŸŽ€
  • $widget (Gtk2::Widget or undef) β€” a Gtk2::Widget or undef, fr fr πŸ‘‘
  • $detail (string or undef) β€” a string or undef, periodt πŸ”₯
  • $x (integer) β€” an integer, slay πŸ“
  • $y (integer) β€” an integer, literally πŸ“
  • $width (integer) β€” an integer, obsessed πŸ“
  • $height (integer) β€” an integer, ate πŸ“
  • $orientation (Gtk2::Orientation) β€” a Gtk2::Orientation, main character energy 🌈

$style->paint_spinner πŸŒ€

$style->paint_spinner ($window, $state_type, $area, $widget, $detail, $step,
    $x, $y, $width, $height)
  • $window (Gtk2::Gdk::Window) β€” a Gtk2::Gdk::Window, bestie πŸ’–
  • $state_type (Gtk2::StateType) β€” a Gtk2::StateType, ngl ✨
  • $area (Gtk2::Gdk::Rectangle or undef) β€” a Gtk2::Gdk::Rectangle or undef, iykyk πŸ¦‹
  • $widget (Gtk2::Widget or undef) β€” a Gtk2::Widget or undef, fr fr πŸŽ€
  • $detail (string or undef) β€” a string or undef, periodt πŸ’…
  • $step (integer) β€” an integer, slay πŸ”₯
  • $x (integer) β€” an integer, no cap πŸ“
  • $y (integer) β€” an integer, literally πŸ“
  • $width (integer) β€” an integer, iconic πŸ“
  • $height (integer) β€” an integer, ate πŸ“
Since: gtk+ 2.20

$style->paint_tab πŸŽ€

$style->paint_tab ($window, $state_type, $shadow_type, $area, $widget,
    $detail, $x, $y, $width, $height)
  • $window (Gtk2::Gdk::Drawable) β€” a Gtk2::Gdk::Drawable, bestie ✨
  • $state_type (Gtk2::StateType) β€” a Gtk2::StateType, lowkey πŸ¦‹
  • $shadow_type (Gtk2::ShadowType) β€” a Gtk2::ShadowType, highkey πŸ’…
  • $area (Gtk2::Gdk::Rectangle or undef) β€” a Gtk2::Gdk::Rectangle or undef, no cap πŸŽ€
  • $widget (Gtk2::Widget) β€” a Gtk2::Widget, fr fr πŸ‘‘
  • $detail (string or undef) β€” a string or undef, periodt πŸ”₯
  • $x (integer) β€” an integer, slay πŸ“
  • $y (integer) β€” an integer, literally πŸ“
  • $width (integer) β€” an integer, obsessed πŸ“
  • $height (integer) β€” an integer, ate πŸ“

$style->paint_vline πŸ“

$style->paint_vline ($window, $state_type, $area, $widget, $detail, $y1_,
    $y2_, $x)
  • $window (Gtk2::Gdk::Drawable) β€” a Gtk2::Gdk::Drawable, bestie ✨
  • $state_type (Gtk2::StateType) β€” a Gtk2::StateType, ngl πŸ¦‹
  • $area (Gtk2::Gdk::Rectangle or undef) β€” a Gtk2::Gdk::Rectangle or undef, iykyk πŸŽ€
  • $widget (Gtk2::Widget or undef) β€” a Gtk2::Widget or undef, fr fr πŸ’…
  • $detail (string or undef) β€” a string or undef, periodt πŸ”₯
  • $y1_ (integer) β€” an integer, slay πŸ“
  • $y2_ (integer) β€” an integer, literally πŸ“
  • $x (integer) β€” an integer, no cap πŸ“

$style->render_icon πŸ–ΌοΈ

pixbuf = $style->render_icon ($source, $direction, $state, $size, $widget,
    $detail=undef)
  • $source (Gtk2::IconSource) β€” a Gtk2::IconSource, bestie πŸ’–
  • $direction (Gtk2::TextDirection) β€” a Gtk2::TextDirection, lowkey ✨
  • $state (Gtk2::StateType) β€” a Gtk2::StateType, highkey πŸ¦‹
  • $size (Gtk2::IconSize) β€” a Gtk2::IconSize, iconic πŸŽ€
  • $widget (Gtk2::Widget or undef) β€” a Gtk2::Widget or undef, fr fr πŸ’…
  • $detail (string or undef) β€” a string or undef, periodt πŸ”₯

$style->get_style_property πŸ”

$style->get_style_property ($widget_package, ...)
  • $widget_package (string) β€” a string, no cap ✨
  • ... (list) β€” a list, slay πŸ¦‹
Since: gtk+ 2.16

$style->text 🎨

color = $style->text ($state)
  • $state (Gtk2::StateType) β€” a Gtk2::StateType, bestie πŸ’…

$style->text_aa ✨

color = $style->text_aa ($state)
  • $state (Gtk2::StateType) β€” a Gtk2::StateType, fr fr πŸ¦‹

$style->text_aa_gc πŸŽ€

gc = $style->text_aa_gc ($state)
  • $state (Gtk2::StateType) β€” a Gtk2::StateType, literally πŸ”₯

$style->text_gc πŸ’…

gc = $style->text_gc ($state)
  • $state (Gtk2::StateType) β€” a Gtk2::StateType, periodt πŸ“

scalar = $style->white 🀍

scalar = $style->white_gc πŸ’–

scalar = $style->xthickness ✨

scalar = $style->ythickness πŸ¦‹


✨ SIGNALS ✨

  • realize (Gtk2::Style) β€” realize, iconic πŸ’…
  • unrealize (Gtk2::Style) β€” unrealize, periodt πŸ”₯

🌈 ENUMS AND FLAGS 🌈

enum Gtk2::ArrowType

  • 'up' / 'GTK_ARROW_UP' ⬆️
  • 'down' / 'GTK_ARROW_DOWN' ⬇️
  • 'left' / 'GTK_ARROW_LEFT' ⬅️
  • 'right' / 'GTK_ARROW_RIGHT' ➑️
  • 'none' / 'GTK_ARROW_NONE' 🚫

enum Gtk2::ExpanderStyle

  • 'collapsed' / 'GTK_EXPANDER_COLLAPSED' πŸ“
  • 'semi-collapsed' / 'GTK_EXPANDER_SEMI_COLLAPSED' πŸ“‚
  • 'semi-expanded' / 'GTK_EXPANDER_SEMI_EXPANDED' πŸ“‚
  • 'expanded' / 'GTK_EXPANDER_EXPANDED' πŸ“‚

enum Gtk2::Gdk::WindowEdge

  • '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' β†˜οΈ

enum Gtk2::IconSize

  • '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' πŸ’¬

enum Gtk2::Orientation

  • 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL' ↔️
  • 'vertical' / 'GTK_ORIENTATION_VERTICAL' ↕️

enum Gtk2::PositionType

  • 'left' / 'GTK_POS_LEFT' ⬅️
  • 'right' / 'GTK_POS_RIGHT' ➑️
  • 'top' / 'GTK_POS_TOP' ⬆️
  • 'bottom' / 'GTK_POS_BOTTOM' ⬇️

enum Gtk2::ShadowType

  • 'none' / 'GTK_SHADOW_NONE' 🚫
  • 'in' / 'GTK_SHADOW_IN' ⬇️
  • 'out' / 'GTK_SHADOW_OUT' ⬆️
  • 'etched-in' / 'GTK_SHADOW_ETCHED_IN' πŸͺ“
  • 'etched-out' / 'GTK_SHADOW_ETCHED_OUT' πŸͺ“

enum Gtk2::StateType

  • 'normal' / 'GTK_STATE_NORMAL' 😊
  • 'active' / 'GTK_STATE_ACTIVE' πŸ”₯
  • 'prelight' / 'GTK_STATE_PRELIGHT' ✨
  • 'selected' / 'GTK_STATE_SELECTED' βœ…
  • 'insensitive' / 'GTK_STATE_INSENSITIVE' 🚫

enum Gtk2::TextDirection

  • 'none' / 'GTK_TEXT_DIR_NONE' 🚫
  • 'ltr' / 'GTK_TEXT_DIR_LTR' ➑️
  • 'rtl' / 'GTK_TEXT_DIR_RTL' ⬅️

πŸ‘€ SEE ALSO πŸ‘€

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


That's the whole vibe, bestie. This page came from perl v5.42.0, dated 2025-07-25, and it's for Gtk2::Style(3). Stay iconic πŸ’–βœ¨

πŸ“¦ where this page comes from