NAME
App::Chart::Gtk2::Ex::Statusbar::Message -- message displayed in a Statusbar
SYNOPSIS
use App::Chart::Gtk2::Ex::Statusbar::Message;
my $msg = App::Chart::Gtk2::Ex::Statusbar::Message->new (statusbar => $statusbar);
$msg->set_message ('Hello World');
$msg->set_message (undef);
OBJECT HIERARCHY
App::Chart::Gtk2::Ex::Statusbar::Message is a subclass of Glib::Object,
Glib::Object
App::Chart::Gtk2::Ex::Statusbar::Message
DESCRIPTION
This is an object-oriented approach to displaying a message in a Gtk2::Statusbar.
FUNCTIONS
$msg = App::Chart::Gtk2::Ex::Statusbar::Message->new (key=>value, ...)-
Create and return a new Message object. Optional key/value pairs set initial properties as per
Glib::Object->new.my $msg = App::Chart::Gtk2::Ex::Statusbar::Message->new (statusbar => $statusbar, message => 'Hello World'); $msg->set_message($str)-
Set the message string to display, as per the
messageproperty below.
PROPERTIES
statusbar(Gtk2::Statusbaror undef)-
The Statusbar widget to display, or undef not to display.
message(string or undef)-
The message string to display, or
undefnot to add anything to the Statusbar.Currently an empty string is treated the same as
undef, meaning it's not added to the Statusbar.