Re: Signal handler.
- From: Keith Sharp <kms passback co uk>
- To: "Nils O. Selaasdal" <noselasd frisurf no>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Signal handler.
- Date: Wed, 31 Dec 2003 12:42:07 +0000
On Wed, 2003-12-31 at 12:02, Nils O. Selaasdal wrote:
Just a Q, if one destroys the treeview, won't it automatically
disconnect the signal handlers someone registred on it ?
I think so, I guess you could do something like:
GtkTreeModel *model = gtk_tree_view_get_model (treeview);
gtk_widget_destroy (treeview);
treeview = gtk_tree_view_new_with_model (model)
g_signal_connect (G_OBJECT(treeview), "row-activated", my_cb_func,
data);
etc etc...
Keith.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]