Re: How to eliminate get_preferred_height/width warning
- From: "Torsten Schönfeld" <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: How to eliminate get_preferred_height/width warning
- Date: Fri, 2 Jun 2017 10:39:43 +0200
"David Breeding" <debmint49 gmail com>:
When I expand the TreeStore, if its size exceeds the toplevel window, I get the warning: "Allocating size
to GtkWindow 0x[address] without calling gtk_widget_get_preferred width/height()
How do you expand the tree store? By calling size_allocate() on it? If so, then you need to call
get_preferred_size() or similar beforehand.
If that's not it, I think a complete minimal example reproducing the problem would help.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]