Skip to content

[FEATURE] provide access to callee in cmd event #48

@mrx23dot

Description

@mrx23dot

I define a simple command function
def ui_evt_save(event=None):
wire it in into a button,
but when it triggers the event parameter is still None,

I would need a way to get the caller instance (e.g. multiple buttons wired into one cmd handler)

def ui_evt_save(event=None):
   event.callee.setSomething()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions