On Sun, 10 Dec 2000, Paul Barton-Davis wrote:

> is there a reason why this approach will not work ?
>
> void all_done ()
> {
>       ... wrap up ...
> }
>
> gint ok_clicked_handler (GtkWidget *w, GdkEventButton *ev)
> {
>       all_done ();
>         return TRUE;
> }
>
> gint button_press_handler (GtkWidget *w, GdkEventButton *ev)
>
> {
>       if (ev->type == GDK_EVENT_2BUTTON_PRESS) {
>             all_done ();
>             return TRUE;
>         }
>
>         ... normal mouse button handling ...
> }

Yes, that's what I have to do.  It's just a little complicated
in context, but I'll get it eventually.  Thanks to you and Havoc
for the help.

Allin Cottrell.


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

Reply via email to