Re: [pygtk] win32 port of pygtk
On Fri, 29 Nov 2002, Christian Reis wrote: Maybe Cédric can cook you up a version. Cédric, haven't heard from you in a while ;-) How can I get in touch with him? Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ 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] Xlib: unexpected async reply (sequence 0x140)??
Hi Guys. I have an Interface in pygtk and am in the process of conecting it to the undergoing layer. the problem comes when I start the Gui from the undergoing layer I get ht efollowing error: Xlib: unexpected async reply (sequence 0x140) aNy ideas on what could cause that?? In the Gui class I create a threading class to run the gtk.mainloop() ?Could that be the cause? Thanks in advance -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ 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] pygtk threading problem
Hi, I made an interface thats works ok while used stndalone, but I'm trying to connect it with the backend an I get the following error: Xlib: unexpected async reply This is is what I'm doing in both cases: Case 1: Only interface in the __init__ method of the Gui class I create a thread that un its run method goes over gtk.mainloop(). After that I setup my display and then call .show(). I almost forgaot in the _-init__ I'm reading a glade file. CAse 2: hole app Instead of only creating a Gui class, I do some other things then create the Gui class. Basiclly its the same, any ideas?? -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ 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] Detecting clicks on a Drawing Area
Hi, I drew some pixmaps on a Drawing Area and now I need to detect a click on them. Any ideas? -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James Pablo Endres Centro de Datos GSM: +584127347610 ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] Detecting clicks on a Drawing Area
On Wed, 23 Oct 2002, Christian Reis wrote: On Wed, Oct 23, 2002 at 08:30:46AM -0400, LDC - Pablo Endres Lozada wrote: Hi, I drew some pixmaps on a Drawing Area and now I need to detect a click on them. Any ideas? On Wed, Oct 23, 2002 at 08:30:46AM -0400, LDC - Pablo Endres Lozada wrote: Hi, I drew some pixmaps on a Drawing Area and now I need to detect a click on them. Any ideas? Use the button_press_event signal, I guess, if nothing higher-level is offered by the drawingarea. Ok here is how I'm doing the painting: self.pixmacOK, mask = gtk.create_pixmap_from_xpm(self.Main, self.style.bg[gtk.STATE_NORMAL], self.macOK) area.draw_pixmap(self.gc, self.pixmacOK, 0, 0, x1, y, self.pixmacOK.width, self.pixmacOK.height) How do I setup the event handler to a simple pixmap or even easyer how to a draw a gtk.Pixmap on the Drawing area? Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ 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] GtkWindow bring to front
Thanks for all your answers guys you've been really helpfull!! Here come the question. Is there a way to bring a window to front? And question two: supose you define two windows with libglade and save them in the same file. if I start the app like this self.widgets = libglade.GladeXML(Gui.glade, MainWindow) how do I acces Window2 to show it? I tryed self.widgets.get_widget(Window22) but it doesn't work. Thanks in advance -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ 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] Drawing in Drawing Area
I've tryed to draw in a Drawing Area but the only way that it works is suscribing the paint method to the expose-event. Is there anothere way to do this?? Can I paint at any time or must it be via signals? -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ 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] pygtk API
Where can I find a pygtk API? -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ 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] Splash Screen
Hi does anyone know how to make a splash screen using glade. I made a simple window and set a pixmap in the center. But now I don't know how to handle the timeout and to set the control to the main window. How do I send a and event to a widget? -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ 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] problems importing modules in python2.2
Hi I'm working on RedHat 7.3 and manually installed pygtk-0.6.9 and gnome-python-1.4.2 so I could use glade. I've tryed to make the tutorials work but when I import the modules I get the following error: Python 2.2 (#1, Apr 12 2002, 15:29:57) [GCC 2.96 2731 (Red Hat Linux 7.2 2.96-109)] on linux2 Type help, copyright, credits or license for more information. import gtk, gnome.ui Traceback (most recent call last): File stdin, line 1, in ? File /usr/lib/python2.2/site-packages/gnome/ui.py, line 16, in ? _obj2inst = _gtk._obj2inst AttributeError: 'module' object has no attribute '_obj2inst' import libglade Traceback (most recent call last): File stdin, line 1, in ? File /usr/lib/python2.2/site-packages/libglade.py, line 11, in ? class GladeXML(_gtk.GtkData): AttributeError: 'module' object has no attribute 'GtkData' Any Ideas?? -- Muchas personas creen que piensan, cuando en realidad sólo están reordenando sus prejuicios. - William James .-. / .-. Pablo Endres Lozada.-. \ | / \ Laboratorio Docente de Computacion / \ | | |\_. |USB - Venezuela |/| | |\| | /| |\ | |/| | `---' | [EMAIL PROTECTED] | `---' | | | | | | |-| | \ | | / \ / \ / `---' `---' ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/