Home » U++ Library support » U++ Widgets - General questions or Mixed problems » GtkWidget inside U++
Re: GtkWidget inside U++ [message #26874 is a reply to message #26870] |
Fri, 04 June 2010 16:30 |
|
andrei_natanael wrote on Fri, 04 June 2010 13:40 | Hi,
It is possible to mix U++ loop with gtk+ loop and have gtk+ widgets in U++ window. I didn't tried but once you init gtk (gtk_init(...)) you may create a widget, get and Window (XWindow) from U++ Window and wrap it to a GdkWindow and set it as widget parent and in U++ Ctrl::EventLoop0 in loop put a call to gtk_main_iteration_do(false) to process events from gtk+. I've didn't tried that so you're at risk of obtaining nothing, still it isn't that hard to try and don't have to write much code .
Andrei
|
Hi Andrei,
That sounds interesting. I'll give it a try and report later
Thank you,
Honza
|
|
|
Goto Forum:
Current Time: Mon May 13 17:09:09 CEST 2024
Total time taken to generate the page: 0.02168 seconds
|