Changeset 1091:190a836956c0 for src/mlx
- Timestamp:
- 04/19/23 18:47:14 (19 months ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/cef.py
r1084 r1091 204 204 def _initializeCEF(args, initializedCallback): 205 205 """Perform the actual initialization of CEF using the given arguments.""" 206 if os.name=="nt": 207 _initializeCEF1(args, initializedCallback) 208 else: 209 GObject.timeout_add(100, _initializeCEF1, args, initializedCallback) 210 211 #------------------------------------------------------------------------------ 212 213 def _initializeCEF1(args, initializedCallback): 214 """Perform the actual initialization of CEF using the given arguments.""" 206 215 print("Initializing CEF with args:", args) 207 216 … … 239 248 print("Initialized, executing callback...") 240 249 initializedCallback() 250 return False 241 251 242 252 #------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.