Re: [pygtk] Re: Re: Focus ?

2003-01-05 Thread mc collilieux
Le Sat, 28 Dec 2002 17:01:40 -0200 Christian Reis [EMAIL PROTECTED] écrivait : ... But the help of Ricardo Froehlich gtk.idle_add(dserie.grab_focus) work fine. I've added FAQ 5.10 which says at the end of it: I have read (too late) using idle_add() to call grab_focus() is

[pygtk] changing font

2003-01-05 Thread erez
hi how do i set a font for GtkText or GtkEntry ? thanks erez. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] GDK_2BUTTON_PRESS event type definition

2003-01-05 Thread Florin Iucha
Hello, I have a question about event definitions: I am trying to capture the double click event but I cannot find the symbolic name for it. I am using Debian and the unstable package python2.2-gnome2-1.99.13-3 . I have searched the web and mailing list archives. In old postings there is a

Re: [pygtk] GDK_2BUTTON_PRESS event type definition

2003-01-05 Thread Johan Dahlin
There is a reference to GDK_2BUTTON_PRESS in /usr/share/pygtk/2.0/defs/gdk-types.defs but I am at a total loss on how to use this in my python program. What can I do? I can slap a '5' in there but it is gross... try: from gtk import gdk and later on use gdk.2BUTTON_PRESS defined

Re: [pygtk] changing font

2003-01-05 Thread Johan Dahlin
how do i set a font for GtkText or GtkEntry ? Check out the faq section 4.1 It's about a GtkLabel but should apply cleanly to all GtkWidgets -- Johan Dahlin [EMAIL PROTECTED] Async Open Source ___ pygtk mailing list [EMAIL PROTECTED]

[pygtk] Re: GDK_2BUTTON_PRESS event type definition

2003-01-05 Thread James Henstridge
Florin Iucha wrote: Hello, I have a question about event definitions: I am trying to capture the double click event but I cannot find the symbolic name for it. I am using Debian and the unstable package python2.2-gnome2-1.99.13-3 . I have searched the web and mailing list archives. In old

[pygtk] Re: GDK_2BUTTON_PRESS event type definition

2003-01-05 Thread Florin Iucha
On Sun, Jan 05, 2003 at 10:15:40PM +0800, James Henstridge wrote: I have a question about event definitions: I am trying to capture the double click event but I cannot find the symbolic name for it. I am using Debian and the unstable package python2.2-gnome2-1.99.13-3 . I have searched the

Re: [pygtk] Python does not find PyGtk

2003-01-05 Thread James Henstridge
Martijn Brouwer wrote: I have two versions of python installed (2.1 and 2.2) on a linux system running debian testing. For 2.1 I have PyGtk installed using the packages from the distribution, which works fine. Now I want to write a program myself using PyGtk and Gnome-Python version 1.99.13.

Re: [pygtk] Python does not find PyGtk

2003-01-05 Thread James Henstridge
Martijn Brouwer wrote: That was what I understood from the faq too, however it seems that 1.99 requires importation of pygtk before gtk even when only one version of pygtk is installed. I have python 2.2 with gnome-python 1.99.13. On my system (debian testing) gnome-python 1.4 based on pygtk