GtkStack, builder and hidden objects
- From: Daniel Kasak <d j kasak dk gmail com>
- To: gtk-list gnome org
- Subject: GtkStack, builder and hidden objects
- Date: Tue, 19 Feb 2019 11:14:19 +1100
Hi all.
I'm using glade to lay out my UIs. I've just noticed after porting some things that used GtkNotebook to GtkStack that objects that I've set as *not* visible ( in glade, select the object, go to the 'common' page, go to 'widget flags' and de-select 'Visible' ) are in fact visible. It seems like GtkStack is calling 'show all' on the widget tree.
Is this intended behaviour? I would expect my 'Visible' flag to be honoured, though I can see how this would be extra work.
For now, I've hooked up some code to re-hide my hidden widgets when the GtkStack's 'set-focus-child' event fires.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]