Update of /cvsroot/htoolkit/port/src/cbits/GTK
In directory sc8-pr-cvs1:/tmp/cvs-serv3025/port/src/cbits/GTK
Modified Files:
Notebook.c ToolBar.c
Log Message:
Implementation for Countable type class
Index: Notebook.c
===================================================================
RCS file: /cvsroot/htoolkit/port/src/cbits/GTK/Notebook.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Notebook.c 31 Aug 2003 08:09:00 -0000 1.2
--- Notebook.c 31 Aug 2003 12:56:26 -0000 1.3
***************
*** 183,184 ****
--- 183,189 ----
}
}
+
+ int osGetNotebookPageCount(WindowHandle notebook)
+ {
+ return gtk_notebook_get_n_pages(GTK_NOTEBOOK(notebook));
+ }
Index: ToolBar.c
===================================================================
RCS file: /cvsroot/htoolkit/port/src/cbits/GTK/ToolBar.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ToolBar.c 26 Aug 2003 20:53:14 -0000 1.9
--- ToolBar.c 31 Aug 2003 12:56:26 -0000 1.10
***************
*** 40,43 ****
--- 40,48 ----
}
+ int osGetToolBarButtonCount(WindowHandle toolbar)
+ {
+ return gtk_toolbar_get_n_items(GTK_TOOLBAR(toolbar));
+ }
+
void tool_button_clicked(GtkWidget *widget, gpointer user_data)
{
|