GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sun Aug 28, 2016 2:02 pm

All times are UTC

Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: GTKWindowForms first release soon...[Update Demo inside]
PostPosted: Mon Feb 19, 2007 1:57 pm 

Joined: Mon Feb 19, 2007 1:54 pm
Posts: 4
GtkWindowForms is lib for View-Layouting through gtk+/c++.
My motivation was to write a system similar to wxAUI for gtk+ to make gtk+
more popular cause it lacks in this region.

Features: + Floating/docking Views
+ Define ur own Views(through Factory pattern)
+ Save/Load View Layouts(through adapter pattern)
+ Move Views freely around
+ Split behaviour like in adobe premier.
+ Written in c++

The lib is also tested under linux and works well.

Currently Status:
The lib is now almost stable, there are projects for MSVC7/8 and Automake files for it.

Future Work.
Port to gtkMM.
Make a version that is written in c only.

Currently well documented header files(doxygen way) but a tutorial will came.

I hope i can share this projected with other peoples to make gtk+ more attractive.

ScreenShots: ... _linux.png ... erDemo.png

Soon on under LGPL.

best regards Murat Sari

Last edited by Wolfmanfx on Mon Feb 19, 2007 3:39 pm, edited 1 time in total.

 Post subject:
PostPosted: Mon Feb 19, 2007 3:05 pm 
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
A few questions. First, is this widget derived from GtkWindow or GtkWidget itself? Also, why c++ instead of just pure C? You'd be more likely to get pulled into the main branch of GTK+ if it was pure C. Lastly, this is just a feature request. It would be cool to be able to drag a GtkNotebook tab, which would turn it into one of your docks and vice versa. That way, the user could organize the UI however he/she wants.

I like the looks of this lib! I'm looking forward to the release/ C port.

Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!

 Post subject:
PostPosted: Mon Feb 19, 2007 3:25 pm 

Joined: Mon Feb 19, 2007 1:54 pm
Posts: 4
Yep the lib is currently able to group the Container to notebooks and vica versa also u can make them floating on double click and move them around also u can have serveral layers...but i have to write a wiki with this :)
Why its c++/gtk+ it was a requested last year when i began to develop this but i have it on my todo list to port this to pure c and to gtkmm. So if u want todo this i will be happy :).

Iam using some widgets for that nothing dervied from a widget cause it was not needed but i have build a Node Structure:

Every ContainerWidget is inherited from WindowNode and every ContainerWidgetCollection(for notebooks) are inhertied from ContainerWidget and there are some SplitterWidgets(Use GtkPanel) there also inherited from WindowNode.
Why? because u need to have binary tree to handle widgets and to slap them around.

So a ContainerWidget has a Eventbox as rootwidget, with VBox inside in the first slot is drawing area for the header and the second slot is for ur widget.
I have tested the views with OpenGL, Ogre(DirectX/OpenGL) and it works great.

With the Source release i will release a class diagramm too.

 Post subject:
PostPosted: Mon Feb 19, 2007 3:37 pm 

Joined: Mon Feb 19, 2007 1:54 pm
Posts: 4
So have uploaded a Win32 Demo app compiled with VS8 so also include vcredist.exe if someone has problems executing. ... mo_VC8.rar

If required i will release a binary for linux but the source release is really soon.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group