User: Password:
|
|
Subscribe / Log in / New account

Clasen: Introducing GtkInspector

Clasen: Introducing GtkInspector

Posted May 20, 2014 14:04 UTC (Tue) by HelloWorld (guest, #56129)
In reply to: Clasen: Introducing GtkInspector by rahulsundaram
Parent article: Clasen: Introducing GtkInspector

> Wishing that alternatives to your favorite toolkit just die doesn't seem to be the right mindset.
Having multiple GUI toolkits is actively harmful, and given that Qt beats the pants off GTK in almost every way, it's clearly GTK that needs to go away.


(Log in to post comments)

Clasen: Introducing GtkInspector

Posted May 20, 2014 14:51 UTC (Tue) by raven667 (subscriber, #5198) [Link]

That is hyperbolic, to the point of absurdity, as is often the case. There is no inherent harm in having some specialty toolkits if people want to work on them but that doesn't mean there shouldn't be a standard default toolkit that is relied upon as part of the basic API of any desktop, that all desktop environments should be able to consider native and not foreign even if the desktop compositor itself does its own thing.

Clasen: Introducing GtkInspector

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

> There is no inherent harm in having some specialty toolkits if people want to work on them
There is. Having two completely separate toolkits means I can't use custom widgets developed for GTK in my Qt application or vice versa. It means that many applications will look inconsistent on my desktop. It means that tools such as graphical GUI builders cannot be shared. And there are many, many more problems caused by this...

Clasen: Introducing GtkInspector

Posted May 20, 2014 16:26 UTC (Tue) by raven667 (subscriber, #5198) [Link]

I can't stick a whole banana in my ear either but I'm not claiming this failure is inherently harmful.

Clasen: Introducing GtkInspector

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

That comparison is so lame it needs a wheelchair.

Clasen: Introducing GtkInspector

Posted May 20, 2014 18:43 UTC (Tue) by mjg59 (subscriber, #23239) [Link]

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

Clasen: Introducing GtkInspector

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

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]

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 © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds