[go: up one dir, main page]

File: engine.pyi

package info (click to toggle)
ibus-cangjie 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 540 kB
  • sloc: python: 2,125; xml: 210; sh: 35; makefile: 8
file content (23 lines) | stat: -rw-r--r-- 733 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from _typeshed import Incomplete
from gi.repository import IBus  # type: ignore

__all__ = ["EngineCangjie", "EngineQuick"]

class Engine(IBus.Engine):
    sounds: Incomplete
    lookuptable: Incomplete
    def __init__(self) -> None: ...
    def do_property_activate(self, prop_name, state) -> None: ...
    def do_focus_in(self) -> None: ...
    def do_focus_out(self) -> None: ...
    def do_process_key_event(self, keyval, keycode, state): ...
    def update_preedit_text(self) -> None: ...
    def update_auxiliary_text(self) -> None: ...
    def update_lookup_table(self) -> None: ...

class EngineCangjie(Engine):
    __gtype_name__: str

class EngineQuick(Engine):
    __gtype_name__: str
    def __init__(self) -> None: ...