[pygtk] Get characters in a TextView

2003-10-10 Thread Dàvik
Hi! I'd like to know what are the 2 characters around the cursor in a TextView in a given moment. How should I do it? I found TextIter.get_char(), but it only gets the next character, not the previous. Besides, I don't know how to create a TextIter of the current offset of the cursor. Why all th

[pygtk] misc widgets with a treeview?

2003-10-10 Thread Thomi Richards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi guys, Is it possible to display other widgets than a check button or radio button within a certain cell in a TreeView? I'd like to display a combo box in a cell within a treeview. I'm fairly sure I've seen other gtk ap[ps doing this, so I'm ho

[pygtk] _another_ question - gtk.Layout and new_gc

2003-10-10 Thread Rob Scott
Hello, Thanks all for your help with my last predicament, I have it sorted now. But. >From what I understand, a gtk.Layout does not have a gtk.gdk.Window, or at least not one with a new_gc method. So, it is not possible to draw to a gtk.Layout, because it has no drawable. Am I right?