mail-archives/gtk-sharp-list/2004-March/003567.html

143 строки
5.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] win32 vs linux override discrepancy
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:will%40xpi.net">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="003565.html">
<LINK REL="Next" HREF="003568.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] win32 vs linux override discrepancy
</H1>
<B>will@xpi.net
</B>
<A HREF="mailto:will%40xpi.net"
TITLE="[Gtk-sharp-list] win32 vs linux override discrepancy">will@xpi.net
</A><BR>
<I>Wed, 3 Mar 2004 15:38:59 -0700 (Mountain Standard Time)</I>
<P><UL>
<LI> Previous message: <A HREF="003565.html">[Gtk-sharp-list] win32 vs linux override discrepancy
</A></li>
<LI> Next message: <A HREF="003568.html">[Gtk-sharp-list] win32 vs linux override discrepancy
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3567">[ date ]</a>
<a href="thread.html#3567">[ thread ]</a>
<a href="subject.html#3567">[ subject ]</a>
<a href="author.html#3567">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I have put the latest CVS WIN32 builds in an installer at
<A HREF="http://pop.xpi.net/gtksharp/gtksharp.exe">http://pop.xpi.net/gtksharp/gtksharp.exe</A> .
This installer is similar to the .15 installer I made a while back but is
using the latest CVS build.
Works for VS .NET/C# Builder.
By request, I have changed the install dir to C:\Program
Files\GNU\LIB\GTKSHARP . But you can actually install the libraries
anywhere you want to (I prefer C:\GNU\LIB\GTKSHARP). If you are using my
previous installer, unistall it using the Add/Remove link and then install
this new one.
Don't forget to update your references in VS .NET to the new install dir.
Also this version of the Installer has one annoying bug in it that I
haven't had the time to correct:
If you decide to uninstall GTKSHARP, it will remove the entry in the
Add/Remove Programs tool in the Control Panel. However, it does not
correctly remove the shortcut in the Windows Start Menu. Just right-click
on it and delete it.
I will get around to fixing that annoying bug when I have the time.
Also for you extremely lazy people out there (count me in this group):
I have a new Windows installer that is currently in testing with my QA
guy. It is fully aware of Mono, MCS, VS .NET and C# Builder. So it will
let you choose which compiler to install for. It also will grab the
latest daily CVS builds of GTKSharp from our servers so that I don't have
to keep recompiling the installer for new people. Then there is an
auto-update tool that will check daily for new builds of the gtksharp
libraries and download an incrimental (spelling?) patch for the files from
the servers. On the server end, it builds the latest cvs builds
automatically and makes them available for the auto-update tool in the
installer.
The thought was to take the headache out of using the GTKSHARP libraries
and let people focus on just developing.
When the newer installer is available, I will let everyone know.
Enjoy!
--Will Collins
Xperience Software
<A HREF="mailto:will@xpi.net">will@xpi.net</A>
&gt;<i> I've been using gtk# on linux (mono) and win32 (.net). This has been
</I>&gt;<i> working flawlessly for quite a while. Now that I upgraded gtk# on linux
</I>&gt;<i> to 0.17, the same code does not compile on .net. I decided to compile my
</I>&gt;<i> 0.17 dll's using cygwin (for the first time). Not sure if I'm doing it
</I>&gt;<i> right. Took the 7 compiled dll's and put them in my Bin/Debug directory
</I>&gt;<i> of my visual studio solution. This is where I usually put them when I
</I>&gt;<i> download them from the gtk# site and they work.
</I>&gt;<i>
</I>&gt;<i> Assuming that I compiled them correctly, I cannot override
</I>&gt;<i> OnButtonPressEvent on win32 (.net). On linux it's ok.
</I>&gt;<i>
</I>&gt;<i> I get &quot;no suitable method found to override.&quot;
</I>&gt;<i>
</I>&gt;<i> I'm using:
</I>&gt;<i>
</I>&gt;<i> protected override bool OnButtonPressEvent(Gdk.EventButton evnt)
</I>&gt;<i>
</I>&gt;<i> In order for it to work on .net, I have to use ref:
</I>&gt;<i>
</I>&gt;<i> protected override bool OnButtonPressEvent(ref Gdk.EventButton evnt)
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Also, members of Gdk.EventButton are lower case in win32 and uppercase
</I>&gt;<i> on mono (linux) such as:
</I>&gt;<i>
</I>&gt;<i> button, x, and y
</I>&gt;<i>
</I>&gt;<i> Does anyone have the windows dll's for 0.17? I would like to try someone
</I>&gt;<i> else's?
</I>&gt;<i>
</I>&gt;<i> Regards,
</I>&gt;<i>
</I>&gt;<i> Alvaro
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Gtk-sharp-list maillist - <A HREF="mailto:Gtk-sharp-list@lists.ximian.com">Gtk-sharp-list@lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
</I>&gt;<i>
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="003565.html">[Gtk-sharp-list] win32 vs linux override discrepancy
</A></li>
<LI> Next message: <A HREF="003568.html">[Gtk-sharp-list] win32 vs linux override discrepancy
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3567">[ date ]</a>
<a href="thread.html#3567">[ thread ]</a>
<a href="subject.html#3567">[ subject ]</a>
<a href="author.html#3567">[ author ]</a>
</LI>
</UL>
</body></html>