def _setup_debug_options(self): if not self._options.debug: return from gi.repository import Gdk from stoqlib.gui.utils.introspection import introspect_slaves from stoqlib.gui.utils.keyboardhandler import install_global_keyhandler install_global_keyhandler(Gdk.KEY_F12, introspect_slaves)
def _setup_debug_options(self): if not self._options.debug: return from gtk import keysyms from stoqlib.gui.utils.introspection import introspect_slaves from stoqlib.gui.utils.keyboardhandler import install_global_keyhandler install_global_keyhandler(keysyms.F12, introspect_slaves)
def _setup_debug_options(self): if not self._options.debug: return from gtk import keysyms from stoqlib.gui.utils.introspection import introspect_slaves from stoqlib.gui.utils.keyboardhandler import install_global_keyhandler install_global_keyhandler(keysyms.F12, introspect_slaves)
def _setup_debug_options(self): if not self._options.debug: return from gi.repository import Gdk from stoqlib.gui.utils.introspection import introspect_slaves from stoqlib.gui.utils.keyboardhandler import install_global_keyhandler install_global_keyhandler(Gdk.KEY_F12, introspect_slaves)