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

Method on_activate

examples/gtk3.py:106–112  ·  view source on GitHub ↗
(self, *_)

Source from the content-addressed store, hash-verified

104 self.setup_icon()
105
106 def on_activate(self, *_):
107 self.window.realize()
108 self.embed_browser()
109 self.window.show_all()
110 # Must set size of the window again after it was shown,
111 # otherwise browser occupies only part of the window area.
112 self.window.resize(*self.window.get_default_size())
113
114 def embed_browser(self):
115 window_info = cef.WindowInfo()

Callers

nothing calls this directly

Calls 1

embed_browserMethod · 0.95

Tested by

no test coverage detected