Re: Mono-winforms-list Digest, Vol 110, Issue 2
Baltasar GarcĂa Perez-Schofield <[email protected]> Wed, 30 Mar 2016 19:29:27 +0000
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <CAGzCYFOiEb-kzc8uFpGyUrXYdFWs6ER8etBUEsXsA4MSO284tg@mail.gmail.com> |
--===============2066001994== Content-Type: multipart/alternative; boundary=001a1141a1e291bc53052f492a6c --001a1141a1e291bc53052f492a6c Content-Type: text/plain; charset=UTF-8 Hi, Dan, Thanks Baltasar, > Since it's deprecated, what do you suggest I use instead? > Ufff... here be dragons. http://www.mono-project.com/docs/gui/ Winforms would be ideal if it was finished, since you would not have to write any other code. Unfortunately, it is not. Take into account that there is not support for WPF. Okay, probably the best graphic toolkit available, when talking about completeness, for C#/mono, is Gtk#. Gtk# is able to show windows and graphics of any kind (Cairo), in Windows, Mac and Linux. It's a good option, I think the best one currently, though it is also maybe temperamental and capricious in how to show widgets to the user (it thinks it knows better than you). Since you would paint in the window canvas though Cairo, I think you're safe, though. You also have an installer for each platform. http://www.mono-project.com/docs/gui/gtksharp/tutorials/ You can use Stetic, included in the MonoDevelop/Xamarin Studio environment, or still use Visual Studio if you're ready to code the GUI by yourself (this what I personally recommend). QtSharp is cool, since it gives you access to Qt, a great toolkit, for C#. However, I don't know how easy is to distribute a cross-platform application with it. https://github.com/ddobrev/QtSharp Xwt is an effort to create a truly toolkit which is native for each platform. I don't know about its maturity, though. https://github.com/mono/xwt As you can see, there are lots of options, none of them totally good. I'd stick to Gtk#: either create a specific UI for Linux, or even replace your curent view with a Gtk# one, which will be cross-platform. I mean, provided you are ready to "re-code". Anyway, you app with Cairo (included with Gtk#) could be interesting. -- baltasar --001a1141a1e291bc53052f492a6c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi, Dan,<br><br><br><div><div class=3D"gmail_quote"><block= quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc= solid;padding-left:1ex"><div dir=3D"ltr">Thanks Baltasar,<div>Since it'= ;s=C2=A0<span style=3D"font-size:12.8px">deprecated</span>, what do you sug= gest I use instead?</div></div></blockquote><div><br></div><div>Ufff... her= e be dragons.<br><a href=3D"http://www.mono-project.com/docs/gui/">http://w= ww.mono-project.com/docs/gui/</a><br><br></div><div>Winforms would be ideal= if it was finished, since you would not have to write any other code. Unfo= rtunately, it is not. Take into account that there is not support for WPF.<= br></div><div><br></div><div>Okay, probably the best graphic toolkit availa= ble, when talking about completeness, for C#/mono, is Gtk#. Gtk# is able to= show windows and graphics of any kind (Cairo), in Windows, Mac and Linux. = It's a good option, I think the best one currently, though it is also m= aybe temperamental and capricious in how to show widgets to the user (it th= inks it knows better than you). Since you would paint in the window canvas = though Cairo, I think you're safe, though. You also have an installer f= or each platform.<br><a href=3D"http://www.mono-project.com/docs/gui/gtksha= rp/tutorials/">http://www.mono-project.com/docs/gui/gtksharp/tutorials/</a>= <br><br></div><div>You can use Stetic, included in the MonoDevelop/Xamarin = Studio environment, or still use Visual Studio if you're ready to code = the GUI by yourself (this what I personally recommend).<br><br></div><div>Q= tSharp is cool, since it gives you access to Qt, a great toolkit, for C#. H= owever, I don't know how easy is to distribute a cross-platform applica= tion with it.<br><a href=3D"https://github.com/ddobrev/QtSharp">https://git= hub.com/ddobrev/QtSharp</a><br><br></div><div>Xwt is an effort to create a = truly toolkit which is native for each platform. I don't know about its= maturity, though.<br><a href=3D"https://github.com/mono/xwt">https://githu= b.com/mono/xwt</a><br><br></div><div>As you can see, there are lots of opti= ons, none of them totally good. I'd stick to Gtk#: either create a spec= ific UI for Linux, or even replace your curent view with a Gtk# one, which = will be cross-platform. I mean, provided you are ready to "re-code&quo= t;.<br><br></div><div>Anyway, you app with Cairo (included with Gtk#) could= be interesting.<br><br></div><div>-- baltasar<br><br></div></div></div></d= iv> --001a1141a1e291bc53052f492a6c-- --===============2066001994== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list --===============2066001994==--