Changeset 913:55ffad57ee3e for src/mlx


Ignore:
Timestamp:
12/28/18 13:42:35 (6 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
version_0.39_maint
Phase:
public
Message:

A proper windowed widget is provided for CEF under Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/cef.py

    r805 r913  
    309309        container.connect("size-allocate", _handleSizeAllocate)
    310310    else:
    311         container = gtk.VBox(True, 0)
     311        container = gtk.DrawingArea()
    312312
    313313    container.show()
     
    327327            windowID = window.handle
    328328    else:
    329         m = re.search("GtkVBox at 0x(\w+)", str(container))
    330         hexID = m.group(1)
    331         windowID = int(hexID, 16)
     329        windowID = container.window.xid
    332330
    333331    windowInfo = cefpython.WindowInfo()
Note: See TracChangeset for help on using the changeset viewer.