Am Freitag, 21. September 2001 10:12 schrieben Sie:
> I would like to handle mouse clicks (button1 and button2) on widgets
> such as pixmaps and progressbars how is this possible?
> thanx,
> M.
Hope this helps .... in myfunc you could check wich button was pressed
-------------------- 
eventb=gtk_event_box_new ();
  gtk_signal_connect (GTK_OBJECT (eventb), 
"button_press_event",GTK_SIGNAL_FUNC (myfunction), NULL);
...
define pixmap here ...
...
gtk_container_add (GTK_CONTAINER (eventb), pixmap);
----------------------
-- 
ICQ: 52910964
[EMAIL PROTECTED]
[EMAIL PROTECTED]

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to