fullscreen and back ***
#include gtk/gtk.h
#include gdk/gdkkeysyms.h
int x, y, w, h;
int press_event (GtkWidget *widget, GdkEventKey *event, GtkWidget *window)
{
static int fullscreen = FALSE;
switch (event-keyval)
{
case GDK_Escape:
if (fullscreen == FALSE)
{
gtk_window_get_position
,
but does not come back... :-(
What is the best way to handle this?
going fullscreen is a very useful feature
in many scientific/engineering apps.
Many thanks,
Carlos
*** working code: going fullscreen and back ***
#include gtk/gtk.h
#include gdk/gdkkeysyms.h
int x, y, w, h
Jim George, Kevin DeKorte wrote:
Why not use gtk_window_fullscreen? I've only tried it on a Gnome desktop, it
works well.
Why don't you just use
gtk_window_fullscreen / gtk_window_unfullscreen?
Jim, Kevin, Thanks!
It works fantastically well, I just tried it on GNOME, XFCE, KDE,