Changeset 1083:a5f219c25f2a for src/mlx/gui/acars.py
- Timestamp:
- 03/15/23 19:01:30 (13 months ago)
- Branch:
- python3
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/acars.py
r996 r1083 27 27 super(ACARS, self).__init__() 28 28 self._gui = gui 29 self._browser = None 29 30 30 31 def start(self): … … 34 35 self.pack_start(container, True, True, 0) 35 36 36 cef.startInContainer(container, ACARS.URL) 37 self._browser = cef.startInContainer(container, ACARS.URL) 38 39 def stop(self): 40 """Close the browser.""" 41 if self._browser is not None: 42 self._browser.CloseBrowser(False) 43 self._browser = None
Note:
See TracChangeset
for help on using the changeset viewer.