Esempio n. 1
0
 def mtext_refreshed(self, callback):
     """
     Subscribe a callback for mtext refresh events.
     """
     register_callback(self._mtext_refreshed_callbacks, callback)
Esempio n. 2
0
 def position_changed(self, callback):
     """
     Subscribe a callback for cursor position changed events.
     """
     register_callback(self._position_changed_callbacks, callback)
Esempio n. 3
0
 def maturity_changed(self, callback):
     """
     Subscribe a callback for maturity changed events.
     """
     register_callback(self._maturity_changed_callbacks, callback)