Re: widget visibility
- From: Kevin Ryde <user42 zip com au>
- To: haratron <haratron gmail com>
- Cc: gtk-perl-list gnome org
- Subject: Re: widget visibility
- Date: Thu, 25 Nov 2010 08:01:39 +1100
Marius Feraru <altblue gmail com> writes:
On Wed, Nov 24, 2010 at 13:35, haratron <haratron gmail com> wrote:
They don't show up, despite having their visible property set to 1.
Just by manipulating this property won't get you too far.
Ie. that ->visible() one is just the widget flags bits getter/setter, it
doesn't do anything. The pod could make that clearer.
“set_visible”
Or plain property "visible" as in $widget->set(visible=>1) in all
versions. ->hide and ->show are probably easier for direct on or off,
or use the visible property if computing a visibility like (untested),
$want_visibile = ($cbox->get_active_text eq "four");
$label2->visible($want_visibile);
$entry1->visible($want_visibile);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]