gtk_window_set_geometry_hints(), compiler returns "conversion from `int' to `enum GdkWindowHints'"



Hi all,

I couldn't find anything about this on the archive, does anyone use
tk_window_set_geometry_hints() and have come across the following?

If setting more than one hint at a time, the suggested method in the
documentation is:

gtk_window_set_geometry_hints(GTK_WINDOW (window), GTK_WIDGET (NULL), &hints,
GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE | GDK_HINT_BASE_SIZE);

This doesn't work, since geom_mask is defined as a 'GdkWindowHints' rather than
an int.

I want to set the top window at the size of the screen, and prevent later
resizing. Is there another way? Using the function gtk_window_fullscreen()
would allow later "unfullscreen", for instance.

Regards,
Guilhem.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]