Hello I have structure:
typedef struct _MainWin
{
GtkWindow parent;
GtkWidget* scroll;
GtkWidget* box;
}MainWin;
I created application main window from this structure. Now i need in main window full screen. When i try to call:
gtk_window_fullscree(GTK_WINDOW(mw);
Where mw is object of MainWin
i see: **gtk_window_fullscreen: assertion `GTK_IS_WINDOW (window)' fail**ed
How can i lead mw to GtkWindow ?
Thank you