Re: [Setup-tool-hackers] pixbuf signals
- From: Carlos Garnacho <garparr teleline es>
- To: arturo ximian com
- Cc: "setup-tool-hackers ximian com" <setup-tool-hackers ximian com>
- Subject: Re: [Setup-tool-hackers] pixbuf signals
- Date: 10 May 2002 02:52:47 +0200
El jue, 09-05-2002 a las 17:58, Arturo Espinosa Aldama escribió:
>
> The ECell, which is parent of ECellPixbuf has an "event" signal. You can
> bind to that and get a GdKEvent on the callback. Then check if the
> event.type is GDK_BUTTON_RELEASE, and if so, cast to a GdkEventButton
> (GdkEvents are a union of several GdkEvent* types; check gdkevent.h) and
> see if that's button 1. That should be enough.
>
I was working with gtk-2.0, but thanks for answering me this question
for gtk-1.2, I'm sure that this information will be useful when I apply
these changes to xst for gnome 1.4 :-)
Thanks
_______________________________________________
setup-tool-hackers maillist - setup-tool-hackers@ximian.com
http://lists.ximian.com/mailman/listinfo/setup-tool-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]