From 130215ba7365f8f9437751efcf509594637b5961 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 14 May 2004 21:25:25 +0000 Subject: [PATCH] formatting --- direct/src/gui/DirectGuiBase.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/direct/src/gui/DirectGuiBase.py b/direct/src/gui/DirectGuiBase.py index 7d4fd669a9..0360f33eb3 100644 --- a/direct/src/gui/DirectGuiBase.py +++ b/direct/src/gui/DirectGuiBase.py @@ -265,14 +265,12 @@ class DirectGuiBase(PandaObject.PandaObject): def isinitoption(self, option): """ - isinitoption(option) Is this opition one that can only be specified at construction? """ return self._optionInfo[option][_OPT_FUNCTION] is INITOPT def options(self): """ - options() Print out a list of available widget options. Does not include subcomponent options. """ @@ -432,7 +430,6 @@ class DirectGuiBase(PandaObject.PandaObject): def cget(self, option): """ - cget(option) Get current configuration setting for this option """ # Return the value of an option, for example myWidget['font']. @@ -716,7 +713,7 @@ class DirectGuiWidget(DirectGuiBase, NodePath): # Attach button to parent and make that self if (parent == None): parent = aspect2d - self.assign(parent.attachNewNode( self.guiItem, self['sortOrder'] ) ) + self.assign(parent.attachNewNode(self.guiItem, self['sortOrder'])) # Update pose to initial values if self['pos']: pos = self['pos']