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
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
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
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
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
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
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
___
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
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
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
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
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
12 matches
Mail list logo