Re: Best place to call gtk_widget_show()?
- From: Stefan Kost <ensonic hora-obscura de>
- To: sgop users sourceforge net
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Best place to call gtk_widget_show()?
- Date: Wed, 17 Aug 2005 09:36:35 +0200
Hi Markus,
Markus Lausser wrote:
Hello,
I wonder, in which order should the following tasks be done:
* show widget
* add widget to parent container
* add childs to widget
Which order is the fastest (CPU)?
First add childs, then show? First show then add to parent? etc...
Or maybe call gtk_widget_show_all() for the toplevel only?
Does anyone know something about that?
I never measured, but I just build the whole widget tree and then call
_show_all(). Apart from beeing the easiest way, I also belive its most efficient.
Stefan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]