Copying widgets
- From: Jim George <jimgeorge gmail com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Copying widgets
- Date: Sun, 12 Jul 2009 13:27:23 -0600
Hi all,
I'm writing a program that, like gimp, has a control window, from
which users can open one or more viewer windows that present different
aspects of a data set (it's a weather radar display program). The
sub-windows are identical, and I'm using libglade and glade-3 to do
the interface layouts. Currently, I call glade_xml_new each time I
want to create a new window. Is there a better way, which prevents
libglade from having to parse the XML each time?
Also, I'm interested in moving to GtkBuilder. Do I use different xml
files for each window and create a new GtkBuilder object for each new
viewer window, or is there a smarter way?
Thanks in advance.
-Jim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]