I have implemented the following changes:
This is my first time to ever try to make a change to a program's gitsource, so I hope this is correct. Please advise me if my method and/or style is not correct.
Watch the Event signal, and call the MovePanel event when we determine that it has been moved from the former position.
Add in ability to change font and alignment for text.
Allow TextCellView to control Alignment.
Fixed bug in alignment field setting.
Thanks for the pull request. The font change looks ok to me. About the position change event, there are a couple of things that should be fixed. The event should be subscribed/unsubscribed by overriding the EnableEvent/DisableEvent method. See how this is done for example in ButtonBackend. Also, the event sink invocation must be done inside a ApplicationContext.InvokeUserCode call. Again, see how this is done in ButtonBackend. Also, maybe you could use the MoveHandle event instead of the more generic WidgetEvent.
Fixed to use EnableEvent and DisableEvent, and to use ApplicationContext.InvokeUserCode within the Handler.
I've updated the pull request to be similar to what I saw in ButtonBackend. It seems to work fine in my application, but I could not get any events from MoveHandle. This seems to be the case even in standard non-Xwt applications in Mono that use Gtk. I'm not sure if there is a bug somewhere, but the only way I could get the event was through the WidgetEvent. I'd be happy to fix if anyone has better ideas.
Changes to allow proper aligning of CellRendererText
Why are these changes required?
Merge pull request #1 from mono/master
Merge in the ongoing changes in the origin branch
I think the Paned part can be merged. The alignment needs an other review I think. I'll take a look on it next days.
I have cherry-picked the Paned part in #472 (commit hashes changed). So only the Alignment part remains.