Re: HI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 23 February 2004 15:35, Zbigniew Wasik wrote:
> Question:
> 	Let say I have window with drawingarea and status bar.
>       How to make callback for "configure_event" that I will get
>       always rectangular drawingarea - doesn't matter how user resize
> (of course choosing smaller value of width and hight of re-sizable
> window).
> 	I try with *_set_usize(), *_set_default_size(), *_resize()
>   but it doesnt work well, or the window shrinks to very small window -
> due to created new "configure_events"  (especially in case of *_resize()
> ) :)))))
>
> So any idea how to solve it - how to let users to resize but having all
> the time rectangular drawingarea??

Zbigniew,
Can you use a GtkAspectFrame to constrain your drawing area to your desired 
aspect ratio?
http://developer.gnome.org/doc/API/2.0/gtk/GtkAspectFrame.html
Dave
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux