This is similar to the other existing functions and allows to access
GtkNotebook-specific style.
See #14098.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70999
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
WXDLLIMPEXP_CORE GtkWidget *GetHeaderButtonWidgetFirst();
WXDLLIMPEXP_CORE GtkWidget *GetHeaderButtonWidgetLast();
WXDLLIMPEXP_CORE GtkWidget *GetHeaderButtonWidget();
+WXDLLIMPEXP_CORE GtkWidget *GetNotebookWidget();
WXDLLIMPEXP_CORE GtkWidget *GetRadioButtonWidget();
WXDLLIMPEXP_CORE GtkWidget *GetSplitterWidget();
WXDLLIMPEXP_CORE GtkWidget *GetTextEntryWidget();
return s_button;
}
+GtkWidget *GetNotebookWidget()
+{
+ static GtkWidget *s_notebook = NULL;
+
+ if ( !s_notebook )
+ {
+ s_notebook = gtk_notebook_new();
+ gtk_container_add(GetContainer(), s_notebook);
+ gtk_widget_realize(s_notebook);
+ }
+
+ return s_notebook;
+}
+
GtkWidget *GetCheckButtonWidget()
{
static GtkWidget *s_button = NULL;