[Mono-list] Implementing System.Windows.Forms

Bob Smith bob@thestuff.net
Mon, 16 Sep 2002 16:59:01 -0400 (EDT)


What would be very nice would be a method to plug in the SWF classes in
depending on what the app needs to do, and what the user prefers. For
example, I'd like to use GTK# for most SWF apps, but switch to a WineLib
implementation if the application tries to access stuff that wouldnt be
supported by a GTK# implementation. Would it be enough to implement like
System.Windows.Forms.dll and have them in different paths and set the path
to your favorite, or does something more complex need to be done?

On Mon, 16 Sep 2002, Everaldo Canuto wrote:

> >
> >
> >So, what do I think?  Emulate Windows faithfully
> >including all the elements but without the Win32 API
> >(the Windows.Forms API should be just enough ;) ).
> >Implement every element of Windows including:
> >(a) Window Manager.
> >(b) A deskop environment.
> >(c) The GUI code itself.
> >
> >I believe its *best* to call Xlib's C functions
> >directly from mono and implement all extra
> >functionality within mono using Csharp (of course,
> >many unmanaged code hacks would be essential for
> >performance..)
> >
> >Well, what do you think? (thoughts expressed at 79%
> >efficiency).  more to say...after I 'hear' what people
> >think about the above.
> >
> Great! It's a good idea. It is accurately what I was thinking
>
> My sugest is divide project on three parts:
> 1 - Xsharp base classes to access XWindow and other usefull classes (
> I'm working on it now!)
> 2 - Windows.Forms classes based on Xsharp, after create Control Class is
> possible create all other control. (I think! :-) )
> 3 - wm#(sugest name) - Window Manager based on BlackBox (or another
> WindowManager) and uses Xsharp api.
> 4 - sde#(sugest name) - Sharp Desktop Enviroment using Xsharp api and
> Windows.Forms classes.
>
> I am in the initial stage of the creation of the Xsharp.  At moment only
> declarations of XLib external functions and a demo to open a connection
> with the XWindow. In the next days I will have more things to show.
> Still I do not have page for the project, because It is on initial stage.
>
> If  will be interested in participating, send me an email
> (everaldo.canuto@bol.com.br)
>
> Everaldo Canuto
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>