On Fri, Jan 08, 2010 at 05:59:27PM -0500, dhk wrote:
When changing from one tab to another in a GtkNotebook I often need to
know the tab that was selected. It seems the switch-page signal just
tells the current page and there are functions that tell the current
page and will navigate through
David Nečas wrote:
On Fri, Jan 08, 2010 at 05:59:27PM -0500, dhk wrote:
When changing from one tab to another in a GtkNotebook I often need to
know the tab that was selected. It seems the switch-page signal just
tells the current page and there are functions that tell the current
page and
dhk wrote:
David Nečas wrote:
On Fri, Jan 08, 2010 at 05:59:27PM -0500, dhk wrote:
When changing from one tab to another in a GtkNotebook I often need to
know the tab that was selected. It seems the switch-page signal just
tells the current page and there are functions that tell the current
This is a typical callback for the switch-page signal:
void my_callback (GtkNotebook *notebook,
GtkNotebookPage *notebook_page, int page, void *data)
{
GtkWidget* vbox_page;
vbox_page = gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), page);
1) page is the number (0 = first page, etc.) of
When changing from one tab to another in a GtkNotebook I often need to
know the tab that was selected. It seems the switch-page signal just
tells the current page and there are functions that tell the current
page and will navigate through the page, but I don't see anything that
will tell tell