On 11 Mar 2010, at 15:47, Dieter Verfaillie wrote:

> Quoting "Arjan Molenaar" <[email protected]>:
> 
>> Hi,
>> 
>> I checked both GDL and MonoDevelop.
>> 
>> The MonoDevelop version is definitely more luxe than the GDL one.
> 
> Yes, indeed. My only gripe with the MonoDevelop version is that you
> can dock to the top, left, bottom and right, but not the center.
> I've only seen a normal GtkNotebook used for the center document(s),
> put into a DockContainer. That's a shame, adding some sort of a
> dockBarCenter and reusing the TabStrip would enable:
> - docking the center documents(s),
> - saving the complete docking layout xml file (with center documents)
>  and restoring a complete "perspective" when an application restarts.
> - viewing multiple documents side by side (or on top of each other),
> - ...
> 
> As an example of what I mean, you could look at how Eclipse handles
> it's docking interface.

Actually it's just a matter of configuration I think. In the test application 
on GitHub you can change the settings for the Document item to have a header 
and a frame, then you can drag it around like any other element. Of course it 
looks a bit weird, as they put a notebook in the center.

>> The GDL test application is not really stable (segfault every now and then). 
>> Not very promissing.
> 
> It's not only the test application. I've experienced them in the past
> with small python apps...
> 
>> I've isolated the Docking code and added a demo app (all in MonoDevelop ;) 
>> ). It's actually quite a lot of code :(.
> 
> It's a monstrosity ;)
> 
>> I dropped the code on GitHub: http://github.com/amolenaar/MonoDockingWidget
>> Porting time!
> 
> Could this be the making of a collaborative effort? How do you envision
> getting things started? I've got between 10 and 20 hours to spend on this
> per week, depending on how much I sleep commuting between home and work ;)

First I started strip out any non-essential functionality. Those include the 
popup menu, DockBar and some other classes. The documentation is lacking 
(totally) and there are no test classes (the guy coding this must be 
brilliant!).

I have not yet found a starting point as classes are pretty much tied together. 
I'm expecting that once the plain code is ported, there will be some 
refactoring taking place to make it more pythonic.

If you have time to take a look and do some coding that would be very welcome, 
as I do not have that many hours per week. It's essential to gain knowledge on 
how things are done, so simply translating from C# to Python is not enough.

Regards,

Arjan

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to