ソースを参照

Added ability to make widget always drawn on top

Mark Mine 22 年 前
コミット
54ca7ac70e
1 ファイル変更5 行追加0 行削除
  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