MCPcopy Create free account
hub / github.com/cztomczak/cefpython / get_window_handle

Method get_window_handle

examples/gtk2.py:119–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117 self.browser.SetClientHandler(LoadHandler())
118
119 def get_window_handle(self):
120 if WINDOWS:
121 return self.main_window.window.handle
122 elif LINUX:
123 return self.main_window.window.xid
124 elif MAC:
125 return self.main_window.window.nsview
126
127 def create_menu(self):
128 item1 = gtk.MenuItem('MenuBar')

Callers 2

embed_browserMethod · 0.95
on_vbox_size_allocateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected