Fixes #3665: add is_fullscreen() method to Window class

Signed-off-by: Diego Naula <dnaula1997@gmail.com>
This commit is contained in:
Diego Naula 2013-11-19 22:38:14 -06:00
parent f13a14a2b3
commit ddd566c847

View File

@ -145,6 +145,9 @@ class Window(Gtk.Window):
timestamp = GdkX11.x11_get_server_time(window) timestamp = GdkX11.x11_get_server_time(window)
window.focus(timestamp) window.focus(timestamp)
def is_fullscreen(self):
return self._is_fullscreen
def fullscreen(self): def fullscreen(self):
palettegroup.popdown_all() palettegroup.popdown_all()
if self._toolbar_box is not None: if self._toolbar_box is not None: