Notebook -> signal when a tab is clicked
- From: Daniel Miralles García <namarie oasi upc es>
- To: gtk-app-devel-list gnome org
- Subject: Notebook -> signal when a tab is clicked
- Date: Wed, 18 Feb 2004 08:57:35 +0100 (CET)
Hi everyone!
I want to run a function each time a tab is clicked.
I've tried:
(Considering NTB : the widget "notebook", FUNC the "function")
gtk_signal_connect(GTK_OBJECT(ntb), "clicked", GTK_SIGNAL_FUNC
(func), NULL);
It just says (on GTK1.2):
Gtk-WARNING **: gtk_signal_connect(): could not find signal "clicked" in
the `GtkNotebook' class ancestry
I've also tried the event "switch-page" but then it just gets crazy and
begins jumping around from one tab to another... for instance, if you
click the tab 2 from the tab 0 it begins tab-2 tab-0 tab-2 tab-0 tab-2...
and so... :/
Any help please?
.-:Namarie:-.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]