# -*- coding: utf-8 -*-
from typing import Any, ContextManager, Optional, Union

def NewCommandEvent() -> tuple[type['Event'], 'PyEventBinder']:
    """ Generates a new (command_event, binder) tuple.

        Source: https://docs.wxpython.org/wx.lib.newevent.html
    """


def NewEvent() -> tuple[type['Event'], 'PyEventBinder']:
    """ Generates a new (event, binder) tuple.

        Source: https://docs.wxpython.org/wx.lib.newevent.html
    """


