Re: Notebooks
- From: Rogerio Villela de L.Bastos <rogbas terra com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: Notebooks
- Date: Thu, 17 Jan 2002 21:49:52 -0100
On Thu, 17 Jan 2002 18:32:51 -0500
Marco Quezada <mquezada nlxcorp com> wrote:
Quick questions:
Anyone know what signal is emitted when a tab is clicked on a notebook?
And how do you know what tab (page) was clicked?
1)The "switch-page" signal
2)The prototype to the callback of "switch-page" is:
void callback (GtkNotebook *notebook,
GtkNotebookPage *page,
gint page_num,
gpointer data);
so you can access the page or page number directly.
Regards.
--
=======================================================================
"There is no sadder sight than a young | rogbas at terra dot com dot br
pessimist, except an old optimist." | Registered Linux User #109537
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]