Home

Reserved button event number
Closed, ArchivedPublic

Description

Resolution: Fixed
Category: Python

Blender.Draw.Menu passes its button event 4 to the script.

Redo:

import Blender

def event(evt, val):
if evt == Blender.Draw.ESCKEY:
Blender.Draw.Exit()
return

def button(evt):
print evt
return

def gui():
Blender.Draw.Menu("bug", 8, 10, 10, 100, 20, 0)
return

Blender.Draw.Register(gui, event, button)
reimpell (Michael Reimpell) set Type to Bug.Via Old WorldFeb 24 2004, 12:43 PM
ianwill (Willian Padovani Germano) closed this task as "Archived".Via Old WorldJun 12 2004, 8:08 AM
None (Nobody) added a comment.Via Old WorldFeb 24 2004, 12:43 PM

This task was automatically closed as archived as part of migration, because the project or tracker this task belonged to is no longer active.

Add Comment