MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / NoEscWindow

Class NoEscWindow

27_fltk/python/fltk_ex.py:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47class NoEscWindow(Fl_Window):
48 def __init__(self, xpos, ypos, width, height, label):
49 Fl_Window.__init__(self, xpos, ypos, width, height, label)
50
51 def handle(self, ev):
52 if ev == FL_SHORTCUT and Fl.event_key() == FL_Escape:
53 return 1
54 return Fl_Window.handle(self, ev)
55
56
57if __name__ == "__main__":

Callers 1

fltk_ex.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected