|
NAMEGtk2::Label - wrapper for GtkLabelHIERARCHYGlib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Misc +----Gtk2::Label INTERFACESGlib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODSwidget = Gtk2::Label->new ($str=undef)
widget = Gtk2::Label->new_with_mnemonic ($str)
double = $label->get_angleSince: gtk+ 2.6$label->set_angle ($angle)
Since: gtk+ 2.6 attrlist = $label->get_attributes$label->set_attributes ($attrs)
string = $label->get_current_uriSince: gtk+ 2.18ellipsizemode = $label->get_ellipsizeSince: 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_offsetsboolean = $label->get_line_wrapwrapmode = $label->get_line_wrap_modeSince: 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_charsSince: gtk+ 2.6$label->set_max_width_chars ($n_chars)
Since: gtk+ 2.6 integer = $label->get_mnemonic_keyvalwidget 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_boundsReturns integers, start and end.boolean = $label->get_single_line_modeSince: 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_track_visited_linksSince: gtk+ 2.18$label->set_track_visited_links ($track_links)
Since: gtk+ 2.18 boolean = $label->get_use_markup$label->set_use_markup ($setting)
boolean = $label->get_use_underline$label->set_use_underline ($setting)
integer = $label->get_width_charsSince: gtk+ 2.6$label->set_width_chars ($n_chars)
Since: gtk+ 2.6 PROPERTIES
SIGNALS
ENUMS AND FLAGSenum Gtk2::Justification
enum Gtk2::MovementStep
enum Pango::EllipsizeMode
enum Pango::WrapMode
SEE ALSOGtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::MiscCOPYRIGHTCopyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Visit the GSP FreeBSD Man Page Interface. |