[LUGSB] How's C#/GTK# looking?

Harlan Crystal harlan at sdf1.cc
Sun Nov 9 18:05:11 EST 2003


> I toyed with C#/GTK# once.  And, when I say toyed, I mean toyed.  I
> created a window with one big button in it and when you pushed the
> button it printed 'Hello World' to the console.  However, the time that
> I spent working with it (2 hours) was enjoyable.  

cool cool.

I haven't actually played with C#, but I'm assuming it should be quick to
pick up if one has done lots of java.  I hope I'm right?

> I'm not sure on the
> state of GTK# on windows, but I don't see why it would be a problem. 

I guess my fear is that you'd have to use some sort of cygwin layer or
something to make it all play nicely.

It seems like it's going to be a fair amount of re-writing to get the
GUI cross-platform either way I go: The current one is written using
windows forms and mapping that to another toolkit will be far from
one-to-one even if I stick to C#.

thanks,
--har

--
Harlan Crystal          Tel: 607-339-1139
AIM: "HarlanCrystal"    WWW: http://www.people.cornell.edu/pages/hpc4/
>From markdrago at mail.com Sun Nov  9 18:14:36 2003
Received: from mail.ic.sunysb.edu (mail.ic.sunysb.edu [129.49.1.4])
	hA9NEaA1030765
	for <lugsb at fsl.cs.sunysb.edu>; Sun, 9 Nov 2003 18:14:36 -0500
Received: from postal.ic.sunysb.edu (mail [129.49.1.4])
	by mail.ic.sunysb.edu (8.12.10/8.12.10) with SMTP id hA9NCVbR000205
	for <lugsb at fsl.cs.sunysb.edu>; Sun, 9 Nov 2003 18:14:39 -0500 (EST)
Received: from smtp.ic.sunysb.edu ([129.49.1.24])
 by postal.ic.sunysb.edu (SAVSMTP 3.1.1.32) with SMTP id M2003110918143823864
 for <lugsb at fsl.cs.sunysb.edu>; Sun, 09 Nov 2003 18:14:38 -0500
Received: from localhost.localdomain (198-193.resnet.stonybrook.edu
	[130.245.198.193])
	by smtp.ic.sunysb.edu (8.12.10/8.12.10) with ESMTP id hA9NEc0h001013
	for <lugsb at fsl.cs.sunysb.edu>; Sun, 9 Nov 2003 18:14:38 -0500 (EST)
Subject: Re: [LUGSB] How's C#/GTK# looking?
From: Mark <markdrago at mail.com>
To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
In-Reply-To: <20031109230511.GA1846 at sdf1.cc>
References: <20031109223425.GA1209 at sdf1.cc>
	 <1068418286.1004.6.camel at localhost.localdomain>
	 <20031109230511.GA1846 at sdf1.cc>
Content-Type: text/plain
Message-Id: <1068419673.1004.11.camel at localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5 
Date: Sun, 09 Nov 2003 18:14:33 -0500
Content-Transfer-Encoding: 7bit
X-BeenThere: lugsb at fsl.cs.sunysb.edu
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
List-Id: Linux Users Group at Stony Brook <lugsb.fsl.cs.sunysb.edu>
List-Unsubscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
	<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=unsubscribe>
List-Archive: <http://lists.fsl.cs.sunysb.edu/pipermail/lugsb>
List-Post: <mailto:lugsb at fsl.cs.sunysb.edu>
List-Help: <mailto:lugsb-request at fsl.cs.sunysb.edu?subject=help>
List-Subscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
	<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=subscribe>
X-List-Received-Date: Sun, 09 Nov 2003 23:14:36 -0000

> I haven't actually played with C#, but I'm assuming it should be quick to
> pick up if one has done lots of java.  I hope I'm right?

C# is a very straight forward language.  There are a few new ideas
there, but not many.

> > I'm not sure on the
> > state of GTK# on windows, but I don't see why it would be a problem. 
> 
> I guess my fear is that you'd have to use some sort of cygwin layer or
> something to make it all play nicely.

That won't be necessary.  GTK is cross platform, as is mono and
consequently GTK#.  I don't know how much you want to rely on this, but
a lot of work has been going in to getting Windows.Forms to run on Linux
with Wine.  It'll probably be worth your time to investigate that
further.

> It seems like it's going to be a fair amount of re-writing to get the
> GUI cross-platform either way I go: The current one is written using
> windows forms and mapping that to another toolkit will be far from
> one-to-one even if I stick to C#.
> 
> thanks,
> --har

--Mark.



More information about the lugsb mailing list