[pygtk] Multiple Gtk.DrawingArea
John Finlay
finlay at moeraki.com
Fri Sep 11 02:50:24 WST 2009
Antoine Cailliau wrote:
> Dear,
>
>
>> don't use this since it returns the allocation within the Window not
>> within the DA. Use self.window.get_size() to get the width and height
>> and use 0, 0 for the x and y in the following.
>>
> Thanks you a lot for your answer.
>
> I've on other small problem (but I do not think it is useful to start a
> new thread):
>
> I would like to set the size of the bottom DA. Using da2.size(X, Y) it
> seems that the application become greedy when I resize the window.
> Therefore, I guess it is not the right way to set the size.
>
>
Spend some time reading the PyGTK Tutorial and reviewing the appropriate
Reference Manual pages and the FAQ at pygtk.org
John
More information about the pygtk
mailing list