Added detachable windows

svn: r9586
This commit is contained in:
Doug Blank 2007-12-25 17:55:42 +00:00
parent 735f1da31d
commit 30ee5eeaf7

View File

@ -345,11 +345,14 @@ class GuiGadget:
column.set_child_packing(self.mainframe,self.expand,fill,padding,pack)
def change_state(self, obj):
if self.state == "maximized":
self.set_state("minimized")
if self.state == "windowed":
pass # don't change if windowed
else:
self.set_state("maximized")
if self.state == "maximized":
self.set_state("minimized")
else:
self.set_state("maximized")
def set_properties(self, obj):
if self.state == "windowed":
pass