gtk_window_fullscreen problem

Posted by sterh on Stack Overflow See other posts from Stack Overflow or by sterh
Published on 2010-06-14T05:02:37Z Indexed on 2010/06/14 5:12 UTC
Read the original article Hit count: 247

Filed under:
|

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 

What's wrong?

Thank you

© Stack Overflow or respective owner

Related posts about fullscreen

Related posts about gtk+