NAME

Rui::Widget::Label - the label widget


SYNOPSIS

  $label = $parent->Label(
     value  => 'Hello World',
     image  => Rui::Image->new(file => "pic.gif", size => [16, 16]),
     hAlign => 'right', 
  );


SUPERCLASS

the Rui::Widget::Base manpage


DESCRIPTION

A label shows some text. You can add an image and set horizontal text alignment.


METHODS

value

parameters
Setting - string to set as text of label

description
Get/set label value.

image

parameters
Setting - the Rui::Image manpage

description
Get/set label image. Set image as undefined to remove.

hAlign

parameters
Setting - one of 3 values: left, center, right

description
Get/set the horizontal text alignment for the label text.