Re: Mono-winforms-list Digest, Vol 110, Issue 2
Dan Gray <[email protected]> Wed, 30 Mar 2016 12:43:36 -0700
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <CAKVLo9uGpO5U5-c=AxGcu6d0JGdEXvoUZ+M==RY26Z_DsLDeMg@mail.gmail.com> |
--===============1352834769== Content-Type: multipart/alternative; boundary=001a114630eca32edb052f495cbb --001a114630eca32edb052f495cbb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks a million, this is probably what I'll do in the future. Thanks again, Dan On Wed, Mar 30, 2016 at 12:29 PM, Baltasar Garc=C3=ADa Perez-Schofield < [email protected]> wrote: > 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 think= s > 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 b= y > 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 you= r > curent view with a Gtk# one, which will be cross-platform. I mean, provid= ed > you are ready to "re-code". > > Anyway, you app with Cairo (included with Gtk#) could be interesting. > > -- baltasar > > --001a114630eca32edb052f495cbb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks a million, this is probably what I'll do in the= future.<div><br></div><div>Thanks again,</div><div>Dan</div></div><div cla= ss=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Mar 30, 2016 at 1= 2:29 PM, Baltasar Garc=C3=ADa Perez-Schofield <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&g= t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0= .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi, Dan= ,<br><br><br><div><div class=3D"gmail_quote"><span class=3D""><blockquote c= lass=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 suggest = I use instead?</div></div></blockquote><div><br></div></span><div>Ufff... h= ere be dragons.<br><a href=3D"http://www.mono-project.com/docs/gui/" target= =3D"_blank">http://www.mono-project.com/docs/gui/</a><br><br></div><div>Win= forms 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 n= ot support for WPF.<br></div><div><br></div><div>Okay, probably the best gr= aphic toolkit available, when talking about completeness, for C#/mono, is G= tk#. Gtk# is able to show windows and graphics of any kind (Cairo), in Wind= ows, 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 widget= s to the user (it thinks it knows better than you). Since you would paint i= n the window canvas though Cairo, I think you're safe, though. You also= have an installer for each platform.<br><a href=3D"http://www.mono-project= .com/docs/gui/gtksharp/tutorials/" target=3D"_blank">http://www.mono-projec= t.com/docs/gui/gtksharp/tutorials/</a><br><br></div><div>You can use Stetic= , included in the MonoDevelop/Xamarin Studio environment, or still use Visu= al Studio if you're ready to code the GUI by yourself (this what I pers= onally recommend).<br><br></div><div>QtSharp is cool, since it gives you ac= cess to Qt, a great toolkit, for C#. However, I don't know how easy is = to distribute a cross-platform application with it.<br><a href=3D"https://g= ithub.com/ddobrev/QtSharp" target=3D"_blank">https://github.com/ddobrev/QtS= harp</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" target=3D"_blank">https://github= .com/mono/xwt</a><br><br></div><div>As you can see, there are lots of optio= ns, none of them totally good. I'd stick to Gtk#: either create a speci= fic UI for Linux, or even replace your curent view with a Gtk# one, which w= ill be cross-platform. I mean, provided you are ready to "re-code"= ;.<br><br></div><div>Anyway, you app with Cairo (included with Gtk#) could = be interesting.<span class=3D"HOEnZb"><font color=3D"#888888"><br><br></fon= t></span></div><span class=3D"HOEnZb"><font color=3D"#888888"><div>-- balta= sar<br><br></div></font></span></div></div></div> </blockquote></div><br></div> --001a114630eca32edb052f495cbb-- --===============1352834769== 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 --===============1352834769==--