Example #1
0
    def destroy(self):
        """
        Destroys the control.

        :return: None
        """
        libui.uiControlDestroy(self.pointer())
Example #2
0
def onClosing(window, data):
    print('On closing..')
    control = libui.uiControlPointer(window)
    libui.uiControlDestroy(control)
    libui.uiQuit()
    return 0
Example #3
0
def onClosing(window, data):
    print('On closing..')
    control = libui.uiControlPointer(window)
    libui.uiControlDestroy(control)
    libui.uiQuit()
    return 0