Re: [pygtk] Formatting a spinbutton's display

2008-07-29 Thread Tim Evans
Jeremy S wrote: I would like to use a spinbutton but instead of just displaying a float or integer, I want the display to be formatted. In my case I want it to be formatted as currency ($ in front and commas separating thousands, millions, etc.), but I can't even find any information on how to t

Re: [pygtk] Formatting a spinbutton's display

2008-07-29 Thread Jeremy S
Thanks for the tip. I made a little progress, but it's still not working correctly. If I press the up button once, it goes from $0 to $1 correctly. But if I press it again, sb_value_changed gets called twice: once to set it back to $0 and then once again to increment it to $1. I'm not really su

Re: [pygtk] list as a gobject property

2008-07-29 Thread Christian Becke
Fallenblood schrieb: > I'm subclassing GObject, and I need a list in __gproperties__, but > haven't the slightest idea how to implement it, as there is no > appropriate TYPE_*. Do I use TYPE_BOXED? How do the various TreeStores > do it, anyway? Don't know about the TreeStores, but try gobject.TYPE

[pygtk] list as a gobject property

2008-07-29 Thread Fallenblood
I'm subclassing GObject, and I need a list in __gproperties__, but haven't the slightest idea how to implement it, as there is no appropriate TYPE_*. Do I use TYPE_BOXED? How do the various TreeStores do it, anyway? ___ pygtk mailing list pygtk@daa.com.

[pygtk] HTML Rendering Engine with JavaScript (continued)

2008-07-29 Thread Jake Ackermann
actually, someone pointed out pywebgtkkit, but i can't find the download link (unless it's the read-only one).does anyone have example code. thanks in advance, jake ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Re

[pygtk] HTML Rendering Engine with Javascript

2008-07-29 Thread Jake Ackermann
hi all, thanks for your help in recommending gtkhtml. it worked like a charm. however, i noticed that while it does support css, it doesn't support javascript. my desire is to show/hide text based when clicking on a link. if i am not mistaken this must be done with javascript at the very least. i k