A Qui, 2003-10-30 �s 18:30, Fernando San Martin W. escreveu:
> hello:
>
> i'm runnig this code:
>
> m = unicode(mensaje, 'latin-1')
>
> dialog = gtk.MessageDialog(window, gtk.DIALOG_MODAL |
> gtk.DIALOG_DESTROY_WITH_PARENT,gtk.MESSAGE_INFO, gtk.BUTTONS_OK,
> m.encode('utf-8'))
>
> dialog.run()
> dialog.destroy()
I tried running this code, except that I replaced 'window' for None,
since I don't have a parent window to test with. It ran without any
problems. Could be a problem with your pygtk installation, perhaps...
>
> the message dialog is displayed ok, but when i move the mouse my application
> crash and i get a core dumped from python, the tracebak displayed is this:
>
> (Gestor.py:2402): Gtk-WARNING **: ../../gtk/gtkwidget.c:2781: widget
> `GtkEntry' has no activatable signal "key_press_event" without arguments
>
> (Gestor.py:2402): Gtk-WARNING **: ../../gtk/gtkwidget.c:2781: widget
> `GtkEntry' has no activatable signal "key_press_event" without arguments
>
> (Gestor.py:2402): Gtk-WARNING **: ../../gtk/gtkwidget.c:2781: widget
> `GtkEntry' has no activatable signal "key_press_event" without arguments
>
> (Gestor.py:2402): Gtk-WARNING **: ../../gtk/gtkwidget.c:2781: widget
> `GtkEntry' has no activatable signal "key_press_event" without arguments
>
> (Gestor.py:2402): Gtk-WARNING **: ../../gtk/gtkwidget.c:2781: widget
> `GtkEntry' has no activatable signal "key_press_event" without arguments
>
> (Gestor.py:2402): Gtk-WARNING **: ../../gtk/gtkwidget.c:2781: widget
> `GtkEntry' has no activatable signal "key_press_event" without arguments
>
> (Gestor.py:2402): Gtk-WARNING **: GtkEntry - did not receive focus-out-event.
> If you
> connect a handler to this signal, it must return
> FALSE so the entry gets the event as well
>
> Gtk-ERROR **: file ../../gtk/gtkentry.c: line 4338 (blink_cb): assertion
> failed: (GTK_WIDGET_HAS_FOCUS (entry))
> aborting...
> >Exit code: 0 Signal:6
>
>
> any idea about this?
>
> i'm using
>
> pygtk2.0-devel-2.0.0-2mdk
> pygtk2.0-libglade-2.0.0-2mdk
> pygtk2.0-glarea-2.0.0-2mdk
> pygtk2.0-wrapper-2.0.0-2mdk
> pygtk2.0-2.0.0-2mdk
>
> gnome-python-nautilus-2.0.0-2mdk
> gnome-python-gnomevfs-2.0.0-2mdk
> gnome-python-gnomeprint-2.0.0-2mdk
> gnome-python-2.0.0-2mdk
> gnome-python-applet-2.0.0-2mdk
> gnome-python-gconf-2.0.0-2mdk
> gnome-python-bonobo-2.0.0-2mdk
> gnome-python-gtkhtml2-2.0.0-2mdk
> gnome-python-canvas-2.0.0-2mdk
>
> in mandrake cooker, 9.2 beta
>
>
> thanks in advance
>
> Fernando San Mart�n Woerner counter.li.org
> Jefe Departamento Inform�tica #216550
> Galilea S.A. Talca
> 2 Norte 965 - Fono/Fax: 56-71-224876 Chile
>
> "Soy due�o de las palabras que guardo, y prisionero de las que digo."
>
> _______________________________________________
> pygtk mailing list [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[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/