[Gtk-sharp-list] QT user control in GTK# application
Galvesband
galvesband at gmail.com
Thu Sep 30 18:14:45 EDT 2010
2010/9/30 Michael Hutchinson <m.j.hutchinson at gmail.com>:
> On Mon, Sep 27, 2010 at 7:28 AM, celyo <celyo at mail.bg> wrote:
>>
>> Hi,
>>
>> Is there any way to add qt control (button or text field for example) in
>> GTK# application?
>>
>> I mean I have sample GTK# Application with one button only and I want when I
>> press this buttons to add QT text field and to add some text in it.
>>
>> Hint : I'm thinking about QT Visual Designer for Monodevelop ;)
>
> You could do it with XEmbed (i.e. like GTK's Plug/Socket), but that
> wouldn't be portable to Mac/Windows. However I'm sure there must be
> ways to hack something similar on those platforms.
Im really ignorant at these things and this may be plain impossible or
just stupid, but to me seems more plausible to build hidden qt
window/controls and using QGraphicsView and related stuff to capture
and show the result inside monodevelop. Also, in case this approach is
possible or makes sense, it will be platform-agnostic becouse it
relays just in qt funcionality.
Again, excuse me if this is just plain nonsense. Im talking about
things I dont know or understand at all. It just seems plausible given
the kind of things the plasma guys do (ie plasmoids in general and
akregator showing part of the desktop (tray icons) in a msgbox to hint
the user into the notify icon...).
More information about the Gtk-sharp-list
mailing list