[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: Enforcing Widget Snap To Size?
From:       Havoc Pennington <rhp () zirx ! pair ! com>
Date:       1999-03-04 4:50:01
[Download RAW message or body]


On Wed, 3 Mar 1999, SEGV wrote:
> 
> The behaviour I want is, when the window is resized, the drawing area widget
> (and also the window) should "snap" to the next smaller or larger size, in some
> increment (say, 32 pixels).
> 

There are X hints to do this, xterm does it for example. The function is
gtk_window_set_geometry_hints(). You can find an example of its use in
gnome-terminal.

Havoc


-- 
         To unsubscribe: mail gtk-app-devel-list-request@redhat.com with 
                       "unsubscribe" as the Subject.

	Mailing list concerns should be mailed to <listmaster@redhat.com>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic