Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » GtkWidget inside U++
Re: GtkWidget inside U++ [message #26870 is a reply to message #26868] Fri, 04 June 2010 13:40 Go to previous messageGo to previous message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
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 Wink.

Andrei
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there an example/links how to use X11 DHCtrl?
Next Topic: howto best Ctrl Refresh handling w/ MT & very frequent refreshes
Goto Forum:
  


Current Time: Mon May 13 07:40:38 CEST 2024

Total time taken to generate the page: 0.01557 seconds