Re: Re: portrait to landscape mode (RandR: Rotate and Resize)

From: Russell Nelson <rn-handhelds_at_crynwr.com>
Date: Thu, 14 Jun 2001 10:17:14 -0400 (EDT)

Edward Muller writes:
> On Wednesday 13 June 2001 10:18, Russell Nelson wrote:
> > Glade has no intrinsic support for screen resolutions. No matter,
> > though, because this works nicely:
>
> Again, It's not Glade that needs the support, but Gtk.

Look at the pygps glade files. The widgets are laid out differently
for the existing three screen resolutions. For portrait, I have a
notebook with the tabs on the top. For landscape, I have a notebook
with the tabs on the left. And for humongo (768x1024) I don't bother
with the notebook, but instead have everything laid out in a table.

> In a glade program, for instance, you may actually want to
> destroy all of your widgets and load a new glade file, something that is
> better optimized for the new display dimensions.....

Yep.

> Again, glade creates Gtk widgets and connects handlers to signals, past that
> (AFAIK) it don't do notin much.

Yep. I don't know from all this "ConfigureNotify on the root window"
thing. My X knowledge is very limited. If somebody can tell me how
to do it in pygtk, I'll be a very happy camper.

-- 
-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 - 07:14:11 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:27 EDT