No No No.. That makes things too complicated. You should be able
to get those mouse-click events from placing an event_box widget
in or around your widget of choice..
See http://www.gtk.org/tutorial/ch-containerwidgets.html#SEC-EVENTBOX
-john
On Wed, Sep 26, 2001 at 10:10:33AM -0700, [EMAIL PROTECTED] wrote:
> > From: Marco Lettere <[EMAIL PROTECTED]>
> >
> > how can I obtain a widget which is able to respond to mouse-click events
> > even if it is not a gtk button.
> > I would like to create a progress bar which grows on a click of mouse
> > button 1 and shrinks on a click of mouse button 2.
> > is this possible with gtk/gdk? how?
> > thanx,
> > M.
>
> This should be possible. Basically, you need to write your own widget,
> probably derived from the existing progress bar widget, which handles
> button_press events.
>
> > ____ _____
> > | _ \ ___ ___ _ __| ____|
> > | | | |/ __/ _ \| '__| _|
> > | |_| | (_| (_) | | | |___
> > |____/ \___\___/|_| |_____|
>
> I think you've passed the warlord with this one.
>
> Ron Steinke
>
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list