Gtk2::Label Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Misc +----Gtk2::Label Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable

widget = Gtk2::Label->new ($str=undef)

widget = Gtk2::Label->new_with_mnemonic ($str)

double = $label->get_angle
Since: gtk+ 2.6

$label->set_angle ($angle)
Since: gtk+ 2.6

attrlist = $label->get_attributes

$label->set_attributes ($attrs)

ellipsizemode = $label->get_ellipsize
Since: gtk+ 2.6

$label->set_ellipsize ($mode)
Since: gtk+ 2.6

justification = $label->get_justify

$label->set_justify ($jtype)

string = $label->get_label

$label->set_label ($str)

layout = $label->get_layout

(x, y) = $label->get_layout_offsets

boolean = $label->get_line_wrap

wrapmode = $label->get_line_wrap_mode
Since: gtk+ 2.9

$label->set_line_wrap_mode ($wrap_mode)
Since: gtk+ 2.9

$label->set_line_wrap ($wrap)

$label->set_markup ($str)

$label->set_markup_with_mnemonic ($str)

integer = $label->get_max_width_chars
Since: gtk+ 2.6

$label->set_max_width_chars ($n_chars)
Since: gtk+ 2.6

integer = $label->get_mnemonic_keyval

widget or undef = $label->get_mnemonic_widget

$label->set_mnemonic_widget ($widget)

$label->set_pattern ($pattern)

$label->select_region ($start_offset=-1, $end_offset=-1)

boolean = $label->get_selectable

$label->set_selectable ($setting)

(start, end) = $label->get_selection_bounds
Returns integers, start and end.

boolean = $label->get_single_line_mode
Since: gtk+ 2.6

$label->set_single_line_mode ($single_line_mode)
Since: gtk+ 2.6

string or undef = $label->get_text

$label->set_text ($str)

$label->set_text_with_mnemonic ($str)

boolean = $label->get_use_markup

$label->set_use_markup ($setting)

boolean = $label->get_use_underline

$label->set_use_underline ($setting)

integer = $label->get_width_chars
Since: gtk+ 2.6

$label->set_width_chars ($n_chars)
Since: gtk+ 2.6 Angle at which the label is rotated A list of style attributes to apply to the text of the label The current position of the insertion cursor in chars The preferred place to ellipsize the string, if the label does not have enough room to display the entire string The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See GtkMisc::xalign for that The text of the label The desired maximum width of the label, in characters The mnemonic accelerator key for this label The widget to be activated when the label's mnemonic key is pressed A string with _ characters in positions correspond to characters in the text to underline Whether the label text can be selected with the mouse The position of the opposite end of the selection from the cursor in chars Whether the label is in single line mode The text of the label includes XML markup. See pango_parse_markup() If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key The desired width of the label, in characters If set, wrap lines if the text becomes too wide If wrap is set, controls how linewrapping is done

enum Gtk2::Justification

enum Gtk2::MovementStep

enum Gtk2::Pango::EllipsizeMode

enum Gtk2::Pango::WrapMode
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Misc Copyright (C) 2003-2007 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.