From 54ca7ac70e12fd30978bbc0ae6379a0964c77928 Mon Sep 17 00:00:00 2001 From: Mark Mine Date: Wed, 29 Oct 2003 04:50:43 +0000 Subject: [PATCH] Added ability to make widget always drawn on top --- direct/src/tkpanels/DirectSessionPanel.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/direct/src/tkpanels/DirectSessionPanel.py b/direct/src/tkpanels/DirectSessionPanel.py index a9560f7363..f11cafd2dd 100644 --- a/direct/src/tkpanels/DirectSessionPanel.py +++ b/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