Re: Mono-winforms-list Digest, Vol 110, Issue 2

Shannon Barber <[email protected]> Thu, 31 Mar 2016 12:14:22 +0000
Newsgroups gmane.comp.gnome.winforms
Message-ID <SG2PR06MB0950D99400D689E56FBB192999990@SG2PR06MB0950.apcprd06.prod.outlook.com>
--===============0338665022==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_SG2PR06MB0950D99400D689E56FBB192999990SG2PR06MB0950apcp_"

--_000_SG2PR06MB0950D99400D689E56FBB192999990SG2PR06MB0950apcp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I don't understand how WinForm can be deprecated?

The whole point is to get to easily cross-platform deployment and fracturin=
g the GUI element wrecks that capability.

I was gearing up to work on a Wayland back-end to WinForms ... is this a lo=
st cause now?


________________________________
From: [email protected] <mono-winforms-list-bounc=
[email protected]> on behalf of Dan Gray <[email protected]>
Sent: Wednesday, March 30, 2016 3:43 PM
To: Baltasar Garc=EDa Perez-Schofield
Cc: [email protected]
Subject: Re: [Mono-winforms-list] Mono-winforms-list Digest, Vol 110, Issue=
 2

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=EDa Perez-Schofield <baltas=
[email protected]<mailto:[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 wri=
te any other code. Unfortunately, it is not. Take into account that there i=
s not support for WPF.

Okay, probably the best graphic toolkit available, when talking about compl=
eteness, 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 t=
he 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). S=
ince 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 (th=
is 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 applicatio=
n with it.
https://github.com/ddobrev/QtSharp

Xwt is an effort to create a truly toolkit which is native for each platfor=
m. 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 s=
tick to Gtk#: either create a specific UI for Linux, or even replace your c=
urent 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





Disclaimer: This message and any files or text attached to it are intended =
only for the recipients named above and contain information that may be con=
fidential or privileged. If you are not an intended recipient, you must not=
 forward, copy, use or otherwise disclose this communication or the informa=
tion contained herein. In the event you have received this message in error=
, please notify the sender immediately by replying to this message, and the=
n delete all copies of it from your system. Thank you.

--_000_SG2PR06MB0950D99400D689E56FBB192999990SG2PR06MB0950apcp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;back=
ground-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style=3D"font-family: Calibri, Arial, Helvetica, sans-serif, 'Appl=
e Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Andro=
id Emoji', EmojiSymbols; font-size: 16px;">I don't understand how&nbsp;</sp=
an>WinForm can be&nbsp;deprecated?</p>
<p>The whole point is to get to easily&nbsp;cross-platform deployment and f=
racturing the GUI element wrecks that capability.</p>
<p><span style=3D"font-size: 12pt;">I was gearing up to work on a Wayland b=
ack-end to WinForms ... is this a lost cause now?</span><br>
</p>
<p><span style=3D"font-family: Calibri, Arial, Helvetica, sans-serif, 'Appl=
e Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Andro=
id Emoji', EmojiSymbols; font-size: 16px;"></span></p>
<div><br>
</div>
<div></div>
<p></p>
<div style=3D"color: rgb(0, 0, 0);">
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" co=
lor=3D"#000000" style=3D"font-size:11pt"><b>From:</b> mono-winforms-list-bo=
[email protected] &lt;[email protected]&gt; =
on behalf of Dan Gray &lt;[email protected]&gt;<br>
<b>Sent:</b> Wednesday, March 30, 2016 3:43 PM<br>
<b>To:</b> Baltasar Garc=EDa Perez-Schofield<br>
<b>Cc:</b> [email protected]<br>
<b>Subject:</b> Re: [Mono-winforms-list] Mono-winforms-list Digest, Vol 110=
, Issue 2</font>
<div>&nbsp;</div>
</div>
<div>
<div dir=3D"ltr">Thanks a million, this is probably what I'll do in the fut=
ure.
<div><br>
</div>
<div>Thanks again,</div>
<div>Dan</div>
</div>
<div class=3D"gmail_extra"><br>
<div class=3D"gmail_quote">On Wed, Mar 30, 2016 at 12:29 PM, Baltasar Garc=
=EDa Perez-Schofield
<span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex; border-left:1=
px #ccc solid; padding-left:1ex">
<div dir=3D"ltr">Hi, Dan,<br>
<br>
<br>
<div>
<div class=3D"gmail_quote"><span class=3D"">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex; border-left:1=
px #ccc solid; padding-left:1ex">
<div dir=3D"ltr">Thanks Baltasar,
<div>Since it's&nbsp;<span style=3D"font-size:12.8px">deprecated</span>, wh=
at do you suggest I use instead?</div>
</div>
</blockquote>
<div><br>
</div>
</span>
<div>Ufff... here 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>Winforms would be ideal if it was finished, since you would not have t=
o write any other code. Unfortunately, it is not. Take into account that th=
ere is not support for WPF.<br>
</div>
<div><br>
</div>
<div>Okay, probably the best graphic toolkit available, when talking about =
completeness, for C#/mono, is Gtk#. Gtk# is able to show windows and graphi=
cs of any kind (Cairo), in Windows, Mac and Linux. It's a good option, I th=
ink the best one currently, though
 it is also maybe temperamental and capricious in how to show widgets to th=
e user (it thinks it knows better than you). Since you would paint in the w=
indow canvas though Cairo, I think you're safe, though. You also have an in=
staller for each platform.<br>
<a href=3D"http://www.mono-project.com/docs/gui/gtksharp/tutorials/" target=
=3D"_blank">http://www.mono-project.com/docs/gui/gtksharp/tutorials/</a><br=
>
<br>
</div>
<div>You can use Stetic, included in the MonoDevelop/Xamarin Studio environ=
ment, or still use Visual Studio if you're ready to code the GUI by yoursel=
f (this what I personally recommend).<br>
<br>
</div>
<div>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 appli=
cation with it.<br>
<a href=3D"https://github.com/ddobrev/QtSharp" target=3D"_blank">https://gi=
thub.com/ddobrev/QtSharp</a><br>
<br>
</div>
<div>Xwt is an effort to create a truly toolkit which is native for each pl=
atform. I don't know about its maturity, though.<br>
<a href=3D"https://github.com/mono/xwt" target=3D"_blank">https://github.co=
m/mono/xwt</a><br>
<br>
</div>
<div>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 y=
our curent view with a Gtk# one, which will be cross-platform. I mean, prov=
ided you are ready to &quot;re-code&quot;.<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>
</font></span></div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div>-- baltasar<br>
<br>
</div>
</font></span></div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
<br>
<div></div>
<p style=3D"font-size:8pt;">Disclaimer: This message and any files or text =
attached to it are intended only for the recipients named above and contain=
 information that may be confidential or privileged. If you are not an inte=
nded recipient, you must not forward,
 copy, use or otherwise disclose this communication or the information cont=
ained herein. In the event you have received this message in error, please =
notify the sender immediately by replying to this message, and then delete =
all copies of it from your system.
 Thank you.<br>
</p>
</body>
</html>

--_000_SG2PR06MB0950D99400D689E56FBB192999990SG2PR06MB0950apcp_--

--===============0338665022==
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

--===============0338665022==--