Re: [gtk-list] Forcing an odd width in a drawing area.



JA wrote:
> 
> Hi everybody!.
> 
> I'm working with a drawing area, which must have an odd width all the time,
> although you can resize it (resizing the window).
> 
> How can I do it? If anybody can help me I'll be glad for it.
> 
> Regards!
> Jesús Arnáiz -> <jarnaiz@svalero.es> <- http://members.xoom.com/_jArn_/
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


You can catch the configure event for the DrawingArea, and do the appropiate
changes to the size (perhaps this can chain abother configure event and get into
a loop, so be carefully).



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