[pygtk] question about 1 column listview

2006-10-23 Thread shawn bright
hey there,i have an app where i need a list view with only one column.i would like to use the convience methods append() to add items to a list store, as shown in the pygtk tutorial, but i am using glade and i do not see where that is an option. Anyone know a way around this ? thankssk

Re: [pygtk] TreeView background-color in a row

2006-10-23 Thread Rafael Villar Burke
Volker Helm wrote: > Hi, > > I'm looking for a possibility to change the color of a row in a TreeView. > > I looked through the tutorial and the reference, but I couldn't understand > how I can change the background-color for one cell or a complete row. > In the tutorial is an example, but I didn'

[pygtk] TreeView background-color in a row

2006-10-23 Thread Volker Helm
Hi, I'm looking for a possibility to change the color of a row in a TreeView. I looked through the tutorial and the reference, but I couldn't understand how I can change the background-color for one cell or a complete row. In the tutorial is an example, but I didn't get the meaning of it. As I

Re: [pygtk] draw_text (without pango)

2006-10-23 Thread Zoltán Kovács
Funny answer. Thank you, Albert, you made me laugh! :-) An alternative solution may be to do some pre-processing and chop your stringinto smaller pieces, and draw each string seperately (and not drawing textwhich is completely outside the window). I chose this alternative and it works now nicely.

Re: [pygtk] draw_text (without pango)

2006-10-23 Thread A.T.Hofkamp
Zoltán Kovács wrote: I realized that draw_text can only handle a signed 16 bit number for the input "x". So, if I give draw_text(font,gc,-33000,y,text) it won't work (-32000 is OK). Is this a pygtk or gdk issue? Afaik it is an X11 issue, the graphical system under Unix is designed with the

Re: [pygtk] PyGTK 2.10 fails on Win32: can't locate procedure entry point gdk_cairo_set_source_pixmap

2006-10-23 Thread Cedric Gustin
On 10/23/06, Robin Munn <[EMAIL PROTECTED]> wrote: On 10/22/06, Cedric Gustin <[EMAIL PROTECTED]> wrote: > With GTK+ 2.8 you should install pygtk-2.8 and pycairo-1.0 (no need for > pygobject). My pygtk 2.10 binaries require a GTK+ 2.10 which is not yet > available from gladewin32. Got it. Thanks