From 7340f72ae29bdd42082c1eec9bd38f8c3d801daf Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Mon, 3 Jun 2024 17:59:38 -0300 Subject: [PATCH] No more vmode --- src/pyxforms/__init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pyxforms/__init__.py b/src/pyxforms/__init__.py index 7f2b974..96a9acc 100644 --- a/src/pyxforms/__init__.py +++ b/src/pyxforms/__init__.py @@ -196,37 +196,37 @@ class Form: elif name == "maxy": return self.__maxy elif name == "vmode": - (vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr( + (active, dblbuffer, frozen, visible, border, other) = forms.get_attr( self.id ) return vmode elif name == "active": - (vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr( + (active, dblbuffer, frozen, visible, border, other) = forms.get_attr( self.id ) return active elif name == "dblbuffer": - (vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr( + (active, dblbuffer, frozen, visible, border, other) = forms.get_attr( self.id ) return dblbuffer elif name == "frozen": - (vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr( + (active, dblbuffer, frozen, visible, border, other) = forms.get_attr( self.id ) return frozen elif name == "visible": - (vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr( + (active, dblbuffer, frozen, visible, border, other) = forms.get_attr( self.id ) return visible elif name == "border": - (vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr( + (active, dblbuffer, frozen, visible, border, other) = forms.get_attr( self.id ) return border elif name == "other": - (vmode, active, dblbuffer, frozen, visible, border, other) = forms.get_attr( + (active, dblbuffer, frozen, visible, border, other) = forms.get_attr( self.id ) return other