Replies: 1 comment
-
I'm not sure exactly what you're proposing here. If you're proposing a mechanism for using If you're proposing a mechanism for injecting a Glade layout into a Toga layout: I can see how that might work (and be relatively straightforward) - but it's also going to be a problem for Toga more generally, because Toga supports a lot of GUI frameworks that aren't GTK. At best, it would be a solution for the "I need to use this GTK widget in the GTK version of my Toga app". That said - clearly documenting how to drop to the native layer and inject a block of raw GTK content into a toga-gtk app could be a useful contribution. However, I suspect this will be mostly a documentation issue (with a similar documentation need for every other backend), rather than something that requires specific helpers. There might be a need for a "NativeAdapter" widget (or something like that) that exposes a native container and simplifies the process of hosting native content - but I'm not necessarily convinced that would even be required. |
Beta Was this translation helpful? Give feedback.
-
I am thinking, it might be a good idea, if there is a translator for GTK objects into Toga objects.
The idea of designing the layout, see this enchantment idea, might be easier if this is possible.
I ask for advice, if it is not possible, how i should implement it.
It is gtk specific, so the toga-gtk seems to be the right choice, but i want to do something like:
I still have still no idea how this will look, but i think an important tool for something like this will be a class/object converter.
@freakboy3742 would you think something like a class converter is a good idea?
Beta Was this translation helpful? Give feedback.
All reactions