[go: up one dir, main page]

Menu

[dfe9bc]: / dbr / event.py  Maximize  Restore  History

Download this file

30 lines (22 with data), 960 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ******************************************************
# * Copyright © 2016-2023 - Jordan Irwin (AntumDeluge) *
# ******************************************************
# * This software is licensed under the MIT license. *
# * See: LICENSE.txt for details. *
# ******************************************************
## @module dbr.event
#
# Custom event types & binders
from wx.lib.newevent import NewCommandEvent
## Event to post when ui.wizard.Wizard.ShowPage is called
ChangePageEvent = NewCommandEvent()
EVT_CHANGE_PAGE = ChangePageEvent[1]
ChangePageEvent = ChangePageEvent[0]
## Event to post when dbr.timer.DebreateTimer.Stop is called
TimerStopEvent = NewCommandEvent()
EVT_TIMER_STOP = TimerStopEvent[1]
TimerStopEvent = TimerStopEvent[0]
## Event to post when ui.logwindow.LogWindow.PollLogFile is called
RefreshLogEvent = NewCommandEvent()
EVT_REFRESH_LOG = RefreshLogEvent[1]
RefreshLogEvent = RefreshLogEvent[0]