Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python_api/examples/bpy.types.WindowManager.popup_menu.py')
-rw-r--r--doc/python_api/examples/bpy.types.WindowManager.popup_menu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py b/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py
index 8d2e101be5f..e6329f677f7 100644
--- a/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py
+++ b/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py
@@ -10,4 +10,5 @@ import bpy
def draw(self, context):
self.layout.label("Hello World")
+
bpy.context.window_manager.popup_menu(draw, title="Greeting", icon='INFO')