On Mon, 2005-08-08 at 22:19 +0400, Eugene Morozov wrote:
> Gustavo J. A. M. Carneiro wrote:
> 
> > On Sun, 2005-08-07 at 23:03 +0400, Eugene Morozov wrote:
> >> Hello!
> >> I'm trying to create custom widgets in PyGTK in order to create skinnable
> >> application. Unfortunately, I was unable to find any example of widget in
> >> PyGTK.
> > 
> >
> http://cvs.gnome.org/viewcvs/gnome-python/pygtk/examples/gtk/widget.py?view=markup
> 
> That's easy. I'm interested in complex widgets, containers, like gtk.Button.
> Is it possible to create gtk.Button analog in PyGTK? I've tried and failed
> using GTK+ C source as a reference. It just didn't react to mouse buttons
> despite that I redefined signal handlers.

  Look up the documentation for gtk.Widget.set_events; you should use it
to declare you're interested in mouse events.

> Eugene
> 
> _______________________________________________
> 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]>
The universe is always one step beyond logic

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to