On Thu, Feb 05, 2004 at 11:02:32PM -0200, Guilherme Salgado wrote:
> I was trying to put a fixed width on some of my CellRendererText when I
> got a strange warning sayng that my width (200) was invalid or out or
> range, and the width isn't set to that value.
>
> GLib-GObject-WARNING **: value "200" of type `gint' is
> invalid or out of range for property `width' of type `gint'
>
> After some tests i found out that this happens only if i try to set a
> width higher than 100 using cell.set_property('width', width). But, if I
> use cell.set_fixed_size(width, height), doesn't matter if width is
> higher than 100, it works.
That's odd. Looks like a bug, though I can't be sure because I don't
have the code that's generating the exception handy. Have you tried
doing some grepping to find out what's going on?
> I wonder why this happens, cause at least for me the width attribute set
> by set_fixed_size() and set_property('width') should be the same. Is
> this a bug? Should I file a bug report?
> Or I misunderstud something?
Yeah, filing a bug sounds good; attach your testcase to the report. If
you can help us track the bug down it's even better -- I'd look at the
width property specification first to see if you can find any hints
there (as I don't think set_property() is to blame here).
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/