---
name: "Clutter::Label"
section: "3pm"
platform: "linux"
package: "libclutter-perl"
version: "0.8.0.1-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Clutter::Label"
---

# Clutter::Label(3pm)

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.
