コード例 #1
0
 def get_keyboard_config(self, props):
     keyboard_config = KeyboardConfig()
     keyboard_config.enabled = props.boolget("keyboard", True)
     keyboard_config.parse_options(props)
     keyboard_config.xkbmap_layout = props.strget("xkbmap_layout")
     keyboard_config.xkbmap_variant = props.strget("xkbmap_variant")
     keylog("get_keyboard_config(..)=%s", keyboard_config)
     return keyboard_config
コード例 #2
0
ファイル: x11_server_base.py プロジェクト: svn2github/Xpra
 def get_keyboard_config(self, props):
     keyboard_config = KeyboardConfig()
     keyboard_config.enabled = props.boolget("keyboard", True)
     keyboard_config.parse_options(props)
     keyboard_config.xkbmap_layout = props.strget("xkbmap_layout")
     keyboard_config.xkbmap_variant = props.strget("xkbmap_variant")
     keylog("get_keyboard_config(..)=%s", keyboard_config)
     return keyboard_config
コード例 #3
0
ファイル: x11_server_core.py プロジェクト: DiGuoZhiMeng/Xpra
 def get_keyboard_config(self, props=typedict()):
     from xpra.x11.server_keyboard_config import KeyboardConfig
     keyboard_config = KeyboardConfig()
     keyboard_config.enabled = props.boolget("keyboard", True)
     keyboard_config.parse_options(props)
     keyboard_config.xkbmap_layout = props.strget("xkbmap_layout")
     keyboard_config.xkbmap_variant = props.strget("xkbmap_variant")
     keyboard_config.xkbmap_options = props.strget("xkbmap_options")
     keylog("get_keyboard_config(..)=%s", keyboard_config)
     return keyboard_config