GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gtk2::Label(3) User Contributed Perl Documentation Gtk2::Label(3)

Gtk2::Label - wrapper for GtkLabel

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Misc
                      +----Gtk2::Label

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

$str (string or undef)

$str (string)

Since: gtk+ 2.6

$angle (double)

Since: gtk+ 2.6

$attrs (Pango::AttrList)

Since: gtk+ 2.18

Since: gtk+ 2.6

$mode (Pango::EllipsizeMode)

Since: gtk+ 2.6

$jtype (Gtk2::Justification)

$str (string)

Since: gtk+ 2.9

$wrap_mode (Pango::WrapMode)

Since: gtk+ 2.9

$wrap (boolean)

$str (string)

$str (string)

Since: gtk+ 2.6

$n_chars (integer)

Since: gtk+ 2.6

$widget (Gtk2::Widget or undef)

$pattern (string)

  • $start_offset (integer)
  • $end_offset (integer)

$setting (boolean)

Returns integers, start and end.

Since: gtk+ 2.6

$single_line_mode (boolean)

Since: gtk+ 2.6

$str (string or undef)

$str (string)
Since: gtk+ 2.18
$track_links (boolean)

Since: gtk+ 2.18

$setting (boolean)

$setting (boolean)

Since: gtk+ 2.6

$n_chars (integer)

Since: gtk+ 2.6

'angle' (double : default 0 : readable / writable / private / static-nick / static-blurb)
Angle at which the label is rotated
'attributes' (Pango::AttrList : default undef : readable / writable / private / static-nick / static-blurb)
A list of style attributes to apply to the text of the label
'cursor-position' (integer : default 0 : readable / private / static-nick / static-blurb)
The current position of the insertion cursor in chars
'ellipsize' (Pango::EllipsizeMode : default "none" : readable / writable / private / static-nick / static-blurb)
The preferred place to ellipsize the string, if the label does not have enough room to display the entire string
'justify' (Gtk2::Justification : default "left" : readable / writable / private / static-nick / static-blurb)
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
'label' (string : default "" : readable / writable / private / static-nick / static-blurb)
The text of the label
'max-width-chars' (integer : default -1 : readable / writable / private / static-nick / static-blurb)
The desired maximum width of the label, in characters
'mnemonic-keyval' (Glib::UInt : default 0xFFFFFF VoidSymbol : readable / private / static-nick / static-blurb)
The mnemonic accelerator key for this label
'mnemonic-widget' (Gtk2::Widget : default undef : readable / writable / private / static-nick / static-blurb)
The widget to be activated when the label's mnemonic key is pressed
'pattern' (string : default undef : writable / private / static-nick / static-blurb)
A string with _ characters in positions correspond to characters in the text to underline
'selectable' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the label text can be selected with the mouse
'selection-bound' (integer : default 0 : readable / private / static-nick / static-blurb)
The position of the opposite end of the selection from the cursor in chars
'single-line-mode' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the label is in single line mode
'track-visited-links' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether visited links should be tracked
'use-markup' (boolean : default false : readable / writable / private / static-nick / static-blurb)
The text of the label includes XML markup. See pango_parse_markup()
'use-underline' (boolean : default false : readable / writable / private / static-nick / static-blurb)
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key
'width-chars' (integer : default -1 : readable / writable / private / static-nick / static-blurb)
The desired width of the label, in characters
'wrap' (boolean : default false : readable / writable / private / static-nick / static-blurb)
If set, wrap lines if the text becomes too wide
'wrap-mode' (Pango::WrapMode : default "word" : readable / writable / private / static-nick / static-blurb)
If wrap is set, controls how linewrapping is done

activate-current-link (Gtk2::Label)
boolean = activate-link (Gtk2::Label, string)
copy-clipboard (Gtk2::Label)
move-cursor (Gtk2::Label, Gtk2::MovementStep, integer, boolean)
populate-popup (Gtk2::Label, Gtk2::Menu)

  • 'left' / 'GTK_JUSTIFY_LEFT'
  • 'right' / 'GTK_JUSTIFY_RIGHT'
  • 'center' / 'GTK_JUSTIFY_CENTER'
  • 'fill' / 'GTK_JUSTIFY_FILL'

  • 'logical-positions' / 'GTK_MOVEMENT_LOGICAL_POSITIONS'
  • 'visual-positions' / 'GTK_MOVEMENT_VISUAL_POSITIONS'
  • 'words' / 'GTK_MOVEMENT_WORDS'
  • 'display-lines' / 'GTK_MOVEMENT_DISPLAY_LINES'
  • 'display-line-ends' / 'GTK_MOVEMENT_DISPLAY_LINE_ENDS'
  • 'paragraphs' / 'GTK_MOVEMENT_PARAGRAPHS'
  • 'paragraph-ends' / 'GTK_MOVEMENT_PARAGRAPH_ENDS'
  • 'pages' / 'GTK_MOVEMENT_PAGES'
  • 'buffer-ends' / 'GTK_MOVEMENT_BUFFER_ENDS'
  • 'horizontal-pages' / 'GTK_MOVEMENT_HORIZONTAL_PAGES'

  • 'none' / 'PANGO_ELLIPSIZE_NONE'
  • 'start' / 'PANGO_ELLIPSIZE_START'
  • 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
  • 'end' / 'PANGO_ELLIPSIZE_END'

  • 'word' / 'PANGO_WRAP_WORD'
  • 'char' / 'PANGO_WRAP_CHAR'
  • 'word-char' / 'PANGO_WRAP_WORD_CHAR'

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Misc

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

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

2022-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.