[pygtk] size_request and size_allocate

Gustavo J. A. M. Carneiro gjc at inescporto.pt
Thu Jan 5 22:43:22 WST 2006


Qui, 2006-01-05 às 10:16 -0300, Pupeno escreveu:
> I am implementing a widget (a copy of Writing a Widget Using Cairo and PyGTK 
> 2.8) and the size of my widget is terrible (it gets 0 space), so I 
> implemented size_request and size_allocate, but they are never called, why 
> aren't they called ? How should my widget ask for more size ?
> Thanks.

  This example might help, if you have pygtk 2.8:

 http://telecom.inescporto.pt/~gjc/higcontainer/higcontainer.py

  Cheers.

> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Gustavo J. A. M. Carneiro
<gjc at inescporto.pt> <gustavo at users.sourceforge.net>
The universe is always one step beyond logic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem
	assinada digitalmente
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060105/77012862/attachment.pgp


More information about the pygtk mailing list