Fixes #3665: add is_fullscreen() method to Window class
Signed-off-by: Diego Naula <dnaula1997@gmail.com>
This commit is contained in:
parent
f13a14a2b3
commit
ddd566c847
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user