No, there's not a really meaningful way for soegtk
and regular gtk
to interact. The reason is that soegtk
keeps all its data types abstract; this is good practice from a "makes it easy for the implementor to change the implementation without changing the interface" point of view but it can be a bit limiting from a "I'm just a user that wants to munge things in ways the interface don't promise to allow" point of view.
You could:
- make a copy of the text of the single module in the
soegtk
package, and adjust the export line to export more things and happily break any abstraction boundaries you dislike - interact non-meaningfully; e.g. have your
gtk
button open ansoegtk
window with the graphics of interest - learn a different drawing library, say,
cairo
ordiagrams