[pygtk] change focus between gtkEntry n a toolbar

2010-03-18 Thread Alexandre González
Hi! I have two gtkEntrys in a toolbar and I need to change the focus between them. If I push the TAB key I lost the focus in the toolbar, and I like to change between all the icons and gtkEntry in the toolbar. I need something as the Firefox toolbar, when I push TAB key in the url entry, it must

[pygtk] Embeded explorer

2010-02-26 Thread Alexandre González
Hi! I need a very simple explorer view in my app, I've reading something about http://www.mozilla.org/unix/gtk-embedding.html but wath's your recommendation? Perhaps some epiphany embeded (compatibility, and less resources needed). Bye thanks, Álex González -- Please, don't send me files with

[pygtk] Applet that don' load in gnome-panel but it do in window mode

2010-01-28 Thread Alexandre González
Hi! I've develop a applet that works perfectly when I run it with run-in-window mode, but when I try to load via bonobo server in a ubuntu 9.10 I can't... is this some bug or something? You can get the code with: svn co https://mocp-applet.svn.sourceforge.net/svnroot/mocp-appletmocp-applet

[pygtk] Quickly open and colse a windows due to a .hide() at start

2009-09-03 Thread Alexandre González
Hi guys! I have an application that has two windows in the .glade: a main window and a help window. When I run the application, the two windows are showed, so I .hide() the help window... well.. here is the problem. Is It a good way to do it? In Ubuntu with gnome, (rox+xfce)... no problem! But

Re: [pygtk] Quickly open and colse a windows due to a .hide() at start

2009-09-03 Thread Alexandre González
2009/9/3 Timo timomli...@gmail.com Alexandre González schreef: Hi guys! I have an application that has two windows in the .glade: a main window and a help window. When I run the application, the two windows are showed, so I .hide() the help window... well.. here is the problem

[pygtk] opengl and gtk: no close the main window to show the opengl window

2009-07-10 Thread Alexandre González
Hello! I'm doing a GTK and OpenGL program with python, pygtk and pyglet. My problem is that when I like to show the OpenGL window: pyglet.window.Window() I must close the pygtk window. Can I integrate the GTK and GL windows without close one and open the other? Regards, Álex González --

Re: [pygtk] A timer to refresh my app controls?

2009-06-06 Thread Alexandre González
2009/6/6 Alexandre González a...@rianxosencabos.com Hi! I like to know the best way to refresh my buttons... I go to explain. I'm developing a frontend, so I depend that the backend change some values, so after a little time I need to read some propertys from the backend and setup my frontend

Re: [pygtk] Adding menu items at runtime

2009-06-05 Thread Alexandre González
Hi! I'm newbie in python and Gtk programming, but I thinks that this can solver you problem. I have a Class Widgets that load (with GtkBuilder) my glade file, and in this class I have a method __getitem__ that return self.builde.get_object(key) so if you use this mehod, you cand work with the Gtk

[pygtk] A timer to refresh my app controls?

2009-06-05 Thread Alexandre González
Hi! I like to know the best way to refresh my buttons... I go to explain. I'm developing a frontend, so I depend that the backend change some values, so after a little time I need to read some propertys from the backend and setup my frontend button. What's the best way to do it and don't use a

Re: [pygtk] How can I modify widgets from a forked process?

2009-05-30 Thread Alexandre González
Do you like to use fork()? Perhaps you must use threads, because the threads shared the variables, but with fork you must use shared memory or something similar to access to same widgets. I'm saying this because C programming, but I don't know how is implemented the forks and thread threatment at

[pygtk] Problem communicating two class

2009-05-29 Thread Alexandre González
Hi! Perhaps this could be a stupid question, but I'm trying to do it and I can't. I did a skeleton of a pygtk application to learn about use it, but i have a problem... I create a parent class [1] to procedure the events (it create the events connections with instrospection and it works very well

Re: [pygtk] Problem communicating two class

2009-05-29 Thread Alexandre González
: global name 'self' is not defined I'm new at class programming in python, os perhaps be a stupid question as I said before. Thanks again Guillaume 2009/5/29 Guillaume Bouchard guillaume.bouch...@insa-lyon.fr Hello, On Fri, May 29, 2009 at 05:23:50PM +0200, Alexandre González wrote: Hi! Perhaps