[pygtk] Re: Draw rectangle's border with a different colour

2005-12-21 Thread Lawrence Oluyede
I solved this from the root. Cedric Gustin helped me making pycairo + pygtk work under Windows -- Lawrence http://www.oluyede.org/blog ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.

[pygtk] emulating key-presses

2005-12-21 Thread spike grobstein
I've got this project I'm working on where I've implemented joystick control (pyjsw) for the GUI and, depending on what's going on in the app, I'd like to have the joystick events handled differently. so I've got a thread that runs in the background and checks for joystick updates and then call

[pygtk] MozEmbed Segmentation Fault

2005-12-21 Thread Dennis Craven
My application has been using the gtkmozembed widget for a while now, and several users have reported a segmentation fault on startup. Our fingers have been pointing primarily to the /usr/lib/mozilla-firefox/libgtkembedmoz.so library that comes with Firefox. Until my recent upgrade to Deer Park, I

Re: [pygtk] How to display multi-line text in TreeView CellRenderer?

2005-12-21 Thread John Finlay
Leeuw van der, Tim wrote: Hi, I have a list view (TreeView with liststore) full of strings. In one of the columns, the strings can have multiple lines. How do I configure a CellRenderer to display multiple lines? So far, the columns become very wide and are all drawn blank, if some of the

[pygtk] Draw rectangle's border with a different colour

2005-12-21 Thread Lawrence Oluyede
I'm starting to make some tests/examples for an app I have to develop. I wrote the example using cairo and it works. Basically I tried to render a white rectangle with a black border in the following way: def draw_rect(self): self.context.rectangle(5, 5, 150, 150) self.context.

[pygtk] How to display multi-line text in TreeView CellRenderer?

2005-12-21 Thread Leeuw van der, Tim
Hi,   I have a list view (TreeView with liststore) full of strings. In one of the columns, the strings can have multiple lines. How do I configure a CellRenderer to display multiple lines? So far, the columns become very wide and are all drawn blank, if some of the rows have multiple line