Re: events from signals
- From: Havoc Pennington <hp redhat com>
- To: Ben Dougherty <benjamind miles33 co uk>
- Cc: gtk-devel-list gnome org
- Subject: Re: events from signals
- Date: 22 Feb 2001 10:16:37 -0500
Ben Dougherty <benjamind miles33 co uk> writes:
>
> I expect this is a silly question and I have missed something, but I
> carn't figure out how to get an event once in an emission function.
This is really a gtk-list or gtk-app-devel-list question, this list is
for development of GTK itself.
> Here is the emission funtion:
>
> gboolean sd_gtk_container_mouse_press_hook(GtkObject *object,
> guint signal_id,
> guint n_params,
> GtkArg *params,
> gpointer data)
The args to the signal are passed in as the GtkArg *params array -
look at the signal marshallers in gtksignal.c to see how that works.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]