Re: [pygtk] How to stop mainloop from catching exceptions

2000-05-25 Thread James Henstridge
On Thu, 25 May 2000, Harry Henry Gebel wrote: How do I stop mainloop from catching exceptions? Set the PYGTK_FATAL_EXCEPTIONS environment variable before running your application. This way, when an exception occurs, the main loop will be exited (recursively if necessary). James. --

Re: [pygtk] Word wrap in GtkText

2000-05-25 Thread James Henstridge
On Thu, 25 May 2000, Harry Henry Gebel wrote: How do I make a GtkText widget start a new line when the end of the current line is reached? I tried turning word wrap on, line wrap on, and word wrap and lone wrap both on, but all of these settings keep the text as one line; although some of

Re: [pygtk] How to change focus when full

2000-05-25 Thread Aaron Optimizer Digulla
Quoting Harry Henry Gebel [EMAIL PROTECTED]: How can I set a GtkEntry widget with a maximum width to automatically change focus when it is full. I can detect when it is full by monitoring the insert_text field, and I could specifically refer to the next widget with a grab_focus, but then I

Re: [pygtk] force window to resize to show all enclosed widgets?

2000-05-25 Thread Aaron Optimizer Digulla
Quoting Joe Van Andel [EMAIL PROTECTED]: Using gtk+-1.2.7,glib-1.2.7,gnome-python-1.0.53 on Redhat 6.1 I have a toplevel window that initially shows some status messages. After it processes some data, it creates a table of widgets that control the rest of the application. The number of

Re: [pygtk] Word wrap in GtkText

2000-05-25 Thread Harry Henry Gebel
On Thu, May 25, 2000 at 03:28:42PM +0800, James Henstridge wrote: On Thu, 25 May 2000, Harry Henry Gebel wrote: How do I make a GtkText widget start a new line when the end of the current line is reached? I tried turning word wrap on, line wrap on, and word wrap The current GtkText widget

Re: [pygtk] How to stop mainloop from catching exceptions

2000-05-25 Thread Harry Henry Gebel
On Thu, May 25, 2000 at 03:04:01PM +0800, James Henstridge wrote: On Thu, 25 May 2000, Harry Henry Gebel wrote: How do I stop mainloop from catching exceptions? Set the PYGTK_FATAL_EXCEPTIONS environment variable before running your If I set this environment variable in the program prior to

Re: [pygtk] Possible alternative for GtkText

2000-05-25 Thread Stephan R.A. Deibel
For what it's worth, there is another editor called Scintilla for which I've written a python binding: http://www.archaeopteryx.com/opensource/pyscintilla.html It's really designed as a source code editor and has features like syntax hilighting, etc, but it works fine without enabling those and

Re: [pygtk] How to stop mainloop from catching exceptions

2000-05-25 Thread Matt Wilson
On Thu, May 25, 2000 at 08:26:12AM -0400, Harry Henry Gebel wrote: If I set this environment variable in the program prior to importing gtk, gnome.ui, and libglade will it still work? My intention is to put mainloop in a try clause and put up a GnomeErrorDialog with a traceback, append the

Re: [pygtk] How to stop mainloop from catching exceptions

2000-05-25 Thread Aaron Optimizer Digulla
Quoting Harry Henry Gebel [EMAIL PROTECTED]: How do I stop mainloop from catching exceptions? Set the PYGTK_FATAL_EXCEPTIONS environment variable before running your If I set this environment variable in the program prior to importing gtk, gnome.ui, and libglade will it still work? My

[pygtk] FW: Gnome-Python development article

2000-05-25 Thread Balcombe, Andy
For those that may not be subscribed to the gnome-announce mailing list. -- From: Clyde Zellers [SMTP:[EMAIL PROTECTED]] mailto:[SMTP:[EMAIL PROTECTED]] Sent: 25 May 2000 14:48 To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Subject: Gnome-Python development article Developing

[pygtk] gtkhtml_demo.py

2000-05-25 Thread Bicsak Attila
Hi! I have tried gtkhtml_demo.py from the pygnome-1.0.53 package: = [bicsi@nova examples]$ ./gtkhtml_demo.py Traceback (innermost last): File "./gtkhtml_demo.py", line 7, in ? from gtkhtml import * ImportError: No module named gtkhtml [bicsi@nova examples]$ = How can I solve

Re: [pygtk] force window to resize to show all enclosed widgets?

2000-05-25 Thread Aaron Optimizer Digulla
On Thu, May 25, 2000 at 09:59:47AM -0600, Joe Van Andel wrote: I have a toplevel window that initially shows some status messages. After it processes some data, it creates a table of widgets that control the rest of the application. The number of rows in the table depends on the

Re: [pygtk] gtkhtml_demo.py

2000-05-25 Thread Hassan Aurag
You need to recompile the whole gnome-python package with --with-gtkhtml This in essence means you need to : download gtkhtml 0.2 from gnome.org sources/unstable install it then do ./configure --with-gtkhtml; make; make install Hi! I have tried gtkhtml_demo.py from the

Re: [pygtk] force window to resize to show all enclosed widgets?

2000-05-25 Thread James Henstridge
On Fri, 26 May 2000, Aaron Optimizer Digulla wrote: On Thu, May 25, 2000 at 09:59:47AM -0600, Joe Van Andel wrote: I tried window.queue_resize(), but it made no difference. I also tried the following, where self.__table is packed inside self.__vbox, and it didn't help, either. ??

Re: [pygtk] How to change focus when full

2000-05-25 Thread Harry Henry Gebel
On Thu, May 25, 2000 at 10:01:23AM +0200, Aaron Optimizer Digulla wrote: How can I set a GtkEntry widget with a maximum width to automatically change focus when it is full. I can detect when it is full by monitoring - Use widget.focus () to move the focus to the next item Here is the signal