Re: 'wrap'=>1 for Gtk2::CheckButton
- From: andrea bravetti freeinternet it
- To: gtk-perl-list gnome org
- Cc: Simon Péter <pepolinux gmail com>
- Subject: Re: 'wrap'=>1 for Gtk2::CheckButton
- Date: Thu, 28 Jul 2005 16:23:51 +0200
Gtk2::CheckButton *does* use a Gtk2::Label for the label. THe string you
pass to Gtk2::CheckButton::new is used to create it. You can do it
yourself if you need:
Oh, great, it will be ready for yesterday ;)
But, if you do this:
$checkbutton1 = Gtk2::CheckButton->new ("...")
than you can't use change the wrap property from the CheckButton with
something like:
$checkbutton1->set_line_wrap (TRUE);
What i mean is: exists a way to change the wrap property on an existing
CheckButton with an existing Label?
However, $checkbutton->add ($label) is good enough, i don't know why I missed
it before... ;P
thanks,
Andrea
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]