Ver Fonte

Added ability to make widget always drawn on top

Mark Mine há 22 anos atrás
pai
commit
54ca7ac70e
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      direct/src/tkpanels/DirectSessionPanel.py

+ 5 - 0
direct/src/tkpanels/DirectSessionPanel.py

@@ -122,6 +122,11 @@ class DirectSessionPanel(AppShell):
                                  variable = self.directWidgetOnTop,
                                  command = self.toggleWidgetOnTop)
 
+        self.menuBar.addmenuitem('DIRECT', 'command',
+                                 'Deselect All',
+                                 label = 'Deselect All',
+                                 command = direct.deselectAll)
+
         # Get a handle to the menu frame
         menuFrame = self.menuFrame