comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Gtk3 Checkbutton Question
Date: Sun, 31 Jul 2016 17:26:41 +0200
Date: 2016-07-31T17:26:41+02:00	[thread overview]
Message-ID: <nnl5bg$s4u$1@gioia.aioe.org> (raw)
In-Reply-To: 579e1322$0$12083$e4fe514c@news.kpn.nl

On 2016-07-31 17:02, ldries46 wrote:
> Just for information.
> I Use Show_All for showing the dialog.

Show_All recursively calls Show for the widget and all its children.

> When I use Show for the Dialog
> this means that other parts of the dialog also disappear.

No, it means that only the given widget is shown, the dialog itself is 
in this case.

> Does that mean that I have to show all elements within the dialog apart

This is what Show_All does. Hide is to reverse Show. If that does not 
work, it means you called it too early or on a wrong widget.

BTW, another techniques are:

1. Remove/add children to the container as they needed, dynamically.

2. Use Set_Sensitive to gray the widget out, leaving it visible.

The second method is preferable when the user must see all possibilities 
or when the widget layout must be preserved.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2016-07-31 15:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-31 14:19 Gtk3 Checkbutton Question ldries46
2016-07-31 14:26 ` Dmitry A. Kazakov
2016-07-31 14:57 ` ldries46
2016-07-31 15:02 ` ldries46
2016-07-31 15:26   ` Dmitry A. Kazakov [this message]
2016-08-16  9:44     ` briot.emmanuel
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox