|
|
Subscribe / Log in / New account

Clasen: Introducing GtkInspector

Clasen: Introducing GtkInspector

Posted May 20, 2014 18:43 UTC (Tue) by mjg59 (subscriber, #23239)
In reply to: Clasen: Introducing GtkInspector by HelloWorld
Parent article: Clasen: Introducing GtkInspector

I can't cut and paste python into my C code either. We seem to cope.


to post comments

Clasen: Introducing GtkInspector

Posted May 20, 2014 19:05 UTC (Tue) by HelloWorld (guest, #56129) [Link] (2 responses)

We can call C from Python and vice versa. How do I embed a GTK widget in a Qt application?

Clasen: Introducing GtkInspector

Posted May 20, 2014 19:13 UTC (Tue) by mathstuf (subscriber, #69389) [Link] (1 responses)

Conceptually: in Qt, implement a GtkDrawable with a QPainter to draw on and in GTK, implement a QPainter with a GtkDrawable in it and add Qt widgets to the QPainter. Or something like that. Size hint and event translation is likely going to be the killer though.

Clasen: Introducing GtkInspector

Posted May 20, 2014 20:08 UTC (Tue) by HelloWorld (guest, #56129) [Link]

Has anybody ever actually done this and used it productively? Is it documented?


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds