fuxk
parent
69c15d3f57
commit
3baf778260
7
main.py
7
main.py
|
@ -83,6 +83,7 @@ class WebKitWindow(Gtk.Window):
|
|||
# self.webview.load_uri("https://benchmark.wkit.fun")
|
||||
|
||||
|
||||
im.connect('preedit-changed', self.on_preedit_changed)
|
||||
|
||||
|
||||
|
||||
|
@ -92,6 +93,12 @@ class WebKitWindow(Gtk.Window):
|
|||
self.add(self.webview)
|
||||
|
||||
|
||||
def on_preedit_changed(self, im):
|
||||
print(p)
|
||||
im.notify_focus_in()
|
||||
im.notify_cursor_area(100, 200, 0,0)
|
||||
|
||||
|
||||
|
||||
def resource_request_callback(self, req):
|
||||
|
||||
|
|
Reference in New Issue