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 » Community » U++ community news and announcements » GTK backend
GTK backend [message #38651] Tue, 01 January 2013 11:53 Go to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
I have just commited "initial release" of GTK backend for U++.

What exactly it means: Instead of using X11 directly, this new code goes through GTK to reach X11. The reasons for this work:

- it was a nice training before getting involved with MacOS X Smile

- GTK encapsulates some atrocities of X11 (well, it replaces them with problems of its own, but still). GTK is now de-facto Linux standard, so we can expect it to run well on all distros.

- GTK itself supports some other platforms, so in theory it should be able to use U++ there too. Of special importance here is Wayland....

- It will be principally possible to use some of GTK+ dialogs (file selector!) in U++ apps, perhaps even some widgets once DHCtrl is implemented.

NOTE that this does not mean that U++ is now GTK based. We are only using single widget class from GTK: GtkWindow and implement all U++ widgets in CtrlLib...

Current stage is complete enough to run TheIDE and most of other U++ code, missing is DHCtrl, OpenGL support and TrayIcon.

X11 backend is still default; you can activate GTK backend by adding "GTK" to main flags. It is also possible to setup U++ build method to have this as default: Create guiplatform.h file somewhere, put "#define flagGTK" into it and the path to it to the include pathes in Build Methods.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Qtf->Pdf simplified
Next Topic: Happy New Year 2013
Goto Forum:
  


Current Time: Thu May 16 03:06:14 CEST 2024

Total time taken to generate the page: 0.01550 seconds