[Gtk-sharp-list] GDL - Docking documentation
darryl.pentz at attix5.com
Fri Sep 23 12:10:10 EDT 2005
> It is contained in a directory, so people should be able to do that
> rather easily.
Indeed it is, but I did find that since I'm using Visual Studio, and the MS
compiler, it complained about the event handler shortcuts that seem to be
valid for Mono.
button.Clicked += OnDockButtonClicked;
We had to explicitly go through the code and add event handler declarations
for each delegate.
button.Clicked += new EventHandler (OnDockButtonClicked);
So yes, it was easy, but needed some massaging for our stuff.
> The only docs I know of is the small file in the doc subdirectory, I
> assume you saw it?
Is this in the MonoDevelop tree? Can't seem to find that anywhere.
> There are several known bugs in the C# port, most of which are listed in
> the TODO file. In particular, placeholders are not implemented at all
> which control
> the iconification/restoring from the dockbar. You are welcome to file
> bugs or send patches to fix any of these.
Okay, I wasn't aware of that, and now that I have read the TODO, I guess I
should have known. Apologies. That said, information like you just indicated
there - "placeholders ... control the iconification/restoring from the
dockbar" - would be of great value a terse design doc or some such. As the
day has progressed I've been stepping through the code repeatedly so I'm
becoming more familiar with the relationships and dynamics of the docking
code, but a basic overview would have saved me a lot of time. I will do my
best to put my own discoveries into a document unless somebody (who already
knows what I'm still to learn) beats me to it.
> The code works as much as it does within MonoDevelop. There are some
> known bugs and unfinished parts as noted above. Reporting bugs in parts
> that MonoDevelop doesn't use might help, but I honestly don't know if I
> will work on it anytime soon but there is always a chance someone
> else will.
John, thanks for responding to my post. Much appreciated. I understand what
you're saying about working on it. Perhaps I can be of some help next week
as I integrate the docking behaviour into our own app. By then I should be a
lot more familiar with the object model.
More information about the Gtk-sharp-list