GTK2: gpointer data missing in GtkTree event functions?
- From: Fabio Rotondo <mlists rotondo it>
- To: gtk-devel <gtk-app-devel-list gnome org>
- Subject: GTK2: gpointer data missing in GtkTree event functions?
- Date: Sun, 24 Feb 2002 15:34:35 +0100
Hi,
maybe I am dumb, but I don't know how to retrieve the info field from a
GtkTreeView.
When I connect the "row-activated" callback, I am doing the following:
g_signal_connect ( G_OBJECT ( cldata->view ), "row-activated",
G_CALLBACK ( event_activated ), dc );
but the function prototype is this:
event_activated ( GtkTreeView * tv, GtkTreePath * tp, GtkTreeViewColumn
* col );
where is my info "dc" var gone?
--
Ciao,
Fabio
----------------------------------------------------------
NOLUG: http://www.rotondo.it/nolug/
Advanced Foundation Classes: http://afc.sf.net
Reqtools - The Requester Library: http://reqtools.sf.net
MAME Visual Guide: http://www.rotondo.it/~fabio/mamevg/
----------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]