 {#import Graphics.UI.Gtk.Types#}
 {#import Graphics.UI.Gtk.Signals#}
 {#import Graphics.UI.Gtk.Gdk.Enums#}    (Modifier(..))
+{#import Graphics.UI.Gtk.Gdk.Keys#}     (KeyVal)
 import Graphics.UI.Gtk.Gdk.EventM	(EventM, EAny, EKey, MouseButton, TimeStamp)
 import Control.Monad.Reader             ( runReaderT, ask )
 import Control.Monad.Trans              ( liftIO )

  {# call window_get_mnemonic_modifier #} 
    (toWindow self)

-- | Activates mnemonics and accelerators for this GtkWindow. 
-- This is normally called by the default 'keyPressEvent' handler for toplevel windows, 
-- however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window.
-- 

-- requests to unmaximize. But normally the window will end up unmaximized.
-- Just don't write code that crashes if not.
--
-- You can track maximization via the 'windowStateEvent' signal on
-- 'Widget'.
--
windowUnmaximize :: WindowClass self => self -> IO ()
