[Mono-list] RE: Mono Win32
Daniel Morgan
danmorg@sc.rr.com
Mon, 21 Oct 2002 08:26:24 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0019_01C278DB.8B4C2770
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_001A_01C278DB.8B4C2770"
------=_NextPart_001_001A_01C278DB.8B4C2770
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi Andrew,
I hope you don't mind me forwarding this to the mono-list.
Here are my answers to your questions:
For (1), the link at the http://www.go-mono.com/download works for me.
However, there is only a binaries package for the Mono 0.15 release. Sergey
was kind of enough to provide those binaries. Maybe, you can ask him
nicely, and he can provide a new release. Or he could tell use how he made
the package so others could make it for you.
For (2), use the mono-bulid-w32.sh build script. You can find this on the
http://www.go-mon.com/download/ page. In mono cvs, it is found in mono/doc.
You need cygwin from http://www.cygwin.com/ to bulid. You may need the
Microsoft .NET Framework
Redistrbutable from MSDN too which is a free download,
see
http://msdn.microsoft.com/downloads/sample.asp?url=/MSDN-FILES/027/001/829/m
sdncompositedoc.xml&frame=true
For (3), check out gtk# from cvs.
You will need to download the following packages and install them in your
mono prefix that is mentioned on the web site:
http://www.gimp.org/~tml/gimp/win32/downloads.html
Here are the dependency packages for GTK+ you will need from that link, and
it does not matter that cygwin includes some either, you still need these
native Win32 packages:
GNU libiconv
libintl-x.xx.xx-tml-xxxxxxxx.zip (as of this writing 0.10.40-tml-20020904)
glib-2.x.x-xxxxxxxx.zip (currently 2.0.6-20020802)
glib-dev-2.x.x-xxxxxxxx.zip (currently 2.0.6-20020802)
Zlib, libpng, libjpeg, libtiff, and FreeType2 (the Bin and (either called
Dev or Lib) packages) from the GnuWin32 project at Sourceforge.
And finally, the GTK+ BIN and DEV packages:
gtk+-2.x.x-xxxxxxxx.zip (currently 2.0.6-20020921)
gtk+-dev-2.x.x-xxxxxxxx.zip (currently 2.0.6-20020921)
atk-x.x.x-xxxxxxxx.zip (currently 1.0.3-20020821)
pango-x.x.x-xxxxxxxx.zip (currently 1.0.4-20020928)
atk-dev-x.x.x.xxxxxxxx.zip (currently 1.0.3-20020821)
pango-dev-x.x.xxxxxxxx.zip (currently 1.0.4-20020928)
Once all these packages have been unzipped to your mono prefix, you will
need to edit every pkgconfig file that has a .pc suffix in the
mono-prefix/lib/pkgconfig path.
For instance: in atk.pc, change the "prefix" line
From:
prefix=/target
To:
prefix=your-mono-install-prefix
Since my mono-install-prefix is $HOME/mono/install, that is what I put:
prefix=$HOME/mono/install
I have a patch provided by vlad that allows gtk# to build on win32 again.
However, Vlad and Mike Kestner are working to get this into the main build.
The patch is win32-final.patch.
Run ./autogen.sh
To build gtk#, use the makefile.win32 at the gtk# root directoy.
For example:
make -f makefile.win32
Make sure you set your MONO_PATH to ../lib:../../lib, such as:
export MONO_PATH=../lib:../../lib
You will need to cd to glue and use the makefile.win32 there too.
To build the samples, cd to the sample directory, and you use just "make".
The gtk# sample programs gtk-hello-world, menu, button, and GtkTreeViewDemo
work on Win32. I have only tested it on Windows XP.
When building gtk# programs, you will have to include all the gtk#
assemblies and make sure your MONO_PATH is set:
export MONO_PATH=../lib:../../lib
mcs myGtkSharpProgram.cs -r atk-sharp.dll -r pango-sharp.dll -r
glib-sharp.dll -r gtk-sharp.dll -r gdk-sharp.dll -r System.Drawing.dll
Not sure if System.Drawing.dll is needed or not, but I include it anyways.
Remember, the gtk# on win32 is not ready for general consumption yet.
Hope this helps,
Daniel
-----Original Message-----
From: Andrew Tierney [mailto:atierney@ccipl.com.au]
Sent: Monday, October 21, 2002 2:31 AM
To: 'danmorg@sc.rr.com'
Subject: Mono Win32
Hi,
I am looking for the following Mono related items but have had no luck so
far. (The win32 binary page is down.)
1) Mono Win32 (NON-CYGWIN version) + Win95 Friendly
(linked with unicows.dll)
2) A build script to build this from the CVS tree ??
3) GTK# build scripts for Win32 ?
Any info much appreciated.
Andrew
------=_NextPart_001_001A_01C278DB.8B4C2770
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C2791D.BB7F74A0" rel=3DFile-List><!--[if gte =
mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt =
72.0pt 90.0pt; mso-header-margin: 35.4pt; mso-footer-margin: 35.4pt; =
mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: =
personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; =
mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; =
mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.GramE {
mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
page: Section1
}
OL {
MARGIN-BOTTOM: 0cm
}
UL {
MARGIN-BOTTOM: 0cm
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-AU style=3D"tab-interval: 36.0pt" vLink=3Dpurple =
link=3Dblue>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Hi=20
Andrew,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>I hope=20
you don't mind me forwarding this to the mono-list.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Here=20
are my answers to your questions:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><SPAN class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>For=20
(1), the link at the <A=20
href=3D"http://www.go-mono.com/download">http://www.go-mono.com/download<=
/A> works=20
for me. However, there is only a binaries package for the Mono =
0.15=20
release. Sergey was kind of enough to provide those =
binaries. Maybe,=20
you can ask him nicely, and he can provide a new release. Or he =
could tell=20
use how he made the package so others could make it for =
you.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>For=20
(2), use the mono-bulid-w32.sh build script. You can find this on =
the <A=20
href=3D"http://www.go-mon.com/download/">http://<A=20
href=3D"http://www.go-mon.com/download">www.go-mon.com/download</A>/</A> =
page. In mono cvs, it is found in mono/doc. You need cygwin =
from <A=20
href=3D"http://www.cygwin.com/">http://<A=20
href=3D"http://www.cygwin.com">www.cygwin.com</A>/</A> to =
bulid. You=20
may need the Microsoft .NET Framework <BR>Redistrbutable from MSDN too =
which is=20
a free download, </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>see <A=20
href=3D"http://msdn.microsoft.com/downloads/sample.asp?url=3D/MSDN-FILES/=
027/001/829/msdncompositedoc.xml&frame=3Dtrue">http://msdn.microsoft.=
com/downloads/sample.asp?url=3D/MSDN-FILES/027/001/829/msdncompositedoc.x=
ml&frame=3Dtrue</A></SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>For=20
(3), check out gtk# from cvs. </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>You=20
will need to download the following packages and install them in your =
mono=20
prefix that is mentioned on the web site:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002><A=20
href=3D"http://www.gimp.org/~tml/gimp/win32/downloads.html">http://www.gi=
mp.org/~tml/gimp/win32/downloads.html</A></SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Here=20
are the dependency packages for GTK+ you will need from that link, and =
it does=20
not matter that cygwin includes some either, you still need these native =
Win32=20
packages:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>GNU=20
libiconv</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>libintl-x.xx.xx-tml-xxxxxxxx.zip =
(as of=20
this writing 0.10.40-tml-20020904)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>glib-2.x.x-xxxxxxxx.zip (currently=20
2.0.6-20020802)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>glib-dev-2.x.x-xxxxxxxx.zip (currently=20
2.0.6-20020802)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Zlib,=20
libpng, libjpeg, libtiff, and FreeType2 (the Bin and (either =
called Dev or=20
Lib) packages) from the GnuWin32 project at =
Sourceforge.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>And=20
finally, the GTK+ BIN and DEV packages:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>gtk+-2.x.x-xxxxxxxx.zip (currently=20
2.0.6-20020921)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>gtk+-dev-2.x.x-xxxxxxxx.zip (currently=20
2.0.6-20020921)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>atk-x.x.x-xxxxxxxx.zip (currently=20
1.0.3-20020821)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>pango-x.x.x-xxxxxxxx.zip (currently=20
1.0.4-20020928)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>atk-dev-x.x.x.xxxxxxxx.zip (currently=20
1.0.3-20020821)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>pango-dev-x.x.xxxxxxxx.zip (currently=20
1.0.4-20020928)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Once=20
all these packages have been unzipped to your mono prefix, you will need =
to edit=20
every pkgconfig file that has a .pc suffix in the =
mono-prefix/lib/pkgconfig=20
path.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>For=20
instance: in atk.pc, change the "prefix" line</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>From:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>prefix=3D/target</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>To:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>prefix=3Dyour-mono-install-prefix</SPAN></FONT=
></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Since=20
my mono-install-prefix is $HOME/mono/install, that is what I=20
put:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>prefix=3D$HOME/mono/install</SPAN></FONT></DIV=
>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>I have=20
a patch provided by vlad that allows gtk# to build on win32 again. =
However, Vlad and Mike Kestner are working to get this into the main=20
build. The patch is win32-final.patch. </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Run=20
./autogen.sh</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>To=20
build gtk#, use the makefile.win32 at the gtk# root=20
directoy.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><SPAN class=3D679573711-21102002>For =
example:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>make=20
-f makefile.win32</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Make=20
sure you set your MONO_PATH to ../lib:../../lib, such=20
as:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>export=20
MONO_PATH=3D../lib:../../lib</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>You=20
will need to cd to glue and use the makefile.win32 there=20
too.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><SPAN class=3D679573711-21102002></SPAN></FONT><FONT =
face=3DArial=20
color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>To=20
build the samples, cd to the sample directory, and you use just=20
"make".</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>The=20
gtk# sample programs gtk-hello-world, menu, button, and=20
GtkTreeViewDemo work on Win32. I have only tested it on =
Windows=20
XP.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>When=20
building gtk# programs, you will have to include all the gtk# assemblies =
and=20
make sure your MONO_PATH is set:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>export=20
MONO_PATH=3D../lib:../../lib</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>mcs=20
myGtkSharpProgram.cs -r atk-sharp.dll -r pango-sharp.dll -r =
glib-sharp.dll -r=20
gtk-sharp.dll -r gdk-sharp.dll -r System.Drawing.dll</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Not=20
sure if System.Drawing.dll is needed or not, but I include it=20
anyways.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><SPAN class=3D679573711-21102002></SPAN></FONT><FONT =
face=3DArial=20
color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002></SPAN></FONT><FONT=20
face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><SPAN class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>Remember, the gtk# on win32 is not ready for =
general=20
consumption yet.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D679573711-21102002>Hope=20
this helps,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002>Daniel</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D679573711-21102002></SPAN></FONT><FONT face=3DTahoma =
size=3D2>-----Original=20
Message-----<BR><B>From:</B> Andrew Tierney=20
[mailto:atierney@ccipl.com.au]<BR><B>Sent:</B> Monday, October 21, 2002 =
2:31=20
AM<BR><B>To:</B> 'danmorg@sc.rr.com'<BR><B>Subject:</B> Mono Win32=20
<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am looking for the =
following=20
Mono related items but have had no luck so far. (The win32 binary page =
is=20
down.)<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN-LEFT: 54pt; TEXT-INDENT: -36pt; mso-list: l0 level1 =
lfo1; tab-stops: list 54.0pt"><![if !supportLists]><FONT=20
face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
Arial; mso-bidi-font-size: 12.0pt"><SPAN=20
style=3D"mso-list: Ignore">1)<FONT face=3D"Times New Roman" =
size=3D1><SPAN=20
style=3D"FONT: 7pt 'Times New =
Roman'">  =
; =20
</SPAN></FONT></SPAN></SPAN></FONT><![endif]><FONT face=3DArial =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Mono Win32 (NON-CYGWIN =
version) +=20
Win95 Friendly (linked with </SPAN></FONT>unicows.dll)<o:p></o:p></P>
<P class=3DMsoNormal=20
style=3D"MARGIN-LEFT: 54pt; TEXT-INDENT: -36pt; mso-list: l0 level1 =
lfo1; tab-stops: list 54.0pt"><![if !supportLists]><FONT=20
face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
Arial"><SPAN=20
style=3D"mso-list: Ignore">2)<FONT face=3D"Times New Roman" =
size=3D1><SPAN=20
style=3D"FONT: 7pt 'Times New =
Roman'">  =
; =20
</SPAN></FONT></SPAN></SPAN></FONT><![endif]><FONT face=3DArial =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">A build script to build =
this from=20
the CVS <SPAN class=3DGramE>tree =
??</SPAN><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN-LEFT: 54pt; TEXT-INDENT: -36pt; mso-list: l0 level1 =
lfo1; tab-stops: list 54.0pt"><![if !supportLists]><FONT=20
face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
Arial"><SPAN=20
style=3D"mso-list: Ignore">3)<FONT face=3D"Times New Roman" =
size=3D1><SPAN=20
style=3D"FONT: 7pt 'Times New =
Roman'">  =
; =20
</SPAN></FONT></SPAN></SPAN></FONT><![endif]><FONT face=3DArial =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">GTK# build scripts for =
<SPAN=20
class=3DGramE>Win32 ?</SPAN><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any info much=20
appreciated.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Andrew<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTM=
L>
------=_NextPart_001_001A_01C278DB.8B4C2770--
------=_NextPart_000_0019_01C278DB.8B4C2770
Content-Type: application/octet-stream;
name="win32-final.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="win32-final.patch"
Index: makefile.win32=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/makefile.win32,v=0A=
retrieving revision 1.5=0A=
diff -u -w -r1.5 makefile.win32=0A=
--- makefile.win32 24 Jun 2002 23:38:50 -0000 1.5=0A=
+++ makefile.win32 9 Oct 2002 05:45:30 -0000=0A=
@@ -1,16 +1,16 @@=0A=
-DIRS=3Dgenerator glib pango atk gdk gtk gnome sample=0A=
+DIRS=3Dgenerator api glib pango atk gdk gtk sample=0A=
ROOT=3D/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))=0A=
-CSC=3D$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe=0A=
+CSC=3D$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe /d:WIN32=0A=
=0A=
all: windows=0A=
=0A=
windows:=0A=
for i in $(DIRS); do \=0A=
- (cd $$i; CSC=3D$(CSC) make -f makefile.win32) || exit 1;\=0A=
+ (cd $$i; CSC=3D"$(CSC)" make -f makefile.win32) || exit 1;\=0A=
done;=0A=
=0A=
docs:=0A=
for i in $(DIRS); do \=0A=
- (cd $$i; CSC=3D$(CSC) make -f makefile.win32 docs) || exit 1;\=0A=
+ (cd $$i; CSC=3D"$(CSC)" make -f makefile.win32 docs) || exit 1;\=0A=
done;=0A=
=0A=
Index: api/atk-api.xml=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/api/atk-api.xml,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 atk-api.xml=0A=
--- api/atk-api.xml 20 Aug 2002 19:56:14 -0000 1.1=0A=
+++ api/atk-api.xml 9 Oct 2002 05:45:31 -0000=0A=
@@ -1,6 +1,6 @@=0A=
<?xml version=3D"1.0" encoding=3D"UTF-8"?>=0A=
<api>=0A=
- <namespace name=3D"Atk" library=3D"atk-1.0">=0A=
+ <namespace name=3D"Atk" library=3D"GtkSharp.LibraryNames.ATK_LIB">=0A=
<enum name=3D"CoordType" cname=3D"AtkCoordType" type=3D"enum">=0A=
<member cname=3D"ATK_XY_SCREEN" name=3D"Screen"/>=0A=
<member cname=3D"ATK_XY_WINDOW" name=3D"Window"/>=0A=
Index: api/gdk-api.xml=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/api/gdk-api.xml,v=0A=
retrieving revision 1.4=0A=
diff -u -w -r1.4 gdk-api.xml=0A=
--- api/gdk-api.xml 21 Sep 2002 14:21:15 -0000 1.4=0A=
+++ api/gdk-api.xml 9 Oct 2002 05:45:33 -0000=0A=
@@ -1,6 +1,6 @@=0A=
<?xml version=3D"1.0" encoding=3D"UTF-8"?>=0A=
<api>=0A=
- <namespace name=3D"Gdk" library=3D"gdk-x11-2.0">=0A=
+ <namespace name=3D"Gdk" library=3D"GtkSharp.LibraryNames.GDK_LIB">=0A=
<enum name=3D"AxisUse" cname=3D"GdkAxisUse" type=3D"enum">=0A=
<member cname=3D"GDK_AXIS_IGNORE" name=3D"Ignore"/>=0A=
<member cname=3D"GDK_AXIS_X" name=3D"X"/>=0A=
@@ -2356,7 +2356,7 @@=0A=
</method>=0A=
</struct>=0A=
</namespace>=0A=
- <namespace name=3D"Gdk" library=3D"gdk_pixbuf-2.0">=0A=
+ <namespace name=3D"Gdk" =
library=3D"GtkSharp.LibraryNames.GDK_PIXBUF_LIB">=0A=
<enum name=3D"Colorspace" cname=3D"GdkColorspace" type=3D"enum">=0A=
<member cname=3D"GDK_COLORSPACE_RGB" name=3D"Rgb"/>=0A=
</enum>=0A=
@@ -2513,7 +2513,7 @@=0A=
<method name=3D"GetColorspace" =
cname=3D"gdk_pixbuf_get_colorspace">=0A=
<return-type type=3D"GdkColorspace"/>=0A=
</method>=0A=
- <method name=3D"GetFromDrawable" =
cname=3D"gdk_pixbuf_get_from_drawable" library=3D"gdk-x11-2.0">=0A=
+ <method name=3D"GetFromDrawable" =
cname=3D"gdk_pixbuf_get_from_drawable" =
library=3D"GtkSharp.LibraryNames.GDK_PIXBUF_LIB">=0A=
<return-type type=3D"GdkPixbuf*"/>=0A=
<parameters>=0A=
<parameter type=3D"GdkDrawable*" name=3D"src"/>=0A=
@@ -2526,7 +2526,7 @@=0A=
<parameter type=3D"int" name=3D"height"/>=0A=
</parameters>=0A=
</method>=0A=
- <method name=3D"GetFromImage" cname=3D"gdk_pixbuf_get_from_image" =
library=3D"gdk-x11-2.0">=0A=
+ <method name=3D"GetFromImage" cname=3D"gdk_pixbuf_get_from_image" =
library=3D"GtkSharp.LibraryNames.GDK_LIB">=0A=
<return-type type=3D"GdkPixbuf*"/>=0A=
<parameters>=0A=
<parameter type=3D"GdkImage*" name=3D"src"/>=0A=
@@ -2616,7 +2616,7 @@=0A=
<parameter type=3D"int" name=3D"height"/>=0A=
</parameters>=0A=
</constructor>=0A=
- <method name=3D"RenderPixmapAndMask" =
cname=3D"gdk_pixbuf_render_pixmap_and_mask" library=3D"gdk-x11-2.0">=0A=
+ <method name=3D"RenderPixmapAndMask" =
cname=3D"gdk_pixbuf_render_pixmap_and_mask" =
library=3D"GtkSharp.LibraryNames.GDK_LIB">=0A=
<return-type type=3D"void"/>=0A=
<parameters>=0A=
<parameter type=3D"GdkPixmap**" name=3D"pixmap_return"/>=0A=
@@ -2624,7 +2624,7 @@=0A=
<parameter type=3D"int" name=3D"alpha_threshold"/>=0A=
</parameters>=0A=
</method>=0A=
- <method name=3D"RenderPixmapAndMaskForColormap" =
cname=3D"gdk_pixbuf_render_pixmap_and_mask_for_colormap" =
library=3D"gdk-x11-2.0">=0A=
+ <method name=3D"RenderPixmapAndMaskForColormap" =
cname=3D"gdk_pixbuf_render_pixmap_and_mask_for_colormap" =
library=3D"GtkSharp.LibraryNames.GDK_LIB">=0A=
<return-type type=3D"void"/>=0A=
<parameters>=0A=
<parameter type=3D"GdkColormap*" name=3D"colormap"/>=0A=
@@ -2633,7 +2633,7 @@=0A=
<parameter type=3D"int" name=3D"alpha_threshold"/>=0A=
</parameters>=0A=
</method>=0A=
- <method name=3D"RenderThresholdAlpha" =
cname=3D"gdk_pixbuf_render_threshold_alpha" library=3D"gdk-x11-2.0">=0A=
+ <method name=3D"RenderThresholdAlpha" =
cname=3D"gdk_pixbuf_render_threshold_alpha" =
library=3D"GtkSharp.LibraryNames.GDK_LIB">=0A=
<return-type type=3D"void"/>=0A=
<parameters>=0A=
<parameter type=3D"GdkBitmap*" name=3D"bitmap"/>=0A=
@@ -2646,7 +2646,7 @@=0A=
<parameter type=3D"int" name=3D"alpha_threshold"/>=0A=
</parameters>=0A=
</method>=0A=
- <method name=3D"RenderToDrawable" =
cname=3D"gdk_pixbuf_render_to_drawable" library=3D"gdk-x11-2.0">=0A=
+ <method name=3D"RenderToDrawable" =
cname=3D"gdk_pixbuf_render_to_drawable" =
library=3D"GtkSharp.LibraryNames.GDK_LIB">=0A=
<return-type type=3D"void"/>=0A=
<parameters>=0A=
<parameter type=3D"GdkDrawable*" name=3D"drawable"/>=0A=
@@ -2662,7 +2662,7 @@=0A=
<parameter type=3D"int" name=3D"y_dither"/>=0A=
</parameters>=0A=
</method>=0A=
- <method name=3D"RenderToDrawableAlpha" =
cname=3D"gdk_pixbuf_render_to_drawable_alpha" library=3D"gdk-x11-2.0">=0A=
+ <method name=3D"RenderToDrawableAlpha" =
cname=3D"gdk_pixbuf_render_to_drawable_alpha" =
library=3D"GtkSharp.LibraryNames.GDK_LIB">=0A=
<return-type type=3D"void"/>=0A=
<parameters>=0A=
<parameter type=3D"GdkDrawable*" name=3D"drawable"/>=0A=
Index: api/gtk-api.xml=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/api/gtk-api.xml,v=0A=
retrieving revision 1.9=0A=
diff -u -w -r1.9 gtk-api.xml=0A=
--- api/gtk-api.xml 8 Oct 2002 19:32:29 -0000 1.9=0A=
+++ api/gtk-api.xml 9 Oct 2002 05:45:40 -0000=0A=
@@ -1,6 +1,6 @@=0A=
<?xml version=3D"1.0" encoding=3D"UTF-8"?>=0A=
<api>=0A=
- <namespace name=3D"Gtk" library=3D"gtk-x11-2.0">=0A=
+ <namespace name=3D"Gtk" library=3D"GtkSharp.LibraryNames.GTK_LIB">=0A=
<enum name=3D"AccelFlags" cname=3D"GtkAccelFlags" type=3D"flags">=0A=
<member cname=3D"GTK_ACCEL_VISIBLE" name=3D"Visible" value=3D"1 =
<< 0"/>=0A=
<member cname=3D"GTK_ACCEL_LOCKED" name=3D"Locked" value=3D"1 =
<< 1"/>=0A=
@@ -11667,7 +11667,7 @@=0A=
<static-string cname=3D"GTK_STOCK_ZOOM_OUT" name=3D"ZoomOut" =
value=3D"gtk-zoom-out"/>=0A=
</object>=0A=
</namespace>=0A=
- <namespace name=3D"Gtk" library=3D"gtkhtml-3.0">=0A=
+ <namespace name=3D"Gtk" library=3D"GtkSharp.LibraryNames.GTKHTML_LIB">=0A=
<enum name=3D"HTMLCommandType" cname=3D"GtkHTMLCommandType" =
type=3D"enum">=0A=
<member cname=3D"GTK_HTML_COMMAND_UNDO" name=3D"Undo"/>=0A=
<member cname=3D"GTK_HTML_COMMAND_REDO" name=3D"Redo"/>=0A=
Index: api/pango-api.xml=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/api/pango-api.xml,v=0A=
retrieving revision 1.2=0A=
diff -u -w -r1.2 pango-api.xml=0A=
--- api/pango-api.xml 1 Sep 2002 04:46:37 -0000 1.2=0A=
+++ api/pango-api.xml 9 Oct 2002 05:45:40 -0000=0A=
@@ -1,6 +1,6 @@=0A=
<?xml version=3D"1.0" encoding=3D"UTF-8"?>=0A=
<api>=0A=
- <namespace name=3D"Pango" library=3D"pango-1.0">=0A=
+ <namespace name=3D"Pango" library=3D"GtkSharp.LibraryNames.PANGO_LIB">=0A=
<enum name=3D"Alignment" cname=3D"PangoAlignment" type=3D"enum">=0A=
<member cname=3D"PANGO_ALIGN_LEFT" name=3D"Left"/>=0A=
<member cname=3D"PANGO_ALIGN_CENTER" name=3D"Center"/>=0A=
Index: generator/Ctor.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/generator/Ctor.cs,v=0A=
retrieving revision 1.9=0A=
diff -u -w -r1.9 Ctor.cs=0A=
--- generator/Ctor.cs 28 Aug 2002 20:58:01 -0000 1.9=0A=
+++ generator/Ctor.cs 9 Oct 2002 05:45:45 -0000=0A=
@@ -109,6 +109,9 @@=0A=
else
safety =3D "";
=20
+ if (libname.StartsWith ("GtkSharp"))=0A=
+ sw.WriteLine("\t\t[DllImport(" + libname + ")]");=0A=
+ else=0A=
sw.WriteLine("\t\t[DllImport(\"" + libname + "\")]");
sw.WriteLine("\t\tstatic extern " + safety + "IntPtr " + cname + =
isig);
sw.WriteLine();
Index: generator/Method.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/generator/Method.cs,v=0A=
retrieving revision 1.25=0A=
diff -u -w -r1.25 Method.cs=0A=
--- generator/Method.cs 12 Sep 2002 05:21:15 -0000 1.25=0A=
+++ generator/Method.cs 9 Oct 2002 05:45:45 -0000=0A=
@@ -293,6 +293,9 @@=0A=
=20
public void GenerateImport (StreamWriter sw)
{
+ if (libname.StartsWith ("GtkSharp"))=0A=
+ sw.WriteLine("\t\t[DllImport(" + libname + ")]");=0A=
+ else=0A=
sw.WriteLine("\t\t[DllImport(\"" + libname + "\")]");
sw.Write("\t\tstatic extern " + safety + m_ret + " " + cname + =
isig);
sw.WriteLine();
Index: generator/ObjectGen.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/generator/ObjectGen.cs,v=0A=
retrieving revision 1.38=0A=
diff -u -w -r1.38 ObjectGen.cs=0A=
--- generator/ObjectGen.cs 4 Sep 2002 05:25:57 -0000 1.38=0A=
+++ generator/ObjectGen.cs 9 Oct 2002 05:45:45 -0000=0A=
@@ -247,7 +247,7 @@=0A=
=20
sw.WriteLine ("namespace GtkSharp {");
sw.WriteLine ();
- sw.WriteLine ("\tnamespace " + ns + " {");
+ sw.WriteLine ("\tnamespace " + ns + "Helper {");=0A=
sw.WriteLine ();
sw.WriteLine ("\tpublic class ObjectManager {");
sw.WriteLine ();
Index: generator/Parameters.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/generator/Parameters.cs,v=0A=
retrieving revision 1.19=0A=
diff -u -w -r1.19 Parameters.cs=0A=
--- generator/Parameters.cs 12 Sep 2002 20:25:29 -0000 1.19=0A=
+++ generator/Parameters.cs 9 Oct 2002 05:45:45 -0000=0A=
@@ -152,6 +152,10 @@=0A=
Console.Write("Name: " + name + " Type: " + type + " ");
return false;
}
+ if (cs_type =3D=3D "void" || m_type =3D=3D "void") {=0A=
+ Console.Write("Void marshal: " + name + " type: " + type + " ");=0A=
+ return false;=0A=
+ }=0A=
}
=09
return true;
Index: generator/SignalHandler.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/generator/SignalHandler.cs,v=0A=
retrieving revision 1.16=0A=
diff -u -w -r1.16 SignalHandler.cs=0A=
--- generator/SignalHandler.cs 20 Aug 2002 19:56:14 -0000 1.16=0A=
+++ generator/SignalHandler.cs 9 Oct 2002 05:45:46 -0000=0A=
@@ -15,6 +15,9 @@=0A=
=09
public static String GetName(XmlElement sig, string ns, bool =
generate)
{
+ string base_ns =3D ns;=0A=
+ ns =3D ns + "Signals";=0A=
+=0A=
XmlElement ret_elem =3D sig["return-type"];
if (ret_elem =3D=3D null) {
Console.Write("Missing return-type ");
@@ -82,7 +85,7 @@=0A=
return ns + "." + sname;
=20
char sep =3D Path.DirectorySeparatorChar;
- String dir =3D ".." + sep + ns.ToLower() + sep + "generated";
+ String dir =3D ".." + sep + base_ns.ToLower() + sep + "generated";=0A=
=20
if (!Directory.Exists(dir)) {
Directory.CreateDirectory(dir);
@@ -165,7 +168,7 @@=0A=
sw.WriteLine("\t\t}");
sw.WriteLine();
}
- sw.Write("\t\t[DllImport(\"gobject-2.0\")]");
+ sw.Write("\t\t[DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]");=0A=
sw.Write("\t\tstatic extern void g_signal_connect_data(");
sw.Write("IntPtr obj, String name, " + dname + " cb, int key, IntPtr =
p,");
sw.WriteLine(" int flags);");
Index: generator/makefile.win32=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/generator/makefile.win32,v=0A=
retrieving revision 1.2=0A=
diff -u -w -r1.2 makefile.win32=0A=
--- generator/makefile.win32 22 Jun 2002 22:12:50 -0000 1.2=0A=
+++ generator/makefile.win32 9 Oct 2002 05:45:46 -0000=0A=
@@ -2,7 +2,6 @@=0A=
=0A=
windows: *.cs=0A=
$(CSC) /unsafe /out:codegen.exe *.cs=0A=
- ./codegen gtkapi.xml=0A=
=0A=
docs: windows=0A=
=0A=
Index: glade/XML.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glade/XML.custom,v=0A=
retrieving revision 1.3=0A=
diff -u -w -r1.3 XML.custom=0A=
--- glade/XML.custom 15 Sep 2002 19:40:45 -0000 1.3=0A=
+++ glade/XML.custom 9 Oct 2002 05:45:46 -0000=0A=
@@ -7,7 +7,7 @@=0A=
// This code is inserted after the automatically generated code.=0A=
=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern string gtksharp_glade_xml_get_filename (IntPtr raw);=0A=
=0A=
/// <summary>Filename Property</summary>=0A=
Index: glib/GException.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glib/GException.cs,v=0A=
retrieving revision 1.3=0A=
diff -u -w -r1.3 GException.cs=0A=
--- glib/GException.cs 6 Oct 2002 02:12:04 -0000 1.3=0A=
+++ glib/GException.cs 9 Oct 2002 05:45:46 -0000=0A=
@@ -18,7 +18,7 @@=0A=
this.errptr =3D errptr;=0A=
}=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern string gtksharp_error_get_message (IntPtr errptr);=0A=
public override string Message {=0A=
get {=0A=
@@ -26,7 +26,7 @@=0A=
}=0A=
}=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern void g_clear_error (ref IntPtr errptr);=0A=
~GException ()=0A=
{=0A=
Index: glib/Idle.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glib/Idle.cs,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 Idle.cs=0A=
--- glib/Idle.cs 31 Aug 2002 20:37:51 -0000 1.1=0A=
+++ glib/Idle.cs 9 Oct 2002 05:45:46 -0000=0A=
@@ -33,7 +33,7 @@=0A=
=0A=
public class Idle {=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern uint g_idle_add (IdleHandler d, IntPtr data);=0A=
=0A=
public static uint Add (IdleHandler hndlr)=0A=
Index: glib/List.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glib/List.cs,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 List.cs=0A=
--- glib/List.cs 1 Sep 2002 04:46:38 -0000 1.1=0A=
+++ glib/List.cs 9 Oct 2002 05:45:46 -0000=0A=
@@ -19,7 +19,7 @@=0A=
=0A=
public class List : ListBase {=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern IntPtr g_list_copy (IntPtr l);=0A=
=0A=
public override object Clone ()=0A=
@@ -27,7 +27,7 @@=0A=
return new List (g_list_copy (Handle));=0A=
}=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_list_get_data (IntPtr l);=0A=
=0A=
internal override IntPtr GetData (IntPtr current)=0A=
@@ -35,7 +35,7 @@=0A=
return gtksharp_list_get_data (current);=0A=
}=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_list_get_next (IntPtr l);=0A=
=0A=
internal override IntPtr Next (IntPtr current)=0A=
@@ -43,7 +43,7 @@=0A=
return gtksharp_list_get_next (current);=0A=
}=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern int g_list_length (IntPtr l);=0A=
=0A=
internal override int Length (IntPtr list)=0A=
@@ -51,7 +51,7 @@=0A=
return g_list_length (list);=0A=
}=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern void g_list_free(IntPtr l);=0A=
=0A=
internal override void Free (IntPtr list)=0A=
Index: glib/Object.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glib/Object.cs,v=0A=
retrieving revision 1.29=0A=
diff -u -w -r1.29 Object.cs=0A=
--- glib/Object.cs 12 Sep 2002 19:21:46 -0000 1.29=0A=
+++ glib/Object.cs 9 Oct 2002 05:45:46 -0000=0A=
@@ -53,7 +53,7 @@=0A=
disposed =3D true;=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_object_unref (IntPtr raw);=0A=
=0A=
protected virtual void DisposeNative ()=0A=
@@ -66,7 +66,7 @@=0A=
_obj =3D IntPtr.Zero;=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_object_ref (IntPtr raw);=0A=
=0A=
/// <summary>=0A=
@@ -261,7 +261,7 @@=0A=
Data [key] =3D val;=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_object_get_property (=0A=
IntPtr obj, string name, IntPtr val);=0A=
=0A=
@@ -278,7 +278,7 @@=0A=
g_object_get_property (Raw, name, val.Handle);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_object_set_property (=0A=
IntPtr obj, string name, IntPtr val);=0A=
=0A=
@@ -295,7 +295,7 @@=0A=
g_object_set_property (Raw, name, val.Handle);=0A=
}=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern bool gtksharp_is_object (IntPtr obj);=0A=
=0A=
internal static bool IsObject (IntPtr obj)=0A=
Index: glib/ObjectManager.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glib/ObjectManager.cs,v=0A=
retrieving revision 1.6=0A=
diff -u -w -r1.6 ObjectManager.cs=0A=
--- glib/ObjectManager.cs 5 Oct 2002 05:11:59 -0000 1.6=0A=
+++ glib/ObjectManager.cs 9 Oct 2002 05:45:46 -0000=0A=
@@ -12,7 +12,7 @@=0A=
=0A=
private static Hashtable types =3D new Hashtable ();=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern string gtksharp_get_type_name (IntPtr raw);=0A=
=0A=
public static GLib.Object CreateObject (IntPtr raw)=0A=
@@ -81,13 +81,13 @@=0A=
return expected_string;=0A=
}=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern int gtksharp_get_type_id (IntPtr raw);=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern int gtksharp_get_parent_type (int typ);=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern string gtksharp_get_type_name_for_id (int typ);=0A=
=0A=
static Type GetValidParentType (IntPtr raw)=0A=
Index: glib/SList.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glib/SList.cs,v=0A=
retrieving revision 1.9=0A=
diff -u -w -r1.9 SList.cs=0A=
--- glib/SList.cs 1 Sep 2002 04:46:38 -0000 1.9=0A=
+++ glib/SList.cs 9 Oct 2002 05:45:46 -0000=0A=
@@ -19,7 +19,7 @@=0A=
=0A=
public class SList : ListBase {=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern IntPtr g_slist_copy (IntPtr l);=0A=
=0A=
public override object Clone ()=0A=
@@ -27,7 +27,7 @@=0A=
return new SList (g_slist_copy (Handle));=0A=
}=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_slist_get_data (IntPtr l);=0A=
=0A=
internal override IntPtr GetData (IntPtr current)=0A=
@@ -35,7 +35,7 @@=0A=
return gtksharp_slist_get_data (current);=0A=
}=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_slist_get_next (IntPtr l);=0A=
=0A=
internal override IntPtr Next (IntPtr current)=0A=
@@ -43,7 +43,7 @@=0A=
return gtksharp_slist_get_next (current);=0A=
}=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern int g_slist_length (IntPtr l);=0A=
=0A=
internal override int Length (IntPtr list)=0A=
@@ -51,7 +51,7 @@=0A=
return g_slist_length (list);=0A=
}=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern void g_slist_free(IntPtr l);=0A=
=0A=
internal override void Free (IntPtr list)=0A=
Index: glib/Timeout.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glib/Timeout.cs,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 Timeout.cs=0A=
--- glib/Timeout.cs 6 Jun 2002 23:17:10 -0000 1.1=0A=
+++ glib/Timeout.cs 9 Oct 2002 05:45:46 -0000=0A=
@@ -32,7 +32,7 @@=0A=
=0A=
public class Timeout {=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern uint g_timeout_add (uint interval, TimeoutHandler d, =
IntPtr data);=0A=
=0A=
public static uint Add (uint interval, TimeoutHandler hndlr)=0A=
Index: glib/Value.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glib/Value.cs,v=0A=
retrieving revision 1.18=0A=
diff -u -w -r1.18 Value.cs=0A=
--- glib/Value.cs 5 Oct 2002 05:11:59 -0000 1.18=0A=
+++ glib/Value.cs 9 Oct 2002 05:45:47 -0000=0A=
@@ -26,7 +26,7 @@=0A=
// Destructor is required since we are allocating unmanaged=0A=
// heap resources.=0A=
=0A=
- [DllImport("glib-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GLIB_LIB)]=0A=
static extern void g_free (IntPtr mem);=0A=
=0A=
~Value ()=0A=
@@ -37,10 +37,10 @@=0A=
=0A=
// import the glue function to allocate values on heap=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_value_create(TypeFundamentals type);=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_value_create_from_property(IntPtr obj, =
string name);=0A=
=0A=
// Constructor to wrap a raw GValue ref. We need the dummy param=0A=
@@ -78,7 +78,7 @@=0A=
_val =3D gtksharp_value_create_from_property (obj, prop_name);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_boolean (IntPtr val,=0A=
bool data);=0A=
=0A=
@@ -96,7 +96,7 @@=0A=
g_value_set_boolean (_val, val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_boxed (IntPtr val, IntPtr data);=0A=
=0A=
/// <summary>=0A=
@@ -125,7 +125,7 @@=0A=
g_value_set_boxed (_val, val.Handle);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_double (IntPtr val, double data);=0A=
=0A=
/// <summary>=0A=
@@ -142,7 +142,7 @@=0A=
g_value_set_double (_val, val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_float (IntPtr val, float data);=0A=
=0A=
/// <summary>=0A=
@@ -159,7 +159,7 @@=0A=
g_value_set_float (_val, val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_int (IntPtr val, int data);=0A=
=0A=
/// <summary>=0A=
@@ -176,7 +176,7 @@=0A=
g_value_set_int (_val, val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_object (IntPtr val, IntPtr data);=0A=
=0A=
/// <summary>=0A=
@@ -193,7 +193,7 @@=0A=
g_value_set_object (_val, val.Handle);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_pointer (IntPtr val, IntPtr data);=0A=
=0A=
/// <summary>=0A=
@@ -210,7 +210,7 @@=0A=
g_value_set_pointer (_val, val); =0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_string (IntPtr val, string data);=0A=
=0A=
/// <summary>=0A=
@@ -227,7 +227,7 @@=0A=
g_value_set_string (_val, val); =0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_uint (IntPtr val, uint data);=0A=
=0A=
/// <summary>=0A=
@@ -244,9 +244,9 @@=0A=
g_value_set_uint (_val, val); =0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_enum (IntPtr val, int data);=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern void g_value_set_flags (IntPtr val, uint data);=0A=
=0A=
/// <summary>=0A=
@@ -266,7 +266,7 @@=0A=
g_value_set_enum (_val, (int) wrap); =0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern bool g_value_get_boolean (IntPtr val);=0A=
=0A=
/// <summary>=0A=
@@ -286,7 +286,7 @@=0A=
return g_value_get_boolean (val._val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern IntPtr g_value_get_boxed (IntPtr val);=0A=
=0A=
public static explicit operator GLib.Opaque (Value val)=0A=
@@ -309,7 +309,7 @@=0A=
return new GLib.Boxed (g_value_get_boxed (val._val));=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern double g_value_get_double (IntPtr val);=0A=
=0A=
/// <summary>=0A=
@@ -329,7 +329,7 @@=0A=
return g_value_get_double (val._val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern float g_value_get_float (IntPtr val);=0A=
=0A=
/// <summary>=0A=
@@ -349,7 +349,7 @@=0A=
return g_value_get_float (val._val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern int g_value_get_int (IntPtr val);=0A=
=0A=
/// <summary>=0A=
@@ -369,7 +369,7 @@=0A=
return g_value_get_int (val._val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern IntPtr g_value_get_object (IntPtr val);=0A=
=0A=
/// <summary>=0A=
@@ -407,7 +407,7 @@=0A=
return new UnwrappedObject(g_value_get_object (val._val));=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern IntPtr g_value_get_pointer (IntPtr val);=0A=
=0A=
/// <summary>=0A=
@@ -427,7 +427,7 @@=0A=
return g_value_get_pointer (val._val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern string g_value_get_string (IntPtr val);=0A=
=0A=
/// <summary>=0A=
@@ -447,7 +447,7 @@=0A=
return g_value_get_string (val._val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern uint g_value_get_uint (IntPtr val);=0A=
=0A=
/// <summary>=0A=
@@ -467,9 +467,14 @@=0A=
return g_value_get_uint (val._val);=0A=
}=0A=
=0A=
- [DllImport("gobject-2.0")]=0A=
+ public static explicit operator ushort (Value val)=0A=
+ {=0A=
+ return (ushort) (uint) val;=0A=
+ }=0A=
+=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern int g_value_get_enum (IntPtr val);=0A=
- [DllImport("gobject-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GOBJECT_LIB)]=0A=
static extern uint g_value_get_flags (IntPtr val);=0A=
=0A=
/// <summary>=0A=
Index: glue/canvas-proxy-marshal.c=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/glue/canvas-proxy-marshal.c,v=0A=
retrieving revision 1.3=0A=
diff -u -w -r1.3 canvas-proxy-marshal.c=0A=
--- glue/canvas-proxy-marshal.c 30 Sep 2002 02:21:06 -0000 1.3=0A=
+++ glue/canvas-proxy-marshal.c 9 Oct 2002 05:45:47 -0000=0A=
@@ -1,7 +1,6 @@=0A=
=0A=
#include <glib-object.h>=0A=
=0A=
-=0A=
#ifdef G_ENABLE_DEBUG=0A=
#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)=0A=
#define g_marshal_value_peek_char(v) g_value_get_char (v)=0A=
Index: gnome/CanvasItem.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gnome/CanvasItem.custom,v=0A=
retrieving revision 1.2=0A=
diff -u -w -r1.2 CanvasItem.custom=0A=
--- gnome/CanvasItem.custom 6 Aug 2002 15:52:32 -0000 1.2=0A=
+++ gnome/CanvasItem.custom 9 Oct 2002 05:45:47 -0000=0A=
@@ -17,7 +17,7 @@=0A=
Raw =3D gnome_canvas_item_new (group.Handle, type, IntPtr.Zero);=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gnome_canvas_item_get_canvas (IntPtr i);=0A=
public Canvas Canvas {=0A=
get { return new Gnome.Canvas (gtksharp_gnome_canvas_item_get_canvas =
(this.Handle)); }=0A=
Index: gnome/CanvasPoints.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gnome/CanvasPoints.custom,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 CanvasPoints.custom=0A=
--- gnome/CanvasPoints.custom 12 Aug 2002 19:14:43 -0000 1.1=0A=
+++ gnome/CanvasPoints.custom 9 Oct 2002 05:45:47 -0000=0A=
@@ -8,7 +8,7 @@=0A=
// This code is inserted after the automatically generated code.=0A=
//=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern System.IntPtr=0A=
gtksharp_gnome_canvas_points_new_from_array (uint num_points, double[] =
coords);=0A=
=0A=
Index: gnome/Program.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gnome/Program.custom,v=0A=
retrieving revision 1.4=0A=
diff -u -w -r1.4 Program.custom=0A=
--- gnome/Program.custom 30 Jul 2002 23:02:11 -0000 1.4=0A=
+++ gnome/Program.custom 9 Oct 2002 05:45:47 -0000=0A=
@@ -17,7 +17,7 @@=0A=
public IntPtr value;=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern System.IntPtr=0A=
gtksharp_gnome_program_init (string app_id, string app_version, ref =
ModuleInfo module, int argc, string[] argv, int nargs, PropertyArg[] =
args);=0A=
=0A=
Index: gtk/Adjustment.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/Adjustment.custom,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 Adjustment.custom=0A=
--- gtk/Adjustment.custom 11 Aug 2002 22:48:00 -0000 1.1=0A=
+++ gtk/Adjustment.custom 9 Oct 2002 05:45:47 -0000=0A=
@@ -4,7 +4,7 @@=0A=
// This code is inserted after the automatically generated code.=0A=
//=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern void gtksharp_gtk_adjustment_set_bounds (IntPtr i, double =
lower, double upper, double step_increment, double page_increment, =
double page_size);=0A=
=0A=
/// <summary>Sets the Adjustment boundaries</summary>=0A=
Index: gtk/Application.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/Application.cs,v=0A=
retrieving revision 1.7=0A=
diff -u -w -r1.7 Application.cs=0A=
--- gtk/Application.cs 31 Aug 2002 20:37:52 -0000 1.7=0A=
+++ gtk/Application.cs 9 Oct 2002 05:45:47 -0000=0A=
@@ -23,7 +23,7 @@=0A=
=0A=
public class Application {=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_init (int argc, IntPtr argv);=0A=
=0A=
public static void Init ()=0A=
@@ -31,7 +31,7 @@=0A=
gtk_init (0, new IntPtr(0));=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_init (ref int argc, ref String[] argv);=0A=
=0A=
/// <summary>=0A=
@@ -48,7 +48,7 @@=0A=
gtk_init (ref argc, ref args);=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_main ();=0A=
=0A=
/// <summary>=0A=
@@ -64,7 +64,7 @@=0A=
gtk_main ();=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern bool gtk_events_pending ();=0A=
=0A=
/// <summary>=0A=
@@ -80,7 +80,7 @@=0A=
return gtk_events_pending ();=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_main_iteration ();=0A=
=0A=
/// <summary>=0A=
@@ -96,7 +96,7 @@=0A=
gtk_main_iteration ();=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_main_quit ();=0A=
=0A=
/// <summary>=0A=
Index: gtk/ColorSelectionDialog.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/ColorSelectionDialog.custom,v=0A=
retrieving revision 1.2=0A=
diff -u -w -r1.2 ColorSelectionDialog.custom=0A=
--- gtk/ColorSelectionDialog.custom 13 Aug 2002 14:01:14 -0000 1.2=0A=
+++ gtk/ColorSelectionDialog.custom 9 Oct 2002 05:45:47 -0000=0A=
@@ -20,25 +20,25 @@=0A=
}=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_color_selection_dialog_get_colorsel =
(IntPtr i);=0A=
public Gtk.ColorSelection ColorSelection {=0A=
get { return new Gtk.ColorSelection =
(gtksharp_color_selection_dialog_get_colorsel (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_color_selection_dialog_get_ok_button =
(IntPtr i);=0A=
public Gtk.Button OkButton {=0A=
get { return new Button (this, =
gtksharp_color_selection_dialog_get_ok_button (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_color_selection_dialog_get_cancel_button =
(IntPtr i);=0A=
public Gtk.Button CancelButton {=0A=
get { return new Button (this, =
gtksharp_color_selection_dialog_get_cancel_button (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_color_selection_dialog_get_help_button =
(IntPtr i);=0A=
public Gtk.Button HelpButton {=0A=
get { return new Button (this, =
gtksharp_color_selection_dialog_get_help_button (this.Handle)); }=0A=
Index: gtk/Dialog.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/Dialog.custom,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 Dialog.custom=0A=
--- gtk/Dialog.custom 11 Jul 2002 13:18:36 -0000 1.1=0A=
+++ gtk/Dialog.custom 9 Oct 2002 05:45:47 -0000=0A=
@@ -8,13 +8,13 @@=0A=
// This code is inserted after the automatically generated code.=0A=
//=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_dialog_get_vbox (IntPtr i);=0A=
public Gtk.VBox VBox {=0A=
get { return new Gtk.VBox (gtksharp_dialog_get_vbox (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_dialog_get_action_area (IntPtr i);=0A=
public Gtk.VBox ActionArea {=0A=
get { return new Gtk.VBox (gtksharp_dialog_get_action_area =
(this.Handle)); }=0A=
Index: gtk/FileSelection.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/FileSelection.custom,v=0A=
retrieving revision 1.5=0A=
diff -u -w -r1.5 FileSelection.custom=0A=
--- gtk/FileSelection.custom 4 Oct 2002 18:52:03 -0000 1.5=0A=
+++ gtk/FileSelection.custom 9 Oct 2002 05:45:47 -0000=0A=
@@ -21,73 +21,73 @@=0A=
}=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_dir_list (IntPtr i);=0A=
public Gtk.TreeView DirList {=0A=
get { return new Gtk.TreeView (gtksharp_file_selection_get_dir_list =
(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_file_list (IntPtr i);=0A=
public Gtk.TreeView FileList {=0A=
get { return new Gtk.TreeView (gtksharp_file_selection_get_file_list =
(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_selection_entry =
(IntPtr i);=0A=
public Gtk.Entry SelectionEntry {=0A=
get { return new Gtk.Entry =
(gtksharp_file_selection_get_selection_entry (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_selection_text (IntPtr =
i);=0A=
public Gtk.Label SelectionText {=0A=
get { return new Gtk.Label (gtksharp_file_selection_get_selection_text =
(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_ok_button (IntPtr i);=0A=
public Gtk.Button OkButton {=0A=
get { return new Button (this, gtksharp_file_selection_get_ok_button =
(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_cancel_button (IntPtr =
i);=0A=
public Gtk.Button CancelButton {=0A=
get { return new Button (this, =
gtksharp_file_selection_get_cancel_button (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_help_button (IntPtr i);=0A=
public Gtk.Button HelpButton {=0A=
get { return new Button (this, gtksharp_file_selection_get_help_button =
(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_history_pulldown =
(IntPtr i);=0A=
public Gtk.OptionMenu HistoryPulldown {=0A=
get { return new Gtk.OptionMenu =
(gtksharp_file_selection_get_history_pulldown (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_history_menu (IntPtr =
i);=0A=
public Gtk.Menu HistoryMenu {=0A=
get { return new Gtk.Menu (gtksharp_file_selection_get_history_menu =
(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_fileop_dialog (IntPtr =
i);=0A=
public Gtk.MessageDialog FileopDialog {=0A=
get { return new Gtk.MessageDialog =
(gtksharp_file_selection_get_fileop_dialog (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_fileop_entry (IntPtr =
i);=0A=
public Gtk.Entry FileopEntry {=0A=
get { return new Gtk.Entry (gtksharp_file_selection_get_fileop_entry =
(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue", CallingConvention=3DCallingConvention.Cdecl)]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB, =
CallingConvention=3DCallingConvention.Cdecl)]=0A=
static extern string gtksharp_file_selection_get_fileop_file (IntPtr i);=0A=
public string FileopFile {=0A=
get {=0A=
@@ -95,31 +95,31 @@=0A=
}=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_fileop_c_dir (IntPtr =
i);=0A=
public Gtk.Button FileopCDir {=0A=
get { return new Button (this, =
gtksharp_file_selection_get_fileop_c_dir(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_fileop_del_file =
(IntPtr i);=0A=
public Gtk.Button FileopDelFile {=0A=
get { return new Button (this, =
gtksharp_file_selection_get_fileop_del_file (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_fileop_ren_file =
(IntPtr i);=0A=
public Gtk.Button FileopRenFile {=0A=
get { return new Button (this, =
gtksharp_file_selection_get_fileop_ren_file (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_button_area (IntPtr i);=0A=
public Gtk.HButtonBox ButtonArea {=0A=
get { return new Gtk.HButtonBox =
(gtksharp_file_selection_get_button_area (this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_file_selection_get_action_area (IntPtr i);=0A=
public new Gtk.HButtonBox ActionArea {=0A=
get { return new Gtk.HButtonBox =
(gtksharp_file_selection_get_action_area (this.Handle)); }=0A=
Index: gtk/ListStore.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/ListStore.custom,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 ListStore.custom=0A=
--- gtk/ListStore.custom 10 Aug 2002 23:40:20 -0000 1.1=0A=
+++ gtk/ListStore.custom 9 Oct 2002 05:45:47 -0000=0A=
@@ -6,7 +6,7 @@=0A=
//=0A=
// This code is inserted after the automatically generated code.=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern bool gtk_tree_model_iter_children (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent);=0A=
public bool IterChildren (out Gtk.TreeIter iter) {=0A=
bool raw_ret =3D gtk_tree_model_iter_children (Handle, out iter, =
IntPtr.Zero);=0A=
@@ -14,7 +14,7 @@=0A=
return ret;=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern int gtk_tree_model_iter_n_children (IntPtr raw, IntPtr =
iter);=0A=
public int IterNChildren () {=0A=
int raw_ret =3D gtk_tree_model_iter_n_children (Handle, IntPtr.Zero);=0A=
@@ -22,7 +22,7 @@=0A=
return ret;=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent, int n);=0A=
public bool IterNthChild (out Gtk.TreeIter iter, int n) {=0A=
bool raw_ret =3D gtk_tree_model_iter_nth_child (Handle, out iter, =
IntPtr.Zero, n);=0A=
Index: gtk/MessageDialog.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/MessageDialog.custom,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 MessageDialog.custom=0A=
--- gtk/MessageDialog.custom 2 Oct 2002 19:38:43 -0000 1.1=0A=
+++ gtk/MessageDialog.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -1,4 +1,4 @@=0A=
-[DllImport ("gtk-x11-2.0")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern IntPtr gtk_message_dialog_new (IntPtr parent_window, =
DialogFlags flags, MessageType type, ButtonsType bt, string msg, params =
object [] args);=0A=
=0A=
public MessageDialog (Gtk.Window parent_window, DialogFlags flags, =
MessageType type, ButtonsType bt, string msg)=0A=
Index: gtk/Object.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/Object.custom,v=0A=
retrieving revision 1.2=0A=
diff -u -w -r1.2 Object.custom=0A=
--- gtk/Object.custom 12 Sep 2002 05:21:16 -0000 1.2=0A=
+++ gtk/Object.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -7,7 +7,7 @@=0A=
// This code is inserted after the automatically generated code.=0A=
=0A=
=0A=
- [DllImport("gtksharpglue")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern void gtksharp_object_unref_if_floating (IntPtr raw);=0A=
=0A=
protected override void DisposeNative ()=0A=
Index: gtk/Paned.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/Paned.custom,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 Paned.custom=0A=
--- gtk/Paned.custom 19 Jul 2002 07:54:33 -0000 1.1=0A=
+++ gtk/Paned.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -8,14 +8,14 @@=0A=
// This code is inserted after the automatically generated code.=0A=
//=0A=
=0A=
-[DllImport ("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_paned_get_child1 (IntPtr i);=0A=
=0A=
public Gtk.Widget Child1 {=0A=
get { return new Widget (gtksharp_paned_get_child1 =
(this.Handle)); }=0A=
}=0A=
=0A=
-[DllImport ("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_paned_get_child2 (IntPtr i);=0A=
=0A=
public Gtk.Widget Child2 {=0A=
Index: gtk/Style.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/Style.custom,v=0A=
retrieving revision 1.3=0A=
diff -u -w -r1.3 Style.custom=0A=
--- gtk/Style.custom 8 Oct 2002 07:48:43 -0000 1.3=0A=
+++ gtk/Style.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -17,21 +17,21 @@=0A=
return ret;=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_style_get_white_gc (IntPtr style);=0A=
=0A=
public Gdk.GC WhiteGC {=0A=
get { return EnsureGC (gtksharp_gtk_style_get_white_gc (Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_style_get_black_gc (IntPtr style);=0A=
=0A=
public Gdk.GC BlackGC {=0A=
get { return EnsureGC (gtksharp_gtk_style_get_black_gc (Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_style_get_fg_gc (IntPtr style, int i);=0A=
=0A=
public Gdk.GC ForegroundGC (StateType state)=0A=
@@ -51,7 +51,7 @@=0A=
}=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_style_get_bg_gc (IntPtr style, int i);=0A=
=0A=
public Gdk.GC BackgroundGC (StateType state)=0A=
@@ -71,21 +71,21 @@=0A=
}=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_style_get_white (IntPtr style);=0A=
=0A=
public Gdk.Color White {=0A=
get { return Gdk.Color.New (gtksharp_gtk_style_get_white (Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_style_get_black (IntPtr style);=0A=
=0A=
public Gdk.Color Black {=0A=
get { return Gdk.Color.New (gtksharp_gtk_style_get_black (Handle)); }=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_style_get_bg (IntPtr style, int i);=0A=
=0A=
public Gdk.Color Background (StateType state)=0A=
@@ -105,7 +105,7 @@=0A=
}=0A=
}=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_style_get_fg (IntPtr style, int i);=0A=
=0A=
public Gdk.Color Foreground (StateType state)=0A=
@@ -125,9 +125,9 @@=0A=
}=0A=
}=0A=
=0A=
-[DllImport ("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern int gtksharp_gtk_style_get_thickness (IntPtr style, int =
x_axis);=0A=
-[DllImport ("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern void gtksharp_gtk_style_set_thickness (IntPtr style, int =
value);=0A=
=0A=
public int XThickness {=0A=
Index: gtk/Table.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/Table.custom,v=0A=
retrieving revision 1.2=0A=
diff -u -w -r1.2 Table.custom=0A=
--- gtk/Table.custom 25 Aug 2002 05:51:21 -0000 1.2=0A=
+++ gtk/Table.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -1,4 +1,4 @@=0A=
-public Table()=0A=
-{=0A=
- Raw =3D gtk_table_new (0, 0, false);=0A=
-}=0A=
+//public Table()=0A=
+//{=0A=
+// Raw =3D gtk_table_new (0, 0, false);=0A=
+//}=0A=
Index: gtk/ThreadNotify.cs=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/ThreadNotify.cs,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 ThreadNotify.cs=0A=
--- gtk/ThreadNotify.cs 17 Aug 2002 19:53:51 -0000 1.1=0A=
+++ gtk/ThreadNotify.cs 9 Oct 2002 05:45:48 -0000=0A=
@@ -16,7 +16,7 @@=0A=
// <summary>=0A=
// This delegate will be invoked on the main Gtk thread.=0A=
// </summary>=0A=
- delegate void ReadyEvent ();=0A=
+ public delegate void ReadyEvent ();=0A=
=0A=
/// <summary>=0A=
/// Utility class to help writting multi-threaded Gtk applications=0A=
@@ -28,7 +28,7 @@=0A=
//=0A=
// DllImport functions from Gtk=0A=
//=0A=
- [DllImport ("gtk-x11-2.0")]=0A=
+ [DllImport (GtkSharp.LibraryNames.GTK_LIB)]=0A=
public static extern int gdk_input_add (int s, int cond, =
GdkInputFunction f, IntPtr data);=0A=
public delegate void GdkInputFunction (IntPtr data, int source, int =
cond);=0A=
=0A=
Index: gtk/TreeModelSort.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/TreeModelSort.custom,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 TreeModelSort.custom=0A=
--- gtk/TreeModelSort.custom 10 Aug 2002 23:40:20 -0000 1.1=0A=
+++ gtk/TreeModelSort.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -6,7 +6,7 @@=0A=
//=0A=
// This code is inserted after the automatically generated code.=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern bool gtk_tree_model_iter_children (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent);=0A=
public bool IterChildren (out Gtk.TreeIter iter) {=0A=
bool raw_ret =3D gtk_tree_model_iter_children (Handle, out iter, =
IntPtr.Zero);=0A=
@@ -14,7 +14,7 @@=0A=
return ret;=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern int gtk_tree_model_iter_n_children (IntPtr raw, IntPtr =
iter);=0A=
public int IterNChildren () {=0A=
int raw_ret =3D gtk_tree_model_iter_n_children (Handle, IntPtr.Zero);=0A=
@@ -22,7 +22,7 @@=0A=
return ret;=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent, int n);=0A=
public bool IterNthChild (out Gtk.TreeIter iter, int n) {=0A=
bool raw_ret =3D gtk_tree_model_iter_nth_child (Handle, out iter, =
IntPtr.Zero, n);=0A=
Index: gtk/TreeStore.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/TreeStore.custom,v=0A=
retrieving revision 1.1=0A=
diff -u -w -r1.1 TreeStore.custom=0A=
--- gtk/TreeStore.custom 10 Aug 2002 23:40:20 -0000 1.1=0A=
+++ gtk/TreeStore.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -15,7 +15,7 @@=0A=
/// Appends a row to the root level of the TreeStore.=0A=
/// </remarks>=0A=
=0A=
- [DllImport ("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_tree_store_append (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent);=0A=
=0A=
public void Append (out Gtk.TreeIter iter) {=0A=
@@ -31,7 +31,7 @@=0A=
/// the given position.=0A=
/// </remarks>=0A=
=0A=
- [DllImport ("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_tree_store_insert (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent, int position);=0A=
=0A=
public void Insert (out Gtk.TreeIter iter, int position) {=0A=
@@ -46,7 +46,7 @@=0A=
/// Prepends a row to the root level of the TreeStore.=0A=
/// </remarks>=0A=
=0A=
- [DllImport ("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_tree_store_prepend (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent);=0A=
=0A=
public void Prepend (out Gtk.TreeIter iter) {=0A=
@@ -62,7 +62,7 @@=0A=
/// given sibling.=0A=
/// </remarks>=0A=
=0A=
- [DllImport ("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_tree_store_insert_before (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent, ref Gtk.TreeIter sibling);=0A=
=0A=
public void InsertBefore (out Gtk.TreeIter iter, Gtk.TreeIter =
sibling) {=0A=
@@ -78,7 +78,7 @@=0A=
/// given sibling.=0A=
/// </remarks>=0A=
=0A=
- [DllImport ("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern void gtk_tree_store_insert_after (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent, ref Gtk.TreeIter sibling);=0A=
=0A=
public void InsertAfter (out Gtk.TreeIter iter, Gtk.TreeIter sibling) =
{=0A=
@@ -86,7 +86,7 @@=0A=
}=0A=
=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern bool gtk_tree_model_iter_children (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent);=0A=
public bool IterChildren (out Gtk.TreeIter iter) {=0A=
bool raw_ret =3D gtk_tree_model_iter_children (Handle, out iter, =
IntPtr.Zero);=0A=
@@ -94,7 +94,7 @@=0A=
return ret;=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern int gtk_tree_model_iter_n_children (IntPtr raw, IntPtr =
iter);=0A=
public int IterNChildren () {=0A=
int raw_ret =3D gtk_tree_model_iter_n_children (Handle, IntPtr.Zero);=0A=
@@ -102,7 +102,7 @@=0A=
return ret;=0A=
}=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out =
Gtk.TreeIter iter, IntPtr parent, int n);=0A=
public bool IterNthChild (out Gtk.TreeIter iter, int n) {=0A=
bool raw_ret =3D gtk_tree_model_iter_nth_child (Handle, out iter, =
IntPtr.Zero, n);=0A=
Index: gtk/TreeView.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/TreeView.custom,v=0A=
retrieving revision 1.4=0A=
diff -u -w -r1.4 TreeView.custom=0A=
--- gtk/TreeView.custom 4 Oct 2002 16:38:47 -0000 1.4=0A=
+++ gtk/TreeView.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -7,10 +7,10 @@=0A=
// This code is inserted after the automatically generated code.=0A=
=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern IntPtr gtk_tree_view_get_model (IntPtr raw);=0A=
=0A=
- [DllImport("gtk-x11-2.0")]=0A=
+ [DllImport(GtkSharp.LibraryNames.GTK_LIB)]=0A=
static extern IntPtr gtk_tree_view_set_model (IntPtr raw, IntPtr =
raw_model);=0A=
=0A=
/// <summary>Model Property</summary>=0A=
Index: gtk/Widget.custom=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/gtk/Widget.custom,v=0A=
retrieving revision 1.2=0A=
diff -u -w -r1.2 Widget.custom=0A=
--- gtk/Widget.custom 24 Sep 2002 03:21:37 -0000 1.2=0A=
+++ gtk/Widget.custom 9 Oct 2002 05:45:48 -0000=0A=
@@ -8,7 +8,7 @@=0A=
// This code is inserted after the automatically generated code.=0A=
//=0A=
=0A=
-[DllImport("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_widget_get_allocation (IntPtr style);=0A=
=0A=
public Gdk.Rectangle Allocation {=0A=
@@ -16,7 +16,7 @@=0A=
}=0A=
=0A=
=0A=
-[DllImport ("gtksharpglue")]=0A=
+[DllImport(GtkSharp.LibraryNames.GTKSHARPGLUE_LIB)]=0A=
static extern IntPtr gtksharp_gtk_widget_get_window (IntPtr widget);=0A=
public Gdk.Window GdkWindow {=0A=
get {=0A=
Index: sources/gtk-sharp.sources=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvs/public/gtk-sharp/sources/gtk-sharp.sources,v=0A=
retrieving revision 1.3=0A=
diff -u -w -r1.3 gtk-sharp.sources=0A=
--- sources/gtk-sharp.sources 11 Sep 2002 09:43:17 -0000 1.3=0A=
+++ sources/gtk-sharp.sources 9 Oct 2002 05:45:48 -0000=0A=
@@ -1,13 +1,13 @@=0A=
-atk-1.0.2/atk Atk atk-1.0 =0A=
-pango-1.0.3/pango Pango pango-1.0=0A=
-gtk+-2.0.5/gdk Gdk gdk-x11-2.0=0A=
-gtk+-2.0.5/gdk-pixbuf Gdk gdk_pixbuf-2.0=0A=
-gtk+-2.0.5/gtk Gtk gtk-x11-2.0=0A=
-libgnome-2.0.1/libgnome Gnome gnome-2=0A=
-libgnomecanvas-2.0.1/libgnomecanvas Gnome gnomecanvas-2=0A=
-libgnomeui-2.0.1/libgnomeui Gnome gnomeui-2=0A=
-gtkhtml/src Gtk gtkhtml-3.0=0A=
-libglade-2.0.0/glade Glade glade-2.0=0A=
-libart_lgpl-2.3.10 Art art_lgpl=0A=
-libgda-0.8.193/libgda Gda gda-2=0A=
-libgnomedb-0.8.193/libgnomedb GnomeDb gnomedb-2=0A=
+atk-1.0.2/atk Atk GtkSharp.LibraryNames.ATK_LIB=0A=
+pango-1.0.3/pango Pango GtkSharp.LibraryNames.PANGO_LIB=0A=
+gtk+-2.0.5/gdk Gdk GtkSharp.LibraryNames.GDK_LIB=0A=
+gtk+-2.0.5/gdk-pixbuf Gdk GtkSharp.LibraryNames.GDK_PIXBUF_LIB=0A=
+gtk+-2.0.5/gtk Gtk GtkSharp.LibraryNames.GTK_LIB=0A=
+libgnome-2.0.1/libgnome Gnome GtkSharp.LibraryNames.GNOME_LIB=0A=
+libgnomecanvas-2.0.1/libgnomecanvas Gnome =
GtkSharp.LibraryNames.GNOME_CANVAS_LIB=0A=
+libgnomeui-2.0.1/libgnomeui Gnome GtkSharp.LibraryNames.GNOMEUI_LIB=0A=
+gtkhtml/src Gtk GtkSharp.LibraryNames.GTKHTML_LIB=0A=
+libglade-2.0.0/glade Glade GtkSharp.LibraryNames.GLADE_LIB=0A=
+libart_lgpl-2.3.10 Art GtkSharp.LibraryNames.ART_LIB=0A=
+libgda-0.8.193/libgda Gda GtkSharp.LibraryNames.GDA_LIB=0A=
+libgnomedb-0.8.193/libgnomedb GnomeDb GtkSharp.LibraryNames.GNOMEDB_LIB=0A=
--- /dev/null 2002-10-08 22:47:41.000000000 -0700=0A=
+++ api/makefile.win32 2002-10-08 04:05:38.000000000 -0700=0A=
@@ -0,0 +1,7 @@=0A=
+=0A=
+all: generated-stamp=0A=
+=0A=
+generated-stamp: atk-api.xml gdk-api.xml gdk-symbols.xml gtk-api.xml =
gtk-symbols.xml pango-api.xml ../generator/codegen.exe=0A=
+ ../generator/codegen --generate atk-api.xml gdk-api.xml =
gdk-symbols.xml gtk-api.xml gtk-symbols.xml pango-api.xml=0A=
+ touch generated-stamp=0A=
+=0A=
--- /dev/null 2002-10-08 22:47:50.000000000 -0700=0A=
+++ glib/LibraryNames.cs 2002-10-08 22:37:01.000000000 -0700=0A=
@@ -0,0 +1,38 @@=0A=
+=0A=
+namespace GtkSharp {=0A=
+ public class LibraryNames {=0A=
+#if WIN32=0A=
+ public const string GTKSHARPGLUE_LIB =3D "gtksharpglue.dll";=0A=
+ public const string GLIB_LIB =3D "libglib-2.0-0.dll";=0A=
+ public const string GOBJECT_LIB =3D "libgobject-2.0-0.dll";=0A=
+ public const string ATK_LIB =3D "libatk-1.0-0.dll";=0A=
+ public const string PANGO_LIB =3D "libpango-1.0-0.dll";=0A=
+ public const string GDK_LIB =3D "libgdk-win32-2.0-0.dll";=0A=
+ public const string GDK_PIXBUF_LIB =3D "libgdk_pixbuf-2.0-0.dll";=0A=
+ public const string GTK_LIB =3D "libgtk-win32-2.0-0.dll";=0A=
+ public const string GNOME_LIB =3D "libgnome-2-0.dll";=0A=
+ public const string GNOMECANVAS_LIB =3D "libgnomecanvas-2-0.dll";=0A=
+ public const string GNOMEUI_LIB =3D "libgnomeui-2-0.dll";=0A=
+ public const string GTKHTML_LIB =3D "libgtkhtml-3.0-0.dll";=0A=
+ public const string GLADE_LIB =3D "libglade-2.0-0.dll";=0A=
+ public const string GDA_LIB =3D "libggda-2-0.dll";=0A=
+ public const string GNOMEDB_LIB =3D "libggnomedb-2-0.dll";=0A=
+#else=0A=
+ public const string GTKSHARPGLUE_LIB =3D "gtksharpglue";=0A=
+ public const string GLIB_LIB =3D "glib-2.0";=0A=
+ public const string GOBJECT_LIB =3D "gobject-2.0";=0A=
+ public const string ATK_LIB =3D "atk-1.0";=0A=
+ public const string PANGO_LIB =3D "pango-1.0";=0A=
+ public const string GDK_LIB =3D "gdk-x11-2.0";=0A=
+ public const string GDK_PIXBUF_LIB =3D "gdk-pixbuf-2.0";=0A=
+ public const string GTK_LIB =3D "gtk-x11-2.0";=0A=
+ public const string GNOME_LIB =3D "gnome-2";=0A=
+ public const string GNOMECANVAS_LIB =3D "gnomecanvas-2";=0A=
+ public const string GNOMEUI_LIB =3D "gnomeui-2";=0A=
+ public const string GTKHTML_LIB =3D "gtkhtml-3.0";=0A=
+ public const string GLADE_LIB =3D "glade-2.0";=0A=
+ public const string GDA_LIB =3D "gda-2";=0A=
+ public const string GNOMEDB_LIB =3D "gnomedb-2";=0A=
+#endif=0A=
+ }=0A=
+}=0A=
--- /dev/null 2002-10-08 22:48:00.000000000 -0700=0A=
+++ glue/makefile.win32 2002-10-08 22:30:31.000000000 -0700=0A=
@@ -0,0 +1,35 @@=0A=
+=0A=
+GTK_CFLAGS=3D`pkg-config --cflags gtk+-win32-2.0`=0A=
+GTK_LIBS=3D`pkg-config --libs gtk+-win32-2.0`=0A=
+CC=3Dgcc -b i686-pc-mingw32=0A=
+DLLWRAP=3Ddllwrap --mno-cygwin --target i386-mingw32 =
--export-all-symbols=0A=
+=0A=
+GLUE_OBJS =3D \=0A=
+ adjustment.o \=0A=
+ dialog.o \=0A=
+ error.o \=0A=
+ event.o \=0A=
+ fileselection.o \=0A=
+ list.o \=0A=
+ object.o \=0A=
+ paned.o \=0A=
+ slist.o \=0A=
+ style.o \=0A=
+ type.o \=0A=
+ value.o \=0A=
+ widget.o \=0A=
+ win32dll.o=0A=
+=0A=
+all: gtksharpglue.dll=0A=
+=0A=
+=0A=
+%.o: %.c=0A=
+ $(CC) -c $(CFLAGS) $(GTK_CFLAGS) -o $@ $^ =0A=
+=0A=
+=0A=
+gtksharpglue.dll: $(GLUE_OBJS)=0A=
+ $(DLLWRAP) --output-lib=3Dlibgtksharpglue.a =
--dllname=3Dgtksharpglue.dll --driver-name=3Dgcc =
--output-def=3Dgtksharpglue.def $(GLUE_OBJS) $(GTK_LIBS)=0A=
+=0A=
+=0A=
+clean:=0A=
+ rm -f gtksharpglue.dll *.o libgtksharpglue.a=0A=
--- /dev/null 2002-10-08 22:48:09.000000000 -0700=0A=
+++ glue/win32dll.c 2002-10-08 22:33:07.000000000 -0700=0A=
@@ -0,0 +1,16 @@=0A=
+=0A=
+#define WIN32_LEAN_AND_MEAN=0A=
+#include <windows.h>=0A=
+#undef WIN32_LEAN_AND_MEAN=0A=
+#include <stdio.h>=0A=
+=0A=
+BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)=0A=
+{=0A=
+ return TRUE;=0A=
+}=0A=
+=0A=
+=0A=
+BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID =
reserved)=0A=
+{=0A=
+ return TRUE;=0A=
+}=0A=
------=_NextPart_000_0019_01C278DB.8B4C2770--