[pygtk] Computing optimum size of gtkhtml2.View

Sam Varshavchik mrsam at courier-mta.com
Thu Aug 14 06:15:10 WST 2008


Luke Kenneth Casson Leighton writes:

> sam, hi,
> did you ever receive a reply - or find a solution - to this question?
> for http://lkcl.net/pyjamas-desktop i'm looking for the way to calculate
> a sensible size for gtkhtml2.Views, based on the HTML inside.  at present,
> exactly as you probably found, a popup dialog is created... with zero width
> and height.
> only by having set the width to a fixed pixel size is the dialog turning
> out to be 1 pixel high (and 218 pixels wide), and the user application chose
> that.

Nope.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20080813/d9786895/attachment.pgp 


More information about the pygtk mailing list