Edward Muller writes:
> Yes, but those are different glade files. Aren't they? (Sorry I didn't look).
Yes, exactly.
> My guess is that the ConfigureNotify X event (or whatever it is called) needs
> to be built into gtk. Then if Gtk emits a signal when the X Event is
> triggered you could put together a handler that would destroy all of the
> existing widgets and then tell libglade to load a new file and create a new
> set of widgets.
Yep. Just what I want.
> I don't think putting support for RandR directly into glade is the right
> thing. Glade's purpose is to create a gui based on an XML file, nothing more.
> Once the gui is created the rest is in the scope of the gui toolkit.
Libglade might be the right place to know about RandR, but it would
have to either 1) know about multiple glade files, or 2) glade would
have to be extended to deal with multiple resolutions in the same
glade file. Ugh, ugh, ugh.
The nice thing about putting it in libglade is that you'd be
completely insulated from needing to know about screen resolution.
But ugh, that doesn't work either, because an application is going to
change its widget tree, if only by set_value().
It's probably best put in gtk as a signal. Then you'd just write a
signal handler to do what was necessary.
-- -russ nelson <sig@russnelson.com> http://russnelson.com Crynwr sells support for free software | PGPok | 521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude <windows.h> Potsdam, NY 13676-3213 | +1 315 268 9201 FAX |Received on Thu Jun 14 2001 - 08:48:16 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:27 EDT