|
Two nasty problems of mine: msg#00130gnome.gtk+.python
Hi List, As the subject says... Problem #1: I can't make an arbitrary row active in a CList. `select_row' seemed to be fine, but I realized when I changed position using the keyboard after the call, that the actual position remains the same. I know about a workaround, more precisely moving the actual row into a new position with `row_move' or `swap_rows', and swapping the contents of the rows, but a cleaner way should be better. BTW, is there any way to make the active selection disappear and emulating it with colorized row background? Or should I write my own CList? ;) Problem #2: This code below doesn't work as expected: s = '/-\|' for i in range(1, 100): my_silly_label.set_text(s[i % 4]) time.sleep(0.1) In this example `my_silly_label' (which is a `Label' as you might guess :) doesn't get refreshed in the loop, but right after that. Thank you for your time, -- Laci Please sign http://noepatents.org against software patents in Europe! _______________________________________________ pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Using Accessibility interface from PyORBit?: 00130, Tessa Lau |
|---|---|
| Next by Date: | Re: Two nasty problems of mine: 00130, Gustavo J A M Carneiro |
| Previous by Thread: | Setting the Window Iconi: 00130, Shaffer, Chris |
| Next by Thread: | Re: Two nasty problems of mine: 00130, Gustavo J A M Carneiro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |