Re: [pygtk] connect_after does not work for treeview

2003-03-21 Thread Maik Hertha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Answer from Christian Reis Plain connect works fine, but the connect_after callback does not get called. Or am I doing something wrong? See attached example. There might be a default handler that is returning TRUE somewhere that is running

RE: [pygtk] connect_after does not work for treeview

2003-03-21 Thread Stephen Kennedy
For the standard widget event signals, a custom accumulator is set. When going through the list of handlers to call for the signal, the process goes like this: 1. call handler 2. if it returned True, skip the rest of the handlers in the list and return True 3. otherwise,

Re: [pygtk] connect_after does not work for treeview

2003-03-21 Thread James Henstridge
Maik Hertha wrote: The difference to the 0.6.x code is, that I include the return statements in the functions with FALSE. If I do a signal_connect I get a deadlock situation with the dialog window which is called via Set_options_button.clicked(). Could it be a bug anyway ? The behaviour was

Re: [pygtk] Changing a SpinButton's maximum value

2003-03-21 Thread Greg Ward
On 21 March 2003, James Henstridge said: For pygtk-1.99.x, the above style of updating the adjustment will work (assigning to the attribute). OK, I've upgraded to GTK+ 2.0 and pygtk 1.99.x, and indeed adjustment.upper = x works fine. But, there's just one teeny-tiny itsy-bitsy little glitch:

[pygtk] Mishandled exception

2003-03-21 Thread Greg Ward
I was just playing around with GtkListStore, and I think I've found a simple-but-subtle bug in pygtk: an exception condition is not being correctly returned to Python. Illustration: $ python Python 2.2.2 (#1, Jan 18 2003, 10:18:59) [GCC 3.2.2 20030109 (Debian prerelease)] on linux2 Type help,

Re: [pygtk] Mishandled exception

2003-03-21 Thread Greg Ward
On 21 March 2003, Johan Dahlin said: However, it's a bit risky reporting stuff here on the mailing list, since it's easy to lose them. It's better to report stuff in bugzilla, cause they will stay there and annoy us until they're fixed. OK, I'm doing so now. I presume this:

Re: [pygtk] Mishandled exception

2003-03-21 Thread Johan Dahlin
is the right place to do it? If so, a link from the pygtk home page might be a good idea... It's the right place, gnome-python product, pygtk component. Yes, this is a good idea. James, could you add a link, please? -- Johan Dahlin [EMAIL PROTECTED] Async Open Source

Re: [pygtk] VTK

2003-03-21 Thread John Hunter
George == George A Dowding [EMAIL PROTECTED] writes: George Hello, I am looking for information on using Pygtk and George VTK. I haven't come across anything that explains how to George do that. If anybody can point me in the right direction, George I would appreciated it. If

[pygtk] threading problem

2003-03-21 Thread Pablo Endres
Hi Guys, I'm working on a monitoring software that has a notebook. The firstpage is a drawing area (the expose event draws a pixmap with the image), the other pages contain a progress bar and a textbox. I have a thread for each machine being

[pygtk] gtk_tree_selection_get_selected_rows()?

2003-03-21 Thread Greg Ward
I'm playing around with a GtkTreeView widget with multiple selection. Looks like gtk_tree_selection_get_selected_rows() (aka TreeView.get_selected_rows()) isn't wrapped in pygtk 1.99.15. ;-( I think I can workaround it using TreeView.selected_foreach(), but that's a bit awkward. Is this a

Re: [pygtk] gtk_tree_selection_get_selected_rows()?

2003-03-21 Thread Johan Dahlin
fre 2003-03-21 klockan 23.10 skrev Greg Ward: I'm playing around with a GtkTreeView widget with multiple selection. Looks like gtk_tree_selection_get_selected_rows() (aka TreeView.get_selected_rows()) isn't wrapped in pygtk 1.99.15. ;-( I think I can workaround it using

[pygtk] Updating the Display

2003-03-21 Thread Jesse Pavel
Hi everyone, I'm having an issue in having a dialog display its contents immediately--I want to display a message to the user before a long operation begins, and so I create a dialog, stick a label in it, and show it. Normally, the contents are not displayed until my lengthy callback finishes;