GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GTKWindowForms first release soon...[Update Demo inside]

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Wolfmanfx



Joined: 19 Feb 2007
Posts: 4

PostPosted: Mon Feb 19, 2007 1:57 pm    Post subject: GTKWindowForms first release soon...[Update Demo inside] Reply with quote

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.

Documentation:
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:
http://stud3.tuwien.ac.at/~e0126198/wmNew.JPG
http://stud3.tuwien.ac.at/~e0126198/windowmanager_linux.png
http://stud3.tuwien.ac.at/~e0126198/windowmanagerDemo.png

Release:
Soon on sf.net under LGPL.

best regards Murat Sari


Last edited by Wolfmanfx on Mon Feb 19, 2007 3:39 pm; edited 1 time in total
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 386
Location: Fairfax, Virginia

PostPosted: Mon Feb 19, 2007 3:05 pm    Post subject: Reply with quote

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.
Back to top
Wolfmanfx



Joined: 19 Feb 2007
Posts: 4

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

Hi,
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.
Back to top
Wolfmanfx



Joined: 19 Feb 2007
Posts: 4

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

So have uploaded a Win32 Demo app compiled with VS8 so also include vcredist.exe if someone has problems executing.

http://www.team-bytestorm.com/GtkWindowForms_Demo_VC8.rar

If required i will release a binary for linux but the source release is really soon.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP