I am building my first GTK application. I am writing my app in Mono C# using the GTK# bindings. However, I will be happy to receive the GTK+ explanation and figure out the GTK# implementation. The application consists of a single top level window that I wish to toggle fullscreen mode on and off in the same way that Chrome does with the F11 key. I can go to full screen mode easily by executing the GdkWindow.Fullscreen () method on the window object. But, I cannot figure out how to toggle back to 'Normal' mode.
1 Answers
4
votes
First of all, try calling Unfullscreen
method (the effect is WM dependent, though).
Note, that fullscreen state may be tracked via Widget.WindowStateEvent
event.