Re: [pygtk] Conflict: raw_input(), SIGALRM and pygtk

2010-06-29 Thread Michiel de Hoon
The problem is related to how the event loop works. Python (unlike for example Tcl/Tk) does not provide event loop support. Each GUI library (such as PyGTK) therefore implements its own event loop (and is unaware of other event loops). The PyGTK event loop is started automatically when you impor

[pygtk] Conflict: raw_input(), SIGALRM and pygtk

2010-06-29 Thread Ilya Murav'jov
Hi all, I have a console application, using raw_input() (readline) for interface and SIGALRM for periodic work. Now I added some GUI with PyGTK and all was fine until I found out that alarm signals stop to arise. The cause is, to my regret, just 'import gtk'. Here is the code to reproduce: import

Re: [pygtk] Custom theme

2010-06-29 Thread Dieter Verfaillie
Hi, > I call gtk.rc_parse('relative path to gtkrc') before > doing anything else in my main program. What I get is that a few of the > widgets have the correct style, but most have the default style for the > desktop. Any idea what I'm doing wrong? I suspect you're parsing the gtkrc of the them

[pygtk] [ANNOUNCE] PyGObject 2.21.4 - unstable

2010-06-29 Thread Tomeu Vizoso
Hi, I am pleased to announce version 2.21.4 of the Python bindings for GObject. The new release is available from ftp.gnome.org as and its mirrors as soon as its synced correctly: http://download.gnome.org/sources/pygobject/2.21/ What's new since PyGObject 2.21.3? - Build the cai

Re: [pygtk] How to remain visible on to p of fullscreen application?

2010-06-29 Thread Cornelius Kölbel
Hi Francesco, the gtk widget got a "set_keep_above". splash.set_keep_above(True) I am not sure at the moment, if it will also keep it above other applications... Kind regards Cornelius Am 29.06.2010 10:48, schrieb Francesco Fumanti: > Hi, > > Onboard is an onscreen keyboard that is writte

[pygtk] How to remain visible on to p of fullscreen application?

2010-06-29 Thread Francesco Fumanti
Hi, Onboard is an onscreen keyboard that is written in python and that uses gtk. I would like it to remain visible also when there is another application that goes fullscreen. Could anybody please tell me whether this is possible and how to do it; or point me to some documentation about how to

Re: [pygtk] gtk InfoBar documentation?

2010-06-29 Thread Yann Leboulanger
On 06/29/2010 08:59 AM, catalinf...@gmail.com wrote: > Example is wrong . See error : > Traceback (most recent call last): >File "infobar.py", line 46, in > InfoBar() >File "infobar.py", line 13, in __init__ > self.infobar = gtk.InfoBar() > AttributeError: 'module' object has no a