Re: [pygtk] PyGTK on Mac OS X

2006-04-07 Thread regis
Le vendredi 07 avril 2006 à 14:18 -0700, David M. Cook a écrit : > On Thu, Apr 06, 2006 at 04:13:13PM -0400, Pierre Thibault wrote: > > PyGTK is mostly used by Linux users, is it the case? > > I think it works fairly well on win32 as well. On OS X an X Windows System > (X11) server is required as

Re: [pygtk] Accessing the names of sub menu items

2006-04-07 Thread Nikos Kouremenos
I believe your explanation in what you want is a bit bad. if I understood correctly (had to read 2 times) you can do: for child in hello_menu.get_children() print child.get_text() # 'World', next loop 'Canadara', next 'USA', next 'Greece' etc On 4/7/06, Thierry Lam <[EMAIL PROTECTED]> wrote

Re: [pygtk] PyGTK on Mac OS X

2006-04-07 Thread Pierre Thibault
David M. Cook a écrit : On Thu, Apr 06, 2006 at 04:13:13PM -0400, Pierre Thibault wrote: PyGTK is mostly used by Linux users, is it the case? I think it works fairly well on win32 as well. On OS X an X Windows System (X11) server is required as gtk2 has not been ported. This is inclu

Re: [pygtk] Missing module pangocairo

2006-04-07 Thread Pierre Thibault
Jacob Kroon a écrit : I assume that your compiling pygtk yourself, and not using the packaging system for your distribution (which takes care of these things for you). I believe PyGTK autodetects if cairo library + cairo development files are installed on your system during configure, so make sur

[pygtk] authentication dialog via gnomevfs

2006-04-07 Thread Mystilleef
Hello, Some URIs require authentication from users before they can be accessed. I understand either GNOME-VFS or libgnomeui provides a callback or function to show an authentication dialog, if authentication is required. Can anyone show me how to show the authentication dialog via gnomevfs and use

Re: [pygtk] PyGTK on Mac OS X

2006-04-07 Thread David M. Cook
On Thu, Apr 06, 2006 at 04:13:13PM -0400, Pierre Thibault wrote: > PyGTK is mostly used by Linux users, is it the case? I think it works fairly well on win32 as well. On OS X an X Windows System (X11) server is required as gtk2 has not been ported. This is included on the OS X install disc, and

[pygtk] Accessing the names of sub menu items

2006-04-07 Thread Thierry Lam
Let's say I have the following menu item(Hello) with it's list of sub menu items(World, Canada, USA). Hello -> World -> Canada -> USA Is there a way to access each of the Hello sub menu items through python codes with just the Hello Gtk.MenuItem only? Thanks Thierry ___

Re: [pygtk] GtkWarning: gdk_drawable_get_display

2006-04-07 Thread Danny Milosavljevic
Hi, Am Freitag, den 07.04.2006, 14:27 +0200 schrieb Sandro Dentella: > when emitting a 'key-press-event' I get this warnng: what does that > mean. How can I fix it? This is the code that generates the warning: > > entry = gtk.Entry() > event = gtk.gdk.Event(gtk.gdk.KEY_PRESS) > even

Re: [pygtk] Missing module pangocairo

2006-04-07 Thread Jacob Kroon
I assume that your compiling pygtk yourself, and not using the packaging system for your distribution (which takes care of these things for you). I believe PyGTK autodetects if cairo library + cairo development files are installed on your system during configure, so make sure you have those install

[pygtk] Missing module pangocairo

2006-04-07 Thread Pierre Thibault
Hello, I don't have the module pangocairo with my installation of pygtk. I have cairo but not pangocairo. How can I add this module? -- A+ Pierre ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK

Re: [pygtk] Using a CheckButton on an applet Menu

2006-04-07 Thread Adolfo González Blázquez
Ok, so adding the CheckButton to he menu was really easy... just needed to add type="toggle" to the .xml menu definitions. Something like this: Now, what I need is a way to get the events thrown by this menu entry, 'cause adding the callback to verbs list doesn't seem to work. In C, people use

[pygtk] GtkWarning: gdk_drawable_get_display

2006-04-07 Thread Sandro Dentella
when emitting a 'key-press-event' I get this warnng: what does that mean. How can I fix it? This is the code that generates the warning: entry = gtk.Entry() event = gtk.gdk.Event(gtk.gdk.KEY_PRESS) event.keyval = ord(".") entry.emit('key-press-event',event) entry2.py:11: GtkWarn