gtk_window_fullscreen problem
- From: Alexander Kuleshov <kuleshovmail gmail com>
- To: gtk-app-devel-list gnome org
- Subject: gtk_window_fullscreen problem
- Date: Mon, 14 Jun 2010 11:21:37 +0600
Hello,
I need in full screen window functional in my gtk+ application. I try
to use gtk_window_fullscreen(GtkWindow* Window):
I have function:
static void
full_screen(MainWin *mw)
{
gtk_window_fullscreen((GtkWindow*)mw);
}
When i try to call this function i see error:
Gtk-CRITICAL **: gtk_window_fullscreen: assertion `GTK_IS_WINDOW
(window)' failed
Where MainWin:
typedef struct _MainWin MainWin;
typedef struct _MainWin
{
GtkWindow parent;
GtkWidget* scroll;
GtkWidget* box;
GtkWidget *toolbar;
gboolean full_screen;
};
What's wrong?
Thank you
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]