blob: 9087c119bf0028d44209a57e00394e11f8049f1a (
plain)
1
2
3
4
5
6
7
8
9
10
|
example demonstrating a simple user-defined callback
-----------------------------------------------------
callback.py defines as on_button_press() function which is connected to the widget tree as an event handler.
See the glade Signals tab for hal_button1 how it is referred to.
------------------------------------------
To run independently:
$ gladevcp -u simplecallback.py simplecallback.ui
|