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

Gtk2::IconSource - wrapper for GtkIconSource

Glib::Boxed
+----Gtk2::IconSource

$source->set_direction ($direction)

$direction (Gtk2::TextDirection)

boolean = $source->get_direction_wildcarded

$source->set_direction_wildcarded ($setting)

$setting (boolean)

$source->set_filename ($filename)

$filename (localized file name)

Since: gtk+ 2.4

$source->set_icon_name ($icon_name)

$icon_name (string)

Since: gtk+ 2.4

$source->set_pixbuf ($pixbuf)

$pixbuf (Gtk2::Gdk::Pixbuf)

$source->set_size ($size)

$size (Gtk2::IconSize)

boolean = $source->get_size_wildcarded

$source->set_size_wildcarded ($setting)

$setting (boolean)

$source->set_state ($state)

$state (Gtk2::StateType)

boolean = $source->get_state_wildcarded

$source->set_state_wildcarded ($setting)

$setting (boolean)

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

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

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

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

2023-07-25 perl v5.38.0