Clutter::Label
Glib::Object+----Glib::InitiallyUnowned+----Clutter::Actor+----Clutter::Label
Glib::Object::_Unregistered::ClutterScriptable
actor = Clutter::Label->new ($font_name=undef, $text=undef, $color=undef) $font_name (string or undef) $text (string or undef) $color (Clutter::Color or undef)
alignment = $label->get_alignment
$label->set_alignment ($alignment) $alignment (Gtk2::Pango::Alignment)
attrlist = $label->get_attributes
$label->set_attributes ($attrs) $attrs (Gtk2::Pango::AttrList)
color = $label->get_color
$label->set_color ($color) $color (Clutter::Color)
ellipsizemode = $label->get_ellipsize
$label->set_ellipsize ($mode) $mode (Gtk2::Pango::EllipsizeMode)
string or undef = $label->get_font_name
$label->set_font_name ($font_name) $font_name (string)
boolean = $label->get_justify
$label->set_justify ($justify) $justify (boolean)
layout = $label->get_layout
boolean = $label->get_line_wrap
wrapmode = $label->get_line_wrap_mode
$label->set_line_wrap_mode ($wrap_mode) $wrap_mode (Gtk2::Pango::WrapMode)
$label->set_line_wrap ($line_wrap) $line_wrap (boolean)
string or undef = $label->get_text
$label->set_text ($text) $text (string or undef)
boolean = $label->get_use_markup
$label->set_use_markup ($use_markup) $use_markup (boolean) The preferred alignment for the string A list of style attributes to apply to the text of the label Font Colour The preferred place to ellipsize the string, if the label does not have enough room to display the entire string Pango font description Whether the contents of the label should be justified Text to render The text of the label includes XML markup. See pango_parse_markup() If set, wrap lines if the text becomes too wide If wrap is set, controls how line-wrapping is done
enum Gtk2::Pango::Alignment 'left' / 'PANGO_ALIGN_LEFT' 'center' / 'PANGO_ALIGN_CENTER' 'right' / 'PANGO_ALIGN_RIGHT'
enum Gtk2::Pango::EllipsizeMode 'none' / 'PANGO_ELLIPSIZE_NONE' 'start' / 'PANGO_ELLIPSIZE_START' 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' 'end' / 'PANGO_ELLIPSIZE_END'
enum Gtk2::Pango::WrapMode 'word' / 'PANGO_WRAP_WORD' 'char' / 'PANGO_WRAP_CHAR' 'word-char' / 'PANGO_WRAP_WORD_CHAR' Clutter, Glib::Object, Glib::InitiallyUnowned, Clutter::Actor Copyright (C) 2006 OpenedHand Ltd. This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License. See Clutter for the full copyright notice.