gtk-sharp-2.12.10/0000777000175000001440000000000011345266756010575 500000000000000gtk-sharp-2.12.10/parser/0000777000175000001440000000000011345266754012067 500000000000000gtk-sharp-2.12.10/parser/gapi-2.0.pc.in0000644000175000001440000000014611131157063014133 00000000000000prefix=${pcfiledir}/../.. Name: GAPI Description: GObject .NET API Wrapping Tool Version: @VERSION@ gtk-sharp-2.12.10/parser/Makefile.am0000644000175000001440000000125511131157063014023 00000000000000assemblydir = $(prefix)/lib/gtk-sharp-2.0 pkgconfigdir = $(libdir)/pkgconfig assembly_DATA = gapi-fixup.exe gapi-parser.exe pkgconfig_DATA = gapi-2.0.pc bin_SCRIPTS = gapi2-fixup gapi2-parser assembly_SCRIPTS = gapi_pp.pl gapi2xml.pl CLEANFILES = gapi-fixup.exe gapi-parser.exe DISTCLEANFILES = gapi2-fixup gapi2-parser gapi-2.0.pc sources = \ gapi-fixup.cs \ gapi-parser.cs EXTRA_DIST = \ $(sources) \ gapi2-parser.in \ gapi_pp.pl \ gapi2xml.pl \ gapi-2.0.pc.in gapi-fixup.exe: $(srcdir)/gapi-fixup.cs $(CSC) /out:gapi-fixup.exe $(srcdir)/gapi-fixup.cs gapi-parser.exe: $(srcdir)/gapi-parser.cs $(CSC) /out:gapi-parser.exe $(srcdir)/gapi-parser.cs gtk-sharp-2.12.10/parser/gapi_pp.pl0000755000175000001440000001531311131157063013746 00000000000000#!/usr/bin/perl # # gapi_pp.pl : A source preprocessor for the extraction of API info from a # C library source directory. # # Authors: Mike Kestner # Martin Willemoes Hansen # # Copyright (c) 2001 Mike Kestner # Copyright (c) 2003 Martin Willemoes Hansen # Copyright (c) 2003-2004 Novell, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. $private_regex = '^#if.*(ENABLE_BACKEND|ENABLE_ENGINE)'; $eatit_regex = '^#if(.*(__cplusplus|DEBUG|DISABLE_COMPAT|ENABLE_BROKEN)|\s+0\s*$)'; $ignoreit_regex = '^\s+\*|#ident|#error|#\s*include|#\s*else|#\s*undef|G_(BEGIN|END)_DECLS|GDKVAR|GTKVAR|GTKMAIN_C_VAR|GTKTYPEUTILS_VAR|VARIABLE|GTKTYPEBUILTIN'; foreach $arg (@ARGV) { if (-d $arg && -e $arg) { @hdrs = (@hdrs, `ls $arg/*.h`); @srcs = (@srcs, `ls $arg/*.c`); } elsif (-f $arg && -e $arg) { @hdrs = (@hdrs, $arg) if ($arg =~ /\.h$/); @srcs = (@srcs, $arg) if ($arg =~ /\.c$/); } else { die "unable to process arg: $arg"; } } foreach $fname (@hdrs) { if ($fname =~ /test|private|internals|gtktextlayout|gtkmarshalers/) { @privhdrs = (@privhdrs, $fname); next; } open(INFILE, $fname) || die "Could open $fname\n"; $braces = 0; $deprecated = -1; $ifdeflevel = 0; $prepend = ""; while ($line = ) { $braces++ if ($line =~ /{/ and $line !~ /}/); $braces-- if ($line =~ /}/ and $line !~ /{/); next if ($line =~ /$ignoreit_regex/); $line =~ s/\/\*[^<].*?\*\///g; next if ($line !~ /\S/); $line = $prepend . $line; $prepend = ""; while ($line =~ /(.*)\\$/) { $line = $1 . ; } if ($line =~ /#\s*define\s+\w+\s+\"/) { $def = $line; while ($def !~ /\".*\"/) {$def .= ($line = );} print $def; } elsif ($line =~ /#\s*define\s+\w+\s*\D+/) { $def = $line; while ($line =~ /\\\n/) {$def .= ($line = );} if ($def =~ /_CHECK_\w*CAST|INSTANCE_GET_INTERFACE/) { $def =~ s/\\\n//g; print $def; } } elsif ($line =~ /^\s*\/\*[^<]/) { while ($line !~ /\*\//) {$line = ;} } elsif ($line =~ /^extern/) { while ($line !~ /;/) {$line = ;} } elsif ($line =~ /^#ifndef\s+\w+_H_*\b/) { while ($line !~ /#define|#endif/) {$line = ;} } elsif ($line =~ /$private_regex/) { $nested = 0; while ($line = ) { last if (!$nested && ($line =~ /#else|#endif/)); if ($line =~ /#if/) { $nested++; } elsif ($line =~ /#endif/) { $nested-- } next if ($line !~ /^struct/); print "private$line"; do { $line = ; print $line; } until ($line =~ /^\}/); } } elsif ($line =~ /$eatit_regex/) { $nested = 0; while ($line = ) { last if (!$nested && ($line =~ /#else|#endif/)); if ($line =~ /#if/) { $nested++; } elsif ($line =~ /#endif/) { $nested-- } } } elsif ($line =~ /^#\s*ifn?\s*\!?def/) { $ifdeflevel++; #print "#ifn?def ($ifdeflevel): $line\n"; if ($line =~ /#ifndef.*DISABLE_DEPRECATED/) { $deprecated = $ifdeflevel; } elsif ($line =~ /#if !defined.*DISABLE_DEPRECATED/) { $deprecated = $ifdeflevel; } } elsif ($line =~ /^#\s*endif/) { #print "#endif ($ifdeflevel): $line\n"; if ($deprecated == $ifdeflevel) { $deprecated = -1; } $ifdeflevel--; } elsif ($line =~ /typedef struct\s*\{?\s*$/) { while ($line !~ /{/) { chomp ($line); $line .= ; } my $first_line = $line; my @lines = (); $line = ; while ($line !~ /^}\s*(\w+);/) { if ($line =~ /\(.*\).*\(/) { while ($line !~ /;/) { chomp ($line); $nxt = ; $nxt =~ s/^\s+/ /; $line .= $nxt; } } push @lines, $line; $line = ; } $line =~ /^}\s*(\w+);/; my $name = $1; print "typedef struct _$name $name;\n"; print "struct _$name {\n"; foreach $line (@lines) { if ($line =~ /(\s*.+\;)/) { $field = $1; $field =~ s/(\w+) const/const $1/; print "$field\n"; } } print "};\n"; } elsif ($line =~ /^enum\s+\{/) { while ($line !~ /^};/) {$line = ;} } elsif ($line =~ /^(typedef\s+)?union/) { next if ($line =~ /^typedef\s+union\s+\w+\s+\w+;/); while ($line !~ /^};/) {$line = ;} } elsif ($line =~ /(\s+)union\s*{/) { # this is a hack for now, but I need it for the fields to work $indent = $1; $do_print = 1; while ($line !~ /^$indent}\s*\w+;/) { $line = ; next if ($line !~ /;/); print $line if $do_print; $do_print = 0; } } else { if ($braces or $line =~ /;|\/\*/) { if ($deprecated == -1) { print $line; } else { print "deprecated$line"; } } else { $prepend = $line; $prepend =~ s/\n/ /g; } } } } foreach $fname (@srcs, @privhdrs) { open(INFILE, $fname) || die "Could open $fname\n"; if ($fname =~ /builtins_ids/) { while ($line = ) { next if ($line !~ /\{/); chomp($line); $builtin = "BUILTIN" . $line; $builtin .= ; print $builtin; } next; } while ($line = ) { next if ($line !~ /^(struct|\w+_class_init|\w+_base_init|\w+_get_type\b|G_DEFINE_TYPE_WITH_CODE)/); if ($line =~ /^G_DEFINE_TYPE_WITH_CODE/) { my $macro; my $parens = 0; do { chomp ($line); $line =~ s/(.*)\\$/\1/; $line =~ s/^\s+(.*)/ \1/; $macro .= $line; foreach $chr (split (//, $line)) { if ($chr eq "(") { $parens++; } elsif ($chr eq ")") { $parens--; } } $line = ; } while ($parens > 0); print "$macro\n"; next if ($line !~ /^(struct|\w+_class_init|\w+_base_init)/); } if ($line =~ /^struct/) { # need some of these to parse out parent types print "private"; if ($line =~ /;/) { print $line; next; } } $comment = 0; $begin = 0; $end = 0; do { # Following ifs strips out // and /* */ C comments if ($line =~ /\/\*/) { $comment = 1; $begin = 1; } if ($comment != 1) { $line =~ s/\/\/.*//; print $line; } if ($line =~ /\*\//) { $comment = 0; $end = 1; } if ($begin == 1 && $end == 1) { $line =~ s/\/\*.*\*\///; print $line; } $begin = 0; $end = 0; } until (($line = ) =~ /^}/); print $line; } } gtk-sharp-2.12.10/parser/gapi-parser.cs0000644000175000001440000001230411131157063014525 00000000000000// gapi-parser.cs - parsing driver application. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Parsing { using System; using System.Collections; using System.IO; using System.Runtime.InteropServices; using System.Xml; public class Parser { [DllImport ("libc")] static extern int system (string command); public static int Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: gapi2-parser "); return 0; } XmlDocument src_doc = new XmlDocument (); try { using (Stream stream = File.OpenRead (args [0])) src_doc.Load (stream); } catch (XmlException e) { Console.WriteLine ("Couldn't open source file."); Console.WriteLine (e); return 1; } XmlNode root = src_doc.DocumentElement; if (root.Name != "gapi-parser-input") { Console.WriteLine ("Improperly formatted input file: " + args [0]); return 1; } foreach (XmlNode apinode in root.ChildNodes) { if (apinode.Name != "api") continue; string outfile = (apinode as XmlElement).GetAttribute ("filename"); string prefile = outfile + ".pre"; if (File.Exists (prefile)) File.Delete (prefile); foreach (XmlNode libnode in apinode.ChildNodes) { if (libnode.Name != "library") continue; string lib = (libnode as XmlElement).GetAttribute ("name"); foreach (XmlNode nsnode in libnode.ChildNodes) { if (nsnode.Name != "namespace") continue; string ns = (nsnode as XmlElement).GetAttribute ("name"); ArrayList files = new ArrayList (); Hashtable excludes = new Hashtable (); foreach (XmlNode srcnode in nsnode.ChildNodes) { if (!(srcnode is XmlElement)) continue; XmlElement elem = srcnode as XmlElement; switch (srcnode.Name) { case "dir": string dir = elem.InnerXml; Console.Write (" ", dir); DirectoryInfo di = new DirectoryInfo (dir); foreach (FileInfo file in di.GetFiles ("*.c")) files.Add (dir + Path.DirectorySeparatorChar + file.Name); foreach (FileInfo file in di.GetFiles ("*.h")) files.Add (dir + Path.DirectorySeparatorChar + file.Name); break; case "file": string incfile = elem.InnerXml; Console.Write (" ", incfile); files.Add (incfile); break; case "exclude": string excfile = elem.InnerXml; Console.Write (" ", excfile); excludes [excfile] = 1; break; case "directory": string dir_path = elem.GetAttribute ("path"); Console.Write (" "); break; default: Console.WriteLine ("Invalid source: " + srcnode.Name); break; } } Console.WriteLine (); if (files.Count == 0) continue; ArrayList realfiles = new ArrayList (); foreach (string file in files) { string trimfile = file.TrimEnd (); if (excludes.Contains (trimfile)) continue; realfiles.Add (trimfile); } string[] filenames = (string[]) realfiles.ToArray (typeof (string)); string pp_args = String.Join (" ", filenames); system ("gapi_pp.pl " + pp_args + " | gapi2xml.pl " + ns + " " + prefile + " " + lib); } } XmlDocument final = new XmlDocument (); final.Load (prefile); XmlTextWriter writer = new XmlTextWriter (outfile, null); writer.Formatting = Formatting.Indented; final.Save (writer); File.Delete (prefile); } return 0; } } } gtk-sharp-2.12.10/parser/gapi2xml.pl0000755000175000001440000010014411131157063014047 00000000000000#!/usr/bin/perl # # gapi2xml.pl : Generates an XML representation of GObject based APIs. # # Author: Mike Kestner # # Copyright (c) 2001-2003 Mike Kestner # Copyright (c) 2003-2004 Novell, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. ############################################################## $debug=$ENV{'GAPI_DEBUG'}; use XML::LibXML; if (!$ARGV[2]) { die "Usage: gapi_pp.pl | gapi2xml.pl \n"; } $ns = $ARGV[0]; $libname = $ARGV[2]; ############################################################## # Check if the filename provided exists. We parse existing files into # a tree and append the namespace to the root node. If the file doesn't # exist, we create a doc tree and root node to work with. ############################################################## if (-e $ARGV[1]) { #parse existing file and get root node. $doc = XML::LibXML->new->parse_file($ARGV[1]); $root = $doc->getDocumentElement(); } else { $doc = XML::LibXML::Document->new(); $root = $doc->createElement('api'); $doc->setDocumentElement($root); $warning_node = XML::LibXML::Comment->new ("\n\n This file was automatically generated.\n Please DO NOT MODIFY THIS FILE, modify .metadata files instead.\n\n"); $root->appendChild($warning_node); } $ns_elem = $doc->createElement('namespace'); $ns_elem->setAttribute('name', $ns); $ns_elem->setAttribute('library', $libname); $root->appendChild($ns_elem); ############################################################## # First we parse the input for typedefs, structs, enums, and class_init funcs # and put them into temporary hashes. ############################################################## while ($line = ) { if ($line =~ /typedef\s+(struct\s+\w+\s+)\*+(\w+);/) { $ptrs{$2} = $1; } elsif ($line =~ /typedef\s+(struct\s+\w+)\s+(\w+);/) { next if ($2 =~ /Private$/); # fixme: siiigh $2 = "GdkDrawable" if ($1 eq "_GdkDrawable"); $types{$2} = $1; } elsif ($line =~ /typedef\s+struct/) { $sdef = $line; while ($line = ) { $sdef .= $line; last if ($line =~ /^(deprecated)?}/); } $sdef =~ s!/\*.*?(\*/|\n)!!g; $sdef =~ s/\n\s*//g; $types{$1} = $sdef if ($sdef =~ /.*\}\s*(\w+);/); } elsif ($line =~ /typedef\s+(unsigned\s+\w+)\s+(\**)(\w+);/) { $types{$3} = $1 . $2; } elsif ($line =~ /typedef\s+(\w+)\s+(\**)(\w+);/) { $types{$3} = $1 . $2; } elsif ($line =~ /typedef\s+enum\s+(\w+)\s+(\w+);/) { $etypes{$1} = $2; } elsif ($line =~ /^((deprecated)?typedef\s+)?\benum\b/) { $edef = $line; while ($line = ) { $edef .= $line; last if ($line =~ /^(deprecated)?}\s*(\w+)?;/); } $edef =~ s/\n\s*//g; $edef =~ s|/\*.*?\*/||g; if ($edef =~ /typedef.*}\s*(\w+);/) { $ename = $1; } elsif ($edef =~ /^(deprecated)?enum\s+(\w+)\s*{/) { $ename = $2; } else { print "Unexpected enum format\n$edef"; next; } $edefs{$ename} = $edef; } elsif ($line =~ /typedef\s+\w+\s*\**\s*\(\*\s*(\w+)\)\s*\(/) { $fname = $1; $fdef = ""; while ($line !~ /;/) { $fdef .= $line; $line = ; } $fdef .= $line; $fdef =~ s/\n\s+//g; $fpdefs{$fname} = $fdef; } elsif ($line =~ /^(private|deprecated)?struct\s+(\w+)/) { next if ($line =~ /;/); $sname = $2; $sdef = $line; while ($line = ) { $sdef .= $line; last if ($line =~ /^(deprecated)?}/); } $sdef =~ s!/\*[^<].*?(\*/|\n)!!g; $sdef =~ s/\n\s*//g; $sdefs{$sname} = $sdef if (!exists ($sdefs{$sname})); } elsif ($line =~ /^(\w+)_(class|base)_init\b/) { $class = StudlyCaps($1); $pedef = $line; while ($line = ) { $pedef .= $line; last if ($line =~ /^(deprecated)?}/); } $pedefs{lc($class)} = $pedef; } elsif ($line =~ /^(\w+)_get_type\b/) { $class = StudlyCaps($1); $pedef = $line; while ($line = ) { $pedef .= $line; if ($line =~ /g_boxed_type_register_static/) { $boxdef = $line; while ($line !~ /;/) { $boxdef .= ($line = ); } $boxdef =~ s/\n\s*//g; $boxdef =~ /\(\"(\w+)\"/; my $boxtype = $1; $boxtype =~ s/($ns)Type(\w+)/$ns$2/; $boxdefs{$boxtype} = $boxdef; } elsif ($line =~ /g_(enum|flags)_register_static/) { $pedef =~ /^(\w+_get_type)/; $enum_gtype{$class} = $1; } last if ($line =~ /^(deprecated)?}/); } $typefuncs{lc($class)} = $pedef; } elsif ($line =~ /^G_DEFINE_TYPE_WITH_CODE\s*\(\s*(\w+)/) { $typefuncs{lc($1)} = $line; } elsif ($line =~ /^(deprecated)?(const|G_CONST_RETURN)?\s*(struct\s+)?\w+\s*\**(\s*(const|G_CONST_RETURN)\s*\**)?\s*(\w+)\s*\(/) { $fname = $6; $fdef = ""; while ($line !~ /;/) { $fdef .= $line; $line = ; } $fdef .= $line; $fdef =~ s/\n\s*//g; if ($fdef !~ /^_/) { $fdefs{$fname} = $fdef; } } elsif ($line =~ /CHECK_(\w*)CAST/) { $cast_macro = $line; while ($line =~ /\\$/) { $line = ; $cast_macro .= $line; } $cast_macro =~ s/\\\n\s*//g; $cast_macro =~ s/\s+/ /g; if ($cast_macro =~ /G_TYPE_CHECK_(\w+)_CAST.*,\s*(\w+),\s*(\w+)\)/) { if ($1 eq "INSTANCE") { $objects{$2} = $3 . $objects{$2}; } else { $objects{$2} .= ":$3"; } } elsif ($cast_macro =~ /G_TYPE_CHECK_(\w+)_CAST.*,\s*([a-zA-Z0-9]+)_(\w+)_get_type\s*\(\),\s*(\w+)\)/) { $typename = uc ("$2_type_$3"); if ($1 eq "INSTANCE") { $objects{$typename} = $4 . $objects{$typename}; } else { $objects{$typename} .= ":$4"; } } elsif ($cast_macro =~ /GTK_CHECK_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} = $2 . $objects{$1}; } elsif ($cast_macro =~ /GTK_CHECK_CLASS_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} .= ":$2"; } elsif ($cast_macro =~ /GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} = $2 . $objects{$1}; } } elsif ($line =~ /INSTANCE_GET_INTERFACE.*,\s*(\w+),\s*(\w+)/) { $ifaces{$1} = $2; } elsif ($line =~ /^BUILTIN\s*\{\s*\"(\w+)\".*GTK_TYPE_BOXED/) { $boxdefs{$1} = $line; } elsif ($line =~ /^BUILTIN\s*\{\s*\"(\w+)\".*GTK_TYPE_(ENUM|FLAGS)/) { # ignoring these for now. } elsif ($line =~ /^(deprecated)?\#define/) { my $test_ns = uc ($ns); if ($line =~ /^deprecated\#define\s+(\w+)\s+\"(.*)\"/) { $defines{"deprecated$1"} = $2; } elsif ($line =~ /\#define\s+(\w+)\s+\"(.*)\"/) { $defines{$1} = $2; } } elsif ($line !~ /\/\*/) { print $line; } } ############################################################## # Produce the enum definitions. ############################################################## %enums = (); foreach $cname (sort(keys(%edefs))) { $ecnt++; $def = $edefs{$cname}; $cname = $etypes{$cname} if (exists($etypes{$cname})); $enums{lc($cname)} = $cname; $enum_elem = addNameElem($ns_elem, 'enum', $cname, $ns); if ($def =~ /^deprecated/) { $enum_elem->setAttribute("deprecated", "1"); $def =~ s/deprecated//g; } if ($enum_gtype{$cname}) { $enum_elem->setAttribute("gtype", $enum_gtype{$cname}); } if ($def =~ /<setAttribute('type', "flags"); } else { $enum_elem->setAttribute('type', "enum"); } $def =~ /\{(.*\S)\s*\}/; @vals = split(/,\s*/, $1); $vals[0] =~ s/^\s+//; @nameandval = split(/=/, $vals[0]); @v0 = split(/_/, $nameandval[0]); if (@vals > 1) { $done = 0; for ($idx = 0, $regex = ""; $idx < @v0; $idx++) { $regex .= ($v0[$idx] . "_"); foreach $val (@vals) { $done = 1 if ($val !~ /$regex/); } last if $done; } $common = join("_", @v0[0..$idx-1]); } else { $common = join("_", @v0[0..$#v0-1]); } foreach $val (@vals) { $val =~ s/=\s*\(\s*(.*\S)\s*\)\s*/= \1/; if ($val =~ /$common\_?(\w+)\s*=\s*(.*)$/) { $name = $1; $enumval = $2; if ($enumval =~ /^(\d+|0x[0-9A-Fa-f]+)u?\s*<<\s*(\d+)$/) { $enumval = "$1 << $2"; } elsif ($enumval =~ /^$common\_?(\w+)$/) { $enumval = StudlyCaps(lc($1)) } } elsif ($val =~ /$common\_?(\w+)/) { $name = $1; $enumval = ""; } else { die "Unexpected enum value: $val for common value $common\n"; } $val_elem = addNameElem($enum_elem, 'member'); $val_elem->setAttribute('cname', "$common\_$name"); $val_elem->setAttribute('name', StudlyCaps(lc($name))); if ($enumval) { $val_elem->setAttribute('value', $enumval); } } } ############################################################## # Parse the callbacks. ############################################################## foreach $cbname (sort(keys(%fpdefs))) { next if ($cbname =~ /^_/); $cbcnt++; $fdef = $cb = $fpdefs{$cbname}; $cb_elem = addNameElem($ns_elem, 'callback', $cbname, $ns); $cb =~ /typedef\s+(.*)\(.*\).*\((.*)\);/; $ret = $1; $params = $2; addReturnElem($cb_elem, $ret); if ($params && ($params ne "void")) { addParamsElem($cb_elem, split(/,/, $params)); } } ############################################################## # Parse the interfaces list. ############################################################## foreach $type (sort(keys(%ifaces))) { $iface = $ifaces{$type}; ($inst, $dontcare) = split(/:/, delete $objects{$type}); $initfunc = $pedefs{lc($inst)}; $ifacetype = delete $types{$iface}; delete $types{$inst}; $ifacecnt++; $iface_el = addNameElem($ns_elem, 'interface', $inst, $ns); $elem_table{lc($inst)} = $iface_el; $classdef = $sdefs{$1} if ($ifacetype =~ /struct\s+(\w+)/); if ($initfunc) { parseInitFunc($iface_el, $initfunc, $classdef); } else { warn "Don't have an init func for $inst.\n" if $debug; addVirtualMethods ($classdef, $classdef, $iface_el); } } ############################################################## # Parse the classes by walking the objects list. ############################################################## foreach $type (sort(keys(%objects))) { ($inst, $class) = split(/:/, $objects{$type}); $class = $inst . "Class" if (!$class); $initfunc = $pedefs{lc($inst)}; $typefunc = $typefuncs{lc($inst)}; $insttype = delete $types{$inst}; $classtype = delete $types{$class}; $instdef = $classdef = ""; $instdef = $sdefs{$1} if ($insttype =~ /struct\s+(\w+)/); $classdef = $sdefs{$1} if ($classtype =~ /struct\s+(\w+)/); $classdef =~ s/deprecated//g; $instdef =~ s/\s+(\*+)([^\/])/\1 \2/g; warn "Strange Class $inst\n" if (!$instdef && $debug); $classcnt++; $obj_el = addNameElem($ns_elem, 'object', $inst, $ns); $elem_table{lc($inst)} = $obj_el; # Check if the object is deprecated if ($instdef =~ /^deprecatedstruct/) { $obj_el->setAttribute("deprecated", "1"); $instdef =~ s/deprecated//g; } # Extract parent and fields from the struct if ($instdef =~ /^struct/) { $instdef =~ /\{(.*)\}/; $fieldstr = $1; $fieldstr =~ s|/\*[^<].*?\*/||g; @fields = split(/;/, $fieldstr); addFieldElems($obj_el, 'private', @fields); $obj_el->setAttribute('parent', $obj_el->firstChild->getAttribute('type')); $obj_el->removeChild($obj_el->firstChild); } elsif ($instdef =~ /privatestruct/) { # just get the parent for private structs $instdef =~ /\{\s*(\w+)/; $obj_el->setAttribute('parent', "$1"); } # Get the props from the class_init func. if ($initfunc) { parseInitFunc($obj_el, $initfunc, $classdef); } else { warn "Don't have an init func for $inst.\n" if $debug; } # Get the interfaces from the class_init func. if ($typefunc) { if ($typefunc =~ /G_DEFINE_TYPE_WITH_CODE/) { parseTypeFuncMacro($obj_el, $typefunc); } else { parseTypeFunc($obj_el, $typefunc); } } else { warn "Don't have a GetType func for $inst.\n" if $debug; } } ############################################################## # Parse the remaining types. ############################################################## foreach $key (sort (keys (%types))) { $lasttype = $type = $key; while ($type && ($types{$type} !~ /struct/)) { $lasttype = $type; $type = $types{$type}; } if ($types{$type} =~ /struct\s+(\w+)/) { $type = $1; if (exists($sdefs{$type})) { $def = $sdefs{$type}; } else { $def = "privatestruct"; } } elsif ($types{$type} =~ /struct/ && $type =~ /^$ns/) { $def = $types{$type}; } else { $elem = addNameElem($ns_elem, 'alias', $key, $ns); $elem->setAttribute('type', $lasttype); warn "alias $key to $lasttype\n" if $debug; next; } # fixme: hack if ($key eq "GdkBitmap") { $struct_el = addNameElem($ns_elem, 'object', $key, $ns); } elsif (exists($boxdefs{$key})) { $struct_el = addNameElem($ns_elem, 'boxed', $key, $ns); } else { $struct_el = addNameElem($ns_elem, 'struct', $key, $ns); } if ($def =~ /^deprecated/) { $struct_el->setAttribute("deprecated", "1"); $def =~ s/deprecated//g; } $elem_table{lc($key)} = $struct_el; $def =~ s/\s+/ /g; if ($def =~ /privatestruct/) { $struct_el->setAttribute('opaque', 'true'); } else { $def =~ /\{(.+)\}/; addFieldElems($struct_el, 'public', split(/;/, $1)); } } # really, _really_ opaque structs that aren't even defined in sources. Lovely. foreach $key (sort (keys (%ptrs))) { next if $ptrs{$key} !~ /struct\s+(\w+)/; $type = $1; $struct_el = addNameElem ($ns_elem, 'struct', $key, $ns); $struct_el->setAttribute('opaque', 'true'); $elem_table{lc($key)} = $struct_el; } addFuncElems(); addStaticFuncElems(); # This should probably be done in a more generic way foreach $define (sort (keys (%defines))) { next if $define !~ /[A-Z]_STOCK_/; if ($stocks{$ns}) { $stock_el = $stocks{$ns}; } else { $stock_el = addNameElem($ns_elem, "object", $ns . "Stock", $ns); $stocks{$ns} = $stock_el; } $string_el = addNameElem ($stock_el, "static-string", $define); $string_name = lc($define); $string_name =~ s/\w+_stock_//; $string_el->setAttribute('name', StudlyCaps($string_name)); $string_el->setAttribute('value', $defines{$define}); } ############################################################## # Output the tree ############################################################## if ($ARGV[1]) { open(XMLFILE, ">$ARGV[1]") || die "Couldn't open $ARGV[1] for writing.\n"; print XMLFILE $doc->toString(); close(XMLFILE); } else { print $doc->toString(); } ############################################################## # Generate a few stats from the parsed source. ############################################################## $scnt = keys(%sdefs); $fcnt = keys(%fdefs); $tcnt = keys(%types); print "structs: $scnt enums: $ecnt callbacks: $cbcnt\n"; print "funcs: $fcnt types: $tcnt classes: $classcnt\n"; print "props: $propcnt childprops: $childpropcnt signals: $sigcnt\n\n"; sub addFieldElems { my ($parent, $defaultaccess, @fields) = @_; my $access = $defaultaccess; foreach $field (@fields) { if ($field =~ m!/\*< (public|private) >.*\*/(.*)$!) { $access = $1; $field = $2; } next if ($field !~ /\S/); $field =~ s/\s+(\*+)/\1 /g; $field =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g; $field =~ s/(\w+)\s+const\s*\*/const \1\*/g; $field =~ s/const /const\-/g; $field =~ s/struct /struct\-/g; $field =~ s/.*\*\///g; next if ($field !~ /\S/); if ($field =~ /(\S+\s+\*?)\(\*\s*(.+)\)\s*\((.*)\)/) { $elem = addNameElem($parent, 'callback', $2); addReturnElem($elem, $1); addParamsElem($elem, $3); } elsif ($field =~ /(unsigned )?(\S+)\s+(.+)/) { my $type = $1 . $2; $symb = $3; foreach $tok (split (/,\s*/, $symb)) { if ($tok =~ /(\w+)\s*\[(.*)\]/) { $elem = addNameElem($parent, 'field', $1, ""); $elem->setAttribute('array_len', "$2"); } elsif ($tok =~ /(\w+)\s*\:\s*(\d+)/) { $elem = addNameElem($parent, 'field', $1, ""); $elem->setAttribute('bits', "$2"); } else { $elem = addNameElem($parent, 'field', $tok, ""); } $elem->setAttribute('type', "$type"); if ($access ne $defaultaccess) { $elem->setAttribute('access', "$access"); } } } else { die "$field\n"; } } } sub addFuncElems { my ($obj_el, $inst, $prefix); $fcnt = keys(%fdefs); foreach $mname (sort (keys (%fdefs))) { next if ($mname =~ /^_/); $obj_el = ""; $prefix = $mname; $prepend = undef; while ($prefix =~ /(\w+)_/) { $prefix = $key = $1; $key =~ s/_//g; # FIXME: lame Gdk API hack if ($key eq "gdkdraw") { $key = "gdkdrawable"; $prepend = "draw_"; } if (exists ($elem_table{$key})) { $prefix .= "_"; $obj_el = $elem_table{$key}; $inst = $key; last; } elsif (exists ($enums{$key}) && ($mname =~ /_get_type/)) { delete $fdefs{$mname}; last; } } next if (!$obj_el); $mdef = delete $fdefs{$mname}; if ($mname =~ /$prefix(new)/) { $el = addNameElem($obj_el, 'constructor', $mname); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $drop_1st = 0; } else { $el = addNameElem($obj_el, 'method', $mname, $prefix, $prepend); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $mdef =~ /\(\s*(const)?\s*(\w+)/; if (lc($2) ne $inst) { $el->setAttribute("shared", "true"); $drop_1st = 0; } else { $drop_1st = 1; } } parseParms ($el, $mdef, $drop_1st); # Don't add "free" to this regexp; that will wrongly catch all boxed types if ($mname =~ /$prefix(new|destroy|ref|unref)/ && ($obj_el->nodeName eq "boxed" || $obj_el->nodeName eq "struct") && $obj_el->getAttribute("opaque") ne "true") { $obj_el->setAttribute("opaque", "true"); for my $field ($obj_el->getElementsByTagName("field")) { if (!$field->getAttribute("access")) { $field->setAttribute("access", "public"); $field->setAttribute("writeable", "true"); } } } } } sub parseParms { my ($el, $mdef, $drop_1st) = @_; $fmt_args = 0; if ($mdef =~ /G_GNUC_PRINTF.*\((\d+,\s*\d+)\s*\)/) { $fmt_args = $1; $mdef =~ s/\s*G_GNUC_PRINTF.*\)//; } if (($mdef =~ /\((.*)\)/) && ($1 ne "void")) { @parms = (); $parm = ""; $pcnt = 0; foreach $char (split(//, $1)) { if ($char eq "(") { $pcnt++; } elsif ($char eq ")") { $pcnt--; } elsif (($pcnt == 0) && ($char eq ",")) { @parms = (@parms, $parm); $parm = ""; next; } $parm .= $char; } if ($parm) { @parms = (@parms, $parm); } # @parms = split(/,/, $1); ($dump, @parms) = @parms if $drop_1st; if (@parms > 0) { addParamsElem($el, @parms); } if ($fmt_args != 0) { $fmt_args =~ /(\d+),\s*(\d+)/; $fmt = $1; $args = $2; ($params_el, @junk) = $el->getElementsByTagName ("parameters"); (@params) = $params_el->getElementsByTagName ("parameter"); $offset = 1 + $drop_1st; $params[$fmt-$offset]->setAttribute ("printf_format", "true"); $params[$args-$offset]->setAttribute ("printf_format_args", "true"); } } } sub addStaticFuncElems { my ($global_el, $ns_prefix); @mnames = sort (keys (%fdefs)); $mcount = @mnames; return if ($mcount == 0); $ns_prefix = ""; $global_el = ""; for ($i = 0; $i < $mcount; $i++) { $mname = $mnames[$i]; $prefix = $mname; next if ($prefix =~ /^_/); if ($ns_prefix eq "") { my (@toks) = split(/_/, $prefix); for ($j = 0; $j < @toks; $j++) { if (join ("", @toks[0 .. $j]) eq lc($ns)) { $ns_prefix = join ("_", @toks[0 .. $j]); last; } } next if ($ns_prefix eq ""); } next if ($mname !~ /^$ns_prefix/); if ($mname =~ /($ns_prefix)_([a-zA-Z]+)_\w+/) { $classname = $2; $key = $prefix = $1 . "_" . $2 . "_"; $key =~ s/_//g; $cnt = 1; if (exists ($enums{$key})) { $cnt = 1; } elsif ($classname ne "set" && $classname ne "get" && $classname ne "scan" && $classname ne "find" && $classname ne "add" && $classname ne "remove" && $classname ne "free" && $classname ne "register" && $classname ne "execute" && $classname ne "show" && $classname ne "parse" && $classname ne "paint" && $classname ne "string") { while ($mnames[$i+$cnt] =~ /$prefix/) { $cnt++; } } if ($cnt == 1) { $mdef = delete $fdefs{$mname}; if (!$global_el) { $global_el = $doc->createElement('class'); $global_el->setAttribute('name', "Global"); $global_el->setAttribute('cname', $ns . "Global"); $ns_elem->appendChild($global_el); } $el = addNameElem($global_el, 'method', $mname, $ns_prefix); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $el->setAttribute("shared", "true"); parseParms ($el, $mdef, 0); next; } else { $class_el = $doc->createElement('class'); $class_el->setAttribute('name', StudlyCaps($classname)); $class_el->setAttribute('cname', StudlyCaps($prefix)); $ns_elem->appendChild($class_el); for ($j = 0; $j < $cnt; $j++) { $mdef = delete $fdefs{$mnames[$i+$j]}; $el = addNameElem($class_el, 'method', $mnames[$i+$j], $prefix); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $el->setAttribute("shared", "true"); parseParms ($el, $mdef, 0); } $i += ($cnt - 1); next; } } } } sub addNameElem { my ($node, $type, $cname, $prefix, $prepend) = @_; my $elem = $doc->createElement($type); $node->appendChild($elem); if (defined $prefix) { my $match; if ($cname =~ /$prefix(\w+)/) { $match = $1; } else { $match = $cname; } if ($prepend) { $name = $prepend . $match; } else { $name = $match; } $elem->setAttribute('name', StudlyCaps($name)); } if ($cname) { $elem->setAttribute('cname', $cname); } return $elem; } sub addParamsElem { my ($parent, @params) = @_; my $parms_elem = $doc->createElement('parameters'); $parent->appendChild($parms_elem); my $parm_num = 0; foreach $parm (@params) { $parm_num++; $parm =~ s/\s+(\*+)/\1 /g; my $out = $parm =~ s/G_CONST_RETURN/const/g; $parm =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g; $parm =~ s/(\*+)\s*const\s+/\1 /g; $parm =~ s/(\w+)\s+const\s*\*/const \1\*/g; $parm =~ s/const\s+/const-/g; $parm =~ s/unsigned\s+/unsigned-/g; if ($parm =~ /(.*)\(\s*\**\s*(\w+)\)\s+\((.*)\)/) { my $ret = $1; my $cbn = $2; my $params = $3; my $type = $parent->getAttribute('name') . StudlyCaps($cbn); $cb_elem = addNameElem($ns_elem, 'callback', $type, $ns); addReturnElem($cb_elem, $ret); if ($params && ($params ne "void")) { addParamsElem($cb_elem, split(/,/, $params)); my $data_parm = $cb_elem->lastChild()->lastChild(); if ($data_parm && $data_parm->getAttribute('type') eq "gpointer") { $data_parm->setAttribute('name', 'data'); } } $parm_elem = $doc->createElement('parameter'); $parm_elem->setAttribute('type', $type); $parm_elem->setAttribute('name', $cbn); $parms_elem->appendChild($parm_elem); next; } elsif ($parm =~ /\.\.\./) { $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); $parm_elem->setAttribute('ellipsis', 'true'); next; } $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); my $name = ""; if ($parm =~ /struct\s+(\S+)\s+(\S+)/) { $parm_elem->setAttribute('type', $1); $name = $2; }elsif ($parm =~ /(unsigned )?(\S+)\s+(\S+)/) { $parm_elem->setAttribute('type', $1 . $2); $name = $3; } elsif ($parm =~ /(\S+)/) { $parm_elem->setAttribute('type', $1); $name = "arg" . $parm_num; } if ($name =~ /(\w+)\[.*\]/) { $name = $1; $parm_elem->setAttribute('array', "true"); } if ($out) { $parm_elem->setAttribute('pass_as', "out"); } $parm_elem->setAttribute('name', $name); } } sub addReturnElem { my ($parent, $ret) = @_; $ret =~ s/(\w+)\s+const\s*\*/const \1\*/g; $ret =~ s/const|G_CONST_RETURN/const-/g; $ret =~ s/\s+//g; $ret =~ s/(const-)?(\w+)\*(const-)\*/const-\2\*\*/g; my $ret_elem = $doc->createElement('return-type'); $parent->appendChild($ret_elem); $ret_elem->setAttribute('type', $ret); if ($parent->getAttribute('name') eq "Copy" && $ret =~ /\*$/) { $ret_elem->setAttribute('owned', 'true'); } return $ret_elem; } sub addPropElem { my ($spec, $node, $is_child) = @_; my ($name, $mode, $docs); $spec =~ /g_param_spec_(\w+)\s*\((.*)\s*\)\s*\)/; my $type = $1; my @params = split(/,/, $2); $name = $params[0]; if ($defines{$name}) { $name = $defines{$name}; } else { $name =~ s/\s*\"//g; } $mode = $params[$#params]; if ($type =~ /boolean|float|double|^u?int|pointer|unichar/) { $type = "g$type"; } elsif ($type =~ /string/) { $type = "gchar*"; } elsif ($type =~ /boxed|object/) { $type = $params[$#params-1]; $type =~ s/TYPE_//; $type =~ s/\s+//g; $type = StudlyCaps(lc($type)); } elsif ($type =~ /enum|flags/) { $type = $params[$#params-2]; $type =~ s/TYPE_//; $type =~ s/\s+//g; $type = StudlyCaps(lc($type)); } $prop_elem = $doc->createElement($is_child ? "childprop" : "property"); $node->appendChild($prop_elem); $prop_elem->setAttribute('name', StudlyCaps($name)); $prop_elem->setAttribute('cname', $name); $prop_elem->setAttribute('type', $type); $prop_elem->setAttribute('readable', "true") if ($mode =~ /READ/); $prop_elem->setAttribute('writeable', "true") if ($mode =~ /WRIT/); $prop_elem->setAttribute('construct', "true") if ($mode =~ /CONSTRUCT(?!_)/); $prop_elem->setAttribute('construct-only', "true") if ($mode =~ /CONSTRUCT_ONLY/); } sub parseTypeToken { my ($tok) = @_; if ($tok =~ /G_TYPE_(\w+)/) { my $type = $1; if ($type eq "NONE") { return "void"; } elsif ($type eq "INT") { return "gint32"; } elsif ($type eq "UINT") { return "guint32"; } elsif ($type eq "ENUM" || $type eq "FLAGS") { return "gint32"; } elsif ($type eq "STRING") { return "gchar*"; } elsif ($type eq "OBJECT") { return "GObject*"; } else { return "g" . lc ($type); } } else { $tok =~ s/_TYPE//; $tok =~ s/\|.*STATIC_SCOPE//; $tok =~ s/\W+//g; return StudlyCaps (lc($tok)); } } sub addSignalElem { my ($spec, $class, $node) = @_; $spec =~ s/\n\s*//g; $class =~ s/\n\s*//g; $sig_elem = $doc->createElement('signal'); $node->appendChild($sig_elem); if ($spec =~ /\(\"([\w\-]+)\"/) { $sig_elem->setAttribute('name', StudlyCaps($1)); $sig_elem->setAttribute('cname', $1); } $sig_elem->setAttribute('when', $1) if ($spec =~ /_RUN_(\w+)/); my $method = ""; $sig_elem->setAttribute('manual', 'true') if ($spec =~ /G_TYPE_POINTER/); if ($spec =~ /_OFFSET\s*\(\w+,\s*(\w+)\)/) { $method = $1; $sig_elem->setAttribute('field_name', $1); } else { @args = split(/,/, $spec); my $rettype = parseTypeToken ($args[7]); addReturnElem($sig_elem, $rettype); $parmcnt = $args[8]; $parmcnt =~ s/.*(\d+).*/\1/; $parms_elem = $doc->createElement('parameters'); $sig_elem->appendChild($parms_elem); $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); $parm_elem->setAttribute('name', "inst"); $parm_elem->setAttribute('type', "$inst*"); for (my $idx = 0; $idx < $parmcnt; $idx++) { my $argtype = parseTypeToken ($args[9+$idx]); $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); $parm_elem->setAttribute('name', "p$idx"); $parm_elem->setAttribute('type', $argtype); } return $class; } if ($class =~ /;\s*(\/\*< (public|protected|private) >\s*\*\/)?(G_CONST_RETURN\s+)?(\w+\s*\**)\s*\(\s*\*\s*$method\)\s*\((.*?)\);/) { $ret = $4; $parms = $5; addReturnElem($sig_elem, $ret); if ($parms && ($parms ne "void")) { addParamsElem($sig_elem, split(/,/, $parms)); } $class =~ s/;\s*(\/\*< (public|protected|private) >\s*\*\/)?(G_CONST_RETURN\s+)?\w+\s*\**\s*\(\s*\*\s*$method\)\s*\(.*?\);/;/; } else { die "ERROR: Failed to parse method $method from class definition:\n$class"; } return $class; } sub addVirtualMethods { my ($class, $orig_class, $node) = @_; $class =~ s/\n\s*//g; $class =~ s/\/\*.*?\*\///g; my $idx = 0; my $ins_sibling = $node->firstChild; while ($ins_sibling && ($ins_sibling->nodeName eq "field" || $ins_sibling->nodeName eq "property")) { $ins_sibling = $ins_sibling->nextSibling (); } while ($class =~ /;\s*(G_CONST_RETURN\s+)?(\S+\s*\**)\s*\(\s*\*\s*(\w+)\)\s*\((.*?)\);/) { $ret = $1 . $2; $cname = $3; $parms = $4; $orig_class =~ /;\s*(G_CONST_RETURN\s+)?(\S+\s*\**)\s*\(\s*\*\s*(\w+)\)\s*\((.*?)\);/; while ($ins_sibling && $3 ne $cname) { $ins_sibling = $ins_sibling->nextSibling (); $orig_class =~ s/;(.*?\));/;/; $orig_class =~ /;\s*(G_CONST_RETURN\s+)?(\S+\s*\**)\s*\(\s*\*\s*(\w+)\)\s*\((.*?)\);/; } if ($cname !~ /reserved/) { $vm_elem = $doc->createElement('virtual_method'); if ($ins_sibling) { $node->insertBefore($vm_elem, $ins_sibling); } else { $node->appendChild($vm_elem); } $vm_elem->setAttribute('name', StudlyCaps($cname)); $vm_elem->setAttribute('cname', $cname); addReturnElem($vm_elem, $ret); if ($parms && ($parms ne "void")) { addParamsElem($vm_elem, split(/,/, $parms)); } } $class =~ s/;\s*(G_CONST_RETURN\s+)?\S+\s*\**\s*\(\s*\*\s*\w+\)\s*\(.*?\);/;/; $orig_class =~ s/;.*?\);/;/; } } sub addImplementsElem { my ($spec, $node) = @_; $spec =~ s/\n\s*//g; if ($spec =~ /,\s*(\w+)_TYPE_(\w+),/) { $impl_elem = $doc->createElement('interface'); $name = StudlyCaps (lc ("$1_$2")); $impl_elem->setAttribute ("cname", "$name"); $node->appendChild($impl_elem); } } sub parseInitFunc { my ($obj_el, $initfunc, $classdef) = @_; my $orig_classdef = $classdef; my @init_lines = split (/\n/, $initfunc); my $linenum = 0; while ($linenum < @init_lines) { my $line = $init_lines[$linenum]; if ($line =~ /#define/) { # FIXME: This ignores the bool helper macro thingie. } elsif ($line =~ /g_object_(class|interface)_install_prop/) { my $prop = $line; while ($prop !~ /\)\s*;/) { $prop .= $init_lines[++$linenum]; } addPropElem ($prop, $obj_el, 0); $propcnt++; } elsif ($line =~ /gtk_container_class_install_child_property/) { my $prop = $line; do { $prop .= $init_lines[++$linenum]; } until ($init_lines[$linenum] =~ /\)\s*;/); addPropElem ($prop, $obj_el, 1); $childpropcnt++; } elsif ($line =~ /\bg.*_signal_new/) { my $sig = $line; do { $sig .= $init_lines[++$linenum]; } until ($init_lines[$linenum] =~ /;/); $classdef = addSignalElem ($sig, $classdef, $obj_el); $sigcnt++; } $linenum++; } addVirtualMethods ($classdef, $orig_classdef, $obj_el); } sub parseTypeFuncMacro { my ($obj_el, $typefunc) = @_; $impls_node = undef; while ($typefunc =~ /G_IMPLEMENT_INTERFACE\s*\(\s*(\w+)/) { $iface = $1; if (not $impls_node) { $impls_node = $doc->createElement ("implements"); $obj_el->appendChild ($impls_node); } addImplementsElem ($prop, $impl_node); if ($iface =~ /(\w+)_TYPE_(\w+)/) { $impl_elem = $doc->createElement('interface'); $name = StudlyCaps (lc ("$1_$2")); $impl_elem->setAttribute ("cname", "$name"); $impls_node->appendChild($impl_elem); } $typefunc =~ s/G_IMPLEMENT_INTERFACE\s*\(.*?\)//; } } sub parseTypeFunc { my ($obj_el, $typefunc) = @_; my @type_lines = split (/\n/, $typefunc); my $linenum = 0; $impl_node = undef; while ($linenum < @type_lines) { my $line = $type_lines[$linenum]; if ($line =~ /#define/) { # FIXME: This ignores the bool helper macro thingie. } elsif ($line =~ /g_type_add_interface_static/) { my $prop = $line; do { $prop .= $type_lines[++$linenum]; } until ($type_lines[$linenum] =~ /;/); if (not $impl_node) { $impl_node = $doc->createElement ("implements"); $obj_el->appendChild ($impl_node); } addImplementsElem ($prop, $impl_node); } $linenum++; } } ############################################################## # Converts a dash or underscore separated name to StudlyCaps. ############################################################## %num2txt = ('1', "One", '2', "Two", '3', "Three", '4', "Four", '5', "Five", '6', "Six", '7', "Seven", '8', "Eight", '9', "Nine", '0', "Zero"); sub StudlyCaps { my ($symb) = @_; $symb =~ s/^([a-z])/\u\1/; $symb =~ s/^(\d)/\1_/; $symb =~ s/[-_]([a-z])/\u\1/g; $symb =~ s/[-_](\d)/\1/g; $symb =~ s/^2/Two/; $symb =~ s/^3/Three/; return $symb; } gtk-sharp-2.12.10/parser/gapi2-parser.in0000755000175000001440000000016111131157063014611 00000000000000#!/bin/sh export PATH=@prefix@/lib/gtk-sharp-2.0:$PATH @RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi-parser.exe "$@" gtk-sharp-2.12.10/parser/Makefile.in0000644000175000001440000003544711345266365014063 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = parser DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/gapi-2.0.pc.in $(srcdir)/gapi2-fixup.in \ $(srcdir)/gapi2-parser.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gapi-2.0.pc gapi2-fixup gapi2-parser am__installdirs = "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(pkgconfigdir)" assemblySCRIPT_INSTALL = $(INSTALL_SCRIPT) binSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(assembly_SCRIPTS) $(bin_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; assemblyDATA_INSTALL = $(INSTALL_DATA) pkgconfigDATA_INSTALL = $(INSTALL_DATA) DATA = $(assembly_DATA) $(pkgconfig_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ assemblydir = $(prefix)/lib/gtk-sharp-2.0 pkgconfigdir = $(libdir)/pkgconfig assembly_DATA = gapi-fixup.exe gapi-parser.exe pkgconfig_DATA = gapi-2.0.pc bin_SCRIPTS = gapi2-fixup gapi2-parser assembly_SCRIPTS = gapi_pp.pl gapi2xml.pl CLEANFILES = gapi-fixup.exe gapi-parser.exe DISTCLEANFILES = gapi2-fixup gapi2-parser gapi-2.0.pc sources = \ gapi-fixup.cs \ gapi-parser.cs EXTRA_DIST = \ $(sources) \ gapi2-parser.in \ gapi_pp.pl \ gapi2xml.pl \ gapi-2.0.pc.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign parser/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign parser/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh gapi-2.0.pc: $(top_builddir)/config.status $(srcdir)/gapi-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ gapi2-fixup: $(top_builddir)/config.status $(srcdir)/gapi2-fixup.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ gapi2-parser: $(top_builddir)/config.status $(srcdir)/gapi2-parser.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-assemblySCRIPTS: $(assembly_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(assemblydir)" || $(MKDIR_P) "$(DESTDIR)$(assemblydir)" @list='$(assembly_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(assemblySCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(assemblydir)/$$f'"; \ $(assemblySCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(assemblydir)/$$f"; \ else :; fi; \ done uninstall-assemblySCRIPTS: @$(NORMAL_UNINSTALL) @list='$(assembly_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(assemblydir)/$$f'"; \ rm -f "$(DESTDIR)$(assemblydir)/$$f"; \ done install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-assemblyDATA: $(assembly_DATA) @$(NORMAL_INSTALL) test -z "$(assemblydir)" || $(MKDIR_P) "$(DESTDIR)$(assemblydir)" @list='$(assembly_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(assemblyDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(assemblydir)/$$f'"; \ $(assemblyDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(assemblydir)/$$f"; \ done uninstall-assemblyDATA: @$(NORMAL_UNINSTALL) @list='$(assembly_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(assemblydir)/$$f'"; \ rm -f "$(DESTDIR)$(assemblydir)/$$f"; \ done install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-assemblyDATA install-assemblySCRIPTS \ install-pkgconfigDATA install-dvi: install-dvi-am install-exec-am: install-binSCRIPTS install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-assemblyDATA uninstall-assemblySCRIPTS \ uninstall-binSCRIPTS uninstall-pkgconfigDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-assemblyDATA install-assemblySCRIPTS \ install-binSCRIPTS install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am uninstall uninstall-am uninstall-assemblyDATA \ uninstall-assemblySCRIPTS uninstall-binSCRIPTS \ uninstall-pkgconfigDATA gapi-fixup.exe: $(srcdir)/gapi-fixup.cs $(CSC) /out:gapi-fixup.exe $(srcdir)/gapi-fixup.cs gapi-parser.exe: $(srcdir)/gapi-parser.cs $(CSC) /out:gapi-parser.exe $(srcdir)/gapi-parser.cs # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/parser/gapi-fixup.cs0000644000175000001440000001364211131157063014372 00000000000000// gapi-fixup.cs - xml alteration engine. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Parsing { using System; using System.IO; using System.Xml; using System.Xml.XPath; public class Fixup { public static int Main (string[] args) { if (args.Length < 2) { Console.WriteLine ("Usage: gapi-fixup --metadata= --api= --symbols="); return 0; } string api_filename = ""; XmlDocument api_doc = new XmlDocument (); XmlDocument meta_doc = new XmlDocument (); XmlDocument symbol_doc = new XmlDocument (); foreach (string arg in args) { if (arg.StartsWith("--metadata=")) { string meta_filename = arg.Substring (11); try { Stream stream = File.OpenRead (meta_filename); meta_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid meta file."); Console.WriteLine (e); return 1; } } else if (arg.StartsWith ("--api=")) { api_filename = arg.Substring (6); try { Stream stream = File.OpenRead (api_filename); api_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid api file."); Console.WriteLine (e); return 1; } } else if (arg.StartsWith ("--symbols=")) { string symbol_filename = arg.Substring (10); try { Stream stream = File.OpenRead (symbol_filename); symbol_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid api file."); Console.WriteLine (e); return 1; } } else { Console.WriteLine ("Usage: gapi-fixup --metadata= --api="); return 1; } } XPathNavigator meta_nav = meta_doc.CreateNavigator (); XPathNavigator api_nav = api_doc.CreateNavigator (); XPathNodeIterator rmv_iter = meta_nav.Select ("/metadata/remove-node"); while (rmv_iter.MoveNext ()) { string path = rmv_iter.Current.GetAttribute ("path", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement api_node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; api_node.ParentNode.RemoveChild (api_node); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator add_iter = meta_nav.Select ("/metadata/add-node"); while (add_iter.MoveNext ()) { string path = add_iter.Current.GetAttribute ("path", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement api_node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; foreach (XmlNode child in ((IHasXmlNode)add_iter.Current).GetNode().ChildNodes) api_node.AppendChild (api_doc.ImportNode (child, true)); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator attr_iter = meta_nav.Select ("/metadata/attr"); while (attr_iter.MoveNext ()) { string path = attr_iter.Current.GetAttribute ("path", ""); string attr_name = attr_iter.Current.GetAttribute ("name", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; node.SetAttribute (attr_name, attr_iter.Current.Value); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator move_iter = meta_nav.Select ("/metadata/move-node"); while (move_iter.MoveNext ()) { string path = move_iter.Current.GetAttribute ("path", ""); XPathExpression expr = api_nav.Compile (path); string parent = move_iter.Current.Value; XPathNodeIterator parent_iter = api_nav.Select (parent); bool matched = false; while (parent_iter.MoveNext ()) { XmlNode parent_node = ((IHasXmlNode)parent_iter.Current).GetNode (); XPathNodeIterator path_iter = parent_iter.Current.Clone ().Select (expr); while (path_iter.MoveNext ()) { XmlNode node = ((IHasXmlNode)path_iter.Current).GetNode (); parent_node.AppendChild (node.Clone ()); node.ParentNode.RemoveChild (node); } matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } if (symbol_doc != null) { XPathNavigator symbol_nav = symbol_doc.CreateNavigator (); XPathNodeIterator iter = symbol_nav.Select ("/api/*"); while (iter.MoveNext ()) { XmlNode sym_node = ((IHasXmlNode)iter.Current).GetNode (); XPathNodeIterator parent_iter = api_nav.Select ("/api"); if (parent_iter.MoveNext ()) { XmlNode parent_node = ((IHasXmlNode)parent_iter.Current).GetNode (); parent_node.AppendChild (api_doc.ImportNode (sym_node, true)); } } } api_doc.Save (api_filename); return 0; } } } gtk-sharp-2.12.10/parser/gapi2-fixup.in0000755000175000001440000000010311131157063014444 00000000000000#!/bin/sh @RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi-fixup.exe "$@" gtk-sharp-2.12.10/configure.in0000644000175000001440000001777711345266357013042 00000000000000 AC_INIT(README) AC_CANONICAL_SYSTEM AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(gtk-sharp, 2.12.10) AM_MAINTAINER_MODE API_VERSION=2.12.0.0 AC_SUBST(API_VERSION) POLICY_VERSIONS="2.4 2.6 2.8 2.10" AC_SUBST(POLICY_VERSIONS) PACKAGE_VERSION=gtk-sharp-2.0 AC_SUBST(PACKAGE_VERSION) WIN64DEFINES= case "$host" in x86_64-*-mingw*|x86_64-*-cygwin*) WIN64DEFINES="-define:WIN64LONGS" platform_win32=yes AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32]) if test "x$cross_compiling" = "xno"; then CC="gcc -mno-cygwin -g" HOST_CC="gcc" fi ;; *-*-mingw*|*-*-cygwin*) platform_win32=yes AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32]) if test "x$cross_compiling" = "xno"; then CC="gcc -mno-cygwin -g" HOST_CC="gcc" fi ;; *) platform_win32=no ;; esac AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes) AC_CHECK_TOOL(CC, gcc, gcc) AC_PROG_CC AM_PROG_CC_STDC AC_PROG_INSTALL dnl may require a specific autoconf version dnl AC_PROG_CC_FOR_BUILD dnl CC_FOR_BUILD not automatically detected CC_FOR_BUILD=$CC BUILD_EXEEXT= if test "x$cross_compiling" = "xyes"; then CC_FOR_BUILD=cc BUILD_EXEEXT="" fi AC_SUBST(CC_FOR_BUILD) AC_SUBST(HOST_CC) AC_SUBST(BUILD_EXEEXT) # Set STDC_HEADERS AC_HEADER_STDC AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL # not 64 bit clean in cross-compile AC_CHECK_SIZEOF(void *, 4) CFLAGS="${CFLAGS} -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings" if test "x$enable_maintainer_mode" = "xyes"; then DEBUG_FLAGS='-debug' else DEBUG_FLAGS= AC_ARG_ENABLE(debug, [ --enable-debug Build debugger (.mdb) files for dlls], DEBUG_FLAGS='-debug' ) fi if test "x$platform_win32" = "xyes"; then AC_PATH_PROG(WIX, candle, no) if test "x$WIX" = "xno" ; then enable_msi = no else enable_msi = yes fi else enable_msi = no fi CSDEFINES='-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12' CSFLAGS="$DEBUG_FLAGS $CSDEFINES $WIN64DEFINES" AC_SUBST(CSFLAGS) GTK_SHARP_VERSION_CFLAGS='-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12' AC_SUBST(GTK_SHARP_VERSION_CFLAGS) AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR([You need to install pkg-config]) fi dnl for use on the build system BUILD_GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` BUILD_GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0` AC_SUBST(BUILD_GTK_CFLAGS) AC_SUBST(BUILD_GTK_LIBS) AC_CHECK_SIZEOF(off_t) OFF_T_FLAGS="-define:OFF_T_$ac_cv_sizeof_off_t" AC_SUBST(OFF_T_FLAGS) MONO_REQUIRED_VERSION=1.0 PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) if test "x$has_mono" = "xfalse" ; then PKG_CHECK_MODULES(MONO_DEPENDENCY, mono-2 >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) fi AC_PATH_PROG(GACUTIL, gacutil, no) if test "x$GACUTIL" = "xno" ; then AC_MSG_ERROR([No gacutil tool found. You need to install either the mono or .Net SDK.]) fi AC_PATH_PROG(AL, al, no) if test "x$AL" = "xno" ; then AC_MSG_ERROR([No al tool found. You need to install either the mono or .Net SDK.]) fi if test "x$has_mono" = "xtrue"; then GACUTIL_FLAGS='/package $(PACKAGE_VERSION) /gacdir $(DESTDIR)$(prefix)/lib' GENERATED_SOURCES=generated/*.cs AC_PATH_PROG(RUNTIME, mono, no) # If mono is found, it's in the path. Require it to be in the path at runtime as well if test "x$RUNTIME" != "no" ; then RUNTIME=mono fi AC_PATH_PROG(CSC, mcs, no) if test `uname -s` = "Darwin"; then LIB_PREFIX= LIB_SUFFIX=.dylib else LIB_PREFIX=.so LIB_SUFFIX= fi SDCHECK="`$GACUTIL /l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`" if test "x$SDCHECK" = "xSystem.Drawing"; then enable_dotnet=yes else enable_dotnet=no fi else AC_PATH_PROG(CSC, csc.exe, no) GACUTIL_FLAGS= GENERATED_SOURCES=generated\\\\*.cs enable_dotnet=yes if test x$CSC = "xno"; then AC_MSG_ERROR([You need to install either mono or .Net]) else RUNTIME= LIB_PREFIX= LIB_SUFFIX=.dylib fi fi CS="C#" if test "x$CSC" = "xno" ; then AC_MSG_ERROR([No $CS compiler found]) fi AC_SUBST(RUNTIME) AC_SUBST(CSC) AC_SUBST(GACUTIL) AC_SUBST(GACUTIL_FLAGS) AC_SUBST(LIB_PREFIX) AC_SUBST(LIB_SUFFIX) AC_SUBST(GENERATED_SOURCES) PKG_CHECK_MODULES(MONO_CAIRO, mono-cairo >= $MONO_REQUIRED_VERSION, enable_mono_cairo=no, enable_mono_cairo=yes) AC_SUBST(MONO_CAIRO_LIBS) GTK_REQUIRED_VERSION=2.12.0 PKG_CHECK_MODULES(GLIB, gobject-2.0 >= $GTK_REQUIRED_VERSION) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) PKG_CHECK_MODULES(PANGO, pango) AC_SUBST(PANGO_CFLAGS) AC_SUBST(PANGO_LIBS) PKG_CHECK_MODULES(ATK, atk) AC_SUBST(ATK_CFLAGS) AC_SUBST(ATK_LIBS) PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) GLADE_REQUIRED_VERSION=2.3.6 PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $GLADE_REQUIRED_VERSION, enable_glade=yes, enable_glade=no) AC_SUBST(GLADE_CFLAGS) AC_SUBST(GLADE_LIBS) GDK_BACKEND=`pkg-config --variable=target gtk+-2.0` AC_SUBST(GDK_BACKEND) AC_PATH_PROG(MDASSEMBLER, mdassembler, no) AC_PATH_PROG(MONODOCER, monodocer, no) if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then enable_monodoc=no doc_sources_dir= else enable_monodoc=yes doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`" fi AC_SUBST(MDASSEMBLER) AC_SUBST(MONODOCER) AM_CONDITIONAL(ENABLE_MONO_CAIRO, test "x$enable_mono_cairo" = "xyes") AM_CONDITIONAL(ENABLE_GLADE, test "x$enable_glade" = "xyes") AM_CONDITIONAL(ENABLE_DOTNET, test "x$enable_dotnet" = "xyes") AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes") AM_CONDITIONAL(ENABLE_MSI, test "x$enable_msi" = "xyes") AM_CONDITIONAL(ENABLE_MONOGETOPTIONS, test "x$has_mono" = "xtrue") AC_SUBST(CFLAGS) AC_OUTPUT([ AssemblyInfo.cs Makefile policy.config msi/gtk-sharp-2.0.wxs msi/Makefile msi/unmanaged/Makefile msi/unmanaged/custom/Makefile msi/unmanaged/custom/etc/Makefile msi/unmanaged/custom/etc/gtk-2.0/Makefile msi/unmanaged/custom/share/Makefile msi/unmanaged/custom/share/icons/Makefile msi/unmanaged/custom/share/icons/hicolor/Makefile sources/Makefile parser/Makefile parser/gapi-2.0.pc parser/gapi2-fixup parser/gapi2-parser generator/Makefile generator/gapi2-codegen glib/Makefile glib/glib-sharp-2.0.pc glib/glib-sharp.dll.config glib/glue/Makefile cairo/Makefile pango/Makefile pango/pango-sharp.dll.config pango/glue/Makefile atk/Makefile atk/atk-sharp.dll.config atk/glue/Makefile gdk/Makefile gdk/gdk-sharp.dll.config gdk/glue/Makefile gtk/Makefile gtk/gtk-sharp-2.0.pc gtk/gtk-sharp.dll.config gtk/glue/Makefile glade/Makefile glade/glade-sharp.dll.config glade/glade-sharp-2.0.pc glade/glue/Makefile gtkdotnet/Makefile gtkdotnet/gtk-dotnet.dll.config gtkdotnet/gtk-dotnet-2.0.pc doc/Makefile sample/GtkDemo/Makefile sample/Makefile sample/pixmaps/Makefile sample/test/Makefile sample/valtest/Makefile sample/valtest/valtest.exe.config sample/opaquetest/Makefile sample/opaquetest/opaquetest.exe.config ]) if test x$platform_win32 = xyes; then # Get rid of 'cyg' prefixes in library names sed -e "s/\/cyg\//\/\//" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool fi echo "---" echo "Configuration summary" echo "" echo " * Installation prefix = $prefix" echo " * $CS compiler: $CSC $CSFLAGS" echo "" echo " Optional assemblies included in the build:" echo "" echo " * glade-sharp.dll: $enable_glade" echo " * gtk-dotnet.dll: $enable_dotnet " if test "x$enable_mono_cairo" = "xyes"; then echo " * Mono.Cairo.dll: building local assembly" else echo " * Mono.Cairo.dll: using system assembly" fi echo "" echo " NOTE: if any of the above say 'no' you may install the" echo " corresponding development packages for them, rerun" echo " autogen.sh to include them in the build." echo "" echo " * Documentation build enabled: $enable_monodoc " if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then echo " WARNING: The install prefix is different than the monodoc prefix." echo " Monodoc will not be able to load the documentation." fi echo "---" gtk-sharp-2.12.10/Makefile.am0000644000175000001440000000053311321427752012533 00000000000000SUBDIRS = sources generator parser glib cairo pango atk gdk gtk glade gtkdotnet sample doc msi EXTRA_DIST = \ mono.snk \ gtk-sharp.snk \ gapi-cdecl-insert \ makefile.win32 \ policy.config.in \ AssemblyInfo.cs.in \ ChangeLog \ HACKING \ README \ README.generator configure.in: bootstrap.status configure.in.in $(SHELL) $< gtk-sharp-2.12.10/AUTHORS0000644000175000001440000000113511131157074011542 00000000000000Mike Kestner Documentation: psonek2@seznam.cz Duncan Mak Miguel de Icaza John Luke Marques Johansson Iain McCoy eric@extremeboredom.net (Eric Butler) Jamin Philip Gray chris@turchin.net (Chris Turchin) jaspervp@gmx.net (Jasper van Putten) wizito@gentelibre.org ( Néstor Salceda) cmorgan@alum.wpi.edu hris@protactin.co.uk ddollar@blueshiftdesign.com bis0n@mail.ru fsjrb@uaf.edu joe@fatnsoft.com pixelpapst@users.sourceforge.net alexmipego@hotmail.com wizito@gentelibre.org gtk-sharp-2.12.10/HACKING0000755000175000001440000000173511131157074011472 00000000000000Before beginning work on something, please post your intentions to the mailing list (gtk-sharp-list@ximian.com). Duplication of effort just gets folks cranky in general. Prior to checking anything into CVS, please send a patch to the mailing list for approval. Any patches should be submitted in diff -u format. Also, it is assumed that the submitter has verified that the patch does not break the build, and hopefully that it doesn't break runtime. Getting Started: ---------------- Getting started with "hacking" Gtk# can seem formidable at first. However there is some additional information already written, to help you get up and going. Those wishing to "hack" at Gtk#, are encouraged to also read: o README.generator o sources/README If you still have more questions or need assitance, you can get help on the Gtk# mailing list and the #mono IRC channel. (Information about each of these is contained in the README file.) gtk-sharp-2.12.10/README.generator0000644000175000001440000000565411131157074013351 00000000000000NOTE: This file is out of date. Please refer to http://www.mono-project.com/GAPI for a more complete and up-to-date guide to the GAPI tools included with Gtk# How to use the Gtk# code generator: Install dependencies: * You need to install the XML::LibXML perl bindings and Gtk#. Parse the library: * Create an xml file defining the libraries to be parsed. The format of the XML is: atk-1.2.4/atk The api element filename attribute specifies the parser output file location. The name attribute on the library output points to the native library name. If you are creating a cross-platform project, you will want to specify the win32 dll name here and use mono's config mechanism to map the name on other platforms. The dir element points to a src directory to be parsed. Currently all .c and .h files in the directory are parsed. All the elements inside the root can have multiples. The source/gtk-sharp-sources.xml file has examples of producing multiple api files with a single parser input file, as well as including muliple libraries in a single output file. * Create metadata rules files named .metadata in the directory where you invoke the parser. Metadata rules allow you to massage the parsed api if necessary. Examples of rule formats can be found in the sources directory. * Execute the parser on your xml input file: gapi-parser * Distribute the xml file(s) produced by the parser with your project so that your users don't need to have any native library source, or perl libraries installed in order to build your project. Within your project directory, do the following: * Setup a toplevel subdirectory for each namespace/assembly you are wrapping. Instruct the makefile for this directory to compile, at minimum, generated/*. * Run gapi_codegen.exe on the API file(s) you created with the parser. If you depend on any other wrapped libraries (such as gtk-sharp.dll), you need to include their API listings via the --include directive. The code generator, if successful, will have populated the assembly directories with generated/ directories. It is generally helpful to automate this process with makefiles. Gtk# uses the following organization: - sources/: Source directories, .sources listing, .metadata files. developers run make manually here when they want to update the API files. - api/: API files The files are committed to CVS and included in releases for the convenience of the lib user. This dir is included in the build before the namespace dirs and the generator is invoked from this dir. gtk-sharp-2.12.10/configure0000755000175000001440000171642211345266366012432 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.63. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell bug-autoconf@gnu.org about your system, echo including any error possibly output before this message. echo This can help us improve future autoconf versions. echo Configuration will now proceed without shell functions. } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$lt_ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac ECHO=${lt_ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then # Yippee, $ECHO works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <<_LT_EOF $* _LT_EOF exit 0 fi # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test -z "$lt_ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if { echo_test_string=`eval $cmd`; } 2>/dev/null && { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null then break fi done fi if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then ECHO="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$ECHO" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. ECHO='print -r' elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} else # Try using printf. ECHO='printf %s\n' if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL ECHO="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then ECHO="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. ECHO=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. lt_ECHO=$ECHO if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="README" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='LTLIBOBJS LIBOBJS ENABLE_MONOGETOPTIONS_FALSE ENABLE_MONOGETOPTIONS_TRUE ENABLE_MSI_FALSE ENABLE_MSI_TRUE ENABLE_MONODOC_FALSE ENABLE_MONODOC_TRUE ENABLE_DOTNET_FALSE ENABLE_DOTNET_TRUE ENABLE_GLADE_FALSE ENABLE_GLADE_TRUE ENABLE_MONO_CAIRO_FALSE ENABLE_MONO_CAIRO_TRUE MONODOCER MDASSEMBLER GDK_BACKEND GLADE_LIBS GLADE_CFLAGS GTK_LIBS GTK_CFLAGS ATK_LIBS ATK_CFLAGS PANGO_LIBS PANGO_CFLAGS GLIB_LIBS GLIB_CFLAGS MONO_CAIRO_LIBS MONO_CAIRO_CFLAGS GENERATED_SOURCES LIB_SUFFIX LIB_PREFIX GACUTIL_FLAGS CSC RUNTIME AL GACUTIL MONO_DEPENDENCY_LIBS MONO_DEPENDENCY_CFLAGS OFF_T_FLAGS BUILD_GTK_LIBS BUILD_GTK_CFLAGS PKG_CONFIG GTK_SHARP_VERSION_CFLAGS CSFLAGS WIX OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL lt_ECHO RANLIB AR LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP SED LIBTOOL OBJDUMP DLLTOOL AS EGREP GREP CPP BUILD_EXEEXT HOST_CC CC_FOR_BUILD am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC PLATFORM_WIN32_FALSE PLATFORM_WIN32_TRUE POLICY_VERSIONS API_VERSION MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_os target_vendor target_cpu target host_os host_vendor host_cpu host build_os build_vendor build_cpu build target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode enable_dependency_tracking enable_shared enable_static with_pic enable_fast_install with_gnu_ld enable_libtool_lock enable_debug ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG MONO_DEPENDENCY_CFLAGS MONO_DEPENDENCY_LIBS MONO_CAIRO_CFLAGS MONO_CAIRO_LIBS GLIB_CFLAGS GLIB_LIBS PANGO_CFLAGS PANGO_LIBS ATK_CFLAGS ATK_LIBS GTK_CFLAGS GTK_LIBS GLADE_CFLAGS GLADE_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { $as_echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-debug Build debugger (.mdb) files for dlls Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility MONO_DEPENDENCY_CFLAGS C compiler flags for MONO_DEPENDENCY, overriding pkg-config MONO_DEPENDENCY_LIBS linker flags for MONO_DEPENDENCY, overriding pkg-config MONO_CAIRO_CFLAGS C compiler flags for MONO_CAIRO, overriding pkg-config MONO_CAIRO_LIBS linker flags for MONO_CAIRO, overriding pkg-config GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config PANGO_CFLAGS C compiler flags for PANGO, overriding pkg-config PANGO_LIBS linker flags for PANGO, overriding pkg-config ATK_CFLAGS C compiler flags for ATK, overriding pkg-config ATK_LIBS linker flags for ATK, overriding pkg-config GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config GLADE_CFLAGS C compiler flags for GLADE, overriding pkg-config GLADE_LIBS linker flags for GLADE, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF configure generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { $as_echo "$as_me:$LINENO: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if test "${ac_cv_build+set}" = set; then $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 $as_echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:$LINENO: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if test "${ac_cv_host+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 $as_echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:$LINENO: checking target system type" >&5 $as_echo_n "checking target system type... " >&6; } if test "${ac_cv_target+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$target_alias" = x; then ac_cv_target=$ac_cv_host else ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 $as_echo "$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 $as_echo "$as_me: error: invalid value of canonical target" >&2;} { (exit 1); exit 1; }; };; esac target=$ac_cv_target ac_save_IFS=$IFS; IFS='-' set x $ac_cv_target shift target_cpu=$1 target_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: target_os=$* IFS=$ac_save_IFS case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- ac_config_headers="$ac_config_headers config.h" am__api_version='1.10' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 $as_echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE=gtk-sharp VERSION=2.12.10 cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE API_VERSION=2.12.0.0 POLICY_VERSIONS="2.4 2.6 2.8 2.10" PACKAGE_VERSION=gtk-sharp-2.0 WIN64DEFINES= case "$host" in x86_64-*-mingw*|x86_64-*-cygwin*) WIN64DEFINES="-define:WIN64LONGS" platform_win32=yes cat >>confdefs.h <<\_ACEOF #define PLATFORM_WIN32 1 _ACEOF if test "x$cross_compiling" = "xno"; then CC="gcc -mno-cygwin -g" HOST_CC="gcc" fi ;; *-*-mingw*|*-*-cygwin*) platform_win32=yes cat >>confdefs.h <<\_ACEOF #define PLATFORM_WIN32 1 _ACEOF if test "x$cross_compiling" = "xno"; then CC="gcc -mno-cygwin -g" HOST_CC="gcc" fi ;; *) platform_win32=no ;; esac if test x$platform_win32 = xyes; then PLATFORM_WIN32_TRUE= PLATFORM_WIN32_FALSE='#' else PLATFORM_WIN32_TRUE='#' PLATFORM_WIN32_FALSE= fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="gcc" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } # Provide some information about the compiler. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } if test -z "$ac_file"; then $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 $as_echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi fi fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest$ac_cv_exeext { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if test "${ac_cv_objext+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } # Provide some information about the compiler. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' CC_FOR_BUILD=$CC BUILD_EXEEXT= if test "x$cross_compiling" = "xyes"; then CC_FOR_BUILD=cc BUILD_EXEEXT="" fi # Set STDC_HEADERS ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:$LINENO: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if test "${ac_cv_path_GREP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:$LINENO: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if test "${ac_cv_path_EGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if test "${ac_cv_header_stdc+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AS+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AS="${ac_tool_prefix}as" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AS=$ac_cv_prog_AS if test -n "$AS"; then { $as_echo "$as_me:$LINENO: result: $AS" >&5 $as_echo "$AS" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_AS"; then ac_ct_AS=$AS # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_AS+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AS"; then ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AS="as" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AS=$ac_cv_prog_ac_ct_AS if test -n "$ac_ct_AS"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 $as_echo "$ac_ct_AS" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_AS" = x; then AS="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AS=$ac_ct_AS fi else AS="$ac_cv_prog_AS" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_DLLTOOL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OBJDUMP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi ;; esac test -z "$AS" && AS=as test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$OBJDUMP" && OBJDUMP=objdump case `pwd` in *\ * | *\ *) { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.2.6' macro_revision='1.3012' ltmain="$ac_aux_dir/ltmain.sh" { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if test "${ac_cv_path_SED+set}" = set; then $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed $as_unset ac_script || ac_script= if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:$LINENO: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if test "${ac_cv_path_FGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if test "${lt_cv_path_LD+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if test "${lt_cv_path_NM+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$ac_tool_prefix"; then for ac_prog in "dumpbin -symbols" "link -dump -symbols" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_DUMPBIN+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in "dumpbin -symbols" "link -dump -symbols" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if test "${lt_cv_nm_interface+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:6230: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:6233: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:6236: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if test "${lt_cv_sys_max_cmd_len+set}" = set; then $as_echo_n "(cached) " >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ = "XX$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:$LINENO: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 $as_echo "$xsi_shell" >&6; } { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 $as_echo "$lt_shell_append" >&6; } if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if test "${lt_cv_ld_reload_flag+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OBJDUMP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if test "${lt_cv_deplibs_check_method+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AR+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="${ac_tool_prefix}ar" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:$LINENO: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_AR+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="ar" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi else AR="$ac_cv_prog_AR" fi test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_RANLIB+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ const struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:$LINENO: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:$LINENO: result: ok" >&5 $as_echo "ok" >&6; } fi # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line 7438 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if test "${lt_cv_cc_needs_belf+set}" = set; then $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then lt_cv_cc_needs_belf=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_DSYMUTIL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_NMEDIT+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_LIPO+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OTOOL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OTOOL64+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if test "${lt_cv_apple_cc_single_mod+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if test "${lt_cv_ld_exported_symbols_list+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then lt_cv_ld_exported_symbols_list=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_ld_exported_symbols_list=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[012]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Set options enable_dlopen=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then withval=$with_pic; pic_mode="$withval" else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:$LINENO: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if test "${lt_cv_objdir+set}" = set; then $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:$LINENO: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC="$CC" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:8874: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:8878: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl*) # IBM XL C 8.0/Fortran 10.1 on PPC lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 $as_echo "$lt_prog_compiler_pic" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if test "${lt_cv_prog_compiler_pic_works+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:9213: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:9217: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if test "${lt_cv_prog_compiler_static_works+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:9318: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:9322: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:9373: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:9377: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag= tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir' archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi export_dynamic_flag_spec='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes=yes ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='' link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=echo archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" cat >conftest.$ac_ext <<_ACEOF int foo(void) {} _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='${wl}-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no else archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 $as_echo "$archive_cmds_need_lc" >&6; } ;; esac fi ;; esac { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` else lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then shlibpath_overrides_runpath=yes fi else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existent directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || test "$inherit_rpath" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_dl_dlopen=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 $as_echo_n "checking for shl_load... " >&6; } if test "${ac_cv_func_shl_load+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_shl_load || defined __stub___shl_load choke me #endif int main () { return shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_shl_load=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 $as_echo "$ac_cv_func_shl_load" >&6; } if test "x$ac_cv_func_shl_load" = x""yes; then lt_cv_dlopen="shl_load" else { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if test "${ac_cv_lib_dld_shl_load+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_dld_shl_load=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = x""yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 $as_echo_n "checking for dlopen... " >&6; } if test "${ac_cv_func_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_dlopen || defined __stub___dlopen choke me #endif int main () { return dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_dlopen=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 $as_echo "$ac_cv_func_dlopen" >&6; } if test "x$ac_cv_func_dlopen" = x""yes; then lt_cv_dlopen="dlopen" else { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_dl_dlopen=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if test "${ac_cv_lib_svld_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_svld_dlopen=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if test "${ac_cv_lib_dld_dld_link+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_dld_dld_link=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = x""yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if test "${lt_cv_dlopen_self+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line 12173 "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if test "${lt_cv_dlopen_self_static+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line 12269 "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report which library types will actually be built { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" ac_config_commands="$ac_config_commands libtool" # Only expand once: # not 64 bit clean in cross-compile # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { $as_echo "$as_me:$LINENO: checking size of void *" >&5 $as_echo_n "checking size of void *... " >&6; } if test "${ac_cv_sizeof_void_p+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid; break else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=$ac_mid; break else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_void_p=$ac_lo;; '') if test "$ac_cv_type_void_p" = yes; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute sizeof (void *) See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } else ac_cv_sizeof_void_p=0 fi ;; esac else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default static long int longval () { return (long int) (sizeof (void *)); } static unsigned long int ulongval () { return (long int) (sizeof (void *)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (((long int) (sizeof (void *))) < 0) { long int i = longval (); if (i != ((long int) (sizeof (void *)))) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ((long int) (sizeof (void *)))) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_void_p=`cat conftest.val` else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) if test "$ac_cv_type_void_p" = yes; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *) See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute sizeof (void *) See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } else ac_cv_sizeof_void_p=0 fi fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.val fi { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 $as_echo "$ac_cv_sizeof_void_p" >&6; } cat >>confdefs.h <<_ACEOF #define SIZEOF_VOID_P $ac_cv_sizeof_void_p _ACEOF CFLAGS="${CFLAGS} -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings" if test "x$enable_maintainer_mode" = "xyes"; then DEBUG_FLAGS='-debug' else DEBUG_FLAGS= # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then enableval=$enable_debug; DEBUG_FLAGS='-debug' fi fi if test "x$platform_win32" = "xyes"; then # Extract the first word of "candle", so it can be a program name with args. set dummy candle; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_WIX+set}" = set; then $as_echo_n "(cached) " >&6 else case $WIX in [\\/]* | ?:[\\/]*) ac_cv_path_WIX="$WIX" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_WIX="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_WIX" && ac_cv_path_WIX="no" ;; esac fi WIX=$ac_cv_path_WIX if test -n "$WIX"; then { $as_echo "$as_me:$LINENO: result: $WIX" >&5 $as_echo "$WIX" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$WIX" = "xno" ; then enable_msi = no else enable_msi = yes fi else enable_msi = no fi CSDEFINES='-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12' CSFLAGS="$DEBUG_FLAGS $CSDEFINES $WIN64DEFINES" GTK_SHARP_VERSION_CFLAGS='-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12' # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$PKG_CONFIG" = "xno"; then { { $as_echo "$as_me:$LINENO: error: You need to install pkg-config" >&5 $as_echo "$as_me: error: You need to install pkg-config" >&2;} { (exit 1); exit 1; }; } fi BUILD_GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` BUILD_GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0` # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { $as_echo "$as_me:$LINENO: checking size of off_t" >&5 $as_echo_n "checking size of off_t... " >&6; } if test "${ac_cv_sizeof_off_t+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid; break else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) < 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=$ac_mid; break else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo= ac_hi= fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_off_t=$ac_lo;; '') if test "$ac_cv_type_off_t" = yes; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } else ac_cv_sizeof_off_t=0 fi ;; esac else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default static long int longval () { return (long int) (sizeof (off_t)); } static unsigned long int ulongval () { return (long int) (sizeof (off_t)); } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (((long int) (sizeof (off_t))) < 0) { long int i = longval (); if (i != ((long int) (sizeof (off_t)))) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ((long int) (sizeof (off_t)))) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_off_t=`cat conftest.val` else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) if test "$ac_cv_type_off_t" = yes; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } else ac_cv_sizeof_off_t=0 fi fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.val fi { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 $as_echo "$ac_cv_sizeof_off_t" >&6; } cat >>confdefs.h <<_ACEOF #define SIZEOF_OFF_T $ac_cv_sizeof_off_t _ACEOF OFF_T_FLAGS="-define:OFF_T_$ac_cv_sizeof_off_t" MONO_REQUIRED_VERSION=1.0 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for MONO_DEPENDENCY" >&5 $as_echo_n "checking for MONO_DEPENDENCY... " >&6; } if test -n "$MONO_DEPENDENCY_CFLAGS"; then pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "mono >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono >= $MONO_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_DEPENDENCY_LIBS"; then pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "mono >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono >= $MONO_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mono >= $MONO_REQUIRED_VERSION" 2>&1` else MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors "mono >= $MONO_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5 { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } has_mono=false elif test $pkg_failed = untried; then has_mono=false else MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } has_mono=true fi if test "x$has_mono" = "xfalse" ; then pkg_failed=no { $as_echo "$as_me:$LINENO: checking for MONO_DEPENDENCY" >&5 $as_echo_n "checking for MONO_DEPENDENCY... " >&6; } if test -n "$MONO_DEPENDENCY_CFLAGS"; then pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$MONO_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "mono-2 >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono-2 >= $MONO_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_DEPENDENCY_LIBS"; then pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$MONO_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "mono-2 >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono-2 >= $MONO_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mono-2 >= $MONO_REQUIRED_VERSION" 2>&1` else MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors "mono-2 >= $MONO_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5 { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } has_mono=false elif test $pkg_failed = untried; then has_mono=false else MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } has_mono=true fi fi # Extract the first word of "gacutil", so it can be a program name with args. set dummy gacutil; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_GACUTIL+set}" = set; then $as_echo_n "(cached) " >&6 else case $GACUTIL in [\\/]* | ?:[\\/]*) ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GACUTIL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GACUTIL" && ac_cv_path_GACUTIL="no" ;; esac fi GACUTIL=$ac_cv_path_GACUTIL if test -n "$GACUTIL"; then { $as_echo "$as_me:$LINENO: result: $GACUTIL" >&5 $as_echo "$GACUTIL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$GACUTIL" = "xno" ; then { { $as_echo "$as_me:$LINENO: error: No gacutil tool found. You need to install either the mono or .Net SDK." >&5 $as_echo "$as_me: error: No gacutil tool found. You need to install either the mono or .Net SDK." >&2;} { (exit 1); exit 1; }; } fi # Extract the first word of "al", so it can be a program name with args. set dummy al; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_AL+set}" = set; then $as_echo_n "(cached) " >&6 else case $AL in [\\/]* | ?:[\\/]*) ac_cv_path_AL="$AL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_AL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_AL" && ac_cv_path_AL="no" ;; esac fi AL=$ac_cv_path_AL if test -n "$AL"; then { $as_echo "$as_me:$LINENO: result: $AL" >&5 $as_echo "$AL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$AL" = "xno" ; then { { $as_echo "$as_me:$LINENO: error: No al tool found. You need to install either the mono or .Net SDK." >&5 $as_echo "$as_me: error: No al tool found. You need to install either the mono or .Net SDK." >&2;} { (exit 1); exit 1; }; } fi if test "x$has_mono" = "xtrue"; then GACUTIL_FLAGS='/package $(PACKAGE_VERSION) /gacdir $(DESTDIR)$(prefix)/lib' GENERATED_SOURCES=generated/*.cs # Extract the first word of "mono", so it can be a program name with args. set dummy mono; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_RUNTIME+set}" = set; then $as_echo_n "(cached) " >&6 else case $RUNTIME in [\\/]* | ?:[\\/]*) ac_cv_path_RUNTIME="$RUNTIME" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_RUNTIME="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_RUNTIME" && ac_cv_path_RUNTIME="no" ;; esac fi RUNTIME=$ac_cv_path_RUNTIME if test -n "$RUNTIME"; then { $as_echo "$as_me:$LINENO: result: $RUNTIME" >&5 $as_echo "$RUNTIME" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # If mono is found, it's in the path. Require it to be in the path at runtime as well if test "x$RUNTIME" != "no" ; then RUNTIME=mono fi # Extract the first word of "mcs", so it can be a program name with args. set dummy mcs; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_CSC+set}" = set; then $as_echo_n "(cached) " >&6 else case $CSC in [\\/]* | ?:[\\/]*) ac_cv_path_CSC="$CSC" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_CSC" && ac_cv_path_CSC="no" ;; esac fi CSC=$ac_cv_path_CSC if test -n "$CSC"; then { $as_echo "$as_me:$LINENO: result: $CSC" >&5 $as_echo "$CSC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test `uname -s` = "Darwin"; then LIB_PREFIX= LIB_SUFFIX=.dylib else LIB_PREFIX=.so LIB_SUFFIX= fi SDCHECK="`$GACUTIL /l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`" if test "x$SDCHECK" = "xSystem.Drawing"; then enable_dotnet=yes else enable_dotnet=no fi else # Extract the first word of "csc.exe", so it can be a program name with args. set dummy csc.exe; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_CSC+set}" = set; then $as_echo_n "(cached) " >&6 else case $CSC in [\\/]* | ?:[\\/]*) ac_cv_path_CSC="$CSC" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_CSC" && ac_cv_path_CSC="no" ;; esac fi CSC=$ac_cv_path_CSC if test -n "$CSC"; then { $as_echo "$as_me:$LINENO: result: $CSC" >&5 $as_echo "$CSC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi GACUTIL_FLAGS= GENERATED_SOURCES=generated\\\\*.cs enable_dotnet=yes if test x$CSC = "xno"; then { { $as_echo "$as_me:$LINENO: error: You need to install either mono or .Net" >&5 $as_echo "$as_me: error: You need to install either mono or .Net" >&2;} { (exit 1); exit 1; }; } else RUNTIME= LIB_PREFIX= LIB_SUFFIX=.dylib fi fi CS="C#" if test "x$CSC" = "xno" ; then { { $as_echo "$as_me:$LINENO: error: No $CS compiler found" >&5 $as_echo "$as_me: error: No $CS compiler found" >&2;} { (exit 1); exit 1; }; } fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for MONO_CAIRO" >&5 $as_echo_n "checking for MONO_CAIRO... " >&6; } if test -n "$MONO_CAIRO_CFLAGS"; then pkg_cv_MONO_CAIRO_CFLAGS="$MONO_CAIRO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-cairo >= \$MONO_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "mono-cairo >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_MONO_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "mono-cairo >= $MONO_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_CAIRO_LIBS"; then pkg_cv_MONO_CAIRO_LIBS="$MONO_CAIRO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-cairo >= \$MONO_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "mono-cairo >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_MONO_CAIRO_LIBS=`$PKG_CONFIG --libs "mono-cairo >= $MONO_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mono-cairo >= $MONO_REQUIRED_VERSION" 2>&1` else MONO_CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mono-cairo >= $MONO_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_CAIRO_PKG_ERRORS" >&5 { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } enable_mono_cairo=yes elif test $pkg_failed = untried; then enable_mono_cairo=yes else MONO_CAIRO_CFLAGS=$pkg_cv_MONO_CAIRO_CFLAGS MONO_CAIRO_LIBS=$pkg_cv_MONO_CAIRO_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } enable_mono_cairo=no fi GTK_REQUIRED_VERSION=2.12.0 pkg_failed=no { $as_echo "$as_me:$LINENO: checking for GLIB" >&5 $as_echo_n "checking for GLIB... " >&6; } if test -n "$GLIB_CFLAGS"; then pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GTK_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GTK_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLIB_LIBS"; then pkg_cv_GLIB_LIBS="$GLIB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GTK_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GTK_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>&1` else GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 { { $as_echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= $GTK_REQUIRED_VERSION) were not met: $GLIB_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 $as_echo "$as_me: error: Package requirements (gobject-2.0 >= $GTK_REQUIRED_VERSION) were not met: $GLIB_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } else GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS GLIB_LIBS=$pkg_cv_GLIB_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } : fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for PANGO" >&5 $as_echo_n "checking for PANGO... " >&6; } if test -n "$PANGO_CFLAGS"; then pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango\"") >&5 ($PKG_CONFIG --exists --print-errors "pango") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PANGO_LIBS"; then pkg_cv_PANGO_LIBS="$PANGO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango\"") >&5 ($PKG_CONFIG --exists --print-errors "pango") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pango" 2>&1` else PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pango" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PANGO_PKG_ERRORS" >&5 { { $as_echo "$as_me:$LINENO: error: Package requirements (pango) were not met: $PANGO_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PANGO_CFLAGS and PANGO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 $as_echo "$as_me: error: Package requirements (pango) were not met: $PANGO_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PANGO_CFLAGS and PANGO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PANGO_CFLAGS and PANGO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PANGO_CFLAGS and PANGO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } else PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS PANGO_LIBS=$pkg_cv_PANGO_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } : fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for ATK" >&5 $as_echo_n "checking for ATK... " >&6; } if test -n "$ATK_CFLAGS"; then pkg_cv_ATK_CFLAGS="$ATK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"atk\"") >&5 ($PKG_CONFIG --exists --print-errors "atk") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$ATK_LIBS"; then pkg_cv_ATK_LIBS="$ATK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"atk\"") >&5 ($PKG_CONFIG --exists --print-errors "atk") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "atk" 2>&1` else ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors "atk" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$ATK_PKG_ERRORS" >&5 { { $as_echo "$as_me:$LINENO: error: Package requirements (atk) were not met: $ATK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables ATK_CFLAGS and ATK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 $as_echo "$as_me: error: Package requirements (atk) were not met: $ATK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables ATK_CFLAGS and ATK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables ATK_CFLAGS and ATK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables ATK_CFLAGS and ATK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } else ATK_CFLAGS=$pkg_cv_ATK_CFLAGS ATK_LIBS=$pkg_cv_ATK_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } : fi pkg_failed=no { $as_echo "$as_me:$LINENO: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 $as_echo "$as_me: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } : fi GLADE_REQUIRED_VERSION=2.3.6 pkg_failed=no { $as_echo "$as_me:$LINENO: checking for GLADE" >&5 $as_echo_n "checking for GLADE... " >&6; } if test -n "$GLADE_CFLAGS"; then pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$GLADE_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $GLADE_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLADE_LIBS"; then pkg_cv_GLADE_LIBS="$GLADE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$GLADE_REQUIRED_VERSION\"") >&5 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $GLADE_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>&1` else GLADE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLADE_PKG_ERRORS" >&5 { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } enable_glade=no elif test $pkg_failed = untried; then enable_glade=no else GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS GLADE_LIBS=$pkg_cv_GLADE_LIBS { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } enable_glade=yes fi GDK_BACKEND=`pkg-config --variable=target gtk+-2.0` # Extract the first word of "mdassembler", so it can be a program name with args. set dummy mdassembler; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MDASSEMBLER+set}" = set; then $as_echo_n "(cached) " >&6 else case $MDASSEMBLER in [\\/]* | ?:[\\/]*) ac_cv_path_MDASSEMBLER="$MDASSEMBLER" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MDASSEMBLER="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_MDASSEMBLER" && ac_cv_path_MDASSEMBLER="no" ;; esac fi MDASSEMBLER=$ac_cv_path_MDASSEMBLER if test -n "$MDASSEMBLER"; then { $as_echo "$as_me:$LINENO: result: $MDASSEMBLER" >&5 $as_echo "$MDASSEMBLER" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "monodocer", so it can be a program name with args. set dummy monodocer; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MONODOCER+set}" = set; then $as_echo_n "(cached) " >&6 else case $MONODOCER in [\\/]* | ?:[\\/]*) ac_cv_path_MONODOCER="$MONODOCER" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MONODOCER="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_MONODOCER" && ac_cv_path_MONODOCER="no" ;; esac fi MONODOCER=$ac_cv_path_MONODOCER if test -n "$MONODOCER"; then { $as_echo "$as_me:$LINENO: result: $MONODOCER" >&5 $as_echo "$MONODOCER" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then enable_monodoc=no doc_sources_dir= else enable_monodoc=yes doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`" fi if test "x$enable_mono_cairo" = "xyes"; then ENABLE_MONO_CAIRO_TRUE= ENABLE_MONO_CAIRO_FALSE='#' else ENABLE_MONO_CAIRO_TRUE='#' ENABLE_MONO_CAIRO_FALSE= fi if test "x$enable_glade" = "xyes"; then ENABLE_GLADE_TRUE= ENABLE_GLADE_FALSE='#' else ENABLE_GLADE_TRUE='#' ENABLE_GLADE_FALSE= fi if test "x$enable_dotnet" = "xyes"; then ENABLE_DOTNET_TRUE= ENABLE_DOTNET_FALSE='#' else ENABLE_DOTNET_TRUE='#' ENABLE_DOTNET_FALSE= fi if test "x$enable_monodoc" = "xyes"; then ENABLE_MONODOC_TRUE= ENABLE_MONODOC_FALSE='#' else ENABLE_MONODOC_TRUE='#' ENABLE_MONODOC_FALSE= fi if test "x$enable_msi" = "xyes"; then ENABLE_MSI_TRUE= ENABLE_MSI_FALSE='#' else ENABLE_MSI_TRUE='#' ENABLE_MSI_FALSE= fi if test "x$has_mono" = "xtrue"; then ENABLE_MONOGETOPTIONS_TRUE= ENABLE_MONOGETOPTIONS_FALSE='#' else ENABLE_MONOGETOPTIONS_TRUE='#' ENABLE_MONOGETOPTIONS_FALSE= fi ac_config_files="$ac_config_files AssemblyInfo.cs Makefile policy.config msi/gtk-sharp-2.0.wxs msi/Makefile msi/unmanaged/Makefile msi/unmanaged/custom/Makefile msi/unmanaged/custom/etc/Makefile msi/unmanaged/custom/etc/gtk-2.0/Makefile msi/unmanaged/custom/share/Makefile msi/unmanaged/custom/share/icons/Makefile msi/unmanaged/custom/share/icons/hicolor/Makefile sources/Makefile parser/Makefile parser/gapi-2.0.pc parser/gapi2-fixup parser/gapi2-parser generator/Makefile generator/gapi2-codegen glib/Makefile glib/glib-sharp-2.0.pc glib/glib-sharp.dll.config glib/glue/Makefile cairo/Makefile pango/Makefile pango/pango-sharp.dll.config pango/glue/Makefile atk/Makefile atk/atk-sharp.dll.config atk/glue/Makefile gdk/Makefile gdk/gdk-sharp.dll.config gdk/glue/Makefile gtk/Makefile gtk/gtk-sharp-2.0.pc gtk/gtk-sharp.dll.config gtk/glue/Makefile glade/Makefile glade/glade-sharp.dll.config glade/glade-sharp-2.0.pc glade/glue/Makefile gtkdotnet/Makefile gtkdotnet/gtk-dotnet.dll.config gtkdotnet/gtk-dotnet-2.0.pc doc/Makefile sample/GtkDemo/Makefile sample/Makefile sample/pixmaps/Makefile sample/test/Makefile sample/valtest/Makefile sample/valtest/valtest.exe.config sample/opaquetest/Makefile sample/opaquetest/opaquetest.exe.config" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_MONO_CAIRO_TRUE}" && test -z "${ENABLE_MONO_CAIRO_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_MONO_CAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_MONO_CAIRO\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_GLADE_TRUE}" && test -z "${ENABLE_GLADE_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GLADE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_GLADE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_DOTNET_TRUE}" && test -z "${ENABLE_DOTNET_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOTNET\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_DOTNET\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_MONODOC_TRUE}" && test -z "${ENABLE_MONODOC_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_MONODOC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_MONODOC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_MSI_TRUE}" && test -z "${ENABLE_MSI_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_MSI\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_MSI\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_MONOGETOPTIONS_TRUE}" && test -z "${ENABLE_MONOGETOPTIONS_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_MONOGETOPTIONS\" was never defined. Usually this means the macro was only invoked conditionally." >&5 $as_echo "$as_me: error: conditional \"ENABLE_MONOGETOPTIONS\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { $as_echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # Quote evaled strings. for var in SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ deplibs_check_method \ file_magic_cmd \ AR \ AR_FLAGS \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ SHELL \ ECHO \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ fix_srcfile_path \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec; do case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Fix-up fallback echo if it was mangled by the above quoting rules. case \$lt_ECHO in *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` ;; esac ac_aux_dir='$ac_aux_dir' xsi_shell='$xsi_shell' lt_shell_append='$lt_shell_append' # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES AssemblyInfo.cs" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "policy.config") CONFIG_FILES="$CONFIG_FILES policy.config" ;; "msi/gtk-sharp-2.0.wxs") CONFIG_FILES="$CONFIG_FILES msi/gtk-sharp-2.0.wxs" ;; "msi/Makefile") CONFIG_FILES="$CONFIG_FILES msi/Makefile" ;; "msi/unmanaged/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/Makefile" ;; "msi/unmanaged/custom/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/Makefile" ;; "msi/unmanaged/custom/etc/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/etc/Makefile" ;; "msi/unmanaged/custom/etc/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/etc/gtk-2.0/Makefile" ;; "msi/unmanaged/custom/share/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/Makefile" ;; "msi/unmanaged/custom/share/icons/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/icons/Makefile" ;; "msi/unmanaged/custom/share/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/icons/hicolor/Makefile" ;; "sources/Makefile") CONFIG_FILES="$CONFIG_FILES sources/Makefile" ;; "parser/Makefile") CONFIG_FILES="$CONFIG_FILES parser/Makefile" ;; "parser/gapi-2.0.pc") CONFIG_FILES="$CONFIG_FILES parser/gapi-2.0.pc" ;; "parser/gapi2-fixup") CONFIG_FILES="$CONFIG_FILES parser/gapi2-fixup" ;; "parser/gapi2-parser") CONFIG_FILES="$CONFIG_FILES parser/gapi2-parser" ;; "generator/Makefile") CONFIG_FILES="$CONFIG_FILES generator/Makefile" ;; "generator/gapi2-codegen") CONFIG_FILES="$CONFIG_FILES generator/gapi2-codegen" ;; "glib/Makefile") CONFIG_FILES="$CONFIG_FILES glib/Makefile" ;; "glib/glib-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES glib/glib-sharp-2.0.pc" ;; "glib/glib-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES glib/glib-sharp.dll.config" ;; "glib/glue/Makefile") CONFIG_FILES="$CONFIG_FILES glib/glue/Makefile" ;; "cairo/Makefile") CONFIG_FILES="$CONFIG_FILES cairo/Makefile" ;; "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;; "pango/pango-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES pango/pango-sharp.dll.config" ;; "pango/glue/Makefile") CONFIG_FILES="$CONFIG_FILES pango/glue/Makefile" ;; "atk/Makefile") CONFIG_FILES="$CONFIG_FILES atk/Makefile" ;; "atk/atk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES atk/atk-sharp.dll.config" ;; "atk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES atk/glue/Makefile" ;; "gdk/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;; "gdk/gdk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES gdk/gdk-sharp.dll.config" ;; "gdk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/glue/Makefile" ;; "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;; "gtk/gtk-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtk/gtk-sharp-2.0.pc" ;; "gtk/gtk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES gtk/gtk-sharp.dll.config" ;; "gtk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/glue/Makefile" ;; "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;; "glade/glade-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES glade/glade-sharp.dll.config" ;; "glade/glade-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES glade/glade-sharp-2.0.pc" ;; "glade/glue/Makefile") CONFIG_FILES="$CONFIG_FILES glade/glue/Makefile" ;; "gtkdotnet/Makefile") CONFIG_FILES="$CONFIG_FILES gtkdotnet/Makefile" ;; "gtkdotnet/gtk-dotnet.dll.config") CONFIG_FILES="$CONFIG_FILES gtkdotnet/gtk-dotnet.dll.config" ;; "gtkdotnet/gtk-dotnet-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtkdotnet/gtk-dotnet-2.0.pc" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "sample/GtkDemo/Makefile") CONFIG_FILES="$CONFIG_FILES sample/GtkDemo/Makefile" ;; "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;; "sample/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES sample/pixmaps/Makefile" ;; "sample/test/Makefile") CONFIG_FILES="$CONFIG_FILES sample/test/Makefile" ;; "sample/valtest/Makefile") CONFIG_FILES="$CONFIG_FILES sample/valtest/Makefile" ;; "sample/valtest/valtest.exe.config") CONFIG_FILES="$CONFIG_FILES sample/valtest/valtest.exe.config" ;; "sample/opaquetest/Makefile") CONFIG_FILES="$CONFIG_FILES sample/opaquetest/Makefile" ;; "sample/opaquetest/opaquetest.exe.config") CONFIG_FILES="$CONFIG_FILES sample/opaquetest/opaquetest.exe.config" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\).*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\).*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_t=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_t"; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} { (exit 1); exit 1; }; } fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 $as_echo "$as_me: error: could not create -" >&2;} { (exit 1); exit 1; }; } fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; "libtool":C) # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # The names of the tagged configurations supported by this script. available_tags="" # ### BEGIN LIBTOOL CONFIG # Assembler program. AS=$AS # DLL creation program. DLLTOOL=$DLLTOOL # Object dumper program. OBJDUMP=$OBJDUMP # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == "file_magic". file_magic_cmd=$lt_file_magic_cmd # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # The name of the directory that contains temporary libtool files. objdir=$objdir # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that does not interpret backslashes. ECHO=$lt_ECHO # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into a binary # during linking. This must work even if \$libdir does not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \${shlibpath_var} if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path=$lt_fix_srcfile_path # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain="$ac_aux_dir/ltmain.sh" # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) case $xsi_shell in yes) cat << \_LT_EOF >> "$cfgfile" # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac } # func_basename file func_basename () { func_basename_result="${1##*/}" } # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac func_basename_result="${1##*/}" } # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). func_stripname () { # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary parameter first. func_stripname_result=${3} func_stripname_result=${func_stripname_result#"${1}"} func_stripname_result=${func_stripname_result%"${2}"} } # func_opt_split func_opt_split () { func_opt_split_opt=${1%%=*} func_opt_split_arg=${1#*=} } # func_lo2o object func_lo2o () { case ${1} in *.lo) func_lo2o_result=${1%.lo}.${objext} ;; *) func_lo2o_result=${1} ;; esac } # func_xform libobj-or-source func_xform () { func_xform_result=${1%.*}.lo } # func_arith arithmetic-term... func_arith () { func_arith_result=$(( $* )) } # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=${#1} } _LT_EOF ;; *) # Bourne compatible functions. cat << \_LT_EOF >> "$cfgfile" # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi } # func_basename file func_basename () { func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` } # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # func_strip_suffix prefix name func_stripname () { case ${2} in .*) func_stripname_result=`$ECHO "X${3}" \ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "X${3}" \ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; esac } # sed scripts: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' my_sed_long_arg='1s/^-[^=]*=//' # func_opt_split func_opt_split () { func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` } # func_lo2o object func_lo2o () { func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` } # func_xform libobj-or-source func_xform () { func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` } # func_arith arithmetic-term... func_arith () { func_arith_result=`expr "$@"` } # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` } _LT_EOF esac case $lt_shell_append in yes) cat << \_LT_EOF >> "$cfgfile" # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "$1+=\$2" } _LT_EOF ;; *) cat << \_LT_EOF >> "$cfgfile" # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "$1=\$$1\$2" } _LT_EOF ;; esac sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi if test x$platform_win32 = xyes; then # Get rid of 'cyg' prefixes in library names sed -e "s/\/cyg\//\/\//" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool fi echo "---" echo "Configuration summary" echo "" echo " * Installation prefix = $prefix" echo " * $CS compiler: $CSC $CSFLAGS" echo "" echo " Optional assemblies included in the build:" echo "" echo " * glade-sharp.dll: $enable_glade" echo " * gtk-dotnet.dll: $enable_dotnet " if test "x$enable_mono_cairo" = "xyes"; then echo " * Mono.Cairo.dll: building local assembly" else echo " * Mono.Cairo.dll: using system assembly" fi echo "" echo " NOTE: if any of the above say 'no' you may install the" echo " corresponding development packages for them, rerun" echo " autogen.sh to include them in the build." echo "" echo " * Documentation build enabled: $enable_monodoc " if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then echo " WARNING: The install prefix is different than the monodoc prefix." echo " Monodoc will not be able to load the documentation." fi echo "---" gtk-sharp-2.12.10/atk/0000777000175000001440000000000011345266755011353 500000000000000gtk-sharp-2.12.10/atk/Makefile.am0000644000175000001440000000102711277367703013322 00000000000000SUBDIRS = . glue pkg = atk METADATA = Atk.metadata SYMBOLS = references = ../glib/glib-sharp.dll glue_includes = atk/atk.h sources = \ ColumnDeletedHandler.cs \ ColumnInsertedHandler.cs \ RowDeletedHandler.cs \ RowInsertedHandler.cs \ TableAdapter.cs \ Table.cs \ TextChangedDetail.cs customs = \ Global.custom \ Hyperlink.custom \ Misc.custom \ NoOpObject.custom \ Object.custom \ ObjectFactory.custom \ SelectionAdapter.custom \ TextAdapter.custom \ Util.custom add_dist = include ../Makefile.include gtk-sharp-2.12.10/atk/Table.cs0000644000175000001440000000560211277367703012647 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; #region Autogenerated code public interface Table : GLib.IWrapper { event System.EventHandler ColumnReordered; event Atk.ColumnDeletedHandler ColumnDeleted; event System.EventHandler RowReordered; event Atk.ColumnInsertedHandler ColumnInserted; event System.EventHandler ModelChanged; event Atk.RowInsertedHandler RowInserted; event Atk.RowDeletedHandler RowDeleted; int NRows { get; } bool AddRowSelection(int row); int GetColumnExtentAt(int row, int column); Atk.Object GetColumnHeader(int column); bool IsSelected(int row, int column); Atk.Object Summary { get; set; } string GetColumnDescription(int column); bool AddColumnSelection(int column); void SetRowHeader(int row, Atk.Object header); string GetRowDescription(int row); Atk.Object RefAt(int row, int column); void SetColumnDescription(int column, string description); int GetIndexAt(int row, int column); Atk.Object GetRowHeader(int row); bool IsColumnSelected(int column); int [] SelectedRows { get; } void SetRowDescription(int row, string description); bool IsRowSelected(int row); int GetRowExtentAt(int row, int column); int [] SelectedColumns { get; } int GetColumnAtIndex(int index_); int GetRowAtIndex(int index_); Atk.Object Caption { get; set; } int NColumns { get; } bool RemoveRowSelection(int row); bool RemoveColumnSelection(int column); void SetColumnHeader(int column, Atk.Object header); } [GLib.GInterface (typeof (TableAdapter))] public interface TableImplementor : GLib.IWrapper { Atk.Object RefAt (int row, int column); int GetIndexAt (int row, int column); int GetColumnAtIndex (int index_); int GetRowAtIndex (int index_); int NColumns { get; } int NRows { get; } int GetColumnExtentAt (int row, int column); int GetRowExtentAt (int row, int column); Atk.Object Caption { get; set; } string GetColumnDescription (int column); Atk.Object GetColumnHeader (int column); string GetRowDescription (int row); Atk.Object GetRowHeader (int row); Atk.Object Summary { get; set; } void SetColumnDescription (int column, string description); void SetColumnHeader (int column, Atk.Object header); void SetRowDescription (int row, string description); void SetRowHeader (int row, Atk.Object header); int [] SelectedColumns { get; } int [] SelectedRows { get; } bool IsColumnSelected (int column); bool IsRowSelected (int row); bool IsSelected (int row, int column); bool AddRowSelection (int row); bool RemoveRowSelection (int row); bool AddColumnSelection (int column); bool RemoveColumnSelection (int column); } #endregion } gtk-sharp-2.12.10/atk/TableAdapter.cs0000644000175000001440000010304011277367703014143 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; using System.Runtime.InteropServices; #region Autogenerated code public class TableAdapter : GLib.GInterfaceAdapter, Atk.Table { static TableIface iface; struct TableIface { public IntPtr gtype; public IntPtr itype; public RefAtDelegate ref_at; public GetIndexAtDelegate get_index_at; public GetColumnAtIndexDelegate get_column_at_index; public GetRowAtIndexDelegate get_row_at_index; public GetNColumnsDelegate get_n_columns; public GetNRowsDelegate get_n_rows; public GetColumnExtentAtDelegate get_column_extent_at; public GetRowExtentAtDelegate get_row_extent_at; public GetCaptionDelegate get_caption; public GetColumnDescriptionDelegate get_column_description; public GetColumnHeaderDelegate get_column_header; public GetRowDescriptionDelegate get_row_description; public GetRowHeaderDelegate get_row_header; public GetSummaryDelegate get_summary; public SetCaptionDelegate set_caption; public SetColumnDescriptionDelegate set_column_description; public SetColumnHeaderDelegate set_column_header; public SetRowDescriptionDelegate set_row_description; public SetRowHeaderDelegate set_row_header; public SetSummaryDelegate set_summary; public GetSelectedColumnsDelegate get_selected_columns; public GetSelectedRowsDelegate get_selected_rows; public IsColumnSelectedDelegate is_column_selected; public IsRowSelectedDelegate is_row_selected; public IsSelectedDelegate is_selected; public AddRowSelectionDelegate add_row_selection; public RemoveRowSelectionDelegate remove_row_selection; public AddColumnSelectionDelegate add_column_selection; public RemoveColumnSelectionDelegate remove_column_selection; public IntPtr row_inserted; public IntPtr column_inserted; public IntPtr row_deleted; public IntPtr column_deleted; public IntPtr row_reordered; public IntPtr column_reordered; public IntPtr model_changed; } static TableAdapter () { GLib.GType.Register (_gtype, typeof(TableAdapter)); iface.ref_at = new RefAtDelegate (RefAtCallback); iface.get_index_at = new GetIndexAtDelegate (GetIndexAtCallback); iface.get_column_at_index = new GetColumnAtIndexDelegate (GetColumnAtIndexCallback); iface.get_row_at_index = new GetRowAtIndexDelegate (GetRowAtIndexCallback); iface.get_n_columns = new GetNColumnsDelegate (GetNColumnsCallback); iface.get_n_rows = new GetNRowsDelegate (GetNRowsCallback); iface.get_column_extent_at = new GetColumnExtentAtDelegate (GetColumnExtentAtCallback); iface.get_row_extent_at = new GetRowExtentAtDelegate (GetRowExtentAtCallback); iface.get_caption = new GetCaptionDelegate (GetCaptionCallback); iface.get_column_description = new GetColumnDescriptionDelegate (GetColumnDescriptionCallback); iface.get_column_header = new GetColumnHeaderDelegate (GetColumnHeaderCallback); iface.get_row_description = new GetRowDescriptionDelegate (GetRowDescriptionCallback); iface.get_row_header = new GetRowHeaderDelegate (GetRowHeaderCallback); iface.get_summary = new GetSummaryDelegate (GetSummaryCallback); iface.set_caption = new SetCaptionDelegate (SetCaptionCallback); iface.set_column_description = new SetColumnDescriptionDelegate (SetColumnDescriptionCallback); iface.set_column_header = new SetColumnHeaderDelegate (SetColumnHeaderCallback); iface.set_row_description = new SetRowDescriptionDelegate (SetRowDescriptionCallback); iface.set_row_header = new SetRowHeaderDelegate (SetRowHeaderCallback); iface.set_summary = new SetSummaryDelegate (SetSummaryCallback); iface.get_selected_columns = new GetSelectedColumnsDelegate (GetSelectedColumnsCallback); iface.get_selected_rows = new GetSelectedRowsDelegate (GetSelectedRowsCallback); iface.is_column_selected = new IsColumnSelectedDelegate (IsColumnSelectedCallback); iface.is_row_selected = new IsRowSelectedDelegate (IsRowSelectedCallback); iface.is_selected = new IsSelectedDelegate (IsSelectedCallback); iface.add_row_selection = new AddRowSelectionDelegate (AddRowSelectionCallback); iface.remove_row_selection = new RemoveRowSelectionDelegate (RemoveRowSelectionCallback); iface.add_column_selection = new AddColumnSelectionDelegate (AddColumnSelectionCallback); iface.remove_column_selection = new RemoveColumnSelectionDelegate (RemoveColumnSelectionCallback); } [GLib.CDeclCallback] delegate IntPtr RefAtDelegate (IntPtr table, int row, int column); static IntPtr RefAtCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.RefAt (row, column); return __result == null ? IntPtr.Zero : __result.OwnedHandle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate int GetIndexAtDelegate (IntPtr table, int row, int column); static int GetIndexAtCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetIndexAt (row, column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate int GetColumnAtIndexDelegate (IntPtr table, int index_); static int GetColumnAtIndexCallback (IntPtr table, int index_) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetColumnAtIndex (index_); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate int GetRowAtIndexDelegate (IntPtr table, int index_); static int GetRowAtIndexCallback (IntPtr table, int index_) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetRowAtIndex (index_); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate int GetNColumnsDelegate (IntPtr table); static int GetNColumnsCallback (IntPtr table) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.NColumns; return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate int GetNRowsDelegate (IntPtr table); static int GetNRowsCallback (IntPtr table) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.NRows; return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate int GetColumnExtentAtDelegate (IntPtr table, int row, int column); static int GetColumnExtentAtCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetColumnExtentAt (row, column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate int GetRowExtentAtDelegate (IntPtr table, int row, int column); static int GetRowExtentAtCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetRowExtentAt (row, column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate IntPtr GetCaptionDelegate (IntPtr table); static IntPtr GetCaptionCallback (IntPtr table) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.Caption; return __result == null ? IntPtr.Zero : __result.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate IntPtr GetColumnDescriptionDelegate (IntPtr table, int column); static IntPtr GetColumnDescriptionCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; string __result = __obj.GetColumnDescription (column); return GLib.Marshaller.StringToPtrGStrdup (__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate IntPtr GetColumnHeaderDelegate (IntPtr table, int column); static IntPtr GetColumnHeaderCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.GetColumnHeader (column); return __result == null ? IntPtr.Zero : __result.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate IntPtr GetRowDescriptionDelegate (IntPtr table, int row); static IntPtr GetRowDescriptionCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; string __result = __obj.GetRowDescription (row); return GLib.Marshaller.StringToPtrGStrdup (__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate IntPtr GetRowHeaderDelegate (IntPtr table, int row); static IntPtr GetRowHeaderCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.GetRowHeader (row); return __result == null ? IntPtr.Zero : __result.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate IntPtr GetSummaryDelegate (IntPtr table); static IntPtr GetSummaryCallback (IntPtr table) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.Summary; return __result == null ? IntPtr.Zero : __result.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate void SetCaptionDelegate (IntPtr table, IntPtr caption); static void SetCaptionCallback (IntPtr table, IntPtr caption) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.Caption = GLib.Object.GetObject(caption) as Atk.Object; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void SetColumnDescriptionDelegate (IntPtr table, int column, IntPtr description); static void SetColumnDescriptionCallback (IntPtr table, int column, IntPtr description) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.SetColumnDescription (column, GLib.Marshaller.Utf8PtrToString (description)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void SetColumnHeaderDelegate (IntPtr table, int column, IntPtr header); static void SetColumnHeaderCallback (IntPtr table, int column, IntPtr header) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.SetColumnHeader (column, GLib.Object.GetObject(header) as Atk.Object); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void SetRowDescriptionDelegate (IntPtr table, int row, IntPtr description); static void SetRowDescriptionCallback (IntPtr table, int row, IntPtr description) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.SetRowDescription (row, GLib.Marshaller.Utf8PtrToString (description)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void SetRowHeaderDelegate (IntPtr table, int row, IntPtr header); static void SetRowHeaderCallback (IntPtr table, int row, IntPtr header) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.SetRowHeader (row, GLib.Object.GetObject(header) as Atk.Object); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void SetSummaryDelegate (IntPtr table, IntPtr accessible); static void SetSummaryCallback (IntPtr table, IntPtr accessible) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.Summary = GLib.Object.GetObject(accessible) as Atk.Object; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate int GetSelectedColumnsDelegate (IntPtr table, out IntPtr selected_ptr); static int GetSelectedColumnsCallback (IntPtr table, out IntPtr selected_ptr) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int [] selected = __obj.SelectedColumns; if (selected.Length > 0) { selected_ptr = GLib.Marshaller.Malloc ((ulong)(Marshal.SizeOf (typeof(int)) * selected.Length)); Marshal.Copy (selected, 0, selected_ptr, selected.Length); } else { selected_ptr = IntPtr.Zero; } return selected.Length; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate int GetSelectedRowsDelegate (IntPtr table, out IntPtr selected); static int GetSelectedRowsCallback (IntPtr table, out IntPtr selected_ptr) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int [] selected = __obj.SelectedRows; if (selected.Length > 0) { selected_ptr = GLib.Marshaller.Malloc ((ulong)(Marshal.SizeOf (typeof(int)) * selected.Length)); Marshal.Copy (selected, 0, selected_ptr, selected.Length); } else { selected_ptr = IntPtr.Zero; } return selected.Length; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate bool IsColumnSelectedDelegate (IntPtr table, int column); static bool IsColumnSelectedCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.IsColumnSelected (column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate bool IsRowSelectedDelegate (IntPtr table, int row); static bool IsRowSelectedCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.IsRowSelected (row); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate bool IsSelectedDelegate (IntPtr table, int row, int column); static bool IsSelectedCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.IsSelected (row, column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate bool AddRowSelectionDelegate (IntPtr table, int row); static bool AddRowSelectionCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.AddRowSelection (row); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate bool RemoveRowSelectionDelegate (IntPtr table, int row); static bool RemoveRowSelectionCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.RemoveRowSelection (row); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate bool AddColumnSelectionDelegate (IntPtr table, int column); static bool AddColumnSelectionCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.AddColumnSelection (column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [GLib.CDeclCallback] delegate bool RemoveColumnSelectionDelegate (IntPtr table, int column); static bool RemoveColumnSelectionCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.RemoveColumnSelection (column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } static void Initialize (IntPtr ifaceptr, IntPtr data) { TableIface native_iface = (TableIface) Marshal.PtrToStructure (ifaceptr, typeof (TableIface)); native_iface.ref_at = iface.ref_at; native_iface.get_index_at = iface.get_index_at; native_iface.get_column_at_index = iface.get_column_at_index; native_iface.get_row_at_index = iface.get_row_at_index; native_iface.get_n_columns = iface.get_n_columns; native_iface.get_n_rows = iface.get_n_rows; native_iface.get_column_extent_at = iface.get_column_extent_at; native_iface.get_row_extent_at = iface.get_row_extent_at; native_iface.get_caption = iface.get_caption; native_iface.get_column_description = iface.get_column_description; native_iface.get_column_header = iface.get_column_header; native_iface.get_row_description = iface.get_row_description; native_iface.get_row_header = iface.get_row_header; native_iface.get_summary = iface.get_summary; native_iface.set_caption = iface.set_caption; native_iface.set_column_description = iface.set_column_description; native_iface.set_column_header = iface.set_column_header; native_iface.set_row_description = iface.set_row_description; native_iface.set_row_header = iface.set_row_header; native_iface.set_summary = iface.set_summary; native_iface.get_selected_columns = iface.get_selected_columns; native_iface.get_selected_rows = iface.get_selected_rows; native_iface.is_column_selected = iface.is_column_selected; native_iface.is_row_selected = iface.is_row_selected; native_iface.is_selected = iface.is_selected; native_iface.add_row_selection = iface.add_row_selection; native_iface.remove_row_selection = iface.remove_row_selection; native_iface.add_column_selection = iface.add_column_selection; native_iface.remove_column_selection = iface.remove_column_selection; Marshal.StructureToPtr (native_iface, ifaceptr, false); GCHandle gch = (GCHandle) data; gch.Free (); } public TableAdapter () { InitHandler = new GLib.GInterfaceInitHandler (Initialize); } TableImplementor implementor; public TableAdapter (TableImplementor implementor) { if (implementor == null) throw new ArgumentNullException ("implementor"); this.implementor = implementor; } public TableAdapter (IntPtr handle) { this.handle = handle; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_type(); private static GLib.GType _gtype = new GLib.GType (atk_table_get_type ()); public override GLib.GType GType { get { return _gtype; } } IntPtr handle; public override IntPtr Handle { get { if (handle != IntPtr.Zero) return handle; return implementor == null ? IntPtr.Zero : implementor.Handle; } } public static Table GetObject (IntPtr handle, bool owned) { GLib.Object obj = GLib.Object.GetObject (handle, owned); return GetObject (obj); } public static Table GetObject (GLib.Object obj) { if (obj == null) return null; else if (obj is TableImplementor) return new TableAdapter (obj as TableImplementor); else if (obj as Table == null) return new TableAdapter (obj.Handle); else return obj as Table; } public TableImplementor Implementor { get { return implementor; } } [GLib.Signal("column_reordered")] public event System.EventHandler ColumnReordered { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_reordered"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_reordered"); sig.RemoveDelegate (value); } } [GLib.Signal("column_deleted")] public event Atk.ColumnDeletedHandler ColumnDeleted { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_deleted", typeof (Atk.ColumnDeletedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_deleted", typeof (Atk.ColumnDeletedArgs)); sig.RemoveDelegate (value); } } [GLib.Signal("row_reordered")] public event System.EventHandler RowReordered { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_reordered"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_reordered"); sig.RemoveDelegate (value); } } [GLib.Signal("column_inserted")] public event Atk.ColumnInsertedHandler ColumnInserted { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_inserted", typeof (Atk.ColumnInsertedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_inserted", typeof (Atk.ColumnInsertedArgs)); sig.RemoveDelegate (value); } } [GLib.Signal("model_changed")] public event System.EventHandler ModelChanged { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "model_changed"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "model_changed"); sig.RemoveDelegate (value); } } [GLib.Signal("row_inserted")] public event Atk.RowInsertedHandler RowInserted { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_inserted", typeof (Atk.RowInsertedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_inserted", typeof (Atk.RowInsertedArgs)); sig.RemoveDelegate (value); } } [GLib.Signal("row_deleted")] public event Atk.RowDeletedHandler RowDeleted { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_deleted", typeof (Atk.RowDeletedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_deleted", typeof (Atk.RowDeletedArgs)); sig.RemoveDelegate (value); } } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_n_rows(IntPtr raw); public int NRows { get { int raw_ret = atk_table_get_n_rows(Handle); int ret = raw_ret; return ret; } } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_add_row_selection(IntPtr raw, int row); public bool AddRowSelection(int row) { bool raw_ret = atk_table_add_row_selection(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_column_extent_at(IntPtr raw, int row, int column); public int GetColumnExtentAt(int row, int column) { int raw_ret = atk_table_get_column_extent_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_column_header(IntPtr raw, int column); public Atk.Object GetColumnHeader(int column) { IntPtr raw_ret = atk_table_get_column_header(Handle, column); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_is_selected(IntPtr raw, int row, int column); public bool IsSelected(int row, int column) { bool raw_ret = atk_table_is_selected(Handle, row, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_summary(IntPtr raw); [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_summary(IntPtr raw, IntPtr accessible); public Atk.Object Summary { get { IntPtr raw_ret = atk_table_get_summary(Handle); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } set { atk_table_set_summary(Handle, value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_column_description(IntPtr raw, int column); public string GetColumnDescription(int column) { IntPtr raw_ret = atk_table_get_column_description(Handle, column); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); return ret; } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_add_column_selection(IntPtr raw, int column); public bool AddColumnSelection(int column) { bool raw_ret = atk_table_add_column_selection(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_row_header(IntPtr raw, int row, IntPtr header); public void SetRowHeader(int row, Atk.Object header) { atk_table_set_row_header(Handle, row, header == null ? IntPtr.Zero : header.Handle); } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_row_description(IntPtr raw, int row); public string GetRowDescription(int row) { IntPtr raw_ret = atk_table_get_row_description(Handle, row); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_ref_at(IntPtr raw, int row, int column); public Atk.Object RefAt(int row, int column) { IntPtr raw_ret = atk_table_ref_at(Handle, row, column); Atk.Object ret = GLib.Object.GetObject(raw_ret, true) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_column_description(IntPtr raw, int column, IntPtr description); public void SetColumnDescription(int column, string description) { IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description); atk_table_set_column_description(Handle, column, native_description); GLib.Marshaller.Free (native_description); } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_index_at(IntPtr raw, int row, int column); public int GetIndexAt(int row, int column) { int raw_ret = atk_table_get_index_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_row_header(IntPtr raw, int row); public Atk.Object GetRowHeader(int row) { IntPtr raw_ret = atk_table_get_row_header(Handle, row); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_is_column_selected(IntPtr raw, int column); public bool IsColumnSelected(int column) { bool raw_ret = atk_table_is_column_selected(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_selected_rows(IntPtr raw, out IntPtr selected); private static readonly int [] empty_int_array = new int[0]; public int [] SelectedRows { get { IntPtr selected_ptr; int len = atk_table_get_selected_rows(Handle, out selected_ptr); int [] selected = null; if (len > 0) { selected = new int [len]; Marshal.Copy (selected_ptr, selected, 0, len); } if (selected_ptr != IntPtr.Zero) { GLib.Marshaller.Free (selected_ptr); } return selected == null ? empty_int_array : selected; } } [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_row_description(IntPtr raw, int row, IntPtr description); public void SetRowDescription(int row, string description) { IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description); atk_table_set_row_description(Handle, row, native_description); GLib.Marshaller.Free (native_description); } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_is_row_selected(IntPtr raw, int row); public bool IsRowSelected(int row) { bool raw_ret = atk_table_is_row_selected(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_row_extent_at(IntPtr raw, int row, int column); public int GetRowExtentAt(int row, int column) { int raw_ret = atk_table_get_row_extent_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_selected_columns(IntPtr raw, out IntPtr selected); public int [] SelectedColumns{ get { IntPtr selected_ptr; int len = atk_table_get_selected_columns(Handle, out selected_ptr); int [] selected = null; if (len > 0) { selected = new int [len]; Marshal.Copy (selected_ptr, selected, 0, len); } if (selected_ptr != IntPtr.Zero) { GLib.Marshaller.Free (selected_ptr); } return selected == null ? empty_int_array : selected; } } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_column_at_index(IntPtr raw, int index_); public int GetColumnAtIndex(int index_) { int raw_ret = atk_table_get_column_at_index(Handle, index_); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_row_at_index(IntPtr raw, int index_); public int GetRowAtIndex(int index_) { int raw_ret = atk_table_get_row_at_index(Handle, index_); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_caption(IntPtr raw); [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_caption(IntPtr raw, IntPtr caption); public Atk.Object Caption { get { IntPtr raw_ret = atk_table_get_caption(Handle); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } set { atk_table_set_caption(Handle, value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_n_columns(IntPtr raw); public int NColumns { get { int raw_ret = atk_table_get_n_columns(Handle); int ret = raw_ret; return ret; } } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_remove_row_selection(IntPtr raw, int row); public bool RemoveRowSelection(int row) { bool raw_ret = atk_table_remove_row_selection(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_remove_column_selection(IntPtr raw, int column); public bool RemoveColumnSelection(int column) { bool raw_ret = atk_table_remove_column_selection(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_column_header(IntPtr raw, int column, IntPtr header); public void SetColumnHeader(int column, Atk.Object header) { atk_table_set_column_header(Handle, column, header == null ? IntPtr.Zero : header.Handle); } #endregion } } gtk-sharp-2.12.10/atk/atk-api.raw0000644000175000001440000035273211131156725013330 00000000000000 gtk-sharp-2.12.10/atk/RowDeletedHandler.cs0000644000175000001440000000105111277367703015146 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; public delegate void RowDeletedHandler(object o, RowDeletedArgs args); public class RowDeletedArgs : GLib.SignalArgs { public int Row{ get { return (int) Args[0]; } } public int NumDeleted{ get { return (int) Args[1]; } } } } gtk-sharp-2.12.10/atk/ColumnInsertedHandler.cs0000644000175000001440000000107111277367703016045 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; public delegate void ColumnInsertedHandler(object o, ColumnInsertedArgs args); public class ColumnInsertedArgs : GLib.SignalArgs { public int Column{ get { return (int) Args[0]; } } public int NumInserted{ get { return (int) Args[1]; } } } } gtk-sharp-2.12.10/atk/Hyperlink.custom0000644000175000001440000002100211140654755014455 00000000000000// Hyperlink.custom - Atk Hyperlink class customizations // // Author: Mike Gorse // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("atksharpglue-2")] static extern void atksharp_hyperlink_override_get_uri (IntPtr type, GetUriDelegate cb); [GLib.CDeclCallback] delegate IntPtr GetUriDelegate (IntPtr raw, int i); static GetUriDelegate GetUriCallback; static IntPtr GetUri_cb (IntPtr raw, int i) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return GLib.Marshaller.StringToPtrGStrdup (obj.OnGetUri (i)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideGetUri (GLib.GType gtype) { if (GetUriCallback == null) GetUriCallback = new GetUriDelegate (GetUri_cb); atksharp_hyperlink_override_get_uri (gtype.Val, GetUriCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetUri")] protected virtual string OnGetUri (int i) { return null; } [DllImport("atksharpglue-2")] static extern void atksharp_hyperlink_override_get_object (IntPtr type, GetObjectDelegate cb); [GLib.CDeclCallback] delegate IntPtr GetObjectDelegate (IntPtr raw, int i); static GetObjectDelegate GetObjectCallback; static IntPtr GetObject_cb (IntPtr raw, int i) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; Atk.Object ret = obj.OnGetObject (i); return ret == null ? IntPtr.Zero : ret.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideGetObject (GLib.GType gtype) { if (GetObjectCallback == null) GetObjectCallback = new GetObjectDelegate (GetObject_cb); atksharp_hyperlink_override_get_object (gtype.Val, GetObjectCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetObject")] protected virtual Atk.Object OnGetObject (int i) { return null; } [DllImport("atksharpglue-2")] static extern void atksharp_hyperlink_override_get_end_index (IntPtr type, GetEndIndexDelegate cb); [GLib.CDeclCallback] delegate int GetEndIndexDelegate (IntPtr raw); static GetEndIndexDelegate GetEndIndexCallback; static int GetEndIndex_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnGetEndIndex (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return -1; } static void OverrideGetEndIndex (GLib.GType gtype) { if (GetEndIndexCallback == null) GetEndIndexCallback = new GetEndIndexDelegate (GetEndIndex_cb); atksharp_hyperlink_override_get_end_index (gtype.Val, GetEndIndexCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetEndIndex")] protected virtual int OnGetEndIndex () { return -1; } [DllImport("atksharpglue-2")] static extern void atksharp_hyperlink_override_get_start_index (IntPtr type, GetStartIndexDelegate cb); [GLib.CDeclCallback] delegate int GetStartIndexDelegate (IntPtr raw); static GetStartIndexDelegate GetStartIndexCallback; static int GetStartIndex_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnGetStartIndex (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return -1; } static void OverrideGetStartIndex (GLib.GType gtype) { if (GetStartIndexCallback == null) GetStartIndexCallback = new GetStartIndexDelegate (GetStartIndex_cb); atksharp_hyperlink_override_get_start_index (gtype.Val, GetStartIndexCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetStartIndex")] protected virtual int OnGetStartIndex () { return -1; } [DllImport("atksharpglue-2")] static extern void atksharp_hyperlink_override_is_valid (IntPtr type, IsValidDelegate cb); [GLib.CDeclCallback] delegate bool IsValidDelegate (IntPtr raw); static IsValidDelegate IsValidCallback; static bool IsValid_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnIsValid (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } static void OverrideIsValid (GLib.GType gtype) { if (IsValidCallback == null) IsValidCallback = new IsValidDelegate (IsValid_cb); atksharp_hyperlink_override_is_valid (gtype.Val, IsValidCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideIsValid")] protected virtual bool OnIsValid() { return false; } [DllImport("atksharpglue-2")] static extern void atksharp_hyperlink_override_get_n_anchors (IntPtr type, GetNAnchorsDelegate cb); [GLib.CDeclCallback] delegate int GetNAnchorsDelegate (IntPtr raw); static GetNAnchorsDelegate GetNAnchorsCallback; static int GetNAnchors_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnGetNAnchors (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } static void OverrideGetNAnchors (GLib.GType gtype) { if (GetNAnchorsCallback == null) GetNAnchorsCallback = new GetNAnchorsDelegate (GetNAnchors_cb); atksharp_hyperlink_override_get_n_anchors (gtype.Val, GetNAnchorsCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetNAnchors")] protected virtual int OnGetNAnchors () { return 0; } [DllImport("atksharpglue-2")] static extern void atksharp_hyperlink_override_link_state (IntPtr type, LinkStateDelegate cb); [GLib.CDeclCallback] delegate uint LinkStateDelegate (IntPtr raw); static LinkStateDelegate LinkStateCallback; static uint LinkState_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnLinkState (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } static void OverrideLinkState (GLib.GType gtype) { if (LinkStateCallback == null) LinkStateCallback = new LinkStateDelegate (LinkState_cb); atksharp_hyperlink_override_link_state (gtype.Val, LinkStateCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideLinkState")] protected virtual uint OnLinkState () { return 0; } [DllImport("atksharpglue-2")] static extern void atksharp_hyperlink_override_is_selected_link (IntPtr type, IsSelectedLinkDelegate cb); [GLib.CDeclCallback] delegate bool IsSelectedLinkDelegate (IntPtr raw); static IsSelectedLinkDelegate IsSelectedLinkCallback; static bool IsSelectedLink_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnIsSelectedLink (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } static void OverrideIsSelectedLink (GLib.GType gtype) { if (IsSelectedLinkCallback == null) IsSelectedLinkCallback = new IsSelectedLinkDelegate (IsSelectedLink_cb); atksharp_hyperlink_override_is_selected_link (gtype.Val, IsSelectedLinkCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideIsSelectedLink")] protected virtual bool OnIsSelectedLink () { return false; } protected void EmitLinkActivated () { GLib.Signal.Emit (this, "link_activated"); } gtk-sharp-2.12.10/atk/Misc.custom0000644000175000001440000000541211140654755013412 00000000000000// Misc.custom - Atk Misc class customizations // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("atksharpglue-2")] static extern int atksharp_misc_override_threads_enter (IntPtr type, ThreadDelegate cb); [GLib.CDeclCallback] delegate void ThreadDelegate (IntPtr raw); static ThreadDelegate ThreadsEnterCallback; static void ThreadsEnter_cb (IntPtr raw) { try { Atk.Misc __obj = GLib.Object.GetObject (raw, false) as Atk.Misc; __obj.OnThreadsEnter (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideThreadsEnter (GLib.GType gtype) { if (ThreadsEnterCallback == null) ThreadsEnterCallback = new ThreadDelegate (ThreadsEnter_cb); atksharp_misc_override_threads_enter (gtype.Val, ThreadsEnterCallback); } [GLib.DefaultSignalHandler (Type=typeof (Atk.Misc), ConnectionMethod="OverrideThreadsEnter")] protected virtual void OnThreadsEnter () { } [DllImport("atksharpglue-2")] static extern int atksharp_misc_override_threads_leave (IntPtr type, ThreadDelegate cb); static ThreadDelegate ThreadsLeaveCallback; static void ThreadsLeave_cb (IntPtr raw) { try { Atk.Misc __obj = GLib.Object.GetObject (raw, false) as Atk.Misc; __obj.OnThreadsLeave (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideThreadsLeave (GLib.GType gtype) { if (ThreadsLeaveCallback == null) ThreadsLeaveCallback = new ThreadDelegate (ThreadsLeave_cb); atksharp_misc_override_threads_leave (gtype.Val, ThreadsLeaveCallback); } [GLib.DefaultSignalHandler (Type=typeof (Atk.Misc), ConnectionMethod="OverrideThreadsLeave")] protected virtual void OnThreadsLeave () { } [DllImport("atksharpglue-2")] static extern void atksharp_misc_set_singleton_instance (IntPtr misc); public static void SetSingletonInstance (Misc misc) { atksharp_misc_set_singleton_instance (misc.Handle); } gtk-sharp-2.12.10/atk/Object.custom0000644000175000001440000002045111342046451013715 00000000000000// Object.custom - Atk Object class customizations // // Author: Andres G. Aragoneses // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("atksharpglue-2")] static extern void atksharp_object_override_get_n_children (IntPtr type, NChildrenDelegate cb); [GLib.CDeclCallback] delegate int NChildrenDelegate (IntPtr raw); static NChildrenDelegate NChildrenCallback; static int NChildren_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; return obj.OnGetNChildren (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } static void OverrideNChildren (GLib.GType gtype) { if (NChildrenCallback == null) NChildrenCallback = new NChildrenDelegate (NChildren_cb); atksharp_object_override_get_n_children (gtype.Val, NChildrenCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideNChildren")] protected virtual int OnGetNChildren() { return 0; } [DllImport("atksharpglue-2")] static extern void atksharp_object_override_ref_child (IntPtr type, RefChildDelegate cb); [GLib.CDeclCallback] delegate IntPtr RefChildDelegate (IntPtr raw, int i); static RefChildDelegate RefChildCallback; [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_object_ref (IntPtr handle); static IntPtr RefChild_cb (IntPtr raw, int i) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; Atk.Object child = obj.OnRefChild (i); if (child != null) g_object_ref (child.Handle); return child == null ? IntPtr.Zero : child.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideRefChild (GLib.GType gtype) { if (RefChildCallback == null) RefChildCallback = new RefChildDelegate (RefChild_cb); atksharp_object_override_ref_child (gtype.Val, RefChildCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideRefChild")] protected virtual Atk.Object OnRefChild (int i) { return null; } protected void EmitChildrenChanged (ChildrenChangedDetail detail, uint child_index, Atk.Object child) { GLib.Signal.Emit (this, "children-changed::" + detail.ToString ().ToLower (), child_index, child.Handle); } protected enum ChildrenChangedDetail { Add, Remove } protected void EmitVisibleDataChanged () { GLib.Signal.Emit (this, "visible-data-changed"); } [DllImport("atksharpglue-2")] static extern void atksharp_object_override_ref_state_set (IntPtr type, RefStateSetDelegate cb); [DllImport("atksharpglue-2")] static extern IntPtr atksharp_object_base_ref_state_set (IntPtr atk_obj); [GLib.CDeclCallback] delegate IntPtr RefStateSetDelegate (IntPtr raw); static RefStateSetDelegate RefStateSetCallback; static IntPtr RefStateSet_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; Atk.StateSet state_set = obj.OnRefStateSet (); if (state_set != null) g_object_ref (state_set.Handle); return state_set == null ? IntPtr.Zero : state_set.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideRefStateSet (GLib.GType gtype) { if (RefStateSetCallback == null) RefStateSetCallback = new RefStateSetDelegate (RefStateSet_cb); atksharp_object_override_ref_state_set (gtype.Val, RefStateSetCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideRefStateSet")] protected virtual Atk.StateSet OnRefStateSet () { IntPtr raw = atksharp_object_base_ref_state_set (Handle); return GLib.Object.GetObject (raw, true) as StateSet; } [DllImport("atksharpglue-2")] static extern void atksharp_object_override_get_index_in_parent (IntPtr type, IndexInParentDelegate cb); [GLib.CDeclCallback] delegate int IndexInParentDelegate (IntPtr raw); static IndexInParentDelegate IndexInParentCallback; static int IndexInParent_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; return obj.OnGetIndexInParent (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return -1; } static void OverrideIndexInParent (GLib.GType gtype) { if (IndexInParentCallback == null) IndexInParentCallback = new IndexInParentDelegate (IndexInParent_cb); atksharp_object_override_get_index_in_parent (gtype.Val, IndexInParentCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideIndexInParent")] protected virtual int OnGetIndexInParent() { return -1; } public void NotifyStateChange (Atk.StateType state, bool value) { NotifyStateChange ((ulong)state, value); } [DllImport("atksharpglue-2")] static extern void atksharp_object_override_ref_relation_set (IntPtr type, RefRelationSetDelegate cb); [DllImport("atksharpglue-2")] static extern IntPtr atksharp_object_base_ref_relation_set (IntPtr atk_obj); [GLib.CDeclCallback] delegate IntPtr RefRelationSetDelegate (IntPtr raw); static RefRelationSetDelegate RefRelationSetCallback; static IntPtr RefRelationSet_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; Atk.RelationSet relation_set = obj.OnRefRelationSet (); if (relation_set != null) g_object_ref (relation_set.Handle); return relation_set == null ? IntPtr.Zero : relation_set.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideRefRelationSet (GLib.GType gtype) { if (RefRelationSetCallback == null) RefRelationSetCallback = new RefRelationSetDelegate (RefRelationSet_cb); atksharp_object_override_ref_relation_set (gtype.Val, RefRelationSetCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideRefRelationSet")] protected virtual Atk.RelationSet OnRefRelationSet () { IntPtr raw = atksharp_object_base_ref_relation_set (Handle); return GLib.Object.GetObject (raw, true) as RelationSet; } [DllImport("atksharpglue-2")] static extern void atksharp_object_override_get_attributes (IntPtr type, GetAttributesDelegate cb); [GLib.CDeclCallback] delegate IntPtr GetAttributesDelegate (IntPtr raw); static GetAttributesDelegate GetAttributesCallback; static IntPtr GetAttributes_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; Attribute [] attribute_set = obj.OnGetAttributes (); if (attribute_set == null) return IntPtr.Zero; return new GLib.SList (attribute_set, typeof (Attribute), false, false).Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideGetAttributes (GLib.GType gtype) { if (GetAttributesCallback == null) GetAttributesCallback = new GetAttributesDelegate (GetAttributes_cb); atksharp_object_override_get_attributes (gtype.Val, GetAttributesCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideGetAttributes")] protected virtual Attribute [] OnGetAttributes () { return new Attribute [0]; } protected void EmitFocusEvent (bool gained) { GLib.Signal.Emit (this, "focus-event", gained); } gtk-sharp-2.12.10/atk/TextChangedDetail.cs0000644000175000001440000000161711131156725015130 00000000000000// TextChangedDetail.cs - Detail enumeration for the TextChanged signal // // Authors: Brad Taylor // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Atk { public enum TextChangedDetail { Insert, Delete } } gtk-sharp-2.12.10/atk/atk-sharp.dll.config.in0000644000175000001440000000031311140655032015503 00000000000000 gtk-sharp-2.12.10/atk/Atk.metadata0000644000175000001440000001100711277367703013506 00000000000000 1 StateManager true AtkAttribute* GetTheDocument GetTheDocument AtkAttribute* GetAttributes GetAttributeValue GetLocale SetAttributeValue ref ref true true true out ref ref ref ref AtkAttribute* true true true 1 AtkObject* 1 AtkAttribute* AtkAttribute* AtkAttribute* AtkAttribute* gtk-sharp-2.12.10/atk/Util.custom0000644000175000001440000002235611140654755013442 00000000000000// Util.custom - Atk Util class customizations // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [GLib.CDeclCallback] delegate uint AddGlobalEventListenerNativeDelegate (GLib.Signal.EmissionHookNative hook, IntPtr event_type); static AddGlobalEventListenerDelegate add_global_event_listener_handler; static AddGlobalEventListenerNativeDelegate add_global_event_listener_callback; static uint AddGlobalEventListenerCallback (GLib.Signal.EmissionHookNative hook, IntPtr event_type) { try { return add_global_event_listener_handler (new GLib.Signal.EmissionHookMarshaler (hook, IntPtr.Zero).Invoker, GLib.Marshaller.Utf8PtrToString (event_type)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } public delegate uint AddGlobalEventListenerDelegate (GLib.Signal.EmissionHook hook, string event_type); [DllImport("atksharpglue-2")] static extern void atksharp_util_override_add_global_event_listener (AddGlobalEventListenerNativeDelegate cb); public static AddGlobalEventListenerDelegate AddGlobalEventListenerHandler { set { add_global_event_listener_handler = value; if (add_global_event_listener_callback == null) add_global_event_listener_callback = new AddGlobalEventListenerNativeDelegate (AddGlobalEventListenerCallback); atksharp_util_override_add_global_event_listener (add_global_event_listener_callback); } } [GLib.CDeclCallback] delegate void RemoveListenerNativeDelegate (uint listener_id); static RemoveListenerDelegate remove_global_event_listener_handler; static RemoveListenerNativeDelegate remove_global_event_listener_callback; static void RemoveGlobalEventListenerCallback (uint listener_id) { try { remove_global_event_listener_handler (listener_id); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [DllImport("atksharpglue-2")] static extern void atksharp_util_override_remove_global_event_listener (RemoveListenerNativeDelegate cb); public delegate void RemoveListenerDelegate (uint listener_id); public static RemoveListenerDelegate RemoveGlobalEventListenerHandler { set { remove_global_event_listener_handler = value; if (remove_global_event_listener_callback == null) remove_global_event_listener_callback = new RemoveListenerNativeDelegate (RemoveGlobalEventListenerCallback); atksharp_util_override_remove_global_event_listener (remove_global_event_listener_callback); } } class KeySnoopFuncInvoker { AtkSharp.KeySnoopFuncNative native_cb; IntPtr data; internal KeySnoopFuncInvoker (AtkSharp.KeySnoopFuncNative native_cb, IntPtr data) { this.native_cb = native_cb; this.data = data; } internal KeySnoopFunc Handler { get { return new KeySnoopFunc (InvokeNative); } } int InvokeNative (KeyEventStruct evnt) { IntPtr native_evnt = GLib.Marshaller.StructureToPtrAlloc (evnt); int result = native_cb (native_evnt, data); evnt = KeyEventStruct.New (native_evnt); Marshal.FreeHGlobal (native_evnt); return result; } } [GLib.CDeclCallback] delegate uint AddKeyEventListenerNativeDelegate (AtkSharp.KeySnoopFuncNative native_func, IntPtr data); static AddKeyEventListenerDelegate add_key_event_listener_handler; static AddKeyEventListenerNativeDelegate add_key_event_listener_callback; static uint AddKeyEventListenerCallback (AtkSharp.KeySnoopFuncNative func, IntPtr data) { try { return add_key_event_listener_handler (new KeySnoopFuncInvoker (func, data).Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } [DllImport("atksharpglue-2")] static extern void atksharp_util_override_add_key_event_listener (AddKeyEventListenerNativeDelegate cb); public delegate uint AddKeyEventListenerDelegate (KeySnoopFunc listener); public static AddKeyEventListenerDelegate AddKeyEventListenerHandler { set { add_key_event_listener_handler = value; if (add_key_event_listener_callback == null) add_key_event_listener_callback = new AddKeyEventListenerNativeDelegate (AddKeyEventListenerCallback); atksharp_util_override_add_key_event_listener (add_key_event_listener_callback); } } static RemoveListenerDelegate remove_key_event_listener_handler; static RemoveListenerNativeDelegate remove_key_event_listener_callback; static void RemoveKeyEventListenerCallback (uint listener_id) { try { remove_key_event_listener_handler (listener_id); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [DllImport("atksharpglue-2")] static extern void atksharp_util_override_remove_key_event_listener (RemoveListenerNativeDelegate cb); public static RemoveListenerDelegate RemoveKeyEventListenerHandler { set { remove_key_event_listener_handler = value; if (remove_key_event_listener_callback == null) remove_key_event_listener_callback = new RemoveListenerNativeDelegate (RemoveKeyEventListenerCallback); atksharp_util_override_remove_key_event_listener (remove_key_event_listener_callback); } } [GLib.CDeclCallback] delegate IntPtr GetRootNativeDelegate (); static GetRootDelegate get_root_handler; static GetRootNativeDelegate get_root_callback; static IntPtr GetRootCallback () { try { return get_root_handler ().Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } [DllImport("atksharpglue-2")] static extern void atksharp_util_override_get_root (GetRootNativeDelegate cb); public delegate Atk.Object GetRootDelegate (); public static GetRootDelegate GetRootHandler { set { get_root_handler = value; if (value == null) atksharp_util_override_get_root (null); else { if (get_root_callback == null) get_root_callback = new GetRootNativeDelegate (GetRootCallback); atksharp_util_override_get_root (get_root_callback); } } } [GLib.CDeclCallback] delegate IntPtr GetToolkitNameNativeDelegate (); static GetToolkitNameDelegate get_toolkit_name_handler; static GetToolkitNameNativeDelegate get_toolkit_name_callback; static string toolkit_name; static IntPtr toolkit_name_native; static IntPtr GetToolkitNameCallback () { try { string name = get_toolkit_name_handler (); if (name != toolkit_name) { GLib.Marshaller.Free (toolkit_name_native); toolkit_name_native = GLib.Marshaller.StringToPtrGStrdup (name); toolkit_name = name; } return toolkit_name_native; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } [DllImport("atksharpglue-2")] static extern void atksharp_util_override_get_toolkit_name (GetToolkitNameNativeDelegate cb); public delegate string GetToolkitNameDelegate (); public static GetToolkitNameDelegate GetToolkitNameHandler { set { get_toolkit_name_handler = value; if (get_toolkit_name_callback == null) get_toolkit_name_callback = new GetToolkitNameNativeDelegate (GetToolkitNameCallback); atksharp_util_override_get_toolkit_name (get_toolkit_name_callback); } } [GLib.CDeclCallback] delegate IntPtr GetToolkitVersionNativeDelegate (); static GetToolkitVersionDelegate get_toolkit_version_handler; static GetToolkitVersionNativeDelegate get_toolkit_version_callback; static string toolkit_version; static IntPtr toolkit_version_native; static IntPtr GetToolkitVersionCallback () { try { string version = get_toolkit_version_handler (); if (version != toolkit_version) { GLib.Marshaller.Free (toolkit_version_native); toolkit_version_native = GLib.Marshaller.StringToPtrGStrdup (version); toolkit_version = version; } return toolkit_version_native; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } [DllImport("atksharpglue-2")] static extern void atksharp_util_override_get_toolkit_version (GetToolkitVersionNativeDelegate cb); public delegate string GetToolkitVersionDelegate (); public static GetToolkitVersionDelegate GetToolkitVersionHandler { set { get_toolkit_version_handler = value; if (get_toolkit_version_callback == null) get_toolkit_version_callback = new GetToolkitVersionNativeDelegate (GetToolkitVersionCallback); atksharp_util_override_get_toolkit_version (get_toolkit_version_callback); } } gtk-sharp-2.12.10/atk/SelectionAdapter.custom0000644000175000001440000000202511131156725015734 00000000000000// SelectionAdapter.custom - Atk SelectionAdapter class customizations // // Author: Andrés G. Aragoneses // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void EmitSelectionChanged () { GLib.Signal.Emit (GLib.Object.GetObject (Handle), "selection_changed"); } gtk-sharp-2.12.10/atk/NoOpObject.custom0000644000175000001440000004730511277367703014535 00000000000000// This file's code was originally part of the generated NoOpObject implementation // of the Atk.Table interface, but as part of https://bugzilla.novell.com/show_bug.cgi?id=512477 // it was pulled out here so that the SelectedRows/Columns properties could be manually implemented. [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_n_rows(IntPtr raw); public int NRows { get { int raw_ret = atk_table_get_n_rows(Handle); int ret = raw_ret; return ret; } } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_add_row_selection(IntPtr raw, int row); public bool AddRowSelection(int row) { bool raw_ret = atk_table_add_row_selection(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_column_extent_at(IntPtr raw, int row, int column); public int GetColumnExtentAt(int row, int column) { int raw_ret = atk_table_get_column_extent_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_column_header(IntPtr raw, int column); public Atk.Object GetColumnHeader(int column) { IntPtr raw_ret = atk_table_get_column_header(Handle, column); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_is_selected(IntPtr raw, int row, int column); public bool IsSelected(int row, int column) { bool raw_ret = atk_table_is_selected(Handle, row, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_summary(IntPtr raw); [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_summary(IntPtr raw, IntPtr accessible); public Atk.Object Summary { get { IntPtr raw_ret = atk_table_get_summary(Handle); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } set { atk_table_set_summary(Handle, value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_column_description(IntPtr raw, int column); public string GetColumnDescription(int column) { IntPtr raw_ret = atk_table_get_column_description(Handle, column); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); return ret; } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_add_column_selection(IntPtr raw, int column); public bool AddColumnSelection(int column) { bool raw_ret = atk_table_add_column_selection(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_row_header(IntPtr raw, int row, IntPtr header); public void SetRowHeader(int row, Atk.Object header) { atk_table_set_row_header(Handle, row, header == null ? IntPtr.Zero : header.Handle); } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_row_description(IntPtr raw, int row); public string GetRowDescription(int row) { IntPtr raw_ret = atk_table_get_row_description(Handle, row); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_ref_at(IntPtr raw, int row, int column); public Atk.Object RefAt(int row, int column) { IntPtr raw_ret = atk_table_ref_at(Handle, row, column); Atk.Object ret = GLib.Object.GetObject(raw_ret, true) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_column_description(IntPtr raw, int column, IntPtr description); public void SetColumnDescription(int column, string description) { IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description); atk_table_set_column_description(Handle, column, native_description); GLib.Marshaller.Free (native_description); } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_index_at(IntPtr raw, int row, int column); public int GetIndexAt(int row, int column) { int raw_ret = atk_table_get_index_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_row_header(IntPtr raw, int row); public Atk.Object GetRowHeader(int row) { IntPtr raw_ret = atk_table_get_row_header(Handle, row); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_is_column_selected(IntPtr raw, int column); public bool IsColumnSelected(int column) { bool raw_ret = atk_table_is_column_selected(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_selected_rows(IntPtr raw, out int [] selected); public int [] SelectedRows { get { int [] selected = null; int raw_ret = atk_table_get_selected_rows(Handle, out selected); return raw_ret == 0 ? new int[0] : selected; } } [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_row_description(IntPtr raw, int row, IntPtr description); public void SetRowDescription(int row, string description) { IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description); atk_table_set_row_description(Handle, row, native_description); GLib.Marshaller.Free (native_description); } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_is_row_selected(IntPtr raw, int row); public bool IsRowSelected(int row) { bool raw_ret = atk_table_is_row_selected(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_row_extent_at(IntPtr raw, int row, int column); public int GetRowExtentAt(int row, int column) { int raw_ret = atk_table_get_row_extent_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_selected_columns(IntPtr raw, out int [] selected); public int [] SelectedColumns { get { int [] selected = null; int raw_ret = atk_table_get_selected_columns(Handle, out selected); return raw_ret == 0 ? new int[0] : selected; } } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_column_at_index(IntPtr raw, int index_); public int GetColumnAtIndex(int index_) { int raw_ret = atk_table_get_column_at_index(Handle, index_); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_row_at_index(IntPtr raw, int index_); public int GetRowAtIndex(int index_) { int raw_ret = atk_table_get_row_at_index(Handle, index_); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern IntPtr atk_table_get_caption(IntPtr raw); [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_caption(IntPtr raw, IntPtr caption); public Atk.Object Caption { get { IntPtr raw_ret = atk_table_get_caption(Handle); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } set { atk_table_set_caption(Handle, value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libatk-1.0-0.dll")] static extern int atk_table_get_n_columns(IntPtr raw); public int NColumns { get { int raw_ret = atk_table_get_n_columns(Handle); int ret = raw_ret; return ret; } } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_remove_row_selection(IntPtr raw, int row); public bool RemoveRowSelection(int row) { bool raw_ret = atk_table_remove_row_selection(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern bool atk_table_remove_column_selection(IntPtr raw, int column); public bool RemoveColumnSelection(int column) { bool raw_ret = atk_table_remove_column_selection(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll")] static extern void atk_table_set_column_header(IntPtr raw, int column, IntPtr header); public void SetColumnHeader(int column, Atk.Object header) { atk_table_set_column_header(Handle, column, header == null ? IntPtr.Zero : header.Handle); } [GLib.CDeclCallback] delegate void ColumnReorderedVMDelegate (IntPtr table); static ColumnReorderedVMDelegate ColumnReorderedVMCallback; static void columnreordered_cb (IntPtr table) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnColumnReordered (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideColumnReordered (GLib.GType gtype) { if (ColumnReorderedVMCallback == null) ColumnReorderedVMCallback = new ColumnReorderedVMDelegate (columnreordered_cb); OverrideVirtualMethod (gtype, "column_reordered", ColumnReorderedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideColumnReordered")] protected virtual void OnColumnReordered () { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (1); GLib.Value[] vals = new GLib.Value [1]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("column_reordered")] public event System.EventHandler ColumnReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "column_reordered"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "column_reordered"); sig.RemoveDelegate (value); } } [GLib.CDeclCallback] delegate void ColumnDeletedVMDelegate (IntPtr table, int column, int num_deleted); static ColumnDeletedVMDelegate ColumnDeletedVMCallback; static void columndeleted_cb (IntPtr table, int column, int num_deleted) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnColumnDeleted (column, num_deleted); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideColumnDeleted (GLib.GType gtype) { if (ColumnDeletedVMCallback == null) ColumnDeletedVMCallback = new ColumnDeletedVMDelegate (columndeleted_cb); OverrideVirtualMethod (gtype, "column_deleted", ColumnDeletedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideColumnDeleted")] protected virtual void OnColumnDeleted (int column, int num_deleted) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (3); GLib.Value[] vals = new GLib.Value [3]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (column); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (num_deleted); inst_and_params.Append (vals [2]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("column_deleted")] public event Atk.ColumnDeletedHandler ColumnDeleted { add { GLib.Signal sig = GLib.Signal.Lookup (this, "column_deleted", typeof (Atk.ColumnDeletedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "column_deleted", typeof (Atk.ColumnDeletedArgs)); sig.RemoveDelegate (value); } } [GLib.CDeclCallback] delegate void RowReorderedVMDelegate (IntPtr table); static RowReorderedVMDelegate RowReorderedVMCallback; static void rowreordered_cb (IntPtr table) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnRowReordered (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideRowReordered (GLib.GType gtype) { if (RowReorderedVMCallback == null) RowReorderedVMCallback = new RowReorderedVMDelegate (rowreordered_cb); OverrideVirtualMethod (gtype, "row_reordered", RowReorderedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideRowReordered")] protected virtual void OnRowReordered () { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (1); GLib.Value[] vals = new GLib.Value [1]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("row_reordered")] public event System.EventHandler RowReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "row_reordered"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "row_reordered"); sig.RemoveDelegate (value); } } [GLib.CDeclCallback] delegate void ColumnInsertedVMDelegate (IntPtr table, int column, int num_inserted); static ColumnInsertedVMDelegate ColumnInsertedVMCallback; static void columninserted_cb (IntPtr table, int column, int num_inserted) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnColumnInserted (column, num_inserted); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideColumnInserted (GLib.GType gtype) { if (ColumnInsertedVMCallback == null) ColumnInsertedVMCallback = new ColumnInsertedVMDelegate (columninserted_cb); OverrideVirtualMethod (gtype, "column_inserted", ColumnInsertedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideColumnInserted")] protected virtual void OnColumnInserted (int column, int num_inserted) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (3); GLib.Value[] vals = new GLib.Value [3]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (column); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (num_inserted); inst_and_params.Append (vals [2]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("column_inserted")] public event Atk.ColumnInsertedHandler ColumnInserted { add { GLib.Signal sig = GLib.Signal.Lookup (this, "column_inserted", typeof (Atk.ColumnInsertedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "column_inserted", typeof (Atk.ColumnInsertedArgs)); sig.RemoveDelegate (value); } } [GLib.CDeclCallback] delegate void ModelChangedVMDelegate (IntPtr table); static ModelChangedVMDelegate ModelChangedVMCallback; static void modelchanged_cb (IntPtr table) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnModelChanged (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideModelChanged (GLib.GType gtype) { if (ModelChangedVMCallback == null) ModelChangedVMCallback = new ModelChangedVMDelegate (modelchanged_cb); OverrideVirtualMethod (gtype, "model_changed", ModelChangedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideModelChanged")] protected virtual void OnModelChanged () { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (1); GLib.Value[] vals = new GLib.Value [1]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("model_changed")] public event System.EventHandler ModelChanged { add { GLib.Signal sig = GLib.Signal.Lookup (this, "model_changed"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "model_changed"); sig.RemoveDelegate (value); } } [GLib.CDeclCallback] delegate void RowInsertedVMDelegate (IntPtr table, int row, int num_inserted); static RowInsertedVMDelegate RowInsertedVMCallback; static void rowinserted_cb (IntPtr table, int row, int num_inserted) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnRowInserted (row, num_inserted); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideRowInserted (GLib.GType gtype) { if (RowInsertedVMCallback == null) RowInsertedVMCallback = new RowInsertedVMDelegate (rowinserted_cb); OverrideVirtualMethod (gtype, "row_inserted", RowInsertedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideRowInserted")] protected virtual void OnRowInserted (int row, int num_inserted) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (3); GLib.Value[] vals = new GLib.Value [3]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (row); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (num_inserted); inst_and_params.Append (vals [2]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("row_inserted")] public event Atk.RowInsertedHandler RowInserted { add { GLib.Signal sig = GLib.Signal.Lookup (this, "row_inserted", typeof (Atk.RowInsertedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "row_inserted", typeof (Atk.RowInsertedArgs)); sig.RemoveDelegate (value); } } [GLib.CDeclCallback] delegate void RowDeletedVMDelegate (IntPtr table, int row, int num_deleted); static RowDeletedVMDelegate RowDeletedVMCallback; static void rowdeleted_cb (IntPtr table, int row, int num_deleted) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnRowDeleted (row, num_deleted); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideRowDeleted (GLib.GType gtype) { if (RowDeletedVMCallback == null) RowDeletedVMCallback = new RowDeletedVMDelegate (rowdeleted_cb); OverrideVirtualMethod (gtype, "row_deleted", RowDeletedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideRowDeleted")] protected virtual void OnRowDeleted (int row, int num_deleted) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (3); GLib.Value[] vals = new GLib.Value [3]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (row); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (num_deleted); inst_and_params.Append (vals [2]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("row_deleted")] public event Atk.RowDeletedHandler RowDeleted { add { GLib.Signal sig = GLib.Signal.Lookup (this, "row_deleted", typeof (Atk.RowDeletedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "row_deleted", typeof (Atk.RowDeletedArgs)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.10/atk/TextAdapter.custom0000644000175000001440000000220211131156725014730 00000000000000// TextAdapter.custom - Atk TextAdapter class customizations // // Author: Brad Taylor // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void EmitTextChanged (TextChangedDetail detail, int position, int length) { GLib.Signal.Emit (GLib.Object.GetObject (Handle), "text_changed::" + detail.ToString ().ToLower (), position, length); } gtk-sharp-2.12.10/atk/ObjectFactory.custom0000644000175000001440000001212111234360435015241 00000000000000// ObjectFactory.custom - Atk ObjectFactory class customizations // // Authors: Mike Gorse // Mike Kestner // // Copyright (c) 2008-2009 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. static Hashtable instances = new Hashtable (); protected override IntPtr Raw { get { return base.Raw; } set { base.Raw = value; if (value != IntPtr.Zero) instances [LookupGType (GetType ())] = this; } } static Hashtable marshalers = new Hashtable (); static Marshaler GetMarshaler (GLib.GType gtype) { Marshaler marshaler = marshalers [gtype] as Marshaler; if (marshaler == null) { marshaler = new Marshaler (gtype); marshalers [gtype] = marshaler; } return marshaler; } [GLib.CDeclCallback] delegate IntPtr CreateAccessibleDelegate (IntPtr raw); [GLib.CDeclCallback] delegate void InvalidateDelegate (IntPtr raw); [GLib.CDeclCallback] delegate IntPtr GetAccessibleTypeDelegate (IntPtr raw); class Marshaler { GLib.GType gtype; CreateAccessibleDelegate create_cb; InvalidateDelegate invalidate_cb; GetAccessibleTypeDelegate gettype_cb; public Marshaler (GLib.GType gtype) { this.gtype = gtype; } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_object_ref (IntPtr handle); IntPtr CreateAccessible_cb (IntPtr raw) { try { Atk.ObjectFactory obj = instances [gtype] as Atk.ObjectFactory; if (obj == null) return IntPtr.Zero; Atk.Object ret = obj.OnCreateAccessible (GLib.Object.GetObject (raw, false)); if (ret != null) g_object_ref (ret.Handle); return ret == null ? IntPtr.Zero : ret.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } void Invalidate_cb (IntPtr raw) { try { Atk.ObjectFactory obj = GLib.Object.GetObject (raw, false) as Atk.ObjectFactory; obj.OnInvalidate (); instances.Remove (gtype); marshalers.Remove (gtype); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } IntPtr GetAccessibleType_cb (IntPtr raw) { try { Atk.ObjectFactory obj = instances [gtype] as Atk.ObjectFactory; if (obj == null) return GLib.GType.Invalid.Val; return obj.OnGetAccessibleType ().Val; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return GLib.GType.Invalid.Val; } [DllImport("atksharpglue-2")] static extern void atksharp_object_factory_override_create_accessible (IntPtr type, CreateAccessibleDelegate cb); public void ConnectCreateAccessible () { create_cb = new CreateAccessibleDelegate (CreateAccessible_cb); atksharp_object_factory_override_create_accessible (gtype.Val, create_cb); } [DllImport("atksharpglue-2")] static extern void atksharp_object_factory_override_invalidate (IntPtr type, InvalidateDelegate cb); public void ConnectInvalidate () { invalidate_cb = new InvalidateDelegate (Invalidate_cb); atksharp_object_factory_override_invalidate (gtype.Val, invalidate_cb); } [DllImport("atksharpglue-2")] static extern void atksharp_object_factory_override_get_accessible_type (IntPtr type, GetAccessibleTypeDelegate cb); public void ConnectGetAccessibleType () { gettype_cb = new GetAccessibleTypeDelegate (GetAccessibleType_cb); atksharp_object_factory_override_get_accessible_type (gtype.Val, gettype_cb); } } static void OverrideCreateAccessible (GLib.GType gtype) { GetMarshaler (gtype).ConnectCreateAccessible (); } [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideCreateAccessible")] protected virtual Atk.Object OnCreateAccessible (GLib.Object obj) { return null; } static void OverrideInvalidate (GLib.GType gtype) { GetMarshaler (gtype).ConnectInvalidate (); } [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideInvalidate")] protected virtual void OnInvalidate () { } static void OverrideGetAccessibleType (GLib.GType gtype) { GetMarshaler (gtype).ConnectGetAccessibleType (); } [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideGetAccessibleType")] protected virtual GLib.GType OnGetAccessibleType () { return GLib.GType.Invalid; } gtk-sharp-2.12.10/atk/glue/0000777000175000001440000000000011345266755012307 500000000000000gtk-sharp-2.12.10/atk/glue/Makefile.am0000644000175000001440000000114611131156725014245 00000000000000lib_LTLIBRARIES = libatksharpglue-2.la libatksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libatksharpglue_2_la_SOURCES = \ hyperlink.c \ misc.c \ object.c \ object_factory.c \ util.c \ vmglueheaders.h nodist_libatksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libatksharpglue_2_la_LIBADD = $(ATK_LIBS) INCLUDES = $(ATK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libatksharpglue.dll: $(libatksharpglue_2_la_OBJECTS) libatksharpglue.rc libatksharpglue.def ./build-dll libatksharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.10/atk/glue/object_factory.c0000644000175000001440000000336611131156725015360 00000000000000/* object.c : Glue for overriding vms of AtkObject * * Author: Andres G. Aragoneses * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_object_factory_override_create_accessible (GType gtype, gpointer cb); void atksharp_object_factory_override_invalidate (GType gtype, gpointer cb); void atksharp_object_factory_override_get_accessible_type (GType gtype, gpointer cb); void atksharp_object_factory_override_create_accessible (GType gtype, gpointer cb) { AtkObjectFactoryClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->create_accessible = cb; } void atksharp_object_factory_override_invalidate (GType gtype, gpointer cb) { AtkObjectFactoryClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->invalidate = cb; } void atksharp_object_factory_override_get_accessible_type (GType gtype, gpointer cb) { AtkObjectFactoryClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->get_accessible_type = cb; } gtk-sharp-2.12.10/atk/glue/object.c0000644000175000001440000000620611342046451013623 00000000000000/* object.c : Glue for overriding vms of AtkObject * * Author: Andres G. Aragoneses * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_object_override_get_n_children (GType gtype, gpointer cb); void atksharp_object_override_ref_child (GType gtype, gpointer cb); void atksharp_object_override_ref_state_set (GType gtype, gpointer cb); AtkStateSet* atksharp_object_base_ref_state_set (AtkObject *base); void atksharp_object_override_get_index_in_parent (GType gtype, gpointer cb); void atksharp_object_override_ref_relation_set (GType gtype, gpointer cb); AtkRelationSet* atksharp_object_base_ref_relation_set (AtkObject *base); void atksharp_object_override_get_n_children (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->get_n_children = cb; } void atksharp_object_override_ref_child (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->ref_child = cb; } void atksharp_object_override_ref_state_set (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->ref_state_set = cb; } AtkStateSet* atksharp_object_base_ref_state_set (AtkObject *atk_obj) { AtkObjectClass *parent = g_type_class_peek (ATK_TYPE_OBJECT); if (parent->ref_state_set) return (*parent->ref_state_set) (atk_obj); return NULL; } void atksharp_object_override_get_index_in_parent (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->get_index_in_parent = cb; } void atksharp_object_override_ref_relation_set (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->ref_relation_set = cb; } AtkRelationSet* atksharp_object_base_ref_relation_set (AtkObject *atk_obj) { AtkObjectClass *parent = g_type_class_peek (ATK_TYPE_OBJECT); if (parent->ref_relation_set) return (*parent->ref_relation_set) (atk_obj); return NULL; } void atksharp_object_override_get_attributes (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->get_attributes = cb; } gtk-sharp-2.12.10/atk/glue/win32dll.c0000755000175000001440000000044311131156725014015 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.10/atk/glue/util.c0000644000175000001440000000562011131156725013333 00000000000000/* util.c : Glue for overriding vms of AtkUtil * * Author: Mike Kestner * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_util_override_add_global_event_listener (gpointer cb); void atksharp_util_override_remove_global_event_listener (gpointer cb); void atksharp_util_override_add_key_event_listener (gpointer cb); void atksharp_util_override_remove_key_event_listener (gpointer cb); void atksharp_util_override_get_root (gpointer cb); void atksharp_util_override_get_toolkit_name (gpointer cb); void atksharp_util_override_get_toolkit_version (gpointer cb); void atksharp_util_override_add_global_event_listener (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->add_global_event_listener = cb; } void atksharp_util_override_remove_global_event_listener (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->remove_global_event_listener = cb; } void atksharp_util_override_add_key_event_listener (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->add_key_event_listener = cb; } void atksharp_util_override_remove_key_event_listener (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->remove_key_event_listener = cb; } void atksharp_util_override_get_root (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->get_root = cb; } void atksharp_util_override_get_toolkit_name (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->get_toolkit_name = cb; } void atksharp_util_override_get_toolkit_version (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->get_toolkit_version = cb; } gtk-sharp-2.12.10/atk/glue/misc.c0000644000175000001440000000305211131156725013306 00000000000000/* misc.c : Glue for overriding vms of AtkMisc * * Author: Mike Kestner * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_misc_override_threads_enter (GType gtype, gpointer cb); void atksharp_misc_override_threads_enter (GType gtype, gpointer cb) { AtkMiscClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkMiscClass *) klass)->threads_enter = cb; } void atksharp_misc_override_threads_leave (GType gtype, gpointer cb); void atksharp_misc_override_threads_leave (GType gtype, gpointer cb) { AtkMiscClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkMiscClass *) klass)->threads_leave = cb; } void atksharp_misc_set_singleton_instance (AtkMisc *misc); void atksharp_misc_set_singleton_instance (AtkMisc *misc) { atk_misc_instance = misc; } gtk-sharp-2.12.10/atk/glue/Makefile.in0000644000175000001440000004157311345266364014276 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = atk/glue DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libatksharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libatksharpglue_2_la_OBJECTS = hyperlink.lo misc.lo object.lo \ object_factory.lo util.lo nodist_libatksharpglue_2_la_OBJECTS = generated.lo libatksharpglue_2_la_OBJECTS = $(am_libatksharpglue_2_la_OBJECTS) \ $(nodist_libatksharpglue_2_la_OBJECTS) libatksharpglue_2_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libatksharpglue_2_la_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libatksharpglue_2_la_SOURCES) \ $(nodist_libatksharpglue_2_la_SOURCES) DIST_SOURCES = $(libatksharpglue_2_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libatksharpglue-2.la libatksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libatksharpglue_2_la_SOURCES = \ hyperlink.c \ misc.c \ object.c \ object_factory.c \ util.c \ vmglueheaders.h nodist_libatksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libatksharpglue_2_la_LIBADD = $(ATK_LIBS) INCLUDES = $(ATK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign atk/glue/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign atk/glue/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libatksharpglue-2.la: $(libatksharpglue_2_la_OBJECTS) $(libatksharpglue_2_la_DEPENDENCIES) $(libatksharpglue_2_la_LINK) -rpath $(libdir) $(libatksharpglue_2_la_OBJECTS) $(libatksharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hyperlink.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object_factory.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES libatksharpglue.dll: $(libatksharpglue_2_la_OBJECTS) libatksharpglue.rc libatksharpglue.def ./build-dll libatksharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/atk/glue/vmglueheaders.h0000644000175000001440000000011111131156725015204 00000000000000/* Headers for virtual method glue compilation */ #include gtk-sharp-2.12.10/atk/glue/hyperlink.c0000644000175000001440000000635211131156725014366 00000000000000/* hyperlink.c : Glue for overriding vms of AtkHyperlink * * Author: Mike Gorse * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_hyperlink_override_get_uri (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_object (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_end_index (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_start_index (GType gtype, gpointer cb); void atksharp_hyperlink_override_is_valid (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_n_anchors (GType gtype, gpointer cb); void atksharp_hyperlink_override_link_state (GType gtype, gpointer cb); void atksharp_hyperlink_override_is_selected_link (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_uri (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_uri = cb; } void atksharp_hyperlink_override_get_object (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_object = cb; } void atksharp_hyperlink_override_get_end_index (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_end_index = cb; } void atksharp_hyperlink_override_get_start_index (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_start_index = cb; } void atksharp_hyperlink_override_is_valid (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->is_valid = cb; } void atksharp_hyperlink_override_get_n_anchors (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_n_anchors = cb; } void atksharp_hyperlink_override_link_state (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->link_state = cb; } void atksharp_hyperlink_override_is_selected_link (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->is_selected_link = cb; } gtk-sharp-2.12.10/atk/Makefile.in0000644000175000001440000005147311345266363013341 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/../Makefile.include $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/atk-sharp.dll.config.in subdir = atk ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = atk-sharp.dll.config SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(gapidir)" gapiDATA_INSTALL = $(INSTALL_DATA) DATA = $(gapi_DATA) $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue pkg = atk METADATA = Atk.metadata SYMBOLS = references = ../glib/glib-sharp.dll glue_includes = atk/atk.h sources = \ ColumnDeletedHandler.cs \ ColumnInsertedHandler.cs \ RowDeletedHandler.cs \ RowInsertedHandler.cs \ TableAdapter.cs \ Table.cs \ TextChangedDetail.cs customs = \ Global.custom \ Hyperlink.custom \ Misc.custom \ NoOpObject.custom \ Object.custom \ ObjectFactory.custom \ SelectionAdapter.custom \ TextAdapter.custom \ Util.custom add_dist = SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix /r:, $(references)) $(MONO_CAIRO_LIBS) @PLATFORM_WIN32_FALSE@GAPI_CDECL_INSERT = @PLATFORM_WIN32_TRUE@GAPI_CDECL_INSERT = $(top_srcdir)/gapi-cdecl-insert --keyfile=$(SNK) $(ASSEMBLY) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign atk/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign atk/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh atk-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/atk-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(gapiDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gapidir)/$$f'"; \ $(gapiDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gapidir)/$$f"; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(gapidir)/$$f'"; \ rm -f "$(DESTDIR)$(gapidir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-dvi install-dvi-am \ install-exec install-exec-am install-gapiDATA install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-gapiDATA uninstall-local $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) $(GAPI_CDECL_INSERT) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/atk/RowInsertedHandler.cs0000644000175000001440000000105511277367703015361 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; public delegate void RowInsertedHandler(object o, RowInsertedArgs args); public class RowInsertedArgs : GLib.SignalArgs { public int Row{ get { return (int) Args[0]; } } public int NumInserted{ get { return (int) Args[1]; } } } } gtk-sharp-2.12.10/atk/ColumnDeletedHandler.cs0000644000175000001440000000106511277367703015641 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; public delegate void ColumnDeletedHandler(object o, ColumnDeletedArgs args); public class ColumnDeletedArgs : GLib.SignalArgs { public int Column{ get { return (int) Args[0]; } } public int NumDeleted{ get { return (int) Args[1]; } } } } gtk-sharp-2.12.10/atk/Global.custom0000644000175000001440000000260511131156725013712 00000000000000// Global.custom - Atk Global class customizations // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libatk-1.0-0.dll")] static extern uint atk_add_global_event_listener (GLib.Signal.EmissionHookNative hook, IntPtr event_type); public static uint AddGlobalEventListener (GLib.Signal.EmissionHook hook, string event_type) { IntPtr native_event_type = GLib.Marshaller.StringToPtrGStrdup (event_type); uint id = atk_add_global_event_listener (new GLib.Signal.EmissionHookMarshaler (hook).Callback, native_event_type); GLib.Marshaller.Free (native_event_type); return id; } gtk-sharp-2.12.10/makefile.win320000755000175000001440000000014011131157074013131 00000000000000all: # makefile.win32 is no longer supported. Use configure && make for the autotools build. gtk-sharp-2.12.10/AssemblyInfo.cs.in0000644000175000001440000000034511131157074014023 00000000000000using System.Reflection; using System.Runtime.CompilerServices; [assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyDelaySign(false)] [assembly:AssemblyKeyFile("gtk-sharp.snk")] [assembly:GLib.IgnoreClassInitializers] gtk-sharp-2.12.10/cairo/0000777000175000001440000000000011345266754011670 500000000000000gtk-sharp-2.12.10/cairo/Pattern.cs0000644000175000001440000000742311131157066013542 00000000000000// // Mono.Cairo.Pattern.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Collections; namespace Cairo { public class Pattern : IDisposable { protected IntPtr pattern = IntPtr.Zero; internal static Pattern Lookup (IntPtr pattern) { if (pattern == IntPtr.Zero) return null; object x = patterns [pattern]; if (x != null) return (Pattern) x; PatternType pt = NativeMethods.cairo_pattern_get_type (pattern); switch (pt) { case PatternType.Solid: return new SolidPattern (pattern); case PatternType.Surface: return new SurfacePattern (pattern); case PatternType.Linear: return new LinearGradient (pattern); case PatternType.Radial: return new RadialGradient (pattern); default: return new Pattern (pattern); } } protected Pattern () { } static Hashtable patterns = new Hashtable (); internal Pattern (IntPtr ptr) { lock (patterns){ patterns [ptr] = this; } pattern = ptr; } ~Pattern () { } [Obsolete ("Use the SurfacePattern constructor")] public Pattern (Surface surface) { pattern = NativeMethods.cairo_pattern_create_for_surface (surface.Handle); } protected void Reference () { NativeMethods.cairo_pattern_reference (pattern); } void IDisposable.Dispose () { Dispose (true); } protected virtual void Dispose (bool disposing) { if (disposing) Destroy (); GC.SuppressFinalize (this); } public void Destroy () { if (pattern != IntPtr.Zero){ NativeMethods.cairo_pattern_destroy (pattern); pattern = IntPtr.Zero; } lock (patterns){ patterns.Remove (this); } } public Status Status { get { return NativeMethods.cairo_pattern_status (pattern); } } public Matrix Matrix { set { NativeMethods.cairo_pattern_set_matrix (pattern, value); } get { Matrix m = new Matrix (); NativeMethods.cairo_pattern_get_matrix (pattern, m); return m; } } public IntPtr Pointer { get { return pattern; } } public PatternType PatternType { get { return NativeMethods.cairo_pattern_get_type (pattern); } } } } gtk-sharp-2.12.10/cairo/LinearGradient.cs0000644000175000001440000000374611131157066015021 00000000000000// // Mono.Cairo.LinearGradient.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class LinearGradient : Gradient { internal LinearGradient (IntPtr handle) : base (handle) { } public LinearGradient (double x0, double y0, double x1, double y1) { pattern = NativeMethods.cairo_pattern_create_linear (x0, y0, x1, y1); } public PointD[] LinearPoints { get { double x0, y0, x1, y1; PointD[] points = new PointD [2]; NativeMethods.cairo_pattern_get_linear_points (pattern, out x0, out y0, out x1, out y1); points[0] = new PointD (x0, y0); points[1] = new PointD (x1, y1); return points; } } } } gtk-sharp-2.12.10/cairo/Makefile.am0000644000175000001440000000432711131461314013624 00000000000000ASSEMBLY_NAME = Mono.Cairo ASSEMBLY = $(ASSEMBLY_NAME).dll POLICY_ASSEMBLY = policy.1.0.$(ASSEMBLY) POLICY_CONFIG = policy.1.0.config if ENABLE_MONO_CAIRO TARGET=$(ASSEMBLY) $(POLICY_ASSEMBLY) else TARGET= endif noinst_DATA = $(TARGET) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLY) mono.snk sources = \ Antialias.cs \ AssemblyInfo.cs \ Cairo.cs \ Content.cs \ Context.cs \ DirectFBSurface.cs \ Extend.cs \ FillRule.cs \ Filter.cs \ FontExtents.cs \ FontFace.cs \ FontOptions.cs \ FontSlant.cs \ FontType.cs \ FontWeight.cs \ Format.cs \ GlitzSurface.cs \ Glyph.cs \ Gradient.cs \ HintMetrics.cs \ HintStyle.cs \ ImageSurface.cs \ LinearGradient.cs \ LineCap.cs \ LineJoin.cs \ Matrix.cs \ NativeMethods.cs \ Operator.cs \ Path.cs \ Pattern.cs \ PatternType.cs \ PdfSurface.cs \ PSSurface.cs \ RadialGradient.cs \ Rectangle.cs \ ScaledFont.cs \ SolidPattern.cs \ Status.cs \ SubpixelOrder.cs \ Surface.cs \ SurfacePattern.cs \ SurfaceType.cs \ SvgSurface.cs \ SvgVersion.cs \ TextExtents.cs \ Win32Surface.cs \ XcbSurface.cs \ XlibSurface.cs \ # build_sources = $(addprefix $(srcdir)/, $(sources)) mono.snk: $(top_srcdir)/mono.snk cp $(top_srcdir)/mono.snk . $(ASSEMBLY): $(build_sources) mono.snk @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(POLICY_ASSEMBLY): $(srcdir)/$(POLICY_CONFIG) mono.snk echo "Creating policy.1.0.$(ASSEMBLY)"; $(AL) -link:$(POLICY_CONFIG) -out:$@ -keyfile:mono.snk; install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /i $(POLICY_ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(POLICY_ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ fi EXTRA_DIST = $(sources) $(POLICY_CONFIG) gtk-sharp-2.12.10/cairo/LineCap.cs0000644000175000001440000000260011131157066013430 00000000000000// // Mono.Cairo.LineCap.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum LineCap { Butt, Round, Square, } } gtk-sharp-2.12.10/cairo/Antialias.cs0000644000175000001440000000261611131157066014031 00000000000000// // Mono.Cairo.Antialias.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Antialias { Default, None, Gray, Subpixel, } } gtk-sharp-2.12.10/cairo/LineJoin.cs0000644000175000001440000000260211131157066013626 00000000000000// // Mono.Cairo.LineJoin.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum LineJoin { Miter, Round, Bevel } } gtk-sharp-2.12.10/cairo/SolidPattern.cs0000644000175000001440000000456111131157066014535 00000000000000// // Mono.Cairo.Pattern.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class SolidPattern : Pattern { internal SolidPattern (IntPtr handle) : base (handle) { } public SolidPattern (Color color) { pattern = NativeMethods.cairo_pattern_create_rgba (color.R, color.G, color.B, color.A); } public SolidPattern (double r, double g, double b) { pattern = NativeMethods.cairo_pattern_create_rgb (r, g, b); } public SolidPattern (double r, double g, double b, double a) { NativeMethods.cairo_pattern_create_rgba (r, g, b, a); } public SolidPattern (Color color, bool solid) { if (solid) pattern = NativeMethods.cairo_pattern_create_rgb (color.R, color.G, color.B); else pattern = NativeMethods.cairo_pattern_create_rgba (color.R, color.G, color.B, color.A); } public Color Color { get { double red, green, blue, alpha; NativeMethods.cairo_pattern_get_rgba (pattern, out red, out green, out blue, out alpha); return new Color (red, green, blue, alpha); } } } } gtk-sharp-2.12.10/cairo/PatternType.cs0000644000175000001440000000242211131157066014376 00000000000000// // Mono.Cairo.PatternType.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum PatternType { Solid, Surface, Linear, Radial, } } gtk-sharp-2.12.10/cairo/policy.1.0.config0000644000175000001440000000055011131157066014553 00000000000000 gtk-sharp-2.12.10/cairo/FontWeight.cs0000644000175000001440000000257311131157066014204 00000000000000// // Mono.Cairo.FontWeight.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum FontWeight { Normal, Bold, } } gtk-sharp-2.12.10/cairo/FontOptions.cs0000644000175000001440000000705311131157066014406 00000000000000// // Mono.Cairo.FontOptions.cs // // Author: // John Luke (john.luke@gmail.com) // // (C) John Luke 2005. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class FontOptions : IDisposable { IntPtr handle; bool disposed; public FontOptions () { handle = NativeMethods.cairo_font_options_create (); } ~FontOptions () { Dispose (false); } internal FontOptions (IntPtr handle) { this.handle = handle; } public FontOptions Copy () { return new FontOptions (NativeMethods.cairo_font_options_copy (handle)); } public void Destroy () { NativeMethods.cairo_font_options_destroy (handle); } public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } private void Dispose (bool disposing) { if (!disposed) { Destroy (); handle = IntPtr.Zero; } disposed = true; } public static bool operator == (FontOptions options, FontOptions other) { return Equals (options, other); } public static bool operator != (FontOptions options, FontOptions other) { return !(options == other); } public override bool Equals (object other) { return Equals (other as FontOptions); } bool Equals (FontOptions options) { return options != null && NativeMethods.cairo_font_options_equal (Handle, options.Handle); } public IntPtr Handle { get { return handle; } } public override int GetHashCode () { return (int) NativeMethods.cairo_font_options_hash (handle); } public void Merge (FontOptions other) { if (other == null) throw new ArgumentNullException ("other"); NativeMethods.cairo_font_options_merge (handle, other.Handle); } public Antialias Antialias { get { return NativeMethods.cairo_font_options_get_antialias (handle); } set { NativeMethods.cairo_font_options_set_antialias (handle, value); } } public HintMetrics HintMetrics { get { return NativeMethods.cairo_font_options_get_hint_metrics (handle);} set { NativeMethods.cairo_font_options_set_hint_metrics (handle, value); } } public HintStyle HintStyle { get { return NativeMethods.cairo_font_options_get_hint_style (handle);} set { NativeMethods.cairo_font_options_set_hint_style (handle, value); } } public Status Status { get { return NativeMethods.cairo_font_options_status (handle); } } public SubpixelOrder SubpixelOrder { get { return NativeMethods.cairo_font_options_get_subpixel_order (handle);} set { NativeMethods.cairo_font_options_set_subpixel_order (handle, value); } } } } gtk-sharp-2.12.10/cairo/FontExtents.cs0000644000175000001440000000600311131157066014377 00000000000000// // Mono.Cairo.FontExtents.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // // This is a simplistic binding of the Cairo API to C#. All functions // in cairo.h are transcribed into their C# equivelants // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { [StructLayout (LayoutKind.Sequential)] public struct FontExtents { double ascent; double descent; double height; double maxXAdvance; double maxYAdvance; public double Ascent { get { return ascent; } set { ascent = value; } } public double Descent { get { return descent; } set { descent = value; } } public double Height { get { return height; } set { height = value; } } public double MaxXAdvance { get { return maxXAdvance; } set { maxXAdvance = value; } } public double MaxYAdvance { get { return maxYAdvance; } set { maxYAdvance = value; } } public FontExtents (double ascent, double descent, double height, double maxXAdvance, double maxYAdvance) { this.ascent = ascent; this.descent = descent; this.height = height; this.maxXAdvance = maxXAdvance; this.maxYAdvance = maxYAdvance; } public override bool Equals (object obj) { if (obj is FontExtents) return this == (FontExtents) obj; return false; } public override int GetHashCode () { return (int) Ascent ^ (int) Descent ^ (int) Height ^ (int) MaxXAdvance ^ (int) MaxYAdvance; } public static bool operator == (FontExtents extents, FontExtents other) { return extents.Ascent == other.Ascent && extents.Descent == other.Descent && extents.Height == other.Height && extents.MaxXAdvance == other.MaxXAdvance && extents.MaxYAdvance == other.MaxYAdvance; } public static bool operator != (FontExtents extents, FontExtents other) { return !(extents == other); } } } gtk-sharp-2.12.10/cairo/Context.cs0000644000175000001440000005730111131157066013551 00000000000000// // Mono.Cairo.Context.cs // // Author: // Duncan Mak (duncan@ximian.com) // Miguel de Icaza (miguel@novell.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // Alp Toker (alp@atoker.com) // // (C) Ximian Inc, 2003. // (C) Novell Inc, 2003. // // This is an OO wrapper API for the Cairo API. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; using Cairo; namespace Cairo { public struct Point { public Point (int x, int y) { this.x = x; this.y = y; } int x, y; public int X { get { return x; } set { x = value; } } public int Y { get { return y; } set { y = value; } } } public struct PointD { public PointD (double x, double y) { this.x = x; this.y = y; } double x, y; public double X { get { return x; } set { x = value; } } public double Y { get { return y; } set { y = value; } } } public struct Distance { public Distance (double dx, double dy) { this.dx = dx; this.dy = dy; } double dx, dy; public double Dx { get { return dx; } set { dx = value; } } public double Dy { get { return dy; } set { dy = value; } } } public struct Color { public Color(double r, double g, double b) : this (r, g, b, 1.0) { } public Color(double r, double g, double b, double a) { this.r = r; this.g = g; this.b = b; this.a = a; } double r, g, b, a; public double R { get { return r; } set { r = value; } } public double G { get { return g; } set { g = value; } } public double B { get { return b; } set { b = value; } } public double A { get { return a; } set { a = value; } } } [Obsolete ("Renamed Cairo.Context per suggestion from cairo binding guidelines.")] public class Graphics : Context { public Graphics (IntPtr state) : base (state) {} public Graphics (Surface surface) : base (surface) {} } public class Context : IDisposable { internal IntPtr state = IntPtr.Zero; static int native_glyph_size, c_compiler_long_size; static Context () { // // This is used to determine what kind of structure // we should use to marshal Glyphs, as the public // definition in Cairo uses `long', which can be // 32 bits or 64 bits depending on the platform. // // We assume that sizeof(long) == sizeof(void*) // except in the case of Win64 where sizeof(long) // is 32 bits // int ptr_size = Marshal.SizeOf (typeof (IntPtr)); PlatformID platform = Environment.OSVersion.Platform; if (platform == PlatformID.Win32NT || platform == PlatformID.Win32S || platform == PlatformID.Win32Windows || platform == PlatformID.WinCE || ptr_size == 4){ c_compiler_long_size = 4; native_glyph_size = Marshal.SizeOf (typeof (NativeGlyph_4byte_longs)); } else { c_compiler_long_size = 8; native_glyph_size = Marshal.SizeOf (typeof (Glyph)); } } public Context (Surface surface) { state = NativeMethods.cairo_create (surface.Handle); } public Context (IntPtr state) { this.state = state; } ~Context () { Dispose (false); } void IDisposable.Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (!disposing){ Console.Error.WriteLine ("Cairo.Context: called from finalization thread, programmer is missing a call to Dispose"); return; } if (state == IntPtr.Zero) return; //Console.WriteLine ("Destroying"); NativeMethods.cairo_destroy (state); state = IntPtr.Zero; } public void Save () { NativeMethods.cairo_save (state); } public void Restore () { NativeMethods.cairo_restore (state); } public Antialias Antialias { get { return NativeMethods.cairo_get_antialias (state); } set { NativeMethods.cairo_set_antialias (state, value); } } public Cairo.Status Status { get { return NativeMethods.cairo_status (state); } } public IntPtr Handle { get { return state; } } public Cairo.Operator Operator { set { NativeMethods.cairo_set_operator (state, value); } get { return NativeMethods.cairo_get_operator (state); } } //FIXME: obsolete this property public Cairo.Color Color { set { NativeMethods.cairo_set_source_rgba (state, value.R, value.G, value.B, value.A); } } [Obsolete ("Use Color property")] public Cairo.Color ColorRgb { set { Color = new Color (value.R, value.G, value.B); } } public double Tolerance { get { return NativeMethods.cairo_get_tolerance (state); } set { NativeMethods.cairo_set_tolerance (state, value); } } public Cairo.FillRule FillRule { set { NativeMethods.cairo_set_fill_rule (state, value); } get { return NativeMethods.cairo_get_fill_rule (state); } } public double LineWidth { set { NativeMethods.cairo_set_line_width (state, value); } get { return NativeMethods.cairo_get_line_width (state); } } public Cairo.LineCap LineCap { set { NativeMethods.cairo_set_line_cap (state, value); } get { return NativeMethods.cairo_get_line_cap (state); } } public Cairo.LineJoin LineJoin { set { NativeMethods.cairo_set_line_join (state, value); } get { return NativeMethods.cairo_get_line_join (state); } } public void SetDash (double [] dashes, double offset) { NativeMethods.cairo_set_dash (state, dashes, dashes.Length, offset); } public Pattern Pattern { set { NativeMethods.cairo_set_source (state, value.Pointer); } get { return new Pattern (NativeMethods.cairo_get_source (state)); } } public Pattern Source { set { NativeMethods.cairo_set_source (state, value.Pointer); } get { return Pattern.Lookup (NativeMethods.cairo_get_source (state)); } } public double MiterLimit { set { NativeMethods.cairo_set_miter_limit (state, value); } get { return NativeMethods.cairo_get_miter_limit (state); } } public PointD CurrentPoint { get { double x, y; NativeMethods.cairo_get_current_point (state, out x, out y); return new PointD (x, y); } } public Cairo.Surface Target { set { if (state != IntPtr.Zero) NativeMethods.cairo_destroy (state); state = NativeMethods.cairo_create (value.Handle); } get { return Cairo.Surface.LookupExternalSurface ( NativeMethods.cairo_get_target (state)); } } public Cairo.ScaledFont ScaledFont { set { NativeMethods.cairo_set_scaled_font (state, value.Handle); } get { return new ScaledFont (NativeMethods.cairo_get_scaled_font (state)); } } public uint ReferenceCount { get { return NativeMethods.cairo_get_reference_count (state); } } public void SetSourceRGB (double r, double g, double b) { NativeMethods.cairo_set_source_rgb (state, r, g, b); } public void SetSourceRGBA (double r, double g, double b, double a) { NativeMethods.cairo_set_source_rgba (state, r, g, b, a); } //[Obsolete ("Use SetSource method (with double parameters)")] public void SetSourceSurface (Surface source, int x, int y) { NativeMethods.cairo_set_source_surface (state, source.Handle, x, y); } public void SetSource (Surface source, double x, double y) { NativeMethods.cairo_set_source_surface (state, source.Handle, x, y); } public void SetSource (Surface source) { NativeMethods.cairo_set_source_surface (state, source.Handle, 0, 0); } #region Path methods public void NewPath () { NativeMethods.cairo_new_path (state); } public void NewSubPath () { NativeMethods.cairo_new_sub_path (state); } public void MoveTo (PointD p) { MoveTo (p.X, p.Y); } public void MoveTo (double x, double y) { NativeMethods.cairo_move_to (state, x, y); } public void LineTo (PointD p) { LineTo (p.X, p.Y); } public void LineTo (double x, double y) { NativeMethods.cairo_line_to (state, x, y); } public void CurveTo (PointD p1, PointD p2, PointD p3) { CurveTo (p1.X, p1.Y, p2.X, p2.Y, p3.X, p3.Y); } public void CurveTo (double x1, double y1, double x2, double y2, double x3, double y3) { NativeMethods.cairo_curve_to (state, x1, y1, x2, y2, x3, y3); } public void RelMoveTo (Distance d) { RelMoveTo (d.Dx, d.Dy); } public void RelMoveTo (double dx, double dy) { NativeMethods.cairo_rel_move_to (state, dx, dy); } public void RelLineTo (Distance d) { RelLineTo (d.Dx, d.Dy); } public void RelLineTo (double dx, double dy) { NativeMethods.cairo_rel_line_to (state, dx, dy); } public void RelCurveTo (Distance d1, Distance d2, Distance d3) { RelCurveTo (d1.Dx, d1.Dy, d2.Dx, d2.Dy, d3.Dx, d3.Dy); } public void RelCurveTo (double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) { NativeMethods.cairo_rel_curve_to (state, dx1, dy1, dx2, dy2, dx3, dy3); } public void Arc (double xc, double yc, double radius, double angle1, double angle2) { NativeMethods.cairo_arc (state, xc, yc, radius, angle1, angle2); } public void ArcNegative (double xc, double yc, double radius, double angle1, double angle2) { NativeMethods.cairo_arc_negative (state, xc, yc, radius, angle1, angle2); } public void Rectangle (Rectangle rectangle) { Rectangle (rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); } public void Rectangle (PointD p, double width, double height) { Rectangle (p.X, p.Y, width, height); } public void Rectangle (double x, double y, double width, double height) { NativeMethods.cairo_rectangle (state, x, y, width, height); } public void ClosePath () { NativeMethods.cairo_close_path (state); } public Path CopyPath () { return new Path (NativeMethods.cairo_copy_path (state)); } public Path CopyPathFlat () { return new Path (NativeMethods.cairo_copy_path_flat (state)); } public void AppendPath (Path path) { NativeMethods.cairo_append_path (state, path.handle); } #endregion #region Painting Methods public void Paint () { NativeMethods.cairo_paint (state); } public void PaintWithAlpha (double alpha) { NativeMethods.cairo_paint_with_alpha (state, alpha); } public void Mask (Pattern pattern) { NativeMethods.cairo_mask (state, pattern.Pointer); } public void MaskSurface (Surface surface, double surface_x, double surface_y) { NativeMethods.cairo_mask_surface (state, surface.Handle, surface_x, surface_y); } public void Stroke () { NativeMethods.cairo_stroke (state); } public void StrokePreserve () { NativeMethods.cairo_stroke_preserve (state); } public Rectangle StrokeExtents () { double x1, y1, x2, y2; NativeMethods.cairo_stroke_extents (state, out x1, out y1, out x2, out y2); return new Rectangle (x1, y1, x2, y2); } public void Fill () { NativeMethods.cairo_fill (state); } public Rectangle FillExtents () { double x1, y1, x2, y2; NativeMethods.cairo_fill_extents (state, out x1, out y1, out x2, out y2); return new Rectangle (x1, y1, x2, y2); } public void FillPreserve () { NativeMethods.cairo_fill_preserve (state); } #endregion public void Clip () { NativeMethods.cairo_clip (state); } public void ClipPreserve () { NativeMethods.cairo_clip_preserve (state); } public void ResetClip () { NativeMethods.cairo_reset_clip (state); } public bool InStroke (double x, double y) { return NativeMethods.cairo_in_stroke (state, x, y); } public bool InFill (double x, double y) { return NativeMethods.cairo_in_fill (state, x, y); } public Pattern PopGroup () { return Pattern.Lookup (NativeMethods.cairo_pop_group (state)); } public void PopGroupToSource () { NativeMethods.cairo_pop_group_to_source (state); } public void PushGroup () { NativeMethods.cairo_push_group (state); } public void PushGroup (Content content) { NativeMethods.cairo_push_group_with_content (state, content); } public Surface GroupTarget { get { IntPtr surface = NativeMethods.cairo_get_group_target (state); return Surface.LookupSurface (surface); } } public void Rotate (double angle) { NativeMethods.cairo_rotate (state, angle); } public void Scale (double sx, double sy) { NativeMethods.cairo_scale (state, sx, sy); } public void Translate (double tx, double ty) { NativeMethods.cairo_translate (state, tx, ty); } public void Transform (Matrix m) { NativeMethods.cairo_transform (state, m); } #region Methods that will become obsolete in the long term, after 1.2.5 becomes wildly available //[Obsolete("Use UserToDevice instead")] public void TransformPoint (ref double x, ref double y) { NativeMethods.cairo_user_to_device (state, ref x, ref y); } //[Obsolete("Use UserToDeviceDistance instead")] public void TransformDistance (ref double dx, ref double dy) { NativeMethods.cairo_user_to_device_distance (state, ref dx, ref dy); } //[Obsolete("Use InverseTransformPoint instead")] public void InverseTransformPoint (ref double x, ref double y) { NativeMethods.cairo_device_to_user (state, ref x, ref y); } //[Obsolete("Use DeviceToUserDistance instead")] public void InverseTransformDistance (ref double dx, ref double dy) { NativeMethods.cairo_device_to_user_distance (state, ref dx, ref dy); } #endregion public void UserToDevice (ref double x, ref double y) { NativeMethods.cairo_user_to_device (state, ref x, ref y); } public void UserToDeviceDistance (ref double dx, ref double dy) { NativeMethods.cairo_user_to_device_distance (state, ref dx, ref dy); } public void DeviceToUser (ref double x, ref double y) { NativeMethods.cairo_device_to_user (state, ref x, ref y); } public void DeviceToUserDistance (ref double dx, ref double dy) { NativeMethods.cairo_device_to_user_distance (state, ref dx, ref dy); } public Cairo.Matrix Matrix { set { NativeMethods.cairo_set_matrix (state, value); } get { Matrix m = new Matrix(); NativeMethods.cairo_get_matrix (state, m); return m; } } public void SetFontSize (double scale) { NativeMethods.cairo_set_font_size (state, scale); } public void IdentityMatrix () { NativeMethods.cairo_identity_matrix (state); } [Obsolete ("Use SetFontSize() instead.")] public void FontSetSize (double scale) { SetFontSize (scale); } [Obsolete ("Use SetFontSize() instead.")] public double FontSize { set { SetFontSize (value); } } public Matrix FontMatrix { get { Matrix m; NativeMethods.cairo_get_font_matrix (state, out m); return m; } set { NativeMethods.cairo_set_font_matrix (state, value); } } public FontOptions FontOptions { get { FontOptions options = new FontOptions (); NativeMethods.cairo_get_font_options (state, options.Handle); return options; } set { NativeMethods.cairo_set_font_options (state, value.Handle); } } [StructLayout(LayoutKind.Sequential)] internal struct NativeGlyph_4byte_longs { public int index; public double x; public double y; public NativeGlyph_4byte_longs (Glyph source) { index = (int) source.index; x = source.x; y = source.y; } } static internal IntPtr FromGlyphToUnManagedMemory(Glyph [] glyphs) { IntPtr dest = Marshal.AllocHGlobal (native_glyph_size * glyphs.Length); long pos = dest.ToInt64(); if (c_compiler_long_size == 8){ foreach (Glyph g in glyphs){ Marshal.StructureToPtr (g, (IntPtr)pos, false); pos += native_glyph_size; } } else { foreach (Glyph g in glyphs){ NativeGlyph_4byte_longs n = new NativeGlyph_4byte_longs (g); Marshal.StructureToPtr (n, (IntPtr)pos, false); pos += native_glyph_size; } } return dest; } public void ShowGlyphs (Glyph[] glyphs) { IntPtr ptr; ptr = FromGlyphToUnManagedMemory (glyphs); NativeMethods.cairo_show_glyphs (state, ptr, glyphs.Length); Marshal.FreeHGlobal (ptr); } [Obsolete("The matrix argument was never used, use ShowGlyphs(Glyphs []) instead")] public void ShowGlyphs (Matrix matrix, Glyph[] glyphs) { ShowGlyphs (glyphs); } [Obsolete("The matrix argument was never used, use GlyphPath(Glyphs []) instead")] public void GlyphPath (Matrix matrix, Glyph[] glyphs) { GlyphPath (glyphs); } public void GlyphPath (Glyph[] glyphs) { IntPtr ptr; ptr = FromGlyphToUnManagedMemory (glyphs); NativeMethods.cairo_glyph_path (state, ptr, glyphs.Length); Marshal.FreeHGlobal (ptr); } public FontExtents FontExtents { get { FontExtents f_extents; NativeMethods.cairo_font_extents (state, out f_extents); return f_extents; } } public void CopyPage () { NativeMethods.cairo_copy_page (state); } [Obsolete ("Use SelectFontFace() instead.")] public void FontFace (string family, FontSlant slant, FontWeight weight) { SelectFontFace (family, slant, weight); } public FontFace ContextFontFace { get { return Cairo.FontFace.Lookup (NativeMethods.cairo_get_font_face (state)); } set { NativeMethods.cairo_set_font_face (state, value == null ? IntPtr.Zero : value.Handle); } } public void SelectFontFace (string family, FontSlant slant, FontWeight weight) { NativeMethods.cairo_select_font_face (state, family, slant, weight); } public void ShowPage () { NativeMethods.cairo_show_page (state); } public void ShowText (string str) { NativeMethods.cairo_show_text (state, str); } public void TextPath (string str) { NativeMethods.cairo_text_path (state, str); } public TextExtents TextExtents (string utf8) { TextExtents extents; NativeMethods.cairo_text_extents (state, utf8, out extents); return extents; } public TextExtents GlyphExtents (Glyph[] glyphs) { IntPtr ptr = FromGlyphToUnManagedMemory (glyphs); TextExtents extents; NativeMethods.cairo_glyph_extents (state, ptr, glyphs.Length, out extents); Marshal.FreeHGlobal (ptr); return extents; } } } gtk-sharp-2.12.10/cairo/ImageSurface.cs0000644000175000001440000000627011131157066014457 00000000000000// // Mono.Cairo.ImageSurface.cs // // Authors: // Duncan Mak // Miguel de Icaza. // // (C) Ximian Inc, 2003. // (C) Novell, Inc. 2003. // // This is an OO wrapper API for the Cairo API // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { public class ImageSurface : Surface { internal ImageSurface (IntPtr handle, bool owns) : base (handle, owns) { } public ImageSurface (Format format, int width, int height) { surface = NativeMethods.cairo_image_surface_create (format, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public ImageSurface (ref byte[] data, Cairo.Format format, int width, int height, int stride) { surface = NativeMethods.cairo_image_surface_create_for_data (data, format, width, height, stride); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public ImageSurface (IntPtr data, Cairo.Format format, int width, int height, int stride) { surface = NativeMethods.cairo_image_surface_create_for_data (data, format, width, height, stride); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public ImageSurface (string filename) { surface = NativeMethods.cairo_image_surface_create_from_png (filename); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public int Width { get { return NativeMethods.cairo_image_surface_get_width (surface); } } public int Height { get { return NativeMethods.cairo_image_surface_get_height (surface); } } public byte[] Data { get { IntPtr ptr = NativeMethods.cairo_image_surface_get_data (surface); int length = Height * Stride; byte[] data = new byte[length]; Marshal.Copy (ptr, data, 0, length); return data; } } public IntPtr DataPtr { get { return NativeMethods.cairo_image_surface_get_data (surface); } } public Format Format { get { return NativeMethods.cairo_image_surface_get_format (surface); } } public int Stride { get { return NativeMethods.cairo_image_surface_get_stride (surface); } } } } gtk-sharp-2.12.10/cairo/Matrix.cs0000644000175000001440000001251311131157066013365 00000000000000// // Mono.Cairo.Matrix.cs // // Author: Duncan Mak // Hisham Mardam Bey (hisham.mardambey@gmail.com) // Idan Gazit (idan@fastmail.fm) // // (C) Ximian Inc, 2003 - 2005. // // This is an OO wrapper API for the Cairo API // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { [StructLayout(LayoutKind.Sequential)] public class Matrix : ICloneable { public double Xx; public double Yx; public double Xy; public double Yy; public double X0; public double Y0; public Matrix (double xx, double yx, double xy, double yy, double x0, double y0) { this.Xx = xx; this.Yx = yx; this.Xy = xy; this.Yy = yy; this.X0 = x0; this.Y0 = y0; } public Matrix () { this.InitIdentity (); } public bool IsIdentity () { return (this == new Matrix ()); } public void InitIdentity () { // this.Init(1,0,0,1,0,0); NativeMethods.cairo_matrix_init_identity (this); } public void Init (double xx, double yx, double xy, double yy, double x0, double y0) { this.Xx = xx; this.Yx = yx; this.Xy = xy; this.Yy = yy; this.X0 = x0; this.Y0 = y0; } public void InitTranslate (double tx, double ty) { //this.Init (1, 0, 0, 1, tx, ty); NativeMethods.cairo_matrix_init_translate (this, tx, ty); } public void Translate (double tx, double ty) { NativeMethods.cairo_matrix_translate (this, tx, ty); } public void InitScale (double sx, double sy) { //this.Init (sx, 0, 0, sy, 0, 0); NativeMethods.cairo_matrix_init_scale (this, sx, sy); } public void Scale (double sx, double sy) { NativeMethods.cairo_matrix_scale (this, sx, sy); } public void InitRotate (double radians) { /* double s, c; s = Math.Sin (radians); c = Math.Cos (radians); this.Init (c, s, -s, c, 0, 0); */ NativeMethods.cairo_matrix_init_rotate (this, radians); } public void Rotate (double radians) { NativeMethods.cairo_matrix_rotate (this, radians); } public Cairo.Status Invert () { return NativeMethods.cairo_matrix_invert (this); } public void Multiply (Matrix b) { Matrix a = (Matrix) this.Clone (); NativeMethods.cairo_matrix_multiply (this, a, b); } public static Matrix Multiply (Matrix a, Matrix b) { Matrix result = new Matrix (); NativeMethods.cairo_matrix_multiply (result, a, b); return result; } public void TransformDistance (ref double dx, ref double dy) { NativeMethods.cairo_matrix_transform_distance (this, ref dx, ref dy); } public void TransformPoint (ref double x, ref double y) { NativeMethods.cairo_matrix_transform_point (this, ref x, ref y); } public override String ToString () { String s = String.Format ("xx:{0:##0.0#} yx:{1:##0.0#} xy:{2:##0.0#} yy:{3:##0.0#} x0:{4:##0.0#} y0:{5:##0.0#}", this.Xx, this.Yx, this.Xy, this.Yy, this.X0, this.Y0); return s; } public static bool operator == (Matrix lhs, Matrix rhs) { return (lhs.Xx == rhs.Xx && lhs.Xy == rhs.Xy && lhs.Yx == rhs.Yx && lhs.Yy == rhs.Yy && lhs.X0 == rhs.X0 && lhs.Y0 == rhs.Y0 ); } public static bool operator != (Matrix lhs, Matrix rhs) { return !(lhs==rhs); } public override bool Equals(object o) { if (! (o is Matrix)) return false; else return (this == (Matrix) o); } public override int GetHashCode() { return (int)this.Xx ^ (int)this.Xx>>32 ^ (int)this.Xy ^ (int)this.Xy>>32 ^ (int)this.Yx ^ (int)this.Yx>>32 ^ (int)this.Yy ^ (int)this.Yy>>32 ^ (int)this.X0 ^ (int)this.X0>>32 ^ (int)this.Y0 ^ (int)this.Y0>>32; } public object Clone() { return this.MemberwiseClone (); } } } gtk-sharp-2.12.10/cairo/SurfacePattern.cs0000644000175000001440000000365211131157066015053 00000000000000// // Mono.Cairo.Pattern.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class SurfacePattern : Pattern { internal SurfacePattern (IntPtr handle) : base (handle) { } public SurfacePattern (Surface surface) { pattern = NativeMethods.cairo_pattern_create_for_surface (surface.Handle); } public Extend Extend { set { NativeMethods.cairo_pattern_set_extend (pattern, value); } get { return NativeMethods.cairo_pattern_get_extend (pattern); } } public Filter Filter { set { NativeMethods.cairo_pattern_set_filter (pattern, value); } get { return NativeMethods.cairo_pattern_get_filter (pattern); } } } } gtk-sharp-2.12.10/cairo/SubpixelOrder.cs0000644000175000001440000000245211131157066014711 00000000000000// // Mono.Cairo.Cairo.cs // // Authors: // John Luke (john.luke@gmail.com) // // Copyright (C) John Luke 2005 // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum SubpixelOrder { Default, Rgb, Bgr, Vrgb, Vbgr, } } gtk-sharp-2.12.10/cairo/Rectangle.cs0000644000175000001440000000471111131157066014026 00000000000000// // Mono.Cairo.Rectangle.cs // // Author: // John Luke (john.luke@gmail.com) // // (C) John Luke 2005. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public struct Rectangle { double x; double y; double width; double height; public Rectangle (double x, double y, double width, double height) { this.x = x; this.y = y; this.width = width; this.height = height; } public Rectangle (Point point, double width, double height) { x = point.X; y = point.Y; this.width = width; this.height = height; } public double X { get { return x; } } public double Y { get { return y; } } public double Width { get { return width; } } public double Height { get { return height; } } public override bool Equals (object obj) { if (obj is Rectangle) return this == (Rectangle)obj; return false; } public override int GetHashCode () { return (int) (x + y + width + height); } public override string ToString () { return String.Format ("x:{0} y:{1} w:{2} h:{3}", x, y, width, height); } public static bool operator == (Rectangle rectangle, Rectangle other) { return rectangle.X == other.X && rectangle.Y == other.Y && rectangle.Width == other.Width && rectangle.Height == other.Height; } public static bool operator != (Rectangle rectangle, Rectangle other) { return !(rectangle == other); } } } gtk-sharp-2.12.10/cairo/Cairo.cs0000644000175000001440000000351311131157066013156 00000000000000// // Cairo.cs - a simplistic binding of the Cairo API to C#. // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // Alp Toker (alp@atoker.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // Copyright (C) 2006 Alp Toker // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { public class CairoAPI { private CairoAPI () {} static public int Version { get { return Cairo.NativeMethods.cairo_version (); } } static public string VersionString { get { IntPtr x = Cairo.NativeMethods.cairo_version_string (); return Marshal.PtrToStringAnsi (x); } } } } gtk-sharp-2.12.10/cairo/PSSurface.cs0000644000175000001440000000371411131157066013757 00000000000000// // Mono.Cairo.PostscriptSurface.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class PSSurface : Surface { internal PSSurface (IntPtr handle, bool owns) : base (handle, owns) { } public PSSurface (string filename, double width, double height) { surface = NativeMethods.cairo_ps_surface_create (filename, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public void BeginPageSetup () { NativeMethods.cairo_ps_surface_begin_page_setup (surface); } public void BeginSetup () { NativeMethods.cairo_ps_surface_begin_setup (surface); } public void DscComment (string comment) { NativeMethods.cairo_ps_surface_dsc_comment (surface, comment); } public void SetSize (double width, double height) { NativeMethods.cairo_ps_surface_set_size (surface, width, height); } } } gtk-sharp-2.12.10/cairo/SurfaceType.cs0000644000175000001440000000250511131157066014353 00000000000000// // Mono.Cairo.SurfaceType.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum SurfaceType { Image, Pdf, PS, Xlib, Xcb, Glitz, Quartz, Win32, BeOS, DirectFB, Svg, } } gtk-sharp-2.12.10/cairo/Glyph.cs0000644000175000001440000000510611131157066013204 00000000000000// // Mono.Cairo.Glyph.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { [StructLayout(LayoutKind.Sequential)] public struct Glyph { internal long index; internal double x; internal double y; public Glyph (long index, double x, double y) { this.index = index; this.x = x; this.y = y; } public long Index { get { return index; } set { index = value; } } public double X { get { return x; } set { x = value; } } public double Y { get { return y; } set { y = value; } } public override bool Equals (object obj) { if (obj is Glyph) return this == (Glyph)obj; return false; } public override int GetHashCode () { return (int) Index ^ (int) X ^ (int) Y; } internal static IntPtr GlyphsToIntPtr (Glyph[] glyphs) { int size = Marshal.SizeOf (glyphs[0]); IntPtr dest = Marshal.AllocHGlobal (size * glyphs.Length); long pos = dest.ToInt64 (); for (int i = 0; i < glyphs.Length; i++, pos += size) Marshal.StructureToPtr (glyphs[i], (IntPtr) pos, false); return dest; } public static bool operator == (Glyph glyph, Glyph other) { return glyph.Index == other.Index && glyph.X == other.X && glyph.Y == other.Y; } public static bool operator != (Glyph glyph, Glyph other) { return !(glyph == other); } } } gtk-sharp-2.12.10/cairo/HintMetrics.cs0000644000175000001440000000260511131157066014353 00000000000000// // Mono.Cairo.HintMetrics.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum HintMetrics { Default, Off, On, } } gtk-sharp-2.12.10/cairo/Operator.cs0000644000175000001440000000306611131157066013717 00000000000000// // Mono.Cairo.Operator.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Operator { Clear, Source, Over, In, Out, Atop, Dest, DestOver, DestIn, DestOut, DestAtop, Xor, Add, Saturate, } } gtk-sharp-2.12.10/cairo/Path.cs0000644000175000001440000000403511131157066013015 00000000000000// // Mono.Cairo.Context.cs // // Author: // Miguel de Icaza (miguel@novell.com) // // This is an OO wrapper API for the Cairo API. // // Copyright 2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; using Cairo; namespace Cairo { public class Path : IDisposable { internal IntPtr handle = IntPtr.Zero; internal Path (IntPtr handle) { this.handle = handle; } ~Path () { Dispose (false); } void IDisposable.Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (!disposing){ Console.Error.WriteLine ("Cairo.Context: called from finalization thread, programmer is missing a call to Dispose"); return; } if (handle == IntPtr.Zero) return; NativeMethods.cairo_path_destroy (handle); handle = IntPtr.Zero; } } } gtk-sharp-2.12.10/cairo/Filter.cs0000644000175000001440000000263411131157066013351 00000000000000// // Mono.Cairo.Filter.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Filter { Fast, Good, Best, Nearest, Bilinear, Gaussian, } } gtk-sharp-2.12.10/cairo/FillRule.cs0000644000175000001440000000257211131157066013643 00000000000000// // Mono.Cairo.FillRule.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum FillRule { Winding, EvenOdd } } gtk-sharp-2.12.10/cairo/AssemblyInfo.cs0000644000175000001440000000026211131461526014511 00000000000000using System.Reflection; using System.Runtime.CompilerServices; [assembly:AssemblyVersion("2.0.0.0")] [assembly:AssemblyDelaySign(false)] [assembly:AssemblyKeyFile("mono.snk")] gtk-sharp-2.12.10/cairo/PdfSurface.cs0000644000175000001440000000322111131157066014137 00000000000000// // Mono.Cairo.PdfSurface.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class PdfSurface : Surface { internal PdfSurface (IntPtr handle, bool owns) : base (handle, owns) { } public PdfSurface (string filename, double width, double height) { surface = NativeMethods.cairo_pdf_surface_create (filename, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public void SetSize (double width, double height) { NativeMethods.cairo_pdf_surface_set_size (surface, width, height); } } } gtk-sharp-2.12.10/cairo/XcbSurface.cs0000644000175000001440000000371411131157066014151 00000000000000// // Mono.Cairo.XcbSurface.cs // // Authors: // Alp Toker // // (C) Alp Toker, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class XcbSurface : Surface { internal XcbSurface (IntPtr handle, bool owns) : base (handle, owns) { } public XcbSurface (IntPtr connection, uint drawable, IntPtr visual, int width, int height) { surface = NativeMethods.cairo_xcb_surface_create (connection, drawable, visual, width, height); lock (surfaces.SyncRoot) { surfaces [surface] = this; } } public static XcbSurface FromBitmap (IntPtr connection, uint bitmap, IntPtr screen, int width, int height) { IntPtr ptr; ptr = NativeMethods.cairo_xcb_surface_create_for_bitmap (connection, bitmap, screen, width, height); return new XcbSurface (ptr, true); } public void SetSize (int width, int height) { NativeMethods.cairo_xcb_surface_set_size (surface, width, height); } } } gtk-sharp-2.12.10/cairo/Extend.cs0000644000175000001440000000271211131157066013350 00000000000000// // Mono.Cairo.Extend.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Extend { None, Repeat, Reflect, Pad, } } gtk-sharp-2.12.10/cairo/ScaledFont.cs0000644000175000001440000000614611131157066014150 00000000000000// // Mono.Cairo.ScaledFont.cs // // (c) 2008 Jordi Mas i Hernandez (jordimash@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { public class ScaledFont : IDisposable { protected IntPtr handle = IntPtr.Zero; internal ScaledFont (IntPtr handle) { this.handle = handle; } public ScaledFont (FontFace fontFace, Matrix matrix, Matrix ctm, FontOptions options) { handle = NativeMethods.cairo_scaled_font_create (fontFace.Handle, matrix, ctm, options.Handle); } ~ScaledFont () { Dispose (false); } public IntPtr Handle { get { return handle; } } public FontExtents FontExtents { get { FontExtents extents; NativeMethods.cairo_scaled_font_extents (handle, out extents); return extents; } } public Matrix FontMatrix { get { Matrix m; NativeMethods.cairo_scaled_font_get_font_matrix (handle, out m); return m; } } public FontType FontType { get { return NativeMethods.cairo_scaled_font_get_type (handle); } } public TextExtents GlyphExtents (Glyph[] glyphs) { IntPtr ptr = Context.FromGlyphToUnManagedMemory (glyphs); TextExtents extents; NativeMethods.cairo_scaled_font_glyph_extents (handle, ptr, glyphs.Length, out extents); Marshal.FreeHGlobal (ptr); return extents; } public Status Status { get { return NativeMethods.cairo_scaled_font_status (handle); } } void IDisposable.Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (disposing) { NativeMethods.cairo_scaled_font_destroy (handle); handle = IntPtr.Zero; } } protected void Reference () { NativeMethods.cairo_scaled_font_reference (handle); } } } gtk-sharp-2.12.10/cairo/HintStyle.cs0000644000175000001440000000263011131157066014043 00000000000000// // Mono.Cairo.HintStyle.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum HintStyle { Default, None, Slight, Medium, Full, } } gtk-sharp-2.12.10/cairo/SvgVersion.cs0000644000175000001440000000243311131157066014226 00000000000000// // Mono.Cairo.SvgVersion.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum SvgVersion { // FIXME: yuck OnePointOne = 0, OnePointTwo, } } gtk-sharp-2.12.10/cairo/Makefile.in0000644000175000001440000003013711345266364013652 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = cairo DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DATA = $(noinst_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ASSEMBLY_NAME = Mono.Cairo ASSEMBLY = $(ASSEMBLY_NAME).dll POLICY_ASSEMBLY = policy.1.0.$(ASSEMBLY) POLICY_CONFIG = policy.1.0.config @ENABLE_MONO_CAIRO_FALSE@TARGET = @ENABLE_MONO_CAIRO_TRUE@TARGET = $(ASSEMBLY) $(POLICY_ASSEMBLY) noinst_DATA = $(TARGET) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLY) mono.snk sources = \ Antialias.cs \ AssemblyInfo.cs \ Cairo.cs \ Content.cs \ Context.cs \ DirectFBSurface.cs \ Extend.cs \ FillRule.cs \ Filter.cs \ FontExtents.cs \ FontFace.cs \ FontOptions.cs \ FontSlant.cs \ FontType.cs \ FontWeight.cs \ Format.cs \ GlitzSurface.cs \ Glyph.cs \ Gradient.cs \ HintMetrics.cs \ HintStyle.cs \ ImageSurface.cs \ LinearGradient.cs \ LineCap.cs \ LineJoin.cs \ Matrix.cs \ NativeMethods.cs \ Operator.cs \ Path.cs \ Pattern.cs \ PatternType.cs \ PdfSurface.cs \ PSSurface.cs \ RadialGradient.cs \ Rectangle.cs \ ScaledFont.cs \ SolidPattern.cs \ Status.cs \ SubpixelOrder.cs \ Surface.cs \ SurfacePattern.cs \ SurfaceType.cs \ SvgSurface.cs \ SvgVersion.cs \ TextExtents.cs \ Win32Surface.cs \ XcbSurface.cs \ XlibSurface.cs \ # build_sources = $(addprefix $(srcdir)/, $(sources)) EXTRA_DIST = $(sources) $(POLICY_CONFIG) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cairo/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign cairo/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-data-local install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-data-local install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ uninstall uninstall-am uninstall-local mono.snk: $(top_srcdir)/mono.snk cp $(top_srcdir)/mono.snk . $(ASSEMBLY): $(build_sources) mono.snk @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(POLICY_ASSEMBLY): $(srcdir)/$(POLICY_CONFIG) mono.snk echo "Creating policy.1.0.$(ASSEMBLY)"; $(AL) -link:$(POLICY_CONFIG) -out:$@ -keyfile:mono.snk; install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /i $(POLICY_ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(POLICY_ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/cairo/GlitzSurface.cs0000644000175000001440000000276511131157066014533 00000000000000// // Mono.Cairo.GlitzSurface.cs // // Authors: // Alp Toker // // (C) Alp Toker, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class GlitzSurface : Surface { internal GlitzSurface (IntPtr handle, bool owns) : base (handle, owns) { } public GlitzSurface (IntPtr glitz_surface) { surface = NativeMethods.cairo_glitz_surface_create (glitz_surface); lock (surfaces.SyncRoot) { surfaces [surface] = this; } } } } gtk-sharp-2.12.10/cairo/FontType.cs0000644000175000001440000000241011131157066013664 00000000000000// // Mono.Cairo.FontType.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum FontType { Toy, FreeType, Win32, Atsui, } } gtk-sharp-2.12.10/cairo/TextExtents.cs0000644000175000001440000000535111131157066014422 00000000000000// // Mono.Cairo.TextExtents.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { [StructLayout (LayoutKind.Sequential)] public struct TextExtents { double xbearing; double ybearing; double width; double height; double xadvance; double yadvance; public double XBearing { get { return xbearing; } set { xbearing = value; } } public double YBearing { get { return ybearing; } set { ybearing = value; } } public double Width { get { return width; } set { width = value; } } public double Height { get { return height; } set { height = value; } } public double XAdvance { get { return xadvance; } set { xadvance = value; } } public double YAdvance { get { return yadvance; } set { yadvance = value; } } public override bool Equals (object obj) { if (obj is TextExtents) return this == (TextExtents)obj; return false; } public override int GetHashCode () { return (int)XBearing ^ (int)YBearing ^ (int)Width ^ (int)Height ^ (int)XAdvance ^ (int)YAdvance; } public static bool operator == (TextExtents extents, TextExtents other) { return extents.XBearing == other.XBearing && extents.YBearing == other.YBearing && extents.Width == other.Width && extents.Height == other.Height && extents.XAdvance == other.XAdvance && extents.YAdvance == other.YAdvance; } public static bool operator != (TextExtents extents, TextExtents other) { return !(extents == other); } } } gtk-sharp-2.12.10/cairo/Format.cs0000644000175000001440000000300211131157066013342 00000000000000// // Mono.Cairo.Format.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Format { Argb32 = 0, Rgb24 = 1, A8 = 2, A1 = 3, Rgb16565 = 4, //[Obsolete ("Use Argb32")] ARGB32 = Argb32, //[Obsolete ("Use Rgb24")] RGB24 = Rgb24, } } gtk-sharp-2.12.10/cairo/Status.cs0000644000175000001440000000350011131157066013400 00000000000000// // Mono.Cairo.Status.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // Alp Toker (alp@atoker.com) // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Status { Success = 0, NoMemory, InvalidRestore, InvalidPopGroup, NoCurrentPoint, InvalidMatrix, InvalidStatus, NullPointer, InvalidString, InvalidPathData, ReadError, WriteError, SurfaceFinished, SurfaceTypeMismatch, PatternTypeMismatch, InvalidContent, InvalidFormat, InvalidVisual, FileNotFound, InvalidDash, InvalidDscComment, InvalidIndex, ClipNotRepresentable, } } gtk-sharp-2.12.10/cairo/RadialGradient.cs0000644000175000001440000000325711131157066015000 00000000000000// // Mono.Cairo.Pattern.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class RadialGradient : Gradient { internal RadialGradient (IntPtr handle) : base (handle) { } public RadialGradient (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) { pattern = NativeMethods.cairo_pattern_create_radial (cx0, cy0, radius0, cx1, cy1, radius1); } } } gtk-sharp-2.12.10/cairo/FontFace.cs0000644000175000001440000000515711131157066013614 00000000000000// // Mono.Cairo.FontFace.cs // // Author: // Alp Toker (alp@atoker.com) // Miguel de Icaza (miguel@novell.com) // // (C) Ximian Inc, 2003. // // This is an OO wrapper API for the Cairo API. // // Copyright (C) 2004, 2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class FontFace : IDisposable { IntPtr handle; internal static FontFace Lookup (IntPtr handle) { if (handle == IntPtr.Zero) return null; NativeMethods.cairo_font_face_reference (handle); return new FontFace (handle); } ~FontFace () { // Since Cairo is not thread safe, we can not unref the // font_face here, the programmer must do this with IDisposable.Dispose Console.Error.WriteLine ("Programmer forgot to call Dispose on the FontFace"); Dispose (false); } void IDisposable.Dispose () { Dispose (true); } protected virtual void Dispose (bool disposing) { if (disposing) NativeMethods.cairo_font_face_destroy (handle); handle = IntPtr.Zero; GC.SuppressFinalize (this); } // TODO: make non-public when all entry points are complete in binding public FontFace (IntPtr handle) { this.handle = handle; } public IntPtr Handle { get { return handle; } } public Status Status { get { return NativeMethods.cairo_font_face_status (handle); } } public FontType FontType { get { return NativeMethods.cairo_font_face_get_type (handle); } } public uint ReferenceCount { get { return NativeMethods.cairo_font_face_get_reference_count (handle); } } } } gtk-sharp-2.12.10/cairo/FontSlant.cs0000644000175000001440000000260511131157066014032 00000000000000// // Mono.Cairo.FontSlant.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum FontSlant { Normal, Italic, Oblique } } gtk-sharp-2.12.10/cairo/Surface.cs0000644000175000001440000001470211131157066013513 00000000000000// // Mono.Cairo.Surface.cs // // Authors: // Duncan Mak // Miguel de Icaza. // Alp Toker // // (C) Ximian Inc, 2003. // (C) Novell, Inc. 2003. // // This is an OO wrapper API for the Cairo API // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Collections; namespace Cairo { public class Surface : IDisposable { protected static Hashtable surfaces = new Hashtable (); internal IntPtr surface = IntPtr.Zero; protected Surface() { } protected Surface (IntPtr ptr, bool owns) { surface = ptr; lock (surfaces.SyncRoot){ surfaces [ptr] = this; } if (!owns) NativeMethods.cairo_surface_reference (ptr); } static internal Surface LookupExternalSurface (IntPtr p) { lock (surfaces.SyncRoot){ object o = surfaces [p]; if (o == null){ return new Surface (p, false); } return (Surface) o; } } static internal Surface LookupSurface (IntPtr surface) { SurfaceType st = NativeMethods.cairo_surface_get_type (surface); switch (st) { case SurfaceType.Image: return new ImageSurface (surface, true); case SurfaceType.Xlib: return new XlibSurface (surface, true); case SurfaceType.Xcb: return new XcbSurface (surface, true); case SurfaceType.Glitz: return new GlitzSurface (surface, true); case SurfaceType.Win32: return new Win32Surface (surface, true); case SurfaceType.Pdf: return new PdfSurface (surface, true); case SurfaceType.PS: return new PSSurface (surface, true); case SurfaceType.DirectFB: return new DirectFBSurface (surface, true); case SurfaceType.Svg: return new SvgSurface (surface, true); default: return Surface.LookupExternalSurface (surface); } } [Obsolete ("Use an ImageSurface constructor instead.")] public static Cairo.Surface CreateForImage ( ref byte[] data, Cairo.Format format, int width, int height, int stride) { IntPtr p = NativeMethods.cairo_image_surface_create_for_data ( data, format, width, height, stride); return new Cairo.Surface (p, true); } [Obsolete ("Use an ImageSurface constructor instead.")] public static Cairo.Surface CreateForImage ( Cairo.Format format, int width, int height) { IntPtr p = NativeMethods.cairo_image_surface_create ( format, width, height); return new Cairo.Surface (p, true); } public Cairo.Surface CreateSimilar ( Cairo.Content content, int width, int height) { IntPtr p = NativeMethods.cairo_surface_create_similar ( this.Handle, content, width, height); return new Cairo.Surface (p, true); } ~Surface () { Dispose (false); } //[Obsolete ("Use Context.SetSource() followed by Context.Paint()")] public void Show (Context gr, double x, double y) { NativeMethods.cairo_set_source_surface (gr.Handle, surface, x, y); NativeMethods.cairo_paint (gr.Handle); } void IDisposable.Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (surface == IntPtr.Zero) return; lock (surfaces.SyncRoot) surfaces.Remove (surface); NativeMethods.cairo_surface_destroy (surface); surface = IntPtr.Zero; } public Status Finish () { NativeMethods.cairo_surface_finish (surface); return Status; } public void Flush () { NativeMethods.cairo_surface_flush (surface); } public void MarkDirty () { NativeMethods.cairo_surface_mark_dirty (Handle); } public void MarkDirty (Rectangle rectangle) { NativeMethods.cairo_surface_mark_dirty_rectangle (Handle, (int)rectangle.X, (int)rectangle.Y, (int)rectangle.Width, (int)rectangle.Height); } public IntPtr Handle { get { return surface; } } public PointD DeviceOffset { get { double x, y; NativeMethods.cairo_surface_get_device_offset (surface, out x, out y); return new PointD (x, y); } set { NativeMethods.cairo_surface_set_device_offset (surface, value.X, value.Y); } } public void Destroy() { Dispose (true); } public void SetFallbackResolution (double x, double y) { NativeMethods.cairo_surface_set_fallback_resolution (surface, x, y); } public void WriteToPng (string filename) { NativeMethods.cairo_surface_write_to_png (surface, filename); } [Obsolete ("Use Handle instead.")] public IntPtr Pointer { get { return surface; } } public Status Status { get { return NativeMethods.cairo_surface_status (surface); } } public Content Content { get { return NativeMethods.cairo_surface_get_content (surface); } } public SurfaceType SurfaceType { get { return NativeMethods.cairo_surface_get_type (surface); } } public uint ReferenceCount { get { return NativeMethods.cairo_surface_get_reference_count (surface); } } } } gtk-sharp-2.12.10/cairo/XlibSurface.cs0000644000175000001440000000572211131157066014334 00000000000000// // Mono.Cairo.XlibSurface.cs // // Authors: // Duncan Mak // Miguel de Icaza. // // (C) Ximian Inc, 2003. // (C) Novell, Inc. 2003. // // This is an OO wrapper API for the Cairo API // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class XlibSurface : Surface { public XlibSurface (IntPtr display, IntPtr drawable, IntPtr visual, int width, int height) { surface = NativeMethods.cairo_xlib_surface_create (display, drawable, visual, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public XlibSurface (IntPtr ptr, bool own) : base (ptr, own) { } public static XlibSurface FromBitmap (IntPtr display, IntPtr bitmap, IntPtr screen, int width, int height) { IntPtr ptr; ptr = NativeMethods.cairo_xlib_surface_create_for_bitmap (display, bitmap, screen, width, height); return new XlibSurface(ptr, true); } public void SetDrawable (IntPtr drawable, int width, int height) { NativeMethods.cairo_xlib_surface_set_drawable (surface, drawable, width, height); } public void SetSize (int width, int height) { NativeMethods.cairo_xlib_surface_set_size (surface, width, height); } public int Depth { get { return NativeMethods.cairo_xlib_surface_get_depth (surface); } } public IntPtr Display { get { return NativeMethods.cairo_xlib_surface_get_display (surface); } } public IntPtr Drawable { get { return NativeMethods.cairo_xlib_surface_get_drawable (surface); } } public int Height { get { return NativeMethods.cairo_xlib_surface_get_height (surface); } } public IntPtr Screen { get { return NativeMethods.cairo_xlib_surface_get_screen (surface); } } public IntPtr Visual { get { return NativeMethods.cairo_xlib_surface_get_visual (surface); } } public int Width { get { return NativeMethods.cairo_xlib_surface_get_width (surface); } } } } gtk-sharp-2.12.10/cairo/Win32Surface.cs0000644000175000001440000000274611131157066014343 00000000000000// // Mono.Cairo.Win32Surface.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class Win32Surface : Surface { internal Win32Surface (IntPtr handle, bool owns) : base (handle, owns) { } public Win32Surface (IntPtr hdc) { surface = NativeMethods.cairo_win32_surface_create (hdc); lock (surfaces.SyncRoot) { surfaces [surface] = this; } } } } gtk-sharp-2.12.10/cairo/SvgSurface.cs0000644000175000001440000000322711131157066014173 00000000000000// // Mono.Cairo.SvgSurface.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class SvgSurface : Surface { internal SvgSurface (IntPtr handle, bool owns) : base (handle, owns) { } public SvgSurface (string filename, double width, double height) { surface = NativeMethods.cairo_svg_surface_create (filename, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public void RestrictToVersion (SvgVersion version) { NativeMethods.cairo_svg_surface_restrict_to_version (surface, version); } } } gtk-sharp-2.12.10/cairo/NativeMethods.cs0000644000175000001440000007172611131157066014706 00000000000000// // Cairo.cs - a simplistic binding of the Cairo API to C#. // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // Alp Toker (alp@atoker.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // Copyright (C) 2006 Alp Toker // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { // sort these so it is easier to find what is missing // http://www.cairographics.org/manual/ix01.html public class NativeMethods { private NativeMethods () {} const string cairo = "libcairo-2.dll"; //[DllImport (cairo)] //internal static extern void cairo_append_path (IntPtr cr, Path path); [DllImport (cairo)] internal static extern void cairo_arc (IntPtr cr, double xc, double yc, double radius, double angle1, double angle2); [DllImport (cairo)] internal static extern void cairo_arc_negative (IntPtr cr, double xc, double yc, double radius, double angle1, double angle2); [DllImport (cairo)] internal static extern IntPtr cairo_atsui_font_face_create_for_atsu_font_id (IntPtr font_id); [DllImport (cairo)] internal static extern void cairo_clip (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_clip_preserve (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_clip_extents (IntPtr cr, out double x1, out double y1, out double x2, out double y2); [DllImport (cairo)] internal static extern void cairo_close_path (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_copy_page (IntPtr cr); [DllImport (cairo)] internal static extern IntPtr cairo_copy_path (IntPtr cr); [DllImport (cairo)] internal static extern IntPtr cairo_copy_path_flat (IntPtr cr); [DllImport (cairo)] internal static extern IntPtr cairo_append_path (IntPtr cr, IntPtr path); [DllImport (cairo)] internal static extern IntPtr cairo_create (IntPtr target); [DllImport (cairo)] internal static extern uint cairo_get_reference_count (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_curve_to (IntPtr cr, double x1, double y1, double x2, double y2, double x3, double y3); [DllImport (cairo)] internal static extern void cairo_debug_reset_static_data (); [DllImport (cairo)] internal static extern void cairo_destroy (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_device_to_user (IntPtr cr, ref double x, ref double y); [DllImport (cairo)] internal static extern void cairo_device_to_user_distance (IntPtr cr, ref double dx, ref double dy); [DllImport (cairo)] internal static extern void cairo_fill (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_fill_extents (IntPtr cr, out double x1, out double y1, out double x2, out double y2); [DllImport (cairo)] internal static extern void cairo_fill_preserve (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_font_extents (IntPtr cr, out FontExtents extents); // FontFace [DllImport (cairo)] internal static extern void cairo_font_face_destroy (IntPtr font_face); [DllImport (cairo)] internal static extern FontType cairo_font_face_get_type (IntPtr font_face); //[DllImport (cairo)] //internal static extern void cairo_font_face_get_user_data (IntPtr font_face); //[DllImport (cairo)] //internal static extern void cairo_font_face_set_user_data (IntPtr font_face); [DllImport (cairo)] internal static extern IntPtr cairo_font_face_reference (IntPtr font_face); [DllImport (cairo)] internal static extern Status cairo_font_face_status (IntPtr font_face); [DllImport (cairo)] internal static extern uint cairo_font_face_get_reference_count (IntPtr surface); // FontOptions [DllImport (cairo)] internal static extern IntPtr cairo_font_options_copy (IntPtr original); [DllImport (cairo)] internal static extern IntPtr cairo_font_options_create (); [DllImport (cairo)] internal static extern void cairo_font_options_destroy (IntPtr options); [DllImport (cairo)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_font_options_equal (IntPtr options, IntPtr other); [DllImport (cairo)] internal static extern Antialias cairo_font_options_get_antialias (IntPtr options); [DllImport (cairo)] internal static extern HintMetrics cairo_font_options_get_hint_metrics (IntPtr options); [DllImport (cairo)] internal static extern HintStyle cairo_font_options_get_hint_style (IntPtr options); [DllImport (cairo)] internal static extern SubpixelOrder cairo_font_options_get_subpixel_order (IntPtr options); [DllImport (cairo)] internal static extern long cairo_font_options_hash (IntPtr options); [DllImport (cairo)] internal static extern void cairo_font_options_merge (IntPtr options, IntPtr other); [DllImport (cairo)] internal static extern void cairo_font_options_set_antialias (IntPtr options, Antialias aa); [DllImport (cairo)] internal static extern void cairo_font_options_set_hint_metrics (IntPtr options, HintMetrics metrics); [DllImport (cairo)] internal static extern void cairo_font_options_set_hint_style (IntPtr options, HintStyle style); [DllImport (cairo)] internal static extern void cairo_font_options_set_subpixel_order (IntPtr options, SubpixelOrder order); [DllImport (cairo)] internal static extern Status cairo_font_options_status (IntPtr options); // Freetype / FontConfig [DllImport (cairo)] internal static extern IntPtr cairo_ft_font_face_create_for_ft_face (IntPtr face, int load_flags); [DllImport (cairo)] internal static extern IntPtr cairo_ft_font_face_create_for_pattern (IntPtr fc_pattern); [DllImport (cairo)] internal static extern void cairo_ft_font_options_substitute (FontOptions options, IntPtr pattern); [DllImport (cairo)] internal static extern IntPtr cairo_ft_scaled_font_lock_face (IntPtr scaled_font); [DllImport (cairo)] internal static extern void cairo_ft_scaled_font_unlock_face (IntPtr scaled_font); [DllImport (cairo)] internal static extern Antialias cairo_get_antialias (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_get_current_point (IntPtr cr, out double x, out double y); [DllImport (cairo)] internal static extern FillRule cairo_get_fill_rule (IntPtr cr); [DllImport (cairo)] internal static extern IntPtr cairo_get_font_face (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_get_font_matrix (IntPtr cr, out Matrix matrix); [DllImport (cairo)] internal static extern void cairo_get_font_options (IntPtr cr, IntPtr options); [DllImport (cairo)] internal static extern IntPtr cairo_get_group_target (IntPtr cr); [DllImport (cairo)] internal static extern LineCap cairo_get_line_cap (IntPtr cr); [DllImport (cairo)] internal static extern LineJoin cairo_get_line_join (IntPtr cr); [DllImport (cairo)] internal static extern double cairo_get_line_width (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_get_matrix (IntPtr cr, Matrix matrix); [DllImport (cairo)] internal static extern double cairo_get_miter_limit (IntPtr cr); [DllImport (cairo)] internal static extern Operator cairo_get_operator (IntPtr cr); [DllImport (cairo)] internal static extern IntPtr cairo_get_source (IntPtr cr); [DllImport (cairo)] internal static extern IntPtr cairo_get_target (IntPtr cr); [DllImport (cairo)] internal static extern double cairo_get_tolerance (IntPtr cr); [DllImport (cairo)] internal static extern IntPtr cairo_glitz_surface_create (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_glyph_extents (IntPtr cr, IntPtr glyphs, int num_glyphs, out TextExtents extents); [DllImport (cairo)] internal static extern void cairo_glyph_path (IntPtr cr, IntPtr glyphs, int num_glyphs); [DllImport (cairo)] internal static extern void cairo_identity_matrix (IntPtr cr); // ImageSurface [DllImport (cairo)] internal static extern IntPtr cairo_image_surface_create (Cairo.Format format, int width, int height); [DllImport (cairo)] internal static extern IntPtr cairo_image_surface_create_for_data (byte[] data, Cairo.Format format, int width, int height, int stride); [DllImport (cairo)] internal static extern IntPtr cairo_image_surface_create_for_data (IntPtr data, Cairo.Format format, int width, int height, int stride); [DllImport (cairo)] internal static extern IntPtr cairo_image_surface_create_from_png (string filename); //[DllImport (cairo)] //internal static extern IntPtr cairo_image_surface_create_from_png_stream (string filename); [DllImport (cairo)] internal static extern IntPtr cairo_image_surface_get_data (IntPtr surface); [DllImport (cairo)] internal static extern Format cairo_image_surface_get_format (IntPtr surface); [DllImport (cairo)] internal static extern int cairo_image_surface_get_height (IntPtr surface); [DllImport (cairo)] internal static extern int cairo_image_surface_get_stride (IntPtr surface); [DllImport (cairo)] internal static extern int cairo_image_surface_get_width (IntPtr surface); [DllImport (cairo)] internal static extern uint cairo_surface_get_reference_count (IntPtr surface); [DllImport (cairo)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_in_fill (IntPtr cr, double x, double y); [DllImport (cairo)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_in_stroke (IntPtr cr, double x, double y); [DllImport (cairo)] internal static extern void cairo_line_to (IntPtr cr, double x, double y); [DllImport (cairo)] internal static extern void cairo_mask (IntPtr cr, IntPtr pattern); [DllImport (cairo)] internal static extern void cairo_mask_surface (IntPtr cr, IntPtr surface, double x, double y); // Matrix [DllImport (cairo)] internal static extern void cairo_matrix_init (Matrix matrix, double xx, double yx, double xy, double yy, double x0, double y0); [DllImport (cairo)] internal static extern void cairo_matrix_init_identity (Matrix matrix); [DllImport (cairo)] internal static extern void cairo_matrix_init_rotate (Matrix matrix, double radians); [DllImport (cairo)] internal static extern void cairo_matrix_init_scale (Matrix matrix, double sx, double sy); [DllImport (cairo)] internal static extern void cairo_matrix_init_translate (Matrix matrix, double tx, double ty); [DllImport (cairo)] internal static extern Status cairo_matrix_invert (Matrix matrix); [DllImport (cairo)] internal static extern void cairo_matrix_multiply (Matrix result, Matrix a, Matrix b); [DllImport (cairo)] internal static extern void cairo_matrix_scale (Matrix matrix, double sx, double sy); [DllImport (cairo)] internal static extern void cairo_matrix_rotate (Matrix matrix, double radians); [DllImport (cairo)] internal static extern void cairo_matrix_transform_distance (Matrix matrix, ref double dx, ref double dy); [DllImport (cairo)] internal static extern void cairo_matrix_transform_point (Matrix matrix, ref double x, ref double y); [DllImport (cairo)] internal static extern void cairo_matrix_translate (Matrix matrix, double tx, double ty); [DllImport (cairo)] internal static extern void cairo_move_to (IntPtr cr, double x, double y); [DllImport (cairo)] internal static extern void cairo_new_path (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_new_sub_path (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_paint (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_paint_with_alpha (IntPtr cr, double alpha); [DllImport (cairo)] internal static extern void cairo_path_destroy (IntPtr path); // Pattern [DllImport (cairo)] internal static extern void cairo_pattern_add_color_stop_rgb (IntPtr pattern, double offset, double red, double green, double blue); [DllImport (cairo)] internal static extern void cairo_pattern_add_color_stop_rgba (IntPtr pattern, double offset, double red, double green, double blue, double alpha); [DllImport (cairo)] internal static extern Status cairo_pattern_get_color_stop_count (IntPtr pattern, out int count); [DllImport (cairo)] internal static extern Status cairo_pattern_get_color_stop_rgba (IntPtr pattern, int index, out double offset, out double red, out double green, out double blue, out double alpha); [DllImport (cairo)] internal static extern IntPtr cairo_pattern_create_for_surface (IntPtr surface); [DllImport (cairo)] internal static extern Status cairo_pattern_get_surface (IntPtr pattern, out IntPtr surface); [DllImport (cairo)] internal static extern IntPtr cairo_pattern_create_linear (double x0, double y0, double x1, double y1); [DllImport (cairo)] internal static extern Status cairo_pattern_get_linear_points (IntPtr pattern, out double x0, out double y0, out double x1, out double y1); [DllImport (cairo)] internal static extern IntPtr cairo_pattern_create_radial (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1); [DllImport (cairo)] internal static extern Status cairo_pattern_get_radial_circles (IntPtr pattern, out double x0, out double y0, out double r0, out double x1, out double y1, out double r1); [DllImport (cairo)] internal static extern IntPtr cairo_pattern_create_rgb (double r, double g, double b); [DllImport (cairo)] internal static extern IntPtr cairo_pattern_create_rgba (double r, double g, double b, double a); [DllImport (cairo)] internal static extern Status cairo_pattern_get_rgba (IntPtr pattern, out double red, out double green, out double blue, out double alpha); [DllImport (cairo)] internal static extern void cairo_pattern_destroy (IntPtr pattern); [DllImport (cairo)] internal static extern Extend cairo_pattern_get_extend (IntPtr pattern); [DllImport (cairo)] internal static extern Filter cairo_pattern_get_filter (IntPtr pattern); [DllImport (cairo)] internal static extern void cairo_pattern_get_matrix (IntPtr pattern, Matrix matrix); [DllImport (cairo)] internal static extern PatternType cairo_pattern_get_type (IntPtr pattern); [DllImport (cairo)] internal static extern IntPtr cairo_pattern_reference (IntPtr pattern); [DllImport (cairo)] internal static extern void cairo_pattern_set_extend (IntPtr pattern, Extend extend); [DllImport (cairo)] internal static extern void cairo_pattern_set_filter (IntPtr pattern, Filter filter); [DllImport (cairo)] internal static extern void cairo_pattern_set_matrix (IntPtr pattern, Matrix matrix); [DllImport (cairo)] internal static extern Status cairo_pattern_status (IntPtr pattern); // PdfSurface [DllImport (cairo)] internal static extern IntPtr cairo_pdf_surface_create (string filename, double width, double height); //[DllImport (cairo)] //internal static extern IntPtr cairo_pdf_surface_create_for_stream (string filename, double width, double height); [DllImport (cairo)] internal static extern void cairo_pdf_surface_set_size (IntPtr surface, double x, double y); // PostscriptSurface [DllImport (cairo)] internal static extern IntPtr cairo_ps_surface_create (string filename, double width, double height); //[DllImport (cairo)] //internal static extern IntPtr cairo_ps_surface_create_for_stream (string filename, double width, double height); [DllImport (cairo)] internal static extern void cairo_ps_surface_begin_page_setup (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_ps_surface_begin_setup (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_ps_surface_dsc_comment (IntPtr surface, string comment); [DllImport (cairo)] internal static extern void cairo_ps_surface_set_size (IntPtr surface, double x, double y); [DllImport (cairo)] internal static extern IntPtr cairo_pop_group (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_pop_group_to_source (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_push_group (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_push_group_with_content (IntPtr cr, Content content); [DllImport (cairo)] internal static extern IntPtr cairo_quartz_surface_create (IntPtr context, bool flipped, int width, int height); [DllImport (cairo)] internal static extern void cairo_rectangle (IntPtr cr, double x, double y, double width, double height); [DllImport (cairo)] internal static extern void cairo_reference (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_rel_curve_to (IntPtr cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3); [DllImport (cairo)] internal static extern void cairo_rel_line_to (IntPtr cr, double dx, double dy); [DllImport (cairo)] internal static extern void cairo_rel_move_to (IntPtr cr, double dx, double dy); [DllImport (cairo)] internal static extern void cairo_reset_clip (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_restore (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_rotate (IntPtr cr, double angle); [DllImport (cairo)] internal static extern void cairo_save (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_scale (IntPtr cr, double sx, double sy); // ScaledFont [DllImport (cairo)] internal static extern IntPtr cairo_scaled_font_create (IntPtr fontFace, Matrix matrix, Matrix ctm, IntPtr options); [DllImport (cairo)] internal static extern IntPtr cairo_scaled_font_destroy (IntPtr scaled_font); [DllImport (cairo)] internal static extern void cairo_scaled_font_extents (IntPtr scaled_font, out FontExtents extents); [DllImport (cairo)] internal static extern void cairo_scaled_font_get_ctm (IntPtr scaled_font, out Matrix matrix); [DllImport (cairo)] internal static extern IntPtr cairo_scaled_font_get_font_face (IntPtr scaled_font); [DllImport (cairo)] internal static extern void cairo_scaled_font_get_font_matrix (IntPtr scaled_font, out Matrix matrix); [DllImport (cairo)] internal static extern IntPtr cairo_scaled_font_get_font_options (IntPtr scaled_font); [DllImport (cairo)] internal static extern FontType cairo_scaled_font_get_type (IntPtr scaled_font); [DllImport (cairo)] internal static extern void cairo_scaled_font_glyph_extents (IntPtr scaled_font, IntPtr glyphs, int num_glyphs, out TextExtents extents); [DllImport (cairo)] internal static extern IntPtr cairo_scaled_font_reference (IntPtr scaled_font); [DllImport (cairo)] internal static extern Status cairo_scaled_font_status (IntPtr scaled_font); [DllImport (cairo)] internal static extern void cairo_set_scaled_font (IntPtr cr, IntPtr scaled_font); [DllImport (cairo)] internal static extern IntPtr cairo_get_scaled_font (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_scaled_font_text_extents (IntPtr scaled_font, string utf8, out TextExtents extents); [DllImport (cairo)] internal static extern void cairo_select_font_face (IntPtr cr, string family, FontSlant slant, FontWeight weight); [DllImport (cairo)] internal static extern void cairo_set_antialias (IntPtr cr, Antialias antialias); [DllImport (cairo)] internal static extern void cairo_set_dash (IntPtr cr, double [] dashes, int ndash, double offset); [DllImport (cairo)] internal static extern void cairo_get_dash (IntPtr cr, IntPtr dashes, out double offset); [DllImport (cairo)] internal static extern int cairo_get_dash_count (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_set_fill_rule (IntPtr cr, Cairo.FillRule fill_rule); [DllImport (cairo)] internal static extern void cairo_set_font_face (IntPtr cr, IntPtr fontFace); [DllImport (cairo)] internal static extern void cairo_set_font_matrix (IntPtr cr, Matrix matrix); [DllImport (cairo)] internal static extern void cairo_set_font_options (IntPtr cr, IntPtr options); [DllImport (cairo)] internal static extern void cairo_set_font_size (IntPtr cr, double size); [DllImport (cairo)] internal static extern void cairo_set_line_cap (IntPtr cr, LineCap line_cap); [DllImport (cairo)] internal static extern void cairo_set_line_join (IntPtr cr, LineJoin line_join); [DllImport (cairo)] internal static extern void cairo_set_line_width (IntPtr cr, double width); [DllImport (cairo)] internal static extern void cairo_set_matrix (IntPtr cr, Matrix matrix); [DllImport (cairo)] internal static extern void cairo_set_miter_limit (IntPtr cr, double limit); [DllImport (cairo)] internal static extern void cairo_set_operator (IntPtr cr, Cairo.Operator op); [DllImport (cairo)] internal static extern void cairo_set_source (IntPtr cr, IntPtr pattern); [DllImport (cairo)] internal static extern void cairo_set_source_rgb (IntPtr cr, double red, double green, double blue); [DllImport (cairo)] internal static extern void cairo_set_source_rgba (IntPtr cr, double red, double green, double blue, double alpha); [DllImport (cairo)] internal static extern void cairo_set_source_surface (IntPtr cr, IntPtr surface, double x, double y); [DllImport (cairo)] internal static extern void cairo_set_tolerance (IntPtr cr, double tolerance); [DllImport (cairo)] internal static extern void cairo_show_glyphs (IntPtr ct, IntPtr glyphs, int num_glyphs); [DllImport (cairo)] internal static extern void cairo_show_page (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_show_text (IntPtr cr, string utf8); [DllImport (cairo)] internal static extern Status cairo_status (IntPtr cr); [DllImport (cairo)] internal static extern IntPtr cairo_status_to_string (Status status); [DllImport (cairo)] internal static extern void cairo_stroke (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_stroke_extents (IntPtr cr, out double x1, out double y1, out double x2, out double y2); [DllImport (cairo)] internal static extern void cairo_stroke_preserve (IntPtr cr); [DllImport (cairo)] internal static extern void cairo_rectangle_list_destroy (IntPtr rectangle_list); [DllImport (cairo)] internal static extern IntPtr cairo_copy_clip_rectangle_list (IntPtr cr); // Surface [DllImport (cairo)] internal static extern IntPtr cairo_surface_create_similar (IntPtr surface, Cairo.Content content, int width, int height); [DllImport (cairo)] internal static extern void cairo_surface_destroy (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_surface_finish (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_surface_flush (IntPtr surface); [DllImport (cairo)] internal static extern Content cairo_surface_get_content (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_surface_get_device_offset (IntPtr surface, out double x, out double y); [DllImport (cairo)] internal static extern void cairo_surface_get_font_options (IntPtr surface, IntPtr FontOptions); [DllImport (cairo)] internal static extern SurfaceType cairo_surface_get_type (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_surface_mark_dirty (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_surface_mark_dirty_rectangle (IntPtr surface, int x, int y, int width, int height); [DllImport (cairo)] internal static extern IntPtr cairo_surface_reference (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_surface_set_device_offset (IntPtr surface, double x, double y); [DllImport (cairo)] internal static extern void cairo_surface_set_fallback_resolution (IntPtr surface, double x, double y); [DllImport (cairo)] internal static extern Status cairo_surface_status (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_surface_write_to_png (IntPtr surface, string filename); //[DllImport (cairo)] //internal static extern void cairo_surface_write_to_png_stream (IntPtr surface, WriteFunc writeFunc); [DllImport (cairo)] internal static extern IntPtr cairo_svg_surface_create (string fileName, double width, double height); //[DllImport (cairo)] //internal static extern IntPtr cairo_svg_surface_create_for_stream (double width, double height); [DllImport (cairo)] internal static extern IntPtr cairo_svg_surface_restrict_to_version (IntPtr surface, SvgVersion version); [DllImport (cairo)] internal static extern void cairo_text_extents (IntPtr cr, string utf8, out TextExtents extents); [DllImport (cairo)] internal static extern void cairo_text_path (IntPtr ct, string utf8); [DllImport (cairo)] internal static extern void cairo_transform (IntPtr cr, Matrix matrix); [DllImport (cairo)] internal static extern void cairo_translate (IntPtr cr, double tx, double ty); [DllImport (cairo)] internal static extern void cairo_user_to_device (IntPtr cr, ref double x, ref double y); [DllImport (cairo)] internal static extern void cairo_user_to_device_distance (IntPtr cr, ref double dx, ref double dy); [DllImport (cairo)] internal static extern int cairo_version (); [DllImport (cairo)] internal static extern IntPtr cairo_version_string (); // DirectFBSurface [DllImport (cairo)] internal static extern IntPtr cairo_directfb_surface_create (IntPtr dfb, IntPtr surface); // win32 fonts [DllImport (cairo)] internal static extern IntPtr cairo_win32_font_face_create_for_logfontw (IntPtr logfontw); [DllImport (cairo)] internal static extern void cairo_win32_scaled_font_done_font (IntPtr scaled_font); [DllImport (cairo)] internal static extern double cairo_win32_scaled_font_get_metrics_factor (IntPtr scaled_font); [DllImport (cairo)] internal static extern Status cairo_win32_scaled_font_select_font (IntPtr scaled_font, IntPtr hdc); // win32 surface [DllImport (cairo)] internal static extern IntPtr cairo_win32_surface_create (IntPtr hdc); [DllImport (cairo)] internal static extern IntPtr cairo_win32_surface_create_with_ddb (IntPtr hdc, Format format, int width, int height); // XcbSurface [DllImport (cairo)] internal static extern IntPtr cairo_xcb_surface_create (IntPtr connection, uint drawable, IntPtr visual, int width, int height); [DllImport (cairo)] internal static extern IntPtr cairo_xcb_surface_create_for_bitmap (IntPtr connection, uint bitmap, IntPtr screen, int width, int height); [DllImport (cairo)] internal static extern void cairo_xcb_surface_set_size (IntPtr surface, int width, int height); // XlibSurface [DllImport (cairo)] internal static extern IntPtr cairo_xlib_surface_create (IntPtr display, IntPtr drawable, IntPtr visual, int width, int height); [DllImport (cairo)] internal static extern IntPtr cairo_xlib_surface_create_for_bitmap (IntPtr display, IntPtr bitmap, IntPtr screen, int width, int height); [DllImport (cairo)] internal static extern int cairo_xlib_surface_get_depth (IntPtr surface); [DllImport (cairo)] internal static extern IntPtr cairo_xlib_surface_get_display (IntPtr surface); [DllImport (cairo)] internal static extern IntPtr cairo_xlib_surface_get_drawable (IntPtr surface); [DllImport (cairo)] internal static extern int cairo_xlib_surface_get_height (IntPtr surface); [DllImport (cairo)] internal static extern IntPtr cairo_xlib_surface_get_screen (IntPtr surface); [DllImport (cairo)] internal static extern IntPtr cairo_xlib_surface_get_visual (IntPtr surface); [DllImport (cairo)] internal static extern int cairo_xlib_surface_get_width (IntPtr surface); [DllImport (cairo)] internal static extern void cairo_xlib_surface_set_drawable (IntPtr surface, IntPtr drawable, int width, int height); [DllImport (cairo)] internal static extern void cairo_xlib_surface_set_size (IntPtr surface, int width, int height); } } gtk-sharp-2.12.10/cairo/Gradient.cs0000644000175000001440000000375211131157066013663 00000000000000// // Mono.Cairo.Gradient.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class Gradient : Pattern { protected Gradient (IntPtr handle) : base (handle) { } protected Gradient () { } public int ColorStopCount { get { int cnt; NativeMethods.cairo_pattern_get_color_stop_count (pattern, out cnt); return cnt; } } public Status AddColorStop (double offset, Cairo.Color c) { NativeMethods.cairo_pattern_add_color_stop_rgba (pattern, offset, c.R, c.G, c.B, c.A); return Status; } public Status AddColorStopRgb (double offset, Cairo.Color c) { NativeMethods.cairo_pattern_add_color_stop_rgb (pattern, offset, c.R, c.G, c.B); return Status; } } } gtk-sharp-2.12.10/cairo/Content.cs0000644000175000001440000000265111131157066013535 00000000000000// // Mono.Cairo.Content.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { //[Flags] [Serializable] public enum Content { Color = 0x1000, Alpha = 0x2000, ColorAlpha = 0x3000, } } gtk-sharp-2.12.10/cairo/DirectFBSurface.cs0000644000175000001440000000302111131157066015046 00000000000000// // Mono.Cairo.DirectFBSurface.cs // // Authors: // Alp Toker // // (C) Alp Toker, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class DirectFBSurface : Surface { internal DirectFBSurface (IntPtr handle, bool owns) : base (handle, owns) { } public DirectFBSurface (IntPtr dfb, IntPtr dfb_surface) { surface = NativeMethods.cairo_directfb_surface_create (dfb, dfb_surface); lock (surfaces.SyncRoot) { surfaces [surface] = this; } } } } gtk-sharp-2.12.10/msi/0000777000175000001440000000000011345266756011365 500000000000000gtk-sharp-2.12.10/msi/Makefile.am0000644000175000001440000000132711322663512013322 00000000000000SUBDIRS = unmanaged . assembly_dirs = glib pango atk gdk gtk glade gtkdotnet if ENABLE_MSI TARGET=gtk-sharp-2.0.msi else TARGET= endif noinst_DATA = $(TARGET) gtk-sharp-2.0.msi: gtk-sharp-2.0.wxs mkdir -p binaries rm -rf binaries/* cp $(top_builddir)/generator/gapi_codegen.exe binaries cp $(top_builddir)/*/glue/.libs/*.dll binaries for a in $(assembly_dirs); do \ mkdir -p binaries/$$a; \ cp $(top_builddir)/$$a/*.dll binaries/$$a; \ cp $(top_builddir)/$$a/policy.*.config binaries/$$a; \ done cp $(top_builddir)/sample/GtkDemo/GtkDemo.exe binaries candle -ext WixUIExtension gtk-sharp-2.0.wxs light -cultures:en-us -ext WixUIExtension -ext WixNetFxExtension gtk-sharp-2.0.wixobj EXTRA_DIST = license.rtf gtk-sharp-2.12.10/msi/license.rtf0000644000175000001440000007100111320436667013430 00000000000000{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\lang1033\f0\fs20\tab\tab GNU LESSER GENERAL PUBLIC LICENSE\par \tab\tab Version 2.1, February 1999\par \par Copyright (C) 1991, 1999 Free Software Foundation, Inc.\par 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\par Everyone is permitted to copy and distribute verbatim copies\par of this license document, but changing it is not allowed.\par \par [This is the first released version of the Lesser GPL. It also counts\par as the successor of the GNU Library Public License, version 2, hence\par the version number 2.1.]\par \par \tab\tab\tab Preamble\par \par The licenses for most software are designed to take away your\par freedom to share and change it. By contrast, the GNU General Public\par Licenses are intended to guarantee your freedom to share and change\par free software--to make sure the software is free for all its users.\par \par This license, the Lesser General Public License, applies to some\par specially designated software packages--typically libraries--of the\par Free Software Foundation and other authors who decide to use it. You\par can use it too, but we suggest you first think carefully about whether\par this license or the ordinary General Public License is the better\par strategy to use in any particular case, based on the explanations below.\par \par When we speak of free software, we are referring to freedom of use,\par not price. Our General Public Licenses are designed to make sure that\par you have the freedom to distribute copies of free software (and charge\par for this service if you wish); that you receive source code or can get\par it if you want it; that you can change the software and use pieces of\par it in new free programs; and that you are informed that you can do\par these things.\par \par To protect your rights, we need to make restrictions that forbid\par distributors to deny you these rights or to ask you to surrender these\par rights. These restrictions translate to certain responsibilities for\par you if you distribute copies of the library or if you modify it.\par \par For example, if you distribute copies of the library, whether gratis\par or for a fee, you must give the recipients all the rights that we gave\par you. You must make sure that they, too, receive or can get the source\par code. If you link other code with the library, you must provide\par complete object files to the recipients, so that they can relink them\par with the library after making changes to the library and recompiling\par it. And you must show them these terms so they know their rights.\par \par We protect your rights with a two-step method: (1) we copyright the\par library, and (2) we offer you this license, which gives you legal\par permission to copy, distribute and/or modify the library.\par \par To protect each distributor, we want to make it very clear that\par there is no warranty for the free library. Also, if the library is\par modified by someone else and passed on, the recipients should know\par that what they have is not the original version, so that the original\par author's reputation will not be affected by problems that might be\par introduced by others.\par \page\par Finally, software patents pose a constant threat to the existence of\par any free program. We wish to make sure that a company cannot\par effectively restrict the users of a free program by obtaining a\par restrictive license from a patent holder. Therefore, we insist that\par any patent license obtained for a version of the library must be\par consistent with the full freedom of use specified in this license.\par \par Most GNU software, including some libraries, is covered by the\par ordinary GNU General Public License. This license, the GNU Lesser\par General Public License, applies to certain designated libraries, and\par is quite different from the ordinary General Public License. We use\par this license for certain libraries in order to permit linking those\par libraries into non-free programs.\par \par When a program is linked with a library, whether statically or using\par a shared library, the combination of the two is legally speaking a\par combined work, a derivative of the original library. The ordinary\par General Public License therefore permits such linking only if the\par entire combination fits its criteria of freedom. The Lesser General\par Public License permits more lax criteria for linking other code with\par the library.\par \par We call this license the "Lesser" General Public License because it\par does Less to protect the user's freedom than the ordinary General\par Public License. It also provides other free software developers Less\par of an advantage over competing non-free programs. These disadvantages\par are the reason we use the ordinary General Public License for many\par libraries. However, the Lesser license provides advantages in certain\par special circumstances.\par \par For example, on rare occasions, there may be a special need to\par encourage the widest possible use of a certain library, so that it becomes\par a de-facto standard. To achieve this, non-free programs must be\par allowed to use the library. A more frequent case is that a free\par library does the same job as widely used non-free libraries. In this\par case, there is little to gain by limiting the free library to free\par software only, so we use the Lesser General Public License.\par \par In other cases, permission to use a particular library in non-free\par programs enables a greater number of people to use a large body of\par free software. For example, permission to use the GNU C Library in\par non-free programs enables many more people to use the whole GNU\par operating system, as well as its variant, the GNU/Linux operating\par system.\par \par Although the Lesser General Public License is Less protective of the\par users' freedom, it does ensure that the user of a program that is\par linked with the Library has the freedom and the wherewithal to run\par that program using a modified version of the Library.\par \par The precise terms and conditions for copying, distribution and\par modification follow. Pay close attention to the difference between a\par "work based on the library" and a "work that uses the library". The\par former contains code derived from the library, whereas the latter must\par be combined with the library in order to run.\par \page\par \tab\tab GNU LESSER GENERAL PUBLIC LICENSE\par TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\par \par 0. This License Agreement applies to any software library or other\par program which contains a notice placed by the copyright holder or\par other authorized party saying it may be distributed under the terms of\par this Lesser General Public License (also called "this License").\par Each licensee is addressed as "you".\par \par A "library" means a collection of software functions and/or data\par prepared so as to be conveniently linked with application programs\par (which use some of those functions and data) to form executables.\par \par The "Library", below, refers to any such software library or work\par which has been distributed under these terms. A "work based on the\par Library" means either the Library or any derivative work under\par copyright law: that is to say, a work containing the Library or a\par portion of it, either verbatim or with modifications and/or translated\par straightforwardly into another language. (Hereinafter, translation is\par included without limitation in the term "modification".)\par \par "Source code" for a work means the preferred form of the work for\par making modifications to it. For a library, complete source code means\par all the source code for all modules it contains, plus any associated\par interface definition files, plus the scripts used to control compilation\par and installation of the library.\par \par Activities other than copying, distribution and modification are not\par covered by this License; they are outside its scope. The act of\par running a program using the Library is not restricted, and output from\par such a program is covered only if its contents constitute a work based\par on the Library (independent of the use of the Library in a tool for\par writing it). Whether that is true depends on what the Library does\par and what the program that uses the Library does.\par \par 1. You may copy and distribute verbatim copies of the Library's\par complete source code as you receive it, in any medium, provided that\par you conspicuously and appropriately publish on each copy an\par appropriate copyright notice and disclaimer of warranty; keep intact\par all the notices that refer to this License and to the absence of any\par warranty; and distribute a copy of this License along with the\par Library.\par \par You may charge a fee for the physical act of transferring a copy,\par and you may at your option offer warranty protection in exchange for a\par fee.\par \page\par 2. You may modify your copy or copies of the Library or any portion\par of it, thus forming a work based on the Library, and copy and\par distribute such modifications or work under the terms of Section 1\par above, provided that you also meet all of these conditions:\par \par a) The modified work must itself be a software library.\par \par b) You must cause the files modified to carry prominent notices\par stating that you changed the files and the date of any change.\par \par c) You must cause the whole of the work to be licensed at no\par charge to all third parties under the terms of this License.\par \par d) If a facility in the modified Library refers to a function or a\par table of data to be supplied by an application program that uses\par the facility, other than as an argument passed when the facility\par is invoked, then you must make a good faith effort to ensure that,\par in the event an application does not supply such function or\par table, the facility still operates, and performs whatever part of\par its purpose remains meaningful.\par \par (For example, a function in a library to compute square roots has\par a purpose that is entirely well-defined independent of the\par application. Therefore, Subsection 2d requires that any\par application-supplied function or table used by this function must\par be optional: if the application does not supply it, the square\par root function must still compute square roots.)\par \par These requirements apply to the modified work as a whole. If\par identifiable sections of that work are not derived from the Library,\par and can be reasonably considered independent and separate works in\par themselves, then this License, and its terms, do not apply to those\par sections when you distribute them as separate works. But when you\par distribute the same sections as part of a whole which is a work based\par on the Library, the distribution of the whole must be on the terms of\par this License, whose permissions for other licensees extend to the\par entire whole, and thus to each and every part regardless of who wrote\par it.\par \par Thus, it is not the intent of this section to claim rights or contest\par your rights to work written entirely by you; rather, the intent is to\par exercise the right to control the distribution of derivative or\par collective works based on the Library.\par \par In addition, mere aggregation of another work not based on the Library\par with the Library (or with a work based on the Library) on a volume of\par a storage or distribution medium does not bring the other work under\par the scope of this License.\par \par 3. You may opt to apply the terms of the ordinary GNU General Public\par License instead of this License to a given copy of the Library. To do\par this, you must alter all the notices that refer to this License, so\par that they refer to the ordinary GNU General Public License, version 2,\par instead of to this License. (If a newer version than version 2 of the\par ordinary GNU General Public License has appeared, then you can specify\par that version instead if you wish.) Do not make any other change in\par these notices.\par \page\par Once this change is made in a given copy, it is irreversible for\par that copy, so the ordinary GNU General Public License applies to all\par subsequent copies and derivative works made from that copy.\par \par This option is useful when you wish to copy part of the code of\par the Library into a program that is not a library.\par \par 4. You may copy and distribute the Library (or a portion or\par derivative of it, under Section 2) in object code or executable form\par under the terms of Sections 1 and 2 above provided that you accompany\par it with the complete corresponding machine-readable source code, which\par must be distributed under the terms of Sections 1 and 2 above on a\par medium customarily used for software interchange.\par \par If distribution of object code is made by offering access to copy\par from a designated place, then offering equivalent access to copy the\par source code from the same place satisfies the requirement to\par distribute the source code, even though third parties are not\par compelled to copy the source along with the object code.\par \par 5. A program that contains no derivative of any portion of the\par Library, but is designed to work with the Library by being compiled or\par linked with it, is called a "work that uses the Library". Such a\par work, in isolation, is not a derivative work of the Library, and\par therefore falls outside the scope of this License.\par \par However, linking a "work that uses the Library" with the Library\par creates an executable that is a derivative of the Library (because it\par contains portions of the Library), rather than a "work that uses the\par library". The executable is therefore covered by this License.\par Section 6 states terms for distribution of such executables.\par \par When a "work that uses the Library" uses material from a header file\par that is part of the Library, the object code for the work may be a\par derivative work of the Library even though the source code is not.\par Whether this is true is especially significant if the work can be\par linked without the Library, or if the work is itself a library. The\par threshold for this to be true is not precisely defined by law.\par \par If such an object file uses only numerical parameters, data\par structure layouts and accessors, and small macros and small inline\par functions (ten lines or less in length), then the use of the object\par file is unrestricted, regardless of whether it is legally a derivative\par work. (Executables containing this object code plus portions of the\par Library will still fall under Section 6.)\par \par Otherwise, if the work is a derivative of the Library, you may\par distribute the object code for the work under the terms of Section 6.\par Any executables containing that work also fall under Section 6,\par whether or not they are linked directly with the Library itself.\par \page\par 6. As an exception to the Sections above, you may also combine or\par link a "work that uses the Library" with the Library to produce a\par work containing portions of the Library, and distribute that work\par under terms of your choice, provided that the terms permit\par modification of the work for the customer's own use and reverse\par engineering for debugging such modifications.\par \par You must give prominent notice with each copy of the work that the\par Library is used in it and that the Library and its use are covered by\par this License. You must supply a copy of this License. If the work\par during execution displays copyright notices, you must include the\par copyright notice for the Library among them, as well as a reference\par directing the user to the copy of this License. Also, you must do one\par of these things:\par \par a) Accompany the work with the complete corresponding\par machine-readable source code for the Library including whatever\par changes were used in the work (which must be distributed under\par Sections 1 and 2 above); and, if the work is an executable linked\par with the Library, with the complete machine-readable "work that\par uses the Library", as object code and/or source code, so that the\par user can modify the Library and then relink to produce a modified\par executable containing the modified Library. (It is understood\par that the user who changes the contents of definitions files in the\par Library will not necessarily be able to recompile the application\par to use the modified definitions.)\par \par b) Use a suitable shared library mechanism for linking with the\par Library. A suitable mechanism is one that (1) uses at run time a\par copy of the library already present on the user's computer system,\par rather than copying library functions into the executable, and (2)\par will operate properly with a modified version of the library, if\par the user installs one, as long as the modified version is\par interface-compatible with the version that the work was made with.\par \par c) Accompany the work with a written offer, valid for at\par least three years, to give the same user the materials\par specified in Subsection 6a, above, for a charge no more\par than the cost of performing this distribution.\par \par d) If distribution of the work is made by offering access to copy\par from a designated place, offer equivalent access to copy the above\par specified materials from the same place.\par \par e) Verify that the user has already received a copy of these\par materials or that you have already sent this user a copy.\par \par For an executable, the required form of the "work that uses the\par Library" must include any data and utility programs needed for\par reproducing the executable from it. However, as a special exception,\par the materials to be distributed need not include anything that is\par normally distributed (in either source or binary form) with the major\par components (compiler, kernel, and so on) of the operating system on\par which the executable runs, unless that component itself accompanies\par the executable.\par \par It may happen that this requirement contradicts the license\par restrictions of other proprietary libraries that do not normally\par accompany the operating system. Such a contradiction means you cannot\par use both them and the Library together in an executable that you\par distribute.\par \page\par 7. You may place library facilities that are a work based on the\par Library side-by-side in a single library together with other library\par facilities not covered by this License, and distribute such a combined\par library, provided that the separate distribution of the work based on\par the Library and of the other library facilities is otherwise\par permitted, and provided that you do these two things:\par \par a) Accompany the combined library with a copy of the same work\par based on the Library, uncombined with any other library\par facilities. This must be distributed under the terms of the\par Sections above.\par \par b) Give prominent notice with the combined library of the fact\par that part of it is a work based on the Library, and explaining\par where to find the accompanying uncombined form of the same work.\par \par 8. You may not copy, modify, sublicense, link with, or distribute\par the Library except as expressly provided under this License. Any\par attempt otherwise to copy, modify, sublicense, link with, or\par distribute the Library is void, and will automatically terminate your\par rights under this License. However, parties who have received copies,\par or rights, from you under this License will not have their licenses\par terminated so long as such parties remain in full compliance.\par \par 9. You are not required to accept this License, since you have not\par signed it. However, nothing else grants you permission to modify or\par distribute the Library or its derivative works. These actions are\par prohibited by law if you do not accept this License. Therefore, by\par modifying or distributing the Library (or any work based on the\par Library), you indicate your acceptance of this License to do so, and\par all its terms and conditions for copying, distributing or modifying\par the Library or works based on it.\par \par 10. Each time you redistribute the Library (or any work based on the\par Library), the recipient automatically receives a license from the\par original licensor to copy, distribute, link with or modify the Library\par subject to these terms and conditions. You may not impose any further\par restrictions on the recipients' exercise of the rights granted herein.\par You are not responsible for enforcing compliance by third parties with\par this License.\par \page\par 11. If, as a consequence of a court judgment or allegation of patent\par infringement or for any other reason (not limited to patent issues),\par conditions are imposed on you (whether by court order, agreement or\par otherwise) that contradict the conditions of this License, they do not\par excuse you from the conditions of this License. If you cannot\par distribute so as to satisfy simultaneously your obligations under this\par License and any other pertinent obligations, then as a consequence you\par may not distribute the Library at all. For example, if a patent\par license would not permit royalty-free redistribution of the Library by\par all those who receive copies directly or indirectly through you, then\par the only way you could satisfy both it and this License would be to\par refrain entirely from distribution of the Library.\par \par If any portion of this section is held invalid or unenforceable under any\par particular circumstance, the balance of the section is intended to apply,\par and the section as a whole is intended to apply in other circumstances.\par \par It is not the purpose of this section to induce you to infringe any\par patents or other property right claims or to contest validity of any\par such claims; this section has the sole purpose of protecting the\par integrity of the free software distribution system which is\par implemented by public license practices. Many people have made\par generous contributions to the wide range of software distributed\par through that system in reliance on consistent application of that\par system; it is up to the author/donor to decide if he or she is willing\par to distribute software through any other system and a licensee cannot\par impose that choice.\par \par This section is intended to make thoroughly clear what is believed to\par be a consequence of the rest of this License.\par \par 12. If the distribution and/or use of the Library is restricted in\par certain countries either by patents or by copyrighted interfaces, the\par original copyright holder who places the Library under this License may add\par an explicit geographical distribution limitation excluding those countries,\par so that distribution is permitted only in or among countries not thus\par excluded. In such case, this License incorporates the limitation as if\par written in the body of this License.\par \par 13. The Free Software Foundation may publish revised and/or new\par versions of the Lesser General Public License from time to time.\par Such new versions will be similar in spirit to the present version,\par but may differ in detail to address new problems or concerns.\par \par Each version is given a distinguishing version number. If the Library\par specifies a version number of this License which applies to it and\par "any later version", you have the option of following the terms and\par conditions either of that version or of any later version published by\par the Free Software Foundation. If the Library does not specify a\par license version number, you may choose any version ever published by\par the Free Software Foundation.\par \page\par 14. If you wish to incorporate parts of the Library into other free\par programs whose distribution conditions are incompatible with these,\par write to the author to ask for permission. For software which is\par copyrighted by the Free Software Foundation, write to the Free\par Software Foundation; we sometimes make exceptions for this. Our\par decision will be guided by the two goals of preserving the free status\par of all derivatives of our free software and of promoting the sharing\par and reuse of software generally.\par \par \tab\tab\tab NO WARRANTY\par \par 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\par WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\par EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\par OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY\par KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\par IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\par PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\par LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\par THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\par \par 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\par WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\par AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\par FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\par CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\par LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\par RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\par FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\par SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\par DAMAGES.\par \par \tab\tab END OF TERMS AND CONDITIONS\par \page\par How to Apply These Terms to Your New Libraries\par \par If you develop a new library, and you want it to be of the greatest\par possible use to the public, we recommend making it free software that\par everyone can redistribute and change. You can do so by permitting\par redistribution under these terms (or, alternatively, under the terms of the\par ordinary General Public License).\par \par To apply these terms, attach the following notices to the library. It is\par safest to attach them to the start of each source file to most effectively\par convey the exclusion of warranty; and each file should have at least the\par "copyright" line and a pointer to where the full notice is found.\par \par \par Copyright (C) \par \par This library is free software; you can redistribute it and/or\par modify it under the terms of the GNU Lesser General Public\par License as published by the Free Software Foundation; either\par version 2.1 of the License, or (at your option) any later version.\par \par This library is distributed in the hope that it will be useful,\par but WITHOUT ANY WARRANTY; without even the implied warranty of\par MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\par Lesser General Public License for more details.\par \par You should have received a copy of the GNU Lesser General Public\par License along with this library; if not, write to the Free Software\par Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\par \par Also add information on how to contact you by electronic and paper mail.\par \par You should also get your employer (if you work as a programmer) or your\par school, if any, to sign a "copyright disclaimer" for the library, if\par necessary. Here is a sample; alter the names:\par \par Yoyodyne, Inc., hereby disclaims all copyright interest in the\par library `Frob' (a library for tweaking knobs) written by James Random Hacker.\par \par , 1 April 1990\par Ty Coon, President of Vice\par \par That's all there is to it!\par \par \par \par } gtk-sharp-2.12.10/msi/gtk-sharp-2.0.wxs.in0000755000175000001440000006037111322663427014647 00000000000000 Installed or NETFRAMEWORK20 gtk-sharp-2.12.10/msi/unmanaged/0000777000175000001440000000000011345266756013324 500000000000000gtk-sharp-2.12.10/msi/unmanaged/downloads.win320000644000175000001440000000104011321434405016067 00000000000000http://ftp.gnome.org/pub/GNOME/binaries/win32/librsvg/2.26/librsvg_2.26.0-1_win32.zip http://ftp.gnome.org/pub/GNOME/binaries/win32/librsvg/2.26/svg-gdk-pixbuf-loader_2.26.0-1_win32.zip http://ftp.gnome.org/pub/GNOME/binaries/win32/librsvg/2.26/svg-gtk-engine_2.26.0-1_win32.zip http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.6-20091215_win32.zip http://ftp.gnome.org/pub/GNOME/binaries/win32/libglade/2.6/libglade_2.6.4-1_win32.zip http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/libxml2_2.7.4-1_win32.zip gtk-sharp-2.12.10/msi/unmanaged/Makefile.am0000644000175000001440000000141311321732457015261 00000000000000SUBDIRS = custom if ENABLE_MSI TARGET=unmanaged.msm else TARGET= endif noinst_DATA = $(TARGET) DOWNLOADS = downloads.win32 download-stamp: $(DOWNLOADS) rm -rf source mkdir -p source cd source && for i in `cat ../$(DOWNLOADS)`; do wget $$i; done && for j in `ls *.zip`; do unzip $$j; rm $$j; done touch download-stamp unmanaged.wixobj: unmanaged.wxs redirector.exe download-stamp candle unmanaged.wxs unmanaged.msm: unmanaged.wixobj light unmanaged.wixobj bundle-scanner.exe: bundle-scanner.cs $(CSC) bundle-scanner.cs redirector.exe: redirector.cs $(CSC) redirector.cs scan: download-stamp bundle-scanner.exe $(RUNTIME) bundle-scanner.exe --wix=unmanaged.wxs --bundle=source CLEANFILES=source EXTRA_DIST = redirector.cs unmanaged.wxs downloads.win32 ignores gtk-sharp-2.12.10/msi/unmanaged/custom/0000777000175000001440000000000011345266756014636 500000000000000gtk-sharp-2.12.10/msi/unmanaged/custom/Makefile.am0000644000175000001440000000002411321425554016565 00000000000000SUBDIRS = etc share gtk-sharp-2.12.10/msi/unmanaged/custom/etc/0000777000175000001440000000000011345266756015411 500000000000000gtk-sharp-2.12.10/msi/unmanaged/custom/etc/Makefile.am0000644000175000001440000000002011321425611017326 00000000000000SUBDIRS=gtk-2.0 gtk-sharp-2.12.10/msi/unmanaged/custom/etc/Makefile.in0000644000175000001440000003646611345266364017404 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/etc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = gtk-2.0 all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/etc/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/etc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/msi/unmanaged/custom/etc/gtk-2.0/0000777000175000001440000000000011345266756016473 500000000000000gtk-sharp-2.12.10/msi/unmanaged/custom/etc/gtk-2.0/Makefile.am0000644000175000001440000000002111321425634020416 00000000000000EXTRA_DIST=gtkrc gtk-sharp-2.12.10/msi/unmanaged/custom/etc/gtk-2.0/gtkrc0000644000175000001440000000016211321421640017416 00000000000000gtk-theme-name = "MS-Windows" style "rules-hint" { GtkTreeView::allow-rules = 1 } class "*" style "rules-hint" gtk-sharp-2.12.10/msi/unmanaged/custom/etc/gtk-2.0/Makefile.in0000644000175000001440000002350411345266364020453 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/etc/gtk-2.0 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = gtkrc all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/etc/gtk-2.0/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/etc/gtk-2.0/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/msi/unmanaged/custom/share/0000777000175000001440000000000011345266756015740 500000000000000gtk-sharp-2.12.10/msi/unmanaged/custom/share/Makefile.am0000644000175000001440000000001611321425665017673 00000000000000SUBDIRS=icons gtk-sharp-2.12.10/msi/unmanaged/custom/share/Makefile.in0000644000175000001440000003647211345266365017731 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/share DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = icons all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/share/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/share/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/msi/unmanaged/custom/share/icons/0000777000175000001440000000000011345266756017053 500000000000000gtk-sharp-2.12.10/msi/unmanaged/custom/share/icons/Makefile.am0000644000175000001440000000002011321425715020775 00000000000000SUBDIRS=hicolor gtk-sharp-2.12.10/msi/unmanaged/custom/share/icons/hicolor/0000777000175000001440000000000011345266756020512 500000000000000gtk-sharp-2.12.10/msi/unmanaged/custom/share/icons/hicolor/Makefile.am0000644000175000001440000000002711321425736022446 00000000000000EXTRA_DIST=index.theme gtk-sharp-2.12.10/msi/unmanaged/custom/share/icons/hicolor/index.theme0000644000175000001440000005335311321421764022554 00000000000000[Icon Theme] Name=Hicolor Comment=Fallback icon theme Hidden=true Directories=16x16/actions,16x16/animations,16x16/apps,16x16/categories,16x16/devices,16x16/emblems,16x16/emotes,16x16/filesystems,16x16/intl,16x16/mimetypes,16x16/places,16x16/status,16x16/stock/chart,16x16/stock/code,16x16/stock/data,16x16/stock/form,16x16/stock/image,16x16/stock/io,16x16/stock/media,16x16/stock/navigation,16x16/stock/net,16x16/stock/object,16x16/stock/table,16x16/stock/text,22x22/actions,22x22/animations,22x22/apps,22x22/categories,22x22/devices,22x22/emblems,22x22/emotes,22x22/filesystems,22x22/intl,22x22/mimetypes,22x22/places,22x22/status,22x22/stock/chart,22x22/stock/code,22x22/stock/data,22x22/stock/form,22x22/stock/image,22x22/stock/io,22x22/stock/media,22x22/stock/navigation,22x22/stock/net,22x22/stock/object,22x22/stock/table,22x22/stock/text,24x24/actions,24x24/animations,24x24/apps,24x24/categories,24x24/devices,24x24/emblems,24x24/emotes,24x24/filesystems,24x24/intl,24x24/mimetypes,24x24/places,24x24/status,24x24/stock/chart,24x24/stock/code,24x24/stock/data,24x24/stock/form,24x24/stock/image,24x24/stock/io,24x24/stock/media,24x24/stock/navigation,24x24/stock/net,24x24/stock/object,24x24/stock/table,24x24/stock/text,32x32/actions,32x32/animations,32x32/apps,32x32/categories,32x32/devices,32x32/emblems,32x32/emotes,32x32/filesystems,32x32/intl,32x32/mimetypes,32x32/places,32x32/status,32x32/stock/chart,32x32/stock/code,32x32/stock/data,32x32/stock/form,32x32/stock/image,32x32/stock/io,32x32/stock/media,32x32/stock/navigation,32x32/stock/net,32x32/stock/object,32x32/stock/table,32x32/stock/text,36x36/actions,36x36/animations,36x36/apps,36x36/categories,36x36/devices,36x36/emblems,36x36/emotes,36x36/filesystems,36x36/intl,36x36/mimetypes,36x36/places,36x36/status,36x36/stock/chart,36x36/stock/code,36x36/stock/data,36x36/stock/form,36x36/stock/image,36x36/stock/io,36x36/stock/media,36x36/stock/navigation,36x36/stock/net,36x36/stock/object,36x36/stock/table,36x36/stock/text,48x48/actions,48x48/animations,48x48/apps,48x48/categories,48x48/devices,48x48/emblems,48x48/emotes,48x48/filesystems,48x48/intl,48x48/mimetypes,48x48/places,48x48/status,48x48/stock/chart,48x48/stock/code,48x48/stock/data,48x48/stock/form,48x48/stock/image,48x48/stock/io,48x48/stock/media,48x48/stock/navigation,48x48/stock/net,48x48/stock/object,48x48/stock/table,48x48/stock/text,64x64/actions,64x64/animations,64x64/apps,64x64/categories,64x64/devices,64x64/emblems,64x64/emotes,64x64/filesystems,64x64/intl,64x64/mimetypes,64x64/places,64x64/status,64x64/stock/chart,64x64/stock/code,64x64/stock/data,64x64/stock/form,64x64/stock/image,64x64/stock/io,64x64/stock/media,64x64/stock/navigation,64x64/stock/net,64x64/stock/object,64x64/stock/table,64x64/stock/text,72x72/actions,72x72/animations,72x72/apps,72x72/categories,72x72/devices,72x72/emblems,72x72/emotes,72x72/filesystems,72x72/intl,72x72/mimetypes,72x72/places,72x72/status,72x72/stock/chart,72x72/stock/code,72x72/stock/data,72x72/stock/form,72x72/stock/image,72x72/stock/io,72x72/stock/media,72x72/stock/navigation,72x72/stock/net,72x72/stock/object,72x72/stock/table,72x72/stock/text,96x96/actions,96x96/animations,96x96/apps,96x96/categories,96x96/devices,96x96/emblems,96x96/emotes,96x96/filesystems,96x96/intl,96x96/mimetypes,96x96/places,96x96/status,96x96/stock/chart,96x96/stock/code,96x96/stock/data,96x96/stock/form,96x96/stock/image,96x96/stock/io,96x96/stock/media,96x96/stock/navigation,96x96/stock/net,96x96/stock/object,96x96/stock/table,96x96/stock/text,128x128/actions,128x128/animations,128x128/apps,128x128/categories,128x128/devices,128x128/emblems,128x128/emotes,128x128/filesystems,128x128/intl,128x128/mimetypes,128x128/places,128x128/status,128x128/stock/chart,128x128/stock/code,128x128/stock/data,128x128/stock/form,128x128/stock/image,128x128/stock/io,128x128/stock/media,128x128/stock/navigation,128x128/stock/net,128x128/stock/object,128x128/stock/table,128x128/stock/text,192x192/actions,192x192/animations,192x192/apps,192x192/categories,192x192/devices,192x192/emblems,192x192/emotes,192x192/filesystems,192x192/intl,192x192/mimetypes,192x192/places,192x192/status,192x192/stock/chart,192x192/stock/code,192x192/stock/data,192x192/stock/form,192x192/stock/image,192x192/stock/io,192x192/stock/media,192x192/stock/navigation,192x192/stock/net,192x192/stock/object,192x192/stock/table,192x192/stock/text,scalable/actions,scalable/animations,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/filesystems,scalable/intl,scalable/mimetypes,scalable/places,scalable/status,scalable/stock/chart,scalable/stock/code,scalable/stock/data,scalable/stock/form,scalable/stock/image,scalable/stock/io,scalable/stock/media,scalable/stock/navigation,scalable/stock/net,scalable/stock/object,scalable/stock/table,scalable/stock/text [16x16/actions] Size=16 Context=Actions Type=Threshold [16x16/animations] Size=16 Context=Animations Type=Threshold [16x16/apps] Size=16 Context=Applications Type=Threshold [16x16/categories] Size=16 Context=Categories Type=Threshold [16x16/devices] Size=16 Context=Devices Type=Threshold [16x16/emblems] Size=16 Context=Emblems Type=Threshold [16x16/emotes] Size=16 Context=Emotes Type=Threshold [16x16/filesystems] Size=16 Context=FileSystems Type=Threshold [16x16/intl] Size=16 Context=International Type=Threshold [16x16/mimetypes] Size=16 Context=MimeTypes Type=Threshold [16x16/places] Size=16 Context=Places Type=Threshold [16x16/status] Size=16 Context=Status Type=Threshold [16x16/stock/chart] Size=16 Context=Stock Type=Threshold [16x16/stock/code] Size=16 Context=Stock Type=Threshold [16x16/stock/data] Size=16 Context=Stock Type=Threshold [16x16/stock/form] Size=16 Context=Stock Type=Threshold [16x16/stock/image] Size=16 Context=Stock Type=Threshold [16x16/stock/io] Size=16 Context=Stock Type=Threshold [16x16/stock/media] Size=16 Context=Stock Type=Threshold [16x16/stock/navigation] Size=16 Context=Stock Type=Threshold [16x16/stock/net] Size=16 Context=Stock Type=Threshold [16x16/stock/object] Size=16 Context=Stock Type=Threshold [16x16/stock/table] Size=16 Context=Stock Type=Threshold [16x16/stock/text] Size=16 Context=Stock Type=Threshold [22x22/actions] Size=22 Context=Actions Type=Threshold [22x22/animations] Size=22 Context=Animations Type=Threshold [22x22/apps] Size=22 Context=Applications Type=Fixed [22x22/categories] Size=22 Context=Categories Type=Threshold [22x22/devices] Size=22 Context=Devices Type=Threshold [22x22/emblems] Size=22 Context=Emblems Type=Threshold [22x22/emotes] Size=22 Context=Emotes Type=Threshold [22x22/filesystems] Size=22 Context=FileSystems Type=Threshold [22x22/intl] Size=22 Context=International Type=Threshold [22x22/mimetypes] Size=22 Context=MimeTypes Type=Threshold [22x22/places] Size=22 Context=Places Type=Threshold [22x22/status] Size=22 Context=Status Type=Threshold [22x22/stock/chart] Size=22 Context=Stock Type=Threshold [22x22/stock/code] Size=22 Context=Stock Type=Threshold [22x22/stock/data] Size=22 Context=Stock Type=Threshold [22x22/stock/form] Size=22 Context=Stock Type=Threshold [22x22/stock/image] Size=22 Context=Stock Type=Threshold [22x22/stock/io] Size=22 Context=Stock Type=Threshold [22x22/stock/media] Size=22 Context=Stock Type=Threshold [22x22/stock/navigation] Size=22 Context=Stock Type=Threshold [22x22/stock/net] Size=22 Context=Stock Type=Threshold [22x22/stock/object] Size=22 Context=Stock Type=Threshold [22x22/stock/table] Size=22 Context=Stock Type=Threshold [22x22/stock/text] Size=22 Context=Stock Type=Threshold [24x24/actions] Size=24 Context=Actions Type=Threshold [24x24/animations] Size=24 Context=Animations Type=Threshold [24x24/apps] Size=24 Context=Applications Type=Threshold [24x24/categories] Size=24 Context=Categories Type=Threshold [24x24/devices] Size=24 Context=Devices Type=Threshold [24x24/emblems] Size=24 Context=Emblems Type=Threshold [24x24/emotes] Size=24 Context=Emotes Type=Threshold [24x24/filesystems] Size=24 Context=FileSystems Type=Threshold [24x24/intl] Size=24 Context=International Type=Threshold [24x24/mimetypes] Size=24 Context=MimeTypes Type=Threshold [24x24/places] Size=24 Context=Places Type=Threshold [24x24/status] Size=24 Context=Status Type=Threshold [24x24/stock/chart] Size=24 Context=Stock Type=Threshold [24x24/stock/code] Size=24 Context=Stock Type=Threshold [24x24/stock/data] Size=24 Context=Stock Type=Threshold [24x24/stock/form] Size=24 Context=Stock Type=Threshold [24x24/stock/image] Size=24 Context=Stock Type=Threshold [24x24/stock/io] Size=24 Context=Stock Type=Threshold [24x24/stock/media] Size=24 Context=Stock Type=Threshold [24x24/stock/navigation] Size=24 Context=Stock Type=Threshold [24x24/stock/net] Size=24 Context=Stock Type=Threshold [24x24/stock/object] Size=24 Context=Stock Type=Threshold [24x24/stock/table] Size=24 Context=Stock Type=Threshold [24x24/stock/text] Size=24 Context=Stock Type=Threshold [32x32/actions] Size=32 Context=Actions Type=Threshold [32x32/animations] Size=32 Context=Animations Type=Threshold [32x32/apps] Size=32 Context=Applications Type=Threshold [32x32/categories] Size=32 Context=Categories Type=Threshold [32x32/devices] Size=32 Context=Devices Type=Threshold [32x32/emblems] Size=32 Context=Emblems Type=Threshold [32x32/emotes] Size=32 Context=Emotes Type=Threshold [32x32/filesystems] Size=32 Context=FileSystems Type=Threshold [32x32/intl] Size=32 Context=International Type=Threshold [32x32/mimetypes] Size=32 Context=MimeTypes Type=Threshold [32x32/places] Size=32 Context=Places Type=Threshold [32x32/status] Size=32 Context=Status Type=Threshold [32x32/stock/chart] Size=32 Context=Stock Type=Threshold [32x32/stock/code] Size=32 Context=Stock Type=Threshold [32x32/stock/data] Size=32 Context=Stock Type=Threshold [32x32/stock/form] Size=32 Context=Stock Type=Threshold [32x32/stock/image] Size=32 Context=Stock Type=Threshold [32x32/stock/io] Size=32 Context=Stock Type=Threshold [32x32/stock/media] Size=32 Context=Stock Type=Threshold [32x32/stock/navigation] Size=32 Context=Stock Type=Threshold [32x32/stock/net] Size=32 Context=Stock Type=Threshold [32x32/stock/object] Size=32 Context=Stock Type=Threshold [32x32/stock/table] Size=32 Context=Stock Type=Threshold [32x32/stock/text] Size=32 Context=Stock Type=Threshold [36x36/actions] Size=36 Context=Actions Type=Threshold [36x36/animations] Size=36 Context=Animations Type=Threshold [36x36/apps] Size=36 Context=Applications Type=Threshold [36x36/categories] Size=36 Context=Categories Type=Threshold [36x36/devices] Size=36 Context=Devices Type=Threshold [36x36/emblems] Size=36 Context=Emblems Type=Threshold [36x36/emotes] Size=36 Context=Emotes Type=Threshold [36x36/filesystems] Size=36 Context=FileSystems Type=Threshold [36x36/intl] Size=36 Context=International Type=Threshold [36x36/mimetypes] Size=36 Context=MimeTypes Type=Threshold [36x36/places] Size=36 Context=Places Type=Threshold [36x36/status] Size=36 Context=Status Type=Threshold [36x36/stock/chart] Size=36 Context=Stock Type=Threshold [36x36/stock/code] Size=36 Context=Stock Type=Threshold [36x36/stock/data] Size=36 Context=Stock Type=Threshold [36x36/stock/form] Size=36 Context=Stock Type=Threshold [36x36/stock/image] Size=36 Context=Stock Type=Threshold [36x36/stock/io] Size=36 Context=Stock Type=Threshold [36x36/stock/media] Size=36 Context=Stock Type=Threshold [36x36/stock/navigation] Size=36 Context=Stock Type=Threshold [36x36/stock/net] Size=36 Context=Stock Type=Threshold [36x36/stock/object] Size=36 Context=Stock Type=Threshold [36x36/stock/table] Size=36 Context=Stock Type=Threshold [36x36/stock/text] Size=36 Context=Stock Type=Threshold [48x48/actions] Size=48 Context=Actions Type=Threshold [48x48/animations] Size=48 Context=Animations Type=Threshold [48x48/apps] Size=48 Context=Applications Type=Threshold [48x48/categories] Size=48 Context=Categories Type=Threshold [48x48/devices] Size=48 Context=Devices Type=Threshold [48x48/emblems] Size=48 Context=Emblems Type=Threshold [48x48/emotes] Size=48 Context=Emotes Type=Threshold [48x48/filesystems] Size=48 Context=FileSystems Type=Threshold [48x48/intl] Size=48 Context=International Type=Threshold [48x48/mimetypes] Size=48 Context=MimeTypes Type=Threshold [48x48/places] Size=48 Context=Places Type=Threshold [48x48/status] Size=48 Context=Status Type=Threshold [48x48/stock/chart] Size=48 Context=Stock Type=Threshold [48x48/stock/code] Size=48 Context=Stock Type=Threshold [48x48/stock/data] Size=48 Context=Stock Type=Threshold [48x48/stock/form] Size=48 Context=Stock Type=Threshold [48x48/stock/image] Size=48 Context=Stock Type=Threshold [48x48/stock/io] Size=48 Context=Stock Type=Threshold [48x48/stock/media] Size=48 Context=Stock Type=Threshold [48x48/stock/navigation] Size=48 Context=Stock Type=Threshold [48x48/stock/net] Size=48 Context=Stock Type=Threshold [48x48/stock/object] Size=48 Context=Stock Type=Threshold [48x48/stock/table] Size=48 Context=Stock Type=Threshold [48x48/stock/text] Size=48 Context=Stock Type=Threshold [64x64/actions] Size=64 Context=Actions Type=Threshold [64x64/animations] Size=64 Context=Animations Type=Threshold [64x64/apps] Size=64 Context=Applications Type=Threshold [64x64/categories] Size=64 Context=Categories Type=Threshold [64x64/devices] Size=64 Context=Devices Type=Threshold [64x64/emblems] Size=64 Context=Emblems Type=Threshold [64x64/emotes] Size=64 Context=Emotes Type=Threshold [64x64/filesystems] Size=64 Context=FileSystems Type=Threshold [64x64/intl] Size=64 Context=International Type=Threshold [64x64/mimetypes] Size=64 Context=MimeTypes Type=Threshold [64x64/places] Size=64 Context=Places Type=Threshold [64x64/status] Size=64 Context=Status Type=Threshold [64x64/stock/chart] Size=64 Context=Stock Type=Threshold [64x64/stock/code] Size=64 Context=Stock Type=Threshold [64x64/stock/data] Size=64 Context=Stock Type=Threshold [64x64/stock/form] Size=64 Context=Stock Type=Threshold [64x64/stock/image] Size=64 Context=Stock Type=Threshold [64x64/stock/io] Size=64 Context=Stock Type=Threshold [64x64/stock/media] Size=64 Context=Stock Type=Threshold [64x64/stock/navigation] Size=64 Context=Stock Type=Threshold [64x64/stock/net] Size=64 Context=Stock Type=Threshold [64x64/stock/object] Size=64 Context=Stock Type=Threshold [64x64/stock/table] Size=64 Context=Stock Type=Threshold [64x64/stock/text] Size=64 Context=Stock Type=Threshold [72x72/actions] Size=72 Context=Actions Type=Threshold [72x72/animations] Size=72 Context=Animations Type=Threshold [72x72/apps] Size=72 Context=Applications Type=Threshold [72x72/categories] Size=72 Context=Categories Type=Threshold [72x72/devices] Size=72 Context=Devices Type=Threshold [72x72/emblems] Size=72 Context=Emblems Type=Threshold [72x72/emotes] Size=72 Context=Emotes Type=Threshold [72x72/filesystems] Size=72 Context=FileSystems Type=Threshold [72x72/intl] Size=72 Context=International Type=Threshold [72x72/mimetypes] Size=72 Context=MimeTypes Type=Threshold [72x72/places] Size=72 Context=Places Type=Threshold [72x72/status] Size=72 Context=Status Type=Threshold [72x72/stock/chart] Size=72 Context=Stock Type=Threshold [72x72/stock/code] Size=72 Context=Stock Type=Threshold [72x72/stock/data] Size=72 Context=Stock Type=Threshold [72x72/stock/form] Size=72 Context=Stock Type=Threshold [72x72/stock/image] Size=72 Context=Stock Type=Threshold [72x72/stock/io] Size=72 Context=Stock Type=Threshold [72x72/stock/media] Size=72 Context=Stock Type=Threshold [72x72/stock/navigation] Size=72 Context=Stock Type=Threshold [72x72/stock/net] Size=72 Context=Stock Type=Threshold [72x72/stock/object] Size=72 Context=Stock Type=Threshold [72x72/stock/table] Size=72 Context=Stock Type=Threshold [72x72/stock/text] Size=72 Context=Stock Type=Threshold [96x96/actions] Size=96 Context=Actions Type=Threshold [96x96/animations] Size=96 Context=Animations Type=Threshold [96x96/apps] Size=96 Context=Applications Type=Threshold [96x96/categories] Size=96 Context=Categories Type=Threshold [96x96/devices] Size=96 Context=Devices Type=Threshold [96x96/emblems] Size=96 Context=Emblems Type=Threshold [96x96/emotes] Size=96 Context=Emotes Type=Threshold [96x96/filesystems] Size=96 Context=FileSystems Type=Threshold [96x96/intl] Size=96 Context=International Type=Threshold [96x96/mimetypes] Size=96 Context=MimeTypes Type=Threshold [96x96/places] Size=96 Context=Places Type=Threshold [96x96/status] Size=96 Context=Status Type=Threshold [96x96/stock/chart] Size=96 Context=Stock Type=Threshold [96x96/stock/code] Size=96 Context=Stock Type=Threshold [96x96/stock/data] Size=96 Context=Stock Type=Threshold [96x96/stock/form] Size=96 Context=Stock Type=Threshold [96x96/stock/image] Size=96 Context=Stock Type=Threshold [96x96/stock/io] Size=96 Context=Stock Type=Threshold [96x96/stock/media] Size=96 Context=Stock Type=Threshold [96x96/stock/navigation] Size=96 Context=Stock Type=Threshold [96x96/stock/net] Size=96 Context=Stock Type=Threshold [96x96/stock/object] Size=96 Context=Stock Type=Threshold [96x96/stock/table] Size=96 Context=Stock Type=Threshold [96x96/stock/text] Size=96 Context=Stock Type=Threshold [128x128/actions] Size=128 Context=Actions Type=Threshold [128x128/animations] Size=128 Context=Animations Type=Threshold [128x128/apps] Size=128 Context=Applications Type=Threshold [128x128/categories] Size=128 Context=Categories Type=Threshold [128x128/devices] Size=128 Context=Devices Type=Threshold [128x128/emblems] Size=128 Context=Emblems Type=Threshold [128x128/emotes] Size=128 Context=Emotes Type=Threshold [128x128/filesystems] Size=128 Context=FileSystems Type=Threshold [128x128/intl] Size=128 Context=International Type=Threshold [128x128/mimetypes] Size=128 Context=MimeTypes Type=Threshold [128x128/places] Size=128 Context=Places Type=Threshold [128x128/status] Size=128 Context=Status Type=Threshold [128x128/stock/chart] Size=128 Context=Stock Type=Threshold [128x128/stock/code] Size=128 Context=Stock Type=Threshold [128x128/stock/data] Size=128 Context=Stock Type=Threshold [128x128/stock/form] Size=128 Context=Stock Type=Threshold [128x128/stock/image] Size=128 Context=Stock Type=Threshold [128x128/stock/io] Size=128 Context=Stock Type=Threshold [128x128/stock/media] Size=128 Context=Stock Type=Threshold [128x128/stock/navigation] Size=128 Context=Stock Type=Threshold [128x128/stock/net] Size=128 Context=Stock Type=Threshold [128x128/stock/object] Size=128 Context=Stock Type=Threshold [128x128/stock/table] Size=128 Context=Stock Type=Threshold [128x128/stock/text] Size=128 Context=Stock Type=Threshold [192x192/actions] Size=192 Context=Actions Type=Threshold [192x192/animations] Size=192 Context=Animations Type=Threshold [192x192/apps] Size=192 Context=Applications Type=Threshold [192x192/categories] Size=192 Context=Categories Type=Threshold [192x192/devices] Size=192 Context=Devices Type=Threshold [192x192/emblems] Size=192 Context=Emblems Type=Threshold [192x192/emotes] Size=192 Context=Emotes Type=Threshold [192x192/filesystems] Size=192 Context=FileSystems Type=Threshold [192x192/intl] Size=192 Context=International Type=Threshold [192x192/mimetypes] Size=192 Context=MimeTypes Type=Threshold [192x192/places] Size=192 Context=Places Type=Threshold [192x192/status] Size=192 Context=Status Type=Threshold [192x192/stock/chart] Size=192 Context=Stock Type=Threshold [192x192/stock/code] Size=192 Context=Stock Type=Threshold [192x192/stock/data] Size=192 Context=Stock Type=Threshold [192x192/stock/form] Size=192 Context=Stock Type=Threshold [192x192/stock/image] Size=192 Context=Stock Type=Threshold [192x192/stock/io] Size=192 Context=Stock Type=Threshold [192x192/stock/media] Size=192 Context=Stock Type=Threshold [192x192/stock/navigation] Size=192 Context=Stock Type=Threshold [192x192/stock/net] Size=192 Context=Stock Type=Threshold [192x192/stock/object] Size=192 Context=Stock Type=Threshold [192x192/stock/table] Size=192 Context=Stock Type=Threshold [192x192/stock/text] Size=192 Context=Stock Type=Threshold [scalable/actions] MinSize=1 Size=128 MaxSize=256 Context=Actions Type=Scalable [scalable/animations] MinSize=1 Size=128 MaxSize=256 Context=Animations Type=Scalable [scalable/apps] MinSize=1 Size=128 MaxSize=256 Context=Applications Type=Scalable [scalable/categories] MinSize=1 Size=128 MaxSize=256 Context=Categories Type=Scalable [scalable/devices] MinSize=1 Size=128 MaxSize=256 Context=Devices Type=Scalable [scalable/emblems] MinSize=1 Size=128 MaxSize=256 Context=Emblems Type=Scalable [scalable/emotes] MinSize=1 Size=128 MaxSize=256 Context=Emotes Type=Scalable [scalable/filesystems] MinSize=1 Size=128 MaxSize=256 Context=FileSystems Type=Scalable [scalable/intl] MinSize=1 Size=128 MaxSize=256 Context=International Type=Scalable [scalable/mimetypes] MinSize=1 Size=128 MaxSize=256 Context=MimeTypes Type=Scalable [scalable/places] MinSize=1 Size=128 MaxSize=256 Context=Places Type=Scalable [scalable/status] MinSize=1 Size=128 MaxSize=256 Context=Status Type=Scalable [scalable/stock/chart] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/code] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/data] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/form] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/image] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/io] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/media] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/navigation] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/net] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/object] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/table] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/text] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable gtk-sharp-2.12.10/msi/unmanaged/custom/share/icons/hicolor/Makefile.in0000644000175000001440000002354211345266365022475 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/share/icons/hicolor DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = index.theme all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/share/icons/hicolor/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/share/icons/hicolor/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/msi/unmanaged/custom/share/icons/Makefile.in0000644000175000001440000003651611345266365021043 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/share/icons DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = hicolor all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/share/icons/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/share/icons/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/msi/unmanaged/custom/Makefile.in0000644000175000001440000003645411345266364016626 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = etc share all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/msi/unmanaged/unmanaged.wxs0000755000175000001440000027061311321466752015746 00000000000000 Not Installed Not Installed gtk-sharp-2.12.10/msi/unmanaged/Makefile.in0000644000175000001440000004015011345266364015300 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive DATA = $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = custom @ENABLE_MSI_FALSE@TARGET = @ENABLE_MSI_TRUE@TARGET = unmanaged.msm noinst_DATA = $(TARGET) DOWNLOADS = downloads.win32 CLEANFILES = source EXTRA_DIST = redirector.cs unmanaged.wxs downloads.win32 ignores all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am download-stamp: $(DOWNLOADS) rm -rf source mkdir -p source cd source && for i in `cat ../$(DOWNLOADS)`; do wget $$i; done && for j in `ls *.zip`; do unzip $$j; rm $$j; done touch download-stamp unmanaged.wixobj: unmanaged.wxs redirector.exe download-stamp candle unmanaged.wxs unmanaged.msm: unmanaged.wixobj light unmanaged.wixobj bundle-scanner.exe: bundle-scanner.cs $(CSC) bundle-scanner.cs redirector.exe: redirector.cs $(CSC) redirector.cs scan: download-stamp bundle-scanner.exe $(RUNTIME) bundle-scanner.exe --wix=unmanaged.wxs --bundle=source # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/msi/unmanaged/redirector.cs0000755000175000001440000000347611321422512015720 00000000000000// Redirector.cs - launches a program and sends its output to a file. // // Author: Mike Kestner // // Copyright (c) 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. namespace GtkSharpInstaller { using System; using System.IO; using System.Diagnostics; public class Redirector { public static int Main (string[] args) { if (args.Length != 2) { Console.Error.WriteLine ("Usage: redirector.exe "); return 1; } ProcessStartInfo info = new ProcessStartInfo (args [0]); info.RedirectStandardOutput = true; info.UseShellExecute = false; Process proc = Process.Start (info); StreamWriter sw = new StreamWriter (File.Create (args [1])); sw.WriteLine (proc.StandardOutput.ReadToEnd ()); sw.Close (); return 0; } } } gtk-sharp-2.12.10/msi/unmanaged/ignores0000644000175000001440000000625011321422174014612 00000000000000source\bin\bmp2tiff.exe source\bin\cjpeg.exe source\bin\djpeg.exe source\bin\fax2ps.exe source\bin\fax2tiff.exe source\bin\fc-cache.exe source\bin\fc-cat.exe source\bin\fc-list.exe source\bin\freetype-config source\bin\gdk-pixbuf-csource.exe source\bin\gif2tiff.exe source\bin\glib-genmarshal.exe source\bin\glib-gettextize source\bin\glib-mkenums source\bin\gobject-query.exe source\bin\gtk-builder-convert source\bin\gtk-demo.exe source\bin\gtk-update-icon-cache.exe source\bin\gtk-update-icon-cache.exe.manifest source\bin\jpegtran.exe source\bin\pal2rgb.exe source\bin\pango-view.exe source\bin\pkg-config.exe source\bin\ppm2tiff.exe source\bin\ras2tiff.exe source\bin\raw2tiff.exe source\bin\rdjpgcom.exe source\bin\rgb2ycbcr.exe source\bin\thumbnail.exe source\bin\tiff2bw.exe source\bin\tiff2pdf.exe source\bin\tiff2ps.exe source\bin\tiff2rgba.exe source\bin\tiffcmp.exe source\bin\tiffcp.exe source\bin\tiffcrop.exe source\bin\tiffdither.exe source\bin\tiffdump.exe source\bin\tiffinfo.exe source\bin\tiffmedian.exe source\bin\tiffset.exe source\bin\tiffsplit.exe source\bin\wrjpgcom.exe source\bin\xmlwf.exe source\include source\lib\pkgconfig source\lib\atk-1.0.def source\lib\atk-1.0.lib source\lib\cairo.def source\lib\cairo.lib source\lib\charset.alias source\lib\expat.lib source\lib\fontconfig.def source\lib\fontconfig.lib source\lib\gailutil.lib source\lib\gdk_pixbuf-2.0.lib source\lib\gdk-win32-2.0.lib source\lib\gio-2.0.def source\lib\gio-2.0.lib source\lib\glib-2.0.def source\lib\glib-2.0.lib source\lib\glib-2.0\include\glibconfig.h source\lib\gmodule-2.0.def source\lib\gmodule-2.0.lib source\lib\gobject-2.0.def source\lib\gobject-2.0.lib source\lib\gthread-2.0.def source\lib\gthread-2.0.lib source\lib\gtk-2.0\include\gdkconfig.h source\lib\gtk-win32-2.0.lib source\lib\intl.def source\lib\intl.lib source\lib\libatk-1.0.dll.a source\lib\libcairo.dll.a source\lib\libexpat.def source\lib\libexpat.dll.a source\lib\libfontconfig.dll.a source\lib\libfreetype.dll.a source\lib\libgailutil.dll.a source\lib\libgdk_pixbuf-2.0.dll.a source\lib\libgdk-win32-2.0.dll.a source\lib\libgio-2.0.dll.a source\lib\libglib-2.0.dll.a source\lib\libgmodule-2.0.dll.a source\lib\libgobject-2.0.dll.a source\lib\libgthread-2.0.dll.a source\lib\libgtk-win32-2.0.dll.a source\lib\libintl.dll.a source\lib\libjpeg.dll.a source\lib\libpango-1.0.dll.a source\lib\libpangocairo-1.0.dll.a source\lib\libpangoft2-1.0.dll.a source\lib\libpangowin32-1.0.dll.a source\lib\libpng.def source\lib\libpng.lib source\lib\libpng12.dll.a source\lib\libtiff.dll.a source\lib\libtiffxx.dll.a source\lib\libz.a source\lib\pango-1.0.def source\lib\pango-1.0.lib source\lib\pangocairo-1.0.def source\lib\pangocairo-1.0.lib source\lib\pangoft2-1.0.def source\lib\pangoft2-1.0.lib source\lib\pangowin32-1.0.def source\lib\pangowin32-1.0.lib source\lib\zdll.lib source\lib\zlib.def source\make\gettext-0.17-1.sh source\man source\manifest source\share\aclocal source\share\doc source\share\glib-2.0 source\share\gtk-doc source\share\gtk-2.0\demo source\share\man source\src source\share\themes\Emacs\gtk-2.0-key\gtkrc source\share\themes\Raleigh\gtk-2.0\gtkrc source\gtk+-bundle_2.16.6-20091215_win32.README.txt source\gtk+-bundle_2.16.6-20091215_win32.zip gtk-sharp-2.12.10/msi/Makefile.in0000644000175000001440000004024611345266364013347 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/gtk-sharp-2.0.wxs.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gtk-sharp-2.0.wxs SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive DATA = $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = unmanaged . assembly_dirs = glib pango atk gdk gtk glade gtkdotnet @ENABLE_MSI_FALSE@TARGET = @ENABLE_MSI_TRUE@TARGET = gtk-sharp-2.0.msi noinst_DATA = $(TARGET) EXTRA_DIST = license.rtf all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh gtk-sharp-2.0.wxs: $(top_builddir)/config.status $(srcdir)/gtk-sharp-2.0.wxs.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am gtk-sharp-2.0.msi: gtk-sharp-2.0.wxs mkdir -p binaries rm -rf binaries/* cp $(top_builddir)/generator/gapi_codegen.exe binaries cp $(top_builddir)/*/glue/.libs/*.dll binaries for a in $(assembly_dirs); do \ mkdir -p binaries/$$a; \ cp $(top_builddir)/$$a/*.dll binaries/$$a; \ cp $(top_builddir)/$$a/policy.*.config binaries/$$a; \ done cp $(top_builddir)/sample/GtkDemo/GtkDemo.exe binaries candle -ext WixUIExtension gtk-sharp-2.0.wxs light -cultures:en-us -ext WixUIExtension -ext WixNetFxExtension gtk-sharp-2.0.wixobj # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/NEWS0000644000175000001440000000001011131157074011160 00000000000000try CNN gtk-sharp-2.12.10/gtk/0000777000175000001440000000000011345266755011361 500000000000000gtk-sharp-2.12.10/gtk/FileChooserDialog.custom0000644000175000001440000001057711304772231016047 00000000000000// Gtk.FileChooserDialog.custom - Gtk FileChooserDialog customizations // // Authors: Todd Berman // Jeroen Zwartepoorte // Mike Kestner // // Copyright (c) 2004 Todd Berman, Jeroen Zwartepoorte // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_dialog_new(IntPtr title, IntPtr parent, int action, IntPtr nil); public FileChooserDialog (string title, Window parent, FileChooserAction action, params object[] button_data) : base (IntPtr.Zero) { if (GetType () != typeof (FileChooserDialog)) { CreateNativeObject (new string[0], new GLib.Value[0]); Title = title; if (parent != null) TransientFor = parent; Action = action; } else { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (title); Raw = gtk_file_chooser_dialog_new (native, parent == null ? IntPtr.Zero : parent.Handle, (int)action, IntPtr.Zero); GLib.Marshaller.Free (native); } for (int i = 0; i < button_data.Length - 1; i += 2) AddButton ((string) button_data [i], (int) button_data [i + 1]); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_dialog_new_with_backend(IntPtr title, IntPtr parent, int action, IntPtr backend, IntPtr nil); public FileChooserDialog (string backend, string title, Window parent, FileChooserAction action, params object[] button_data) : base (IntPtr.Zero) { if (GetType () != typeof (FileChooserDialog)) { CreateNativeObject (new string[] { "file-system-backend" }, new GLib.Value[] { new GLib.Value (backend) } ); Title = title; if (parent != null) TransientFor = parent; Action = action; } else { IntPtr ntitle = GLib.Marshaller.StringToPtrGStrdup (title); IntPtr nbackend = GLib.Marshaller.StringToPtrGStrdup (backend); Raw = gtk_file_chooser_dialog_new_with_backend (ntitle, parent == null ? IntPtr.Zero : parent.Handle, (int)action, nbackend, IntPtr.Zero); GLib.Marshaller.Free (ntitle); GLib.Marshaller.Free (nbackend); } for (int i = 0; i < button_data.Length - 1; i += 2) AddButton ((string) button_data [i], (int) button_data [i + 1]); } bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_get_filenames (IntPtr raw); [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_get_filenames_utf8 (IntPtr raw); public string[] Filenames { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_get_filenames_utf8 (Handle); else raw_ret = gtk_file_chooser_get_filenames (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return (string[]) GLib.Marshaller.ListToArray (list, typeof (string)); } } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_list_shortcut_folders (IntPtr raw); [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_list_shortcut_folders_utf8 (IntPtr raw); public string[] ShortcutFolders { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_list_shortcut_folders_utf8 (Handle); else raw_ret = gtk_file_chooser_list_shortcut_folders (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return (string[]) GLib.Marshaller.ListToArray (list, typeof (string)); } } gtk-sharp-2.12.10/gtk/TargetList.custom0000644000175000001440000000413211200345755014577 00000000000000// TargetList.custom - customizations for Gtk.TargetList // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_target_list_new(Gtk.TargetEntry[] targets, uint n_targets); public TargetList() : base(gtk_target_list_new(null, 0)) {} public TargetList (Gtk.TargetEntry[] targets) : this(gtk_target_list_new(targets, (uint) targets.Length)) {} public void Add(string target, uint flags, uint info) { Add(Gdk.Atom.Intern (target, false), flags, info); } public bool Find(string target, out uint info) { return Find(Gdk.Atom.Intern (target, false), out info); } public void Remove(string target) { Remove(Gdk.Atom.Intern (target, false)); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_target_table_free (IntPtr list, int n_targets); [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_target_table_new_from_list (IntPtr list, out int n_targets); public static explicit operator TargetEntry[] (TargetList list) { int length; IntPtr ret = gtk_target_table_new_from_list (list.Handle, out length); TargetEntry[] entries = new TargetEntry[length]; for (int i = 0; i < length; i++) { entries [i] = (TargetEntry) Marshal.PtrToStructure (new IntPtr (ret.ToInt64 () + i * Marshal.SizeOf (typeof (TargetEntry))), typeof (TargetEntry)); } if (ret != IntPtr.Zero) gtk_target_table_free (ret, length); return entries; } gtk-sharp-2.12.10/gtk/TreeSortableAdapter.custom0000644000175000001440000000254611131156741016416 00000000000000// Gtk.TreeSortableAdapter.Custom - Gtk TreeSortableAdapter class customizations // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { SetSortFunc (sort_column_id, sort_func); } [Obsolete ("Replaced by DefaultSortFunc property.")] public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } gtk-sharp-2.12.10/gtk/Bin.custom0000644000175000001440000000247511131156741013233 00000000000000// Gtk.Bin.custom - Gtk Bin class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_bin_get_child(IntPtr raw); public new Gtk.Widget Child { get { IntPtr raw_ret = gtk_bin_get_child(Handle); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else ret = (Gtk.Widget) GLib.Object.GetObject(raw_ret); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("child", val); val.Dispose (); } } gtk-sharp-2.12.10/gtk/Makefile.am0000644000175000001440000000655311305001021013303 00000000000000SUBDIRS = . glue if ENABLE_MONO_CAIRO local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll else local_mono_cairo= endif pkg = gtk pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA=gtk-sharp-2.0.pc SYMBOLS = gtk-symbols.xml INCLUDE_API = $(srcdir)/../glib/glib-api.xml ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml METADATA = Gtk.metadata references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll $(local_mono_cairo) glue_includes = gtk/gtk.h sources = \ ActionEntry.cs \ Application.cs \ BindingAttribute.cs \ ChildPropertyAttribute.cs \ ITreeNode.cs \ Key.cs \ MoveFocusHandler.cs \ NodeCellDataFunc.cs \ NodeSelection.cs \ NodeStore.cs \ NodeView.cs \ RadioActionEntry.cs \ RowsReorderedHandler.cs \ StockManager.cs \ TextBufferSerializeFunc.cs \ GtkSharp.TextBufferSerializeFuncNative.cs \ ThreadNotify.cs \ ToggleActionEntry.cs \ Timeout.cs \ TreeEnumerator.cs \ TreeNodeAttribute.cs \ TreeNode.cs \ TreeNodeValueAttribute.cs customs = \ AboutDialog.custom \ Accel.custom \ AccelKey.custom \ Action.custom \ ActionGroup.custom \ Adjustment.custom \ Bin.custom \ Builder.custom \ Button.custom \ Calendar.custom \ CellRenderer.custom \ CellRendererAccel.custom \ CellRendererCombo.custom \ CellRendererPixbuf.custom \ CellRendererProgress.custom \ CellRendererSpin.custom \ CellRendererText.custom \ CellRendererToggle.custom \ CellLayout.custom \ CellLayoutAdapter.custom \ CellView.custom \ CheckMenuItem.custom \ Clipboard.custom \ ColorSelection.custom \ ColorSelectionDialog.custom \ Combo.custom \ ComboBox.custom \ ComboBoxEntry.custom \ Container.custom \ Dialog.custom \ Drag.custom \ Entry.custom \ EntryCompletion.custom \ FileChooser.custom \ FileChooserButton.custom \ FileChooserDialog.custom \ FileChooserWidget.custom \ FileSelection.custom \ Frame.custom \ HBox.custom \ HScale.custom \ IconFactory.custom \ IconSet.custom \ IconTheme.custom \ IconView.custom \ Image.custom \ ImageMenuItem.custom \ Init.custom \ Input.custom \ ItemFactory.custom \ Label.custom \ ListStore.custom \ MessageDialog.custom \ Menu.custom \ MenuItem.custom \ Notebook.custom \ Object.custom \ Plug.custom \ PrintContext.custom \ Printer.custom \ RadioButton.custom \ RadioMenuItem.custom \ RadioToolButton.custom \ ScrolledWindow.custom \ SelectionData.custom \ Settings.custom \ SpinButton.custom \ StatusIcon.custom \ Stock.custom \ StockItem.custom \ Style.custom \ Table.custom \ TargetEntry.custom \ TargetList.custom \ TargetPair.custom \ TextAttributes.custom \ TextAppearance.custom \ TextBuffer.custom \ TextChildAnchor.custom \ TextIter.custom \ TextMark.custom \ TextTag.custom \ TextView.custom \ Toolbar.custom \ TooltipsData.custom \ TreeIter.custom \ TreeModel.custom \ TreeModelAdapter.custom \ TreeModelFilter.custom \ TreeModelSort.custom \ TreePath.custom \ TreeSelection.custom \ TreeSortable.custom \ TreeSortableAdapter.custom \ TreeStore.custom \ TreeViewColumn.custom \ TreeView.custom \ UIManager.custom \ VBox.custom \ VScale.custom \ Viewport.custom \ Widget.custom \ Window.custom add_dist = gtk-sharp-2.0.pc.in include ../Makefile.include gtk-sharp-2.12.10/gtk/CellRenderer.custom0000644000175000001440000002206411272715760015075 00000000000000// // CellRenderer.custom - Gtk CellRenderer class customizations // // Author: Todd Berman , // Peter Johanson // // Copyright (C) 2004 Todd Berman // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gtksharpglue-2")] static extern void gtksharp_cellrenderer_base_get_size (IntPtr handle, IntPtr widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height); [DllImport("gtksharpglue-2")] static extern void gtksharp_cellrenderer_override_get_size (IntPtr gtype, GetSizeDelegate cb); [GLib.CDeclCallback] delegate void GetSizeDelegate (IntPtr item, IntPtr widget, IntPtr cell_area_ptr, IntPtr x_offset, IntPtr y_offset, IntPtr width, IntPtr height); static GetSizeDelegate GetSizeCallback; static void GetSize_cb (IntPtr item, IntPtr widget, IntPtr cell_area_ptr, IntPtr x_offset, IntPtr y_offset, IntPtr width, IntPtr height) { try { CellRenderer obj = GLib.Object.GetObject (item, false) as CellRenderer; Gtk.Widget widg = GLib.Object.GetObject (widget, false) as Gtk.Widget; Gdk.Rectangle cell_area = Gdk.Rectangle.New (cell_area_ptr); int a, b, c, d; obj.GetSize (widg, ref cell_area, out a, out b, out c, out d); if (x_offset != IntPtr.Zero) Marshal.WriteInt32 (x_offset, a); if (y_offset != IntPtr.Zero) Marshal.WriteInt32 (y_offset, b); if (width != IntPtr.Zero) Marshal.WriteInt32 (width, c); if (height != IntPtr.Zero) Marshal.WriteInt32 (height, d); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideGetSize (GLib.GType gtype) { if (GetSizeCallback == null) GetSizeCallback = new GetSizeDelegate (GetSize_cb); gtksharp_cellrenderer_override_get_size (gtype.Val, GetSizeCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.CellRenderer), ConnectionMethod="OverrideGetSize")] public virtual void GetSize(Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { gtksharp_cellrenderer_base_get_size(Handle, widget.Handle, ref cell_area, out x_offset, out y_offset, out width, out height); } [DllImport("gtksharpglue-2")] static extern void gtksharp_cellrenderer_invoke_get_size (IntPtr gtype, IntPtr handle, IntPtr widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height); internal static void InternalGetSize (GLib.GType gtype, Gtk.CellRenderer cell, Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { gtksharp_cellrenderer_invoke_get_size (gtype.Val, cell.Handle, widget.Handle, ref cell_area, out x_offset, out y_offset, out width, out height); } [DllImport("gtksharpglue-2")] static extern void gtksharp_cellrenderer_base_render (IntPtr handle, IntPtr window, IntPtr widget, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, ref Gdk.Rectangle expose_area, Gtk.CellRendererState flags); [DllImport("gtksharpglue-2")] static extern void gtksharp_cellrenderer_override_render (IntPtr gtype, RenderDelegate cb); [GLib.CDeclCallback] delegate void RenderDelegate (IntPtr item, IntPtr window, IntPtr widget, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, ref Gdk.Rectangle expose_area, Gtk.CellRendererState flags); static RenderDelegate RenderCallback; static void Render_cb (IntPtr item, IntPtr window, IntPtr widget, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, ref Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { try { CellRenderer obj = GLib.Object.GetObject (item, false) as CellRenderer; Gdk.Drawable wind = GLib.Object.GetObject (window, false) as Gdk.Drawable; Gtk.Widget widg = GLib.Object.GetObject (widget, false) as Gtk.Widget; obj.Render (wind, widg, background_area, cell_area, expose_area, flags); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideRender (GLib.GType gtype) { if (RenderCallback == null) RenderCallback = new RenderDelegate (Render_cb); gtksharp_cellrenderer_override_render (gtype.Val, RenderCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.CellRenderer), ConnectionMethod="OverrideRender")] protected virtual void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { gtksharp_cellrenderer_base_render (Handle, window.Handle, widget.Handle, ref background_area, ref cell_area, ref expose_area, flags); } [DllImport("gtksharpglue-2")] static extern void gtksharp_cellrenderer_invoke_render (IntPtr gtype, IntPtr handle, IntPtr window, IntPtr widget, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, ref Gdk.Rectangle expose_area, Gtk.CellRendererState flags); internal static void InternalRender (GLib.GType gtype, Gtk.CellRenderer cell, Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { gtksharp_cellrenderer_invoke_render (gtype.Val, cell.Handle, window.Handle, widget.Handle, ref background_area, ref cell_area, ref expose_area, flags); } [DllImport("gtksharpglue-2")] static extern void gtksharp_cellrenderer_override_start_editing (IntPtr gtype, StartEditingDelegate cb); [GLib.CDeclCallback] delegate IntPtr StartEditingDelegate (IntPtr raw, IntPtr evnt, IntPtr widget, IntPtr path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, Gtk.CellRendererState flags); static StartEditingDelegate StartEditingCallback; static IntPtr StartEditing_cb (IntPtr raw, IntPtr evnt, IntPtr widget, IntPtr path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { try { CellRenderer obj = GLib.Object.GetObject (raw, false) as CellRenderer; Gdk.Event _event = new Gdk.Event (evnt); Widget widg = GLib.Object.GetObject (widget, false) as Gtk.Widget; CellEditable retval = obj.StartEditing (_event, widg, GLib.Marshaller.Utf8PtrToString (path), background_area, cell_area, flags); if (retval == null) return IntPtr.Zero; return retval.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideStartEditing (GLib.GType gtype) { if (StartEditingCallback == null) StartEditingCallback = new StartEditingDelegate (StartEditing_cb); gtksharp_cellrenderer_override_start_editing (gtype.Val, StartEditingCallback); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_cellrenderer_base_start_editing(IntPtr raw, IntPtr evnt, IntPtr widget, IntPtr path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, int flags); [GLib.DefaultSignalHandler (Type=typeof(Gtk.CellRenderer), ConnectionMethod="OverrideStartEditing")] public virtual Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (path); IntPtr raw_ret = gtksharp_cellrenderer_base_start_editing(Handle, evnt.Handle, widget.Handle, native, ref background_area, ref cell_area, (int) flags); GLib.Marshaller.Free (native); Gtk.CellEditable ret = (Gtk.CellEditable) GLib.Object.GetObject(raw_ret); return ret; } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_cellrenderer_invoke_start_editing(IntPtr gtype, IntPtr raw, IntPtr evnt, IntPtr widget, IntPtr path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, int flags); internal static Gtk.CellEditable InternalStartEditing(GLib.GType gtype, Gtk.CellRenderer cell, Gdk.Event evnt, Gtk.Widget widget, string path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (path); IntPtr raw_ret = gtksharp_cellrenderer_invoke_start_editing(gtype.Val, cell.Handle, evnt.Handle, widget.Handle, native, ref background_area, ref cell_area, (int) flags); GLib.Marshaller.Free (native); Gtk.CellEditable ret = GLib.Object.GetObject(raw_ret) as Gtk.CellEditable; return ret; } gtk-sharp-2.12.10/gtk/TreeIter.custom0000644000175000001440000000303611131156741014240 00000000000000// // To avoid ValueType.Equals which is slow // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override int GetHashCode () { return Stamp ^ (int) _user_data ^ (int) _user_data2 ^ (int) _user_data3; } public override bool Equals (object o) { if (o == null) return false; if (!(o is TreeIter)) return false; TreeIter ti = (TreeIter) o; return ti.Stamp == Stamp && ti._user_data == _user_data && ti._user_data2 == _user_data2 && ti._user_data3 == _user_data3; } public IntPtr UserData { get { return _user_data; } set { _user_data = value; } } gtk-sharp-2.12.10/gtk/TreePath.custom0000644000175000001440000000234611131156741014234 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // Patch submitted by malte on bug #49518 [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_tree_path_get_indices(IntPtr raw); public int [] Indices { get { IntPtr ptr = gtk_tree_path_get_indices(Handle); int [] arr = new int [Depth]; Marshal.Copy (ptr, arr, 0, Depth); return arr; } } public TreePath (int[] indices) : this () { foreach (int i in indices) AppendIndex (i); } public override bool Equals (object o) { if (!(o is TreePath)) return false; return (Compare (o as TreePath) == 0); } gtk-sharp-2.12.10/gtk/HBox.custom0000644000175000001440000000131611131156741013354 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public HBox () : this (false, 0) {} gtk-sharp-2.12.10/gtk/RadioActionEntry.cs0000644000175000001440000000316711131156741015033 00000000000000// RadioActionEntry.cs - Syntactic C# sugar for easily defining RadioActions. // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Gtk { public struct RadioActionEntry { public string name; public string stock_id; public string label; public string tooltip; public string accelerator; public int value; public RadioActionEntry (string name, string stock_id) : this (name, stock_id, null, null, null, 0) {} public RadioActionEntry (string name, string stock_id, string label, string accelerator, string tooltip) : this (name, stock_id, label, accelerator, tooltip, 0) {} public RadioActionEntry (string name, string stock_id, string label, string accelerator, string tooltip, int value) { this.name = name; this.stock_id = stock_id; this.label = label; this.accelerator = accelerator; this.tooltip = tooltip; this.value = value; } } } gtk-sharp-2.12.10/gtk/SelectionData.custom0000644000175000001440000000506511140654750015243 00000000000000// SelectionData.custom - customizations for Gtk.SelectionData // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] private static extern IntPtr gtk_selection_data_get_text (IntPtr selection_data); [DllImport("libgtk-win32-2.0-0.dll")] private static extern void gtk_selection_data_set_text (IntPtr selection_data, IntPtr str, int len); public string Text { get { IntPtr text = gtk_selection_data_get_text (Handle); if (text == IntPtr.Zero) return null; return GLib.Marshaller.PtrToStringGFree (text); } set { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (value); gtk_selection_data_set_text (Handle, native, -1); GLib.Marshaller.Free (native); } } [DllImport("gtksharpglue-2")] private static extern IntPtr gtksharp_gtk_selection_data_get_data_pointer (IntPtr selection_data); public byte[] Data { get { IntPtr data_ptr = gtksharp_gtk_selection_data_get_data_pointer (Handle); byte[] result = new byte [Length]; Marshal.Copy (data_ptr, result, 0, Length); return result; } } public void Set(Gdk.Atom type, int format, byte[] data) { Set(type, format, data, data.Length); } [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr ptr); [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_selection_data_get_targets(IntPtr raw, out IntPtr targets, out int n_atoms); public Gdk.Atom [] Targets { get { IntPtr target_ptr; int count; if (gtk_selection_data_get_targets (Handle, out target_ptr, out count)) { Gdk.Atom[] result = new Gdk.Atom [count]; for (int i = 0; i < count; i++) { IntPtr atom = Marshal.ReadIntPtr (target_ptr, count * IntPtr.Size); result [i] = new Gdk.Atom (atom); } g_free (target_ptr); return result; } else return new Gdk.Atom [0]; } } gtk-sharp-2.12.10/gtk/Builder.custom0000644000175000001440000002732111131156741014106 00000000000000// Builder.custom - customizations to Gtk.Builder // // Authors: Stephane Delcroix // The biggest part of this code is adapted from glade#, by // Ricardo Fernández Pascual // Rachel Hestilow // // Copyright (c) 2002 Ricardo Fernández Pascual // Copyright (c) 2003 Rachel Hestilow // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if GTK_SHARP_2_14 [System.Serializable] public class HandlerNotFoundException : SystemException { string handler_name; string signal_name; System.Reflection.EventInfo evnt; Type delegate_type; public HandlerNotFoundException (string handler_name, string signal_name, System.Reflection.EventInfo evnt, Type delegate_type) : this (handler_name, signal_name, evnt, delegate_type, null) { } public HandlerNotFoundException (string handler_name, string signal_name, System.Reflection.EventInfo evnt, Type delegate_type, Exception inner) : base ("No handler " + handler_name + " found for signal " + signal_name, inner) { this.handler_name = handler_name; this.signal_name = signal_name; this.evnt = evnt; this.delegate_type = delegate_type; } public HandlerNotFoundException (string message, string handler_name, string signal_name, System.Reflection.EventInfo evnt, Type delegate_type) : base ((message != null) ? message : "No handler " + handler_name + " found for signal " + signal_name, null) { this.handler_name = handler_name; this.signal_name = signal_name; this.evnt = evnt; this.delegate_type = delegate_type; } protected HandlerNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base (info, context) { handler_name = info.GetString ("HandlerName"); signal_name = info.GetString ("SignalName"); evnt = info.GetValue ("Event", typeof (System.Reflection.EventInfo)) as System.Reflection.EventInfo; delegate_type = info.GetValue ("DelegateType", typeof (Type)) as Type; } public string HandlerName { get { return handler_name; } } public string SignalName { get { return signal_name; } } public System.Reflection.EventInfo Event { get { return evnt; } } public Type DelegateType { get { return delegate_type; } } public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData (info, context); info.AddValue ("HandlerName", handler_name); info.AddValue ("SignalName", signal_name); info.AddValue ("Event", evnt); info.AddValue ("DelegateType", delegate_type); } } [AttributeUsage (AttributeTargets.Field)] public class ObjectAttribute : Attribute { private string name; private bool specified; public ObjectAttribute (string name) { specified = true; this.name = name; } public ObjectAttribute () { specified = false; } public string Name { get { return name; } } public bool Specified { get { return specified; } } } public IntPtr GetRawObject(string name) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); IntPtr raw_ret = gtk_builder_get_object(Handle, native_name); GLib.Marshaller.Free (native_name); return raw_ret; } public Builder (System.IO.Stream s) : this (s, null) { } public Builder (System.IO.Stream s, string translation_domain) { if (s == null) throw new ArgumentNullException ("s"); int size = (int) s.Length; byte[] buffer = new byte[size]; s.Read (buffer, 0, size); s.Close (); AddFromString(System.Text.Encoding.UTF8.GetString (buffer)); TranslationDomain = translation_domain; } public Builder (string resource_name) : this (resource_name, null) { } public Builder (string resource_name, string translation_domain) : this (System.Reflection.Assembly.GetEntryAssembly (), resource_name, translation_domain) { } public Builder (System.Reflection.Assembly assembly, string resource_name, string translation_domain) : this () { if (GetType() != typeof (Builder)) throw new InvalidOperationException ("Cannot chain to this constructor from subclasses."); if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); System.IO.Stream s = assembly.GetManifestResourceStream (resource_name); if (s == null) throw new ArgumentException ("Cannot get resource file '" + resource_name + "'", "resource_name"); int size = (int) s.Length; byte[] buffer = new byte[size]; s.Read (buffer, 0, size); s.Close (); AddFromString(System.Text.Encoding.UTF8.GetString (buffer)); TranslationDomain = translation_domain; } public void Autoconnect (object handler) { BindFields (handler); (new SignalConnector (this, handler)).ConnectSignals (); } public void Autoconnect (Type handler_class) { BindFields (handler_class); (new SignalConnector (this, handler_class)).ConnectSignals (); } class SignalConnector { Builder builder; Type handler_type; object handler; public SignalConnector (Builder builder, object handler) { this.builder = builder; this.handler = handler; handler_type = handler.GetType (); } public SignalConnector (Builder builder, Type handler_type) { this.builder = builder; this.handler = null; this.handler_type = handler_type; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_builder_connect_signals_full(IntPtr raw, GtkSharp.BuilderConnectFuncNative func, IntPtr user_data); public void ConnectSignals() { GtkSharp.BuilderConnectFuncWrapper func_wrapper = new GtkSharp.BuilderConnectFuncWrapper (ConnectFunc); gtk_builder_connect_signals_full(builder.Handle, func_wrapper.NativeDelegate, IntPtr.Zero); } public void ConnectFunc (Builder builder, GLib.Object objekt, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags) { /* search for the event to connect */ System.Reflection.MemberInfo[] evnts = objekt.GetType (). FindMembers (System.Reflection.MemberTypes.Event, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic, SignalFilter, signal_name); foreach (System.Reflection.EventInfo ei in evnts) { bool connected = false; System.Reflection.MethodInfo add = ei.GetAddMethod (); System.Reflection.ParameterInfo[] addpi = add.GetParameters (); if (addpi.Length == 1) { /* this should be always true, unless there's something broken */ Type delegate_type = addpi[0].ParameterType; /* look for an instance method */ if (connect_object != null || handler != null) try { Delegate d = Delegate.CreateDelegate (delegate_type, connect_object != null ? connect_object : handler, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; } catch (ArgumentException) { /* ignore if there is not such instance method */ } /* look for a static method if no instance method has been found */ if (!connected && handler_type != null) try { Delegate d = Delegate.CreateDelegate (delegate_type, handler_type, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; } catch (ArgumentException) { /* ignore if there is not such static method */ } if (!connected) { string msg = ExplainError (ei.Name, delegate_type, handler_type, handler_name); throw new HandlerNotFoundException (msg, handler_name, signal_name, ei, delegate_type); } } } } static bool SignalFilter (System.Reflection.MemberInfo m, object filterCriteria) { string signame = (filterCriteria as string); object[] attrs = m.GetCustomAttributes (typeof (GLib.SignalAttribute), false); if (attrs.Length > 0) { foreach (GLib.SignalAttribute a in attrs) { if (signame == a.CName) { return true; } } return false; } else { /* this tries to match the names when no attibutes are present. It is only a fallback. */ signame = signame.ToLower ().Replace ("_", ""); string evname = m.Name.ToLower (); return signame == evname; } } static string GetSignature (System.Reflection.MethodInfo method) { if (method == null) return null; System.Reflection.ParameterInfo [] parameters = method.GetParameters (); System.Text.StringBuilder sb = new System.Text.StringBuilder (); sb.Append ('('); foreach (System.Reflection.ParameterInfo info in parameters) { sb.Append (info.ParameterType.ToString ()); sb.Append (','); } if (sb.Length != 0) sb.Length--; sb.Append (')'); return sb.ToString (); } static string GetSignature (Type delegate_type) { System.Reflection.MethodInfo method = delegate_type.GetMethod ("Invoke"); return GetSignature (method); } const System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Instance; static string GetSignature (Type klass, string method_name) { try { System.Reflection.MethodInfo method = klass.GetMethod (method_name, flags); return GetSignature (method); } catch { // May be more than one method with that name and none matches return null; } } static string ExplainError (string event_name, Type deleg, Type klass, string method) { if (deleg == null || klass == null || method == null) return null; System.Text.StringBuilder sb = new System.Text.StringBuilder (); string expected = GetSignature (deleg); string actual = GetSignature (klass, method); if (actual == null) return null; sb.AppendFormat ("The handler for the event {0} should take '{1}', " + "but the signature of the provided handler ('{2}') is '{3}'\n", event_name, expected, method, actual); return sb.ToString (); } } void BindFields (object target) { BindFields (target, target.GetType ()); } void BindFields (Type type) { BindFields (null, type); } void BindFields (object target, Type type) { System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.DeclaredOnly; if (target != null) flags |= System.Reflection.BindingFlags.Instance; else flags |= System.Reflection.BindingFlags.Static; do { System.Reflection.FieldInfo[] fields = type.GetFields (flags); if (fields == null) return; foreach (System.Reflection.FieldInfo field in fields) { object[] attrs = field.GetCustomAttributes (typeof (ObjectAttribute), false); if (attrs == null || attrs.Length == 0) continue; // The widget to field binding must be 1:1, so only check // the first attribute. ObjectAttribute attr = (ObjectAttribute) attrs[0]; GLib.Object gobject; if (attr.Specified) gobject = GetObject (attr.Name); else gobject = GetObject (field.Name); if (gobject != null) try { field.SetValue (target, gobject, flags, null, null); } catch (Exception e) { Console.WriteLine ("Unable to set value for field " + field.Name); throw e; } } type = type.BaseType; } while (type != typeof(object) && type != null); } #endif gtk-sharp-2.12.10/gtk/AccelKey.custom0000644000175000001440000000152111131156741014172 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public AccelKey (Gdk.Key key, Gdk.ModifierType mods, Gtk.AccelFlags flags) { this.Key = key; this.AccelMods = mods; this._bitfield0 = 0; this.AccelFlags = flags; } gtk-sharp-2.12.10/gtk/ImageMenuItem.custom0000644000175000001440000000276411131156741015212 00000000000000// Gtk.ImageMenuItem.custom - Gtk ImageMenuItem class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_image_menu_item_new_with_mnemonic (IntPtr label); public ImageMenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (ImageMenuItem)) { CreateNativeObject (new string [0], new GLib.Value [0]); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); Add (al); al.AccelWidget = this; return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_image_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); } gtk-sharp-2.12.10/gtk/HScale.custom0000644000175000001440000000273711131156741013663 00000000000000// Gtk.HScale.custom - Gtk HScale class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_hscale_new_with_range (double min, double max, double step); public HScale (double min, double max, double step) : base (IntPtr.Zero) { if (GetType() != typeof (HScale)) { Adjustment adj = new Adjustment (min, min, max, step, 10 * step, 0); string[] names = new string [1]; GLib.Value[] vals = new GLib.Value [1]; names [0] = "adjustment"; vals [0] = new GLib.Value (adj); CreateNativeObject (names, vals); vals [0].Dispose (); return; } Raw = gtk_hscale_new_with_range (min, max, step); } gtk-sharp-2.12.10/gtk/TreeModel.custom0000644000175000001440000000342411131156741014376 00000000000000// Gtk.TreeModel.Custom - Gtk TreeModel interface customizations // // Author: Kristian Rietveld // // Copyright (c) 2002 Kristian Rietveld // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. /// IterChildren Method /// To be completed bool IterChildren (out Gtk.TreeIter iter); /// IterNChildren Method /// To be completed int IterNChildren (); /// IterNthChild Method /// To be completed bool IterNthChild (out Gtk.TreeIter iter, int n); void SetValue (Gtk.TreeIter iter, int column, bool value); void SetValue (Gtk.TreeIter iter, int column, double value); void SetValue (Gtk.TreeIter iter, int column, int value); void SetValue (Gtk.TreeIter iter, int column, string value); void SetValue (Gtk.TreeIter iter, int column, float value); void SetValue (Gtk.TreeIter iter, int column, uint value); void SetValue (Gtk.TreeIter iter, int column, object value); object GetValue(Gtk.TreeIter iter, int column); event RowsReorderedHandler RowsReordered; gtk-sharp-2.12.10/gtk/TextChildAnchor.custom0000644000175000001440000000243711131156741015544 00000000000000// TextChildAnchor.custom - customizations to Gtk.TextChildAnchor // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_child_anchor_get_widgets (IntPtr raw); public Widget[] Widgets { get { IntPtr raw_ret = gtk_text_child_anchor_get_widgets (Handle); if (raw_ret == IntPtr.Zero) return new Widget [0]; GLib.List list = new GLib.List(raw_ret); Widget[] result = new Widget [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Widget; return result; } } gtk-sharp-2.12.10/gtk/CellRendererPixbuf.custom0000644000175000001440000000354511131156741016246 00000000000000// // CellRendererPixbuf.custom - Gtk CellRendererPixbuf class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererPixbuf.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererPixbuf.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererPixbuf.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.10/gtk/TreeModelSort.custom0000644000175000001440000001637111131156741015253 00000000000000// Gtk.TreeModelSort.Custom - Gtk TreeModelSort class customizations // // Author: Kristian Rietveld // // Copyright (c) 2002 Kristian Rietveld // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { throw new NotImplementedException (); } public Gtk.TreeIter AppendValues (params object[] values) { return AppendValues ((Array) values); } public object GetValue (Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { SetSortFunc (sort_column_id, sort_func); } [Obsolete ("Replaced by DefaultSortFunc property.")] public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } [GLib.CDeclCallback] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); TreeModelSort sender = GLib.Object.GetObject (arg0) as TreeModelSort; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = arg2 == IntPtr.Zero ? sender.IterNChildren () : sender.IterNChildren ((TreeIter)args.Args[1]); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { TreeModelSort store = GLib.Object.GetObject (tree_model, false) as TreeModelSort; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (iter); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelSort), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelSort), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); GLib.Value[] vals = new GLib.Value [4]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (path); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (iter); inst_and_params.Append (vals [2]); int cnt = IterNChildren (iter); IntPtr new_order_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (int)) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); vals [3] = new GLib.Value (new_order_ptr); inst_and_params.Append (vals [3]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.10/gtk/FileSelection.custom0000644000175000001440000000430211304772724015246 00000000000000// // Gtk.FileSelection.custom - Gtk FileSelection class customizations // // Author: Duncan Mak (duncan@ximian.com) // Joe Shaw (joe@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public class FSButton : Gtk.Button { FileSelection file_sel; public FileSelection FileSelection { get { return file_sel; } } internal FSButton (FileSelection fs, IntPtr raw) : base (raw) { file_sel = fs; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_selection_get_selections (IntPtr handle); [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_selection_get_selections_utf8 (IntPtr handle); [DllImport("libglib-2.0-0.dll")] static extern void g_strfreev (IntPtr handle); public string[] Selections { get { IntPtr strv; switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: strv = gtk_file_selection_get_selections_utf8 (Handle); break; default: strv = gtk_file_selection_get_selections (Handle); break; } System.Collections.ArrayList result = new System.Collections.ArrayList (); int i = 0; IntPtr strptr = Marshal.ReadIntPtr (strv, IntPtr.Size * i++); while (strptr != IntPtr.Zero) { result.Add (GLib.Marshaller.FilenamePtrToString (strptr)); strptr = Marshal.ReadIntPtr (strv, IntPtr.Size * i++); } g_strfreev (strv); return result.ToArray (typeof (string)) as string[]; } } gtk-sharp-2.12.10/gtk/FileChooserButton.custom0000644000175000001440000000452711304770751016126 00000000000000// Gtk.FileChooserButton.custom - Gtk FileChooserButton customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_get_filenames (IntPtr raw); [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_get_filenames_utf8 (IntPtr raw); public string[] Filenames { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_get_filenames_utf8 (Handle); else raw_ret = gtk_file_chooser_get_filenames (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return (string[]) GLib.Marshaller.ListToArray (list, typeof (string)); } } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_list_shortcut_folders (IntPtr raw); [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_list_shortcut_folders_utf8 (IntPtr raw); public string[] ShortcutFolders { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_list_shortcut_folders_utf8 (Handle); else raw_ret = gtk_file_chooser_list_shortcut_folders (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return (string[]) GLib.Marshaller.ListToArray (list, typeof (string)); } } gtk-sharp-2.12.10/gtk/Table.custom0000644000175000001440000000145311131156741013545 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. /* FIXME: Uncomment this when the default ctor flag is added to the XML public Table() { Raw = gtk_table_new (0, 0, false); } */ gtk-sharp-2.12.10/gtk/gtk-sharp-2.0.pc.in0000644000175000001440000000101511131156741014402 00000000000000prefix=${pcfiledir}/../.. exec_prefix=${prefix} libdir=${exec_prefix}/lib gapidir=${prefix}/share/gapi-2.0 Name: Gtk# Description: Gtk# - GNOME .NET Binding Version: @VERSION@ Cflags: -I:${gapidir}/pango-api.xml -I:${gapidir}/atk-api.xml -I:${gapidir}/gdk-api.xml -I:${gapidir}/gtk-api.xml Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/pango-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/atk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gdk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-sharp.dll Requires: glib-sharp-2.0 gtk-sharp-2.12.10/gtk/RadioButton.custom0000644000175000001440000000215211131156741014745 00000000000000// // RadioButton.custom // // Author: John Luke // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_radio_button_new_with_mnemonic (IntPtr group, IntPtr label); // creates a new group for this RadioButton public RadioButton (string label) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_radio_button_new_with_mnemonic (IntPtr.Zero, native); GLib.Marshaller.Free (native); } gtk-sharp-2.12.10/gtk/StatusIcon.custom0000644000175000001440000000651611254303501014611 00000000000000// StatusIcon.custom - customizations to Gtk.StatusIcon // // Authors: Mike Kestner // Authors: Stephane Delcroix // // Copyright (c) 2007-2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by (out Screen, out Rectangle, out Orientation) overload")] public bool GetGeometry (Gdk.Screen screen, Gdk.Rectangle area, out Orientation orientation) { Gdk.Screen junk; return GetGeometry (out junk, out area, out orientation); } [DllImport("gtksharpglue-2")] static extern void gtksharp_gtk_status_icon_present_menu (IntPtr raw, IntPtr menu, uint button, uint activate_time); public void PresentMenu (Menu menu, uint button, uint activate_time) { gtksharp_gtk_status_icon_present_menu (Handle, menu == null ? IntPtr.Zero : menu.Handle, button, activate_time); } [Obsolete ("use the File property instead")] public string FromFile { set { IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value); gtk_status_icon_set_from_file(Handle, native_value); GLib.Marshaller.Free (native_value); } } [Obsolete ("use the IconName property instead")] public string FromIconName { set { IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value); gtk_status_icon_set_from_icon_name(Handle, native_value); GLib.Marshaller.Free (native_value); } } [Obsolete ("use the Pixbuf property instead")] public Gdk.Pixbuf FromPixbuf { set { gtk_status_icon_set_from_pixbuf(Handle, value == null ? IntPtr.Zero : value.Handle); } } [Obsolete ("use the Stock property instead")] public string FromStock { set { IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value); gtk_status_icon_set_from_stock(Handle, native_value); GLib.Marshaller.Free (native_value); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gtk_status_icon_get_geometry(IntPtr raw, out IntPtr screen, IntPtr area, out int orientation); public bool GetGeometry(out Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation) { IntPtr native_screen; IntPtr native_area = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (Gdk.Rectangle))); int native_orientation; bool ret = gtk_status_icon_get_geometry(Handle, out native_screen, native_area, out native_orientation); if (ret) { screen = GLib.Object.GetObject(native_screen) as Gdk.Screen; area = Gdk.Rectangle.New (native_area); orientation = (Gtk.Orientation) native_orientation; } else { screen = null; area = Gdk.Rectangle.Zero; orientation = Gtk.Orientation.Horizontal; } Marshal.FreeHGlobal (native_area); return ret; } gtk-sharp-2.12.10/gtk/ScrolledWindow.custom0000644000175000001440000000202411131156741015450 00000000000000 // // Gtk.ScrolledWindow.custom - Gtk ScrolledWindow class customizations // // Author: Radek Doulik (rodo@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public ScrolledWindow () : this (null, null) { SetPolicy (PolicyType.Automatic, PolicyType.Automatic); } gtk-sharp-2.12.10/gtk/CellRendererToggle.custom0000644000175000001440000000354511131156741016232 00000000000000// // CellRendererToggle.custom - Gtk CellRendererToggle class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererToggle.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererToggle.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererToggle.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.10/gtk/Accel.custom0000644000175000001440000001242511131156741013526 00000000000000// Accel.custom - customizations to Gtk.Accel // // Authors: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_accel_map_save(IntPtr file_name); [Obsolete("Moved to AccelMap class. Use AccelMap.Save instead")] public static void MapSave(string file_name) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (file_name); gtk_accel_map_save (native); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_accel_map_add_filter(IntPtr filter_pattern); [Obsolete("Moved to AccelMap class. Use AccelMap.AddFilter instead")] public static void MapAddFilter(string filter_pattern) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (filter_pattern); gtk_accel_map_add_filter (native); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_accel_map_foreach_unfiltered(IntPtr data, GtkSharp.AccelMapForeachNative foreach_func); [Obsolete("Moved to AccelMap class. Use AccelMap.ForeachUnfiltered instead")] public static void MapForeachUnfiltered(IntPtr data, Gtk.AccelMapForeach foreach_func) { GtkSharp.AccelMapForeachWrapper foreach_func_wrapper = new GtkSharp.AccelMapForeachWrapper (foreach_func); gtk_accel_map_foreach_unfiltered(data, foreach_func_wrapper.NativeDelegate); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_accel_map_save_fd(int fd); [Obsolete("Moved to AccelMap class. Use AccelMap.SaveFd instead")] public static void MapSaveFd(int fd) { gtk_accel_map_save_fd(fd); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_accel_map_add_entry(IntPtr accel_path, uint accel_key, int accel_mods); [Obsolete("Moved to AccelMap class. Use AccelMap.AddEntry instead")] public static void MapAddEntry(string accel_path, uint accel_key, Gdk.ModifierType accel_mods) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (accel_path); gtk_accel_map_add_entry(native, accel_key, (int) accel_mods); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_accel_map_load_fd(int fd); [Obsolete("Moved to AccelMap class. Use AccelMap.LoadFd instead")] public static void MapLoadFd(int fd) { gtk_accel_map_load_fd(fd); } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_accel_map_lookup_entry(IntPtr accel_path, ref Gtk.AccelKey key); [Obsolete("Moved to AccelMap class. Use AccelMap.LookupEntry instead")] public static bool MapLookupEntry(string accel_path, Gtk.AccelKey key) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (accel_path); bool ret = gtk_accel_map_lookup_entry(native, ref key); GLib.Marshaller.Free (native); return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_accel_map_change_entry(IntPtr accel_path, uint accel_key, int accel_mods, bool replace); [Obsolete("Moved to AccelMap class. Use AccelMap.ChangeEntry instead")] public static bool MapChangeEntry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (accel_path); bool ret = gtk_accel_map_change_entry (native, accel_key, (int) accel_mods, replace); GLib.Marshaller.Free (native); return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_accel_map_load (IntPtr file_name); [Obsolete("Moved to AccelMap class. Use AccelMap.Load instead")] public static void MapLoad (string file_name) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (file_name); gtk_accel_map_load (native); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_accel_map_foreach(IntPtr data, GtkSharp.AccelMapForeachNative foreach_func); [Obsolete("Moved to AccelMap class. Use AccelMap.Foreach instead")] public static void MapForeach(IntPtr data, Gtk.AccelMapForeach foreach_func) { GtkSharp.AccelMapForeachWrapper foreach_func_wrapper = new GtkSharp.AccelMapForeachWrapper (foreach_func); gtk_accel_map_foreach(data, foreach_func_wrapper.NativeDelegate); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_accel_groups_from_object (IntPtr obj); public static AccelGroup[] GroupsFromObject (GLib.Object obj) { IntPtr raw_ret = gtk_accel_groups_from_object(obj.Handle); if (raw_ret == IntPtr.Zero) return new AccelGroup [0]; GLib.SList list = new GLib.SList(raw_ret); AccelGroup[] result = new AccelGroup [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as AccelGroup; return result; } gtk-sharp-2.12.10/gtk/Style.custom0000644000175000001440000002502211140654750013617 00000000000000// // Gtk.Style.custom - Gtk Style class customizations // // Authors: Rachel Hestilow // Radek Doulik // Mike Kestner // // Copyright (C) 2002, 2003 Rachel Hestilow, Radek Doulik // Copyright (C) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. static Gdk.GC EnsureGC (IntPtr raw) { if (raw == IntPtr.Zero) return null; Gdk.GC ret = (Gdk.GC) GLib.Object.GetObject (raw, false); if (ret == null) ret = new Gdk.GC (raw); return ret; } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_white_gc (IntPtr style); public Gdk.GC WhiteGC { get { return EnsureGC (gtksharp_gtk_style_get_white_gc (Handle)); } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_black_gc (IntPtr style); public Gdk.GC BlackGC { get { return EnsureGC (gtksharp_gtk_style_get_black_gc (Handle)); } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_fg_gc (IntPtr style, int i); public Gdk.GC ForegroundGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_fg_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_set_fg_gc (IntPtr style, int i, IntPtr gc); public void SetForegroundGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_fg_gc (Handle, (int) state, gc.Handle); } public Gdk.GC[] ForegroundGCs { get { Gdk.GC[] ret = new Gdk.GC[5]; for (int i = 0; i < 5; i++) ret[i] = EnsureGC (gtksharp_gtk_style_get_fg_gc (Handle, i)); return ret; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_bg_gc (IntPtr style, int i); public Gdk.GC BackgroundGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_bg_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_set_bg_gc (IntPtr style, int i, IntPtr gc); public void SetBackgroundGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_bg_gc (Handle, (int) state, gc.Handle); } public Gdk.GC[] BackgroundGCs { get { Gdk.GC[] ret = new Gdk.GC[5]; for (int i = 0; i < 5; i++) ret[i] = EnsureGC (gtksharp_gtk_style_get_bg_gc (Handle, i)); return ret; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_base_gc (IntPtr style, int i); public Gdk.GC BaseGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_base_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_set_base_gc (IntPtr style, int i, IntPtr gc); public void SetBaseGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_base_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_text_gc (IntPtr style, int i); public Gdk.GC TextGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_text_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_set_text_gc (IntPtr style, int i, IntPtr gc); public void SetTextGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_text_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_text_aa_gc (IntPtr style, int i); public Gdk.GC TextAAGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_text_aa_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_set_text_aa_gc (IntPtr style, int i, IntPtr gc); public void SetTextAAGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_text_aa_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_light_gc (IntPtr style, int i); public Gdk.GC LightGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_light_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_set_light_gc (IntPtr style, int i, IntPtr gc); public void SetLightGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_light_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_dark_gc (IntPtr style, int i); public Gdk.GC DarkGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_dark_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_set_dark_gc (IntPtr style, int i, IntPtr gc); public void SetDarkGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_dark_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_mid_gc (IntPtr style, int i); public Gdk.GC MidGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_mid_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_set_mid_gc (IntPtr style, int i, IntPtr gc); public void SetMidGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_mid_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_bg (IntPtr style, int i); public Gdk.Color Background (StateType state) { IntPtr raw = gtksharp_gtk_style_get_bg (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] Backgrounds { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_bg (Handle, i)); return ret; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_fg (IntPtr style, int i); public Gdk.Color Foreground (StateType state) { IntPtr raw = gtksharp_gtk_style_get_fg (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] Foregrounds { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_fg (Handle, i)); return ret; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_text (IntPtr style, int i); public Gdk.Color Text (StateType state) { IntPtr raw = gtksharp_gtk_style_get_text (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] TextColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_text (Handle, i)); return ret; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_base (IntPtr style, int i); public Gdk.Color Base (StateType state) { IntPtr raw = gtksharp_gtk_style_get_base (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] BaseColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_base (Handle, i)); return ret; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_light (IntPtr style, int i); public Gdk.Color Light (StateType state) { IntPtr raw = gtksharp_gtk_style_get_light (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] LightColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_light (Handle, i)); return ret; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_mid (IntPtr style, int i); public Gdk.Color Mid (StateType state) { IntPtr raw = gtksharp_gtk_style_get_mid (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] MidColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_mid (Handle, i)); return ret; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_dark (IntPtr style, int i); public Gdk.Color Dark (StateType state) { IntPtr raw = gtksharp_gtk_style_get_dark (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] DarkColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_dark (Handle, i)); return ret; } } [DllImport ("gtksharpglue-2")] static extern int gtksharp_gtk_style_get_thickness (IntPtr style, int x_axis); [DllImport ("gtksharpglue-2")] static extern void gtksharp_gtk_style_set_thickness (IntPtr style, int value); public int XThickness { get { return gtksharp_gtk_style_get_thickness (Handle, 0); } set { gtksharp_gtk_style_set_thickness (Handle, value); } } public int YThickness { get { return gtksharp_gtk_style_get_thickness (Handle, 1); } set { gtksharp_gtk_style_set_thickness (Handle, -value); } } [DllImport ("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_font_description (IntPtr style); public Pango.FontDescription FontDescription { get { IntPtr Raw = gtksharp_gtk_style_get_font_description (Handle); if (Raw == IntPtr.Zero) return null; Pango.FontDescription ret = (Pango.FontDescription) GLib.Opaque.GetOpaque (Raw, typeof (Pango.FontDescription), false); if (ret == null) ret = new Pango.FontDescription (Raw); return ret; } } [DllImport ("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_style_get_bg_pixmap (IntPtr style, int state); [DllImport ("gtksharpglue-2")] static extern void gtksharp_gtk_style_set_bg_pixmap (IntPtr style, int state, IntPtr pixmap); public Gdk.Pixmap BgPixmap (StateType state) { IntPtr raw = gtksharp_gtk_style_get_bg_pixmap (Handle, (int) state); return GLib.Object.GetObject (raw) as Gdk.Pixmap; } public Gdk.Pixmap[] BgPixmaps { get { Gdk.Pixmap[] ret = new Gdk.Pixmap [5]; for (int i = 0; i < 5; i++) ret [i] = GLib.Object.GetObject (gtksharp_gtk_style_get_dark (Handle, i)) as Gdk.Pixmap; return ret; } } public void SetBgPixmap (StateType state, Gdk.Pixmap pixmap) { gtksharp_gtk_style_set_bg_pixmap (Handle, (int) state, pixmap == null ? IntPtr.Zero : pixmap.Handle); } gtk-sharp-2.12.10/gtk/TreeEnumerator.cs0000644000175000001440000000461011131156741014550 00000000000000// TreeEnumerator.cs - .NET-style Enumerator for TreeModel classes // // Author: Eric Butler // // Copyright (c) 2005 Eric Butler // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; using System.Collections; namespace Gtk { internal class TreeEnumerator : IEnumerator { private Gtk.TreeIter iter; private Gtk.TreeModel model; private bool reset = true; private bool changed = false; public TreeEnumerator (TreeModel model) { this.model = model; model.RowChanged += new RowChangedHandler (row_changed); model.RowDeleted += new RowDeletedHandler (row_deleted); model.RowInserted += new RowInsertedHandler (row_inserted); model.RowsReordered += new RowsReorderedHandler (rows_reordered); } public object Current { get { if (reset == false) { object[] row = new object[model.NColumns]; for (int x = 0; x < model.NColumns; x++) { row[x] = model.GetValue(iter, x); } return row; } else { throw new InvalidOperationException("Enumerator not started."); } } } public bool MoveNext() { if (changed == false) { if (reset == true) { reset = false; return model.GetIterFirst(out iter); } else { return model.IterNext(ref iter); } } else { throw new InvalidOperationException("List has changed."); } } public void Reset() { reset = true; changed = false; } private void row_changed(object o, RowChangedArgs args) { changed = true; } private void row_deleted(object o, RowDeletedArgs args) { changed = true; } private void row_inserted(object o, RowInsertedArgs args) { changed = true; } private void rows_reordered(object o, RowsReorderedArgs args) { changed = true; } } } gtk-sharp-2.12.10/gtk/CellRendererCombo.custom0000644000175000001440000000354011131156741016043 00000000000000// // CellRendererCombo.custom - Gtk CellRendererCombo class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererCombo.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererCombo.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererCombo.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.10/gtk/Timeout.cs0000644000175000001440000000403111131156741013232 00000000000000// Gtk.Timeout.cs - Gtk Timeout implementation. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Runtime.InteropServices; [Obsolete ("Replaced by GLib.Timeout")] public class Timeout { [Obsolete ("Replaced by GLib.Source.Remove")] public static void Remove (uint timeout_handler_id) { GLib.Source.Remove (timeout_handler_id); } [Obsolete ("Replaced by GLib.Timeout.Add")] public static uint AddFull (uint interval, Gtk.Function function, Gtk.CallbackMarshal marshal, IntPtr data, Gtk.DestroyNotify destroy) { if (marshal != null || destroy != null) Console.WriteLine ("marshal, data, and destroy parameters ignored by Gtk.Timeout.AddFull ()."); return Add (interval, function); } class GTimeoutProxy { GLib.TimeoutHandler handler; Function function; public GTimeoutProxy (Gtk.Function function) { this.function = function; handler = new GLib.TimeoutHandler (Invoke); } public GLib.TimeoutHandler Handler { get { return handler; } } bool Invoke () { return function (); } } [Obsolete ("Replaced by GLib.Timeout.Add")] public static uint Add (uint interval, Gtk.Function function) { GTimeoutProxy proxy = new GTimeoutProxy (function); return GLib.Timeout.Add (interval, proxy.Handler); } } } gtk-sharp-2.12.10/gtk/ActionEntry.cs0000644000175000001440000000312711131156741014050 00000000000000// ActionEntry.cs - Syntactic C# sugar for easily defining Actions. // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Gtk { public struct ActionEntry { public string name; public string stock_id; public string label; public string tooltip; public string accelerator; public EventHandler activated; public ActionEntry (string name, string stock_id) : this (name, stock_id, null, null, null, null) {} public ActionEntry (string name, string stock_id, EventHandler activated) : this (name, stock_id, null, null, null, activated) {} public ActionEntry (string name, string stock_id, string label, string accelerator, string tooltip, EventHandler activated) { this.name = name; this.stock_id = stock_id; this.label = label; this.accelerator = accelerator; this.tooltip = tooltip; this.activated = activated; } } } gtk-sharp-2.12.10/gtk/TextBufferSerializeFunc.cs0000644000175000001440000000074511305001021016335 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the TextBufferSerializeFunc; see https://bugzilla.novell.com/show_bug.cgi?id=555495 // The generated code may have been modified as part of this fix; see textbuffer-serializefunc.patch namespace Gtk { using System; public delegate byte [] TextBufferSerializeFunc(Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, out ulong length); } gtk-sharp-2.12.10/gtk/Button.custom0000644000175000001440000000300711131156741013766 00000000000000// Gtk.Button.custom - Gtk Button class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_button_new_from_stock(IntPtr stock_id); public Button (string stock_id) : base (IntPtr.Zero) { if (GetType () != typeof (Button)) { GLib.Value[] vals = new GLib.Value [2]; string[] names = new string [2]; names [0] = "label"; vals [0] = new GLib.Value (stock_id); names [1] = "use_stock"; vals [1] = new GLib.Value (true); CreateNativeObject (names, vals); return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (stock_id); Raw = gtk_button_new_from_stock (native); GLib.Marshaller.Free (native); } public Button (Widget widget) : this () { Add (widget); } gtk-sharp-2.12.10/gtk/CellView.custom0000644000175000001440000000233411131156741014227 00000000000000// Gtk.CellView.custom - Gtk CellView customizations // // Authors: Todd Berman // Mike Kestner // // Copyright (c) 2004 Todd Berman // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } gtk-sharp-2.12.10/gtk/ToggleActionEntry.cs0000644000175000001440000000357011131156741015214 00000000000000// ToggleActionEntry.cs - Syntactic C# sugar for easily defining ToggleActions. // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Gtk { public struct ToggleActionEntry { public string name; public string stock_id; public string label; public string tooltip; public string accelerator; public EventHandler activated; public bool active; public ToggleActionEntry (string name, string stock_id) : this (name, stock_id, null, null, null, null, false) {} public ToggleActionEntry (string name, string stock_id, EventHandler activated) : this (name, stock_id, null, null, null, activated, false) {} public ToggleActionEntry (string name, string stock_id, EventHandler activated, bool active) : this (name, stock_id, null, null, null, activated, active) {} public ToggleActionEntry (string name, string stock_id, string label, string accelerator, string tooltip, EventHandler activated, bool active) { this.name = name; this.stock_id = stock_id; this.label = label; this.accelerator = accelerator; this.tooltip = tooltip; this.activated = activated; this.active = active; } } } gtk-sharp-2.12.10/gtk/Viewport.custom0000644000175000001440000000154311131156741014335 00000000000000// Customizations for Viewport. // Author: Lee Mallabone // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // Make a default constructor that wraps typical usage. public Viewport (): this (null, null) { } gtk-sharp-2.12.10/gtk/Stock.custom0000644000175000001440000000434111131156741013600 00000000000000// Stock.custom - customizations to Gtk.Stock // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_stock_list_ids (); public static string[] ListIds () { IntPtr raw_ret = gtk_stock_list_ids (); if (raw_ret == IntPtr.Zero) return new string [0]; GLib.SList list = new GLib.SList(raw_ret, typeof (string)); string[] result = new string [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = (string) list [i]; return result; } [StructLayout(LayoutKind.Sequential)] struct ConstStockItem { public IntPtr StockId; public IntPtr Label; public Gdk.ModifierType Modifier; public uint Keyval; public IntPtr TranslationDomain; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_stock_lookup (IntPtr stock_id, out ConstStockItem item); public static Gtk.StockItem Lookup (string stock_id) { ConstStockItem const_item; IntPtr native_id = GLib.Marshaller.StringToPtrGStrdup (stock_id); bool result = gtk_stock_lookup (native_id, out const_item); GLib.Marshaller.Free (native_id); if (!result) return Gtk.StockItem.Zero; Gtk.StockItem item = new Gtk.StockItem (); item.StockId = GLib.Marshaller.Utf8PtrToString (const_item.StockId); item.Label = GLib.Marshaller.Utf8PtrToString (const_item.Label); item.Modifier = const_item.Modifier; item.Keyval = const_item.Keyval; item.TranslationDomain = GLib.Marshaller.Utf8PtrToString (const_item.TranslationDomain); return item; } gtk-sharp-2.12.10/gtk/TreeNode.cs0000644000175000001440000000521511131156741013316 00000000000000// TreeNode.cs - Abstract base class to subclass for TreeNode types // // Author: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Collections; using System.Threading; public abstract class TreeNode : ITreeNode { // Only use interlocked operations static int next_idx = 0; int id; ITreeNode parent; ArrayList children = new ArrayList (); public TreeNode () { id = Interlocked.Increment (ref next_idx); } public int ID { get { return id; } } public ITreeNode Parent { get { return parent; } } public int ChildCount { get { return children.Count; } } public int IndexOf (object o) { return children.IndexOf (o); } internal void SetParent (ITreeNode parent) { this.parent = parent; } public ITreeNode this [int index] { get { if (index >= ChildCount) return null; return children [index] as ITreeNode; } } public event EventHandler Changed; protected void OnChanged () { if (Changed == null) return; Changed (this, new EventArgs ()); } public event TreeNodeAddedHandler ChildAdded; private void OnChildAdded (ITreeNode child) { if (ChildAdded == null) return; ChildAdded (this, child); } public event TreeNodeRemovedHandler ChildRemoved; private void OnChildRemoved (TreeNode child, int old_position) { if (ChildRemoved == null) return; ChildRemoved (this, child, old_position); } public void AddChild (TreeNode child) { children.Add (child); child.SetParent (this); OnChildAdded (child); } public void AddChild (TreeNode child, int position) { children.Insert (position, child); child.SetParent (this); OnChildAdded (child); } public void RemoveChild (TreeNode child) { int idx = children.IndexOf (child); if (idx < 0) return; children.Remove (child); child.SetParent (null); OnChildRemoved (child, idx); } } } gtk-sharp-2.12.10/gtk/Widget.custom0000644000175000001440000002430711140654750013747 00000000000000// // Gtk.Widget.custom - Gtk Widget class customizations // // Authors: Rachel Hestilow , // Brad Taylor // // Copyright (C) 2007 Brad Taylor // Copyright (C) 2002 Rachel Hestilow // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete] protected Widget (GLib.GType gtype) : base(gtype) { } public override void Destroy () { base.Destroy (); } protected override void CreateNativeObject (string[] names, GLib.Value[] vals) { base.CreateNativeObject (names, vals); } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_widget_get_allocation (IntPtr style); public Gdk.Rectangle Allocation { get { return Gdk.Rectangle.New (gtksharp_gtk_widget_get_allocation (Handle)); } set { SizeAllocate (value); } } [DllImport ("gtksharpglue-2")] static extern IntPtr gtksharp_gtk_widget_get_window (IntPtr widget); [DllImport ("gtksharpglue-2")] static extern void gtksharp_gtk_widget_set_window (IntPtr widget, IntPtr window); public Gdk.Window GdkWindow { get { IntPtr raw_ret = gtksharp_gtk_widget_get_window (Handle); if (raw_ret != (IntPtr) 0){ Gdk.Window ret = (Gdk.Window) GLib.Object.GetObject(raw_ret, false); return ret; } return null; } set { Gdk.Window window = value as Gdk.Window; gtksharp_gtk_widget_set_window (Handle, window.Handle); } } public void AddAccelerator (string accel_signal, AccelGroup accel_group, AccelKey accel_key) { this.AddAccelerator (accel_signal, accel_group, (uint) accel_key.Key, accel_key.AccelMods, accel_key.AccelFlags); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_widget_set_state (IntPtr raw, int state); [DllImport("gtksharpglue-2")] static extern int gtksharp_gtk_widget_get_state (IntPtr raw); public Gtk.StateType State { set { gtk_widget_set_state (Handle, (int) value); } get { return (Gtk.StateType) gtksharp_gtk_widget_get_state (Handle); } } [DllImport("gtksharpglue-2")] static extern int gtksharp_gtk_widget_get_flags (IntPtr raw); [DllImport("gtksharpglue-2")] static extern void gtksharp_gtk_widget_set_flags (IntPtr raw, int flags); [Obsolete] public int Flags { get { return gtksharp_gtk_widget_get_flags (Handle); } set { gtksharp_gtk_widget_set_flags (Handle, (int) value); } } public WidgetFlags WidgetFlags { get { return (WidgetFlags) gtksharp_gtk_widget_get_flags (Handle); } set { gtksharp_gtk_widget_set_flags (Handle, (int) value); } } public void SetFlag (WidgetFlags flag) { Flags |= (int)flag; } public void ClearFlag (WidgetFlags flag) { Flags &= ~((int)flag); } public bool IsMapped { get { return ((Flags & (int)Gtk.WidgetFlags.Mapped) != 0); } } public bool IsRealized { get { return ((Flags & (int)Gtk.WidgetFlags.Realized) != 0); } } public bool IsNoWindow { get { return ((Flags & (int)Gtk.WidgetFlags.NoWindow) != 0); } } public bool IsTopLevel { get { return ((Flags & (int)Gtk.WidgetFlags.Toplevel) != 0); } } public bool HasGrab { get { return ((Flags & (int)Gtk.WidgetFlags.HasGrab) != 0); } } public bool IsCompositeChild { get { return ((Flags & (int)Gtk.WidgetFlags.CompositeChild) != 0); } } public bool IsAppPaintable { get { return ((Flags & (int)Gtk.WidgetFlags.AppPaintable) != 0); } } public bool IsDoubleBuffered { get { return ((Flags & (int)Gtk.WidgetFlags.DoubleBuffered) != 0); } } public bool IsDrawable { get { return (Visible && IsMapped); } } [DllImport("gtksharpglue-2")] static extern int gtksharp_gtk_widget_style_get_int (IntPtr raw, IntPtr name); public int FocusLineWidth { get { IntPtr name = GLib.Marshaller.StringToPtrGStrdup ("focus-line-width"); int result = gtksharp_gtk_widget_style_get_int (Handle, name); GLib.Marshaller.Free (name); return result; } } [DllImport("gtksharpglue-2")] static extern int gtksharp_widget_connect_set_scroll_adjustments_signal (IntPtr gtype, SetScrollAdjustmentsDelegate cb); [GLib.CDeclCallback] delegate void SetScrollAdjustmentsDelegate (IntPtr widget, IntPtr hadj, IntPtr vadj); static SetScrollAdjustmentsDelegate SetScrollAdjustmentsCallback; static void SetScrollAdjustments_cb (IntPtr widget, IntPtr hadj, IntPtr vadj) { try { Widget obj; try { obj = GLib.Object.GetObject (widget, false) as Widget; } catch (GLib.MissingIntPtrCtorException) { return; } Gtk.Adjustment h = GLib.Object.GetObject (hadj, false) as Gtk.Adjustment; Gtk.Adjustment v = GLib.Object.GetObject (vadj, false) as Gtk.Adjustment; obj.OnSetScrollAdjustments (h, v); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void ConnectSetScrollAdjustments (GLib.GType gtype) { if (SetScrollAdjustmentsCallback == null) SetScrollAdjustmentsCallback = new SetScrollAdjustmentsDelegate (SetScrollAdjustments_cb); gtksharp_widget_connect_set_scroll_adjustments_signal (gtype.Val, SetScrollAdjustmentsCallback); } [GLib.DefaultSignalHandler (Type=typeof (Gtk.Widget), ConnectionMethod="ConnectSetScrollAdjustments")] protected virtual void OnSetScrollAdjustments (Gtk.Adjustment hadj, Gtk.Adjustment vadj) { } [DllImport("gtksharpglue-2")] static extern int gtksharp_widget_connect_activate_signal (IntPtr gtype, ActivateDelegate cb); [GLib.CDeclCallback] delegate void ActivateDelegate (IntPtr widget); static ActivateDelegate ActivateCallback; static void Activate_cb (IntPtr widget) { try { Widget obj; try { obj = GLib.Object.GetObject (widget, false) as Widget; } catch (GLib.MissingIntPtrCtorException) { return; } obj.OnActivate (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void ConnectActivate (GLib.GType gtype) { if (ActivateCallback == null) ActivateCallback = new ActivateDelegate (Activate_cb); gtksharp_widget_connect_activate_signal (gtype.Val, ActivateCallback); } [GLib.DefaultSignalHandler (Type=typeof (Gtk.Widget), ConnectionMethod="ConnectActivate")] protected virtual void OnActivate () { } private class BindingInvoker { System.Reflection.MethodInfo mi; object[] parms; public BindingInvoker (System.Reflection.MethodInfo mi, object[] parms) { this.mi = mi; this.parms = parms; } public void Invoke (Widget w) { mi.Invoke (w, parms); } } [GLib.CDeclCallback] private delegate void BindingHandler (IntPtr handle, IntPtr user_data); private static void BindingCallback (IntPtr handle, IntPtr user_data) { try { Widget w = GLib.Object.GetObject (handle, false) as Widget; BindingInvoker invoker = ((GCHandle) user_data).Target as BindingInvoker; invoker.Invoke (w); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static BindingHandler binding_delegate; static BindingHandler BindingDelegate { get { if (binding_delegate == null) binding_delegate = new BindingHandler (BindingCallback); return binding_delegate; } } [DllImport ("gtksharpglue-2")] static extern void gtksharp_widget_add_binding_signal (IntPtr gvalue, IntPtr name, BindingHandler handler); [DllImport ("gtksharpglue-2")] static extern void gtksharp_widget_register_binding (IntPtr gvalue, IntPtr name, uint key, int mod, IntPtr data); static void ClassInit (GLib.GType gtype, Type t) { object[] attrs = t.GetCustomAttributes (typeof (BindingAttribute), true); if (attrs.Length == 0) return; IntPtr signame = GLib.Marshaller.StringToPtrGStrdup (t.Name.Replace (".", "_") + "_bindings"); gtksharp_widget_add_binding_signal (gtype.Val, signame, BindingDelegate); foreach (BindingAttribute attr in attrs) { System.Reflection.MethodInfo mi = t.GetMethod (attr.Handler, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public); if (mi == null) throw new Exception ("Instance method " + attr.Handler + " not found in " + t); BindingInvoker inv = new BindingInvoker (mi, attr.Parms); gtksharp_widget_register_binding (gtype.Val, signame, (uint) attr.Key, (int) attr.Mod, (IntPtr) GCHandle.Alloc (inv)); } GLib.Marshaller.Free (signame); } [DllImport("gtksharpglue-2")] static extern bool gtksharp_widget_style_get_property (IntPtr widget, IntPtr property, ref GLib.Value value); public object StyleGetProperty (string property_name) { GLib.Value value = new GLib.Value (); IntPtr name = GLib.Marshaller.StringToPtrGStrdup (property_name); bool success = gtksharp_widget_style_get_property (Handle, name, ref value); GLib.Marshaller.Free (name); if(success) { object ret = value.Val; value.Dispose (); return ret; } return null; } internal GLib.Value StyleGetPropertyValue (string property_name) { GLib.Value value = new GLib.Value (); IntPtr name = GLib.Marshaller.StringToPtrGStrdup (property_name); gtksharp_widget_style_get_property (Handle, name, ref value); GLib.Marshaller.Free (name); return value; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_widget_list_mnemonic_labels (IntPtr raw); public Widget[] ListMnemonicLabels () { IntPtr raw_ret = gtk_widget_list_mnemonic_labels (Handle); if (raw_ret == IntPtr.Zero) return new Widget [0]; GLib.List list = new GLib.List(raw_ret); Widget[] result = new Widget [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Widget; return result; } public void ModifyBase (Gtk.StateType state) { gtk_widget_modify_base (Handle, (int) state, IntPtr.Zero); } public void ModifyBg (Gtk.StateType state) { gtk_widget_modify_bg (Handle, (int) state, IntPtr.Zero); } public void ModifyFg (Gtk.StateType state) { gtk_widget_modify_fg (Handle, (int) state, IntPtr.Zero); } public void ModifyText (Gtk.StateType state) { gtk_widget_modify_text (Handle, (int) state, IntPtr.Zero); } gtk-sharp-2.12.10/gtk/StockManager.cs0000644000175000001440000000600711131156741014167 00000000000000// StockManager.cs - Gtk.Stock item manager // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Runtime.InteropServices; public class StockManager { [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_stock_add_static(ref Gtk.StockItem items, uint n_items); [Obsolete ("Use StockManager.Add instead")] public static void AddStatic(Gtk.StockItem items, uint n_items) { gtk_stock_add_static(ref items, n_items); } [StructLayout(LayoutKind.Sequential)] struct ConstStockItem { public IntPtr StockId; public IntPtr Label; public Gdk.ModifierType Modifier; public uint Keyval; public IntPtr TranslationDomain; public static explicit operator StockItem (ConstStockItem csi) { Gtk.StockItem item = new Gtk.StockItem (); item.StockId = GLib.Marshaller.Utf8PtrToString (csi.StockId); item.Label = GLib.Marshaller.Utf8PtrToString (csi.Label); item.Modifier = csi.Modifier; item.Keyval = csi.Keyval; item.TranslationDomain = GLib.Marshaller.Utf8PtrToString (csi.TranslationDomain); return item; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_stock_lookup (IntPtr stock_id, out ConstStockItem item); public static bool Lookup (string stock_id, ref Gtk.StockItem item) { ConstStockItem const_item; IntPtr native_id = GLib.Marshaller.StringToPtrGStrdup (stock_id); bool found = gtk_stock_lookup (native_id, out const_item); GLib.Marshaller.Free (native_id); if (!found) return false; item = (StockItem) const_item; return true; } public static bool LookupItem (string stock_id, out Gtk.StockItem item) { item = StockItem.Zero; return Lookup (stock_id, ref item); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_stock_add(ref Gtk.StockItem item, uint n_items); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_stock_add(Gtk.StockItem[] items, uint n_items); [Obsolete ("Use the StockItem or StockItem[] overload instead.")] public static void Add (Gtk.StockItem items, uint n_items) { gtk_stock_add(ref items, n_items); } public static void Add (Gtk.StockItem item) { gtk_stock_add (ref item, 1); } public static void Add (Gtk.StockItem[] items) { gtk_stock_add (items, (uint) items.Length); } } } gtk-sharp-2.12.10/gtk/Window.custom0000755000175000001440000001221611131156741013767 00000000000000// Gtk.Window.custom - Gtk Window class customizations // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Window (String title) : this (WindowType.Toplevel) { this.Title = title; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_window_get_default_icon_list(); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_window_set_default_icon_list(IntPtr list); public static Gdk.Pixbuf[] DefaultIconList { get { IntPtr raw_ret = gtk_window_get_default_icon_list(); if (raw_ret == IntPtr.Zero) return new Gdk.Pixbuf [0]; GLib.List list = new GLib.List(raw_ret); Gdk.Pixbuf[] result = new Gdk.Pixbuf [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Gdk.Pixbuf; return result; } set { GLib.List list = new GLib.List(IntPtr.Zero); foreach (Gdk.Pixbuf val in value) list.Append (val.Handle); gtk_window_set_default_icon_list(list.Handle); } } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_window_get_icon_list(IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_window_set_icon_list(IntPtr raw, IntPtr list); public Gdk.Pixbuf[] IconList { get { IntPtr raw_ret = gtk_window_get_icon_list(Handle); if (raw_ret == IntPtr.Zero) return new Gdk.Pixbuf [0]; GLib.List list = new GLib.List(raw_ret); Gdk.Pixbuf[] result = new Gdk.Pixbuf [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Gdk.Pixbuf; return result; } set { GLib.List list = new GLib.List(IntPtr.Zero); foreach (Gdk.Pixbuf val in value) list.Append (val.Handle); gtk_window_set_icon_list(Handle, list.Handle); } } public Gdk.Size DefaultSize { get { return new Gdk.Size (DefaultWidth, DefaultHeight); } set { DefaultWidth = value.Width; DefaultHeight = value.Height; } } [GLib.CDeclCallback] delegate void MoveFocusSignalDelegate (IntPtr arg0, int arg1, IntPtr gch); static void MoveFocusSignalCallback (IntPtr arg0, int arg1, IntPtr gch) { Gtk.MoveFocusArgs args = new Gtk.MoveFocusArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); args.Args = new object[1]; args.Args[0] = (Gtk.DirectionType) arg1; Gtk.MoveFocusHandler handler = (Gtk.MoveFocusHandler) sig.Handler; handler (GLib.Object.GetObject (arg0), args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void MoveFocusVMDelegate (IntPtr window, int direction); static MoveFocusVMDelegate MoveFocusVMCallback; static void movefocus_cb (IntPtr window, int direction) { try { Window window_managed = GLib.Object.GetObject (window, false) as Window; window_managed.OnMoveFocus ((Gtk.DirectionType) direction); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideMoveFocus (GLib.GType gtype) { if (MoveFocusVMCallback == null) MoveFocusVMCallback = new MoveFocusVMDelegate (movefocus_cb); OverrideVirtualMethod (gtype, "move_focus", MoveFocusVMCallback); } [Obsolete ("Replaced by Keybinding signal on Gtk.Widget")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.Window), ConnectionMethod="OverrideMoveFocus")] protected virtual void OnMoveFocus (Gtk.DirectionType direction) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (2); GLib.Value[] vals = new GLib.Value [2]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (direction); inst_and_params.Append (vals [1]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [Obsolete ("Replaced by Keybinding signal on Gtk.Widget")] [GLib.Signal("move_focus")] public event Gtk.MoveFocusHandler MoveFocus { add { GLib.Signal sig = GLib.Signal.Lookup (this, "move_focus", new MoveFocusSignalDelegate(MoveFocusSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "move_focus", new MoveFocusSignalDelegate(MoveFocusSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.10/gtk/ThreadNotify.cs0000644000175000001440000000471211131156741014212 00000000000000// ThreadNotify.cs: implements a notification for the thread running the Gtk main // loop from another thread // // Authors: // Miguel de Icaza (miguel@ximian.com). // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Copyright (c) 2002 Ximian, Inc. // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System.Runtime.InteropServices; using System.Threading; using System; // // This delegate will be invoked on the main Gtk thread. // public delegate void ReadyEvent (); /// /// Utility class to help writting multi-threaded Gtk applications /// /// /// public class ThreadNotify : IDisposable { bool disposed; ReadyEvent re; GLib.IdleHandler idle; bool notified; /// /// The ReadyEvent delegate will be invoked on the current thread (which should /// be the Gtk thread) when another thread wakes us up by calling WakeupMain /// public ThreadNotify (ReadyEvent re) { this.re = re; idle = new GLib.IdleHandler (CallbackWrapper); } bool CallbackWrapper () { lock (this) { if (disposed) return false; notified = false; } re (); return false; } /// /// Invoke this function from a thread to call the `ReadyEvent' /// delegate provided in the constructor on the Main Gtk thread /// public void WakeupMain () { lock (this){ if (notified) return; notified = true; GLib.Idle.Add (idle); } } public void Close () { Dispose (true); GC.SuppressFinalize (this); } ~ThreadNotify () { Dispose (false); } void IDisposable.Dispose () { Close (); } protected virtual void Dispose (bool disposing) { lock (this) { disposed = true; } } } } gtk-sharp-2.12.10/gtk/TargetPair.custom0000644000175000001440000000216511131156741014561 00000000000000// Gtk.TargetPair.custom - Gtk TargetPair class customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Target property.")] public Gdk.Atom target { get { Gdk.Atom ret = new Gdk.Atom(_target); if (ret == null) ret = new Gdk.Atom(_target); return ret; } set { _target = value.Handle; } } gtk-sharp-2.12.10/gtk/Gtk.metadata0000644000175000001440000033226111305001021013474 00000000000000 GDestroyNotify GDestroyNotify GdkKey Key GdkModifierType GtkAccelFlags 1 1 1 1 1 1 1 true 1 1 1 1 true true GtkPaperSize* true true out const-gchar** out 1 1 public public public public public 1 1 1 1 guchar 1 call out 1 call out 1 1 1 1 1 1 1 1 1 true 1 1 1 ref 1 1 1 GdkModifierType BindingsActivate 1 1 1 1 gboolean GetEventsPending 1 const-gchar* 1 1 1 1 n_points 1 1 GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* 1 1 1 1 1 1 async 1 1 true 1 true true 1 1 1 1 out out true 1 1 1 1 1 1 1 1 1 1 1 1 App Widget UInt32.MaxValue-0U UInt32.MaxValue-1U UInt32.MaxValue-2U 1 1 1 1 FinishEditing WidgetRemoved GtkCellRenderer* true 1 GetIsEditable ref SetIsEditable TextDeleted ref TextInserted DeleteText InsertText ref SelectRegion 1 1 true gfilename* true gfilename* true 1 true gfilename* const-gfilename* const-gfilename* gchar* true true GetFilters GtkFileFilter* true true 1 GetShortcutFolderUris gchar* true true true true true true true true GetFilenames gfilename* true true GetFilters gchar* true true GetShortcutFolders gchar* true true 1 call out 1 out out true ref out ref out out EmitRowChanged EmitRowDeleted EmitRowHasChildToggled EmitRowInserted EmitRowsReordered 1 1 ChangeSortColumn 1 label 1 1 1 1 1 1 Activated 1 1 call accel_group acceleratable keyval modifier call call true true MapChanged map accel_path accel_key accel_mods Add 1 1 Add 1 1 1 1 1 Remove action_group action proxy action_group action proxy action_group action action_group action 1 Change ChangeValue 1 1 1 PackEnd PackStart 1 const-gfilename* 1 1 GetErrorQuark true GObject* 1 1 1 true 1 public true Click Press Release Activated Entered Left SetDisplayOptions CancelEditing 1 1 TextXAlign TextYAlign 1 1 1 EmitToggled async async async async 1 1 true 1 1 out 1 out 1 1 1 1 1 1 1 GtkButton* public GtkEntry* 1 out GetTearoffTitle SetTearoffTitle public 1 1 1 1 1 1 1 call call 1 GtkWidget* true 1 1 Added ResizeChecked Removed FocusChildSet 1 1 GtkHButtonBox* VBox GtkVBox* 1 Respond GtkResponseType GtkResponseType GtkResponseType SetAlternativeButtonOrder 1 1 1 1 1 Activated ClipboardCopied ClipboardCut ClipboardPasted PrefixInserted 1 Activated 1 1 GtkHButtonBox* 1 GtkHButtonBox* private GtkButton* GtkTreeView* GtkTreeView* GtkButton* GtkButton* GtkMessageDialog* GtkEntry* GtkButton* GtkButton* private GtkMenu* GtkOptionMenu* MainVBox GtkVBox* GtkButton* GtkEntry* GtkLabel* true const-gfilename* true 1 true const-gfilename* gfilename* GtkButton* public GtkButton* public GtkButton* public 1 1 1 1 true 1 1 true 1 gchar* true true 1 true true true true 1 ActivateItem 1 1 out true out true out true out out true true GtkTreePath* true true out out out out true 1 AllSelected call 1 AllUnselected 1 1 pixbuf_animation true file true 1 1 out out out out out out SetAnimation true SetFile SetPixbuf SurroundingDeleted out out out GtkButton* public GtkButton* public 1 1 GetItem GetWidget GtkDestroyNotify Deselected Selected Toggled 1 label LineWrapMode ScrollAdjustmentsSet 1 1 out out out out 1 1 out ref 1 1 1 1 1 1 1 Activated ToggleSizeAllocated ToggleSizeRequested async call 1 Canceled Deactivated 1 1 1 void void 1 1 1 1 GtkDestroyNotify GtkDestroyNotify GtkDestroyNotify GtkDestroyNotify 1 const-gfilename* const-gfilename* 1 1 IsEmbedded 1 GetAcceptsPdf GetAcceptsPs GetHasDetails GetIsActive GetIsDefault GetIsVirtual GtkPageSetup* true true const-gfilename* call const-gfilename* GtkWidget 1 1 1 1 group group 1 1 1 1 1 1 1 1 true true true true true true true true true true 1 1 1 1 1 1 1 private private GetHScrollbar out GetVScrollbar void 1 GtkWidget* 1 true 1 SetStock SetPixbuf SetIconName SetFile 1 out n_columns n_rows Attach 1 1 tag_table ref ApplyTag DeleteMark 1 out 1 out GetInsertMark out out out out out out out 1 out 1 1 1 1 1 1 MoveMark RemoveTag 1 1 TagApplied UserActionBegun UserActionEnded ChildAnchorInserted PixbufInserted TagRemoved 1 ProcessEvent 1 TextEvent call 1 ref ref ref ref true out out out out ref ScrollAdjustmentsSet Toggle 1 Toggle 1 1 1 1 1 1 1 1 1 TooltipSet 1 virtual-root out 1 true true 1 model out out true true out GtkTreePath* true true out call 1 1 1 1 1 1 1 1 1 ref 1 1 1 1 1 1 1 Click 1 1 1 1 1 1 out GtkTreeViewColumn* true out out true out true out out true out GetEnableGridLines out 1 out out out out out true 1 1 call 1 ActivateRow GetRowExpanded SetEnableGridLines ScrollAdjustmentsSet 1 true 1 1 ScrollAdjustmentsSet 1 1 [GLib.TypeInitializer (typeof (Gtk.Widget), "ClassInit")] 1 1 1 true 1 1 1 1 1 out 1 1 ProcessEvent out 1 1 1 1 GdkEventMask 1 1 1 1 out GetIsFocus 1 1 out 1 GdkEventMask 1 1 out 1 1 1 1 AccelCanActivate ChildNotified drag_context drag_result WidgetEvent widget event WidgetEventAfter Focused FocusGrabbed Hidden Mapped MnemonicActivated Realized HelpShown Shown SizeAllocated SizeRequested ref Unmapped Unrealized 1 1 out 1 out out 1 1 GtkWindow* true true 1 true 1 1 DefaultActivated FocusActivated 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 GtkTargetFlags 1 private 1 n_targets PangoUnderline 1 1 1 1 1 1 1 1 1 /api/namespace/class[@cname='GtkGlobal'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] gtk-sharp-2.12.10/gtk/Input.custom0000644000175000001440000000610011131156741013607 00000000000000// Gtk.Input.custom - Gtk Input class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern uint gtk_input_add_full(int source, int condition, InputFunctionNative function, GtkSharp.CallbackMarshalNative marshal, IntPtr data, GLib.DestroyNotify destroy); [GLib.CDeclCallback] delegate void InputFunctionNative(IntPtr data, int source, int condition); class InputFunctionWrapper { public void NativeCallback (IntPtr data, int source, int condition) { try { IntPtr _arg0 = data; int _arg1 = source; Gdk.InputCondition _arg2 = (Gdk.InputCondition) condition; managed ( _arg0, _arg1, _arg2); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } internal InputFunctionNative NativeDelegate; Gdk.InputFunction managed; public InputFunctionWrapper (Gdk.InputFunction managed) { this.managed = managed; if (managed != null) NativeDelegate = new InputFunctionNative (NativeCallback); } } class InputProxy { InputFunctionWrapper function; GtkSharp.CallbackMarshalWrapper marshal; IntPtr data; DestroyNotify destroy; GLib.DestroyNotify handler; public InputProxy (InputFunctionWrapper function, GtkSharp.CallbackMarshalWrapper marshal, IntPtr data, DestroyNotify destroy) { this.marshal = marshal; this.function = function; this.destroy = destroy; this.data = data; handler = new GLib.DestroyNotify (OnDestroy); } void OnDestroy (IntPtr data) { if (destroy != null) destroy (); GCHandle gch = (GCHandle) data; gch.Free (); } public GLib.DestroyNotify Handler { get { return handler; } } } [Obsolete] public static uint AddFull(int source, Gdk.InputCondition condition, Gdk.InputFunction function, Gtk.CallbackMarshal marshal, IntPtr data, Gtk.DestroyNotify destroy) { InputFunctionWrapper function_wrapper = new InputFunctionWrapper (function); GtkSharp.CallbackMarshalWrapper marshal_wrapper = new GtkSharp.CallbackMarshalWrapper (marshal); InputProxy proxy = new InputProxy (function_wrapper, marshal_wrapper, data, destroy); GCHandle gch = GCHandle.Alloc (proxy); return gtk_input_add_full (source, (int) condition, function_wrapper.NativeDelegate, marshal_wrapper.NativeDelegate, (IntPtr) gch, proxy.Handler); } gtk-sharp-2.12.10/gtk/IconTheme.custom0000644000175000001440000001065611304773404014401 00000000000000// IconTheme.custom - customizations to Gtk.IconTheme // // Authors: Mike Kestner // Jeroen Zwartepoorte // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_icon_theme_list_icons (IntPtr raw, IntPtr context); public string[] ListIcons (string context) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (context); IntPtr list_ptr = gtk_icon_theme_list_icons (Handle, native); GLib.Marshaller.Free (native); if (list_ptr == IntPtr.Zero) return new string [0]; GLib.List list = new GLib.List (list_ptr, typeof (string), true, true); string[] result = new string [list.Count]; int i = 0; foreach (string val in list) result [i++] = val; return result; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_icon_theme_get_search_path(IntPtr raw, out IntPtr path, out int n_elements); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_icon_theme_set_search_path(IntPtr raw, IntPtr[] path, int n_elements); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_icon_theme_get_search_path_utf8(IntPtr raw, out IntPtr path, out int n_elements); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_icon_theme_set_search_path_utf8(IntPtr raw, IntPtr[] path, int n_elements); [DllImport("libglib-2.0-0.dll")] static extern void g_strfreev (IntPtr mem); bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } public string[] SearchPath { get { string[] retval; unsafe { int length; IntPtr raw_ret; if (IsWindowsPlatform) gtk_icon_theme_get_search_path_utf8 (Handle, out raw_ret, out length); else gtk_icon_theme_get_search_path (Handle, out raw_ret, out length); int size = Marshal.SizeOf (typeof (IntPtr)); retval = new string[length]; for (int i = 0, j = 0; i < length; i++, j += size) { IntPtr string_ptr = Marshal.ReadIntPtr (new IntPtr (raw_ret.ToInt32 () + j)); retval[i] = GLib.Marshaller.Utf8PtrToString (string_ptr); } g_strfreev (raw_ret); } return retval; } set { int cnt_path = value == null ? 0 : value.Length; IntPtr[] native_path = new IntPtr [cnt_path]; for (int i = 0; i < cnt_path; i++) native_path [i] = GLib.Marshaller.StringToPtrGStrdup (value[i]); if (IsWindowsPlatform) gtk_icon_theme_set_search_path_utf8 (Handle, native_path, native_path.Length); else gtk_icon_theme_set_search_path (Handle, native_path, native_path.Length); for (int i = 0; i < native_path.Length; i++) GLib.Marshaller.Free (native_path[i]); } } [Obsolete ("Replaced by SearchPath property.")] public void SetSearchPath (string[] path) { SearchPath = path; } #if GTK_SHARP_2_6 [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_icon_theme_get_icon_sizes (IntPtr raw, IntPtr icon_name); public int[] GetIconSizes (string icon_name) { IntPtr icon_name_as_native = GLib.Marshaller.StringToPtrGStrdup (icon_name); IntPtr raw_ret = gtk_icon_theme_get_icon_sizes(Handle, icon_name_as_native); ArrayList result = new ArrayList (); int offset = 0; int size = Marshal.ReadInt32 (raw_ret, offset); while (size != 0) { result.Add (size); offset += 4; size = Marshal.ReadInt32 (raw_ret, offset); } GLib.Marshaller.Free (icon_name_as_native); GLib.Marshaller.Free (raw_ret); return (int[]) result.ToArray (typeof (int)); } #endif gtk-sharp-2.12.10/gtk/ITreeNode.cs0000644000175000001440000000250111131156741013422 00000000000000// ITreeNode.cs - Interface and delegates for tree node navigation and updating. // // Author: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public delegate void TreeNodeAddedHandler (object o, ITreeNode child); public delegate void TreeNodeRemovedHandler (object o, ITreeNode child, int old_position); public interface ITreeNode { int ID { get; } ITreeNode Parent { get; } int ChildCount { get; } ITreeNode this [int index] { get; } int IndexOf (object o); event EventHandler Changed; event TreeNodeAddedHandler ChildAdded; event TreeNodeRemovedHandler ChildRemoved; } } gtk-sharp-2.12.10/gtk/NodeView.cs0000644000175000001440000000404011131156741013324 00000000000000// NodeView.cs - a TreeView implementation that exposes ITreeNodes // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; public class NodeView : TreeView { NodeStore store; NodeSelection selection; public NodeView (NodeStore store) : base (IntPtr.Zero) { string[] names = { "model" }; GLib.Value[] vals = { new GLib.Value (store) }; CreateNativeObject (names, vals); vals [0].Dispose (); this.store = store; } public NodeView () : base () {} [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_view_set_model(IntPtr raw, IntPtr model); public NodeStore NodeStore { get { return store; } set { store = value; gtk_tree_view_set_model (Handle, store == null ? IntPtr.Zero : store.Handle); } } public NodeSelection NodeSelection { get { if (selection == null) selection = new NodeSelection (Selection); return selection; } } public Gtk.TreeViewColumn AppendColumn (string title, Gtk.CellRenderer cell, Gtk.NodeCellDataFunc cell_data) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn (); col.Title = title; col.PackStart (cell, true); col.SetCellDataFunc (cell, cell_data); AppendColumn (col); return col; } } } gtk-sharp-2.12.10/gtk/TreeViewColumn.custom0000644000175000001440000000625111131156741015427 00000000000000// Gtk.TreeViewColumn.Custom - Gtk TreeViewColumn class customizations // // Author: Rachel Hestilow // // Copyright (c) 2003 Rachel Hestilow // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } private void _NewWithAttributes (string title, Gtk.CellRenderer cell, Array attrs) { Title = title; PackStart (cell, true); for (int i = 0; (i + 1) < attrs.Length; i += 2) { AddAttribute (cell, (string) ((object[])attrs)[i], (int)((object[])attrs)[i + 1]); } } public TreeViewColumn (string title, Gtk.CellRenderer cell, Array attrs) : this () { _NewWithAttributes (title, cell, attrs); } public TreeViewColumn (string title, Gtk.CellRenderer cell, params object[] attrs) : this () { _NewWithAttributes (title, cell, attrs); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_tree_view_column_get_cell_renderers (IntPtr raw); public CellRenderer[] CellRenderers { get { IntPtr raw_ret = gtk_tree_view_column_get_cell_renderers (Handle); if (raw_ret == IntPtr.Zero) return new CellRenderer [0]; GLib.List list = new GLib.List (raw_ret); CellRenderer[] result = new CellRenderer [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as CellRenderer; return result; } } public void SetCellDataFunc (CellRenderer cell_renderer, NodeCellDataFunc func) { if (func == null) { gtk_tree_view_column_set_cell_data_func (Handle, cell_renderer == null ? IntPtr.Zero : cell_renderer.Handle, (GtkSharp.TreeCellDataFuncNative) null, IntPtr.Zero, null); return; } NodeCellDataFuncWrapper func_wrapper = new NodeCellDataFuncWrapper (func); GCHandle gch = GCHandle.Alloc (func_wrapper); gtk_cell_layout_set_cell_data_func (Handle, cell_renderer == null ? IntPtr.Zero : cell_renderer.Handle, func_wrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } [Obsolete ("Replaced by SetCellDataFunc (CellRenderer, TreeCellDataFunc) overload")] public void SetCellDataFunc (Gtk.CellRenderer cell_renderer, Gtk.TreeCellDataFunc func, IntPtr func_data, Gtk.DestroyNotify destroy) { SetCellDataFunc (cell_renderer, func); } gtk-sharp-2.12.10/gtk/RowsReorderedHandler.cs0000644000175000001440000000242611131156741015676 00000000000000// RowsReorderedHandler.cs // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public delegate void RowsReorderedHandler (object o, RowsReorderedArgs args); public class RowsReorderedArgs : GLib.SignalArgs { public Gtk.TreePath Path{ get { return (Gtk.TreePath) Args[0]; } } public Gtk.TreeIter Iter{ get { return (Gtk.TreeIter) Args[1]; } } [Obsolete ("Replaced by NewChildOrder property")] public int NewOrder{ set { } } public int[] NewChildOrder { get { return (int[]) Args[2]; } } } } gtk-sharp-2.12.10/gtk/ComboBoxEntry.custom0000644000175000001440000000205311131156741015245 00000000000000// Gtk.ComboBoxEntry.custom - Gtk ComboBoxEntry customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public ComboBoxEntry (string[] entries) : this (new ListStore (typeof (string)), 0) { foreach (string entry in entries) AppendText (entry); } public Gtk.Entry Entry { get { return (Gtk.Entry)Child; } } gtk-sharp-2.12.10/gtk/Dialog.custom0000644000175000001440000000465211131156741013721 00000000000000// // Gtk.Dialog.custom - Gtk Dialog class customizations // // Author: Duncan Mak (duncan@ximian.com) // Mike Kestner (mkestner@speakeasy.net) // // Copyright (C) 2002 Ximian, Inc. and Mike Kestner // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_dialog_new_with_buttons (IntPtr title, IntPtr i, int flags, IntPtr dummy); public Dialog (string title, Gtk.Window parent, Gtk.DialogFlags flags, params object[] button_data) : base(IntPtr.Zero) { if (GetType() != typeof (Dialog)) { GLib.Value[] vals = new GLib.Value [1]; string[] names = new string [1]; names [0] = "title"; vals [0] = new GLib.Value (title); CreateNativeObject (names, vals); TransientFor = parent; if ((flags & DialogFlags.Modal) > 0) Modal = true; if ((flags & DialogFlags.DestroyWithParent) > 0) DestroyWithParent = true; if ((flags & DialogFlags.NoSeparator) > 0) HasSeparator = false; } else { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (title); Raw = gtk_dialog_new_with_buttons (native, parent == null ? IntPtr.Zero : parent.Handle, (int) flags, IntPtr.Zero); GLib.Marshaller.Free (native); } for (int i = 0; i < button_data.Length - 1; i += 2) AddButton ((string) button_data [i], (int) button_data [i + 1]); } public void AddActionWidget (Widget child, ResponseType response) { this.AddActionWidget (child, (int) response); } public Gtk.Widget AddButton (string button_text, ResponseType response) { return this.AddButton (button_text, (int) response); } public void Respond (ResponseType response) { this.Respond ((int) response); } [Obsolete ("Replaced by AlternativeButtonOrder property")] public int SetAlternativeButtonOrderFromArray (int n_params) { return -1; } gtk-sharp-2.12.10/gtk/Plug.custom0000644000175000001440000000316311131156741013425 00000000000000// Gtk.Plug.custom - Gtk Plug class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_plug_new(uint socket_id); public Plug (uint socket_id) : base (IntPtr.Zero) { if (GetType () != typeof (Plug)) { CreateNativeObject (new string [0], new GLib.Value [0]); Construct (socket_id); return; } Raw = gtk_plug_new(socket_id); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_plug_new_for_display(IntPtr display, uint socket_id); public Plug (Gdk.Display display, uint socket_id) : base (IntPtr.Zero) { if (GetType () != typeof (Plug)) { CreateNativeObject (new string [0], new GLib.Value [0]); ConstructForDisplay (display, socket_id); return; } Raw = gtk_plug_new_for_display(display.Handle, socket_id); } gtk-sharp-2.12.10/gtk/TextView.custom0000644000175000001440000000733311131156741014300 00000000000000// Gtk.TextView.custom - Gtk TextView class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_view_new_with_buffer (IntPtr buffer); public TextView (TextBuffer buffer) : base (IntPtr.Zero) { if (GetType() != typeof (TextView)) { CreateNativeObject (new string [0], new GLib.Value [0]); Buffer = buffer; return; } Raw = gtk_text_view_new_with_buffer (buffer.Handle); } [GLib.CDeclCallback] delegate void MoveFocusSignalDelegate (IntPtr arg0, int arg1, IntPtr gch); static void MoveFocusSignalCallback (IntPtr arg0, int arg1, IntPtr gch) { Gtk.MoveFocusArgs args = new Gtk.MoveFocusArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); args.Args = new object[1]; args.Args[0] = (Gtk.DirectionType) arg1; Gtk.MoveFocusHandler handler = (Gtk.MoveFocusHandler) sig.Handler; handler (GLib.Object.GetObject (arg0), args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void MoveFocusVMDelegate (IntPtr text_view, int direction); static MoveFocusVMDelegate MoveFocusVMCallback; static void movefocus_cb (IntPtr text_view, int direction) { try { TextView text_view_managed = GLib.Object.GetObject (text_view, false) as TextView; text_view_managed.OnMoveFocus ((Gtk.DirectionType) direction); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideMoveFocus (GLib.GType gtype) { if (MoveFocusVMCallback == null) MoveFocusVMCallback = new MoveFocusVMDelegate (movefocus_cb); OverrideVirtualMethod (gtype, "move_focus", MoveFocusVMCallback); } [Obsolete ("Replaced by keybinding signal on Gtk.Widget")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TextView), ConnectionMethod="OverrideMoveFocus")] protected virtual void OnMoveFocus (Gtk.DirectionType direction) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (2); GLib.Value[] vals = new GLib.Value [2]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (direction); inst_and_params.Append (vals [1]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) v.Dispose (); } [Obsolete ("Replaced by keybinding signal on Gtk.Widget")] [GLib.Signal("move_focus")] public event Gtk.MoveFocusHandler MoveFocus { add { GLib.Signal sig = GLib.Signal.Lookup (this, "move_focus", new MoveFocusSignalDelegate(MoveFocusSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "move_focus", new MoveFocusSignalDelegate(MoveFocusSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.10/gtk/Object.custom0000755000175000001440000001012011140654750013721 00000000000000// Gtk.Object.custom - Gtk Object class customizations // // Author: Mike Kestner // // Copyright (c) 2002-2003 Mike Kestner // Copyright (c) 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. static Hashtable destroy_handlers; static Hashtable DestroyHandlers { get { if (destroy_handlers == null) destroy_handlers = new Hashtable (); return destroy_handlers; } } private static void OverrideDestroyed (GLib.GType gtype) { // Do Nothing. We don't want to hook into the native vtable. // We will manually invoke the VM on signal invocation. The signal // always raises before the default handler because this signal // is RUN_CLEANUP. } [GLib.DefaultSignalHandler(Type=typeof(Gtk.Object), ConnectionMethod="OverrideDestroyed")] protected virtual void OnDestroyed () { if (DestroyHandlers.Contains (Handle)) { EventHandler handler = (EventHandler) DestroyHandlers [Handle]; handler (this, EventArgs.Empty); DestroyHandlers.Remove (Handle); } } [GLib.Signal("destroy")] public event EventHandler Destroyed { add { EventHandler handler = (EventHandler) DestroyHandlers [Handle]; DestroyHandlers [Handle] = Delegate.Combine (handler, value); } remove { EventHandler handler = (EventHandler) DestroyHandlers [Handle]; handler = (EventHandler) Delegate.Remove (handler, value); if (handler != null) DestroyHandlers [Handle] = handler; else DestroyHandlers.Remove (Handle); } } event EventHandler InternalDestroyed { add { GLib.Signal sig = GLib.Signal.Lookup (this, "destroy"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "destroy"); sig.RemoveDelegate (value); } } static void NativeDestroy (object o, EventArgs args) { Gtk.Object obj = o as Gtk.Object; if (obj == null) return; obj.OnDestroyed (); } static EventHandler native_destroy_handler; static EventHandler NativeDestroyHandler { get { if (native_destroy_handler == null) native_destroy_handler = new EventHandler (NativeDestroy); return native_destroy_handler; } } protected override void CreateNativeObject (string[] names, GLib.Value[] vals) { base.CreateNativeObject (names, vals); } public override void Dispose () { if (Handle == IntPtr.Zero) return; InternalDestroyed -= NativeDestroyHandler; base.Dispose (); } [DllImport("libgobject-2.0-0.dll")] private static extern void g_object_ref_sink (IntPtr raw); protected override IntPtr Raw { get { return base.Raw; } set { if (value != IntPtr.Zero) g_object_ref_sink (value); base.Raw = value; if (value != IntPtr.Zero) InternalDestroyed += NativeDestroyHandler; } } [DllImport("libgtk-win32-2.0-0.dll")] private static extern void gtk_object_destroy (IntPtr raw); public virtual void Destroy () { if (Handle == IntPtr.Zero) return; gtk_object_destroy (Handle); InternalDestroyed -= NativeDestroyHandler; } [DllImport("gtksharpglue-2")] private static extern bool gtksharp_object_is_floating (IntPtr raw); [DllImport("gtksharpglue-2")] private static extern bool gtksharp_object_set_floating (IntPtr raw, bool val); public bool IsFloating { get { return gtksharp_object_is_floating (Handle); } set { gtksharp_object_set_floating (Handle, value); } } gtk-sharp-2.12.10/gtk/IconView.custom0000644000175000001440000000326611131156741014245 00000000000000// IconView.custom - customizations to Gtk.IconView // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if GTK_SHARP_2_8 public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_icon_view_scroll_to_path(IntPtr raw, IntPtr path, bool use_align, float row_align, float col_align); public void ScrollToPath (Gtk.TreePath path) { gtk_icon_view_scroll_to_path(Handle, path == null ? IntPtr.Zero : path.Handle, false, 0.0f, 0.0f); } public void ScrollToPath (Gtk.TreePath path, float row_align, float col_align) { gtk_icon_view_scroll_to_path(Handle, path == null ? IntPtr.Zero : path.Handle, true, row_align, col_align); } #endif gtk-sharp-2.12.10/gtk/TextIter.custom0000755000175000001440000000604411140654750014275 00000000000000// TextIter.custom - customizations to Gtk.TextIter // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_unichar_to_utf8_string (int raw); [DllImport("libgtk-win32-2.0-0.dll")] static extern int gtk_text_iter_get_char(ref Gtk.TextIter raw); public string Char { get { IntPtr raw_ret = gtksharp_unichar_to_utf8_string (gtk_text_iter_get_char (ref this)); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); return ret; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_iter_get_marks (ref TextIter iter); public TextMark[] Marks { get { IntPtr raw_ret = gtk_text_iter_get_marks (ref this); if (raw_ret == IntPtr.Zero) return new TextMark [0]; GLib.SList list = new GLib.SList(raw_ret); TextMark[] result = new TextMark [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as TextMark; return result; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_iter_get_tags (ref TextIter iter); public TextTag[] Tags { get { IntPtr raw_ret = gtk_text_iter_get_tags (ref this); if (raw_ret == IntPtr.Zero) return new TextTag [0]; GLib.SList list = new GLib.SList(raw_ret); TextTag[] result = new TextTag [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as TextTag; return result; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_iter_get_toggled_tags (ref TextIter iter, bool toggled_on); public TextTag[] GetToggledTags (bool toggled_on) { IntPtr raw_ret = gtk_text_iter_get_toggled_tags (ref this, toggled_on); if (raw_ret == IntPtr.Zero) return new TextTag [0]; GLib.SList list = new GLib.SList(raw_ret); TextTag[] result = new TextTag [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as TextTag; return result; } [Obsolete("Replaced by overload without IntPtr argument")] public bool ForwardFindChar (Gtk.TextCharPredicate pred, IntPtr user_data, Gtk.TextIter limit) { return ForwardFindChar (pred, limit); } [Obsolete("Replaced by overload without IntPtr argument")] public bool BackwardFindChar (Gtk.TextCharPredicate pred, IntPtr user_data, Gtk.TextIter limit) { return BackwardFindChar (pred, limit); } gtk-sharp-2.12.10/gtk/ActionGroup.custom0000644000175000001440000000564111131156741014753 00000000000000// ActionGroup.custom - Syntactic C# sugar for easily defining Actions. // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Action this[string name] { get { return GetAction (name); } } public void Add (ActionEntry[] entries) { foreach (ActionEntry entry in entries) { Action action = new Action (entry.name, entry.label, entry.tooltip, entry.stock_id); if (entry.activated != null) action.Activated += entry.activated; if (entry.accelerator == null) Add (action); else Add (action, entry.accelerator); } } public void Add (ToggleActionEntry[] entries) { foreach (ToggleActionEntry entry in entries) { ToggleAction action = new ToggleAction (entry.name, entry.label, entry.tooltip, entry.stock_id); action.Active = entry.active; if (entry.activated != null) action.Activated += entry.activated; if (entry.accelerator == null) Add (action); else Add (action, entry.accelerator); } } public void Add (RadioActionEntry[] entries, int value, ChangedHandler changed) { GLib.SList group = new GLib.SList (typeof (RadioAction)); RadioAction[] actions = new RadioAction[entries.Length]; for (int i = 0; i < entries.Length; i++) { actions[i] = new RadioAction (entries[i].name, entries[i].label, entries[i].tooltip, entries[i].stock_id, entries[i].value); actions[i].Group = group; group = actions[i].Group; actions[i].Active = value == entries[i].value; if (entries[i].accelerator == null) Add (actions[i]); else Add (actions[i], entries[i].accelerator); } // Add the ChangedHandler when we're done adding all the actions. // Otherwise, setting the Active property will trigger a premature event. if (changed != null) actions[0].Changed += changed; } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_action_group_list_actions (IntPtr raw); public Gtk.Action[] ListActions() { IntPtr raw_ret = gtk_action_group_list_actions (Handle); GLib.List list = new GLib.List (raw_ret); Gtk.Action[] result = new Gtk.Action [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Gtk.Action; return result; } gtk-sharp-2.12.10/gtk/ChildPropertyAttribute.cs0000644000175000001440000000200211131156741016254 00000000000000// ChildPropertyAttribute.cs // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public sealed class ChildPropertyAttribute : Attribute { string name; public ChildPropertyAttribute (string name) { this.name = name; } public string Name { get { return name; } set { name = value; } } } } gtk-sharp-2.12.10/gtk/TooltipsData.custom0000644000175000001440000000250611131156741015125 00000000000000// Gtk.TooltipsData.custom - Gtk TooltipsData class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Tooltips property.")] public Gtk.Tooltips tooltips { get { return GLib.Object.GetObject(_tooltips) as Gtk.Tooltips; } set { _tooltips = value == null ? IntPtr.Zero : value.Handle; } } [Obsolete ("Replaced by Widget property.")] public Gtk.Widget widget { get { return GLib.Object.GetObject(_widget) as Gtk.Widget; } set { _widget = value == null ? IntPtr.Zero : value.Handle; } } gtk-sharp-2.12.10/gtk/Printer.custom0000644000175000001440000000300111131156741014130 00000000000000// Printer.custom - customizations to Gtk.Printer // // Authors: Mike Kestner // // Copyright (c) 2006 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_enumerate_printers (GtkSharp.PrinterFuncNative func, IntPtr func_data, GLib.DestroyNotify destroy, bool wait); public static void EnumeratePrinters (Gtk.PrinterFunc func, bool wait) { GtkSharp.PrinterFuncWrapper func_wrapper; IntPtr func_data; GLib.DestroyNotify destroy; if (func == null) { func_wrapper = null; func_data = IntPtr.Zero; destroy = null; } else { func_wrapper = new GtkSharp.PrinterFuncWrapper (func); func_data = (IntPtr) GCHandle.Alloc (func_wrapper); destroy = GLib.DestroyHelper.NotifyHandler; } gtk_enumerate_printers (func_wrapper.NativeDelegate, func_data, destroy, wait); } gtk-sharp-2.12.10/gtk/CellLayout.custom0000644000175000001440000000157511131156741014600 00000000000000// Gtk.CellLayout.custom - Gtk CellLayout customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. void SetAttributes (CellRenderer renderer, object[] attrs); gtk-sharp-2.12.10/gtk/gtk-sharp.dll.config.in0000644000175000001440000000060311254303646015530 00000000000000 gtk-sharp-2.12.10/gtk/GtkSharp.TextBufferSerializeFuncNative.cs0000644000175000001440000001014411305001021021220 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the TextBufferSerializeFunc; see https://bugzilla.novell.com/show_bug.cgi?id=555495 // The generated code may have been modified as part of this fix; see textbuffer-serializefunc.patch namespace GtkSharp { using System; using System.Runtime.InteropServices; [GLib.CDeclCallback] internal delegate IntPtr TextBufferSerializeFuncNative(IntPtr register_buffer, IntPtr content_buffer, IntPtr start, IntPtr end, out UIntPtr length, IntPtr user_data); internal class TextBufferSerializeFuncInvoker { TextBufferSerializeFuncNative native_cb; IntPtr __data; GLib.DestroyNotify __notify; ~TextBufferSerializeFuncInvoker () { if (__notify == null) return; __notify (__data); } internal TextBufferSerializeFuncInvoker (TextBufferSerializeFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {} internal TextBufferSerializeFuncInvoker (TextBufferSerializeFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {} internal TextBufferSerializeFuncInvoker (TextBufferSerializeFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; } internal Gtk.TextBufferSerializeFunc Handler { get { return new Gtk.TextBufferSerializeFunc(InvokeNative); } } private static readonly byte [] empty_byte_array = new byte[0]; byte [] InvokeNative (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, out ulong length) { IntPtr native_start = GLib.Marshaller.StructureToPtrAlloc (start); IntPtr native_end = GLib.Marshaller.StructureToPtrAlloc (end); UIntPtr native_length; IntPtr result_ptr = native_cb (register_buffer == null ? IntPtr.Zero : register_buffer.Handle, content_buffer == null ? IntPtr.Zero : content_buffer.Handle, native_start, native_end, out native_length, __data); start = Gtk.TextIter.New (native_start); Marshal.FreeHGlobal (native_start); end = Gtk.TextIter.New (native_end); Marshal.FreeHGlobal (native_end); length = (ulong) native_length; byte [] result = null; if (length > 0 && result_ptr != IntPtr.Zero) { result = new byte [length]; Marshal.Copy (result_ptr, result, 0, (int)length); } if (result_ptr != IntPtr.Zero) { GLib.Marshaller.Free (result_ptr); } return result == null ? empty_byte_array : result; } } internal class TextBufferSerializeFuncWrapper { public IntPtr NativeCallback (IntPtr register_buffer, IntPtr content_buffer, IntPtr start, IntPtr end, out UIntPtr length, IntPtr user_data) { try { ulong mylength; byte [] __ret = managed (GLib.Object.GetObject(register_buffer) as Gtk.TextBuffer, GLib.Object.GetObject(content_buffer) as Gtk.TextBuffer, Gtk.TextIter.New (start), Gtk.TextIter.New (end), out mylength); length = new UIntPtr (mylength); IntPtr ret_ptr; if (mylength > 0) { ret_ptr = GLib.Marshaller.Malloc ((ulong)(Marshal.SizeOf (typeof(byte)) * (int)mylength)); Marshal.Copy (__ret, 0, ret_ptr, (int)mylength); } else { ret_ptr = IntPtr.Zero; } if (release_on_call) gch.Free (); return ret_ptr; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: Above call does not return. throw e; } } bool release_on_call = false; GCHandle gch; public void PersistUntilCalled () { release_on_call = true; gch = GCHandle.Alloc (this); } internal TextBufferSerializeFuncNative NativeDelegate; Gtk.TextBufferSerializeFunc managed; public TextBufferSerializeFuncWrapper (Gtk.TextBufferSerializeFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new TextBufferSerializeFuncNative (NativeCallback); } public static Gtk.TextBufferSerializeFunc GetManagedDelegate (TextBufferSerializeFuncNative native) { if (native == null) return null; TextBufferSerializeFuncWrapper wrapper = (TextBufferSerializeFuncWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; } } } gtk-sharp-2.12.10/gtk/IconFactory.custom0000644000175000001440000000225311131156741014735 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] extern static void gtk_icon_size_lookup (IconSize size, out int width, out int height); /// Query icon dimensions /// Queries dimensions for icons of the specified size. public void LookupIconSize (IconSize size, out int width, out int height) { gtk_icon_size_lookup (size, out width, out height); } gtk-sharp-2.12.10/gtk/TextAttributes.custom0000644000175000001440000000330211131156741015504 00000000000000// Gtk.TextAttributes.custom - Gtk TextAttributes class customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Gtk.TextAttributes is a reference type now, use null")] public static TextAttributes Zero = null; [Obsolete("Replaced by TextAttributes(IntPtr) constructor")] public static TextAttributes New (IntPtr raw) { return new TextAttributes (raw); } [Obsolete("Replaced by TextAttributes() constructor")] public static TextAttributes New () { return new TextAttributes (); } [Obsolete ("Replaced by Font property.")] public Pango.FontDescription font { get { return Font; } set { Font = value; } } [Obsolete ("Replaced by Tabs property.")] public Pango.TabArray tabs { get { return Tabs; } set { Tabs = value; } } [Obsolete ("Replaced by Language property.")] public Pango.Language language { get { return Language; } set { Language = value; } } gtk-sharp-2.12.10/gtk/VBox.custom0000644000175000001440000000131611131156741013372 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public VBox () : this (false, 0) {} gtk-sharp-2.12.10/gtk/CellLayoutAdapter.custom0000644000175000001440000000224111131156741016070 00000000000000// Gtk.CellLayoutAdaptor.custom - Gtk CellLayoutAdaptor customizations // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } gtk-sharp-2.12.10/gtk/TreeView.custom0000644000175000001440000001350311131156741014247 00000000000000// Gtk.TreeView.Custom - Gtk TreeView class customizations // // Authors: // Kristian Rietveld // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Copyright (c) 2002 Kristian Rietveld // Copyright (c) 2003 Ximian, Inc. (http://www.ximian.com) // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Use NodeView with NodeStores")] public TreeView (NodeStore store) : base (IntPtr.Zero) { if (GetType() != typeof (TreeView)) { string[] names = new string [1]; GLib.Value[] vals = new GLib.Value [1]; names [0] = "model"; vals [0] = new GLib.Value (store); CreateNativeObject (names, vals); vals [0].Dispose (); return; } Raw = gtk_tree_view_new_with_model (store.Handle); } public Gdk.Color OddRowColor { get { GLib.Value value = StyleGetPropertyValue ("odd-row-color"); Gdk.Color ret = (Gdk.Color)value; value.Dispose (); return ret; } } public Gdk.Color EvenRowColor { get { GLib.Value value = StyleGetPropertyValue ("even-row-color"); Gdk.Color ret = (Gdk.Color)value; value.Dispose (); return ret; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_view_get_path_at_pos (IntPtr raw, int x, int y, out IntPtr path, out IntPtr column, out int cell_x, out int cell_y); [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_view_get_path_at_pos")] static extern bool gtk_tree_view_get_path_at_pos_intptr (IntPtr raw, int x, int y, out IntPtr path, out IntPtr column, IntPtr cell_x, IntPtr cell_y); public bool GetPathAtPos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column, out int cell_x, out int cell_y) { IntPtr pathHandle; IntPtr columnHandle; bool raw_ret = gtk_tree_view_get_path_at_pos (Handle, x, y, out pathHandle, out columnHandle, out cell_x, out cell_y); if (raw_ret) { column = (Gtk.TreeViewColumn) GLib.Object.GetObject (columnHandle, false); path = (Gtk.TreePath) GLib.Opaque.GetOpaque (pathHandle, typeof (Gtk.TreePath), true); } else { path = null; column = null; } return raw_ret; } public bool GetPathAtPos (int x, int y, out Gtk.TreePath path) { IntPtr pathHandle; IntPtr columnHandle; bool raw_ret = gtk_tree_view_get_path_at_pos_intptr (Handle, x, y, out pathHandle, out columnHandle, IntPtr.Zero, IntPtr.Zero); if (raw_ret) path = (Gtk.TreePath) GLib.Opaque.GetOpaque (pathHandle, typeof (Gtk.TreePath), true); else path = null; return raw_ret; } public bool GetPathAtPos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column) { IntPtr pathHandle; IntPtr columnHandle; bool raw_ret = gtk_tree_view_get_path_at_pos_intptr (Handle, x, y, out pathHandle, out columnHandle, IntPtr.Zero, IntPtr.Zero); if (raw_ret) { path = (Gtk.TreePath) GLib.Opaque.GetOpaque (pathHandle, typeof (Gtk.TreePath), true); column = (Gtk.TreeViewColumn) GLib.Object.GetObject (columnHandle, false); } else { path = null; column = null; } return raw_ret; } public TreeViewColumn AppendColumn (string title, CellRenderer cell, TreeCellDataFunc cell_data) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn (); col.Title = title; col.PackStart (cell, true); col.SetCellDataFunc (cell, cell_data); AppendColumn (col); return col; } public TreeViewColumn AppendColumn (string title, CellRenderer cell, CellLayoutDataFunc cell_data) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn (); col.Title = title; col.PackStart (cell, true); col.SetCellDataFunc (cell, cell_data); AppendColumn (col); return col; } public Gtk.TreeViewColumn AppendColumn (string title, Gtk.CellRenderer cell, params object[] attrs) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn (title, cell, attrs); AppendColumn (col); return col; } public int InsertColumn (int pos, string title, CellRenderer cell, CellLayoutDataFunc cell_data) { TreeViewColumn col = new TreeViewColumn (); col.Title = title; col.PackStart (cell, true); col.SetCellDataFunc (cell, cell_data); return InsertColumn (col, pos); } public int InsertColumn (int pos, string title, CellRenderer cell, params object[] attrs) { TreeViewColumn col = new TreeViewColumn (title, cell, attrs); return InsertColumn (col, pos); } [Obsolete ("Replaced by SearchEqualFunc property.")] public void SetSearchEqualFunc (TreeViewSearchEqualFunc search_equal_func, IntPtr search_user_data, DestroyNotify search_destroy) { SearchEqualFunc = search_equal_func; } [Obsolete ("Replaced by DestroyCountFunc property.")] public void SetDestroyCountFunc (TreeDestroyCountFunc func, IntPtr data, DestroyNotify destroy) { DestroyCountFunc = func; } [Obsolete ("Replaced by ColumnDragFunction property.")] public void SetColumnDragFunction (TreeViewColumnDropFunc func, IntPtr user_data, DestroyNotify destroy) { ColumnDragFunction = func; } [Obsolete ("Replaced by VisibleRect property.")] public void GetVisibleRect(Gdk.Rectangle visible_rect) { ; } gtk-sharp-2.12.10/gtk/MoveFocusHandler.cs0000644000175000001440000000102111131156741015004 00000000000000// This file was generated by the Gtk# code generator. // Any changes made will be lost if regenerated. namespace Gtk { using System; [Obsolete ("Events using this type were replaced by Gtk.Widget keybinding signal")] public delegate void MoveFocusHandler(object o, MoveFocusArgs args); [Obsolete ("Events using this type were replaced by Gtk.Widget keybinding signal")] public class MoveFocusArgs : GLib.SignalArgs { public Gtk.DirectionType Direction{ get { return (Gtk.DirectionType) Args[0]; } } } } gtk-sharp-2.12.10/gtk/IconSet.custom0000644000175000001440000000362411131156741014064 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] unsafe static extern void gtk_icon_set_get_sizes ( IntPtr raw, out int *pointer_to_enum, out int n_sizes); [DllImport("libglib-2.0-0.dll")] unsafe static extern void g_free (int *mem); /// Sizes Property /// To be completed public Gtk.IconSize [] Sizes { get { Gtk.IconSize [] retval; unsafe { int length; int *pointer_to_enum; gtk_icon_set_get_sizes (Handle, out pointer_to_enum, out length); retval = new Gtk.IconSize [length]; for (int i = 0; i < length; i++) retval [i] = (Gtk.IconSize) pointer_to_enum [i]; g_free (pointer_to_enum); } return retval; } } gtk-sharp-2.12.10/gtk/Entry.custom0000644000175000001440000000216511131156741013620 00000000000000// // Gtk.Entry.custom - Allow customization of values in the GtkEntry // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public int InsertText (string new_text) { int position = 0; InsertText (new_text, ref position); return position; } public Entry(string initialText): this() { Text = initialText; } [Obsolete("Replaced by IsEditable property")] public bool Editable { get { return IsEditable; } set { IsEditable = value; } } gtk-sharp-2.12.10/gtk/AboutDialog.custom0000644000175000001440000000176111135655027014717 00000000000000// AboutDialog.custom - customizations to Gtk.AboutDialog // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Use ProgramName instead")] [GLib.Property ("program-name")] public string Name { get { return ProgramName; } set { ProgramName = value; } } gtk-sharp-2.12.10/gtk/ColorSelection.custom0000644000175000001440000000525011131156741015441 00000000000000// Gtk.ColorSelection.custom - customizations and corrections for ColorSelection // Author: Lee Mallabone // Author: Justin Malcolm // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_color_selection_palette_to_string(Gdk.Color[] colors, int n_colors); /// PaletteToString Method public static string PaletteToString(Gdk.Color[] colors) { int n_colors = colors.Length; IntPtr raw_ret = gtk_color_selection_palette_to_string(colors, n_colors); string ret = GLib.Marshaller.PtrToStringGFree (raw_ret); return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_color_selection_palette_from_string(IntPtr str, out IntPtr colors, out int n_colors); public static Gdk.Color[] PaletteFromString(string str) { IntPtr parsedColors; int n_colors; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (str); bool raw_ret = gtk_color_selection_palette_from_string(native, out parsedColors, out n_colors); GLib.Marshaller.Free (native); // If things failed, return silently if (!raw_ret) { return null; } System.Console.WriteLine("Raw call finished, making " + n_colors + " actual colors"); Gdk.Color[] colors = new Gdk.Color[n_colors]; for (int i=0; i < n_colors; i++) { colors[i] = Gdk.Color.New(parsedColors); parsedColors = (IntPtr) ((int)parsedColors + Marshal.SizeOf(colors[i])); } return colors; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_color_selection_set_previous_color(IntPtr raw, ref Gdk.Color color); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_color_selection_get_previous_color(IntPtr raw, out Gdk.Color color); // Create Gtk# property to replace two Gtk+ functions public Gdk.Color PreviousColor { get { Gdk.Color returnColor; gtk_color_selection_get_previous_color(Handle, out returnColor); return returnColor; } set { gtk_color_selection_set_previous_color(Handle, ref value); } } gtk-sharp-2.12.10/gtk/Container.custom0000644000175000001440000001541111140654750014442 00000000000000// Container.custom - customizations to Gtk.Container // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gtksharpglue-2")] static extern void gtksharp_container_child_get_property (IntPtr container, IntPtr child, IntPtr property, ref GLib.Value value); public GLib.Value ChildGetProperty (Gtk.Widget child, string property_name) { GLib.Value value = new GLib.Value (); IntPtr native = GLib.Marshaller.StringToPtrGStrdup (property_name); gtksharp_container_child_get_property (Handle, child.Handle, native, ref value); GLib.Marshaller.Free (native); return value; } public IEnumerator GetEnumerator () { return Children.GetEnumerator (); } class ChildAccumulator { public ArrayList Children = new ArrayList (); public void Add (Gtk.Widget widget) { Children.Add (widget); } } public IEnumerable AllChildren { get { ChildAccumulator acc = new ChildAccumulator (); Forall (new Gtk.Callback (acc.Add)); return acc.Children; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_container_get_focus_chain (IntPtr raw, out IntPtr list_ptr); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_container_set_focus_chain (IntPtr raw, IntPtr list_ptr); public Widget[] FocusChain { get { IntPtr list_ptr; bool success = gtk_container_get_focus_chain (Handle, out list_ptr); if (!success) return new Widget [0]; GLib.List list = new GLib.List (list_ptr); Widget[] result = new Widget [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Widget; return result; } set { GLib.List list = new GLib.List (IntPtr.Zero); foreach (Widget val in value) list.Append (val.Handle); gtk_container_set_focus_chain (Handle, list.Handle); } } [DllImport("gtksharpglue-2")] static extern void gtksharp_container_base_forall (IntPtr handle, bool include_internals, IntPtr cb, IntPtr data); [DllImport("gtksharpglue-2")] static extern void gtksharp_container_override_forall (IntPtr gtype, ForallDelegate cb); [DllImport("gtksharpglue-2")] static extern void gtksharp_container_invoke_gtk_callback (IntPtr cb, IntPtr handle, IntPtr data); [GLib.CDeclCallback] delegate void ForallDelegate (IntPtr container, bool include_internals, IntPtr cb, IntPtr data); static ForallDelegate ForallOldCallback; static ForallDelegate ForallCallback; public struct CallbackInvoker { IntPtr cb; IntPtr data; internal CallbackInvoker (IntPtr cb, IntPtr data) { this.cb = cb; this.data = data; } internal IntPtr Data { get { return data; } } internal IntPtr Callback { get { return cb; } } public void Invoke (Widget w) { gtksharp_container_invoke_gtk_callback (cb, w.Handle, data); } } static void ForallOld_cb (IntPtr container, bool include_internals, IntPtr cb, IntPtr data) { try { Container obj = GLib.Object.GetObject (container, false) as Container; CallbackInvoker invoker = new CallbackInvoker (cb, data); obj.ForAll (include_internals, invoker); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideForallOld (GLib.GType gtype) { if (ForallOldCallback == null) ForallOldCallback = new ForallDelegate (ForallOld_cb); gtksharp_container_override_forall (gtype.Val, ForallOldCallback); } [Obsolete ("Override the ForAll(bool,Gtk.Callback) method instead")] [GLib.DefaultSignalHandler (Type=typeof(Gtk.Container), ConnectionMethod="OverrideForallOld")] protected virtual void ForAll (bool include_internals, CallbackInvoker invoker) { gtksharp_container_base_forall (Handle, include_internals, invoker.Callback, invoker.Data); } static void Forall_cb (IntPtr container, bool include_internals, IntPtr cb, IntPtr data) { try { Container obj = GLib.Object.GetObject (container, false) as Container; CallbackInvoker invoker = new CallbackInvoker (cb, data); obj.ForAll (include_internals, new Gtk.Callback (invoker.Invoke)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideForall (GLib.GType gtype) { if (ForallCallback == null) ForallCallback = new ForallDelegate (Forall_cb); gtksharp_container_override_forall (gtype.Val, ForallCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.Container), ConnectionMethod="OverrideForall")] protected virtual void ForAll (bool include_internals, Gtk.Callback callback) { CallbackInvoker invoker; try { invoker = (CallbackInvoker)callback.Target; } catch { throw new ApplicationException ("ForAll can only be called as \"base.ForAll()\". Use Forall() or Foreach()."); } gtksharp_container_base_forall (Handle, include_internals, invoker.Callback, invoker.Data); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_container_child_type(IntPtr raw); [DllImport("gtksharpglue-2")] static extern void gtksharp_container_override_child_type (IntPtr type, ChildTypeDelegate cb); [GLib.CDeclCallback] delegate IntPtr ChildTypeDelegate (IntPtr raw); static ChildTypeDelegate ChildTypeCallback; static IntPtr ChildType_cb (IntPtr raw) { try { Container obj = GLib.Object.GetObject (raw, false) as Container; GLib.GType gtype = obj.ChildType (); return gtype.Val; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return GLib.GType.Invalid.Val; } static void OverrideChildType (GLib.GType gtype) { if (ChildTypeCallback == null) ChildTypeCallback = new ChildTypeDelegate (ChildType_cb); gtksharp_container_override_child_type (gtype.Val, ChildTypeCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.Container), ConnectionMethod="OverrideChildType")] public virtual GLib.GType ChildType() { IntPtr raw_ret = gtk_container_child_type(Handle); GLib.GType ret = new GLib.GType(raw_ret); return ret; } public class ContainerChild { protected Container parent; protected Widget child; public ContainerChild (Container parent, Widget child) { this.parent = parent; this.child = child; } public Container Parent { get { return parent; } } public Widget Child { get { return child; } } } public virtual ContainerChild this [Widget w] { get { return new ContainerChild (this, w); } } gtk-sharp-2.12.10/gtk/gtk-api.raw0000644000175000001440000406576511304354511013352 00000000000000 gtk-sharp-2.12.10/gtk/Application.cs0000755000175000001440000001300711254303646014061 00000000000000// GTK.Application.cs - GTK Main Event Loop class implementation // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Reflection; using System.Runtime.InteropServices; using Gdk; public class Application { // // Disables creation of instances. // private Application () { } const int WS_EX_TOOLWINDOW = 0x00000080; const int WS_OVERLAPPEDWINDOW = 0x00CF0000; [DllImport ("user32.dll", EntryPoint="CreateWindowExW", CharSet=CharSet.Unicode, CallingConvention=CallingConvention.StdCall)] static extern IntPtr Win32CreateWindow (int dwExStyle, string lpClassName, string lpWindowName,int dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lParam); [DllImport ("user32.dll", EntryPoint="DestroyWindow", CharSet=CharSet.Unicode, CallingConvention=CallingConvention.StdCall)] static extern bool Win32DestroyWindow (IntPtr window); static Application () { if (!GLib.Thread.Supported) GLib.Thread.Init (); switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: // No idea why we need to create that window, but it enables visual styles on the Windows platform IntPtr window = Win32CreateWindow (WS_EX_TOOLWINDOW, "static", "gtk-sharp visual styles window", WS_OVERLAPPEDWINDOW, 0, 0, 0, 0, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero); Win32DestroyWindow (window); break; default: break; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_init (ref int argc, ref IntPtr argv); [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_init_check (ref int argc, ref IntPtr argv); static void SetPrgname () { GLib.Global.ProgramName = System.IO.Path.GetFileNameWithoutExtension (Environment.GetCommandLineArgs () [0]); } public static void Init () { SetPrgname (); IntPtr argv = new IntPtr(0); int argc = 0; gtk_init (ref argc, ref argv); } static bool do_init (string progname, ref string[] args, bool check) { SetPrgname (); bool res = false; string[] progargs = new string[args.Length + 1]; progargs[0] = progname; args.CopyTo (progargs, 1); GLib.Argv argv = new GLib.Argv (progargs); IntPtr buf = argv.Handle; int argc = progargs.Length; if (check) res = gtk_init_check (ref argc, ref buf); else gtk_init (ref argc, ref buf); if (buf != argv.Handle) throw new Exception ("init returned new argv handle"); // copy back the resulting argv, minus argv[0], which we're // not interested in. if (argc <= 1) args = new string[0]; else { progargs = argv.GetArgs (argc); args = new string[argc - 1]; Array.Copy (progargs, 1, args, 0, argc - 1); } return res; } public static void Init (string progname, ref string[] args) { do_init (progname, ref args, false); } public static bool InitCheck (string progname, ref string[] args) { return do_init (progname, ref args, true); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_main (); public static void Run () { gtk_main (); } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_events_pending (); public static bool EventsPending () { return gtk_events_pending (); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_main_iteration (); [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_main_iteration_do (bool blocking); public static void RunIteration () { gtk_main_iteration (); } public static bool RunIteration (bool blocking) { return gtk_main_iteration_do (blocking); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_main_quit (); public static void Quit () { gtk_main_quit (); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_get_current_event (); public static Gdk.Event CurrentEvent { get { return Gdk.Event.GetEvent (gtk_get_current_event ()); } } internal class InvokeCB { EventHandler d; object sender; EventArgs args; internal InvokeCB (EventHandler d) { this.d = d; args = EventArgs.Empty; sender = this; } internal InvokeCB (EventHandler d, object sender, EventArgs args) { this.d = d; this.args = args; this.sender = sender; } internal bool Invoke () { d (sender, args); return false; } } public static void Invoke (EventHandler d) { InvokeCB icb = new InvokeCB (d); GLib.Timeout.Add (0, new GLib.TimeoutHandler (icb.Invoke)); } public static void Invoke (object sender, EventArgs args, EventHandler d) { InvokeCB icb = new InvokeCB (d, sender, args); GLib.Timeout.Add (0, new GLib.TimeoutHandler (icb.Invoke)); } } } gtk-sharp-2.12.10/gtk/UIManager.custom0000644000175000001440000000461411131156741014330 00000000000000// Gtk.UiManager.custom - Gtk UiManager class customizations // // Author: John Luke // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public uint AddUiFromResource (string resource) { if (resource == null) throw new ArgumentNullException ("resource"); System.IO.Stream s = System.Reflection.Assembly.GetCallingAssembly ().GetManifestResourceStream (resource); if (s == null) throw new ArgumentException ("resource must be a valid resource name of 'assembly'."); return AddUiFromString (new System.IO.StreamReader (s).ReadToEnd ()); } [DllImport("libgtk-win32-2.0-0.dll")] static extern uint gtk_ui_manager_new_merge_id (IntPtr raw); public uint NewMergeId () { return gtk_ui_manager_new_merge_id (Handle); } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_ui_manager_get_toplevels (IntPtr raw, int types); public Widget[] GetToplevels (Gtk.UIManagerItemType types) { IntPtr raw_ret = gtk_ui_manager_get_toplevels (Handle, (int) types); GLib.SList list = new GLib.SList (raw_ret); Widget[] result = new Widget [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Widget; return result; } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_ui_manager_get_action_groups (IntPtr raw); public ActionGroup[] ActionGroups { get { IntPtr raw_ret = gtk_ui_manager_get_action_groups (Handle); GLib.List list = new GLib.List(raw_ret); ActionGroup[] result = new ActionGroup [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as ActionGroup; return result; } } gtk-sharp-2.12.10/gtk/TreeStore.custom0000644000175000001440000003772511131156741014445 00000000000000// Gtk.TreeStore.Custom - Gtk TreeStore class customizations // // Authors: Kristian Rietveld // Mike Kestner // // Copyright (c) 2002 Kristian Rietveld // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_append (IntPtr raw, out TreeIter iter, ref TreeIter parent); [DllImport ("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_append (IntPtr raw, out TreeIter iter, IntPtr parent); [Obsolete ("Replaced by AppendNode")] public TreeIter Append (TreeIter parent) { TreeIter iter; gtk_tree_store_append (Handle, out iter, ref parent); return iter; } [Obsolete ("Replaced by AppendNode")] public void Append (out TreeIter iter) { gtk_tree_store_append (Handle, out iter, IntPtr.Zero); } public TreeIter AppendNode () { TreeIter iter; gtk_tree_store_append (Handle, out iter, IntPtr.Zero); return iter; } public TreeIter AppendNode (TreeIter parent) { TreeIter iter; gtk_tree_store_append (Handle, out iter, ref parent); return iter; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_insert (IntPtr raw, out TreeIter iter, ref TreeIter parent, int position); [DllImport ("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_insert (IntPtr raw, out TreeIter iter, IntPtr parent, int position); [Obsolete ("Replaced by InsertNode")] public TreeIter Insert (TreeIter parent, int position) { TreeIter iter; gtk_tree_store_insert (Handle, out iter, ref parent, position); return iter; } [Obsolete ("Replaced by InsertNode")] public void Insert (out TreeIter iter, int position) { gtk_tree_store_insert (Handle, out iter, IntPtr.Zero, position); } public TreeIter InsertNode (TreeIter parent, int position) { TreeIter iter; gtk_tree_store_insert (Handle, out iter, ref parent, position); return iter; } public TreeIter InsertNode (int position) { TreeIter iter; gtk_tree_store_insert (Handle, out iter, IntPtr.Zero, position); return iter; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_prepend (IntPtr raw, out TreeIter iter, ref TreeIter parent); [DllImport ("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_prepend (IntPtr raw, out TreeIter iter, IntPtr parent); [Obsolete ("Replaced by PrependNode")] public TreeIter Prepend(TreeIter parent) { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, ref parent); return iter; } [Obsolete ("Replaced by PrependNode")] public void Prepend (out TreeIter iter) { gtk_tree_store_append (Handle, out iter, IntPtr.Zero); } public TreeIter PrependNode (TreeIter parent) { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, ref parent); return iter; } public TreeIter PrependNode () { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, IntPtr.Zero); return iter; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_insert_before (IntPtr raw, out TreeIter iter, ref TreeIter parent, ref TreeIter sibling); [DllImport ("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_insert_before (IntPtr raw, out TreeIter iter, IntPtr parent, ref TreeIter sibling); [Obsolete ("Replaced by InsertNodeBefore")] public TreeIter InsertBefore (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_before (Handle, out iter, ref parent, ref sibling); return iter; } [Obsolete ("Replaced by InsertNodeBefore")] public void InsertBefore (out TreeIter iter, TreeIter sibling) { gtk_tree_store_insert_before (Handle, out iter, IntPtr.Zero, ref sibling); } public TreeIter InsertNodeBefore (TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_before (Handle, out iter, IntPtr.Zero, ref sibling); return iter; } public TreeIter InsertNodeBefore (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_before (Handle, out iter, ref parent, ref sibling); return iter; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_insert_after (IntPtr raw, out TreeIter iter, ref TreeIter parent, ref TreeIter sibling); [DllImport ("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_insert_after (IntPtr raw, out TreeIter iter, IntPtr parent, ref TreeIter sibling); [Obsolete ("Replaced by InsertNodeAfter")] public TreeIter InsertAfter (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_after (Handle, out iter, ref parent, ref sibling); return iter; } [Obsolete ("Replaced by InsertNodeAfter")] public void InsertAfter (out TreeIter iter, TreeIter sibling) { gtk_tree_store_insert_after (Handle, out iter, IntPtr.Zero, ref sibling); } public TreeIter InsertNodeAfter (TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_after (Handle, out iter, IntPtr.Zero, ref sibling); return iter; } public TreeIter InsertNodeAfter (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_after (Handle, out iter, ref parent, ref sibling); return iter; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } private void _AppendValues (Gtk.TreeIter iter, Array values) { int col = 0; foreach (object value in values) { if (value != null) SetValue (iter, col, value); col++; } } public Gtk.TreeIter AppendValues (Gtk.TreeIter parent, Array values) { Gtk.TreeIter iter = AppendNode (parent); _AppendValues (iter, values); return iter; } public Gtk.TreeIter AppendValues (Gtk.TreeIter parent, params object[] values) { return AppendValues (parent, (Array) values); } public Gtk.TreeIter AppendValues (Array values) { Gtk.TreeIter iter = AppendNode (); _AppendValues (iter, values); return iter; } public Gtk.TreeIter AppendValues (params object[] values) { return AppendValues ((Array) values); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_insert_with_valuesv(IntPtr raw, out TreeIter iter, IntPtr parent, int position, int[] columns, GLib.Value[] values, int n_values); [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_insert_with_valuesv(IntPtr raw, out TreeIter iter, ref TreeIter parent, int position, int[] columns, GLib.Value[] values, int n_values); public TreeIter InsertWithValues (int position, params object[] values) { return InsertWithValues(false, TreeIter.Zero, position, values); } public TreeIter InsertWithValues (TreeIter parent, int position, params object[] values) { return InsertWithValues(true, parent, position, values); } private TreeIter InsertWithValues (bool hasParent, TreeIter parent, int position, params object[] values) { int[] columns = new int[values.Length]; GLib.Value[] vals = new GLib.Value[values.Length]; int n_values = 0; for (int i = 0; i < values.Length; i++) { if (values[i] != null) { columns[n_values] = i; vals[n_values] = new GLib.Value (values[i]); n_values++; } } TreeIter iter; if (hasParent) gtk_tree_store_insert_with_valuesv (Handle, out iter, ref parent, position, columns, vals, n_values); else gtk_tree_store_insert_with_valuesv (Handle, out iter, IntPtr.Zero, position, columns, vals, n_values); for (int i = 0; i < n_values; i++) vals[i].Dispose (); return iter; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_store_set_valuesv(IntPtr raw, ref TreeIter iter, int[] columns, GLib.Value[] values, int n_values); public void SetValues (TreeIter iter, params object[] values) { int[] columns = new int[values.Length]; GLib.Value[] vals = new GLib.Value[values.Length]; int n_values = 0; for (int i = 0; i < values.Length; i++) { if (values[i] != null) { columns[n_values] = i; vals[n_values] = new GLib.Value (values[i]); n_values++; } } gtk_tree_store_set_valuesv (Handle, ref iter, columns, vals, n_values); for (int i = 0; i < n_values; i++) vals[i].Dispose (); } public TreeStore (params GLib.GType[] types) : base (IntPtr.Zero) { CreateNativeObject (new string [0], new GLib.Value [0]); ColumnTypes = types; } public TreeStore (params Type[] types) : base (IntPtr.Zero) { GLib.GType[] gtypes = new GLib.GType[types.Length]; int i = 0; foreach (Type type in types) { gtypes[i] = (GLib.GType) type; i++; } CreateNativeObject (new string [0], new GLib.Value [0]); ColumnTypes = gtypes; } [Obsolete ("Replaced by ColumnTypes property.")] public void SetColumnTypes (GLib.GType[] types) { ColumnTypes = types; } public object GetValue (Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { SetSortFunc (sort_column_id, sort_func); } [Obsolete ("Replaced by DefaultSortFunc property.")] public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } [GLib.CDeclCallback] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); TreeStore sender = GLib.Object.GetObject (arg0) as TreeStore; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = arg2 == IntPtr.Zero ? sender.IterNChildren () : sender.IterNChildren ((TreeIter)args.Args[1]); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { TreeStore store = GLib.Object.GetObject (tree_model, false) as TreeStore; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (iter); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeStore), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeStore), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); GLib.Value[] vals = new GLib.Value [4]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (path); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (iter); inst_and_params.Append (vals [2]); int cnt = IterNChildren (iter); IntPtr new_order_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (int)) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); vals [3] = new GLib.Value (new_order_ptr); inst_and_params.Append (vals [3]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.10/gtk/NodeStore.cs0000644000175000001440000003562111140654743013524 00000000000000// NodeStore.cs - Tree store implementation for TreeView. // // Author: Mike Kestner // // Copyright (c) 2003-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; public class NodeStore : GLib.Object, IEnumerable { class IDHashtable : Hashtable { class IDComparer : IComparer { public int Compare (object x, object y) { if ((int) x == (int) y) return 0; else return 1; } } class IDHashCodeProvider : IHashCodeProvider { public int GetHashCode (object o) { return (int) o; } } public IDHashtable () : base (new IDHashCodeProvider (), new IDComparer ()) {} } [GLib.CDeclCallback] delegate int GetFlagsDelegate (); [GLib.CDeclCallback] delegate int GetNColumnsDelegate (); [GLib.CDeclCallback] delegate IntPtr GetColumnTypeDelegate (int col); [GLib.CDeclCallback] delegate bool GetNodeDelegate (out int node_idx, IntPtr path); [GLib.CDeclCallback] delegate IntPtr GetPathDelegate (int node_idx); [GLib.CDeclCallback] delegate void GetValueDelegate (int node_idx, int col, ref GLib.Value val); [GLib.CDeclCallback] delegate bool NextDelegate (ref int node_idx); [GLib.CDeclCallback] delegate bool ChildrenDelegate (out int child, int parent); [GLib.CDeclCallback] delegate bool HasChildDelegate (int node_idx); [GLib.CDeclCallback] delegate int NChildrenDelegate (int node_idx); [GLib.CDeclCallback] delegate bool NthChildDelegate (out int child, int parent, int n); [GLib.CDeclCallback] delegate bool ParentDelegate (out int parent, int child); [StructLayout(LayoutKind.Sequential)] struct TreeModelIfaceDelegates { public GetFlagsDelegate get_flags; public GetNColumnsDelegate get_n_columns; public GetColumnTypeDelegate get_column_type; public GetNodeDelegate get_node; public GetPathDelegate get_path; public GetValueDelegate get_value; public NextDelegate next; public ChildrenDelegate children; public HasChildDelegate has_child; public NChildrenDelegate n_children; public NthChildDelegate nth_child; public ParentDelegate parent; } Hashtable node_hash = new IDHashtable (); GLib.GType[] ctypes; MemberInfo [] getters; int n_cols; bool list_only = false; ArrayList nodes = new ArrayList (); TreeModelIfaceDelegates tree_model_iface; int get_flags_cb () { TreeModelFlags result = TreeModelFlags.ItersPersist; if (list_only) result |= TreeModelFlags.ListOnly; return (int) result; } int get_n_columns_cb () { return n_cols; } IntPtr get_column_type_cb (int col) { try { return ctypes [col].Val; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } bool get_node_cb (out int node_idx, IntPtr path) { try { if (path == IntPtr.Zero) throw new ArgumentNullException ("path"); TreePath treepath = new TreePath (path); node_idx = -1; ITreeNode node = GetNodeAtPath (treepath); if (node == null) return false; node_idx = node.ID; node_hash [node.ID] = node; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } node_idx = -1; return false; } IntPtr get_path_cb (int node_idx) { try { ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null) throw new Exception ("Invalid Node ID"); return GetPath (node).Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } [DllImport("libgobject-2.0-0.dll")] static extern void g_value_init (ref GLib.Value val, IntPtr type); void get_value_cb (int node_idx, int col, ref GLib.Value val) { try { ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null) return; g_value_init (ref val, ctypes [col].Val); object col_val; if (getters [col] is PropertyInfo) col_val = ((PropertyInfo) getters [col]).GetValue (node, null); else col_val = ((FieldInfo) getters [col]).GetValue (node); val.Val = col_val; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } bool next_cb (ref int node_idx) { try { ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null) return false; int idx; if (node.Parent == null) idx = Nodes.IndexOf (node); else idx = node.Parent.IndexOf (node); if (idx < 0) throw new Exception ("Node not found in Nodes list"); if (node.Parent == null) { if (++idx >= Nodes.Count) return false; node = Nodes [idx] as ITreeNode; } else { if (++idx >= node.Parent.ChildCount) return false; node = node.Parent [idx]; } node_hash [node.ID] = node; node_idx = node.ID; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } bool children_cb (out int child_idx, int parent) { try { child_idx = -1; ITreeNode node; if (parent == -1) { if (Nodes.Count <= 0) return false; node = Nodes [0] as ITreeNode; child_idx = node.ID; node_hash [node.ID] = node; return true; } node = node_hash [parent] as ITreeNode; if (node == null || node.ChildCount <= 0) return false; ITreeNode child = node [0]; node_hash [child.ID] = child; child_idx = child.ID; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } child_idx = -1; return false; } bool has_child_cb (int node_idx) { try { ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null || node.ChildCount <= 0) return false; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } int n_children_cb (int node_idx) { try { if (node_idx == -1) return Nodes.Count; ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null || node.ChildCount <= 0) return 0; return node.ChildCount; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } bool nth_child_cb (out int child_idx, int parent, int n) { child_idx = -1; try { ITreeNode node; if (parent == -1) { if (Nodes.Count <= n) return false; node = Nodes [n] as ITreeNode; child_idx = node.ID; node_hash [node.ID] = node; return true; } node = node_hash [parent] as ITreeNode; if (node == null || node.ChildCount <= n) return false; ITreeNode child = node [n]; node_hash [child.ID] = child; child_idx = child.ID; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } bool parent_cb (out int parent_idx, int child) { parent_idx = -1; try { ITreeNode node = node_hash [child] as ITreeNode; if (node == null || node.Parent == null) return false; node_hash [node.Parent.ID] = node.Parent; parent_idx = node.Parent.ID; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } [DllImport("gtksharpglue-2")] static extern void gtksharp_node_store_set_tree_model_callbacks (IntPtr raw, ref TreeModelIfaceDelegates cbs); private void BuildTreeModelIface () { tree_model_iface.get_flags = new GetFlagsDelegate (get_flags_cb); tree_model_iface.get_n_columns = new GetNColumnsDelegate (get_n_columns_cb); tree_model_iface.get_column_type = new GetColumnTypeDelegate (get_column_type_cb); tree_model_iface.get_node = new GetNodeDelegate (get_node_cb); tree_model_iface.get_path = new GetPathDelegate (get_path_cb); tree_model_iface.get_value = new GetValueDelegate (get_value_cb); tree_model_iface.next = new NextDelegate (next_cb); tree_model_iface.children = new ChildrenDelegate (children_cb); tree_model_iface.has_child = new HasChildDelegate (has_child_cb); tree_model_iface.n_children = new NChildrenDelegate (n_children_cb); tree_model_iface.nth_child = new NthChildDelegate (nth_child_cb); tree_model_iface.parent = new ParentDelegate (parent_cb); gtksharp_node_store_set_tree_model_callbacks (Handle, ref tree_model_iface); } public NodeStore (Type node_type) : base (IntPtr.Zero) { CreateNativeObject (new string [0], new GLib.Value [0]); ScanType (node_type); BuildTreeModelIface (); } void ScanType (Type type) { TreeNodeAttribute tna = (TreeNodeAttribute) Attribute.GetCustomAttribute (type, typeof (TreeNodeAttribute), false); if (tna != null) list_only = tna.ListOnly; ArrayList minfos = new ArrayList (); foreach (PropertyInfo pi in type.GetProperties ()) foreach (TreeNodeValueAttribute attr in pi.GetCustomAttributes (typeof (TreeNodeValueAttribute), false)) minfos.Add (pi); foreach (FieldInfo fi in type.GetFields ()) foreach (TreeNodeValueAttribute attr in fi.GetCustomAttributes (typeof (TreeNodeValueAttribute), false)) minfos.Add (fi); ctypes = new GLib.GType [minfos.Count]; getters = new MemberInfo [minfos.Count]; foreach (MemberInfo mi in minfos) { foreach (TreeNodeValueAttribute attr in mi.GetCustomAttributes (typeof (TreeNodeValueAttribute), false)) { int col = attr.Column; if (getters [col] != null) throw new Exception (String.Format ("You have two TreeNodeValueAttributes with the Column={0}", col)); getters [col] = mi; Type t = mi is PropertyInfo ? ((PropertyInfo) mi).PropertyType : ((FieldInfo) mi).FieldType; ctypes [col] = (GLib.GType) t; } } } private IList Nodes { get { return nodes as IList; } } [DllImport("gtksharpglue-2")] static extern void gtksharp_node_store_emit_row_changed (IntPtr handle, IntPtr path, int node_idx); private void changed_cb (object o, EventArgs args) { ITreeNode node = o as ITreeNode; gtksharp_node_store_emit_row_changed (Handle, get_path_cb (node.ID), node.ID); } [DllImport("gtksharpglue-2")] static extern void gtksharp_node_store_emit_row_inserted (IntPtr handle, IntPtr path, int node_idx); private void EmitRowInserted (ITreeNode node) { gtksharp_node_store_emit_row_inserted (Handle, get_path_cb (node.ID), node.ID); for (int i = 0; i < node.ChildCount; i++) EmitRowInserted (node [i]); } private void child_added_cb (object o, ITreeNode child) { AddNodeInternal (child); EmitRowInserted (child); } [DllImport("gtksharpglue-2")] static extern void gtksharp_node_store_emit_row_deleted (IntPtr handle, IntPtr path); [DllImport("gtksharpglue-2")] static extern void gtksharp_node_store_emit_row_has_child_toggled (IntPtr handle, IntPtr path, int node_idx); private void RemoveNodeInternal (ITreeNode node) { node_hash.Remove (node.ID); for (int i = 0; i < node.ChildCount; i++) RemoveNodeInternal (node [i]); } private void child_deleted_cb (object o, ITreeNode child, int idx) { ITreeNode node = o as ITreeNode; TreePath path = new TreePath (get_path_cb (node.ID)); TreePath child_path = path.Copy (); child_path.AppendIndex (idx); RemoveNodeInternal (child); gtksharp_node_store_emit_row_deleted (Handle, child_path.Handle); if (node.ChildCount <= 0) gtksharp_node_store_emit_row_has_child_toggled (Handle, get_path_cb (node.ID), node.ID); } private void AddNodeInternal (ITreeNode node) { node_hash [node.ID] = node; node.Changed += new EventHandler (changed_cb); node.ChildAdded += new TreeNodeAddedHandler (child_added_cb); node.ChildRemoved += new TreeNodeRemovedHandler (child_deleted_cb); for (int i = 0; i < node.ChildCount; i++) AddNodeInternal (node [i]); } public void AddNode (ITreeNode node) { nodes.Add (node); AddNodeInternal (node); EmitRowInserted (node); } public void AddNode (ITreeNode node, int position) { nodes.Insert (position, node); AddNodeInternal (node); EmitRowInserted (node); } public void RemoveNode (ITreeNode node) { int idx = nodes.IndexOf (node); if (idx < 0) return; nodes.Remove (node); RemoveNodeInternal (node); TreePath path = new TreePath (); path.AppendIndex (idx); gtksharp_node_store_emit_row_deleted (Handle, path.Handle); } public void Clear () { while (nodes.Count > 0) RemoveNode ((ITreeNode)nodes [0]); } private ITreeNode GetNodeAtPath (TreePath path) { int[] indices = path.Indices; if (indices[0] >= Nodes.Count) return null; ITreeNode node = Nodes [indices [0]] as ITreeNode; int i; for (i = 1; i < path.Depth; i++) { if (indices [i] >= node.ChildCount) return null; node = node [indices [i]]; } return node; } public ITreeNode GetNode (TreePath path) { if (path == null) throw new ArgumentNullException (); return GetNodeAtPath (path); } internal ITreeNode GetNode (TreeIter iter) { return node_hash [(int) iter.UserData] as ITreeNode; } internal TreePath GetPath (ITreeNode node) { TreePath path = new TreePath (); int idx; while (node.Parent != null) { idx = node.Parent.IndexOf (node); if (idx < 0) throw new Exception ("Badly formed tree"); path.PrependIndex (idx); node = node.Parent; } idx = Nodes.IndexOf (node); if (idx < 0) throw new Exception ("Node not found in Nodes list"); path.PrependIndex (idx); path.Owned = false; return path; } internal TreeIter GetIter (ITreeNode node) { TreeIter iter = new TreeIter (); iter.UserData = new IntPtr (node.ID); return iter; } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_node_store_get_type (); public static new GLib.GType GType { get { return new GLib.GType (gtksharp_node_store_get_type ()); } } public IEnumerator GetEnumerator () { return nodes.GetEnumerator (); } } } gtk-sharp-2.12.10/gtk/TextAppearance.custom0000644000175000001440000000253111131156741015420 00000000000000// Gtk.TextAppearance.custom - Gtk TextAppearance class customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by BgStipple property.")] public Gdk.Pixmap bg_stipple { get { Gdk.Pixmap ret = GLib.Object.GetObject(_bg_stipple) as Gdk.Pixmap; return ret; } set { _bg_stipple = value.Handle; } } [Obsolete ("Replaced by FgStipple property.")] public Gdk.Pixmap fg_stipple { get { Gdk.Pixmap ret = GLib.Object.GetObject(_fg_stipple) as Gdk.Pixmap; return ret; } set { _fg_stipple = value.Handle; } } gtk-sharp-2.12.10/gtk/CheckMenuItem.custom0000644000175000001440000000305311131156741015175 00000000000000// Gtk.CheckMenuItem.custom - Gtk CheckMenuItem class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_check_menu_item_new_with_mnemonic (IntPtr label); public CheckMenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (CheckMenuItem)) { CreateNativeObject (new string [0], new GLib.Value [0]); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); Add (al); al.AccelWidget = this; return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_check_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); } public new void Toggle() { Active = !Active; } gtk-sharp-2.12.10/gtk/Label.custom0000644000175000001440000000153011131156741013531 00000000000000// // Gtk.Label.custom // // This code is inserted after the automatically generated code. // // Author: John Luke // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Label () : this (null) {} gtk-sharp-2.12.10/gtk/Init.custom0000644000175000001440000000176611131156741013430 00000000000000// Gtk.Init.custom - Gtk Init class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public static bool Check (ref string[] argv) { return Application.InitCheck (Environment.CommandLine, ref argv); } gtk-sharp-2.12.10/gtk/Settings.custom0000644000175000001440000001533011131156741014315 00000000000000// Gtk.Settings.custom - Gtk Settings class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Removed from C API, returns IntPtr.Zero")] public IntPtr ColorHash { get { return IntPtr.Zero; } } public bool CursorBlink { get { GLib.Value val = GetProperty ("gtk-cursor-blink"); bool ret = (bool) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-cursor-blink", val); val.Dispose (); } } public int CursorBlinkTime { get { GLib.Value val = GetProperty ("gtk-cursor-blink-time"); int ret = (int) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-cursor-blink-time", val); val.Dispose (); } } public int DndDragThreshold { get { GLib.Value val = GetProperty ("gtk-dnd-drag-threshold"); int ret = (int) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-dnd-drag-threshold", val); val.Dispose (); } } public int DoubleClickTime { get { GLib.Value val = GetProperty ("gtk-double-click-time"); int ret = (int) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-double-click-time", val); val.Dispose (); } } public string FontName { get { GLib.Value val = GetProperty ("gtk-font-name"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-font-name", val); val.Dispose (); } } public string IconSizes { get { GLib.Value val = GetProperty ("gtk-icon-sizes"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-icon-sizes", val); val.Dispose (); } } public string KeyThemeName { get { GLib.Value val = GetProperty ("gtk-key-theme-name"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-key-theme-name", val); val.Dispose (); } } public string MenuBarAccel { get { GLib.Value val = GetProperty ("gtk-menu-bar-accel"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-menu-bar-accel", val); val.Dispose (); } } public bool SplitCursor { get { GLib.Value val = GetProperty ("gtk-split-cursor"); bool ret = (bool) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-split-cursor", val); val.Dispose (); } } public string ThemeName { get { GLib.Value val = GetProperty ("gtk-theme-name"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-theme-name", val); val.Dispose (); } } gtk-sharp-2.12.10/gtk/Image.custom0000644000175000001440000000742111131156741013541 00000000000000// Image.custom - Customizations to Gtk.Image // // Authors: Mike Kestner // Authors: Stephane Delcroix // // Copyright (c) 2004-2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_image_new_from_icon_set(IntPtr icon_set, int size); public Image (Gtk.IconSet icon_set, Gtk.IconSize size) : base (IntPtr.Zero) { if (GetType () != typeof (Image)) { ArrayList vals = new ArrayList(); ArrayList names = new ArrayList(); names.Add ("icon_set"); vals.Add (new GLib.Value (icon_set)); names.Add ("icon_size"); vals.Add (new GLib.Value ((int)size)); CreateNativeObject ((string[])names.ToArray (typeof (string)), (GLib.Value[])vals.ToArray (typeof (GLib.Value))); return; } Raw = gtk_image_new_from_icon_set(icon_set.Handle, (int) size); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_image_new_from_stock(IntPtr stock_id, int size); public Image (string stock_id, Gtk.IconSize size) : base (IntPtr.Zero) { if (GetType () != typeof (Image)) { ArrayList vals = new ArrayList(); ArrayList names = new ArrayList(); names.Add ("stock"); vals.Add (new GLib.Value (stock_id)); names.Add ("icon_size"); vals.Add (new GLib.Value ((int)size)); CreateNativeObject ((string[])names.ToArray (typeof (string)), (GLib.Value[])vals.ToArray (typeof (GLib.Value))); return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (stock_id); Raw = gtk_image_new_from_stock(native, (int) size); GLib.Marshaller.Free (native); } void LoadFromStream (System.IO.Stream stream) { try { Gdk.PixbufAnimation anim = new Gdk.PixbufAnimation (stream); if (anim.IsStaticImage) Pixbuf = anim.StaticImage; else PixbufAnimation = anim; } catch { Stock = Gtk.Stock.MissingImage; } } public Image (System.IO.Stream stream) : this () { LoadFromStream (stream); } public Image (System.Reflection.Assembly assembly, string resource) : this () { if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); System.IO.Stream s = assembly.GetManifestResourceStream (resource); if (s == null) throw new ArgumentException ("'" + resource + "' is not a valid resource name of assembly '" + assembly + "'."); LoadFromStream (s); } static public Image LoadFromResource (string resource) { return new Image (System.Reflection.Assembly.GetCallingAssembly (), resource); } [Obsolete ("Use the Animation property instead")] public Gdk.PixbufAnimation FromAnimation { set { gtk_image_set_from_animation(Handle, value == null ? IntPtr.Zero : value.Handle); } } [Obsolete ("Use the File property instead")] public string FromFile { set { IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value); gtk_image_set_from_file(Handle, native_value); GLib.Marshaller.Free (native_value); } } [Obsolete ("Use the Pixbuf property instead")] public Gdk.Pixbuf FromPixbuf { set { gtk_image_set_from_pixbuf(Handle, value == null ? IntPtr.Zero : value.Handle); } } gtk-sharp-2.12.10/gtk/ColorSelectionDialog.custom0000644000175000001440000000450611140654750016567 00000000000000// Gtk.ColorSelectionDialog.custom - Gtk ColorSelectionDialog class customizations // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Do not use this class. It will cause your app to crash in mysterious ways.")] public class ColorSelectionButton : Gtk.Button { private ColorSelectionDialog color_sel; public ColorSelectionDialog ColorSelectionDialog { get { return color_sel; } } public ColorSelectionButton (ColorSelectionDialog cs, IntPtr raw) : base (raw) { color_sel = cs; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_color_selection_dialog_get_colorsel (IntPtr i); public ColorSelection ColorSelection { get { return GLib.Object.GetObject (gtksharp_color_selection_dialog_get_colorsel (this.Handle), false) as ColorSelection; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_color_selection_dialog_get_ok_button (IntPtr i); public Button OkButton { get { return GLib.Object.GetObject (gtksharp_color_selection_dialog_get_ok_button (this.Handle), false) as Button; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_color_selection_dialog_get_cancel_button (IntPtr i); public Button CancelButton { get { return GLib.Object.GetObject (gtksharp_color_selection_dialog_get_cancel_button (this.Handle), false) as Button; } } [DllImport("gtksharpglue-2")] static extern IntPtr gtksharp_color_selection_dialog_get_help_button (IntPtr i); public Button HelpButton { get { return GLib.Object.GetObject (gtksharp_color_selection_dialog_get_help_button (this.Handle), false) as Button; } } gtk-sharp-2.12.10/gtk/PrintContext.custom0000644000175000001440000000231011131156741015150 00000000000000// PrintContext.custom - customizations to Gtk.PrintContext // // Authors: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_print_context_get_cairo_context(IntPtr raw); [DllImport("libcairo-2.dll")] static extern void cairo_reference (IntPtr raw); public Cairo.Context CairoContext { get { IntPtr raw_ret = gtk_print_context_get_cairo_context (Handle); cairo_reference (raw_ret); return new Cairo.Context (raw_ret); } } gtk-sharp-2.12.10/gtk/TreeSortable.custom0000644000175000001440000000241211131156741015105 00000000000000// Gtk.TreeSortable.Custom - Gtk TreeSortable interface customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by SetDefaultSortFunc (TreeIterCompareFunc) overload.")] void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy); [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy); gtk-sharp-2.12.10/gtk/Key.cs0000644000175000001440000000324011131156741012335 00000000000000// Key.cs - Key class implementation // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Collections; using System.Runtime.InteropServices; public class Key { static Hashtable wrappers = new Hashtable (); [DllImport("libgtk-win32-2.0-0.dll")] static extern uint gtk_key_snooper_install (GtkSharp.KeySnoopFuncNative snooper, IntPtr func_data); public static uint SnooperInstall (Gtk.KeySnoopFunc snooper) { GtkSharp.KeySnoopFuncWrapper snooper_wrapper = new GtkSharp.KeySnoopFuncWrapper (snooper); uint ret = gtk_key_snooper_install (snooper_wrapper.NativeDelegate, IntPtr.Zero); wrappers [ret] = snooper_wrapper; return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_key_snooper_remove (uint snooper_handler_id); public static void SnooperRemove (uint snooper_handler_id) { gtk_key_snooper_remove(snooper_handler_id); wrappers.Remove (snooper_handler_id); } } } gtk-sharp-2.12.10/gtk/NodeSelection.cs0000644000175000001440000000731611131156741014350 00000000000000// NodeSelection.cs - a TreeSelection implementation that exposes ITreeNodes // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public class NodeSelection { private TreeSelection selection; public event EventHandler Changed; internal NodeSelection (TreeSelection selection) { this.selection = selection; selection.Changed += new EventHandler (ChangedHandler); } private void ChangedHandler (object o, EventArgs args) { if (Changed != null) Changed (this, args); } public bool NodeIsSelected (ITreeNode node) { return selection.IterIsSelected (NodeView.NodeStore.GetIter (node)); } public bool PathIsSelected (TreePath path) { return selection.PathIsSelected (path); } public void SelectAll () { selection.SelectAll (); } public void SelectNode (ITreeNode node) { selection.SelectIter (NodeView.NodeStore.GetIter (node)); } public void SelectPath (TreePath path) { selection.SelectPath (path); } public void SelectRange (ITreeNode begin_node, ITreeNode end_node) { TreePath begin = NodeView.NodeStore.GetPath (begin_node); TreePath end = NodeView.NodeStore.GetPath (end_node); selection.SelectRange (begin, end); } public void UnselectAll () { selection.UnselectAll (); } public void UnselectNode (ITreeNode node) { selection.UnselectIter (NodeView.NodeStore.GetIter (node)); } public void UnselectPath (TreePath path) { selection.UnselectPath (path); } public void UnselectRange (TreePath begin, TreePath end) { selection.UnselectRange (begin, end); } public void UnselectRange (ITreeNode begin_node, ITreeNode end_node) { TreePath begin = NodeView.NodeStore.GetPath (begin_node); TreePath end = NodeView.NodeStore.GetPath (end_node); selection.UnselectRange (begin, end); } public SelectionMode Mode { get { return selection.Mode; } set { selection.Mode = value; } } public NodeView NodeView { get { return selection.TreeView as NodeView; } } public ITreeNode[] SelectedNodes { get { TreePath [] paths = selection.GetSelectedRows (); int length = paths.Length; ITreeNode [] results = new ITreeNode [length]; for (int i = 0; i < length; i++) results [i] = NodeView.NodeStore.GetNode (paths [i]); return results; } } public ITreeNode SelectedNode { get { if (Mode == SelectionMode.Multiple) throw new InvalidOperationException ("SelectedNode is not valid with multi-selection mode"); ITreeNode [] sn = SelectedNodes; if (sn.Length == 0) return null; return sn [0]; } set { // with multiple mode, the behavior // here would be unclear. Does it just // select the `value' node or does it // make the `value' node the only // selected node. if (Mode == SelectionMode.Multiple) throw new InvalidOperationException ("SelectedNode is not valid with multi-selection mode"); SelectNode (value); } } } } gtk-sharp-2.12.10/gtk/ListStore.custom0000644000175000001440000002403511131156741014447 00000000000000// Gtk.ListStore.Custom - Gtk ListStore class customizations // // Author: Kristian Rietveld // // (c) 2002 Kristian Rietveld // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Reorder (int[]) overload")] public int Reorder () { return -1; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public Gtk.TreeIter AppendValues (Array values) { Gtk.TreeIter iter = Append(); int col = 0; foreach (object value in values) { if (value != null) { GLib.Value val = new GLib.Value (value); SetValue (iter, col, val); val.Dispose (); } col++; } return iter; } public Gtk.TreeIter AppendValues (params object[] values) { return AppendValues ((Array) values); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_list_store_insert_with_valuesv(IntPtr raw, out TreeIter iter, int position, int[] columns, GLib.Value[] values, int n_values); public TreeIter InsertWithValues (int position, params object[] values) { int[] columns = new int[values.Length]; GLib.Value[] vals = new GLib.Value[values.Length]; int n_values = 0; for (int i = 0; i < values.Length; i++) { if (values[i] != null) { columns[n_values] = i; vals[n_values] = new GLib.Value (values[i]); n_values++; } } TreeIter iter; gtk_list_store_insert_with_valuesv (Handle, out iter, position, columns, vals, n_values); for (int i = 0; i < n_values; i++) vals[i].Dispose (); return iter; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_list_store_set_valuesv(IntPtr raw, ref TreeIter iter, int[] columns, GLib.Value[] values, int n_values); public void SetValues (TreeIter iter, params object[] values) { int[] columns = new int[values.Length]; GLib.Value[] vals = new GLib.Value[values.Length]; int n_values = 0; for (int i = 0; i < values.Length; i++) { if (values[i] != null) { columns[n_values] = i; vals[n_values] = new GLib.Value (values[i]); n_values++; } } gtk_list_store_set_valuesv (Handle, ref iter, columns, vals, n_values); for (int i = 0; i < n_values; i++) vals[i].Dispose (); } public ListStore (params GLib.GType[] types) : base (IntPtr.Zero) { CreateNativeObject (new string [0], new GLib.Value [0]); ColumnTypes = types; } public ListStore (params Type[] types) : base (IntPtr.Zero) { GLib.GType[] gtypes = new GLib.GType[types.Length]; int i = 0; foreach (Type type in types) { gtypes[i] = (GLib.GType) type; i++; } CreateNativeObject (new string [0], new GLib.Value [0]); ColumnTypes = gtypes; } [Obsolete ("Replaced by ColumnTypes property.")] public void SetColumnTypes (GLib.GType[] types) { ColumnTypes = types; } public object GetValue(Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { SetSortFunc (sort_column_id, sort_func); } [Obsolete ("Replaced by DefaultSortFunc property.")] public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } public IEnumerator GetEnumerator() { return new TreeEnumerator(this); } [GLib.CDeclCallback] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); ListStore sender = GLib.Object.GetObject (arg0) as ListStore; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = sender.IterNChildren (); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { ListStore store = GLib.Object.GetObject (tree_model, false) as ListStore; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.ListStore), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.ListStore), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); GLib.Value[] vals = new GLib.Value [4]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (path); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (iter); inst_and_params.Append (vals [2]); int cnt = IterNChildren (); IntPtr new_order_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (int)) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); vals [3] = new GLib.Value (new_order_ptr); inst_and_params.Append (vals [3]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.10/gtk/TreeNodeAttribute.cs0000644000175000001440000000233411131156741015201 00000000000000// TreeNodeAttribute.cs - Attribute to specify TreeNode information for a class // // Author: Mike Kestner // // Copyright (c) 2003-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; [AttributeUsage(AttributeTargets.Class)] public sealed class TreeNodeAttribute : Attribute { bool list_only; [Obsolete ("This is no longer needed; it gets detected by Gtk#")] public int ColumnCount { get { return 0; } set { } } public bool ListOnly { get { return list_only; } set { list_only = value; } } } } gtk-sharp-2.12.10/gtk/EntryCompletion.custom0000644000175000001440000000235211131156741015650 00000000000000// Gtk.EntryCompletion.custom - Gtk EntryCompletion customizations // // Authors: Todd Berman // Mike Kestner // // Copyright (c) 2004 Todd Berman // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } gtk-sharp-2.12.10/gtk/SpinButton.custom0000644000175000001440000000277111131156741014627 00000000000000// Gtk.SpinButton.custom - Gtk SpinButton class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_spin_button_new_with_range (double min, double max, double step); public SpinButton (double min, double max, double step) : base (IntPtr.Zero) { if (GetType() != typeof (SpinButton)) { Adjustment adj = new Adjustment (min, min, max, step, 10 * step, 0); string[] names = new string [1]; GLib.Value[] vals = new GLib.Value [1]; names [0] = "adjustment"; vals [0] = new GLib.Value (adj); CreateNativeObject (names, vals); vals [0].Dispose (); return; } Raw = gtk_spin_button_new_with_range (min, max, step); } gtk-sharp-2.12.10/gtk/Frame.custom0000644000175000001440000000170311131156741013546 00000000000000 // // Gtk.ScrolledWindow.custom - Gtk ScrolledWindow class customizations // // Author: Radek Doulik (rodo@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Frame() : this (null) {} gtk-sharp-2.12.10/gtk/Drag.custom0000644000175000001440000000237411131156741013376 00000000000000// Drag.custom - Gtk.Drag class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_drag_set_icon_default(IntPtr context); public static void SetIconDefault(Gdk.DragContext context) { gtk_drag_set_icon_default(context == null ? IntPtr.Zero : context.Handle); } [Obsolete("Replaced by SetIconDefault(ctx)")] public static Gdk.DragContext IconDefault { set { gtk_drag_set_icon_default(value == null ? IntPtr.Zero : value.Handle); } } gtk-sharp-2.12.10/gtk/Calendar.custom0000644000175000001440000000352111131156741014225 00000000000000// Gtk.Calendar.Custom - Gtk Calendar class customizations // // Author: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Copyright (c) 2003 Ximian, Inc. (http://www.ximian.com) // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public DateTime GetDate () { uint year, month, day; GetDate (out year, out month, out day); DateTime result; try { result = new DateTime ((int) year, (int) month + 1, (int) day); } catch (ArgumentOutOfRangeException) { // Kluge to workaround GtkCalendar being in an invalid state // when raising month_changed signals, like in bug #78524. result = new DateTime ((int) year, (int) month + 1, DateTime.DaysInMonth ((int) year, (int) month + 1)); } return result; } // This defines a Date property for Calendar // Note that the setter causes CalendarChange events to be fired public DateTime Date { get { return this.GetDate(); } set { uint month= (uint) value.Month-1; uint year= (uint) value.Year; uint day = (uint) value.Day; SelectMonth(month,year); SelectDay(day); } } gtk-sharp-2.12.10/gtk/TargetEntry.custom0000644000175000001440000000202311131156741014760 00000000000000// Gtk.Window.custom - Gtk Window class customizations // // Author: Ettore Perazzoli // // Copyright (c) 2003 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public TargetEntry (string target, Gtk.TargetFlags flags, uint info) { this.Target = target; this.Flags = flags; this.Info = info; } gtk-sharp-2.12.10/gtk/FileChooser.custom0000644000175000001440000000160311131156741014715 00000000000000// Gtk.FileChooser.custom - Gtk FileChooser customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. string[] Filenames { get; } string[] ShortcutFolders { get; } gtk-sharp-2.12.10/gtk/glue/0000777000175000001440000000000011345266755012315 500000000000000gtk-sharp-2.12.10/gtk/glue/Makefile.am0000644000175000001440000000134111131156741014246 00000000000000lib_LTLIBRARIES = libgtksharpglue-2.la libgtksharpglue_2_la_SOURCES = \ adjustment.c \ cellrenderer.c \ clipboard.c \ colorseldialog.c \ container.c \ nodestore.c \ object.c \ selectiondata.c \ statusicon.c \ style.c \ targetlist.c \ vmglueheaders.h \ widget.c nodist_libgtksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libgtksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgtksharpglue_2_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libgtksharpglue.dll: $(libgtksharpglue_2_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def ./build-dll libgtksharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.10/gtk/glue/style.c0000644000175000001440000001504411131156741013523 00000000000000/* style.c : Glue to access fields in GtkStyle. * * Author: Rachel Hestilow * Radek Doulik * * Copyright (c) 2002, 2003 Rachel Hestilow, Mike Kestner, Radek Doulik * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GdkGC *gtksharp_gtk_style_get_white_gc (GtkStyle *style); GdkGC *gtksharp_gtk_style_get_black_gc (GtkStyle *style); GdkGC *gtksharp_gtk_style_get_fg_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_bg_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_base_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_text_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_text_aa_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_light_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_dark_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_mid_gc (GtkStyle *style, int i); void gtksharp_gtk_style_set_fg_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_bg_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_base_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_text_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_text_aa_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_light_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_dark_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_mid_gc (GtkStyle *style, int i, GdkGC *gc); GdkColor *gtksharp_gtk_style_get_fg (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_bg (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_light (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_mid (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_dark (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_text (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_base (GtkStyle *style, int i); PangoFontDescription *gtksharp_gtk_style_get_font_description (GtkStyle *style); int gtksharp_gtk_style_get_thickness (GtkStyle *style, int x); void gtksharp_gtk_style_set_thickness (GtkStyle *style, int thickness); GdkPixmap *gtksharp_gtk_style_get_bg_pixmap (GtkStyle *style, int i); void gtksharp_gtk_style_set_bg_pixmap (GtkStyle *style, int i, GdkPixmap *pixmap); /* */ /* FIXME: include all fields */ GdkGC* gtksharp_gtk_style_get_white_gc (GtkStyle *style) { g_object_ref (G_OBJECT (style->white_gc)); return style->white_gc; } GdkGC* gtksharp_gtk_style_get_black_gc (GtkStyle *style) { g_object_ref (G_OBJECT (style->black_gc)); return style->black_gc; } GdkGC* gtksharp_gtk_style_get_fg_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->fg_gc[i])); return style->fg_gc[i]; } GdkGC* gtksharp_gtk_style_get_bg_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->bg_gc[i])); return style->bg_gc[i]; } GdkGC* gtksharp_gtk_style_get_base_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->base_gc[i])); return style->base_gc[i]; } GdkGC* gtksharp_gtk_style_get_text_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->text_gc[i])); return style->text_gc[i]; } GdkGC* gtksharp_gtk_style_get_text_aa_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->text_aa_gc[i])); return style->text_aa_gc[i]; } GdkGC* gtksharp_gtk_style_get_light_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->light_gc[i])); return style->light_gc[i]; } GdkGC* gtksharp_gtk_style_get_dark_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->dark_gc[i])); return style->dark_gc[i]; } GdkGC* gtksharp_gtk_style_get_mid_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->mid_gc[i])); return style->mid_gc[i]; } void gtksharp_gtk_style_set_fg_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->fg_gc[i] = gc; } void gtksharp_gtk_style_set_bg_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->bg_gc[i] = gc; } void gtksharp_gtk_style_set_base_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->base_gc[i] = gc; } void gtksharp_gtk_style_set_text_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->text_gc[i] = gc; } void gtksharp_gtk_style_set_text_aa_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->text_aa_gc[i] = gc; } void gtksharp_gtk_style_set_light_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->light_gc[i] = gc; } void gtksharp_gtk_style_set_dark_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->dark_gc[i] = gc; } GdkColor* gtksharp_gtk_style_get_fg (GtkStyle *style, int i) { return &style->fg[i]; } GdkColor* gtksharp_gtk_style_get_bg (GtkStyle *style, int i) { return &style->bg[i]; } GdkColor* gtksharp_gtk_style_get_light (GtkStyle *style, int i) { return &style->light[i]; } GdkColor* gtksharp_gtk_style_get_mid (GtkStyle *style, int i) { return &style->mid[i]; } GdkColor* gtksharp_gtk_style_get_dark (GtkStyle *style, int i) { return &style->dark[i]; } GdkColor* gtksharp_gtk_style_get_text (GtkStyle *style, int i) { return &style->text[i]; } GdkColor* gtksharp_gtk_style_get_base (GtkStyle *style, int i) { return &style->base[i]; } PangoFontDescription * gtksharp_gtk_style_get_font_description (GtkStyle *style) { return style->font_desc; } int gtksharp_gtk_style_get_thickness (GtkStyle *style, int x) { if (x) return style->xthickness; else return style->ythickness; } void gtksharp_gtk_style_set_thickness (GtkStyle *style, int thickness) { if (thickness > 0) style->xthickness = thickness; else style->ythickness = -thickness; } GdkPixmap * gtksharp_gtk_style_get_bg_pixmap (GtkStyle *style, int i) { return style->bg_pixmap[i]; } void gtksharp_gtk_style_set_bg_pixmap (GtkStyle *style, int i, GdkPixmap *pixmap) { g_object_ref (G_OBJECT (pixmap)); style->bg_pixmap[i] = pixmap; } gtk-sharp-2.12.10/gtk/glue/colorseldialog.c0000644000175000001440000000340611131156741015364 00000000000000/* colorseldialog.c : Glue for accessing fields in the GtkColorSelectionDialog widget. * * Author: Duncan Mak (duncan@ximian.com) * * Copyright (c) Ximian, INc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GtkWidget *gtksharp_color_selection_dialog_get_colorsel (GtkColorSelectionDialog *dialog); GtkWidget *gtksharp_color_selection_dialog_get_ok_button (GtkColorSelectionDialog *dialog); GtkWidget *gtksharp_color_selection_dialog_get_cancel_button (GtkColorSelectionDialog *dialog); GtkWidget *gtksharp_color_selection_dialog_get_help_button (GtkColorSelectionDialog *dialog); /* */ GtkWidget* gtksharp_color_selection_dialog_get_colorsel (GtkColorSelectionDialog *dialog) { return dialog->colorsel; } GtkWidget* gtksharp_color_selection_dialog_get_ok_button (GtkColorSelectionDialog *dialog) { return dialog->ok_button; } GtkWidget* gtksharp_color_selection_dialog_get_cancel_button (GtkColorSelectionDialog *dialog) { return dialog->cancel_button; } GtkWidget* gtksharp_color_selection_dialog_get_help_button (GtkColorSelectionDialog *dialog) { return dialog->help_button; } gtk-sharp-2.12.10/gtk/glue/object.c0000644000175000001440000000267011131156741013632 00000000000000/* object.c : Glue to clean up GtkObject references. * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include /* Forward declarations */ void gtksharp_object_unref_if_floating (GObject *obj); gboolean gtksharp_object_is_floating (GObject *obj); void gtksharp_object_set_floating (GtkObject *obj, gboolean val); /* */ void gtksharp_object_unref_if_floating (GObject *obj) { if (GTK_OBJECT_FLOATING (obj)) g_object_unref (obj); } gboolean gtksharp_object_is_floating (GObject *obj) { return GTK_OBJECT_FLOATING (obj); } void gtksharp_object_set_floating (GtkObject *obj, gboolean val) { if (val == TRUE) GTK_OBJECT_SET_FLAGS (obj, GTK_FLOATING); else gtk_object_sink (obj); } gtk-sharp-2.12.10/gtk/glue/widget.c0000644000175000001440000001454611131156741013654 00000000000000/* widget.c : Glue to access fields in GtkWidget. * * Authors: Rachel Hestilow , * Brad Taylor * * Copyright (c) 2007 Brad Taylor * Copyright (c) 2002 Rachel Hestilow, Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include /* Forward declarations */ GdkRectangle *gtksharp_gtk_widget_get_allocation (GtkWidget *widget); GdkWindow *gtksharp_gtk_widget_get_window (GtkWidget *widget); void gtksharp_gtk_widget_set_window (GtkWidget *widget, GdkWindow *window); int gtksharp_gtk_widget_get_state (GtkWidget *widget); int gtksharp_gtk_widget_get_flags (GtkWidget *widget); void gtksharp_gtk_widget_set_flags (GtkWidget *widget, int flags); int gtksharp_gtk_widget_style_get_int (GtkWidget *widget, const char *name); void gtksharp_widget_connect_set_scroll_adjustments_signal (GType gtype, gpointer callback); void gtksharp_widget_connect_activate_signal (GType gtype, gpointer callback); void _gtksharp_marshal_VOID__OBJECT_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); int gtksharp_gtk_widget_get_flags (GtkWidget *widget); void gtksharp_gtk_widget_set_flags (GtkWidget *widget, int flags); int gtksharp_gtk_widget_style_get_int (GtkWidget *widget, const char *name); void gtksharp_widget_add_binding_signal (GType gtype, const char *sig_name, GCallback cb); void gtksharp_widget_register_binding (GType gtype, const char *sig_name, guint key, int mod, gpointer data); gboolean gtksharp_widget_style_get_property (GtkWidget *widget, const gchar* property, GValue *value); /* */ GdkRectangle* gtksharp_gtk_widget_get_allocation (GtkWidget *widget) { return &widget->allocation; } GdkWindow * gtksharp_gtk_widget_get_window (GtkWidget *widget) { return widget->window; } void gtksharp_gtk_widget_set_window (GtkWidget *widget, GdkWindow *window) { if (widget->window) g_object_unref (widget->window); widget->window = g_object_ref (window); } int gtksharp_gtk_widget_get_state (GtkWidget *widget) { return GTK_WIDGET_STATE (widget); } int gtksharp_gtk_widget_get_flags (GtkWidget *widget) { return GTK_WIDGET_FLAGS (widget); } void gtksharp_gtk_widget_set_flags (GtkWidget *widget, int flags) { GTK_OBJECT(widget)->flags = flags; } int gtksharp_gtk_widget_style_get_int (GtkWidget *widget, const char *name) { int value; gtk_widget_style_get (widget, name, &value, NULL); return value; } #include #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer void _gtksharp_marshal_VOID__OBJECT_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data) { typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT) (gpointer data1, gpointer arg_1, gpointer arg_2, gpointer data2); register GMarshalFunc_VOID__OBJECT_OBJECT callback; register GCClosure *cc = (GCClosure*) closure; register gpointer data1, data2; g_return_if_fail (n_param_values == 3); if (G_CCLOSURE_SWAP_DATA (closure)) { data1 = closure->data; data2 = g_value_peek_pointer (param_values + 0); } else { data1 = g_value_peek_pointer (param_values + 0); data2 = closure->data; } callback = (GMarshalFunc_VOID__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback); callback (data1, g_marshal_value_peek_object (param_values + 1), g_marshal_value_peek_object (param_values + 2), data2); } void gtksharp_widget_connect_set_scroll_adjustments_signal (GType gtype, gpointer cb) { GType parm_types[] = {GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT}; GtkWidgetClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->set_scroll_adjustments_signal = g_signal_newv ( "set_scroll_adjustments", gtype, G_SIGNAL_RUN_LAST, g_cclosure_new (cb, NULL, NULL), NULL, NULL, _gtksharp_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, parm_types); } void gtksharp_widget_connect_activate_signal (GType gtype, gpointer cb) { GtkWidgetClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->activate_signal = g_signal_newv ( "activate_signal", gtype, G_SIGNAL_RUN_LAST, g_cclosure_new (cb, NULL, NULL), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0, NULL); } void gtksharp_widget_add_binding_signal (GType gtype, const gchar *sig_name, GCallback cb) { GType parm_types[] = {G_TYPE_LONG}; g_signal_newv (sig_name, gtype, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, g_cclosure_new (cb, NULL, NULL), NULL, NULL, g_cclosure_marshal_VOID__LONG, G_TYPE_NONE, 1, parm_types); } void gtksharp_widget_register_binding (GType gtype, const gchar *signame, guint key, int mod, gpointer data) { GObjectClass *klass = g_type_class_peek (gtype); if (klass == NULL) klass = g_type_class_ref (gtype); GtkBindingSet *set = gtk_binding_set_by_class (klass); gtk_binding_entry_add_signal (set, key, mod, signame, 1, G_TYPE_LONG, data); } gboolean gtksharp_widget_style_get_property (GtkWidget *widget, const gchar* property, GValue *value) { GParamSpec *spec = gtk_widget_class_find_style_property (GTK_WIDGET_GET_CLASS (widget), property); if (spec == NULL) return FALSE; g_value_init (value, spec->value_type); gtk_widget_style_get_property (widget, property, value); return TRUE; } gtk-sharp-2.12.10/gtk/glue/win32dll.c0000755000175000001440000000044311131156741014021 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.10/gtk/glue/adjustment.c0000644000175000001440000000263111131156741014537 00000000000000/* * Utility wrapper for the GtkAdjustment * * Copyright (c) 2002 Miguel de Icaza (miguel@ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ void gtksharp_gtk_adjustment_set_bounds (GtkAdjustment *adj, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size); /* */ void gtksharp_gtk_adjustment_set_bounds (GtkAdjustment *adj, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size) { adj->lower = lower; adj->upper = upper; adj->step_increment = step_increment; adj->page_increment = page_increment; adj->page_size = page_size; gtk_adjustment_changed (adj); } gtk-sharp-2.12.10/gtk/glue/selectiondata.c0000644000175000001440000000203511131156741015176 00000000000000/* selectiondata.c : Glue to access fields of GtkSelectionData * * Author: Mike Kestner * * Copyright (c) 2003 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include guchar *gtksharp_gtk_selection_data_get_data_pointer (GtkSelectionData *data); guchar * gtksharp_gtk_selection_data_get_data_pointer (GtkSelectionData *data) { return data->data; } gtk-sharp-2.12.10/gtk/glue/clipboard.c0000644000175000001440000000430711131156741014322 00000000000000/* * clipboard.c * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GSList *gtksharp_clipboard_target_list_add (GSList *list, char *target, guint flags, guint info); GtkTargetEntry *gtksharp_clipboard_target_list_to_array (GSList *list); void gtksharp_clipboard_target_array_free (GtkTargetEntry *targets); void gtksharp_clipboard_target_list_free (GSList *list); /* */ GSList * gtksharp_clipboard_target_list_add (GSList *list, char *target, guint flags, guint info) { GtkTargetEntry *entry = g_new0 (GtkTargetEntry, 1); entry->target = g_strdup (target); entry->flags = flags; entry->info = info; return g_slist_prepend (list, entry); } GtkTargetEntry * gtksharp_clipboard_target_list_to_array (GSList *list) { GtkTargetEntry *targets; GSList *iter; int i; targets = g_new0 (GtkTargetEntry, g_slist_length (list)); for (iter = list, i = 0; iter; iter = iter->next, i++) { GtkTargetEntry *t = (GtkTargetEntry *) iter->data; targets[i].target = t->target; /* NOT COPIED */ targets[i].flags = t->flags; targets[i].info = t->info; } return targets; } void gtksharp_clipboard_target_array_free (GtkTargetEntry *targets) { g_free (targets); } void gtksharp_clipboard_target_list_free (GSList *list) { GSList *iter; for (iter = list; iter; iter = iter->next) { GtkTargetEntry *t = (GtkTargetEntry *) iter->data; g_free (t->target); g_free (t); } g_slist_free (list); } gtk-sharp-2.12.10/gtk/glue/cellrenderer.c0000644000175000001440000001256311131156741015034 00000000000000/* cellrenderer.c : Glue for overriding pieces of GtkCellRenderer * * Author: Todd Berman (tberman@sevenl.net), * Peter Johanson (peter@peterjohanson.com) * * Copyright (C) 2004 Todd Berman * Copyright (C) 2007 Peter Johanson * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void gtksharp_cellrenderer_invoke_get_size (GType gtype, GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height); void gtksharp_cellrenderer_invoke_get_size (GType type, GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height) { GtkCellRendererClass *klass = g_type_class_peek (type); klass->get_size (cell, widget, cell_area, x_offset, y_offset, width, height); } void gtksharp_cellrenderer_base_get_size (GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height); void gtksharp_cellrenderer_base_get_size (GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height) { GtkCellRendererClass *parent = g_type_class_peek_parent (G_OBJECT_GET_CLASS (cell)); if (parent->get_size) (*parent->get_size) (cell, widget, cell_area, x_offset, y_offset, width, height); } void gtksharp_cellrenderer_override_get_size (GType gtype, gpointer cb); void gtksharp_cellrenderer_override_get_size (GType gtype, gpointer cb) { GtkCellRendererClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkCellRendererClass *) klass)->get_size = cb; } void gtksharp_cellrenderer_invoke_render (GType type, GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags); void gtksharp_cellrenderer_invoke_render (GType type, GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags) { GtkCellRendererClass *klass = g_type_class_peek (type); klass->render (cell, window, widget, background_area, cell_area, expose_area, flags); } void gtksharp_cellrenderer_base_render (GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags); void gtksharp_cellrenderer_base_render (GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags) { GtkCellRendererClass *parent = g_type_class_peek_parent (G_OBJECT_GET_CLASS (cell)); if (parent->render) (*parent->render) (cell, window, widget, background_area, cell_area, expose_area, flags); } void gtksharp_cellrenderer_override_render (GType gtype, gpointer cb); void gtksharp_cellrenderer_override_render (GType gtype, gpointer cb) { GtkCellRendererClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkCellRendererClass *) klass)->render = cb; } GtkCellEditable * gtksharp_cellrenderer_invoke_start_editing (GType type, GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags); GtkCellEditable * gtksharp_cellrenderer_invoke_start_editing (GType type, GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags) { GtkCellRendererClass *klass = g_type_class_peek (type); return klass->start_editing (cell, event, widget, path, background_area, cell_area, flags); } GtkCellEditable * gtksharp_cellrenderer_base_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags); GtkCellEditable * gtksharp_cellrenderer_base_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags) { GtkCellRendererClass *parent = g_type_class_peek_parent (G_OBJECT_GET_CLASS (cell)); if (parent->start_editing) return (*parent->start_editing) (cell, event, widget, path, background_area, cell_area, flags); return NULL; } void gtksharp_cellrenderer_override_start_editing (GType gtype, gpointer cb); void gtksharp_cellrenderer_override_start_editing (GType gtype, gpointer cb) { GtkCellRendererClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkCellRendererClass *) klass)->start_editing = cb; } gtk-sharp-2.12.10/gtk/glue/targetlist.c0000644000175000001440000000251611131156741014545 00000000000000/* * Utilities for GtkTargetList * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* forward declarations */ int gtksharp_target_list_length (GtkTargetList *list); void gtksharp_target_list_to_entry_array (GtkTargetList *list, GtkTargetEntry *entries); /* */ int gtksharp_target_list_length (GtkTargetList *list) { return g_list_length (list->list); } void gtksharp_target_list_to_entry_array (GtkTargetList *list, GtkTargetEntry *entries) { GList *l; int i; for (l = list->list, i = 0; l; l = l->next, i++) { GtkTargetPair *pair = (GtkTargetPair *)l->data; entries[i].target = gdk_atom_name (pair->target); entries[i].flags = pair->flags; entries[i].info = pair->info; } } gtk-sharp-2.12.10/gtk/glue/nodestore.c0000644000175000001440000002377711131156741014401 00000000000000/* * nodestore.c * * Copyright (c) 2003 Novell, Inc. * * Authors: Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include typedef GtkTreeModelFlags (* GtkSharpNodeStoreGetFlagsFunc) (void); typedef gint (* GtkSharpNodeStoreGetNColumnsFunc) (void); typedef GType (* GtkSharpNodeStoreGetColumnTypeFunc) (gint col); typedef gboolean (* GtkSharpNodeStoreGetNodeFunc) (gint *node_idx, GtkTreePath *path); typedef GtkTreePath* (* GtkSharpNodeStoreGetPathFunc) (gint node_idx); typedef void (* GtkSharpNodeStoreGetValueFunc) (gint node_idx, gint col, GValue *value); typedef gboolean (* GtkSharpNodeStoreIterNextFunc) (gint *node_idx); typedef gboolean (* GtkSharpNodeStoreIterChildrenFunc) (gint *first_child, gint parent); typedef gboolean (* GtkSharpNodeStoreIterHasChildFunc) (gint node_idx); typedef gint (* GtkSharpNodeStoreIterNChildrenFunc) (gint node_idx); typedef gboolean (* GtkSharpNodeStoreIterNthChildFunc) (gint *child, gint parent, gint n); typedef gboolean (* GtkSharpNodeStoreIterParentFunc) (gint *parent, gint child); typedef struct _GtkSharpNodeStoreTreeModelIface { GtkSharpNodeStoreGetFlagsFunc get_flags; GtkSharpNodeStoreGetNColumnsFunc get_n_columns; GtkSharpNodeStoreGetColumnTypeFunc get_column_type; GtkSharpNodeStoreGetNodeFunc get_node; GtkSharpNodeStoreGetPathFunc get_path; GtkSharpNodeStoreGetValueFunc get_value; GtkSharpNodeStoreIterNextFunc iter_next; GtkSharpNodeStoreIterChildrenFunc iter_children; GtkSharpNodeStoreIterHasChildFunc iter_has_child; GtkSharpNodeStoreIterNChildrenFunc iter_n_children; GtkSharpNodeStoreIterNthChildFunc iter_nth_child; GtkSharpNodeStoreIterParentFunc iter_parent; } GtkSharpNodeStoreTreeModelIface; typedef struct _GtkSharpNodeStore { GObject parent; gint stamp; GtkSharpNodeStoreTreeModelIface tree_model; } GtkSharpNodeStore; typedef struct _GtkSharpNodeStoreClass { GObjectClass parent; } GtkSharpNodeStoreClass; GType gtksharp_node_store_get_type (void); GObject * gtksharp_node_store_new (void); void gtksharp_node_store_set_tree_model_callbacks (GtkSharpNodeStore *store, GtkSharpNodeStoreTreeModelIface *iface); void gtksharp_node_store_emit_row_changed (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx); void gtksharp_node_store_emit_row_inserted (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx); void gtksharp_node_store_emit_row_deleted (GtkSharpNodeStore *store, GtkTreePath *path); void gtksharp_node_store_emit_row_has_child_toggled (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx); static GtkTreeModelFlags gns_get_flags (GtkTreeModel *model) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.get_flags (); } static int gns_get_n_columns (GtkTreeModel *model) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.get_n_columns (); } static GType gns_get_column_type (GtkTreeModel *model, int col) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.get_column_type (col); } static gboolean gns_get_iter (GtkTreeModel *model, GtkTreeIter *iter, GtkTreePath *path) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint node_idx; if (!store->tree_model.get_node (&node_idx, path)) return FALSE; iter->stamp = store->stamp; iter->user_data = GINT_TO_POINTER (node_idx); return TRUE; } static GtkTreePath * gns_get_path (GtkTreeModel *model, GtkTreeIter *iter) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.get_path (GPOINTER_TO_INT (iter->user_data)); } static void gns_get_value (GtkTreeModel *model, GtkTreeIter *iter, int col, GValue *value) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; store->tree_model.get_value (GPOINTER_TO_INT (iter->user_data), col, value); } static gboolean gns_iter_next (GtkTreeModel *model, GtkTreeIter *iter) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint node_idx; if (store->stamp != iter->stamp) return FALSE; node_idx = GPOINTER_TO_INT (iter->user_data); if (!store->tree_model.iter_next (&node_idx)) { iter->stamp = -1; return FALSE; } iter->user_data = GINT_TO_POINTER (node_idx); return TRUE; } static gboolean gns_iter_children (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *parent) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint child_idx, parent_idx; if (!parent) parent_idx = -1; else { if (store->stamp != parent->stamp) return FALSE; parent_idx = GPOINTER_TO_INT (parent->user_data); } if (!store->tree_model.iter_children (&child_idx, parent_idx)) return FALSE; iter->stamp = store->stamp; iter->user_data = GINT_TO_POINTER (child_idx); return TRUE; } static gboolean gns_iter_has_child (GtkTreeModel *model, GtkTreeIter *iter) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.iter_has_child (GPOINTER_TO_INT (iter->user_data)); } static int gns_iter_n_children (GtkTreeModel *model, GtkTreeIter *iter) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint node_idx; if (!iter) node_idx = -1; else { if (store->stamp != iter->stamp) return 0; node_idx = GPOINTER_TO_INT (iter->user_data); } return store->tree_model.iter_n_children (node_idx); } static gboolean gns_iter_nth_child (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *parent, int n) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint child_idx, parent_idx; if (!parent) parent_idx = -1; else { if (store->stamp != parent->stamp) return FALSE; parent_idx = GPOINTER_TO_INT (parent->user_data); } if (!store->tree_model.iter_nth_child (&child_idx, parent_idx, n)) return FALSE; iter->stamp = store->stamp; iter->user_data = GINT_TO_POINTER (child_idx); return TRUE; } static gboolean gns_iter_parent (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *child) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint parent; if (store->stamp != child->stamp) return FALSE; if (!store->tree_model.iter_parent (&parent, GPOINTER_TO_INT (child->user_data))) return FALSE; iter->stamp = store->stamp; iter->user_data = GINT_TO_POINTER (parent); return TRUE; } static void gns_tree_model_init (GtkTreeModelIface *iface) { iface->get_flags = gns_get_flags; iface->get_n_columns = gns_get_n_columns; iface->get_column_type = gns_get_column_type; iface->get_iter = gns_get_iter; iface->get_path = gns_get_path; iface->get_value = gns_get_value; iface->iter_next = gns_iter_next; iface->iter_children = gns_iter_children; iface->iter_has_child = gns_iter_has_child; iface->iter_n_children = gns_iter_n_children; iface->iter_nth_child = gns_iter_nth_child; iface->iter_parent = gns_iter_parent; } static void gns_class_init (GObjectClass *klass) { } static void gns_init (GtkSharpNodeStore *store) { store->stamp = 0; store->tree_model.get_flags = NULL; store->tree_model.get_n_columns = NULL; store->tree_model.get_column_type = NULL; store->tree_model.get_node = NULL; store->tree_model.get_path = NULL; store->tree_model.get_value = NULL; store->tree_model.iter_next = NULL; store->tree_model.iter_children = NULL; store->tree_model.iter_has_child = NULL; store->tree_model.iter_n_children = NULL; store->tree_model.iter_nth_child = NULL; store->tree_model.iter_parent = NULL; } GType gtksharp_node_store_get_type (void) { static GType gns_type = 0; if (!gns_type) { static const GTypeInfo gns_info = { sizeof (GtkSharpNodeStoreClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gns_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GtkSharpNodeStore), 0, (GInstanceInitFunc) gns_init }; static const GInterfaceInfo tree_model_info = { (GInterfaceInitFunc) gns_tree_model_init, NULL, NULL }; gns_type = g_type_register_static (G_TYPE_OBJECT, "GtkSharpNodeStore", &gns_info, 0); g_type_add_interface_static (gns_type, GTK_TYPE_TREE_MODEL, &tree_model_info); } return gns_type; } GObject * gtksharp_node_store_new (void) { return g_object_new (gtksharp_node_store_get_type (), NULL); } void gtksharp_node_store_set_tree_model_callbacks (GtkSharpNodeStore *store, GtkSharpNodeStoreTreeModelIface *iface) { store->tree_model = *iface; } void gtksharp_node_store_emit_row_changed (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx) { GtkTreeIter iter; iter.stamp = store->stamp; iter.user_data = GINT_TO_POINTER (node_idx); gtk_tree_model_row_changed (GTK_TREE_MODEL (store), path, &iter); } void gtksharp_node_store_emit_row_inserted (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx) { GtkTreeIter iter; iter.stamp = store->stamp; iter.user_data = GINT_TO_POINTER (node_idx); gtk_tree_model_row_inserted (GTK_TREE_MODEL (store), path, &iter); } void gtksharp_node_store_emit_row_deleted (GtkSharpNodeStore *store, GtkTreePath *path) { gtk_tree_model_row_deleted (GTK_TREE_MODEL (store), path); } void gtksharp_node_store_emit_row_has_child_toggled (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx) { GtkTreeIter iter; iter.stamp = store->stamp; iter.user_data = GINT_TO_POINTER (node_idx); gtk_tree_model_row_has_child_toggled (GTK_TREE_MODEL (store), path, &iter); } gtk-sharp-2.12.10/gtk/glue/Makefile.in0000644000175000001440000004317011345266364014277 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gtk/glue DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libgtksharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libgtksharpglue_2_la_OBJECTS = adjustment.lo cellrenderer.lo \ clipboard.lo colorseldialog.lo container.lo nodestore.lo \ object.lo selectiondata.lo statusicon.lo style.lo \ targetlist.lo widget.lo nodist_libgtksharpglue_2_la_OBJECTS = generated.lo libgtksharpglue_2_la_OBJECTS = $(am_libgtksharpglue_2_la_OBJECTS) \ $(nodist_libgtksharpglue_2_la_OBJECTS) libgtksharpglue_2_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libgtksharpglue_2_la_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libgtksharpglue_2_la_SOURCES) \ $(nodist_libgtksharpglue_2_la_SOURCES) DIST_SOURCES = $(libgtksharpglue_2_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libgtksharpglue-2.la libgtksharpglue_2_la_SOURCES = \ adjustment.c \ cellrenderer.c \ clipboard.c \ colorseldialog.c \ container.c \ nodestore.c \ object.c \ selectiondata.c \ statusicon.c \ style.c \ targetlist.c \ vmglueheaders.h \ widget.c nodist_libgtksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libgtksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgtksharpglue_2_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gtk/glue/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign gtk/glue/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libgtksharpglue-2.la: $(libgtksharpglue_2_la_OBJECTS) $(libgtksharpglue_2_la_DEPENDENCIES) $(libgtksharpglue_2_la_LINK) -rpath $(libdir) $(libgtksharpglue_2_la_OBJECTS) $(libgtksharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/adjustment.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cellrenderer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clipboard.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colorseldialog.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/container.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nodestore.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/selectiondata.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statusicon.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/targetlist.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/widget.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES libgtksharpglue.dll: $(libgtksharpglue_2_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def ./build-dll libgtksharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/gtk/glue/vmglueheaders.h0000644000175000001440000000011111131156741015210 00000000000000/* Headers for virtual method glue compilation */ #include gtk-sharp-2.12.10/gtk/glue/statusicon.c0000644000175000001440000000236311131156741014557 00000000000000/* * statusicon.c - Glue methods for GtkStatusIcon * * Authors: * Mike Kestner #include /* Forward declarations */ void gtksharp_gtk_status_icon_present_menu (GtkStatusIcon *icon, GtkMenu* menu, guint button, guint32 activate_time); /* */ void gtksharp_gtk_status_icon_present_menu (GtkStatusIcon *icon, GtkMenu* menu, guint button, guint32 activate_time) { gtk_menu_popup (menu, NULL, NULL, gtk_status_icon_position_menu, icon, button, activate_time); } gtk-sharp-2.12.10/gtk/glue/container.c0000644000175000001440000000501011131156741014335 00000000000000/* container.c : Glue for GtkContainer * * Author: Mike Kestner (mkestner@ximian.com) * * Copyright (C) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void gtksharp_container_base_forall (GtkContainer *container, gboolean include_internals, GtkCallback cb, gpointer data); void gtksharp_container_base_forall (GtkContainer *container, gboolean include_internals, GtkCallback cb, gpointer data) { GtkContainerClass *parent = g_type_class_peek_parent (G_OBJECT_GET_CLASS (container)); if (parent->forall) (*parent->forall) (container, include_internals, cb, data); } void gtksharp_container_override_forall (GType gtype, gpointer cb); void gtksharp_container_override_forall (GType gtype, gpointer cb) { GtkContainerClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkContainerClass *) klass)->forall = cb; } void gtksharp_container_invoke_gtk_callback (GtkCallback cb, GtkWidget *widget, gpointer data); void gtksharp_container_invoke_gtk_callback (GtkCallback cb, GtkWidget *widget, gpointer data) { cb (widget, data); } void gtksharp_container_override_child_type (GType gtype, gpointer cb); void gtksharp_container_override_child_type (GType gtype, gpointer cb) { GtkContainerClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkContainerClass *) klass)->child_type = cb; } void gtksharp_container_child_get_property (GtkContainer *container, GtkWidget *child, const gchar* property, GValue *value); void gtksharp_container_child_get_property (GtkContainer *container, GtkWidget *child, const gchar* property, GValue *value) { GParamSpec *spec = gtk_container_class_find_child_property (G_OBJECT_GET_CLASS (container), property); g_value_init (value, spec->value_type); gtk_container_child_get_property (container, child, property, value); } gtk-sharp-2.12.10/gtk/CellRendererProgress.custom0000644000175000001440000000355711131156741016620 00000000000000// // CellRendererProgress.custom - Gtk CellRendererProgress class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererProgress.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererProgress.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererProgress.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.10/gtk/TreeNodeValueAttribute.cs0000644000175000001440000000215411131156741016176 00000000000000// TreeNodeValueAttribute.cs - Attribute to mark properties as TreeNode column values // // Author: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; [AttributeUsage (AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)] public sealed class TreeNodeValueAttribute : Attribute { int col; public int Column { get { return col; } set { col = value; } } } } gtk-sharp-2.12.10/gtk/Clipboard.custom0000644000175000001440000001273611131156741014423 00000000000000// Gtk.Clipboard.custom - Customizations for the Clipboard class // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_clipboard_set_with_data(IntPtr raw, TargetEntry[] targets, int n_targets, GtkSharp.ClipboardGetFuncNative get_func, GtkSharp.ClipboardClearFuncNative clear_func, IntPtr data); [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_clipboard_set_with_owner(IntPtr raw, TargetEntry[] targets, int n_targets, GtkSharp.ClipboardGetFuncNative get_func, GtkSharp.ClipboardClearFuncNative clear_func, IntPtr owner); void ClearProxy (Clipboard clipboard) { if (PersistentData ["clear_func"] != null) { ClipboardClearFunc clear = PersistentData ["clear_func"] as ClipboardClearFunc; clear (clipboard); } SetPersistentData (null, null, null); } void SetPersistentData (object get_func_wrapper, object clear_func, object clear_proxy_wrapper) { PersistentData ["get_func_wrapper"] = get_func_wrapper; PersistentData ["clear_func"] = clear_func; PersistentData ["clear_proxy_wrapper"] = clear_proxy_wrapper; } public bool SetWithData (TargetEntry[] targets, ClipboardGetFunc get_func, ClipboardClearFunc clear_func) { ClipboardClearFunc clear_proxy = new ClipboardClearFunc (ClearProxy); GtkSharp.ClipboardGetFuncWrapper get_func_wrapper = new GtkSharp.ClipboardGetFuncWrapper (get_func); GtkSharp.ClipboardClearFuncWrapper clear_proxy_wrapper = new GtkSharp.ClipboardClearFuncWrapper (clear_proxy); bool ret = gtk_clipboard_set_with_data (Handle, targets, targets.Length, get_func_wrapper.NativeDelegate, clear_proxy_wrapper.NativeDelegate, IntPtr.Zero); SetPersistentData (get_func_wrapper, clear_func, clear_proxy_wrapper); return ret; } public bool SetWithOwner (TargetEntry[] targets, ClipboardGetFunc get_func, ClipboardClearFunc clear_func, GLib.Object owner) { ClipboardClearFunc clear_proxy = new ClipboardClearFunc (ClearProxy); GtkSharp.ClipboardGetFuncWrapper get_func_wrapper = new GtkSharp.ClipboardGetFuncWrapper (get_func); GtkSharp.ClipboardClearFuncWrapper clear_proxy_wrapper = new GtkSharp.ClipboardClearFuncWrapper (clear_proxy); bool ret = gtk_clipboard_set_with_owner (Handle, targets, targets.Length, get_func_wrapper.NativeDelegate, clear_proxy_wrapper.NativeDelegate, owner == null ? IntPtr.Zero : owner.Handle); SetPersistentData (get_func_wrapper, clear_func, clear_proxy_wrapper); return ret; } [Obsolete ("Replaced by Text property.")] public void SetText (string text) { Text = text; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_clipboard_wait_for_rich_text (IntPtr raw, IntPtr buffer, out IntPtr format, out UIntPtr length); public byte[] WaitForRichText(Gtk.TextBuffer buffer, out Gdk.Atom format) { UIntPtr length; IntPtr format_as_native; IntPtr raw_ret = gtk_clipboard_wait_for_rich_text (Handle, buffer == null ? IntPtr.Zero : buffer.Handle, out format_as_native, out length); format = format_as_native == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (format_as_native, typeof (Gdk.Atom), false); if (raw_ret == IntPtr.Zero) return new byte [0]; int sz = (int) (uint) length; byte[] ret = new byte [sz]; Marshal.Copy (ret, 0, raw_ret, sz); return ret; } public delegate void RichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, byte[] text); static RichTextReceivedFuncNative rt_rcvd_marshaler; [GLib.CDeclCallback] delegate void RichTextReceivedFuncNative (IntPtr clipboard, IntPtr format, IntPtr text, UIntPtr length, IntPtr data); void RichTextReceivedCallback (IntPtr clipboard_ptr, IntPtr format_ptr, IntPtr text_ptr, UIntPtr length, IntPtr data) { try { Gtk.Clipboard clipboard = GLib.Object.GetObject(clipboard_ptr) as Gtk.Clipboard; Gdk.Atom format = format_ptr == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (format_ptr, typeof (Gdk.Atom), false); int sz = (int) (uint) length; byte[] text = new byte [sz]; Marshal.Copy (text, 0, text_ptr, sz); GCHandle gch = (GCHandle) data; RichTextReceivedFunc cb = gch.Target as RichTextReceivedFunc; cb (clipboard, format, text); gch.Free (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_clipboard_request_rich_text(IntPtr raw, IntPtr buffer, RichTextReceivedFuncNative cb, IntPtr user_data); public void RequestRichText (Gtk.TextBuffer buffer, RichTextReceivedFunc cb) { if (rt_rcvd_marshaler == null) rt_rcvd_marshaler = new RichTextReceivedFuncNative (RichTextReceivedCallback); gtk_clipboard_request_rich_text (Handle, buffer == null ? IntPtr.Zero : buffer.Handle, rt_rcvd_marshaler, (IntPtr) GCHandle.Alloc (cb)); } gtk-sharp-2.12.10/gtk/ItemFactory.custom0000644000175000001440000000330011131156741014735 00000000000000// Gtk.ItemFactory.custom - Gtk ItemFactory class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_item_factory_new(IntPtr container_type, IntPtr path, IntPtr accel_group); public ItemFactory (GLib.GType container_type, string path, Gtk.AccelGroup accel_group) : base (IntPtr.Zero) { if (GetType () != typeof (ItemFactory)) { CreateNativeObject (new string [0], new GLib.Value [0]); Construct (container_type, path, accel_group); return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (path); Raw = gtk_item_factory_new(container_type.Val, native, (accel_group != null) ? accel_group.Handle : IntPtr.Zero); GLib.Marshaller.Free (native); } [Obsolete ("Replaced by TranslateFunc property.")] public void SetTranslateFunc (TranslateFunc func, IntPtr data, DestroyNotify notify) { TranslateFunc = func; } gtk-sharp-2.12.10/gtk/gtk-symbols.xml0000644000175000001440000000015311131156741014253 00000000000000 gtk-sharp-2.12.10/gtk/TextTag.custom0000644000175000001440000000227711131156741014103 00000000000000 // // Gtk.TextTag.custom - Gtk TextTag class customizations // // Author: Radek Doulik (rodo@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Pango.Weight Weight { get { GLib.Value val = GetProperty ("weight"); Pango.Weight ret = (Pango.Weight) (int) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value ((int) value); SetProperty ("weight", val); val.Dispose (); } } gtk-sharp-2.12.10/gtk/RadioMenuItem.custom0000644000175000001440000000261011131156741015214 00000000000000// Gtk.RadioMenuItem.custom - Gtk RadioMenuItem customizations // // Authors: John Luke // Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public RadioMenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (RadioMenuItem)) { CreateNativeObject (new string [0], new GLib.Value [0]); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); Add (al); al.AccelWidget = this; return; } IntPtr label_as_native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_radio_menu_item_new_with_mnemonic (IntPtr.Zero, label_as_native); GLib.Marshaller.Free (label_as_native); } gtk-sharp-2.12.10/gtk/TreeSelection.custom0000644000175000001440000000347111131156741015265 00000000000000// TreeSelection.custom - customizations to Gtk.TreeSelection // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_tree_selection_get_selected_rows (IntPtr raw, IntPtr model); public TreePath[] GetSelectedRows () { IntPtr list_ptr = gtk_tree_selection_get_selected_rows (Handle, IntPtr.Zero); if (list_ptr == IntPtr.Zero) return new TreePath [0]; GLib.List list = new GLib.List (list_ptr, typeof (Gtk.TreePath)); return (TreePath[]) GLib.Marshaller.ListToArray (list, typeof (Gtk.TreePath)); } [Obsolete ("Replaced by SelectFunction property.")] public void SetSelectFunction (Gtk.TreeSelectionFunc func, IntPtr data, Gtk.DestroyNotify destroy) { SelectFunction = func; } [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_selection_get_selected")] static extern bool gtk_tree_selection_get_selected_without_model (IntPtr raw, IntPtr model, out Gtk.TreeIter iter); public bool GetSelected (out Gtk.TreeIter iter) { return gtk_tree_selection_get_selected_without_model (Handle, IntPtr.Zero, out iter); } gtk-sharp-2.12.10/gtk/Makefile.in0000644000175000001440000006127011345266364013344 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/../Makefile.include $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/gtk-sharp-2.0.pc.in \ $(srcdir)/gtk-sharp.dll.config.in subdir = gtk ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gtk-sharp-2.0.pc gtk-sharp.dll.config SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)" gapiDATA_INSTALL = $(INSTALL_DATA) pkgconfigDATA_INSTALL = $(INSTALL_DATA) DATA = $(gapi_DATA) $(noinst_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue @ENABLE_MONO_CAIRO_FALSE@local_mono_cairo = @ENABLE_MONO_CAIRO_TRUE@local_mono_cairo = $(top_builddir)/cairo/Mono.Cairo.dll pkg = gtk pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gtk-sharp-2.0.pc SYMBOLS = gtk-symbols.xml INCLUDE_API = $(srcdir)/../glib/glib-api.xml ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml METADATA = Gtk.metadata references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll $(local_mono_cairo) glue_includes = gtk/gtk.h sources = \ ActionEntry.cs \ Application.cs \ BindingAttribute.cs \ ChildPropertyAttribute.cs \ ITreeNode.cs \ Key.cs \ MoveFocusHandler.cs \ NodeCellDataFunc.cs \ NodeSelection.cs \ NodeStore.cs \ NodeView.cs \ RadioActionEntry.cs \ RowsReorderedHandler.cs \ StockManager.cs \ TextBufferSerializeFunc.cs \ GtkSharp.TextBufferSerializeFuncNative.cs \ ThreadNotify.cs \ ToggleActionEntry.cs \ Timeout.cs \ TreeEnumerator.cs \ TreeNodeAttribute.cs \ TreeNode.cs \ TreeNodeValueAttribute.cs customs = \ AboutDialog.custom \ Accel.custom \ AccelKey.custom \ Action.custom \ ActionGroup.custom \ Adjustment.custom \ Bin.custom \ Builder.custom \ Button.custom \ Calendar.custom \ CellRenderer.custom \ CellRendererAccel.custom \ CellRendererCombo.custom \ CellRendererPixbuf.custom \ CellRendererProgress.custom \ CellRendererSpin.custom \ CellRendererText.custom \ CellRendererToggle.custom \ CellLayout.custom \ CellLayoutAdapter.custom \ CellView.custom \ CheckMenuItem.custom \ Clipboard.custom \ ColorSelection.custom \ ColorSelectionDialog.custom \ Combo.custom \ ComboBox.custom \ ComboBoxEntry.custom \ Container.custom \ Dialog.custom \ Drag.custom \ Entry.custom \ EntryCompletion.custom \ FileChooser.custom \ FileChooserButton.custom \ FileChooserDialog.custom \ FileChooserWidget.custom \ FileSelection.custom \ Frame.custom \ HBox.custom \ HScale.custom \ IconFactory.custom \ IconSet.custom \ IconTheme.custom \ IconView.custom \ Image.custom \ ImageMenuItem.custom \ Init.custom \ Input.custom \ ItemFactory.custom \ Label.custom \ ListStore.custom \ MessageDialog.custom \ Menu.custom \ MenuItem.custom \ Notebook.custom \ Object.custom \ Plug.custom \ PrintContext.custom \ Printer.custom \ RadioButton.custom \ RadioMenuItem.custom \ RadioToolButton.custom \ ScrolledWindow.custom \ SelectionData.custom \ Settings.custom \ SpinButton.custom \ StatusIcon.custom \ Stock.custom \ StockItem.custom \ Style.custom \ Table.custom \ TargetEntry.custom \ TargetList.custom \ TargetPair.custom \ TextAttributes.custom \ TextAppearance.custom \ TextBuffer.custom \ TextChildAnchor.custom \ TextIter.custom \ TextMark.custom \ TextTag.custom \ TextView.custom \ Toolbar.custom \ TooltipsData.custom \ TreeIter.custom \ TreeModel.custom \ TreeModelAdapter.custom \ TreeModelFilter.custom \ TreeModelSort.custom \ TreePath.custom \ TreeSelection.custom \ TreeSortable.custom \ TreeSortableAdapter.custom \ TreeStore.custom \ TreeViewColumn.custom \ TreeView.custom \ UIManager.custom \ VBox.custom \ VScale.custom \ Viewport.custom \ Widget.custom \ Window.custom add_dist = gtk-sharp-2.0.pc.in SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix /r:, $(references)) $(MONO_CAIRO_LIBS) @PLATFORM_WIN32_FALSE@GAPI_CDECL_INSERT = @PLATFORM_WIN32_TRUE@GAPI_CDECL_INSERT = $(top_srcdir)/gapi-cdecl-insert --keyfile=$(SNK) $(ASSEMBLY) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gtk/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign gtk/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh gtk-sharp-2.0.pc: $(top_builddir)/config.status $(srcdir)/gtk-sharp-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ gtk-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/gtk-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(gapiDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gapidir)/$$f'"; \ $(gapiDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gapidir)/$$f"; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(gapidir)/$$f'"; \ rm -f "$(DESTDIR)$(gapidir)/$$f"; \ done install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA \ install-pkgconfigDATA install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-dvi install-dvi-am \ install-exec install-exec-am install-gapiDATA install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) $(GAPI_CDECL_INSERT) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/gtk/FileChooserWidget.custom0000644000175000001440000000452111304772276016074 00000000000000// Gtk.FileChooserWidget.custom - Gtk FileChooserWidget customizations // // Authors: Todd Berman // // Copyright (c) 2004 Todd Berman // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_get_filenames (IntPtr raw); [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_get_filenames_utf8 (IntPtr raw); public string[] Filenames { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_get_filenames_utf8 (Handle); else raw_ret = gtk_file_chooser_get_filenames (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return (string[]) GLib.Marshaller.ListToArray (list, typeof (string)); } } [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_list_shortcut_folders (IntPtr raw); [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_file_chooser_list_shortcut_folders_utf8 (IntPtr raw); public string[] ShortcutFolders { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_list_shortcut_folders_utf8 (Handle); else raw_ret = gtk_file_chooser_list_shortcut_folders (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return (string[]) GLib.Marshaller.ListToArray (list, typeof (string)); } } gtk-sharp-2.12.10/gtk/Combo.custom0000644000175000001440000000177111131156741013560 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_combo_set_popdown_strings(IntPtr raw, IntPtr strings); public string[] PopdownStrings { set { GLib.List list = new GLib.List (IntPtr.Zero, typeof (string)); foreach (string val in value) list.Append (val); gtk_combo_set_popdown_strings(Handle, list.Handle); } } gtk-sharp-2.12.10/gtk/Notebook.custom0000644000175000001440000000225411131156741014276 00000000000000// Notebook.custom - customization for Gtk.Notebook // // Authors: Xavier Amado (xavier@blackbloodstudios.com) // Mike Kestner (mkestner@ximian.com) // // Copyright (c) 2004 Novel, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Widget CurrentPageWidget { get { return GetNthPage (CurrentPage); } } [DllImport("libgtk-win32-2.0-0.dll")] static extern int gtk_notebook_page_num (IntPtr handle, IntPtr child); public int PageNum (Widget child) { return gtk_notebook_page_num (Handle, child.Handle); } gtk-sharp-2.12.10/gtk/RadioToolButton.custom0000644000175000001440000000375211131156741015612 00000000000000// Gtk.RadioToolButton.custom - Gtk RadioToolButton class customizations // // Author: Mike Kestner // // Copyright (c) 2006 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_radio_tool_button_new (IntPtr group); public RadioToolButton (GLib.SList group) : base (IntPtr.Zero) { if (GetType () != typeof (RadioToolButton)) { CreateNativeObject (new string [0], new GLib.Value [0]); Group = group; return; } Raw = gtk_radio_tool_button_new(group == null ? IntPtr.Zero : group.Handle); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_radio_tool_button_new_from_stock (IntPtr group, IntPtr stock_id); public RadioToolButton (GLib.SList group, string stock_id) : base (IntPtr.Zero) { if (GetType () != typeof (RadioToolButton)) { GLib.Value[] vals = new GLib.Value [1]; string[] names = { "stock_id" }; vals [0] = new GLib.Value (stock_id); CreateNativeObject (names, vals); Group = group; return; } IntPtr stock_id_as_native = GLib.Marshaller.StringToPtrGStrdup (stock_id); Raw = gtk_radio_tool_button_new_from_stock(group == null ? IntPtr.Zero : group.Handle, stock_id_as_native); GLib.Marshaller.Free (stock_id_as_native); } gtk-sharp-2.12.10/gtk/Adjustment.custom0000644000175000001440000000362011140654750014635 00000000000000// // Gtk.Adjustment.custom - Allow customization of values in the GtkAdjustment // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_adjustment_new(double value, double lower, double upper, double step_increment, double page_increment, double page_size); public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size) : base (IntPtr.Zero) { if (GetType () != typeof (Adjustment)) { CreateNativeObject (new string [0], new GLib.Value [0]); Value = value; Lower = lower; Upper = upper; StepIncrement = step_increment; PageIncrement = page_increment; PageSize = page_size; return; } Raw = gtk_adjustment_new(value, lower, upper, step_increment, page_increment, page_size); } [DllImport("gtksharpglue-2")] static extern void gtksharp_gtk_adjustment_set_bounds (IntPtr i, double lower, double upper, double step_increment, double page_increment, double page_size); public void SetBounds (double lower, double upper, double step_increment, double page_increment, double page_size) { gtksharp_gtk_adjustment_set_bounds (this.Handle, lower, upper, step_increment, page_increment, page_size); } gtk-sharp-2.12.10/gtk/CellRendererText.custom0000644000175000001440000000353311131156741015732 00000000000000// // CellRendererText.custom - Gtk CellRendererText class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererText.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererText.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererText.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.10/gtk/MessageDialog.custom0000644000175000001440000000360311131156741015221 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_message_dialog_new (IntPtr parent_window, DialogFlags flags, MessageType type, ButtonsType bt, IntPtr msg, IntPtr args); [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_message_dialog_new_with_markup (IntPtr parent_window, DialogFlags flags, MessageType type, ButtonsType bt, IntPtr msg, IntPtr args); public MessageDialog (Gtk.Window parent_window, DialogFlags flags, MessageType type, ButtonsType bt, bool use_markup, string format, params object[] args) { IntPtr p = (parent_window != null) ? parent_window.Handle : IntPtr.Zero; if (format == null) { Raw = gtk_message_dialog_new (p, flags, type, bt, IntPtr.Zero, IntPtr.Zero); return; } IntPtr nmsg = GLib.Marshaller.StringToPtrGStrdup (GLib.Marshaller.StringFormat (format, args)); if (use_markup) Raw = gtk_message_dialog_new_with_markup (p, flags, type, bt, nmsg, IntPtr.Zero); else Raw = gtk_message_dialog_new (p, flags, type, bt, nmsg, IntPtr.Zero); GLib.Marshaller.Free (nmsg); } public MessageDialog (Gtk.Window parent_window, DialogFlags flags, MessageType type, ButtonsType bt, string format, params object[] args) : this (parent_window, flags, type, bt, true, format, args) {} gtk-sharp-2.12.10/gtk/TextMark.custom0000644000175000001440000000176611131156741014264 00000000000000// Gtk.TextMark.custom - Gtk TextMark class customizations // // Author: Mike Kestner (mkestner@novell.com) // // Copyright (C) 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. protected TextMark () : base (IntPtr.Zero) { CreateNativeObject (new string [0], new GLib.Value [0]); } gtk-sharp-2.12.10/gtk/MenuItem.custom0000644000175000001440000000272311131156741014242 00000000000000// Gtk.MenuItem.custom - Gtk MenuItem class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_menu_item_new_with_mnemonic (IntPtr label); public MenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (MenuItem)) { CreateNativeObject (new string [0], new GLib.Value [0]); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); Add (al); al.AccelWidget = this; return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); } gtk-sharp-2.12.10/gtk/BindingAttribute.cs0000644000175000001440000000313111131156741015042 00000000000000// BindingAttribute.cs - Attribute to specify key bindings // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public sealed class BindingAttribute : Attribute { Gdk.Key key; Gdk.ModifierType mod; string handler; object[] parms; public BindingAttribute (Gdk.Key key, string handler, params object[] parms) : this (key, 0, handler, parms) {} public BindingAttribute (Gdk.Key key, Gdk.ModifierType mod, string handler, params object[] parms) { this.key = key; this.mod = mod; this.handler = handler; this.parms = parms; } public Gdk.Key Key { get { return key; } } public Gdk.ModifierType Mod { get { return mod; } } public string Handler { get { return handler; } } public object[] Parms { get { return parms; } } } } gtk-sharp-2.12.10/gtk/CellRendererSpin.custom0000644000175000001440000000353311131156741015717 00000000000000// // CellRendererSpin.custom - Gtk CellRendererSpin class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererSpin.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererSpin.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererSpin.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.10/gtk/Toolbar.custom0000644000175000001440000002476511131156741014133 00000000000000// Gtk.Toolbar.custom - Gtk Toolbar class customizations // // Author: Mike Kestner // // Copyright (C) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgobject-2.0-0.dll")] static extern void g_object_weak_ref (IntPtr raw, WeakNotify cb, IntPtr data); delegate void WeakNotify (IntPtr handle, IntPtr obj); static void ReleaseDelegateCB (IntPtr handle, IntPtr obj) { GCHandle gch = (GCHandle) handle; gch.Free (); } static WeakNotify on_weak_notify; static WeakNotify OnWeakNotify { get { if (on_weak_notify == null) on_weak_notify = new WeakNotify (ReleaseDelegateCB); return on_weak_notify; } } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_toolbar_append_element (IntPtr raw, int type, IntPtr widget, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget AppendElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_append_element (Handle, (int) type, widget == null ? IntPtr.Zero : widget.Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject (raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_toolbar_insert_element (IntPtr raw, int type, IntPtr widget, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data, int position); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget InsertElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb, IntPtr user_data, int position) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_insert_element (Handle, (int) type, widget == null ? IntPtr.Zero : widget.Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, user_data, position); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject (raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_toolbar_prepend_element (IntPtr raw, int type, IntPtr widget, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget PrependElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_prepend_element (Handle, (int) type, widget == null ? IntPtr.Zero : widget.Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject (raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_toolbar_append_item (IntPtr raw, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget AppendItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_append_item (Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject(raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_toolbar_insert_item (IntPtr raw, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data, int position); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget InsertItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb, IntPtr user_data, int position) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_insert_item (Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, user_data, position); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject(raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_toolbar_prepend_item (IntPtr raw, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget PrependItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_prepend_item (Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject(raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_toolbar_insert_stock (IntPtr raw, IntPtr stock_id, IntPtr tooltip_text, IntPtr tooltip_private_text, GtkSharp.SignalFuncNative cb, IntPtr user_data, int position); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget InsertStock (string stock_id, string tooltip_text, string tooltip_private_text, Gtk.SignalFunc cb, int position) { return InsertStock (stock_id, tooltip_text, tooltip_private_text, cb, IntPtr.Zero, position); } [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget InsertStock (string stock_id, string tooltip_text, string tooltip_private_text, Gtk.SignalFunc cb, IntPtr user_data, int position) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr nstock = GLib.Marshaller.StringToPtrGStrdup (stock_id); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_insert_stock (Handle, nstock, ntiptext, ntipprivtext, cb_wrapper.NativeDelegate, user_data, position); GLib.Marshaller.Free (nstock); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject (raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } gtk-sharp-2.12.10/gtk/CellRendererAccel.custom0000644000175000001440000000354011131156741016013 00000000000000// // CellRendererAccel.custom - Gtk CellRendererAccel class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererAccel.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererAccel.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererAccel.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.10/gtk/ComboBox.custom0000644000175000001440000000274211131156741014230 00000000000000// Gtk.ComboBox.custom - Gtk ComboBox customizations // // Authors: Todd Berman // Mike Kestner // // Copyright (c) 2004 Todd Berman // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public ComboBox (string[] entries) : this (new ListStore (typeof (string))) { CellRendererText cell = new CellRendererText (); PackStart (cell, true); SetAttributes (cell, "text", 0); foreach (string entry in entries) AppendText (entry); } public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } gtk-sharp-2.12.10/gtk/NodeCellDataFunc.cs0000644000175000001440000000331111131156741014677 00000000000000// NodeCellDataFunc.cs - a TreeCellDataFunc marshaler for ITreeNodes // // Author: Mike Kestner (mkestner@novell.com) // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public delegate void NodeCellDataFunc (TreeViewColumn tree_column, CellRenderer cell, ITreeNode node); internal class NodeCellDataFuncWrapper { public void NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter_ptr, IntPtr data) { TreeViewColumn col = (Gtk.TreeViewColumn) GLib.Object.GetObject(tree_column); CellRenderer renderer = (Gtk.CellRenderer) GLib.Object.GetObject(cell); NodeStore store = (NodeStore) GLib.Object.GetObject(tree_model); TreeIter iter = TreeIter.New (iter_ptr); managed (col, renderer, store.GetNode (iter)); } internal GtkSharp.CellLayoutDataFuncNative NativeDelegate; protected NodeCellDataFunc managed; public NodeCellDataFuncWrapper (NodeCellDataFunc managed) { NativeDelegate = new GtkSharp.CellLayoutDataFuncNative (NativeCallback); this.managed = managed; } } } gtk-sharp-2.12.10/gtk/Action.custom0000644000175000001440000000266411131156741013740 00000000000000// Gtk.Action.custom - Gtk Action class customizations // // Author: John Luke // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Action (string name, string label) : this (name, label, null, null) { } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_action_get_proxies (IntPtr raw); public Gtk.Widget[] Proxies { get { IntPtr raw_ret = gtk_action_get_proxies (Handle); GLib.SList list = new GLib.SList (raw_ret); Widget[] result = new Widget [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Widget; return result; } } gtk-sharp-2.12.10/gtk/Menu.custom0000644000175000001440000000273411131156741013425 00000000000000// Gtk.Menu.custom - Gtk Menu class customizations // // Author: John Luke // // Copyright (C) 2004 John Luke // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Replaced by overload without IntPtr argument")] public void Popup (Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, Gtk.MenuPositionFunc func, IntPtr data, uint button, uint activate_time) { Popup (parent_menu_shell, parent_menu_item, func, button, activate_time); } public void Popup () { Popup (null, null, null, 3, Global.CurrentEventTime); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_menu_set_screen (IntPtr raw, IntPtr screen); public new Gdk.Screen Screen { get { return base.Screen; } set { gtk_menu_set_screen (Handle, value.Handle); } } gtk-sharp-2.12.10/gtk/StockItem.custom0000644000175000001440000000204411131156741014415 00000000000000// Stock.custom - customizations to Gtk.Stock // // Authors: Larry Ewing // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public StockItem (string stock_id, string label, uint keyval, Gdk.ModifierType modifier, string domain) { this.StockId = stock_id; this.Label = label; this.Keyval = keyval; this.Modifier = modifier; this.TranslationDomain = domain; } gtk-sharp-2.12.10/gtk/TextBuffer.custom0000644000175000001440000001712311305001021014554 00000000000000// TextBuffer.custom - customizations to Gtk.TextBuffer. // // Authors: Mike Kestner // // Copyright (c) 2004-2006 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_text_buffer_set_text (IntPtr raw, IntPtr text, int len); #if !GTK_SHARP_2_8 public string Text { get { return GetText (StartIter, EndIter, false); } set { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (value); gtk_text_buffer_set_text (Handle, native, -1); GLib.Marshaller.Free (native); } } #endif public void Clear () { Gtk.TextIter start = StartIter, end = EndIter; Delete (ref start, ref end); } [Obsolete ("Replaced by 'ref TextIter, ref TextIter' overload")] public void Delete (TextIter start, TextIter end ) { Delete (ref start, ref end); } // overload to paste clipboard contents at cursor editable by default. public void PasteClipboard (Gtk.Clipboard clipboard) { gtk_text_buffer_paste_clipboard(Handle, clipboard.Handle, IntPtr.Zero, true); } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_text_buffer_insert (IntPtr raw, ref Gtk.TextIter iter, IntPtr text, int len); [Obsolete ("Replaced by 'ref TextIter iter' overload")] public void Insert (TextIter iter, string text) { Insert (ref iter, text); } public void Insert (ref Gtk.TextIter iter, string text) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (text); gtk_text_buffer_insert (Handle, ref iter, native, -1); GLib.Marshaller.Free (native); } [Obsolete ("Replaced by 'ref TextIter iter' overload")] public void InsertRange (TextIter iter, TextIter start, TextIter end ) { InsertRange (ref iter, start, end); } [Obsolete ("Replaced by 'ref TextIter iter' overload")] public void InsertWithTags (TextIter iter, string text, params TextTag[] tags) { InsertWithTags (ref iter, text, tags); } public void InsertWithTags (ref TextIter iter, string text, params TextTag[] tags) { TextIter start; int offset = iter.Offset; Insert (ref iter, text); start = GetIterAtOffset (offset); iter = GetIterAtOffset (offset + text.Length); foreach (TextTag t in tags) this.ApplyTag (t, start, iter); } public void InsertWithTagsByName (ref TextIter iter, string text, params string[] tagnames) { TextIter start; int offset = iter.Offset; Insert (ref iter, text); start = GetIterAtOffset (offset); iter = GetIterAtOffset (offset + text.Length); foreach (string tagname in tagnames) { TextTag tag = TagTable.Lookup (tagname); if (tag != null) this.ApplyTag (tag, start, iter); } } [Obsolete("Use the TextBuffer.Text property's setter")] public void SetText (string text) { Text = text; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_text_buffer_insert_interactive(IntPtr raw, ref Gtk.TextIter iter, IntPtr text, int len, bool default_editable); public bool InsertInteractive(ref Gtk.TextIter iter, string text, bool default_editable) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (text); bool result = gtk_text_buffer_insert_interactive(Handle, ref iter, native, -1, default_editable); GLib.Marshaller.Free (native); return result; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_text_buffer_insert_interactive_at_cursor(IntPtr raw, IntPtr text, int len, bool default_editable); public bool InsertInteractiveAtCursor(string text, bool default_editable) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (text); bool result = gtk_text_buffer_insert_interactive_at_cursor(Handle, native, -1, default_editable); GLib.Marshaller.Free (native); return result; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_text_buffer_insert_at_cursor(IntPtr raw, IntPtr text, int len); public void InsertAtCursor(string text) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (text); gtk_text_buffer_insert_at_cursor(Handle, native, -1); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_buffer_serialize (IntPtr raw, IntPtr content_buffer, IntPtr format, ref Gtk.TextIter start, ref Gtk.TextIter end, out UIntPtr length); public byte[] Serialize(Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end) { UIntPtr length; IntPtr raw_ret = gtk_text_buffer_serialize (Handle, content_buffer == null ? IntPtr.Zero : content_buffer.Handle, format == null ? IntPtr.Zero : format.Handle, ref start, ref end, out length); if (raw_ret == IntPtr.Zero) return new byte [0]; int sz = (int) (uint) length; byte[] ret = new byte [sz]; Marshal.Copy (raw_ret, ret, 0, sz); return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_buffer_get_serialize_formats(IntPtr raw, out int n_formats); [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_buffer_get_deserialize_formats(IntPtr raw, out int n_formats); public Gdk.Atom[] DeserializeFormats { get { int n_formats; IntPtr raw_ret = gtk_text_buffer_get_deserialize_formats(Handle, out n_formats); Gdk.Atom[] result = new Gdk.Atom [n_formats]; for (int i = 0; i < n_formats; i++) { IntPtr format = Marshal.ReadIntPtr (raw_ret, i * IntPtr.Size); result [i] = format == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (format, typeof (Gdk.Atom), false); } return result; } } public Gdk.Atom[] SerializeFormats { get { int n_formats; IntPtr raw_ret = gtk_text_buffer_get_serialize_formats(Handle, out n_formats); Gdk.Atom[] result = new Gdk.Atom [n_formats]; for (int i = 0; i < n_formats; i++) { IntPtr format = Marshal.ReadIntPtr (raw_ret, i * IntPtr.Size); result [i] = format == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (format, typeof (Gdk.Atom), false); } return result; } } // This is directly copied from the old generated/TextBuffer.cs // It is no longer generated due to the manual implementation of TextBufferSerializeFunc // See https://bugzilla.novell.com/show_bug.cgi?id=555495 and textbuffer-serializefunc.patch [DllImport("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_text_buffer_register_serialize_format(IntPtr raw, IntPtr mime_type, GtkSharp.TextBufferSerializeFuncNative function, IntPtr user_data, GLib.DestroyNotify user_data_destroy); public Gdk.Atom RegisterSerializeFormat(string mime_type, Gtk.TextBufferSerializeFunc function) { IntPtr native_mime_type = GLib.Marshaller.StringToPtrGStrdup (mime_type); GtkSharp.TextBufferSerializeFuncWrapper function_wrapper = new GtkSharp.TextBufferSerializeFuncWrapper (function); IntPtr user_data; GLib.DestroyNotify user_data_destroy; if (function == null) { user_data = IntPtr.Zero; user_data_destroy = null; } else { user_data = (IntPtr) GCHandle.Alloc (function_wrapper); user_data_destroy = GLib.DestroyHelper.NotifyHandler; } IntPtr raw_ret = gtk_text_buffer_register_serialize_format(Handle, native_mime_type, function_wrapper.NativeDelegate, user_data, user_data_destroy); Gdk.Atom ret = raw_ret == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (raw_ret, typeof (Gdk.Atom), false); GLib.Marshaller.Free (native_mime_type); return ret; } gtk-sharp-2.12.10/gtk/VScale.custom0000644000175000001440000000273711131156741013701 00000000000000// Gtk.VScale.custom - Gtk VScale class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport ("libgtk-win32-2.0-0.dll")] static extern IntPtr gtk_vscale_new_with_range (double min, double max, double step); public VScale (double min, double max, double step) : base (IntPtr.Zero) { if (GetType() != typeof (VScale)) { Adjustment adj = new Adjustment (min, min, max, step, 10 * step, 0); string[] names = new string [1]; GLib.Value[] vals = new GLib.Value [1]; names [0] = "adjustment"; vals [0] = new GLib.Value (adj); CreateNativeObject (names, vals); vals [0].Dispose (); return; } Raw = gtk_vscale_new_with_range (min, max, step); } gtk-sharp-2.12.10/gtk/TreeModelAdapter.custom0000644000175000001440000001531511131156741015701 00000000000000// Gtk.TreeModelAdapter.custom - Gtk TreeModelAdapter customizations // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { throw new NotImplementedException (); } public object GetValue (Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [GLib.CDeclCallback] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); TreeModelFilter sender = GLib.Object.GetObject (arg0) as TreeModelFilter; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = arg2 == IntPtr.Zero ? sender.IterNChildren () : sender.IterNChildren ((TreeIter)args.Args[1]); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } #if false [GLib.CDeclCallback] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { TreeModelFilter store = GLib.Object.GetObject (tree_model, false) as TreeModelFilter; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (iter); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelFilter), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelFilter), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); GLib.Value[] vals = new GLib.Value [4]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (path); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (iter); inst_and_params.Append (vals [2]); int cnt = IterNChildren (iter); IntPtr new_order_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (int)) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); vals [3] = new GLib.Value (new_order_ptr); inst_and_params.Append (vals [3]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); foreach (GLib.Value v in vals) v.Dispose (); } #endif [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.10/gtk/TreeModelFilter.custom0000644000175000001440000001601311131156741015542 00000000000000 [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { throw new NotImplementedException (); } public object GetValue (Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [DllImport("libgtk-win32-2.0-0.dll")] static extern void gtk_tree_model_filter_set_modify_func(IntPtr raw, int n_columns, IntPtr[] types, GtkSharp.TreeModelFilterModifyFuncNative func, IntPtr data, GLib.DestroyNotify destroy); public void SetModifyFunc (int n_columns, GLib.GType[] types, TreeModelFilterModifyFunc func) { GtkSharp.TreeModelFilterModifyFuncWrapper func_wrapper = new GtkSharp.TreeModelFilterModifyFuncWrapper (func); IntPtr[] native_types = new IntPtr [types.Length]; for (int i = 0; i < types.Length; i++) native_types [i] = types [i].Val; GCHandle gch = GCHandle.Alloc (func_wrapper); gtk_tree_model_filter_set_modify_func (Handle, n_columns, native_types, func_wrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } [DllImport("libgtk-win32-2.0-0.dll")] static extern bool gtk_tree_model_filter_convert_child_iter_to_iter (IntPtr raw, out Gtk.TreeIter filter_iter, ref Gtk.TreeIter child_iter); public TreeIter ConvertChildIterToIter (Gtk.TreeIter child_iter) { TreeIter filter_iter; if (gtk_tree_model_filter_convert_child_iter_to_iter(Handle, out filter_iter, ref child_iter)) return filter_iter; else return TreeIter.Zero; } [GLib.CDeclCallback] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); TreeModelFilter sender = GLib.Object.GetObject (arg0) as TreeModelFilter; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = arg2 == IntPtr.Zero ? sender.IterNChildren () : sender.IterNChildren ((TreeIter)args.Args[1]); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [GLib.CDeclCallback] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { TreeModelFilter store = GLib.Object.GetObject (tree_model, false) as TreeModelFilter; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (iter); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelFilter), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelFilter), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); GLib.Value[] vals = new GLib.Value [4]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (path); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (iter); inst_and_params.Append (vals [2]); int cnt = IterNChildren (iter); IntPtr new_order_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (int)) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); vals [3] = new GLib.Value (new_order_ptr); inst_and_params.Append (vals [3]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); foreach (GLib.Value v in vals) v.Dispose (); } [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.10/aclocal.m40000644000175000001440000116306511345266362012356 00000000000000# generated automatically by aclocal 1.10.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(AC_AUTOCONF_VERSION, [2.63],, [m4_warning([this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) # serial 56 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. m4_defun([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl _LT_PROG_ECHO_BACKSLASH case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from `configure', and `config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # `config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain="$ac_aux_dir/ltmain.sh" ])# _LT_PROG_LTMAIN # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the `libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to `config.status' so that its # declaration there will have the same value as in `configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "X$" | $Xsed -e "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags="_LT_TAGS"dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the `libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into `config.status', and then the shell code to quote escape them in # for loops in `config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Fix-up fallback echo if it was mangled by the above quoting rules. case \$lt_ECHO in *'\\\[$]0 --fallback-echo"')dnl " lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` ;; esac _LT_OUTPUT_LIBTOOL_INIT ]) # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) cat >"$CONFIG_LT" <<_LTEOF #! $SHELL # Generated by $as_me. # Run this file to recreate a libtool stub with the current configuration. lt_cl_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ \`$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2008 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test $[#] != 0 do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try \`$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try \`$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. if test "$no_create" != yes; then lt_cl_success=: test "$silent" = yes && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) fi ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # _LT_COPYING _LT_LIBTOOL_TAGS # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) _LT_PROG_XSI_SHELLFNS sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[[012]]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES # -------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(whole_archive_flag_spec, $1)='' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=echo _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" m4_if([$1], [CXX], [ if test "$lt_cv_apple_cc_single_mod" != "yes"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX # ----------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl AC_LINK_IFELSE(AC_LANG_PROGRAM,[ lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/ p } }' aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], [AC_DIVERT_PUSH(NOTICE)]) $1 AC_DIVERT_POP ])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Add some code to the start of the generated configure script which # will find an echo command which doesn't interpret backslashes. m4_defun([_LT_PROG_ECHO_BACKSLASH], [_LT_SHELL_INIT([ # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$lt_ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac ECHO=${lt_ECHO-echo} if test "X[$]1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X[$]1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then # Yippee, $ECHO works! : else # Restart under the correct shell. exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then # used as fallback echo shift cat <<_LT_EOF [$]* _LT_EOF exit 0 fi # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test -z "$lt_ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if { echo_test_string=`eval $cmd`; } 2>/dev/null && { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null then break fi done fi if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then ECHO="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$ECHO" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. ECHO='print -r' elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else # Try using printf. ECHO='printf %s\n' if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL ECHO="$CONFIG_SHELL [$]0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then ECHO="$CONFIG_SHELL [$]0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "[$]0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else # Oops. We lost completely, so just stick with echo. ECHO=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. lt_ECHO=$ECHO if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi AC_SUBST(lt_ECHO) ]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that does not interpret backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" ])# _LT_ENABLE_LOCK # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [AC_CHECK_TOOL(AR, ar, false) test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1]) AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test x"[$]$2" = xyes; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ = "XX$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line __oline__ "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links="nottested" if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", [Define to the sub-directory in which libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existent directories. if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` else lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[[4-9]]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[123]]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix[[3-9]]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([], [sys_lib_dlsearch_path_spec], [2], [Run-time system search path for libraries]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program which can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program which can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method == "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi]) if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) AC_SUBST([DUMPBIN]) if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ const struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= AC_MSG_CHECKING([for $compiler option to produce PIC]) m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64 which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC*) # IBM XL 8.0 on PPC _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl*) # IBM XL C 8.0/Fortran 10.1 on PPC _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Sun\ F*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw* | cegcc*) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag= tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" AC_LINK_IFELSE(int foo(void) {}, _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' ) LDFLAGS="$save_LDFLAGS" else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_MSG_CHECKING([whether -lc should be explicitly linked in]) $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then _LT_TAGVAR(archive_cmds_need_lc, $1)=no else _LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], [[If ld is used when linking, flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting ${shlibpath_var} if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [fix_srcfile_path], [1], [Fix the shell variable $srcfile for the compiler]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to `libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC="$lt_save_CC" ])# _LT_LANG_C_CONFIG # _LT_PROG_CXX # ------------ # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ # compiler, we have our own version here. m4_defun([_LT_PROG_CXX], [ pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) AC_PROG_CXX if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi popdef([AC_MSG_ERROR]) ])# _LT_PROG_CXX dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([_LT_PROG_CXX], []) # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to `libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [AC_REQUIRE([_LT_PROG_CXX])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_caught_CXX_error" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared # libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' ;; *) if test "$GXX" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; *) # Version 6 will use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' ;; xl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd2*) # C++ shared libraries are fairly broken _LT_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd=echo else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(GCC, $1)="$GXX" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test "$_lt_caught_CXX_error" != yes AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ]) dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case $p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" || test $p = "-R"; then prev=$p continue else prev= fi if test "$pre_test_object_deps_done" = no; then case $p in -L* | -R*) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)="${prev}${p}" else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" fi fi ;; *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)="$p" else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)="$p" else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_PROG_F77 # ------------ # Since AC_PROG_F77 is broken, in that it returns the empty string # if there is no fortran compiler, we have our own version here. m4_defun([_LT_PROG_F77], [ pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) AC_PROG_F77 if test -z "$F77" || test "X$F77" = "Xno"; then _lt_disable_F77=yes fi popdef([AC_MSG_ERROR]) ])# _LT_PROG_F77 dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([_LT_PROG_F77], []) # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_REQUIRE([_LT_PROG_F77])dnl AC_LANG_PUSH(Fortran 77) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_F77" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC CC=${F77-"f77"} compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$G77" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC="$lt_save_CC" fi # test "$_lt_disable_F77" != yes AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_PROG_FC # ----------- # Since AC_PROG_FC is broken, in that it returns the empty string # if there is no fortran compiler, we have our own version here. m4_defun([_LT_PROG_FC], [ pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) AC_PROG_FC if test -z "$FC" || test "X$FC" = "Xno"; then _lt_disable_FC=yes fi popdef([AC_MSG_ERROR]) ])# _LT_PROG_FC dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([_LT_PROG_FC], []) # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_REQUIRE([_LT_PROG_FC])dnl AC_LANG_PUSH(Fortran) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_FC" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC CC=${FC-"f95"} compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC="$lt_save_CC" fi # test "$_lt_disable_FC" != yes AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC="$lt_save_CC" ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC GCC= CC=${RC-"windres"} compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC="$lt_save_CC" ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [AC_MSG_CHECKING([whether the shell understands some XSI constructs]) # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes AC_MSG_RESULT([$xsi_shell]) _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) AC_MSG_CHECKING([whether the shell understands "+="]) lt_shell_append=no ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes AC_MSG_RESULT([$lt_shell_append]) _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PROG_XSI_SHELLFNS # --------------------- # Bourne and XSI compatible variants of some useful shell functions. m4_defun([_LT_PROG_XSI_SHELLFNS], [case $xsi_shell in yes) cat << \_LT_EOF >> "$cfgfile" # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac } # func_basename file func_basename () { func_basename_result="${1##*/}" } # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac func_basename_result="${1##*/}" } # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). func_stripname () { # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary parameter first. func_stripname_result=${3} func_stripname_result=${func_stripname_result#"${1}"} func_stripname_result=${func_stripname_result%"${2}"} } # func_opt_split func_opt_split () { func_opt_split_opt=${1%%=*} func_opt_split_arg=${1#*=} } # func_lo2o object func_lo2o () { case ${1} in *.lo) func_lo2o_result=${1%.lo}.${objext} ;; *) func_lo2o_result=${1} ;; esac } # func_xform libobj-or-source func_xform () { func_xform_result=${1%.*}.lo } # func_arith arithmetic-term... func_arith () { func_arith_result=$(( $[*] )) } # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=${#1} } _LT_EOF ;; *) # Bourne compatible functions. cat << \_LT_EOF >> "$cfgfile" # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi } # func_basename file func_basename () { func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` } dnl func_dirname_and_basename dnl A portable version of this function is already defined in general.m4sh dnl so there is no need for it here. # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # func_strip_suffix prefix name func_stripname () { case ${2} in .*) func_stripname_result=`$ECHO "X${3}" \ | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "X${3}" \ | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; esac } # sed scripts: my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' my_sed_long_arg='1s/^-[[^=]]*=//' # func_opt_split func_opt_split () { func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` } # func_lo2o object func_lo2o () { func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` } # func_xform libobj-or-source func_xform () { func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` } # func_arith arithmetic-term... func_arith () { func_arith_result=`expr "$[@]"` } # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` } _LT_EOF esac case $lt_shell_append in yes) cat << \_LT_EOF >> "$cfgfile" # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "$[1]+=\$[2]" } _LT_EOF ;; *) cat << \_LT_EOF >> "$cfgfile" # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "$[1]=\$$[1]\$[2]" } _LT_EOF ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [0], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the `shared' and # `disable-shared' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59 which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) # ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # Generated from ltversion.in. # serial 3012 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.2.6]) m4_define([LT_PACKAGE_REVISION], [1.3012]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6' macro_revision='1.3012' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 4 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.10.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # This was merged into AC_PROG_CC in Autoconf. AU_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC AC_DIAGNOSE([obsolete], [$0: your code should no longer depend upon `am_cv_prog_cc_stdc', but upon `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when you adjust the code. You can also remove the above call to AC_PROG_CC if you already called it elsewhere.]) am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ]) AU_DEFUN([fp_PROG_CC_STDC]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 13 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR gtk-sharp-2.12.10/glade/0000777000175000001440000000000011345266755011650 500000000000000gtk-sharp-2.12.10/glade/HandlerNotFoundExeception.cs0000644000175000001440000000606711131157074017164 00000000000000// HandlerNotFoundException.cs // // Author: Ricardo Fernández Pascual // // Copyright (c) 2002 Ricardo Fernández Pascual // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Glade { using System; using System.Reflection; using System.Runtime.Serialization; /// /// Exception thrown when signal autoconnection fails. /// [Serializable] public class HandlerNotFoundException : SystemException { string handler_name; string signal_name; EventInfo evnt; Type delegate_type; public HandlerNotFoundException (string handler_name, string signal_name, EventInfo evnt, Type delegate_type) : this (handler_name, signal_name, evnt, delegate_type, null) { } public HandlerNotFoundException (string handler_name, string signal_name, EventInfo evnt, Type delegate_type, Exception inner) : base ("No handler " + handler_name + " found for signal " + signal_name, inner) { this.handler_name = handler_name; this.signal_name = signal_name; this.evnt = evnt; this.delegate_type = delegate_type; } public HandlerNotFoundException (string message, string handler_name, string signal_name, EventInfo evnt, Type delegate_type) : base ((message != null) ? message : "No handler " + handler_name + " found for signal " + signal_name, null) { this.handler_name = handler_name; this.signal_name = signal_name; this.evnt = evnt; this.delegate_type = delegate_type; } protected HandlerNotFoundException (SerializationInfo info, StreamingContext context) : base (info, context) { handler_name = info.GetString ("HandlerName"); signal_name = info.GetString ("SignalName"); evnt = info.GetValue ("Event", typeof (EventInfo)) as EventInfo; delegate_type = info.GetValue ("DelegateType", typeof (Type)) as Type; } public string HandlerName { get { return handler_name; } } public string SignalName { get { return signal_name; } } public EventInfo Event { get { return evnt; } } public Type DelegateType { get { return delegate_type; } } public override void GetObjectData (SerializationInfo info, StreamingContext context) { base.GetObjectData (info, context); info.AddValue ("HandlerName", handler_name); info.AddValue ("SignalName", signal_name); info.AddValue ("Event", evnt); info.AddValue ("DelegateType", delegate_type); } } } gtk-sharp-2.12.10/glade/Makefile.am0000644000175000001440000000120111131157074013574 00000000000000SUBDIRS = . glue if ENABLE_GLADE pkg = glade pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = glade-sharp-2.0.pc else pkg = endif INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml METADATA = Glade.metadata SYMBOLS = references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll glue_includes = glade/glade.h,glade/glade-parser.h sources = \ HandlerNotFoundExeception.cs \ WidgetAttribute.cs customs = \ Global.custom \ Interface.custom \ XML.custom add_dist = glade-sharp-2.0.pc.in include ../Makefile.include gtk-sharp-2.12.10/glade/Interface.custom0000644000175000001440000000235511131157074014707 00000000000000// Interface.custom // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Toplevels property")] public Glade.WidgetInfo toplevels { get { return Glade.WidgetInfo.New (_toplevels); } } public WidgetInfo[] Toplevels { get { WidgetInfo[] result = new WidgetInfo [NToplevels]; for (int i = 0; i < NToplevels; i++) result [i] = WidgetInfo.New (Marshal.ReadIntPtr (_toplevels, i * IntPtr.Size)); return result; } } gtk-sharp-2.12.10/glade/WidgetAttribute.cs0000644000175000001440000000233311131157074015205 00000000000000// WidgetAttribute.cs // // Author: Rachel Hestilow // // Copyright (c) 2003 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Glade { using System; [AttributeUsage (AttributeTargets.Field)] public class WidgetAttribute : Attribute { private string name; private bool specified; public WidgetAttribute (string name) { specified = true; this.name = name; } public WidgetAttribute () { specified = false; } public string Name { get { return name; } } public bool Specified { get { return specified; } } } } gtk-sharp-2.12.10/glade/XML.custom0000644000175000001440000003412411140656032013444 00000000000000// WARNING: This file is in UTF8 format due to the use of ã // XML.custom // // Author: Ricardo Fernández Pascual // // Copyright (c) 2002 Ricardo Fernández Pascual // // Field binding code by Rachel Hestilow // Copyright (c) 2003 Rachel Hestilow // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // keep this around so it doesn't get GC'd static GladeSharp.XMLCustomWidgetHandlerWrapper callback_wrapper = null; [DllImport("libglade-2.0-0.dll")] static extern void glade_set_custom_handler (GladeSharp.XMLCustomWidgetHandlerNative handler, IntPtr user_data); public static Glade.XMLCustomWidgetHandler CustomHandler { set { callback_wrapper = new GladeSharp.XMLCustomWidgetHandlerWrapper (value); glade_set_custom_handler(callback_wrapper.NativeDelegate, IntPtr.Zero); } } [Obsolete ("Replaced by CustomHandler property.")] static public void SetCustomHandler (Glade.XMLCustomWidgetHandler handler) { CustomHandler = handler; } [DllImport("gladesharpglue-2")] static extern IntPtr gtksharp_glade_xml_get_filename (IntPtr raw); public string Filename { get { string ret; IntPtr ptr = gtksharp_glade_xml_get_filename (Handle); if (ptr == IntPtr.Zero) { // from resource ret = System.Reflection.Assembly.GetCallingAssembly ().Location; } else { ret = GLib.Marshaller.Utf8PtrToString (ptr); } return ret; } } public Gtk.Widget this [string name] { get { return GetWidget (name); } } [DllImport("libglade-2.0-0.dll")] static extern IntPtr glade_get_widget_name (IntPtr widget); static public string GetWidgetName (Gtk.Widget w) { string ret; IntPtr ptr = glade_get_widget_name (w.Handle); if (ptr == IntPtr.Zero) ret = ""; else ret = GLib.Marshaller.Utf8PtrToString (ptr); return ret; } [DllImport("libglade-2.0-0.dll")] static extern IntPtr glade_get_widget_tree (IntPtr widget); static public Glade.XML GetWidgetTree (Gtk.Widget w) { IntPtr ret_raw = glade_get_widget_tree (w.Handle); Glade.XML ret = GLib.Object.GetObject (ret_raw, false) as Glade.XML; return ret; } /* a constructor that reads the XML from a Stream */ [DllImport("libglade-2.0-0.dll")] static extern IntPtr glade_xml_new_from_buffer(byte[] buffer, int size, IntPtr root, IntPtr domain); public XML (System.IO.Stream s, string root, string domain) : base (IntPtr.Zero) { if (GetType() != typeof (XML)) throw new InvalidOperationException ("Can't chain to this constructor from subclasses."); if (s == null) throw new ArgumentNullException ("s"); int size = (int) s.Length; byte[] buffer = new byte[size]; s.Read (buffer, 0, size); IntPtr nroot = GLib.Marshaller.StringToPtrGStrdup (root); IntPtr ndomain = GLib.Marshaller.StringToPtrGStrdup (domain); Raw = glade_xml_new_from_buffer(buffer, size, nroot, ndomain); GLib.Marshaller.Free (nroot); GLib.Marshaller.Free (ndomain); } public XML (string resource_name, string root) : this (System.Reflection.Assembly.GetEntryAssembly (), resource_name, root, null) { } public XML (System.Reflection.Assembly assembly, string resource_name, string root, string domain) : base (IntPtr.Zero) { if (GetType() != typeof (XML)) throw new InvalidOperationException ("Cannot chain to this constructor from subclasses."); if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); System.IO.Stream s = assembly.GetManifestResourceStream (resource_name); if (s == null) throw new ArgumentException ("Cannot get resource file '" + resource_name + "'", "resource_name"); int size = (int) s.Length; byte[] buffer = new byte[size]; s.Read (buffer, 0, size); s.Close (); IntPtr nroot = GLib.Marshaller.StringToPtrGStrdup (root); IntPtr ndomain = GLib.Marshaller.StringToPtrGStrdup (domain); Raw = glade_xml_new_from_buffer(buffer, size, nroot, ndomain); GLib.Marshaller.Free (nroot); GLib.Marshaller.Free (ndomain); } /* signal autoconnection using reflection */ public void Autoconnect (object handler) { BindFields (handler); SignalConnector sc = new SignalConnector (this, handler); sc.Autoconnect (); } public void Autoconnect (Type handler_class) { BindFields (handler_class); SignalConnector sc = new SignalConnector (this, handler_class); sc.Autoconnect (); } class SignalConnector { /* the Glade.XML object whose signals we want to connect */ XML gxml; /* the object to look for handlers */ object handler_object; /* the type to look for handlers if no object has been specified */ Type handler_type; public SignalConnector (XML gxml, object handler) { this.gxml = gxml; this.handler_object = handler; this.handler_type = handler.GetType (); } public SignalConnector (XML gxml, Type type) { this.gxml = gxml; this.handler_object = null; this.handler_type = type; } [GLib.CDeclCallback] delegate void RawXMLConnectFunc (IntPtr handler_name, IntPtr objekt, IntPtr signal_name, IntPtr signal_data, IntPtr connect_object, int after, IntPtr user_data); [DllImport("libglade-2.0-0.dll")] static extern void glade_xml_signal_autoconnect_full (IntPtr raw, RawXMLConnectFunc func, IntPtr user_data); public void Autoconnect () { RawXMLConnectFunc cf = new RawXMLConnectFunc (ConnectFunc); glade_xml_signal_autoconnect_full (gxml.Handle, cf, IntPtr.Zero); } void ConnectFunc (IntPtr native_handler_name, IntPtr objekt_ptr, IntPtr native_signal_name, IntPtr native_signal_data, IntPtr connect_object_ptr, int after, IntPtr user_data) { GLib.Object objekt = GLib.Object.GetObject (objekt_ptr, false); string handler_name = GLib.Marshaller.Utf8PtrToString (native_handler_name); string signal_name = GLib.Marshaller.Utf8PtrToString (native_signal_name); //string signal_data = GLib.Marshaller.Utf8PtrToString (native_signal_data); /* if an connect_object_ptr is provided, use that as handler */ object connect_object = connect_object_ptr == IntPtr.Zero ? handler_object : GLib.Object.GetObject (connect_object_ptr, false); /* search for the event to connect */ System.Reflection.MemberInfo[] evnts = objekt.GetType (). FindMembers (System.Reflection.MemberTypes.Event, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic, signalFilter, signal_name); foreach (System.Reflection.EventInfo ei in evnts) { bool connected = false; System.Reflection.MethodInfo add = ei.GetAddMethod (); System.Reflection.ParameterInfo[] addpi = add.GetParameters (); if (addpi.Length == 1) { /* this should be always true, unless there's something broken */ Type delegate_type = addpi[0].ParameterType; /* look for an instance method */ if (connect_object != null) try { Delegate d = Delegate.CreateDelegate (delegate_type, connect_object, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; } catch (ArgumentException) { /* ignore if there is not such instance method */ } /* look for a static method if no instance method has been found */ if (!connected && handler_type != null) try { Delegate d = Delegate.CreateDelegate (delegate_type, handler_type, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; } catch (ArgumentException) { /* ignore if there is not such static method */ } if (!connected) { string msg = ExplainError (ei.Name, delegate_type, handler_type, handler_name); throw new HandlerNotFoundException (msg, handler_name, signal_name, ei, delegate_type); } } } } static string GetSignature (System.Reflection.MethodInfo method) { if (method == null) return null; System.Reflection.ParameterInfo [] parameters = method.GetParameters (); System.Text.StringBuilder sb = new System.Text.StringBuilder (); sb.Append ('('); foreach (System.Reflection.ParameterInfo info in parameters) { sb.Append (info.ParameterType.ToString ()); sb.Append (','); } if (sb.Length != 0) sb.Length--; sb.Append (')'); return sb.ToString (); } static string GetSignature (Type delegate_type) { System.Reflection.MethodInfo method = delegate_type.GetMethod ("Invoke"); return GetSignature (method); } const System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Instance; static string GetSignature (Type klass, string method_name) { try { System.Reflection.MethodInfo method = klass.GetMethod (method_name, flags); return GetSignature (method); } catch { // May be more than one method with that name and none matches return null; } } static string ExplainError (string event_name, Type deleg, Type klass, string method) { if (deleg == null || klass == null || method == null) return null; System.Text.StringBuilder sb = new System.Text.StringBuilder (); string expected = GetSignature (deleg); string actual = GetSignature (klass, method); if (actual == null) return null; sb.AppendFormat ("The handler for the event {0} should take '{1}', " + "but the signature of the provided handler ('{2}') is '{3}'\n", event_name, expected, method, actual); return sb.ToString (); } System.Reflection.MemberFilter signalFilter = new System.Reflection.MemberFilter (SignalFilter); /* matches events to GLib signal names */ static bool SignalFilter (System.Reflection.MemberInfo m, object filterCriteria) { string signame = (filterCriteria as string); object[] attrs = m.GetCustomAttributes (typeof (GLib.SignalAttribute), false); if (attrs.Length > 0) { foreach (GLib.SignalAttribute a in attrs) { if (signame == a.CName) { return true; } } return false; } else { /* this tries to match the names when no attibutes are present. It is only a fallback. */ signame = signame.ToLower ().Replace ("_", ""); string evname = m.Name.ToLower (); return signame == evname; } } } private void BindFields (object target, Type type) { System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.DeclaredOnly; if (target != null) flags |= System.Reflection.BindingFlags.Instance; else flags |= System.Reflection.BindingFlags.Static; do { System.Reflection.FieldInfo[] fields = type.GetFields (flags); if (fields == null) return; foreach (System.Reflection.FieldInfo field in fields) { object[] attrs = field.GetCustomAttributes (typeof (WidgetAttribute), false); if (attrs == null || attrs.Length == 0) continue; // The widget to field binding must be 1:1, so only check // the first attribute. WidgetAttribute attr = (WidgetAttribute) attrs[0]; Gtk.Widget widget; if (attr.Specified) widget = GetWidget (attr.Name); else widget = GetWidget (field.Name); if (widget != null) try { field.SetValue (target, widget, flags, null, null); } catch (Exception e) { Console.WriteLine ("Unable to set value for field " + field.Name); throw e; } } type = type.BaseType; } while (type != typeof(object) && type != null); } public void BindFields (object target) { BindFields (target, target.GetType ()); } public void BindFields (Type type) { BindFields (null, type); } public static Glade.XML FromStream (System.IO.Stream stream, string root, string domain) { return new Glade.XML (stream, root, domain); } public static Glade.XML FromAssembly ( System.Reflection.Assembly assembly, string resource_name, string root, string domain) { return new Glade.XML (assembly, resource_name, root, domain); } public static Glade.XML FromAssembly (string resource_name, string root, string domain) { return new Glade.XML ( System.Reflection.Assembly.GetCallingAssembly (), resource_name, root, domain); } [DllImport("libglade-2.0-0.dll")] static extern IntPtr glade_xml_get_widget_prefix(IntPtr raw, IntPtr name); public Gtk.Widget[] GetWidgetPrefix(string name) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (name); IntPtr raw_ret = glade_xml_get_widget_prefix(Handle, native); GLib.Marshaller.Free (native); if (raw_ret == IntPtr.Zero) return new Gtk.Widget [0]; GLib.List list = new GLib.List (raw_ret); Gtk.Widget[] result = new Gtk.Widget [list.Count]; int i = 0; foreach (Gtk.Widget w in list) result [i++] = w; return result; } gtk-sharp-2.12.10/glade/Glade.metadata0000644000175000001440000000133211131157074014263 00000000000000 const-gchar* const-gchar* 1 1 false private gtk-sharp-2.12.10/glade/glade-sharp.dll.config.in0000644000175000001440000000016611140655032016303 00000000000000 gtk-sharp-2.12.10/glade/glade-sharp-2.0.pc.in0000644000175000001440000000045411131157074015166 00000000000000prefix=${pcfiledir}/../.. exec_prefix=${prefix} libdir=${exec_prefix}/lib gapidir=${prefix}/share/gapi-2.0 Name: Glade# Description: Glade# - Glade .NET Binding Version: @VERSION@ Requires: gtk-sharp-2.0 Cflags: -I:${gapidir}/glade-api.xml Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glade-sharp.dll gtk-sharp-2.12.10/glade/glade-api.raw0000644000175000001440000004042311131157074014107 00000000000000 gtk-sharp-2.12.10/glade/glue/0000777000175000001440000000000011345266755012604 500000000000000gtk-sharp-2.12.10/glade/glue/Makefile.am0000644000175000001440000000111611131157073014534 00000000000000lib_LTLIBRARIES = $(TARGET) if ENABLE_GLADE TARGET = libgladesharpglue-2.la else TARGET = endif libgladesharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgladesharpglue_2_la_SOURCES = \ gladexml.c nodist_libgladesharpglue_2_la_SOURCES = generated.c libgladesharpglue_2_la_LIBADD = $(GLADE_LIBS) INCLUDES = $(GLADE_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libgladesharpglue.dll: $(libgladesharpglue_2_la_OBJECTS) libgladesharpglue.rc libgladesharpglue.def ./build-dll libgladesharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.10/glade/glue/win32dll.c0000755000175000001440000000044311131157073014307 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.10/glade/glue/Makefile.in0000644000175000001440000004123511345266364014566 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = glade/glue DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libgladesharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libgladesharpglue_2_la_OBJECTS = gladexml.lo nodist_libgladesharpglue_2_la_OBJECTS = generated.lo libgladesharpglue_2_la_OBJECTS = $(am_libgladesharpglue_2_la_OBJECTS) \ $(nodist_libgladesharpglue_2_la_OBJECTS) libgladesharpglue_2_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libgladesharpglue_2_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_GLADE_TRUE@am_libgladesharpglue_2_la_rpath = -rpath $(libdir) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libgladesharpglue_2_la_SOURCES) \ $(nodist_libgladesharpglue_2_la_SOURCES) DIST_SOURCES = $(libgladesharpglue_2_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = $(TARGET) @ENABLE_GLADE_FALSE@TARGET = @ENABLE_GLADE_TRUE@TARGET = libgladesharpglue-2.la libgladesharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgladesharpglue_2_la_SOURCES = \ gladexml.c nodist_libgladesharpglue_2_la_SOURCES = generated.c libgladesharpglue_2_la_LIBADD = $(GLADE_LIBS) INCLUDES = $(GLADE_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glade/glue/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign glade/glue/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libgladesharpglue-2.la: $(libgladesharpglue_2_la_OBJECTS) $(libgladesharpglue_2_la_DEPENDENCIES) $(libgladesharpglue_2_la_LINK) $(am_libgladesharpglue_2_la_rpath) $(libgladesharpglue_2_la_OBJECTS) $(libgladesharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gladexml.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES libgladesharpglue.dll: $(libgladesharpglue_2_la_OBJECTS) libgladesharpglue.rc libgladesharpglue.def ./build-dll libgladesharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/glade/glue/gladexml.c0000644000175000001440000000201411131157073014437 00000000000000/* gladexml.c : Glue to access GladeXML fields * * Author: Ricardo Fernández Pascual * * Copyright (c) 2002 Ricardo Fernández Pascual * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include const gchar * gtksharp_glade_xml_get_filename (GladeXML *gxml); const gchar * gtksharp_glade_xml_get_filename (GladeXML *gxml) { return gxml->filename; } gtk-sharp-2.12.10/glade/Makefile.in0000644000175000001440000005400111345266364013625 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/../Makefile.include $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/glade-sharp-2.0.pc.in \ $(srcdir)/glade-sharp.dll.config.in subdir = glade ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = glade-sharp.dll.config glade-sharp-2.0.pc SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)" gapiDATA_INSTALL = $(INSTALL_DATA) pkgconfigDATA_INSTALL = $(INSTALL_DATA) DATA = $(gapi_DATA) $(noinst_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue @ENABLE_GLADE_FALSE@pkg = @ENABLE_GLADE_TRUE@pkg = glade @ENABLE_GLADE_TRUE@pkgconfigdir = $(libdir)/pkgconfig @ENABLE_GLADE_TRUE@pkgconfig_DATA = glade-sharp-2.0.pc INCLUDE_API = ../pango/pango-api.xml ../atk/atk-api.xml ../gdk/gdk-api.xml ../gtk/gtk-api.xml METADATA = Glade.metadata SYMBOLS = references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll glue_includes = glade/glade.h,glade/glade-parser.h sources = \ HandlerNotFoundExeception.cs \ WidgetAttribute.cs customs = \ Global.custom \ Interface.custom \ XML.custom add_dist = glade-sharp-2.0.pc.in SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix /r:, $(references)) $(MONO_CAIRO_LIBS) @PLATFORM_WIN32_FALSE@GAPI_CDECL_INSERT = @PLATFORM_WIN32_TRUE@GAPI_CDECL_INSERT = $(top_srcdir)/gapi-cdecl-insert --keyfile=$(SNK) $(ASSEMBLY) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glade/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign glade/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh glade-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/glade-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ glade-sharp-2.0.pc: $(top_builddir)/config.status $(srcdir)/glade-sharp-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(gapiDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gapidir)/$$f'"; \ $(gapiDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gapidir)/$$f"; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(gapidir)/$$f'"; \ rm -f "$(DESTDIR)$(gapidir)/$$f"; \ done install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA \ install-pkgconfigDATA install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-dvi install-dvi-am \ install-exec install-exec-am install-gapiDATA install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) $(GAPI_CDECL_INSERT) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/glade/Global.custom0000644000175000001440000000157511131157074014212 00000000000000// Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Glade.XML.CustomHandler static property.")] public static void SetCustomHandler (Glade.XMLCustomWidgetHandler handler) { XML.CustomHandler = handler; } gtk-sharp-2.12.10/ltmain.sh0000755000175000001440000073310411345266360012333 00000000000000# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6 # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, # or obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Usage: $progname [OPTION]... [MODE-ARG]... # # Provide generalized library-building support services. # # --config show all configuration variables # --debug enable verbose shell tracing # -n, --dry-run display commands without modifying any files # --features display basic configuration information and exit # --mode=MODE use operation mode MODE # --preserve-dup-deps don't remove duplicate dependency libraries # --quiet, --silent don't print informational messages # --tag=TAG use configuration variables from tag TAG # -v, --verbose print informational messages (default) # --version print version information # -h, --help print short or long help message # # MODE must be one of the following: # # clean remove files from the build directory # compile compile a source file into a libtool object # execute automatically set library path, then run a program # finish complete the installation of libtool libraries # install install libraries or executables # link create a library or an executable # uninstall remove libraries from an installed directory # # MODE-ARGS vary depending on the MODE. # Try `$progname --help --mode=MODE' for a more detailed description of MODE. # # When reporting a bug, please describe a test case to reproduce it and # include the following information: # # host-triplet: $host # shell: $SHELL # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) # $progname: (GNU libtool) 2.2.6 # automake: $automake_version # autoconf: $autoconf_version # # Report bugs to . PROGRAM=ltmain.sh PACKAGE=libtool VERSION=2.2.6 TIMESTAMP="" package_revision=1.3012 # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # NLS nuisances: We save the old values to restore during execute mode. # Only set LANG and LC_ALL to C if already set. # These must not be set unconditionally because not all systems understand # e.g. LANG=C (notably SCO). lt_user_locale= lt_safe_locale= for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${$lt_var+set}\" = set; then save_$lt_var=\$$lt_var $lt_var=C export $lt_var lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done $lt_unset CDPATH : ${CP="cp -f"} : ${ECHO="echo"} : ${EGREP="/usr/bin/grep -E"} : ${FGREP="/usr/bin/grep -F"} : ${GREP="/usr/bin/grep"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SED="/opt/local/bin/gsed"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. exit_status=$EXIT_SUCCESS # Make sure IFS has a sensible default lt_nl=' ' IFS=" $lt_nl" dirname="s,/[^/]*$,," basename="s,^.*/,," # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` } # Generated shell functions inserted here. # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" # The name of this program: # In the unlikely event $progname began with a '-', it would play havoc with # func_echo (imagine progname=-n), so we prepend ./ in that case: func_dirname_and_basename "$progpath" progname=$func_basename_result case $progname in -*) progname=./$progname ;; esac # Make sure we have an absolute path for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=$func_dirname_result progdir=`cd "$progdir" && pwd` progpath="$progdir/$progname" ;; *) save_IFS="$IFS" IFS=: for progdir in $PATH; do IFS="$save_IFS" test -x "$progdir/$progname" && break done IFS="$save_IFS" test -n "$progdir" || progdir=`pwd` progpath="$progdir/$progname" ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed="${SED}"' -e 1s/^X//' sed_quote_subst='s/\([`"$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$' # in input to double_quote_subst, that '$' was protected from expansion. # Since each input `\' is now two `\'s, look for any number of runs of # four `\'s followed by two `\'s and then a '$'. `\' that '$'. bs='\\' bs2='\\\\' bs4='\\\\\\\\' dollar='\$' sed_double_backslash="\ s/$bs4/&\\ /g s/^$bs2$dollar/$bs&/ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g s/\n//g" # Standard options: opt_dry_run=false opt_help=false opt_quiet=false opt_verbose=false opt_warning=: # func_echo arg... # Echo program name prefixed message, along with the current mode # name if it has been set yet. func_echo () { $ECHO "$progname${mode+: }$mode: $*" } # func_verbose arg... # Echo program name prefixed message in verbose mode only. func_verbose () { $opt_verbose && func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_error arg... # Echo program name prefixed message to standard error. func_error () { $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 } # func_warning arg... # Echo program name prefixed warning message to standard error. func_warning () { $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 # bash bug again: : } # func_fatal_error arg... # Echo program name prefixed message to standard error, and exit. func_fatal_error () { func_error ${1+"$@"} exit $EXIT_FAILURE } # func_fatal_help arg... # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { func_error ${1+"$@"} func_fatal_error "$help" } help="Try \`$progname --help' for more information." ## default # func_grep expression filename # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $GREP "$1" "$2" >/dev/null 2>&1 } # func_mkdir_p directory-path # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { my_directory_path="$1" my_dir_list= if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then # Protect directory names starting with `-' case $my_directory_path in -*) my_directory_path="./$my_directory_path" ;; esac # While some portion of DIR does not yet exist... while test ! -d "$my_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. my_dir_list="$my_directory_path:$my_dir_list" # If the last portion added has no slash in it, the list is done case $my_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` done my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do IFS="$save_mkdir_p_IFS" # mkdir can fail with a `File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$my_dir" 2>/dev/null || : done IFS="$save_mkdir_p_IFS" # Bail out if we (or some other process) failed to create a directory. test -d "$my_directory_path" || \ func_fatal_error "Failed to create \`$1'" fi } # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$opt_dry_run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $MKDIR "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || \ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi $ECHO "X$my_tmpdir" | $Xsed } # func_quote_for_eval arg # Aesthetically quote ARG to be evaled later. # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT # is double-quoted, suitable for a subsequent eval, whereas # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters # which are still active within double quotes backslashified. func_quote_for_eval () { case $1 in *[\\\`\"\$]*) func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac case $func_quote_for_eval_unquoted_result in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and and variable # expansion for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" ;; *) func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" esac } # func_quote_for_expand arg # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { case $1 in *[\\\`\"]*) my_arg=`$ECHO "X$1" | $Xsed \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; esac case $my_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") my_arg="\"$my_arg\"" ;; esac func_quote_for_expand_result="$my_arg" } # func_show_eval cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$my_cmd" my_status=$? if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_show_eval_locale cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$lt_user_locale $my_cmd" my_status=$? eval "$lt_safe_locale" if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_version # Echo version message to standard output and exit. func_version () { $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ p }' < "$progpath" exit $? } # func_usage # Echo short help message to standard output and exit. func_usage () { $SED -n '/^# Usage:/,/# -h/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" $ECHO $ECHO "run \`$progname --help | more' for full usage" exit $? } # func_help # Echo long help message to standard output and exit. func_help () { $SED -n '/^# Usage:/,/# Report bugs to/ { s/^# // s/^# *$// s*\$progname*'$progname'* s*\$host*'"$host"'* s*\$SHELL*'"$SHELL"'* s*\$LTCC*'"$LTCC"'* s*\$LTCFLAGS*'"$LTCFLAGS"'* s*\$LD*'"$LD"'* s/\$with_gnu_ld/'"$with_gnu_ld"'/ s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ p }' < "$progpath" exit $? } # func_missing_arg argname # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { func_error "missing argument for $1" exit_cmd=exit } exit_cmd=: # Check that we have a working $ECHO. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then # Yippee, $ECHO works! : else # Restart under the correct shell, and then maybe $ECHO will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # Parse options once, thoroughly. This comes as soon as possible in # the script to make things like `libtool --version' happen quickly. { # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; esac # Parse non-mode specific arguments: while test "$#" -gt 0; do opt="$1" shift case $opt in --config) func_config ;; --debug) preserve_args="$preserve_args $opt" func_echo "enabling shell trace mode" opt_debug='set -x' $opt_debug ;; -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break execute_dlfiles="$execute_dlfiles $1" shift ;; --dry-run | -n) opt_dry_run=: ;; --features) func_features ;; --finish) mode="finish" ;; --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break case $1 in # Valid mode arguments: clean) ;; compile) ;; execute) ;; finish) ;; install) ;; link) ;; relink) ;; uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $opt" exit_cmd=exit break ;; esac mode="$1" shift ;; --preserve-dup-deps) opt_duplicate_deps=: ;; --quiet|--silent) preserve_args="$preserve_args $opt" opt_silent=: ;; --verbose| -v) preserve_args="$preserve_args $opt" opt_silent=false ;; --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break preserve_args="$preserve_args $opt $1" func_enable_tag "$1" # tagname is set here shift ;; # Separate optargs to long options: -dlopen=*|--mode=*|--tag=*) func_opt_split "$opt" set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} shift ;; -\?|-h) func_usage ;; --help) opt_help=: ;; --version) func_version ;; -*) func_fatal_help "unrecognized option \`$opt'" ;; *) nonopt="$opt" break ;; esac done case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_duplicate_deps ;; esac # Having warned about all mis-specified options, bail out if # anything was wrong. $exit_cmd $EXIT_FAILURE } # func_check_version_match # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } ## ----------- ## ## Main. ## ## ----------- ## $opt_help || { # Sanity checks first: func_check_version_match if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then func_fatal_configuration "not configured to build any kind of library" fi test -z "$mode" && func_fatal_error "error: you must specify a MODE." # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then func_error "unrecognized option \`-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$progname --help --mode=$mode' for more information." } # func_lalib_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null \ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_unsafe_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if `file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case "$lalib_p_line" in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test "$lalib_p" = yes } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { func_lalib_p "$1" } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_ltwrapper_scriptname_result="" if func_ltwrapper_executable_p "$1"; then func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" fi } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $opt_debug save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$save_ifs eval cmd=\"$cmd\" func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. func_source () { $opt_debug case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $opt_debug if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_quote_for_eval "$arg" CC_quoted="$CC_quoted $func_quote_for_eval_result" done case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_quote_for_eval "$arg" CC_quoted="$CC_quoted $func_quote_for_eval_result" done case "$@ " in " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with \`--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=${1} if test "$build_libtool_libs" = yes; then write_lobj=\'${2}\' else write_lobj=none fi if test "$build_old_libs" = yes; then write_oldobj=\'${3}\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T <?"'"'"' &()|`$[]' \ && func_warning "libobj name \`$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname="$func_basename_result" xdir="$func_dirname_result" lobj=${xdir}$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi removelist="$removelist $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist removelist="$removelist $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test "$build_libtool_libs" = yes; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test "$pic_mode" != no; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir command="$command -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test "$suppress_opt" = yes; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test "$build_old_libs" = yes; then if test "$pic_mode" != yes; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then command="$command -o $obj" fi # Suppress compiler output if we already did a PIC compilation. command="$command$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test "$need_locks" != no; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test "$mode" = compile && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $ECHO \ "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -shared do not build a \`.o' file suitable for static linking -static only build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $ECHO \ "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $ECHO \ "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $ECHO \ "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The following components of INSTALL-COMMAND are treated specially: -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $ECHO \ "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) func_fatal_help "invalid operation mode \`$mode'" ;; esac $ECHO $ECHO "Try \`$progname --help' for more information about other modes." exit $? } # Now that we've collected a possible --mode arg, show help if necessary $opt_help && func_mode_help # func_mode_execute arg... func_mode_execute () { $opt_debug # The first argument is the command name. cmd="$nonopt" test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $execute_dlfiles; do test -f "$file" \ || func_fatal_help "\`$file' is not a file" dir= case $file in *.la) # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "\`$file' was not linked with \`-export-dynamic'" continue fi func_dirname "$file" "" "." dir="$func_dirname_result" if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir="$func_dirname_result" ;; *) func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file="$progdir/$program" elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). func_quote_for_eval "$file" args="$args $func_quote_for_eval_result" done if test "X$opt_dry_run" = Xfalse; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" $ECHO "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS fi } test "$mode" = execute && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $opt_debug libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. $opt_silent && exit $EXIT_SUCCESS $ECHO "X----------------------------------------------------------------------" | $Xsed $ECHO "Libraries have been installed in:" for libdir in $libdirs; do $ECHO " $libdir" done $ECHO $ECHO "If you ever happen to want to link against installed libraries" $ECHO "in a given directory, LIBDIR, you must either use libtool, and" $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" $ECHO "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable" $ECHO " during execution" fi if test -n "$runpath_var"; then $ECHO " - add LIBDIR to the \`$runpath_var' environment variable" $ECHO " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $ECHO " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $ECHO " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $ECHO $ECHO "See any operating system documentation about shared libraries for" case $host in solaris2.[6789]|solaris2.1[0-9]) $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" $ECHO "pages." ;; *) $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac $ECHO "X----------------------------------------------------------------------" | $Xsed exit $EXIT_SUCCESS } test "$mode" = finish && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $opt_debug # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $ECHO "X$nonopt" | $GREP shtool >/dev/null; then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" install_prog="$install_prog$func_quote_for_eval_result" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" install_prog="$install_prog $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the \`$prev' option requires an argument" if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else func_dirname_and_basename "$dest" "" "." destdir="$func_dirname_result" destname="$func_basename_result" # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "\`$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "\`$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi func_dirname "$file" "/" "" dir="$func_dirname_result" dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` fi func_warning "relinking \`$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname="$1" shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme="$stripme" case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme="" ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib="$destdir/$realname" func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name="$func_basename_result" instname="$dir/$name"i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest="$destfile" destfile= ;; *) func_fatal_help "cannot copy a libtool object to \`$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script \`$wrapper'" finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no fi done relink_command= func_source "$wrapper" outputname= if test "$fast_install" = no && test -n "$relink_command"; then $opt_dry_run || { if test "$finalize" = yes; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink \`$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file="$outputname" else func_warning "cannot relink \`$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name="$func_basename_result" # Set up the ranlib parameters. oldlib="$destdir/$name" func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run \`$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test "$mode" = install && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $opt_debug my_outputname="$1" my_originator="$2" my_pic_p="${3-no}" my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms="${my_outputname}S.c" else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${my_outputname}.nm" func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then func_verbose "generating symbol list for \`$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for progfile in $progfiles; do func_verbose "extracting global C symbols from \`$progfile'" $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $opt_dry_run || { $RM $export_symbols eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from \`$dlprefile'" func_basename "$dlprefile" name="$func_basename_result" $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'" } done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" fi $ECHO >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; " case $host in *cygwin* | *mingw* | *cegcc* ) $ECHO >> "$output_objdir/$my_dlsyms" "\ /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */" lt_dlsym_const= ;; *osf5*) echo >> "$output_objdir/$my_dlsyms" "\ /* This system does not cope well with relocations in const data */" lt_dlsym_const= ;; *) lt_dlsym_const=const ;; esac $ECHO >> "$output_objdir/$my_dlsyms" "\ extern $lt_dlsym_const lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[]; $lt_dlsym_const lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = {\ { \"$my_originator\", (void *) 0 }," case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac $ECHO >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) if test "X$my_pic_p" != Xno; then pic_flag_for_symtable=" $pic_flag" fi ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) symtab_cflags="$symtab_cflags $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' # Transform the symbol file into the correct name. symfileobj="$output_objdir/${my_outputname}S.$objext" case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for \`$my_dlsyms'" ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { $opt_debug win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | $SED -n -e ' 1,100{ / I /{ s,.*,import, p q } }'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_extract_an_archive dir oldlib func_extract_an_archive () { $opt_debug f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $opt_debug my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib="$func_basename_result" my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`basename "$darwin_archive"` darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # func_emit_wrapper_part1 [arg=no] # # Emit the first part of a libtool wrapper script on stdout. # For more information, see the description associated with # func_emit_wrapper(), below. func_emit_wrapper_part1 () { func_emit_wrapper_part1_arg1=no if test -n "$1" ; then func_emit_wrapper_part1_arg1=$1 fi $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # Be Bourne compatible if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then ECHO=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then # Yippee, \$ECHO works! : else # Restart under the correct shell, and then maybe \$ECHO will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $ECHO "\ # Find the directory that this script lives in. thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done " } # end: func_emit_wrapper_part1 # func_emit_wrapper_part2 [arg=no] # # Emit the second part of a libtool wrapper script on stdout. # For more information, see the description associated with # func_emit_wrapper(), below. func_emit_wrapper_part2 () { func_emit_wrapper_part2_arg1=no if test -n "$1" ; then func_emit_wrapper_part2_arg1=$1 fi $ECHO "\ # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 fi else # The program doesn't exist. \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # end: func_emit_wrapper_part2 # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory in which it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=no if test -n "$1" ; then func_emit_wrapper_arg1=$1 fi # split this up so that func_emit_cwrapperexe_src # can call each part independently. func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" } # func_to_host_path arg # # Convert paths to host format when used with build tools. # Intended for use with "native" mingw (where libtool itself # is running under the msys shell), or in the following cross- # build environments: # $build $host # mingw (msys) mingw [e.g. native] # cygwin mingw # *nix + wine mingw # where wine is equipped with the `winepath' executable. # In the native mingw case, the (msys) shell automatically # converts paths for any non-msys applications it launches, # but that facility isn't available from inside the cwrapper. # Similar accommodations are necessary for $host mingw and # $build cygwin. Calling this function does no harm for other # $host/$build combinations not listed above. # # ARG is the path (on $build) that should be converted to # the proper representation for $host. The result is stored # in $func_to_host_path_result. func_to_host_path () { func_to_host_path_result="$1" if test -n "$1" ; then case $host in *mingw* ) lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' case $build in *mingw* ) # actually, msys # awkward: cmd appends spaces to result lt_sed_strip_trailing_spaces="s/[ ]*\$//" func_to_host_path_tmp1=`( cmd //c echo "$1" |\ $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ $SED -e "$lt_sed_naive_backslashify"` ;; *cygwin* ) func_to_host_path_tmp1=`cygpath -w "$1"` func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ $SED -e "$lt_sed_naive_backslashify"` ;; * ) # Unfortunately, winepath does not exit with a non-zero # error code, so we are forced to check the contents of # stdout. On the other hand, if the command is not # found, the shell will set an exit code of 127 and print # *an error message* to stdout. So we must check for both # error code of zero AND non-empty stdout, which explains # the odd construction: func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ $SED -e "$lt_sed_naive_backslashify"` else # Allow warning below. func_to_host_path_result="" fi ;; esac if test -z "$func_to_host_path_result" ; then func_error "Could not determine host path corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_path_result="$1" fi ;; esac fi } # end: func_to_host_path # func_to_host_pathlist arg # # Convert pathlists to host format when used with build tools. # See func_to_host_path(), above. This function supports the # following $build/$host combinations (but does no harm for # combinations not listed here): # $build $host # mingw (msys) mingw [e.g. native] # cygwin mingw # *nix + wine mingw # # Path separators are also converted from $build format to # $host format. If ARG begins or ends with a path separator # character, it is preserved (but converted to $host format) # on output. # # ARG is a pathlist (on $build) that should be converted to # the proper representation on $host. The result is stored # in $func_to_host_pathlist_result. func_to_host_pathlist () { func_to_host_pathlist_result="$1" if test -n "$1" ; then case $host in *mingw* ) lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_to_host_pathlist_tmp2="$1" # Once set for this call, this variable should not be # reassigned. It is used in tha fallback case. func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ $SED -e 's|^:*||' -e 's|:*$||'` case $build in *mingw* ) # Actually, msys. # Awkward: cmd appends spaces to result. lt_sed_strip_trailing_spaces="s/[ ]*\$//" func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ $SED -e "$lt_sed_naive_backslashify"` ;; *cygwin* ) func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ $SED -e "$lt_sed_naive_backslashify"` ;; * ) # unfortunately, winepath doesn't convert pathlists func_to_host_pathlist_result="" func_to_host_pathlist_oldIFS=$IFS IFS=: for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do IFS=$func_to_host_pathlist_oldIFS if test -n "$func_to_host_pathlist_f" ; then func_to_host_path "$func_to_host_pathlist_f" if test -n "$func_to_host_path_result" ; then if test -z "$func_to_host_pathlist_result" ; then func_to_host_pathlist_result="$func_to_host_path_result" else func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" fi fi fi IFS=: done IFS=$func_to_host_pathlist_oldIFS ;; esac if test -z "$func_to_host_pathlist_result" ; then func_error "Could not determine the host path(s) corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This may break if $1 contains DOS-style drive # specifications. The fix is not to complicate the expression # below, but for the user to provide a working wine installation # with winepath so that path translation in the cross-to-mingw # case works properly. lt_replace_pathsep_nix_to_dos="s|:|;|g" func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ $SED -e "$lt_replace_pathsep_nix_to_dos"` fi # Now, add the leading and trailing path separators back case "$1" in :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" ;; esac case "$1" in *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" ;; esac ;; esac fi } # end: func_to_host_pathlist # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include # define setmode _setmode #else # include # include # ifdef __CYGWIN__ # include # define HAVE_SETENV # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif # endif #endif #include #include #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif #ifdef _MSC_VER # define S_IXUSR _S_IEXEC # define stat _stat # ifndef _INTPTR_T_DEFINED # define intptr_t int # endif #endif #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifdef __CYGWIN__ # define FOPEN_WB "wb" #endif #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) #undef LTWRAPPER_DEBUGPRINTF #if defined DEBUGWRAPPER # define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args static void ltwrapper_debugprintf (const char *fmt, ...) { va_list args; va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } #else # define LTWRAPPER_DEBUGPRINTF(args) #endif const char *program_name = NULL; void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_fatal (const char *message, ...); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_opt_process_env_set (const char *arg); void lt_opt_process_env_prepend (const char *arg); void lt_opt_process_env_append (const char *arg); int lt_split_name_value (const char *arg, char** name, char** value); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); static const char *script_text_part1 = EOF func_emit_wrapper_part1 yes | $SED -e 's/\([\\"]\)/\\\1/g' \ -e 's/^/ "/' -e 's/$/\\n"/' echo ";" cat <"))); for (i = 0; i < newargc; i++) { LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); } EOF case $host_os in mingw*) cat <<"EOF" /* execv doesn't actually work on mingw as expected on unix */ rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); if (rval == -1) { /* failed to start process */ LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); return 127; } return rval; EOF ;; *) cat <<"EOF" execv (lt_argv_zero, newargz); return rval; /* =127, but avoids unused variable warning */ EOF ;; esac cat <<"EOF" } void * xmalloc (size_t num) { void *p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL; } const char * base_name (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha ((unsigned char) name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return base; } int check_executable (const char *path) { struct stat st; LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!")); if ((!path) || (!*path)) return 0; if ((stat (path, &st) >= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!")); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char *concat_name; LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", tmp_pathspec)); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { char *errstr = strerror (errno); lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal ("Could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (strcmp (str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } void lt_setenv (const char *name, const char *value) { LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", (name ? name : ""), (value ? value : ""))); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else int len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { int orig_value_len = strlen (orig_value); int add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } int lt_split_name_value (const char *arg, char** name, char** value) { const char *p; int len; if (!arg || !*arg) return 1; p = strchr (arg, (int)'='); if (!p) return 1; *value = xstrdup (++p); len = strlen (arg) - strlen (*value); *name = XMALLOC (char, len); strncpy (*name, arg, len-1); (*name)[len - 1] = '\0'; return 0; } void lt_opt_process_env_set (const char *arg) { char *name = NULL; char *value = NULL; if (lt_split_name_value (arg, &name, &value) != 0) { XFREE (name); XFREE (value); lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); } lt_setenv (name, value); XFREE (name); XFREE (value); } void lt_opt_process_env_prepend (const char *arg) { char *name = NULL; char *value = NULL; char *new_value = NULL; if (lt_split_name_value (arg, &name, &value) != 0) { XFREE (name); XFREE (value); lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); } new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); XFREE (name); XFREE (value); } void lt_opt_process_env_append (const char *arg) { char *name = NULL; char *value = NULL; char *new_value = NULL; if (lt_split_name_value (arg, &name, &value) != 0) { XFREE (name); XFREE (value); lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); } new_value = lt_extend_str (getenv (name), value, 1); lt_setenv (name, new_value); XFREE (new_value); XFREE (name); XFREE (value); } void lt_update_exe_path (const char *name, const char *value) { LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", (name ? name : ""), (value ? value : ""))); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ int len = strlen (new_value); while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[len-1] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", (name ? name : ""), (value ? value : ""))); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF } # end: func_emit_cwrapperexe_src # func_mode_link arg... func_mode_link () { $opt_debug case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # which system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll which has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=no prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module="${wl}-single_module" func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" test -f "$arg" \ || func_fatal_error "symbol file \`$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) deplibs="$deplibs $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file \`$arg' does not exist" fi arg=$save_arg prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds="$arg" prev= continue ;; weak) weak_libs="$weak_libs $arg" prev= continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "\`-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname '-L' '' "$arg" dir=$func_stripname_result if test -z "$dir"; then if test "$#" -gt 0; then func_fatal_error "require no space between \`-L' and \`$1'" else func_fatal_error "need path for \`-L' option" fi fi # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of \`$dir'" dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot) compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; esac continue ;; -multi_module) single_module="${wl}-multi_module" continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "\`-no-install' is ignored for $host" func_warning "assuming \`-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" arg="$arg $wl$func_quote_for_eval_result" compiler_flags="$compiler_flags $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" arg="$arg $wl$func_quote_for_eval_result" compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" linker_flags="$linker_flags $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; # -64, -mips[0-9] enable 64-bit mode on the SGI compiler # -r[0-9][0-9]* specifies the processor on the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler # +DA*, +DD* enable 64-bit mode on the HP compiler # -q* pass through compiler args for the IBM compiler # -m*, -t[45]*, -txscale* pass through architecture-specific # compiler args for GCC # -F/path gives path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC # @file GCC response files -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg" func_append finalize_command " $arg" compiler_flags="$compiler_flags $arg" continue ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the \`$prevarg' option requires an argument" if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname="$func_basename_result" libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" func_dirname "$output" "/" "" output_objdir="$func_dirname_result$objdir" # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if $opt_duplicate_deps ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test "$linkmode,$pass" = "lib,link"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs="$tmp_deplibs" fi if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= case $lib in *.la) func_source "$lib" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` case " $weak_libs " in *" $deplib_base "*) ;; *) deplibs="$deplibs $deplib" ;; esac done done libs="$dlprefiles" fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else compiler_flags="$compiler_flags $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; esac fi fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then func_warning "\`-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test "$linkmode" = lib; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no func_dirname "$lib" "" "." ladir="$func_dirname_result" lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l *.ltframework) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" newlib_search_path="$newlib_search_path $func_stripname_result" ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" newlib_search_path="$newlib_search_path $func_stripname_result" ;; *) func_warning "\`-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then func_stripname '-R' '' "$deplib" dir=$func_stripname_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then $ECHO $ECHO "*** Warning: Trying to link with static lib archive $deplib." $ECHO "*** I have the capability to make that library automatically link in when" $ECHO "*** you link to this library. But I can only do this if you have a" $ECHO "*** shared version of the library, which you do not appear to have" $ECHO "*** because the file extensions .$libext of this argument makes me believe" $ECHO "*** that it is just a static archive that I should not use here." else $ECHO $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi ;; esac continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" fi # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "\`$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir="$func_dirname_result" dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_duplicate_deps ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then func_fatal_error "cannot -dlopen a convenience library: \`$lib'" fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of \`$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir="$ladir" fi ;; esac func_basename "$lib" laname="$func_basename_result" # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library \`$lib' was moved." dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir" && test "$linkmode" = prog; then func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" newlib_search_path="$newlib_search_path $func_stripname_result" ;; esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_duplicate_deps ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; *) temp_rpath="$temp_rpath$absdir:" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded notinst_deplibs="$notinst_deplibs $lib" need_relink=no ;; *) if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule="" for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule="$dlpremoduletest" break fi done if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then $ECHO if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname="$1" shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc*) func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" func_basename "$soroot" soname="$func_basename_result" func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from \`$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for \`$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we can not # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null ; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $ECHO $ECHO "*** And there doesn't seem to be a static archive available" $ECHO "*** The link will probably fail, sorry" else add="$dir/$old_library" fi elif test -n "$old_library"; then add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && test "$hardcode_minus_L" != yes && test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $ECHO $ECHO "*** Warning: This system can not link to static lib archive $lib." $ECHO "*** I have the capability to make that library automatically link in when" $ECHO "*** you link to this library. But I can only do this if you have a" $ECHO "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $ECHO "*** But as you try to build a module library, libtool will still create " $ECHO "*** a static module, that should work as long as the dlopening application" $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $ECHO $ECHO "*** However, this would only work if libtool was able to extract symbol" $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" $ECHO "*** not find such a program. So, this module is probably useless." $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if $opt_duplicate_deps ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) func_dirname "$deplib" "" "." dir="$func_dirname_result" # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of \`$dir'" absdir="$dir" fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl" ; then depdepl="$absdir/$objdir/$depdepl" darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" path= fi fi ;; *) path="-L$absdir/$objdir" ;; esac else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "\`$deplib' seems to be moved" path="-L$absdir" fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test "$pass" = link; then if test "$linkmode" = "prog"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" fi if test "$linkmode" = prog || test "$linkmode" = lib; then dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "\`-R' is ignored for archives" test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "\`-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "\`-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test "$module" = no && \ func_fatal_help "libtool library \`$output' must begin with \`lib'" if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" else $ECHO $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi test "$dlself" != no && \ func_warning "\`-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test "$#" -gt 1 && \ func_warning "ignoring multiple \`-rpath's for a libtool library" install_libdir="$1" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "\`-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 shift IFS="$save_ifs" test -n "$7" && \ func_fatal_help "too many parameters to \`-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$1" number_minor="$2" number_revision="$3" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_minor" lt_irix_increment=no ;; esac ;; no) current="$1" revision="$2" age="$3" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT \`$current' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION \`$revision' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE \`$age' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE \`$age' is greater than the current interface number \`$current'" func_fatal_error "\`$vinfo' is not valid version information" fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current" ;; irix | nonstopux) if test "X$lt_irix_increment" = "Xno"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; qnx) major=".$current" versuffix=".$current" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; *) func_fatal_configuration "unknown library version type \`$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then func_warning "undefined symbols not allowed in $host shared libraries" build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi func_generate_dlsyms "$libname" "$libname" "yes" libobjs="$libobjs $symfileobj" test "X$libobjs" = "X " && libobjs= if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | $GREP " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $ECHO $ECHO "*** Warning: linker path does not have real file for library $a_deplib." $ECHO "*** I have the capability to make that library automatically link in when" $ECHO "*** you link to this library. But I can only do this if you have a" $ECHO "*** shared version of the library, which you do not appear to have" $ECHO "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a file magic. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval "\\$ECHO \"$libname_spec\""` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $ECHO $ECHO "*** Warning: linker path does not have real file for library $a_deplib." $ECHO "*** I have the capability to make that library automatically link in when" $ECHO "*** you link to this library. But I can only do this if you have a" $ECHO "*** shared version of the library, which you do not appear to have" $ECHO "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a regex pattern. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` done fi if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | $GREP . >/dev/null; then $ECHO if test "X$deplibs_check_method" = "Xnone"; then $ECHO "*** Warning: inter-library dependencies are not supported in this platform." else $ECHO "*** Warning: inter-library dependencies are not known to be supported." fi $ECHO "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $ECHO $ECHO "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" $ECHO "*** a static module, that should work as long as the dlopening" $ECHO "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $ECHO $ECHO "*** However, this would only work if libtool was able to extract symbol" $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" $ECHO "*** not find such a program. So, this module is probably useless." $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $ECHO "*** The inter-library dependencies that have been dropped here will be" $ECHO "*** automatically added whenever a program is linked with this library" $ECHO "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $ECHO $ECHO "*** Since this library must not contain undefined symbols," $ECHO "*** because either the platform does not support them or" $ECHO "*** it was explicitly requested with -no-undefined," $ECHO "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname="$1" shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols="$output_objdir/$libname.uexp" delfiles="$delfiles $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile if test "x`$SED 1q $export_symbols`" != xEXPORTS; then # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols="$export_symbols" export_symbols= always_export_symbols=yes fi fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" func_len " $cmd" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then func_show_eval "$cmd" 'exit $?' skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test "$compiler_needs_object" = yes && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $convenience libobjs="$libobjs $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output output_la=`$ECHO "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then output=${output_objdir}/${output_la}.lnkscript func_verbose "creating GNU ld script: $output" $ECHO 'INPUT (' > $output for obj in $save_libobjs do $ECHO "$obj" >> $output done $ECHO ')' >> $output delfiles="$delfiles $output" elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test "$compiler_needs_object" = yes; then firstobj="$1 " shift fi for obj do $ECHO "$obj" >> $output done delfiles="$delfiles $output" output=$firstobj\"$file_list_spec$output\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-${k}.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test "X$objlist" = X || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-${k}.$objext objlist=$obj func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if test -n "$last_robj"; then eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" fi delfiles="$delfiles $output" else output= fi if ${skipped_export-false}; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi fi test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi if ${skipped_export-false}; then if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi fi libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $dlprefiles libobjs="$libobjs $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "\`-R' is ignored for objects" test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for objects" test -n "$release" && \ func_warning "\`-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object \`$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` else gentop="$output_objdir/${obj}x" generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for programs" test -n "$release" && \ func_warning "\`-release' is ignored for programs" test "$preload" = yes \ && test "$dlopen_support" = unknown \ && test "$dlopen_self" = unknown \ && test "$dlopen_self_static" = unknown && \ func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test "$tagname" = CXX ; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done compile_deplibs="$new_libs" compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" "no" # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=yes case $host in *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; *cegcc) # Disable wrappers for cegcc, we are cross compiling anyway. wrappers_required=no ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; esac if test "$wrappers_required" = no; then # Replace the output file specification. compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' # Delete the generated files. if test -f "$output_objdir/${outputname}S.${objext}"; then func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' fi exit $exit_status fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" func_warning "this platform does not like uninstalled shared libraries" func_warning "\`$output' will be relinked during installation" else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' # Now create the wrapper script. func_verbose "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $ECHO for shipping. if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host" ; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save $symfileobj" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then oldobjs="$oldobjs $symfileobj" fi fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $addlibs oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $dlprefiles oldobjs="$oldobjs $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else $ECHO "copying selected object files to avoid basename conflicts..." gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase="$func_basename_result" case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" oldobjs="$oldobjs $gentop/$newobj" ;; *) oldobjs="$oldobjs $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" newdlfiles="$newdlfiles $libdir/$name" ;; *) newdlfiles="$newdlfiles $lib" ;; esac done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" newdlprefiles="$newdlprefiles $libdir/$name" ;; esac done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $RM $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that can not go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } { test "$mode" = link || test "$mode" = relink; } && func_mode_link ${1+"$@"} # func_mode_uninstall arg... func_mode_uninstall () { $opt_debug RM="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) RM="$RM $arg"; rmforce=yes ;; -*) RM="$RM $arg" ;; *) files="$files $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= origobjdir="$objdir" for file in $files; do func_dirname "$file" "" "." dir="$func_dirname_result" if test "X$dir" = X.; then objdir="$origobjdir" else objdir="$dir/$origobjdir" fi func_basename "$file" name="$func_basename_result" test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" case "$mode" in clean) case " $library_names " in # " " in the beginning catches empty $dlname *" $dlname "*) ;; *) rmfiles="$rmfiles $objdir/$dlname" ;; esac test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result rmfiles="$rmfiles $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } { test "$mode" = uninstall || test "$mode" = clean; } && func_mode_uninstall ${1+"$@"} test -z "$mode" && { help="$generic_help" func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode \`$mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: # vi:sw=2 gtk-sharp-2.12.10/config.sub0000755000175000001440000010115311115454704012460 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. timestamp='2008-01-16' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tile*) basic_machine=tile-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: gtk-sharp-2.12.10/generator/0000777000175000001440000000000011345266754012561 500000000000000gtk-sharp-2.12.10/generator/MethodBody.cs0000644000175000001440000001270111131157232015042 00000000000000// GtkSharp.Generation.MethodBody.cs - The MethodBody Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; public class MethodBody { Parameters parameters; public MethodBody (Parameters parms) { parameters = parms; } private string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } public string GetCallString (bool is_set) { if (parameters.Count == 0) return String.Empty; string[] result = new string [parameters.Count]; for (int i = 0; i < parameters.Count; i++) { Parameter p = parameters [i]; IGeneratable igen = p.Generatable; bool is_prop = is_set && i == 0; if (i > 0 && parameters [i - 1].IsString && p.IsLength && p.PassAs == String.Empty) { string string_name = (i == 1 && is_set) ? "value" : parameters [i - 1].Name; result[i] = igen.CallByName (CastFromInt (p.CSType) + "System.Text.Encoding.UTF8.GetByteCount (" + string_name + ")"); continue; } if (is_prop) p.CallName = "value"; else p.CallName = p.Name; string call_parm = p.CallString; if (p.IsUserData && parameters.IsHidden (p) && !parameters.HideData && (i == 0 || parameters [i - 1].Scope != "notified")) { call_parm = "IntPtr.Zero"; } result [i] += call_parm; } return String.Join (", ", result); } public void Initialize (GenerationInfo gen_info) { Initialize (gen_info, false, false, String.Empty); } public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, string indent) { if (parameters.Count == 0) return; StreamWriter sw = gen_info.Writer; for (int i = 0; i < parameters.Count; i++) { Parameter p = parameters [i]; IGeneratable gen = p.Generatable; string name = p.Name; if (is_set) name = "value"; p.CallName = name; foreach (string prep in p.Prepare) sw.WriteLine (indent + "\t\t\t" + prep); if (gen is CallbackGen) { CallbackGen cbgen = gen as CallbackGen; string wrapper = cbgen.GenWrapper(gen_info); switch (p.Scope) { case "notified": sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); sw.WriteLine (indent + "\t\t\tIntPtr {0};", parameters [i + 1].Name); sw.WriteLine (indent + "\t\t\t{0} {1};", parameters [i + 2].CSType, parameters [i + 2].Name); sw.WriteLine (indent + "\t\t\tif ({0} == null) {{", name); sw.WriteLine (indent + "\t\t\t\t{0} = IntPtr.Zero;", parameters [i + 1].Name); sw.WriteLine (indent + "\t\t\t\t{0} = null;", parameters [i + 2].Name); sw.WriteLine (indent + "\t\t\t} else {"); sw.WriteLine (indent + "\t\t\t\t{0} = (IntPtr) GCHandle.Alloc ({1}_wrapper);", parameters [i + 1].Name, name); sw.WriteLine (indent + "\t\t\t\t{0} = GLib.DestroyHelper.NotifyHandler;", parameters [i + 2].Name, parameters [i + 2].CSType); sw.WriteLine (indent + "\t\t\t}"); break; case "async": sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); sw.WriteLine (indent + "\t\t\t{0}_wrapper.PersistUntilCalled ();", name); break; case "call": default: if (p.Scope == String.Empty) Console.WriteLine ("Defaulting " + gen.Name + " param to 'call' scope in method " + gen_info.CurrentMember); sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); break; } } } if (ThrowsException) sw.WriteLine (indent + "\t\t\tIntPtr error = IntPtr.Zero;"); } public void InitAccessor (StreamWriter sw, Signature sig, string indent) { sw.WriteLine (indent + "\t\t\t" + sig.AccessorType + " " + sig.AccessorName + ";"); } public void Finish (StreamWriter sw, string indent) { foreach (Parameter p in parameters) foreach (string s in p.Finish) sw.WriteLine(indent + "\t\t\t" + s); } public void FinishAccessor (StreamWriter sw, Signature sig, string indent) { sw.WriteLine (indent + "\t\t\treturn " + sig.AccessorName + ";"); } public void HandleException (StreamWriter sw, string indent) { if (!ThrowsException) return; sw.WriteLine (indent + "\t\t\tif (error != IntPtr.Zero) throw new GLib.GException (error);"); } public bool ThrowsException { get { int idx = parameters.Count - 1; while (idx >= 0) { if (parameters [idx].IsUserData) idx--; else if (parameters [idx].CType == "GError**") return true; else break; } return false; } } } } gtk-sharp-2.12.10/generator/Makefile.am0000644000175000001440000000245111131156743014520 00000000000000assemblydir = $(prefix)/lib/gtk-sharp-2.0 assembly_DATA = gapi_codegen.exe bin_SCRIPTS = gapi2-codegen CLEANFILES = gapi_codegen.exe DISTCLEANFILES = gapi2-codegen references = sources = \ AliasGen.cs \ BoxedGen.cs \ ByRefGen.cs \ CallbackGen.cs \ ChildProperty.cs \ ClassBase.cs \ ClassGen.cs \ CodeGenerator.cs \ ConstFilenameGen.cs \ ConstStringGen.cs \ Ctor.cs \ EnumGen.cs \ FieldBase.cs \ GenBase.cs \ GenerationInfo.cs \ HandleBase.cs \ IAccessor.cs \ IGeneratable.cs \ IManualMarshaler.cs \ InterfaceGen.cs \ LPGen.cs \ LPUGen.cs \ ManagedCallString.cs \ ManualGen.cs \ MarshalGen.cs \ MethodBase.cs \ MethodBody.cs \ Method.cs \ ObjectField.cs \ ObjectBase.cs \ ObjectGen.cs \ OpaqueGen.cs \ Parameters.cs \ Parser.cs \ Property.cs \ PropertyBase.cs \ ReturnValue.cs \ Signal.cs \ Signature.cs \ SimpleBase.cs \ SimpleGen.cs \ Statistics.cs \ StructBase.cs \ StructField.cs \ StructGen.cs \ SymbolTable.cs \ VirtualMethod.cs \ VMSignature.cs build_sources = $(addprefix $(srcdir)/, $(sources)) dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) gapi_codegen.exe: $(build_sources) $(CSC) /out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources) gtk-sharp-2.12.10/generator/Ctor.cs0000644000175000001440000001232411234360402013713 00000000000000// GtkSharp.Generation.Ctor.cs - The Constructor Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Ctor : MethodBase { private bool preferred; private string name; private bool needs_chaining = false; public Ctor (XmlElement elem, ClassBase implementor) : base (elem, implementor) { if (elem.HasAttribute ("preferred")) preferred = true; if (implementor is ObjectGen) needs_chaining = true; name = implementor.Name; } public bool Preferred { get { return preferred; } set { preferred = value; } } public string StaticName { get { if (!IsStatic) return String.Empty; string[] toks = CName.Substring(CName.IndexOf("new")).Split ('_'); string result = String.Empty; foreach (string tok in toks) result += tok.Substring(0,1).ToUpper() + tok.Substring(1); return result; } } void GenerateImport (StreamWriter sw) { sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\")]"); sw.WriteLine("\t\tstatic extern " + Safety + "IntPtr " + CName + "(" + Parameters.ImportSignature + ");"); sw.WriteLine(); } void GenerateStatic (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; sw.WriteLine("\t\t" + Protection + " static " + Safety + Modifiers + name + " " + StaticName + "(" + Signature + ")"); sw.WriteLine("\t\t{"); Body.Initialize(gen_info, false, false, ""); sw.Write("\t\t\t" + name + " result = "); if (container_type is StructBase) sw.Write ("{0}.New (", name); else sw.Write ("new {0} (", name); sw.WriteLine (CName + "(" + Body.GetCallString (false) + "));"); Body.Finish (sw, ""); Body.HandleException (sw, ""); sw.WriteLine ("\t\t\treturn result;"); } public void Generate (GenerationInfo gen_info) { if (!Validate ()) return; StreamWriter sw = gen_info.Writer; gen_info.CurrentMember = CName; GenerateImport (sw); if (IsStatic) GenerateStatic (gen_info); else { sw.WriteLine("\t\t{0} {1}{2} ({3}) {4}", Protection, Safety, name, Signature.ToString(), needs_chaining ? ": base (IntPtr.Zero)" : ""); sw.WriteLine("\t\t{"); if (needs_chaining) { sw.WriteLine ("\t\t\tif (GetType () != typeof (" + name + ")) {"); if (Parameters.Count == 0) { sw.WriteLine ("\t\t\t\tCreateNativeObject (new string [0], new GLib.Value[0]);"); sw.WriteLine ("\t\t\t\treturn;"); } else { ArrayList names = new ArrayList (); ArrayList values = new ArrayList (); for (int i = 0; i < Parameters.Count; i++) { Parameter p = Parameters[i]; if (container_type.GetPropertyRecursively (p.StudlyName) != null) { names.Add (p.Name); values.Add (p.Name); } else if (p.PropertyName != String.Empty) { names.Add (p.PropertyName); values.Add (p.Name); } } if (names.Count == Parameters.Count) { sw.WriteLine ("\t\t\t\tArrayList vals = new ArrayList();"); sw.WriteLine ("\t\t\t\tArrayList names = new ArrayList();"); for (int i = 0; i < names.Count; i++) { Parameter p = Parameters [i]; string indent = "\t\t\t\t"; if (p.Generatable is ClassBase && !(p.Generatable is StructBase)) { sw.WriteLine (indent + "if (" + p.Name + " != null) {"); indent += "\t"; } sw.WriteLine (indent + "names.Add (\"" + names [i] + "\");"); sw.WriteLine (indent + "vals.Add (new GLib.Value (" + values[i] + "));"); if (p.Generatable is ClassBase && !(p.Generatable is StructBase)) sw.WriteLine ("\t\t\t\t}"); } sw.WriteLine ("\t\t\t\tCreateNativeObject ((string[])names.ToArray (typeof (string)), (GLib.Value[])vals.ToArray (typeof (GLib.Value)));"); sw.WriteLine ("\t\t\t\treturn;"); } else sw.WriteLine ("\t\t\t\tthrow new InvalidOperationException (\"Can't override this constructor.\");"); } sw.WriteLine ("\t\t\t}"); } Body.Initialize(gen_info, false, false, ""); sw.WriteLine("\t\t\t{0} = {1}({2});", container_type.AssignToName, CName, Body.GetCallString (false)); Body.Finish (sw, ""); Body.HandleException (sw, ""); } sw.WriteLine("\t\t}"); sw.WriteLine(); Statistics.CtorCount++; } } } gtk-sharp-2.12.10/generator/LPGen.cs0000644000175000001440000000321711234362536013764 00000000000000// GtkSharp.Generation.LPGen.cs - long/pointer Generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; public class LPGen : SimpleGen, IAccessor { public LPGen (string ctype) : base (ctype, "long", "0L") {} public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string var_name) { return "new IntPtr (" + var_name + ")"; } public override string FromNative(string var) { return "(long) " + var; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } gtk-sharp-2.12.10/generator/MethodBase.cs0000644000175000001440000000766011131156743015035 00000000000000// GtkSharp.Generation.MethodBase.cs - function element base class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public abstract class MethodBase { XmlElement elem; protected ClassBase container_type; Parameters parms; bool is_static = false; string mods = String.Empty; string name; private string protection = "public"; protected MethodBase (XmlElement elem, ClassBase container_type) { this.elem = elem; this.container_type = container_type; this.name = elem.GetAttribute ("name"); parms = new Parameters (elem ["parameters"]); IsStatic = elem.GetAttribute ("shared") == "true"; if (elem.HasAttribute ("new_flag")) mods = "new "; if (elem.HasAttribute ("accessibility")) { string attr = elem.GetAttribute ("accessibility"); switch (attr) { case "public": case "protected": case "internal": case "private": case "protected internal": protection = attr; break; } } } protected string BaseName { get { string name = Name; int idx = Name.LastIndexOf ("."); if (idx > 0) name = Name.Substring (idx + 1); return name; } } MethodBody body; public MethodBody Body { get { if (body == null) body = new MethodBody (parms); return body; } } public string CName { get { return SymbolTable.Table.MangleName (elem.GetAttribute ("cname")); } } protected bool HasGetterName { get { string name = BaseName; if (name.Length <= 3) return false; if (name.StartsWith ("Get") || name.StartsWith ("Has")) return Char.IsUpper (name [3]); else if (name.StartsWith ("Is")) return Char.IsUpper (name [2]); else return false; } } protected bool HasSetterName { get { string name = BaseName; if (name.Length <= 3) return false; return name.StartsWith ("Set") && Char.IsUpper (name [3]); } } public bool IsStatic { get { return is_static; } set { is_static = value; parms.Static = value; } } public string LibraryName { get { if (elem.HasAttribute ("library")) return elem.GetAttribute ("library"); return container_type.LibraryName; } } public string Modifiers { get { return mods; } set { mods = value; } } public string Name { get { return name; } set { name = value; } } public Parameters Parameters { get { return parms; } } public string Protection { get { return protection; } set { protection = value; } } protected string Safety { get { return Body.ThrowsException && !(container_type is InterfaceGen) ? "unsafe " : ""; } } Signature sig; public Signature Signature { get { if (sig == null) sig = new Signature (parms); return sig; } } public virtual bool Validate () { if (!parms.Validate ()) { Console.Write("in " + CName + " "); Statistics.ThrottledCount++; return false; } return true; } } } gtk-sharp-2.12.10/generator/ConstFilenameGen.cs0000644000175000001440000000274211131156743016177 00000000000000// ConstFilenameGen.cs - The Const Filename type Generatable. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ConstFilenameGen : SimpleBase, IManualMarshaler { public ConstFilenameGen (string ctype) : base (ctype, "string", "null") {} public override string MarshalType { get { return "IntPtr"; } } public override string FromNative (string var) { return "GLib.Marshaller.FilenamePtrToString (" + var + ")"; } public string AllocNative (string managed_var) { return "GLib.Marshaller.StringToFilenamePtr (" + managed_var + ")"; } public string ReleaseNative (string native_var) { return "GLib.Marshaller.Free (" + native_var + ")"; } } } gtk-sharp-2.12.10/generator/ReturnValue.cs0000644000175000001440000001105611301630363015262 00000000000000// GtkSharp.Generation.ReturnValue.cs - The ReturnValue Generatable. // // Author: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public class ReturnValue { bool is_null_term; bool is_array; bool elements_owned; bool owned; string ctype = String.Empty; string element_ctype = String.Empty; public ReturnValue (XmlElement elem) { if (elem != null) { is_null_term = elem.HasAttribute ("null_term_array"); is_array = elem.HasAttribute ("array"); elements_owned = elem.GetAttribute ("elements_owned") == "true"; owned = elem.GetAttribute ("owned") == "true"; ctype = elem.GetAttribute("type"); element_ctype = elem.GetAttribute ("element_type"); } } public string CType { get { return ctype; } } public string CSType { get { if (IGen == null) return String.Empty; if (ElementType != String.Empty) return ElementType + "[]"; return IGen.QualifiedName + (is_array || is_null_term ? "[]" : String.Empty); } } public string DefaultValue { get { if (IGen == null) return String.Empty; return IGen.DefaultValue; } } string ElementType { get { if (element_ctype.Length > 0) return SymbolTable.Table.GetCSType (element_ctype); return String.Empty; } } IGeneratable igen; IGeneratable IGen { get { if (igen == null) igen = SymbolTable.Table [CType]; return igen; } } public bool IsVoid { get { return CSType == "void"; } } public string MarshalType { get { if (IGen == null) return String.Empty; else if (is_null_term) return "IntPtr"; return IGen.MarshalReturnType + (is_array ? "[]" : String.Empty); } } public string ToNativeType { get { if (IGen == null) return String.Empty; else if (is_null_term) return "IntPtr"; //FIXME return IGen.ToNativeReturnType + (is_array ? "[]" : String.Empty); } } public string FromNative (string var) { if (IGen == null) return String.Empty; if (ElementType != String.Empty) { string args = (owned ? "true" : "false") + ", " + (elements_owned ? "true" : "false"); if (IGen.QualifiedName == "GLib.PtrArray") return String.Format ("({0}[]) GLib.Marshaller.PtrArrayToArray ({1}, {2}, typeof({0}))", ElementType, var, args); else return String.Format ("({0}[]) GLib.Marshaller.ListPtrToArray ({1}, typeof({2}), {3}, typeof({0}))", ElementType, var, IGen.QualifiedName, args); } else if (IGen is HandleBase) return ((HandleBase)IGen).FromNative (var, owned); else if (is_null_term) return String.Format ("GLib.Marshaller.NullTermPtrToStringArray ({0}, {1})", var, owned ? "true" : "false"); else return IGen.FromNativeReturn (var); } public string ToNative (string var) { if (IGen == null) return String.Empty; if (ElementType.Length > 0) { string args = ", typeof (" + ElementType + "), " + (owned ? "true" : "false") + ", " + (elements_owned ? "true" : "false"); var = "new " + IGen.QualifiedName + "(" + var + args + ")"; } else if (is_null_term) return String.Format ("GLib.Marshaller.StringArrayToNullTermPtr ({0})", var); if (IGen is IManualMarshaler) return (IGen as IManualMarshaler).AllocNative (var); else if (IGen is ObjectGen && owned) return var + " == null ? IntPtr.Zero : " + var + ".OwnedHandle"; else if (IGen is OpaqueGen && owned) return var + " == null ? IntPtr.Zero : " + var + ".OwnedCopy"; else return IGen.ToNativeReturn (var); } public bool Validate () { if (MarshalType == "" || CSType == "") { Console.Write("rettype: " + CType); return false; } return true; } } } gtk-sharp-2.12.10/generator/ManualGen.cs0000644000175000001440000000311511234362536014663 00000000000000// GtkSharp.Generation.ManualGen.cs - Ungenerated handle type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ManualGen : SimpleBase { string from_fmt; public ManualGen (string ctype, string type) : base (ctype, type, "null") { from_fmt = "new " + QualifiedName + "({0})"; } public ManualGen (string ctype, string type, string from_fmt) : base (ctype, type, "null") { this.from_fmt = from_fmt; } public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string var_name) { return var_name + " == null ? IntPtr.Zero : " + var_name + ".Handle"; } public override string FromNative(string var) { return String.Format (from_fmt, var); } } } gtk-sharp-2.12.10/generator/MarshalGen.cs0000644000175000001440000000266611234362536015047 00000000000000// GtkSharp.Generation.MarshalGen.cs - Simple marshaling Generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class MarshalGen : SimpleBase { string mtype; string call_fmt; string from_fmt; public MarshalGen (string ctype, string type, string mtype, string call_fmt, string from_fmt) : base (ctype, type, "null") { this.mtype = mtype; this.call_fmt = call_fmt; this.from_fmt = from_fmt; } public override string MarshalType { get { return mtype; } } public override string CallByName (string var) { return String.Format (call_fmt, var); } public override string FromNative (string var) { return String.Format (from_fmt, var); } } } gtk-sharp-2.12.10/generator/StructField.cs0000644000175000001440000001022111131156743015235 00000000000000// GtkSharp.Generation.StructField.cs - The Structure Field generation // Class. // // Author: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class StructField : FieldBase { public static int bitfields; public StructField (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} protected override string DefaultAccess { get { if (IsPadding) return "private"; return "public"; } } int ArrayLength { get { if (!IsArray) return 0; int result; try { result = Int32.Parse (elem.GetAttribute("array_len")); } catch (Exception) { Console.Write ("Non-numeric array_len: " + elem.GetAttribute("array_len")); Console.WriteLine (" warning: array field {0} incorrectly generated", Name); result = 0; } return result; } } public new string CSType { get { string type = base.CSType; if (IsArray) type += "[]"; else if ((IsPointer || SymbolTable.Table.IsOpaque (CType)) && type != "string") type = "IntPtr"; return type; } } bool IsPadding { get { return (CName.StartsWith ("dummy") || CName.StartsWith ("padding")); } } public bool IsPointer { get { return (CType.EndsWith ("*") || CType.EndsWith ("pointer")); } } public new string Name { get { string result = ""; if ((IsPointer || SymbolTable.Table.IsOpaque (CType)) && CSType != "string") result = "_"; result += SymbolTable.Table.MangleName (CName); return result; } } string StudlyName { get { string studly = base.Name; if (studly == "") throw new Exception ("API file must be regenerated with a current version of the GAPI parser. It is incompatible with this version of the GAPI code generator."); return studly; } } public override void Generate (GenerationInfo gen_info, string indent) { if (Hidden) return; StreamWriter sw = gen_info.Writer; SymbolTable table = SymbolTable.Table; string wrapped = table.GetCSType (CType); string wrapped_name = SymbolTable.Table.MangleName (CName); IGeneratable gen = table [CType]; if (IsArray) { sw.WriteLine (indent + "[MarshalAs (UnmanagedType.ByValArray, SizeConst=" + ArrayLength + ")]"); sw.WriteLine (indent + "{0} {1} {2};", Access, CSType, StudlyName); } else if (IsBitfield) { base.Generate (gen_info, indent); } else if (gen is IAccessor) { sw.WriteLine (indent + "private {0} {1};", gen.MarshalType, Name); if (Access != "private") { IAccessor acc = table [CType] as IAccessor; sw.WriteLine (indent + Access + " " + wrapped + " " + StudlyName + " {"); acc.WriteAccessors (sw, indent + "\t", Name); sw.WriteLine (indent + "}"); } } else if (IsPointer && (gen is StructGen || gen is BoxedGen)) { sw.WriteLine (indent + "private {0} {1};", CSType, Name); sw.WriteLine (); if (Access != "private") { sw.WriteLine (indent + Access + " " + wrapped + " " + wrapped_name + " {"); sw.WriteLine (indent + "\tget { return " + table.FromNativeReturn (CType, Name) + "; }"); sw.WriteLine (indent + "}"); } } else if (IsPointer && CSType != "string") { // FIXME: probably some fields here which should be visible. sw.WriteLine (indent + "private {0} {1};", CSType, Name); } else { sw.WriteLine (indent + "{0} {1} {2};", Access, CSType, Access == "public" ? StudlyName : Name); } } } } gtk-sharp-2.12.10/generator/Parser.cs0000644000175000001440000001135411131156743014251 00000000000000// GtkSharp.Generation.Parser.cs - The XML Parsing engine. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003 Ximian Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Parser { private XmlDocument Load (string filename) { XmlDocument doc = new XmlDocument (); try { Stream stream = File.OpenRead (filename); doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid XML file."); Console.WriteLine (e); doc = null; } return doc; } public IGeneratable[] Parse (string filename) { XmlDocument doc = Load (filename); if (doc == null) return null; XmlElement root = doc.DocumentElement; if ((root == null) || !root.HasChildNodes) { Console.WriteLine ("No Namespaces found."); return null; } ArrayList gens = new ArrayList (); foreach (XmlNode child in root.ChildNodes) { XmlElement elem = child as XmlElement; if (elem == null) continue; switch (child.Name) { case "namespace": gens.AddRange (ParseNamespace (elem)); break; case "symbol": gens.Add (ParseSymbol (elem)); break; default: Console.WriteLine ("Parser::Parse - Unexpected child node: " + child.Name); break; } } return (IGeneratable[]) gens.ToArray (typeof (IGeneratable)); } private ArrayList ParseNamespace (XmlElement ns) { ArrayList result = new ArrayList (); foreach (XmlNode def in ns.ChildNodes) { XmlElement elem = def as XmlElement; if (elem == null) continue; if (elem.HasAttribute("hidden")) continue; bool is_opaque = false; if (elem.GetAttribute ("opaque") == "true" || elem.GetAttribute ("opaque") == "1") is_opaque = true; switch (def.Name) { case "alias": string aname = elem.GetAttribute("cname"); string atype = elem.GetAttribute("type"); if ((aname == "") || (atype == "")) continue; result.Add (new AliasGen (aname, atype)); break; case "boxed": result.Add (is_opaque ? new OpaqueGen (ns, elem) as object : new BoxedGen (ns, elem) as object); break; case "callback": result.Add (new CallbackGen (ns, elem)); break; case "enum": result.Add (new EnumGen (ns, elem)); break; case "interface": result.Add (new InterfaceGen (ns, elem)); break; case "object": result.Add (new ObjectGen (ns, elem)); break; case "class": result.Add (new ClassGen (ns, elem)); break; case "struct": result.Add (is_opaque ? new OpaqueGen (ns, elem) as object : new StructGen (ns, elem) as object); break; default: Console.WriteLine ("Parser::ParseNamespace - Unexpected node: " + def.Name); break; } } return result; } private IGeneratable ParseSymbol (XmlElement symbol) { string type = symbol.GetAttribute ("type"); string cname = symbol.GetAttribute ("cname"); string name = symbol.GetAttribute ("name"); IGeneratable result = null; if (type == "simple") { if (symbol.HasAttribute ("default_value")) result = new SimpleGen (cname, name, symbol.GetAttribute ("default_value")); else { Console.WriteLine ("Simple type element " + cname + " has no specified default value"); result = new SimpleGen (cname, name, String.Empty); } } else if (type == "manual") result = new ManualGen (cname, name); else if (type == "alias") result = new AliasGen (cname, name); else if (type == "marshal") { string mtype = symbol.GetAttribute ("marshal_type"); string call = symbol.GetAttribute ("call_fmt"); string from = symbol.GetAttribute ("from_fmt"); result = new MarshalGen (cname, name, mtype, call, from); } else Console.WriteLine ("Parser::ParseSymbol - Unexpected symbol type " + type); return result; } } } gtk-sharp-2.12.10/generator/GenBase.cs0000644000175000001440000000651011234360435014316 00000000000000// GtkSharp.Generation.GenBase.cs - The Generatable base class. // // Author: Mike Kestner // // Copyright (c) 2001-2002 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public abstract class GenBase : IGeneratable { private XmlElement ns; private XmlElement elem; protected GenBase (XmlElement ns, XmlElement elem) { this.ns = ns; this.elem = elem; } public string CName { get { return elem.GetAttribute ("cname"); } } public XmlElement Elem { get { return elem; } } public bool IsInternal { get { if (elem.HasAttribute ("internal")) { string attr = elem.GetAttribute ("internal"); return attr == "1" || attr == "true"; } return false; } } public string LibraryName { get { return ns.GetAttribute ("library"); } } public virtual string MarshalReturnType { get { return MarshalType; } } public abstract string MarshalType { get; } public string Name { get { return elem.GetAttribute ("name"); } } public string NS { get { return ns.GetAttribute ("name"); } } public abstract string DefaultValue { get; } public string QualifiedName { get { return NS + "." + Name; } } public virtual string ToNativeReturnType { get { return MarshalType; } } protected void AppendCustom (StreamWriter sw, string custom_dir) { AppendCustom (sw, custom_dir, Name); } protected void AppendCustom (StreamWriter sw, string custom_dir, string type_name) { char sep = Path.DirectorySeparatorChar; string custom = custom_dir + sep + type_name + ".custom"; if (File.Exists(custom)) { sw.WriteLine ("#region Customized extensions"); sw.WriteLine ("#line 1 \"" + type_name + ".custom\""); FileStream custstream = new FileStream(custom, FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(custstream); sw.WriteLine (sr.ReadToEnd ()); sw.WriteLine ("#endregion"); sr.Close (); } } public abstract string CallByName (string var); public abstract string FromNative (string var); public virtual string FromNativeReturn (string var) { return FromNative (var); } public virtual string ToNativeReturn (string var) { return CallByName (var); } public abstract bool Validate (); public void Generate () { GenerationInfo geninfo = new GenerationInfo (ns); Generate (geninfo); } public abstract void Generate (GenerationInfo geninfo); } } gtk-sharp-2.12.10/generator/ChildProperty.cs0000644000175000001440000000264411131156743015607 00000000000000// GtkSharp.Generation.ChildProperty.cs - GtkContainer child properties // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class ChildProperty : Property { public ChildProperty (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} protected override string PropertyAttribute (string qpname) { return "[Gtk.ChildProperty (" + qpname + ")]"; } protected override string RawGetter (string qpname) { return "parent.ChildGetProperty (child, " + qpname + ")"; } protected override string RawSetter (string qpname) { return "parent.ChildSetProperty(child, " + qpname + ", val)"; } } } gtk-sharp-2.12.10/generator/ObjectField.cs0000644000175000001440000000242111131156743015162 00000000000000// GtkSharp.Generation.ObjectField.cs - autogenerated field glue // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class ObjectField : FieldBase { public ObjectField (XmlElement elem, ClassBase container_type) : base (elem, container_type) { if (CType == "char*" || CType == "gchar*") ctype = "const-" + CType; } protected override bool Writable { get { return elem.GetAttribute ("writeable") == "true"; } } protected override string DefaultAccess { get { return "private"; } } } } gtk-sharp-2.12.10/generator/ConstStringGen.cs0000644000175000001440000000330411131156743015720 00000000000000// GtkSharp.Generation.ConstStringGen.cs - The Const String type Generatable. // // Author: Rachel Hestilow // Mike Kestner // // Copyright (c) 2003 Rachel Hestilow // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ConstStringGen : SimpleBase, IManualMarshaler { public ConstStringGen (string ctype) : base (ctype, "string", "null") {} public override string MarshalType { get { return "IntPtr"; } } public override string FromNative (string var) { return "GLib.Marshaller.Utf8PtrToString (" + var + ")"; } public override string ToNativeReturn (string var) { return "GLib.Marshaller.StringToPtrGStrdup (" + var + ")"; } public string AllocNative (string managed_var) { return "GLib.Marshaller.StringToPtrGStrdup (" + managed_var + ")"; } public string ReleaseNative (string native_var) { return "GLib.Marshaller.Free (" + native_var + ")"; } } } gtk-sharp-2.12.10/generator/Signature.cs0000644000175000001440000000525611131156743014762 00000000000000// GtkSharp.Generation.Signature.cs - The Signature Generation Class. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class Signature { private ArrayList parms = new ArrayList (); public Signature (Parameters parms) { foreach (Parameter p in parms) { if (!parms.IsHidden (p)) this.parms.Add (p); } } public override string ToString () { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) { result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } public string Types { get { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) result [i++] = p.CSType; return String.Join (":", result); } } public bool IsAccessor { get { int count = 0; foreach (Parameter p in parms) { if (p.PassAs == "out") count++; if (count > 1) return false; } return count == 1; } } public string AccessorType { get { foreach (Parameter p in parms) if (p.PassAs == "out") return p.CSType; return null; } } public string AccessorName { get { foreach (Parameter p in parms) if (p.PassAs == "out") return p.Name; return null; } } public string AsAccessor { get { string[] result = new string [parms.Count - 1]; int i = 0; foreach (Parameter p in parms) { if (p.PassAs == "out") continue; result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } } } } gtk-sharp-2.12.10/generator/ByRefGen.cs0000644000175000001440000000342311131156743014454 00000000000000// GtkSharp.Generation.ByRefGen.cs - The ByRef type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ByRefGen : SimpleBase, IManualMarshaler { public ByRefGen (string ctype, string type) : base (ctype, type, type + ".Empty") {} public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string var_name) { return "native_" + var_name; } public string AllocNative () { return "Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + QualifiedName + ")))"; } public string AllocNative (string var_name) { return "GLib.Marshaller.StructureToPtrAlloc (" + var_name + ")"; } public override string FromNative (string var_name) { return String.Format ("({0}) Marshal.PtrToStructure ({1}, typeof ({0}))", QualifiedName, var_name); } public string ReleaseNative (string var_name) { return "Marshal.FreeHGlobal (" + var_name + ")"; } } } gtk-sharp-2.12.10/generator/Property.cs0000644000175000001440000001320611131156743014637 00000000000000// GtkSharp.Generation.Property.cs - The Property Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Property : PropertyBase { public Property (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} public bool Validate () { if (CSType == "" && !Hidden) { Console.Write("Property has unknown Type {0} ", CType); Statistics.ThrottledCount++; return false; } return true; } bool Readable { get { return elem.GetAttribute ("readable") == "true"; } } bool Writable { get { return elem.GetAttribute ("writeable") == "true" && !elem.HasAttribute ("construct-only"); } } bool IsDeprecated { get { return !container_type.IsDeprecated && (elem.GetAttribute ("deprecated") == "1" || elem.GetAttribute ("deprecated") == "true"); } } protected virtual string PropertyAttribute (string qpname) { return "[GLib.Property (" + qpname + ")]"; } protected virtual string RawGetter (string qpname) { return "GetProperty (" + qpname + ")"; } protected virtual string RawSetter (string qpname) { return "SetProperty(" + qpname + ", val)"; } public void GenerateDecl (StreamWriter sw, string indent) { if (Hidden || (!Readable && !Writable)) return; string name = Name; if (name == container_type.Name) name += "Prop"; sw.WriteLine (indent + CSType + " " + name + " {"); sw.Write (indent + "\t"); if (Readable || Getter != null) sw.Write ("get; "); if (Writable || Setter != null) sw.Write ("set;"); sw.WriteLine (); sw.WriteLine (indent + "}"); } public void Generate (GenerationInfo gen_info, string indent, ClassBase implementor) { SymbolTable table = SymbolTable.Table; StreamWriter sw = gen_info.Writer; if (Hidden || (!Readable && !Writable)) return; string modifiers = ""; if (IsNew || (container_type.Parent != null && container_type.Parent.GetPropertyRecursively (Name) != null)) modifiers = "new "; else if (implementor != null && implementor.Parent != null && implementor.Parent.GetPropertyRecursively (Name) != null) modifiers = "new "; string name = Name; if (name == container_type.Name) { name += "Prop"; } string qpname = "\"" + CName + "\""; string v_type = ""; if (table.IsInterface (CType)) { v_type = "(GLib.Object)"; } else if (table.IsOpaque (CType)) { v_type = "(GLib.Opaque)"; } else if (table.IsEnum (CType)) { v_type = "(Enum)"; } GenerateImports (gen_info, indent); if (IsDeprecated || (Getter != null && Getter.IsDeprecated) || (Setter != null && Setter.IsDeprecated)) sw.WriteLine (indent + "[Obsolete]"); sw.WriteLine (indent + PropertyAttribute (qpname)); sw.WriteLine (indent + "public " + modifiers + CSType + " " + name + " {"); indent += "\t"; if (Getter != null) { sw.Write(indent + "get "); Getter.GenerateBody(gen_info, implementor, "\t"); sw.WriteLine(); } else if (Readable) { sw.WriteLine(indent + "get {"); sw.WriteLine(indent + "\tGLib.Value val = " + RawGetter (qpname) + ";"); if (table.IsOpaque (CType) || table.IsBoxed (CType)) { sw.WriteLine(indent + "\t" + CSType + " ret = (" + CSType + ") val;"); } else if (table.IsInterface (CType)) { // Do we have to dispose the GLib.Object from the GLib.Value? sw.WriteLine (indent + "\t{0} ret = {0}Adapter.GetObject ((GLib.Object) val);", CSType); } else { sw.Write(indent + "\t" + CSType + " ret = "); sw.Write ("(" + CSType + ") "); if (v_type != "") { sw.Write(v_type + " "); } sw.WriteLine("val;"); } sw.WriteLine(indent + "\tval.Dispose ();"); sw.WriteLine(indent + "\treturn ret;"); sw.WriteLine(indent + "}"); } if (Setter != null) { sw.Write(indent + "set "); Setter.GenerateBody(gen_info, implementor, "\t"); sw.WriteLine(); } else if (Writable) { sw.WriteLine(indent + "set {"); sw.Write(indent + "\tGLib.Value val = "); if (table.IsBoxed (CType)) { sw.WriteLine("(GLib.Value) value;"); } else if (table.IsOpaque (CType)) { sw.WriteLine("new GLib.Value(value, \"{0}\");", CType); } else { sw.Write("new GLib.Value("); if (v_type != "" && !(table.IsObject (CType) || table.IsInterface (CType) || table.IsOpaque (CType))) { sw.Write(v_type + " "); } sw.WriteLine("value);"); } sw.WriteLine(indent + "\t" + RawSetter (qpname) + ";"); sw.WriteLine(indent + "\tval.Dispose ();"); sw.WriteLine(indent + "}"); } sw.WriteLine(indent.Substring (1) + "}"); sw.WriteLine(); Statistics.PropCount++; } } } gtk-sharp-2.12.10/generator/ClassGen.cs0000644000175000001440000000451411131156743014514 00000000000000// GtkSharp.Generation.ClassGen.cs - The Class Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text; using System.Xml; public class ClassGen : ClassBase { public ClassGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string AssignToName { get { return String.Empty; } } public override string MarshalType { get { return String.Empty; } } public override string CallByName () { return String.Empty; } public override string CallByName (string var) { return String.Empty; } public override string FromNative (string var) { return String.Empty; } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream(Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); sw.Write ("\t{0} class " + Name, IsInternal ? "internal" : "public"); sw.WriteLine (" {"); sw.WriteLine (); GenProperties (gen_info, null); GenMethods (gen_info, null, null); sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } } } gtk-sharp-2.12.10/generator/Method.cs0000644000175000001440000002463511304364722014243 00000000000000// GtkSharp.Generation.Method.cs - The Method Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Method : MethodBase { private ReturnValue retval; private string call; private bool is_get, is_set; private bool deprecated = false; private bool win32_utf8_variant = false; public Method (XmlElement elem, ClassBase container_type) : base (elem, container_type) { this.retval = new ReturnValue (elem["return-type"]); if (!container_type.IsDeprecated && elem.HasAttribute ("deprecated")) { string attr = elem.GetAttribute ("deprecated"); deprecated = attr == "1" || attr == "true"; } if (elem.HasAttribute ("win32_utf8_variant")) { string attr = elem.GetAttribute ("win32_utf8_variant"); win32_utf8_variant = attr == "1" || attr.ToLower () == "true"; } if (Name == "GetType") Name = "GetGType"; } public bool HasWin32Utf8Variant { get { return win32_utf8_variant; } } public bool IsDeprecated { get { return deprecated; } } public bool IsGetter { get { return is_get; } } public bool IsSetter { get { return is_set; } } public string ReturnType { get { return retval.CSType; } } public override bool Validate () { if (!retval.Validate () || !base.Validate ()) { Console.Write(" in method " + Name + " "); return false; } Parameters parms = Parameters; is_get = ((((parms.IsAccessor && retval.IsVoid) || (parms.Count == 0 && !retval.IsVoid)) || (parms.Count == 0 && !retval.IsVoid)) && HasGetterName); is_set = ((parms.IsAccessor || (parms.VisibleCount == 1 && retval.IsVoid)) && HasSetterName); call = "(" + (IsStatic ? "" : container_type.CallByName () + (parms.Count > 0 ? ", " : "")) + Body.GetCallString (is_set) + ")"; return true; } private Method GetComplement () { char complement; if (is_get) complement = 'S'; else complement = 'G'; return container_type.GetMethod (complement + BaseName.Substring (1)); } public string Declaration { get { return retval.CSType + " " + Name + " (" + (Signature != null ? Signature.ToString() : "") + ");"; } } private void GenerateDeclCommon (StreamWriter sw, ClassBase implementor) { if (IsStatic) sw.Write("static "); sw.Write (Safety); Method dup = null; if (container_type != null) dup = container_type.GetMethodRecursively (Name); if (implementor != null) dup = implementor.GetMethodRecursively (Name); if (Name == "ToString" && Parameters.Count == 0) sw.Write("override "); else if (Name == "GetGType" && container_type is ObjectGen) sw.Write("new "); else if (Modifiers == "new " || (dup != null && ((dup.Signature != null && Signature != null && dup.Signature.ToString() == Signature.ToString()) || (dup.Signature == null && Signature == null)))) sw.Write("new "); if (is_get || is_set) { if (retval.IsVoid) sw.Write (Parameters.AccessorReturnType); else sw.Write(retval.CSType); sw.Write(" "); if (Name.StartsWith ("Get") || Name.StartsWith ("Set")) sw.Write (Name.Substring (3)); else { int dot = Name.LastIndexOf ('.'); if (dot != -1 && (Name.Substring (dot + 1, 3) == "Get" || Name.Substring (dot + 1, 3) == "Set")) sw.Write (Name.Substring (0, dot + 1) + Name.Substring (dot + 4)); else sw.Write (Name); } sw.WriteLine(" { "); } else if (IsAccessor) { sw.Write (Signature.AccessorType + " " + Name + "(" + Signature.AsAccessor + ")"); } else { sw.Write(retval.CSType + " " + Name + "(" + (Signature != null ? Signature.ToString() : "") + ")"); } } public void GenerateDecl (StreamWriter sw) { if (IsStatic) return; if (is_get || is_set) { Method comp = GetComplement (); if (comp != null && is_set) return; sw.Write("\t\t"); GenerateDeclCommon (sw, null); sw.Write("\t\t\t"); sw.Write ((is_get) ? "get;" : "set;"); if (comp != null && comp.is_set) sw.WriteLine (" set;"); else sw.WriteLine (); sw.WriteLine ("\t\t}"); } else { sw.Write("\t\t"); GenerateDeclCommon (sw, null); sw.WriteLine (";"); } Statistics.MethodCount++; } public void GenerateImport (StreamWriter sw) { string import_sig = IsStatic ? "" : container_type.MarshalType + " raw"; import_sig += !IsStatic && Parameters.Count > 0 ? ", " : ""; import_sig += Parameters.ImportSignature.ToString(); sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\")]"); if (retval.MarshalType.StartsWith ("[return:")) sw.WriteLine("\t\t" + retval.MarshalType + " static extern " + Safety + retval.CSType + " " + CName + "(" + import_sig + ");"); else sw.WriteLine("\t\tstatic extern " + Safety + retval.MarshalType + " " + CName + "(" + import_sig + ");"); sw.WriteLine(); if (HasWin32Utf8Variant) { sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\")]"); if (retval.MarshalType.StartsWith ("[return:")) sw.WriteLine("\t\t" + retval.MarshalType + " static extern " + Safety + retval.CSType + " " + CName + "_utf8(" + import_sig + ");"); else sw.WriteLine("\t\tstatic extern " + Safety + retval.MarshalType + " " + CName + "_utf8(" + import_sig + ");"); sw.WriteLine(); } } public void Generate (GenerationInfo gen_info, ClassBase implementor) { if (!Validate ()) return; Method comp = null; gen_info.CurrentMember = Name; /* we are generated by the get Method, if there is one */ if (is_set || is_get) { if (Modifiers != "new " && container_type.GetPropertyRecursively (Name.Substring (3)) != null) return; comp = GetComplement (); if (comp != null && is_set) { if (Parameters.AccessorReturnType == comp.ReturnType) return; else { is_set = false; call = "(Handle, " + Body.GetCallString (false) + ")"; comp = null; } } /* some setters take more than one arg */ if (comp != null && !comp.is_set) comp = null; } GenerateImport (gen_info.Writer); if (comp != null && retval.CSType == comp.Parameters.AccessorReturnType) comp.GenerateImport (gen_info.Writer); if (IsDeprecated) gen_info.Writer.WriteLine("\t\t[Obsolete]"); gen_info.Writer.Write("\t\t"); if (Protection != "") gen_info.Writer.Write("{0} ", Protection); GenerateDeclCommon (gen_info.Writer, implementor); if (is_get || is_set) { gen_info.Writer.Write ("\t\t\t"); gen_info.Writer.Write ((is_get) ? "get" : "set"); GenerateBody (gen_info, implementor, "\t"); } else GenerateBody (gen_info, implementor, ""); if (is_get || is_set) { if (comp != null && retval.CSType == comp.Parameters.AccessorReturnType) { gen_info.Writer.WriteLine (); gen_info.Writer.Write ("\t\t\tset"); comp.GenerateBody (gen_info, implementor, "\t"); } gen_info.Writer.WriteLine (); gen_info.Writer.WriteLine ("\t\t}"); } else gen_info.Writer.WriteLine(); gen_info.Writer.WriteLine(); Statistics.MethodCount++; } public void GenerateBody (GenerationInfo gen_info, ClassBase implementor, string indent) { StreamWriter sw = gen_info.Writer; sw.WriteLine(" {"); if (!IsStatic && implementor != null) implementor.Prepare (sw, indent + "\t\t\t"); if (IsAccessor) Body.InitAccessor (sw, Signature, indent); Body.Initialize(gen_info, is_get, is_set, indent); if (HasWin32Utf8Variant) { if (!retval.IsVoid) sw.WriteLine(indent + "\t\t\t" + retval.MarshalType + " raw_ret;"); sw.WriteLine(indent + "\t\t\t" + "if (Environment.OSVersion.Platform == PlatformID.Win32NT ||"); sw.WriteLine(indent + "\t\t\t" + " Environment.OSVersion.Platform == PlatformID.Win32S ||"); sw.WriteLine(indent + "\t\t\t" + " Environment.OSVersion.Platform == PlatformID.Win32Windows ||"); sw.WriteLine(indent + "\t\t\t" + " Environment.OSVersion.Platform == PlatformID.WinCE)"); if (retval.IsVoid) { sw.WriteLine(indent + "\t\t\t\t" + CName + "_utf8" + call + ";"); sw.WriteLine(indent + "\t\t\t" + "else"); sw.WriteLine(indent + "\t\t\t\t" + CName + call + ";"); } else { sw.WriteLine(indent + "\t\t\t\traw_ret = " + CName + "_utf8" + call + ";"); sw.WriteLine(indent + "\t\t\t" + "else"); sw.WriteLine(indent + "\t\t\t\traw_ret = " + CName + call + ";"); sw.WriteLine(indent + "\t\t\t" + retval.CSType + " ret = " + retval.FromNative ("raw_ret") + ";"); } } else { sw.Write(indent + "\t\t\t"); if (retval.IsVoid) sw.WriteLine(CName + call + ";"); else { sw.WriteLine(retval.MarshalType + " raw_ret = " + CName + call + ";"); sw.WriteLine(indent + "\t\t\t" + retval.CSType + " ret = " + retval.FromNative ("raw_ret") + ";"); } } if (!IsStatic && implementor != null) implementor.Finish (sw, indent + "\t\t\t"); Body.Finish (sw, indent); Body.HandleException (sw, indent); if (is_get && Parameters.Count > 0) sw.WriteLine (indent + "\t\t\treturn " + Parameters.AccessorName + ";"); else if (!retval.IsVoid) sw.WriteLine (indent + "\t\t\treturn ret;"); else if (IsAccessor) Body.FinishAccessor (sw, Signature, indent); sw.Write(indent + "\t\t}"); } bool IsAccessor { get { return retval.IsVoid && Signature.IsAccessor; } } } } gtk-sharp-2.12.10/generator/IAccessor.cs0000644000175000001440000000171011131156743014663 00000000000000// IAccessor.cs - Interface to generate property accessors. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IAccessor { void WriteAccessors (System.IO.StreamWriter sw, string indentation, string field_name); } } gtk-sharp-2.12.10/generator/Statistics.cs0000644000175000001440000000770311131156743015152 00000000000000// Statistics.cs : Generation statistics class implementation // // Author: Mike Kestner // // Copyright (c) 2002 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; public class Statistics { static int cbs = 0; static int enums = 0; static int objects = 0; static int structs = 0; static int boxed = 0; static int opaques = 0; static int interfaces = 0; static int methods = 0; static int ctors = 0; static int props = 0; static int sigs = 0; static int throttled = 0; static int ignored = 0; static bool vm_ignored = false; public static int CBCount { get { return cbs; } set { cbs = value; } } public static int EnumCount { get { return enums; } set { enums = value; } } public static int ObjectCount { get { return objects; } set { objects = value; } } public static int StructCount { get { return structs; } set { structs = value; } } public static int BoxedCount { get { return boxed; } set { boxed = value; } } public static int OpaqueCount { get { return opaques; } set { opaques = value; } } public static int CtorCount { get { return ctors; } set { ctors = value; } } public static int MethodCount { get { return methods; } set { methods = value; } } public static int PropCount { get { return props; } set { props = value; } } public static int SignalCount { get { return sigs; } set { sigs = value; } } public static int IFaceCount { get { return interfaces; } set { interfaces = value; } } public static int ThrottledCount { get { return throttled; } set { throttled = value; } } public static int IgnoreCount { get { return ignored; } set { ignored = value; } } public static bool VMIgnored { get { return vm_ignored; } set { if (value) vm_ignored = value; } } public static void Report() { if (VMIgnored) { Console.WriteLine(); Console.WriteLine("Warning: Generation throttled for Virtual Methods."); Console.WriteLine(" Consider regenerating with --gluelib-name and --glue-filename."); } Console.WriteLine(); Console.WriteLine("Generation Summary:"); Console.Write(" Enums: " + enums); Console.Write(" Structs: " + structs); Console.Write(" Boxed: " + boxed); Console.Write(" Opaques: " + opaques); Console.Write(" Interfaces: " + interfaces); Console.Write(" Objects: " + objects); Console.WriteLine(" Callbacks: " + cbs); Console.Write(" Properties: " + props); Console.Write(" Signals: " + sigs); Console.Write(" Methods: " + methods); Console.Write(" Constructors: " + ctors); Console.WriteLine(" Throttled: " + throttled); Console.WriteLine("Total Nodes: " + (enums+structs+boxed+opaques+interfaces+cbs+objects+props+sigs+methods+ctors+throttled)); Console.WriteLine(); } } } gtk-sharp-2.12.10/generator/CodeGenerator.cs0000644000175000001440000000712211131156743015534 00000000000000// GtkSharp.Generation.CodeGenerator.cs - The main code generation engine. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class CodeGenerator { public static int Main (string[] args) { if (args.Length < 2) { Console.WriteLine ("Usage: codegen --generate "); return 0; } bool generate = false; string dir = ""; string custom_dir = ""; string assembly_name = ""; string glue_filename = ""; string glue_includes = ""; string gluelib_name = ""; SymbolTable table = SymbolTable.Table; ArrayList gens = new ArrayList (); foreach (string arg in args) { string filename = arg; if (arg == "--generate") { generate = true; continue; } else if (arg == "--include") { generate = false; continue; } else if (arg.StartsWith ("-I:")) { generate = false; filename = filename.Substring (3); } else if (arg.StartsWith ("--outdir=")) { generate = false; dir = arg.Substring (9); continue; } else if (arg.StartsWith ("--customdir=")) { generate = false; custom_dir = arg.Substring (12); continue; } else if (arg.StartsWith ("--assembly-name=")) { generate = false; assembly_name = arg.Substring (16); continue; } else if (arg.StartsWith ("--glue-filename=")) { generate = false; glue_filename = arg.Substring (16); continue; } else if (arg.StartsWith ("--glue-includes=")) { generate = false; glue_includes = arg.Substring (16); continue; } else if (arg.StartsWith ("--gluelib-name=")) { generate = false; gluelib_name = arg.Substring (15); continue; } Parser p = new Parser (); IGeneratable[] curr_gens = p.Parse (filename); table.AddTypes (curr_gens); if (generate) gens.AddRange (curr_gens); } // Now that everything is loaded, validate all the to-be- // generated generatables and then remove the invalid ones. ArrayList invalids = new ArrayList (); foreach (IGeneratable gen in gens) { if (!gen.Validate ()) invalids.Add (gen); } foreach (IGeneratable gen in invalids) gens.Remove (gen); GenerationInfo gen_info = null; if (dir != "" || assembly_name != "" || glue_filename != "" || glue_includes != "" || gluelib_name != "") gen_info = new GenerationInfo (dir, custom_dir, assembly_name, glue_filename, glue_includes, gluelib_name); foreach (IGeneratable gen in gens) { if (gen_info == null) gen.Generate (); else gen.Generate (gen_info); } ObjectGen.GenerateMappers (); if (gen_info != null) gen_info.CloseGlueWriter (); Statistics.Report(); return 0; } } } gtk-sharp-2.12.10/generator/AliasGen.cs0000644000175000001440000000200011131156743014464 00000000000000// GtkSharp.Generation.AliasGen.cs - The Alias type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class AliasGen : SimpleBase { public AliasGen (string ctype, string type) : base (ctype, type, String.Empty) {} } } gtk-sharp-2.12.10/generator/EnumGen.cs0000644000175000001440000000675011200431711014343 00000000000000// GtkSharp.Generation.EnumGen.cs - The Enumeration Generatable. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class EnumGen : GenBase { string enum_type = String.Empty; ArrayList members = new ArrayList (); public EnumGen (XmlElement ns, XmlElement elem) : base (ns, elem) { foreach (XmlElement member in elem.ChildNodes) { if (member.Name != "member") continue; string result = "\t\t" + member.GetAttribute("name"); if (member.HasAttribute("value")) { string value = member.GetAttribute("value"); if (value.EndsWith("U")) { enum_type = " : uint"; value = value.TrimEnd('U'); } result += " = " + value; } members.Add (result + ","); } } public override bool Validate () { return true; } public override string DefaultValue { get { return "(" + QualifiedName + ") 0"; } } public override string MarshalType { get { return "int"; } } public override string CallByName (string var_name) { return "(int) " + var_name; } public override string FromNative(string var) { return "(" + QualifiedName + ") " + var; } public override void Generate (GenerationInfo gen_info) { StreamWriter sw = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (Elem.GetAttribute("type") == "flags") sw.WriteLine ("\t[Flags]"); if (Elem.HasAttribute("gtype")) sw.WriteLine ("\t[GLib.GType (typeof (" + NS + "." + Name + "GType))]"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " enum " + Name + enum_type + " {"); sw.WriteLine (); foreach (string member in members) sw.WriteLine (member); sw.WriteLine ("\t}"); if (Elem.HasAttribute ("gtype")) { sw.WriteLine (); sw.WriteLine ("\tinternal class " + Name + "GType {"); sw.WriteLine ("\t\t[DllImport (\"" + LibraryName + "\")]"); sw.WriteLine ("\t\tstatic extern IntPtr " + Elem.GetAttribute ("gtype") + " ();"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static GLib.GType GType {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn new GLib.GType (" + Elem.GetAttribute ("gtype") + " ());"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); } sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); Statistics.EnumCount++; } } } gtk-sharp-2.12.10/generator/ClassBase.cs0000644000175000001440000002657411131156743014667 00000000000000// GtkSharp.Generation.ClassBase.cs - Common code between object // and interface wrappers // // Authors: Rachel Hestilow // Mike Kestner // // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public abstract class ClassBase : GenBase { protected Hashtable props = new Hashtable(); protected Hashtable fields = new Hashtable(); protected Hashtable sigs = new Hashtable(); protected Hashtable methods = new Hashtable(); protected ArrayList interfaces = new ArrayList(); protected ArrayList managed_interfaces = new ArrayList(); protected ArrayList ctors = new ArrayList(); private bool ctors_initted = false; private Hashtable clash_map; private bool deprecated = false; private bool isabstract = false; public Hashtable Methods { get { return methods; } } public Hashtable Signals { get { return sigs; } } public ClassBase Parent { get { string parent = Elem.GetAttribute("parent"); if (parent == "") return null; else return SymbolTable.Table.GetClassGen(parent); } } protected ClassBase (XmlElement ns, XmlElement elem) : base (ns, elem) { if (elem.HasAttribute ("deprecated")) { string attr = elem.GetAttribute ("deprecated"); deprecated = attr == "1" || attr == "true"; } if (elem.HasAttribute ("abstract")) { string attr = elem.GetAttribute ("abstract"); isabstract = attr == "1" || attr == "true"; } foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; if (member.HasAttribute ("hidden")) continue; string name; switch (node.Name) { case "method": name = member.GetAttribute("name"); while (methods.ContainsKey(name)) name += "mangled"; methods.Add (name, new Method (member, this)); break; case "property": name = member.GetAttribute("name"); while (props.ContainsKey(name)) name += "mangled"; props.Add (name, new Property (member, this)); break; case "field": name = member.GetAttribute("name"); while (fields.ContainsKey (name)) name += "mangled"; fields.Add (name, new ObjectField (member, this)); break; case "signal": name = member.GetAttribute("name"); while (sigs.ContainsKey(name)) name += "mangled"; sigs.Add (name, new Signal (member, this)); break; case "implements": ParseImplements (member); break; case "constructor": ctors.Add (new Ctor (member, this)); break; default: break; } } } public override bool Validate () { if (Parent != null && !Parent.ValidateForSubclass ()) return false; foreach (string iface in interfaces) { InterfaceGen igen = SymbolTable.Table[iface] as InterfaceGen; if (igen == null) { Console.WriteLine (QualifiedName + " implements unknown GInterface " + iface); return false; } if (!igen.ValidateForSubclass ()) { Console.WriteLine (QualifiedName + " implements invalid GInterface " + iface); return false; } } ArrayList invalids = new ArrayList (); foreach (Property prop in props.Values) { if (!prop.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (prop); } } foreach (Property prop in invalids) props.Remove (prop.Name); invalids.Clear (); foreach (Signal sig in sigs.Values) { if (!sig.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (sig); } } foreach (Signal sig in invalids) sigs.Remove (sig.Name); invalids.Clear (); foreach (ObjectField field in fields.Values) { if (!field.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (field); } } foreach (ObjectField field in invalids) fields.Remove (field.Name); invalids.Clear (); foreach (Method method in methods.Values) { if (!method.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (method); } } foreach (Method method in invalids) methods.Remove (method.Name); invalids.Clear (); foreach (Ctor ctor in ctors) { if (!ctor.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (ctor); } } foreach (Ctor ctor in invalids) ctors.Remove (ctor); invalids.Clear (); return true; } public virtual bool ValidateForSubclass () { ArrayList invalids = new ArrayList (); foreach (Signal sig in sigs.Values) { if (!sig.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (sig); } } foreach (Signal sig in invalids) sigs.Remove (sig.Name); invalids.Clear (); return true; } public bool IsDeprecated { get { return deprecated; } } public bool IsAbstract { get { return isabstract; } } public abstract string AssignToName { get; } public abstract string CallByName (); public override string DefaultValue { get { return "null"; } } protected bool IsNodeNameHandled (string name) { switch (name) { case "method": case "property": case "field": case "signal": case "implements": case "constructor": case "disabledefaultconstructor": return true; default: return false; } } public void GenProperties (GenerationInfo gen_info, ClassBase implementor) { if (props.Count == 0) return; foreach (Property prop in props.Values) prop.Generate (gen_info, "\t\t", implementor); } public void GenSignals (GenerationInfo gen_info, ClassBase implementor) { if (sigs == null) return; foreach (Signal sig in sigs.Values) sig.Generate (gen_info, implementor); } protected void GenFields (GenerationInfo gen_info) { foreach (ObjectField field in fields.Values) field.Generate (gen_info, "\t\t"); } private void ParseImplements (XmlElement member) { foreach (XmlNode node in member.ChildNodes) { if (node.Name != "interface") continue; XmlElement element = (XmlElement) node; if (element.HasAttribute ("hidden")) continue; if (element.HasAttribute ("cname")) interfaces.Add (element.GetAttribute ("cname")); else if (element.HasAttribute ("name")) managed_interfaces.Add (element.GetAttribute ("name")); } } protected bool IgnoreMethod (Method method, ClassBase implementor) { if (implementor != null && implementor.QualifiedName != this.QualifiedName && method.IsStatic) return true; string mname = method.Name; return ((method.IsSetter || (method.IsGetter && mname.StartsWith("Get"))) && ((props != null) && props.ContainsKey(mname.Substring(3)) || (fields != null) && fields.ContainsKey(mname.Substring(3)))); } public void GenMethods (GenerationInfo gen_info, Hashtable collisions, ClassBase implementor) { if (methods == null) return; foreach (Method method in methods.Values) { if (IgnoreMethod (method, implementor)) continue; string oname = null, oprotection = null; if (collisions != null && collisions.Contains (method.Name)) { oname = method.Name; oprotection = method.Protection; method.Name = QualifiedName + "." + method.Name; method.Protection = ""; } method.Generate (gen_info, implementor); if (oname != null) { method.Name = oname; method.Protection = oprotection; } } } public Method GetMethod (string name) { return (Method) methods[name]; } public Property GetProperty (string name) { return (Property) props[name]; } public Signal GetSignal (string name) { return (Signal) sigs[name]; } public Method GetMethodRecursively (string name) { return GetMethodRecursively (name, false); } public virtual Method GetMethodRecursively (string name, bool check_self) { Method p = null; if (check_self) p = GetMethod (name); if (p == null && Parent != null) p = Parent.GetMethodRecursively (name, true); if (check_self && p == null) { foreach (string iface in interfaces) { ClassBase igen = SymbolTable.Table.GetClassGen (iface); if (igen == null) continue; p = igen.GetMethodRecursively (name, true); if (p != null) break; } } return p; } public virtual Property GetPropertyRecursively (string name) { ClassBase klass = this; Property p = null; while (klass != null && p == null) { p = (Property) klass.GetProperty (name); klass = klass.Parent; } return p; } public Signal GetSignalRecursively (string name) { return GetSignalRecursively (name, false); } public virtual Signal GetSignalRecursively (string name, bool check_self) { Signal p = null; if (check_self) p = GetSignal (name); if (p == null && Parent != null) p = Parent.GetSignalRecursively (name, true); if (check_self && p == null) { foreach (string iface in interfaces) { ClassBase igen = SymbolTable.Table.GetClassGen (iface); if (igen == null) continue; p = igen.GetSignalRecursively (name, true); if (p != null) break; } } return p; } public bool Implements (string iface) { if (interfaces.Contains (iface)) return true; else if (Parent != null) return Parent.Implements (iface); else return false; } public ArrayList Ctors { get { return ctors; } } bool HasStaticCtor (string name) { if (Parent != null && Parent.HasStaticCtor (name)) return true; foreach (Ctor ctor in Ctors) if (ctor.StaticName == name) return true; return false; } private void InitializeCtors () { if (ctors_initted) return; if (Parent != null) Parent.InitializeCtors (); ArrayList valid_ctors = new ArrayList(); clash_map = new Hashtable(); foreach (Ctor ctor in ctors) { if (clash_map.Contains (ctor.Signature.Types)) { Ctor clash = clash_map [ctor.Signature.Types] as Ctor; Ctor alter = ctor.Preferred ? clash : ctor; alter.IsStatic = true; if (Parent != null && Parent.HasStaticCtor (alter.StaticName)) alter.Modifiers = "new "; } else clash_map [ctor.Signature.Types] = ctor; valid_ctors.Add (ctor); } ctors = valid_ctors; ctors_initted = true; } protected virtual void GenCtors (GenerationInfo gen_info) { InitializeCtors (); foreach (Ctor ctor in ctors) ctor.Generate (gen_info); } public virtual void Finish (StreamWriter sw, string indent) { } public virtual void Prepare (StreamWriter sw, string indent) { } } } gtk-sharp-2.12.10/generator/VirtualMethod.cs0000644000175000001440000001235311131156743015604 00000000000000// GtkSharp.Generation.VirtualMethod.cs - The VirtualMethod Generatable. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; // FIXME: handle static VMs public class VirtualMethod : MethodBase { XmlElement elem; ReturnValue retval; Parameters parms; public VirtualMethod (XmlElement elem, ClassBase container_type) : base (elem, container_type) { this.elem = elem; retval = new ReturnValue (elem ["return-type"]); parms = new Parameters (elem["parameters"]); parms.HideData = true; } public bool IsGetter { get { return HasGetterName && ((!retval.IsVoid && parms.Count == 1) || (retval.IsVoid && parms.Count == 2 && parms [1].PassAs == "out")); } } public bool IsSetter { get { if (!HasSetterName || !retval.IsVoid) return false; if (parms.Count == 2 || (parms.Count == 4 && parms [1].Scope == "notified")) return true; else return false; } } public string MarshalReturnType { get { return SymbolTable.Table.GetToNativeReturnType (elem["return-type"].GetAttribute("type")); } } public void GenerateCallback (StreamWriter sw) { if (!Validate ()) return; ManagedCallString call = new ManagedCallString (parms, true); string type = parms [0].CSType + "Implementor"; string name = parms [0].Name; string call_string = "__obj." + Name + " (" + call + ")"; if (IsGetter) call_string = "__obj." + (Name.StartsWith ("Get") ? Name.Substring (3) : Name); else if (IsSetter) call_string = "__obj." + Name.Substring (3) + " = " + call; sw.WriteLine ("\t\t[GLib.CDeclCallback]"); sw.WriteLine ("\t\tdelegate " + MarshalReturnType + " " + Name + "Delegate (" + parms.ImportSignature + ");"); sw.WriteLine (); sw.WriteLine ("\t\tstatic " + MarshalReturnType + " " + Name + "Callback (" + parms.ImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); sw.WriteLine ("\t\t\ttry {"); sw.WriteLine ("\t\t\t\t" + type + " __obj = GLib.Object.GetObject (" + name + ", false) as " + type + ";"); sw.Write (call.Setup ("\t\t\t\t")); if (retval.IsVoid) { if (IsGetter) { Parameter p = parms [1]; string out_name = p.Name; if (p.MarshalType != p.CSType) out_name = "my" + out_name; sw.WriteLine ("\t\t\t\t" + out_name + " = " + call_string + ";"); } else sw.WriteLine ("\t\t\t\t" + call_string + ";"); } else sw.WriteLine ("\t\t\t\t" + retval.CSType + " __result = " + call_string + ";"); bool fatal = parms.HasOutParam || !retval.IsVoid; sw.Write (call.Finish ("\t\t\t\t")); if (!retval.IsVoid) sw.WriteLine ("\t\t\t\treturn " + retval.ToNative ("__result") + ";"); sw.WriteLine ("\t\t\t} catch (Exception e) {"); sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");"); if (fatal) { sw.WriteLine ("\t\t\t\t// NOTREACHED: above call does not return."); sw.WriteLine ("\t\t\t\tthrow e;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); } public void GenerateDeclaration (StreamWriter sw, VirtualMethod complement) { VMSignature vmsig = new VMSignature (parms); if (IsGetter) { string name = Name.StartsWith ("Get") ? Name.Substring (3) : Name; string type = retval.IsVoid ? parms [1].CSType : retval.CSType; if (complement != null && complement.parms [1].CSType == type) sw.WriteLine ("\t\t" + type + " " + name + " { get; set; }"); else { sw.WriteLine ("\t\t" + type + " " + name + " { get; }"); if (complement != null) sw.WriteLine ("\t\t" + complement.retval.CSType + " " + complement.Name + " (" + (new VMSignature (complement.parms)) + ");"); } } else if (IsSetter) sw.WriteLine ("\t\t" + parms[1].CSType + " " + Name.Substring (3) + " { set; }"); else sw.WriteLine ("\t\t" + retval.CSType + " " + Name + " (" + vmsig + ");"); } enum ValidState { Unvalidated, Invalid, Valid } ValidState vstate = ValidState.Unvalidated; public bool IsValid { get { if (vstate == ValidState.Unvalidated) return Validate (); else return vstate == ValidState.Valid; } } public override bool Validate () { if (!parms.Validate () || !retval.Validate ()) { Console.Write ("in virtual method " + Name + " "); vstate = ValidState.Invalid; return false; } vstate = ValidState.Valid; return true; } } } gtk-sharp-2.12.10/generator/SymbolTable.cs0000644000175000001440000002707011131156743015234 00000000000000// GtkSharp.Generation.SymbolTable.cs - The Symbol Table Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; public class SymbolTable { static SymbolTable table = null; Hashtable types = new Hashtable (); public static SymbolTable Table { get { if (table == null) table = new SymbolTable (); return table; } } public SymbolTable () { // Simple easily mapped types AddType (new SimpleGen ("void", "void", String.Empty)); AddType (new SimpleGen ("gpointer", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("gboolean", "bool", "false")); AddType (new SimpleGen ("gint", "int", "0")); AddType (new SimpleGen ("guint", "uint", "0")); AddType (new SimpleGen ("int", "int", "0")); AddType (new SimpleGen ("unsigned", "uint", "0")); AddType (new SimpleGen ("unsigned int", "uint", "0")); AddType (new SimpleGen ("unsigned-int", "uint", "0")); AddType (new SimpleGen ("gshort", "short", "0")); AddType (new SimpleGen ("gushort", "ushort", "0")); AddType (new SimpleGen ("short", "short", "0")); AddType (new SimpleGen ("guchar", "byte", "0")); AddType (new SimpleGen ("unsigned char", "byte", "0")); AddType (new SimpleGen ("unsigned-char", "byte", "0")); AddType (new SimpleGen ("guint1", "bool", "false")); AddType (new SimpleGen ("uint1", "bool", "false")); AddType (new SimpleGen ("gint8", "sbyte", "0")); AddType (new SimpleGen ("guint8", "byte", "0")); AddType (new SimpleGen ("gint16", "short", "0")); AddType (new SimpleGen ("guint16", "ushort", "0")); AddType (new SimpleGen ("gint32", "int", "0")); AddType (new SimpleGen ("guint32", "uint", "0")); AddType (new SimpleGen ("gint64", "long", "0")); AddType (new SimpleGen ("guint64", "ulong", "0")); AddType (new SimpleGen ("long long", "long", "0")); AddType (new SimpleGen ("gfloat", "float", "0.0")); AddType (new SimpleGen ("float", "float", "0.0")); AddType (new SimpleGen ("gdouble", "double", "0.0")); AddType (new SimpleGen ("double", "double", "0.0")); AddType (new SimpleGen ("goffset", "long", "0")); AddType (new SimpleGen ("GQuark", "int", "0")); // platform specific integer types. #if WIN64LONGS AddType (new SimpleGen ("long", "int", "0")); AddType (new SimpleGen ("glong", "int", "0")); AddType (new SimpleGen ("ulong", "uint", "0")); AddType (new SimpleGen ("gulong", "uint", "0")); AddType (new SimpleGen ("unsigned long", "uint", "0")); #else AddType (new LPGen ("long")); AddType (new LPGen ("glong")); AddType (new LPUGen ("ulong")); AddType (new LPUGen ("gulong")); AddType (new LPUGen ("unsigned long")); #endif AddType (new LPGen ("ssize_t")); AddType (new LPGen ("gssize")); AddType (new LPUGen ("size_t")); AddType (new LPUGen ("gsize")); #if OFF_T_8 AddType (new AliasGen ("off_t", "long")); #else AddType (new LPGen ("off_t")); #endif // string types AddType (new ConstStringGen ("const-gchar")); AddType (new ConstStringGen ("const-xmlChar")); AddType (new ConstStringGen ("const-char")); AddType (new ConstFilenameGen ("const-gfilename")); AddType (new MarshalGen ("gfilename", "string", "IntPtr", "GLib.Marshaller.StringToFilenamePtr({0})", "GLib.Marshaller.FilenamePtrToStringGFree({0})")); AddType (new MarshalGen ("gchar", "string", "IntPtr", "GLib.Marshaller.StringToPtrGStrdup({0})", "GLib.Marshaller.PtrToStringGFree({0})")); AddType (new MarshalGen ("char", "string", "IntPtr", "GLib.Marshaller.StringToPtrGStrdup({0})", "GLib.Marshaller.PtrToStringGFree({0})")); AddType (new SimpleGen ("GStrv", "string[]", "null")); // manually wrapped types requiring more complex marshaling AddType (new ManualGen ("GInitiallyUnowned", "GLib.InitiallyUnowned", "GLib.Object.GetObject ({0})")); AddType (new ManualGen ("GObject", "GLib.Object", "GLib.Object.GetObject ({0})")); AddType (new ManualGen ("GList", "GLib.List")); AddType (new ManualGen ("GPtrArray", "GLib.PtrArray")); AddType (new ManualGen ("GSList", "GLib.SList")); AddType (new MarshalGen ("gunichar", "char", "uint", "GLib.Marshaller.CharToGUnichar ({0})", "GLib.Marshaller.GUnicharToChar ({0})")); AddType (new MarshalGen ("time_t", "System.DateTime", "IntPtr", "GLib.Marshaller.DateTimeTotime_t ({0})", "GLib.Marshaller.time_tToDateTime ({0})")); AddType (new MarshalGen ("GString", "string", "IntPtr", "new GLib.GString ({0}).Handle", "GLib.GString.PtrToString ({0})")); AddType (new MarshalGen ("GType", "GLib.GType", "IntPtr", "{0}.Val", "new GLib.GType({0})")); AddType (new ByRefGen ("GValue", "GLib.Value")); AddType (new SimpleGen ("GDestroyNotify", "GLib.DestroyNotify", "null")); // FIXME: These ought to be handled properly. AddType (new SimpleGen ("GC", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GError", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GMemChunk", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GTimeVal", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GClosure", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GArray", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GByteArray", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GData", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GIOChannel", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GTypeModule", "GLib.Object", "null")); AddType (new SimpleGen ("GHashTable", "System.IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("va_list", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GParamSpec", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("gconstpointer", "IntPtr", "IntPtr.Zero")); } public void AddType (IGeneratable gen) { types [gen.CName] = gen; } public void AddTypes (IGeneratable[] gens) { foreach (IGeneratable gen in gens) types [gen.CName] = gen; } public int Count { get { return types.Count; } } public IEnumerable Generatables { get { return types.Values; } } public IGeneratable this [string ctype] { get { return DeAlias (ctype) as IGeneratable; } } private bool IsConstString (string type) { switch (type) { case "const-gchar": case "const-char": case "const-xmlChar": case "const-gfilename": return true; default: return false; } } private string Trim(string type) { // HACK: If we don't detect this here, there is no // way of indicating it in the symbol table if (type == "void*" || type == "const-void*") return "gpointer"; string trim_type = type.TrimEnd('*'); if (IsConstString (trim_type)) return trim_type; if (trim_type.StartsWith("const-")) return trim_type.Substring(6); return trim_type; } private object DeAlias (string type) { type = Trim (type); while (types [type] is AliasGen) { IGeneratable igen = types [type] as AliasGen; types [type] = types [igen.Name]; type = igen.Name; } return types [type]; } public string FromNativeReturn(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.FromNativeReturn (val); } public string ToNativeReturn(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.ToNativeReturn (val); } public string FromNative(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.FromNative (val); } public string GetCSType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.QualifiedName; } public string GetName(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.Name; } public string GetMarshalReturnType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.MarshalReturnType; } public string GetToNativeReturnType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.ToNativeReturnType; } public string GetMarshalType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.MarshalType; } public string CallByName(string c_type, string var_name) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.CallByName(var_name); } public bool IsOpaque(string c_type) { if (this[c_type] is OpaqueGen) return true; return false; } public bool IsBoxed(string c_type) { if (this[c_type] is BoxedGen) return true; return false; } public bool IsStruct(string c_type) { if (this[c_type] is StructGen) return true; return false; } public bool IsEnum(string c_type) { if (this[c_type] is EnumGen) return true; return false; } public bool IsEnumFlags(string c_type) { EnumGen gen = this [c_type] as EnumGen; return (gen != null && gen.Elem.GetAttribute ("type") == "flags"); } public bool IsInterface(string c_type) { if (this[c_type] is InterfaceGen) return true; return false; } public ClassBase GetClassGen(string c_type) { return this[c_type] as ClassBase; } public bool IsObject(string c_type) { if (this[c_type] is ObjectGen) return true; return false; } public bool IsCallback(string c_type) { if (this[c_type] is CallbackGen) return true; return false; } public bool IsManuallyWrapped(string c_type) { if (this[c_type] is ManualGen) return true; return false; } public string MangleName(string name) { switch (name) { case "string": return "str1ng"; case "event": return "evnt"; case "null": return "is_null"; case "object": return "objekt"; case "params": return "parms"; case "ref": return "reference"; case "in": return "in_param"; case "out": return "out_param"; case "fixed": return "mfixed"; case "byte": return "_byte"; case "new": return "_new"; case "base": return "_base"; case "lock": return "_lock"; case "callback": return "cb"; case "readonly": return "read_only"; case "interface": return "iface"; case "internal": return "_internal"; case "where": return "wh3r3"; case "foreach": return "for_each"; case "remove": return "_remove"; default: break; } return name; } } } gtk-sharp-2.12.10/generator/IGeneratable.cs0000644000175000001440000000452211131156743015336 00000000000000// GtkSharp.Generation.IGeneratable.cs - Interface to generate code for a type. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IGeneratable { // The C name of the generatable string CName {get;} // The (short) C# name of the generatable string Name {get;} // The fully-qualified C# name of the generatable string QualifiedName {get;} // The type (possibly including "ref" or "out") to use in the import // signature when passing this generatable to unmanaged code string MarshalType {get;} // The type to use as the return type in an import signature when // receiving this generatable back from unmanaged code string MarshalReturnType {get;} // The type to use in a managed callback signature when returning this // generatable to unmanaged code string ToNativeReturnType {get;} // The value returned by callbacks that are interrupted prematurely // by managed exceptions or other conditions where an appropriate // value can't be otherwise obtained. string DefaultValue {get;} // Generates an expression to convert var_name to MarshalType string CallByName (string var_name); // Generates an expression to convert var from MarshalType string FromNative (string var); // Generates an expression to convert var from MarshalReturnType string FromNativeReturn (string var); // Generates an expression to convert var to ToNativeReturnType string ToNativeReturn (string var); bool Validate (); void Generate (); void Generate (GenerationInfo gen_info); } } gtk-sharp-2.12.10/generator/VMSignature.cs0000644000175000001440000000371311131156743015221 00000000000000// GtkSharp.Generation.VMSignature.cs - The Virtual Method Signature Generation Class. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class VMSignature { private ArrayList parms = new ArrayList (); public VMSignature (Parameters parms) { bool has_cb = parms.HideData; for (int i = 1; i < parms.Count; i++) { Parameter p = parms [i]; if (i > 1 && p.IsLength && parms [i - 1].IsString) continue; if (p.IsCount && ((i > 1 && parms [i - 1].IsArray) || (i < parms.Count - 1 && parms [i + 1].IsArray))) continue; has_cb = has_cb || p.Generatable is CallbackGen; if (p.IsUserData && has_cb) continue; if (p.CType == "GError**") continue; if (p.Scope == "notified") i += 2; this.parms.Add (p); } } public override string ToString () { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) { result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } } } gtk-sharp-2.12.10/generator/InterfaceGen.cs0000644000175000001440000002747011234362635015360 00000000000000// GtkSharp.Generation.InterfaceGen.cs - The Interface Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004, 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class InterfaceGen : ObjectBase { bool consume_only; ArrayList vms = new ArrayList (); ArrayList members = new ArrayList (); public InterfaceGen (XmlElement ns, XmlElement elem) : base (ns, elem) { consume_only = elem.HasAttribute ("consume_only"); foreach (XmlNode node in elem.ChildNodes) { switch (node.Name) { case "virtual_method": VirtualMethod vm = new VirtualMethod (node as XmlElement, this); vms.Add (vm); members.Add (vm); break; case "signal": object sig = sigs [(node as XmlElement).GetAttribute ("name")]; if (sig == null) sig = new Signal (node as XmlElement, this); members.Add (sig); break; default: if (!IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public bool IsConsumeOnly { get { return consume_only; } } public override string FromNative (string var, bool owned) { if (IsConsumeOnly) return "GLib.Object.GetObject (" + var + ", " + (owned ? "true" : "false") + ") as " + QualifiedName; else return QualifiedName + "Adapter.GetObject (" + var + ", " + (owned ? "true" : "false") + ")"; } public override bool ValidateForSubclass () { ArrayList invalids = new ArrayList (); foreach (Method method in methods.Values) { if (!method.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (method); } } foreach (Method method in invalids) methods.Remove (method.Name); invalids.Clear (); return base.ValidateForSubclass (); } string IfaceName { get { return Name + "Iface"; } } void GenerateIfaceStruct (StreamWriter sw) { sw.WriteLine ("\t\tstatic " + IfaceName + " iface;"); sw.WriteLine (); sw.WriteLine ("\t\tstruct " + IfaceName + " {"); sw.WriteLine ("\t\t\tpublic IntPtr gtype;"); sw.WriteLine ("\t\t\tpublic IntPtr itype;"); sw.WriteLine (); foreach (object member in members) { if (member is Signal) { Signal sig = member as Signal; sw.WriteLine ("\t\t\tpublic IntPtr {0};", sig.CName.Replace ("\"", "").Replace ("-", "_")); } else if (member is VirtualMethod) { VirtualMethod vm = member as VirtualMethod; bool has_target = methods [vm.Name] != null; if (!has_target) Console.WriteLine ("Interface " + QualifiedName + " virtual method " + vm.Name + " has no matching method to invoke."); string type = has_target && vm.IsValid ? vm.Name + "Delegate" : "IntPtr"; sw.WriteLine ("\t\t\tpublic " + type + " " + vm.CName + ";"); } } sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateStaticCtor (StreamWriter sw) { sw.WriteLine ("\t\tstatic " + Name + "Adapter ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.GType.Register (_gtype, typeof({0}Adapter));", Name); foreach (VirtualMethod vm in vms) { bool has_target = methods [vm.Name] != null; if (has_target && vm.IsValid) sw.WriteLine ("\t\t\tiface.{0} = new {1}Delegate ({1}Callback);", vm.CName, vm.Name); } sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateInitialize (StreamWriter sw) { sw.WriteLine ("\t\tstatic void Initialize (IntPtr ifaceptr, IntPtr data)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\t" + IfaceName + " native_iface = (" + IfaceName + ") Marshal.PtrToStructure (ifaceptr, typeof (" + IfaceName + "));"); foreach (VirtualMethod vm in vms) sw.WriteLine ("\t\t\tnative_iface." + vm.CName + " = iface." + vm.CName + ";"); sw.WriteLine ("\t\t\tMarshal.StructureToPtr (native_iface, ifaceptr, false);"); sw.WriteLine ("\t\t\tGCHandle gch = (GCHandle) data;"); sw.WriteLine ("\t\t\tgch.Free ();"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateCallbacks (StreamWriter sw) { foreach (VirtualMethod vm in vms) { if (methods [vm.Name] != null) { sw.WriteLine (); vm.GenerateCallback (sw); } } } void GenerateCtors (StreamWriter sw) { sw.WriteLine ("\t\tpublic " + Name + "Adapter ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tInitHandler = new GLib.GInterfaceInitHandler (Initialize);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t{0}Implementor implementor;", Name); sw.WriteLine (); sw.WriteLine ("\t\tpublic {0}Adapter ({0}Implementor implementor)", Name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (implementor == null)"); sw.WriteLine ("\t\t\t\tthrow new ArgumentNullException (\"implementor\");"); sw.WriteLine ("\t\t\tthis.implementor = implementor;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic " + Name + "Adapter (IntPtr handle)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tthis.handle = handle;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateGType (StreamWriter sw) { Method m = GetMethod ("GetType"); m.GenerateImport (sw); sw.WriteLine ("\t\tprivate static GLib.GType _gtype = new GLib.GType ({0} ());", m.CName); sw.WriteLine (); sw.WriteLine ("\t\tpublic override GLib.GType GType {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn _gtype;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateHandleProp (StreamWriter sw) { sw.WriteLine ("\t\tIntPtr handle;"); sw.WriteLine ("\t\tpublic override IntPtr Handle {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\tif (handle != IntPtr.Zero)"); sw.WriteLine ("\t\t\t\t\treturn handle;"); sw.WriteLine ("\t\t\t\treturn implementor == null ? IntPtr.Zero : implementor.Handle;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateGetObject (StreamWriter sw) { sw.WriteLine ("\t\tpublic static " + Name + " GetObject (IntPtr handle, bool owned)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Object obj = GLib.Object.GetObject (handle, owned);"); sw.WriteLine ("\t\t\treturn GetObject (obj);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static " + Name + " GetObject (GLib.Object obj)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (obj == null)"); sw.WriteLine ("\t\t\t\treturn null;"); sw.WriteLine ("\t\t\telse if (obj is " + Name + "Implementor)"); sw.WriteLine ("\t\t\t\treturn new {0}Adapter (obj as {0}Implementor);", Name); sw.WriteLine ("\t\t\telse if (obj as " + Name + " == null)"); sw.WriteLine ("\t\t\t\treturn new {0}Adapter (obj.Handle);", Name); sw.WriteLine ("\t\t\telse"); sw.WriteLine ("\t\t\t\treturn obj as {0};", Name); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateImplementorProp (StreamWriter sw) { sw.WriteLine ("\t\tpublic " + Name + "Implementor Implementor {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn implementor;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateAdapter (GenerationInfo gen_info) { if (IsConsumeOnly) return; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name + "Adapter"); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); sw.WriteLine ("\tpublic class " + Name + "Adapter : GLib.GInterfaceAdapter, " + QualifiedName + " {"); sw.WriteLine (); GenerateIfaceStruct (sw); GenerateStaticCtor (sw); GenerateCallbacks (sw); GenerateInitialize (sw); GenerateCtors (sw); GenerateGType (sw); GenerateHandleProp (sw); GenerateGetObject (sw); GenerateImplementorProp (sw); GenProperties (gen_info, null); foreach (Signal sig in sigs.Values) sig.GenEvent (sw, null, "GLib.Object.GetObject (Handle)"); Method temp = methods ["GetType"] as Method; if (temp != null) methods.Remove ("GetType"); GenMethods (gen_info, new Hashtable (), this); if (temp != null) methods ["GetType"] = temp; sw.WriteLine ("#endregion"); AppendCustom (sw, gen_info.CustomDir, Name + "Adapter"); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } void GenerateImplementorIface (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; if (IsConsumeOnly) return; sw.WriteLine (); sw.WriteLine ("\t[GLib.GInterface (typeof (" + Name + "Adapter))]"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " interface " + Name + "Implementor : GLib.IWrapper {"); sw.WriteLine (); Hashtable vm_table = new Hashtable (); foreach (VirtualMethod vm in vms) vm_table [vm.Name] = vm; foreach (VirtualMethod vm in vms) { if (vm_table [vm.Name] == null) continue; else if (!vm.IsValid) { vm_table.Remove (vm.Name); continue; } else if (vm.IsGetter || vm.IsSetter) { string cmp_name = (vm.IsGetter ? "Set" : "Get") + vm.Name.Substring (3); VirtualMethod cmp = vm_table [cmp_name] as VirtualMethod; if (cmp != null && (cmp.IsGetter || cmp.IsSetter)) { if (vm.IsSetter) cmp.GenerateDeclaration (sw, vm); else vm.GenerateDeclaration (sw, cmp); vm_table.Remove (cmp.Name); } else vm.GenerateDeclaration (sw, null); vm_table.Remove (vm.Name); } else { vm.GenerateDeclaration (sw, null); vm_table.Remove (vm.Name); } } AppendCustom (sw, gen_info.CustomDir, Name + "Implementor"); sw.WriteLine ("\t}"); } public override void Generate (GenerationInfo gen_info) { GenerateAdapter (gen_info); StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " interface " + Name + " : GLib.IWrapper {"); sw.WriteLine (); foreach (Signal sig in sigs.Values) { sig.GenerateDecl (sw); sig.GenEventHandler (gen_info); } foreach (Method method in methods.Values) { if (IgnoreMethod (method, this)) continue; method.GenerateDecl (sw); } foreach (Property prop in props.Values) prop.GenerateDecl (sw, "\t\t"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); GenerateImplementorIface (gen_info); sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.IFaceCount++; } } } gtk-sharp-2.12.10/generator/OpaqueGen.cs0000644000175000001440000001605511234362536014707 00000000000000// GtkSharp.Generation.OpaqueGen.cs - The Opaque Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class OpaqueGen : HandleBase { public OpaqueGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string FromNative(string var, bool owned) { return var + " == IntPtr.Zero ? null : (" + QualifiedName + ") GLib.Opaque.GetOpaque (" + var + ", typeof (" + QualifiedName + "), " + (owned ? "true" : "false") + ")"; } private bool DisableRawCtor { get { return Elem.HasAttribute ("disable_raw_ctor"); } } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); SymbolTable table = SymbolTable.Table; Method ref_, unref, dispose; GetSpecialMethods (out ref_, out unref, out dispose); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); sw.Write ("\t{0} class " + Name, IsInternal ? "internal" : "public"); string cs_parent = table.GetCSType(Elem.GetAttribute("parent")); if (cs_parent != "") sw.Write (" : " + cs_parent); else sw.Write (" : GLib.Opaque"); sw.WriteLine (" {"); sw.WriteLine (); GenFields (gen_info); GenMethods (gen_info, null, null); GenCtors (gen_info); if (ref_ != null) { ref_.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Ref (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (!Owned) {"); sw.WriteLine ("\t\t\t\t" + ref_.CName + " (raw);"); sw.WriteLine ("\t\t\t\tOwned = true;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (ref_.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now refcounted automatically\")]"); if (ref_.ReturnType == "void") sw.WriteLine ("\t\tpublic void Ref () {}"); else sw.WriteLine ("\t\tpublic " + Name + " Ref () { return this; }"); sw.WriteLine (); } } bool finalizer_needed = false; if (unref != null) { unref.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Unref (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (Owned) {"); sw.WriteLine ("\t\t\t\t" + unref.CName + " (raw);"); sw.WriteLine ("\t\t\t\tOwned = false;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (unref.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now refcounted automatically\")]"); sw.WriteLine ("\t\tpublic void Unref () {}"); sw.WriteLine (); } finalizer_needed = true; } if (dispose != null) { dispose.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Free (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\t" + dispose.CName + " (raw);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (dispose.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now freed automatically\")]"); sw.WriteLine ("\t\tpublic void " + dispose.Name + " () {}"); sw.WriteLine (); } finalizer_needed = true; } if (finalizer_needed) { sw.WriteLine ("\t\tclass FinalizerInfo {"); sw.WriteLine ("\t\t\tIntPtr handle;"); sw.WriteLine (); sw.WriteLine ("\t\t\tpublic FinalizerInfo (IntPtr handle)"); sw.WriteLine ("\t\t\t{"); sw.WriteLine ("\t\t\t\tthis.handle = handle;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t\tpublic bool Handler ()"); sw.WriteLine ("\t\t\t{"); if (dispose != null) sw.WriteLine ("\t\t\t\t{0} (handle);", dispose.CName); else if (unref != null) sw.WriteLine ("\t\t\t\t{0} (handle);", unref.CName); sw.WriteLine ("\t\t\t\treturn false;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t~{0} ()", Name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (!Owned)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine ("\t\t\tFinalizerInfo info = new FinalizerInfo (Handle);"); sw.WriteLine ("\t\t\tGLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } #if false Method copy = Methods ["Copy"] as Method; if (copy != null && copy.Parameters.Count == 0) { sw.WriteLine ("\t\tprotected override GLib.Opaque Copy (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Opaque result = new " + QualifiedName + " (" + copy.CName + " (raw));"); sw.WriteLine ("\t\t\tresult.Owned = true;"); sw.WriteLine ("\t\t\treturn result;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } #endif sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.OpaqueCount++; } void GetSpecialMethods (out Method ref_, out Method unref, out Method dispose) { ref_ = CheckSpecialMethod (GetMethod ("Ref")); unref = CheckSpecialMethod (GetMethod ("Unref")); dispose = GetMethod ("Free"); if (dispose == null) { dispose = GetMethod ("Destroy"); if (dispose == null) dispose = GetMethod ("Dispose"); } dispose = CheckSpecialMethod (dispose); } Method CheckSpecialMethod (Method method) { if (method == null) return null; if (method.ReturnType != "void" && method.ReturnType != QualifiedName) return null; if (method.Signature.ToString () != "") return null; methods.Remove (method.Name); return method; } protected override void GenCtors (GenerationInfo gen_info) { if (!DisableRawCtor) { gen_info.Writer.WriteLine("\t\tpublic " + Name + "(IntPtr raw) : base(raw) {}"); gen_info.Writer.WriteLine(); } base.GenCtors (gen_info); } } } gtk-sharp-2.12.10/generator/Signal.cs0000644000175000001440000005410111305001021014204 00000000000000// GtkSharp.Generation.Signal.cs - The Signal Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2005 Novell, Inc. // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Signal { bool marshaled; string name; XmlElement elem; ReturnValue retval; Parameters parms; ClassBase container_type; public Signal (XmlElement elem, ClassBase container_type) { this.elem = elem; name = elem.GetAttribute ("name"); marshaled = elem.GetAttribute ("manual") == "true"; retval = new ReturnValue (elem ["return-type"]); parms = new Parameters (elem["parameters"]); this.container_type = container_type; } bool Marshaled { get { return marshaled; } } public string Name { get { return name; } set { name = value; } } public bool Validate () { if (Name == "") { Console.Write ("Nameless signal "); Statistics.ThrottledCount++; return false; } if (!parms.Validate () || !retval.Validate ()) { Console.Write (" in signal " + Name + " "); Statistics.ThrottledCount++; return false; } return true; } public void GenerateDecl (StreamWriter sw) { if (elem.HasAttribute("new_flag") || (container_type != null && container_type.GetSignalRecursively (Name) != null)) sw.Write("new "); sw.WriteLine ("\t\tevent " + EventHandlerQualifiedName + " " + Name + ";"); } public string CName { get { return "\"" + elem.GetAttribute("cname") + "\""; } } string CallbackSig { get { string result = ""; for (int i = 0; i < parms.Count; i++) { if (i > 0) result += ", "; Parameter p = parms [i]; if (p.PassAs != "" && !(p.Generatable is StructBase)) result += p.PassAs + " "; result += (p.MarshalType + " arg" + i); } return result; } } string CallbackName { get { return Name + "SignalCallback"; } } string DelegateName { get { return Name + "SignalDelegate"; } } private string EventArgsName { get { if (IsEventHandler) return "EventArgs"; else return Name + "Args"; } } private string EventArgsQualifiedName { get { if (IsEventHandler) return "System.EventArgs"; else return container_type.NS + "." + Name + "Args"; } } private string EventHandlerName { get { if (IsEventHandler) return "EventHandler"; else if (SymbolTable.Table [container_type.NS + Name + "Handler"] != null) return Name + "EventHandler"; else return Name + "Handler"; } } private string EventHandlerQualifiedName { get { if (IsEventHandler) return "System.EventHandler"; else return container_type.NS + "." + EventHandlerName; } } string ClassFieldName { get { return elem.HasAttribute ("field_name") ? elem.GetAttribute("field_name") : String.Empty; } } private bool HasOutParams { get { foreach (Parameter p in parms) { if (p.PassAs == "out") return true; } return false; } } private bool IsEventHandler { get { return retval.CSType == "void" && parms.Count == 1 && (parms [0].Generatable is ObjectGen || parms [0].Generatable is InterfaceGen); } } private bool IsVoid { get { return retval.CSType == "void"; } } private string ReturnGType { get { IGeneratable igen = SymbolTable.Table [retval.CType]; if (igen is ObjectGen) return "GLib.GType.Object"; if (igen is BoxedGen) return retval.CSType + ".GType"; if (igen is EnumGen) return retval.CSType + "GType.GType"; switch (retval.CSType) { case "bool": return "GLib.GType.Boolean"; case "string": return "GLib.GType.String"; case "int": return "GLib.GType.Int"; default: throw new Exception (retval.CSType); } } } public string GenArgsInitialization (StreamWriter sw) { if (parms.Count > 1) sw.WriteLine("\t\t\t\targs.Args = new object[" + (parms.Count - 1) + "];"); string finish = ""; for (int idx = 1; idx < parms.Count; idx++) { Parameter p = parms [idx]; IGeneratable igen = p.Generatable; if (p.PassAs != "out") { if (igen is ManualGen) { sw.WriteLine("\t\t\t\tif (arg{0} == IntPtr.Zero)", idx); sw.WriteLine("\t\t\t\t\targs.Args[{0}] = null;", idx - 1); sw.WriteLine("\t\t\t\telse {"); sw.WriteLine("\t\t\t\t\targs.Args[" + (idx - 1) + "] = " + p.FromNative ("arg" + idx) + ";"); sw.WriteLine("\t\t\t\t}"); } else sw.WriteLine("\t\t\t\targs.Args[" + (idx - 1) + "] = " + p.FromNative ("arg" + idx) + ";"); } if (igen is StructBase && p.PassAs == "ref") finish += "\t\t\t\tif (arg" + idx + " != IntPtr.Zero) System.Runtime.InteropServices.Marshal.StructureToPtr (args.Args[" + (idx-1) + "], arg" + idx + ", false);\n"; else if (p.PassAs != "") finish += "\t\t\t\targ" + idx + " = " + igen.ToNativeReturn ("((" + p.CSType + ")args.Args[" + (idx - 1) + "])") + ";\n"; } return finish; } public void GenArgsCleanup (StreamWriter sw, string finish) { if (IsVoid && finish.Length == 0) return; sw.WriteLine("\n\t\t\ttry {"); sw.Write (finish); if (!IsVoid) { if (retval.CSType == "bool") { sw.WriteLine ("\t\t\t\tif (args.RetVal == null)"); sw.WriteLine ("\t\t\t\t\treturn false;"); } sw.WriteLine("\t\t\t\treturn " + SymbolTable.Table.ToNativeReturn (retval.CType, "((" + retval.CSType + ")args.RetVal)") + ";"); } sw.WriteLine("\t\t\t} catch (Exception) {"); sw.WriteLine ("\t\t\t\tException ex = new Exception (\"args.RetVal or 'out' property unset or set to incorrect type in " + EventHandlerQualifiedName + " callback\");"); sw.WriteLine("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (ex, true);"); sw.WriteLine ("\t\t\t\t// NOTREACHED: above call doesn't return."); sw.WriteLine ("\t\t\t\tthrow ex;"); sw.WriteLine("\t\t\t}"); } public void GenCallback (StreamWriter sw) { if (IsEventHandler) return; sw.WriteLine ("\t\t[GLib.CDeclCallback]"); sw.WriteLine ("\t\tdelegate " + retval.ToNativeType + " " + DelegateName + " (" + CallbackSig + ", IntPtr gch);"); sw.WriteLine (); sw.WriteLine ("\t\tstatic " + retval.ToNativeType + " " + CallbackName + " (" + CallbackSig + ", IntPtr gch)"); sw.WriteLine("\t\t{"); sw.WriteLine("\t\t\t{0} args = new {0} ();", EventArgsQualifiedName); sw.WriteLine("\t\t\ttry {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal;"); sw.WriteLine("\t\t\t\tif (sig == null)"); sw.WriteLine("\t\t\t\t\tthrow new Exception(\"Unknown signal GC handle received \" + gch);"); sw.WriteLine(); string finish = GenArgsInitialization (sw); sw.WriteLine("\t\t\t\t{0} handler = ({0}) sig.Handler;", EventHandlerQualifiedName); sw.WriteLine("\t\t\t\thandler (GLib.Object.GetObject (arg0), args);"); sw.WriteLine("\t\t\t} catch (Exception e) {"); sw.WriteLine("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, false);"); sw.WriteLine("\t\t\t}"); GenArgsCleanup (sw, finish); sw.WriteLine("\t\t}"); sw.WriteLine(); } private bool NeedNew (ClassBase implementor) { return elem.HasAttribute ("new_flag") || (container_type != null && container_type.GetSignalRecursively (Name) != null) || (implementor != null && implementor.GetSignalRecursively (Name) != null); } public void GenEventHandler (GenerationInfo gen_info) { if (IsEventHandler) return; string ns = container_type.NS; StreamWriter sw = gen_info.OpenStream (EventHandlerName); sw.WriteLine ("namespace " + ns + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("\tpublic delegate void " + EventHandlerName + "(object o, " + EventArgsName + " args);"); sw.WriteLine (); sw.WriteLine ("\tpublic class " + EventArgsName + " : GLib.SignalArgs {"); for (int i = 1; i < parms.Count; i++) { sw.WriteLine ("\t\tpublic " + parms[i].CSType + " " + parms[i].StudlyName + "{"); if (parms[i].PassAs != "out") { sw.WriteLine ("\t\t\tget {"); if (SymbolTable.Table.IsInterface (parms [i].CType)) sw.WriteLine ("\t\t\t\treturn {0}Adapter.GetObject (Args [{1}] as GLib.Object);", parms [i].CSType, i - 1); else sw.WriteLine ("\t\t\t\treturn ({0}) Args [{1}];", parms [i].CSType, i - 1); sw.WriteLine ("\t\t\t}"); } if (parms[i].PassAs != "") { sw.WriteLine ("\t\t\tset {"); if (SymbolTable.Table.IsInterface (parms [i].CType)) sw.WriteLine ("\t\t\t\tArgs [{0}] = value is {1}Adapter ? (value as {1}Adapter).Implementor : value;", i - 1, parms [i].CSType); else sw.WriteLine ("\t\t\t\tArgs[" + (i - 1) + "] = (" + parms[i].CSType + ")value;"); sw.WriteLine ("\t\t\t}"); } sw.WriteLine ("\t\t}"); sw.WriteLine (); } sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); } private void GenVMDeclaration (StreamWriter sw, ClassBase implementor) { VMSignature vmsig = new VMSignature (parms); sw.WriteLine ("\t\t[GLib.DefaultSignalHandler(Type=typeof(" + (implementor != null ? implementor.QualifiedName : container_type.QualifiedName) + "), ConnectionMethod=\"Override" + Name +"\")]"); sw.Write ("\t\tprotected "); if (NeedNew (implementor)) sw.Write ("new "); sw.WriteLine ("virtual {0} {1} ({2})", retval.CSType, "On" + Name, vmsig.ToString ()); } private string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } private string GlueCallString { get { string result = "Handle"; for (int i = 1; i < parms.Count; i++) { Parameter p = parms [i]; IGeneratable igen = p.Generatable; if (i > 1 && parms [i - 1].IsString && p.IsLength && p.PassAs == String.Empty) { string string_name = parms [i - 1].Name; result += ", " + igen.CallByName (CastFromInt (p.CSType) + "System.Text.Encoding.UTF8.GetByteCount (" + string_name + ")"); continue; } p.CallName = p.Name; string call_parm = p.CallString; if (p.IsUserData && parms.IsHidden (p) && !parms.HideData && (i == 1 || parms [i - 1].Scope != "notified")) { call_parm = "IntPtr.Zero"; } result += ", " + call_parm; } return result; } } private string GlueSignature { get { string result = String.Empty; for (int i = 0; i < parms.Count; i++) result += parms[i].CType.Replace ("const-", "const ") + " " + parms[i].Name + (i == parms.Count-1 ? "" : ", "); return result; } } private string DefaultGlueValue { get { string val = retval.DefaultValue; switch (val) { case "null": return "NULL"; case "false": return "FALSE"; case "true": return "TRUE"; default: return val; } } } private void GenGlueVirtualMethod (GenerationInfo gen_info) { StreamWriter glue = gen_info.GlueWriter; string glue_name = String.Format ("{0}sharp_{1}_base_{2}", container_type.NS.ToLower ().Replace (".", "_"), container_type.Name.ToLower (), ClassFieldName); glue.WriteLine ("{0} {1} ({2});\n", retval.CType, glue_name, GlueSignature); glue.WriteLine ("{0}\n{1} ({2})", retval.CType, glue_name, GlueSignature); glue.WriteLine ("{"); glue.WriteLine ("\t{0}Class *klass = ({0}Class *) get_threshold_class (G_OBJECT ({1}));", container_type.CName, parms[0].Name); glue.Write ("\tif (klass->{0})\n\t\t", ClassFieldName); if (!IsVoid) glue.Write ("return "); glue.Write ("(* klass->{0}) (", ClassFieldName); for (int i = 0; i < parms.Count; i++) glue.Write (parms[i].Name + (i == parms.Count - 1 ? "" : ", ")); glue.WriteLine (");"); if (!IsVoid) glue.WriteLine ("\treturn " + DefaultGlueValue + ";"); glue.WriteLine ("}"); StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\t[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine ("\t\tstatic extern {0} {1} ({2});\n", retval.MarshalType, glue_name, parms.ImportSignature); GenVMDeclaration (sw, null); sw.WriteLine ("\t\t{"); MethodBody body = new MethodBody (parms); body.Initialize (gen_info, false, false, String.Empty); sw.WriteLine ("\t\t\t{0}{1} ({2});", IsVoid ? "" : retval.MarshalType + " __ret = ", glue_name, GlueCallString); body.Finish (sw, ""); if (!IsVoid) sw.WriteLine ("\t\t\treturn {0};", retval.FromNative ("__ret")); sw.WriteLine ("\t\t}\n"); } private void GenChainVirtualMethod (StreamWriter sw, ClassBase implementor) { GenVMDeclaration (sw, implementor); sw.WriteLine ("\t\t{"); if (IsVoid) sw.WriteLine ("\t\t\tGLib.Value ret = GLib.Value.Empty;"); else sw.WriteLine ("\t\t\tGLib.Value ret = new GLib.Value (" + ReturnGType + ");"); sw.WriteLine ("\t\t\tGLib.ValueArray inst_and_params = new GLib.ValueArray (" + parms.Count + ");"); sw.WriteLine ("\t\t\tGLib.Value[] vals = new GLib.Value [" + parms.Count + "];"); sw.WriteLine ("\t\t\tvals [0] = new GLib.Value (this);"); sw.WriteLine ("\t\t\tinst_and_params.Append (vals [0]);"); string cleanup = ""; for (int i = 1; i < parms.Count; i++) { Parameter p = parms [i]; if (p.PassAs != "") { if (SymbolTable.Table.IsBoxed (p.CType)) { if (p.PassAs == "ref") sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value (" + p.Name + ");"); else sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value ((GLib.GType)typeof (" + p.CSType + "));"); cleanup += "\t\t\t" + p.Name + " = (" + p.CSType + ") vals [" + i + "];\n"; } else { if (p.PassAs == "ref") sw.WriteLine ("\t\t\tIntPtr " + p.Name + "_ptr = GLib.Marshaller.StructureToPtrAlloc (" + p.Generatable.CallByName (p.Name) + ");"); else sw.WriteLine ("\t\t\tIntPtr " + p.Name + "_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + p.MarshalType + ")));"); sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value (" + p.Name + "_ptr);"); cleanup += "\t\t\t" + p.Name + " = " + p.FromNative ("(" + p.MarshalType + ") Marshal.PtrToStructure (" + p.Name + "_ptr, typeof (" + p.MarshalType + "))") + ";\n"; cleanup += "\t\t\tMarshal.FreeHGlobal (" + p.Name + "_ptr);\n"; } } else if (p.IsLength && parms [i - 1].IsString) sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value (System.Text.Encoding.UTF8.GetByteCount (" + parms [i-1].Name + "));"); else sw.WriteLine ("\t\t\tvals [" + i + "] = new GLib.Value (" + p.Name + ");"); sw.WriteLine ("\t\t\tinst_and_params.Append (vals [" + i + "]);"); } sw.WriteLine ("\t\t\tg_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);"); if (cleanup != "") sw.WriteLine (cleanup); sw.WriteLine ("\t\t\tforeach (GLib.Value v in vals)"); sw.WriteLine ("\t\t\t\tv.Dispose ();"); if (!IsVoid) { IGeneratable igen = SymbolTable.Table [retval.CType]; sw.WriteLine ("\t\t\t" + retval.CSType + " result = (" + (igen is EnumGen ? retval.CSType + ") (Enum" : retval.CSType) + ") ret;"); sw.WriteLine ("\t\t\tret.Dispose ();"); sw.WriteLine ("\t\t\treturn result;"); } sw.WriteLine ("\t\t}\n"); } private void GenDefaultHandlerDelegate (GenerationInfo gen_info, ClassBase implementor) { StreamWriter sw = gen_info.Writer; StreamWriter glue; bool use_glue = gen_info.GlueEnabled && implementor == null && ClassFieldName.Length > 0; string glue_name = String.Empty; ManagedCallString call = new ManagedCallString (parms, true); sw.WriteLine ("\t\t[GLib.CDeclCallback]"); sw.WriteLine ("\t\tdelegate " + retval.ToNativeType + " " + Name + "VMDelegate (" + parms.ImportSignature + ");\n"); if (use_glue) { glue = gen_info.GlueWriter; glue_name = String.Format ("{0}sharp_{1}_override_{2}", container_type.NS.ToLower ().Replace (".", "_"), container_type.Name.ToLower (), ClassFieldName); sw.WriteLine ("\t\t[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine ("\t\tstatic extern void {0} (IntPtr gtype, {1}VMDelegate cb);\n", glue_name, Name); glue.WriteLine ("void {0} (GType gtype, gpointer cb);\n", glue_name); glue.WriteLine ("void\n{0} (GType gtype, gpointer cb)", glue_name); glue.WriteLine ("{"); glue.WriteLine ("\tGObjectClass *klass = g_type_class_peek (gtype);"); glue.WriteLine ("\tif (klass == NULL)"); glue.WriteLine ("\t\tklass = g_type_class_ref (gtype);"); glue.WriteLine ("\t(({0} *)klass)->{1} = cb;", container_type.CName + "Class", ClassFieldName); glue.WriteLine ("}\n"); } sw.WriteLine ("\t\tstatic {0} {1};\n", Name + "VMDelegate", Name + "VMCallback"); sw.WriteLine ("\t\tstatic " + retval.ToNativeType + " " + Name.ToLower() + "_cb (" + parms.ImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); sw.WriteLine ("\t\t\ttry {"); sw.WriteLine ("\t\t\t\t{0} {1}_managed = GLib.Object.GetObject ({1}, false) as {0};", implementor != null ? implementor.Name : container_type.Name, parms[0].Name); sw.Write (call.Setup ("\t\t\t\t")); sw.Write ("\t\t\t\t{0}", IsVoid ? "" : retval.CSType == retval.ToNativeType ? "return " : retval.CSType + " raw_ret = "); sw.WriteLine ("{2}_managed.{0} ({1});", "On" + Name, call.ToString (), parms[0].Name); sw.Write (call.Finish ("\t\t\t\t")); if (!IsVoid && retval.CSType != retval.ToNativeType) sw.WriteLine ("\t\t\t\treturn {0};", SymbolTable.Table.ToNativeReturn (retval.CType, "raw_ret")); sw.WriteLine ("\t\t\t} catch (Exception e) {"); bool fatal = HasOutParams || !IsVoid; sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");"); if (fatal) { sw.WriteLine ("\t\t\t\t// NOTREACHED: above call doesn't return"); sw.WriteLine ("\t\t\t\tthrow e;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}\n"); sw.WriteLine ("\t\tprivate static void Override" + Name + " (GLib.GType gtype)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (" + Name + "VMCallback == null)"); sw.WriteLine ("\t\t\t\t" + Name + "VMCallback = new " + Name + "VMDelegate (" + Name.ToLower() + "_cb);"); if (use_glue) sw.WriteLine ("\t\t\t{0} (gtype.Val, {1}VMCallback);", glue_name, Name); else sw.WriteLine ("\t\t\tOverrideVirtualMethod (gtype, " + CName + ", " + Name + "VMCallback);"); sw.WriteLine ("\t\t}\n"); } public void GenEvent (StreamWriter sw, ClassBase implementor, string target) { string args_type = IsEventHandler ? "" : ", typeof (" + EventArgsQualifiedName + ")"; if (Marshaled) { GenCallback (sw); args_type = ", new " + DelegateName + "(" + CallbackName + ")"; } sw.WriteLine("\t\t[GLib.Signal("+ CName + ")]"); sw.Write("\t\tpublic "); if (NeedNew (implementor)) sw.Write("new "); sw.WriteLine("event " + EventHandlerQualifiedName + " " + Name + " {"); sw.WriteLine("\t\t\tadd {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = GLib.Signal.Lookup (" + target + ", " + CName + args_type + ");"); sw.WriteLine("\t\t\t\tsig.AddDelegate (value);"); sw.WriteLine("\t\t\t}"); sw.WriteLine("\t\t\tremove {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = GLib.Signal.Lookup (" + target + ", " + CName + args_type + ");"); sw.WriteLine("\t\t\t\tsig.RemoveDelegate (value);"); sw.WriteLine("\t\t\t}"); sw.WriteLine("\t\t}"); sw.WriteLine(); } public void Generate (GenerationInfo gen_info, ClassBase implementor) { StreamWriter sw = gen_info.Writer; if (implementor == null) GenEventHandler (gen_info); GenDefaultHandlerDelegate (gen_info, implementor); if (gen_info.GlueEnabled && implementor == null && ClassFieldName.Length > 0) GenGlueVirtualMethod (gen_info); else GenChainVirtualMethod (sw, implementor); GenEvent (sw, implementor, "this"); Statistics.SignalCount++; } } } gtk-sharp-2.12.10/generator/SimpleGen.cs0000644000175000001440000000203311131156743014672 00000000000000// GtkSharp.Generation.SimpleGen.cs - The Simple type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class SimpleGen : SimpleBase { public SimpleGen (string ctype, string type, string default_value) : base (ctype, type, default_value) {} } } gtk-sharp-2.12.10/generator/ManagedCallString.cs0000644000175000001440000001033011131156743016325 00000000000000// GtkSharp.Generation.ManagedCallString.cs - The ManagedCallString Class. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; public class ManagedCallString { ArrayList parms = new ArrayList (); ArrayList special = new ArrayList (); string error_param = null; string user_data_param = null; string destroy_param = null; public ManagedCallString (Parameters parms, bool drop_first) { for (int i = drop_first ? 1 : 0; i < parms.Count; i ++) { Parameter p = parms [i]; if (p.IsLength && i > 0 && parms [i-1].IsString) continue; else if (p.Scope == "notified") { user_data_param = parms[i+1].Name; destroy_param = parms[i+2].Name; i += 2; } else if (p.IsUserData && parms.IsHidden (p)) { user_data_param = p.Name; continue; } else if (p is ErrorParameter) { error_param = p.Name; continue; } this.parms.Add (p); if (p.PassAs != String.Empty && (p.Name != p.FromNative (p.Name))) this.special.Add (true); else if (p.Generatable is CallbackGen) this.special.Add (true); else this.special.Add (false); } } public bool HasOutParam { get { foreach (Parameter p in parms) { if (p.PassAs == "out") return true; } return false; } } public string Unconditional (string indent) { string ret = ""; if (error_param != null) ret = indent + error_param + " = IntPtr.Zero;\n"; return ret; } public string Setup (string indent) { string ret = ""; for (int i = 0; i < parms.Count; i ++) { if ((bool)special[i] == false) continue; Parameter p = parms [i] as Parameter; IGeneratable igen = p.Generatable; if (igen is CallbackGen) { if (user_data_param == null) ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1});\n", (igen as CallbackGen).InvokerName, p.Name); else if (destroy_param == null) ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1}, {2});\n", (igen as CallbackGen).InvokerName, p.Name, user_data_param); else ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1}, {2}, {3});\n", (igen as CallbackGen).InvokerName, p.Name, user_data_param, destroy_param); } else { ret += indent + igen.QualifiedName + " my" + p.Name; if (p.PassAs == "ref") ret += " = " + p.FromNative (p.Name); ret += ";\n"; } } return ret; } public override string ToString () { if (parms.Count < 1) return ""; string[] result = new string [parms.Count]; for (int i = 0; i < parms.Count; i ++) { Parameter p = parms [i] as Parameter; result [i] = p.PassAs == "" ? "" : p.PassAs + " "; if (p.Generatable is CallbackGen) result [i] += p.Name + "_invoker.Handler"; else result [i] += ((bool)special[i]) ? "my" + p.Name : p.FromNative (p.Name); } return String.Join (", ", result); } public string Finish (string indent) { string ret = ""; for (int i = 0; i < parms.Count; i ++) { if ((bool)special[i] == false) continue; Parameter p = parms [i] as Parameter; IGeneratable igen = p.Generatable; if (igen is CallbackGen) continue; else if (igen is StructBase || igen is ByRefGen) ret += indent + String.Format ("if ({0} != IntPtr.Zero) System.Runtime.InteropServices.Marshal.StructureToPtr (my{0}, {0}, false);\n", p.Name); else ret += indent + p.Name + " = " + igen.ToNativeReturn ("my" + p.Name) + ";\n"; } return ret; } } } gtk-sharp-2.12.10/generator/LPUGen.cs0000644000175000001440000000323611234362536014112 00000000000000// GtkSharp.Generation.LPUGen.cs - unsugned long/pointer generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; public class LPUGen : SimpleGen, IAccessor { public LPUGen (string ctype) : base (ctype, "ulong", "0") {} public override string MarshalType { get { return "UIntPtr"; } } public override string CallByName (string var_name) { return "new UIntPtr (" + var_name + ")"; } public override string FromNative(string var) { return "(ulong) " + var; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } gtk-sharp-2.12.10/generator/ObjectBase.cs0000644000175000001440000000221511234362536015015 00000000000000// ObjectBase.cs - Base class for Object types // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public abstract class ObjectBase : HandleBase { protected ObjectBase (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string FromNative (string var, bool owned) { return "GLib.Object.GetObject(" + var + (owned ? ", true" : "") + ") as " + QualifiedName; } } } gtk-sharp-2.12.10/generator/SimpleBase.cs0000644000175000001440000000477311234362536015053 00000000000000// GtkSharp.Generation.SimpleBase.cs - base class for marshaling non-generated types. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public abstract class SimpleBase : IGeneratable { string type; string ctype; string ns = String.Empty; string default_value = String.Empty; public SimpleBase (string ctype, string type, string default_value) { string[] toks = type.Split('.'); this.ctype = ctype; this.type = toks[toks.Length - 1]; if (toks.Length > 2) this.ns = String.Join (".", toks, 0, toks.Length - 1); else if (toks.Length == 2) this.ns = toks[0]; this.default_value = default_value; } public string CName { get { return ctype; } } public string Name { get { return type; } } public string QualifiedName { get { return ns == String.Empty ? type : ns + "." + type; } } public virtual string MarshalType { get { return QualifiedName; } } public virtual string MarshalReturnType { get { return MarshalType; } } public virtual string DefaultValue { get { return default_value; } } public virtual string ToNativeReturnType { get { return MarshalType; } } public virtual string CallByName (string var) { return var; } public virtual string FromNative(string var) { return var; } public virtual string FromNativeReturn(string var) { return FromNative (var); } public virtual string ToNativeReturn(string var) { return CallByName (var); } public bool Validate () { return true; } public void Generate () { } public void Generate (GenerationInfo gen_info) { } } } gtk-sharp-2.12.10/generator/HandleBase.cs0000644000175000001440000000407311131156743015003 00000000000000// HandleBase.cs - Base class for Handle types // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public abstract class HandleBase : ClassBase, IAccessor { protected HandleBase (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string AssignToName { get { return "Raw"; } } public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string name) { return name + " == null ? IntPtr.Zero : " + name + ".Handle"; } public override string CallByName () { return "Handle"; } public abstract string FromNative (string var, bool owned); public override string FromNative (string var) { return FromNative (var, false); } public string FromNativeReturn (string var, bool owned) { return FromNative (var, owned); } public override string FromNativeReturn (string var) { return FromNativeReturn (var, false); } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var, false) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } gtk-sharp-2.12.10/generator/Parameters.cs0000644000175000001440000004127211234362536015125 00000000000000// GtkSharp.Generation.Parameters.cs - The Parameters Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Parameter { private XmlElement elem; public Parameter (XmlElement e) { elem = e; } string call_name; public string CallName { get { if (call_name == null) return Name; else return call_name; } set { call_name = value; } } public string CType { get { string type = elem.GetAttribute("type"); if (type == "void*") type = "gpointer"; return type; } } public string CSType { get { string cstype = SymbolTable.Table.GetCSType( elem.GetAttribute("type")); if (cstype == "void") cstype = "System.IntPtr"; if (IsArray) { if (IsParams) cstype = "params " + cstype; cstype += "[]"; cstype = cstype.Replace ("ref ", ""); } return cstype; } } public IGeneratable Generatable { get { return SymbolTable.Table[CType]; } } public bool IsArray { get { return elem.HasAttribute("array") || elem.HasAttribute("null_term_array"); } } public bool IsEllipsis { get { return elem.HasAttribute("ellipsis"); } } public bool IsCount { get { if (Name.StartsWith("n_")) switch (CSType) { case "int": case "uint": case "long": case "ulong": case "short": case "ushort": return true; default: return false; } else return false; } } public bool IsDestroyNotify { get { return CType == "GDestroyNotify"; } } public bool IsLength { get { if (Name.EndsWith("len") || Name.EndsWith("length")) switch (CSType) { case "int": case "uint": case "long": case "ulong": case "short": case "ushort": return true; default: return false; } else return false; } } public bool IsParams { get { return elem.HasAttribute("params"); } } public bool IsString { get { return (CSType == "string"); } } public bool IsUserData { get { return CSType == "IntPtr" && (Name.EndsWith ("data") || Name.EndsWith ("data_or_owner")); } } public virtual string MarshalType { get { string type = SymbolTable.Table.GetMarshalType( elem.GetAttribute("type")); if (type == "void" || Generatable is IManualMarshaler) type = "IntPtr"; if (IsArray) { type += "[]"; type = type.Replace ("ref ", ""); } return type; } } public string Name { get { return SymbolTable.Table.MangleName (elem.GetAttribute("name")); } } public bool Owned { get { return elem.GetAttribute ("owned") == "true"; } } public virtual string NativeSignature { get { string sig = MarshalType + " " + Name; if (PassAs != String.Empty) sig = PassAs + " " + sig; return sig; } } public string PropertyName { get { return elem.GetAttribute("property_name"); } } string pass_as; public string PassAs { get { if (pass_as != null) return pass_as; if (elem.HasAttribute ("pass_as")) return elem.GetAttribute ("pass_as"); if (IsArray || CSType.EndsWith ("IntPtr")) return ""; if (CType.EndsWith ("*") && (Generatable is SimpleGen || Generatable is EnumGen)) return "out"; return ""; } set { pass_as = value; } } string scope; public string Scope { get { if (scope == null) scope = elem.GetAttribute ("scope"); return scope; } set { scope = value; } } public virtual string[] Prepare { get { IGeneratable gen = Generatable; if (gen is IManualMarshaler) { string result = "IntPtr native_" + CallName; if (PassAs != "out") result += " = " + (gen as IManualMarshaler).AllocNative (CallName); return new string [] { result + ";" }; } else if (PassAs == "out" && CSType != MarshalType) return new string [] { gen.MarshalType + " native_" + CallName + ";" }; return new string [0]; } } public virtual string CallString { get { string call_parm; IGeneratable gen = Generatable; if (gen is CallbackGen) return SymbolTable.Table.CallByName (CType, CallName + "_wrapper"); else if (PassAs != String.Empty) { call_parm = PassAs + " "; if (CSType != MarshalType) call_parm += "native_"; call_parm += CallName; } else if (gen is IManualMarshaler) call_parm = "native_" + CallName; else call_parm = SymbolTable.Table.CallByName(CType, CallName); return call_parm; } } public virtual string[] Finish { get { IGeneratable gen = Generatable; if (gen is IManualMarshaler) { string[] result = new string [PassAs == "ref" ? 2 : 1]; int i = 0; if (PassAs != String.Empty) result [i++] = CallName + " = " + Generatable.FromNative ("native_" + CallName) + ";"; if (PassAs != "out") result [i] = (gen as IManualMarshaler).ReleaseNative ("native_" + CallName) + ";"; return result; } else if (PassAs != String.Empty && MarshalType != CSType) return new string [] { CallName + " = " + gen.FromNative ("native_" + CallName) + ";" }; return new string [0]; } } public string FromNative (string var) { if (Generatable == null) return String.Empty; else if (Generatable is HandleBase) return ((HandleBase)Generatable).FromNative (var, Owned); else return Generatable.FromNative (var); } public string StudlyName { get { string name = elem.GetAttribute("name"); string[] segs = name.Split('_'); string studly = ""; foreach (string s in segs) { if (s.Trim () == "") continue; studly += (s.Substring(0,1).ToUpper() + s.Substring(1)); } return studly; } } } public class ArrayParameter : Parameter { bool null_terminated; public ArrayParameter (XmlElement elem) : base (elem) { null_terminated = elem.HasAttribute ("null_term_array"); } public override string MarshalType { get { if (Generatable is StructBase) return CSType; else return base.MarshalType; } } bool NullTerminated { get { return null_terminated; } } public override string[] Prepare { get { if (CSType == MarshalType) return new string [0]; ArrayList result = new ArrayList (); result.Add (String.Format ("int cnt_{0} = {0} == null ? 0 : {0}.Length;", CallName)); result.Add (String.Format ("{0}[] native_{1} = new {0} [cnt_{1}" + (NullTerminated ? " + 1" : "") + "];", MarshalType.TrimEnd('[', ']'), CallName)); result.Add (String.Format ("for (int i = 0; i < cnt_{0}; i++)", CallName)); IGeneratable gen = Generatable; if (gen is IManualMarshaler) result.Add (String.Format ("\tnative_{0} [i] = {1};", CallName, (gen as IManualMarshaler).AllocNative (CallName + "[i]"))); else result.Add (String.Format ("\tnative_{0} [i] = {1};", CallName, gen.CallByName (CallName + "[i]"))); if (NullTerminated) result.Add (String.Format ("native_{0} [cnt_{0}] = IntPtr.Zero;", CallName)); return (string[]) result.ToArray (typeof (string)); } } public override string CallString { get { if (CSType != MarshalType) return "native_" + CallName; else return CallName; } } public override string[] Finish { get { if (CSType == MarshalType) return new string [0]; IGeneratable gen = Generatable; if (gen is IManualMarshaler) { string [] result = new string [4]; result [0] = "for (int i = 0; i < native_" + CallName + ".Length" + (NullTerminated ? " - 1" : "") + "; i++) {"; result [1] = "\t" + CallName + " [i] = " + Generatable.FromNative ("native_" + CallName + "[i]") + ";"; result [2] = "\t" + (gen as IManualMarshaler).ReleaseNative ("native_" + CallName + "[i]") + ";"; result [3] = "}"; return result; } return new string [0]; } } } public class ArrayCountPair : ArrayParameter { XmlElement count_elem; bool invert; public ArrayCountPair (XmlElement array_elem, XmlElement count_elem, bool invert) : base (array_elem) { this.count_elem = count_elem; this.invert = invert; } string CountNativeType { get { return SymbolTable.Table.GetMarshalType(count_elem.GetAttribute("type")); } } string CountType { get { return SymbolTable.Table.GetCSType(count_elem.GetAttribute("type")); } } string CountCast { get { if (CountType == "int") return String.Empty; else return "(" + CountType + ") "; } } string CountName { get { return SymbolTable.Table.MangleName (count_elem.GetAttribute("name")); } } string CallCount (string name) { string result = CountCast + "(" + name + " == null ? 0 : " + name + ".Length)"; IGeneratable gen = SymbolTable.Table[count_elem.GetAttribute("type")]; return gen.CallByName (result); } public override string CallString { get { if (invert) return CallCount (CallName) + ", " + base.CallString; else return base.CallString + ", " + CallCount (CallName); } } public override string NativeSignature { get { if (invert) return CountNativeType + " " + CountName + ", " + MarshalType + " " + Name; else return MarshalType + " " + Name + ", " + CountNativeType + " " + CountName; } } } public class ErrorParameter : Parameter { public ErrorParameter (XmlElement elem) : base (elem) { PassAs = "out"; } public override string CallString { get { return "out error"; } } } public class StructParameter : Parameter { public StructParameter (XmlElement elem) : base (elem) {} public override string MarshalType { get { return "IntPtr"; } } public override string[] Prepare { get { if (PassAs == "out") return new string [] { "IntPtr native_" + CallName + " = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + Generatable.QualifiedName + ")));"}; else return new string [] { "IntPtr native_" + CallName + " = " + (Generatable as IManualMarshaler).AllocNative (CallName) + ";"}; } } public override string CallString { get { return "native_" + CallName; } } public override string[] Finish { get { string[] result = new string [2]; result [0] = CallName + " = " + FromNative ("native_" + CallName) + ";"; result [1] = (Generatable as IManualMarshaler).ReleaseNative ("native_" + CallName) + ";"; return result; } } public override string NativeSignature { get { return "IntPtr " + CallName; } } } public class Parameters : IEnumerable { ArrayList param_list = new ArrayList (); XmlElement elem; public Parameters (XmlElement elem) { if (elem == null) valid = true; this.elem = elem; } public int Count { get { return param_list.Count; } } public int VisibleCount { get { int visible = 0; foreach (Parameter p in this) { if (!IsHidden (p)) visible++; } return visible; } } public Parameter this [int idx] { get { return param_list [idx] as Parameter; } } public bool IsHidden (Parameter p) { int idx = param_list.IndexOf (p); if (idx > 0 && p.IsLength && p.PassAs == String.Empty && this [idx - 1].IsString) return true; if (p.IsCount && ((idx > 0 && this [idx - 1].IsArray) || (idx < Count - 1 && this [idx + 1].IsArray))) return true; if (p.CType == "GError**") return true; if (HasCB || HideData) { if (p.IsUserData && (idx == Count - 1)) return true; if (p.IsUserData && (idx == Count - 2) && this [Count - 1] is ErrorParameter) return true; if (p.IsUserData && idx > 0 && this [idx - 1].Generatable is CallbackGen) return true; if (p.IsDestroyNotify && (idx == Count - 1) && this [idx - 1].IsUserData) return true; } return false; } bool has_cb; public bool HasCB { get { return has_cb; } set { has_cb = value; } } public bool HasOutParam { get { foreach (Parameter p in this) if (p.PassAs == "out") return true; return false; } } bool hide_data; public bool HideData { get { return hide_data; } set { hide_data = value; } } bool is_static; public bool Static { get { return is_static; } set { is_static = value; } } void Clear () { elem = null; param_list.Clear (); param_list = null; } public IEnumerator GetEnumerator () { return param_list.GetEnumerator (); } bool valid = false; public bool Validate () { if (valid) return true; if (elem == null) return false; for (int i = 0; i < elem.ChildNodes.Count; i++) { XmlElement parm = elem.ChildNodes [i] as XmlElement; if (parm == null || parm.Name != "parameter") continue; Parameter p = new Parameter (parm); if (p.IsEllipsis) { Console.Write("Ellipsis parameter "); Clear (); return false; } if ((p.CSType == "") || (p.Name == "") || (p.MarshalType == "") || (SymbolTable.Table.CallByName(p.CType, p.Name) == "")) { Console.Write("Name: " + p.Name + " Type: " + p.CType + " "); Clear (); return false; } IGeneratable gen = p.Generatable; if (p.IsArray) { p = new ArrayParameter (parm); if (i < elem.ChildNodes.Count - 1) { XmlElement next = elem.ChildNodes [i + 1] as XmlElement; if (next != null || next.Name == "parameter") { Parameter c = new Parameter (next); if (c.IsCount) { p = new ArrayCountPair (parm, next, false); i++; } } } } else if (p.IsCount && i < elem.ChildNodes.Count - 1) { XmlElement next = elem.ChildNodes [i + 1] as XmlElement; if (next != null || next.Name == "parameter") { Parameter a = new Parameter (next); if (a.IsArray) { p = new ArrayCountPair (next, parm, true); i++; } } } else if (p.CType == "GError**") p = new ErrorParameter (parm); else if (gen is StructBase || gen is ByRefGen) { p = new StructParameter (parm); } else if (gen is CallbackGen) { has_cb = true; } param_list.Add (p); } if (has_cb && Count > 2 && this [Count - 3].Generatable is CallbackGen && this [Count - 2].IsUserData && this [Count - 1].IsDestroyNotify) this [Count - 3].Scope = "notified"; valid = true; return true; } public bool IsAccessor { get { return VisibleCount == 1 && AccessorParam.PassAs == "out"; } } public Parameter AccessorParam { get { foreach (Parameter p in this) { if (!IsHidden (p)) return p; } return null; } } public string AccessorReturnType { get { Parameter p = AccessorParam; if (p != null) return p.CSType; else return null; } } public string AccessorName { get { Parameter p = AccessorParam; if (p != null) return p.Name; else return null; } } public string ImportSignature { get { if (Count == 0) return String.Empty; string[] result = new string [Count]; for (int i = 0; i < Count; i++) result [i] = this [i].NativeSignature; return String.Join (", ", result); } } } } gtk-sharp-2.12.10/generator/FieldBase.cs0000644000175000001440000002162311131156743014633 00000000000000// GtkSharp.Generation.FieldBase.cs - base class for struct and object // fields // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public abstract class FieldBase : PropertyBase { public FieldBase (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} public bool Validate () { if (!Ignored && !Hidden && CSType == "") { Console.Write("Field {0} has unknown Type {1} ", Name, CType); Statistics.ThrottledCount++; return false; } return true; } protected virtual bool Readable { get { return elem.GetAttribute ("readable") != "false"; } } protected virtual bool Writable { get { return elem.GetAttribute ("writeable") != "false"; } } protected abstract string DefaultAccess { get; } protected string Access { get { return elem.HasAttribute ("access") ? elem.GetAttribute ("access") : DefaultAccess; } } public bool IsArray { get { return elem.HasAttribute("array_len") || elem.HasAttribute("array"); } } public bool IsBitfield { get { return elem.HasAttribute("bits"); } } public bool Ignored { get { if (container_type.GetProperty (Name) != null) return true; if (IsArray) return true; if (Access == "private" && (Getter == null) && (Setter == null)) return true; return false; } } string getterName, setterName; string getOffsetName, offsetName; void CheckGlue () { getterName = setterName = getOffsetName = null; if (Access != "public") return; string prefix = (container_type.NS + "Sharp_" + container_type.NS + "_" + container_type.Name).ToLower (); if (IsBitfield) { if (Readable && Getter == null) getterName = prefix + "_get_" + CName; if (Writable && Setter == null) setterName = prefix + "_set_" + CName; } else { if ((Readable && Getter == null) || (Writable && Setter == null)) { offsetName = CName + "_offset"; getOffsetName = prefix + "_get_" + offsetName; } } } protected override void GenerateImports (GenerationInfo gen_info, string indent) { StreamWriter sw = gen_info.Writer; SymbolTable table = SymbolTable.Table; if (getterName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine (indent + "extern static {0} {1} ({2} raw);", table.GetMarshalReturnType (CType), getterName, container_type.MarshalType); } if (setterName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine (indent + "extern static void {0} ({1} raw, {2} value);", setterName, container_type.MarshalType, table.GetMarshalType (CType)); } if (getOffsetName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\")]", gen_info.GluelibName); sw.WriteLine (indent + "extern static uint {0} ();", getOffsetName); sw.WriteLine (); sw.WriteLine (indent + "static uint " + offsetName + " = " + getOffsetName + " ();"); } base.GenerateImports (gen_info, indent); } public virtual void Generate (GenerationInfo gen_info, string indent) { if (Ignored || Hidden) return; CheckGlue (); if ((getterName != null || setterName != null || getOffsetName != null) && gen_info.GlueWriter == null) { Console.WriteLine ("No glue-filename specified, can't create glue for {0}.{1}", container_type.Name, Name); return; } GenerateImports (gen_info, indent); SymbolTable table = SymbolTable.Table; StreamWriter sw = gen_info.Writer; string modifiers = elem.HasAttribute ("new_flag") ? "new " : ""; bool is_struct = table.IsStruct (CType) || table.IsBoxed (CType); sw.WriteLine (indent + "public " + modifiers + CSType + " " + Name + " {"); if (Getter != null) { sw.Write (indent + "\tget "); Getter.GenerateBody (gen_info, container_type, "\t"); sw.WriteLine (""); } else if (getterName != null) { sw.WriteLine (indent + "\tget {"); container_type.Prepare (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\t" + CSType + " result = " + table.FromNativeReturn (ctype, getterName + " (" + container_type.CallByName () + ")") + ";"); container_type.Finish (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\treturn result;"); sw.WriteLine (indent + "\t}"); } else if (Readable && offsetName != null) { sw.WriteLine (indent + "\tget {"); sw.WriteLine (indent + "\t\tunsafe {"); if (is_struct) { sw.WriteLine (indent + "\t\t\t" + CSType + "* raw_ptr = (" + CSType + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\treturn *raw_ptr;"); } else { sw.WriteLine (indent + "\t\t\t" + table.GetMarshalReturnType (CType) + "* raw_ptr = (" + table.GetMarshalReturnType (CType) + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\treturn " + table.FromNativeReturn (ctype, "(*raw_ptr)") + ";"); } sw.WriteLine (indent + "\t\t}"); sw.WriteLine (indent + "\t}"); } if (Setter != null) { sw.Write (indent + "\tset "); Setter.GenerateBody (gen_info, container_type, "\t"); sw.WriteLine (""); } else if (setterName != null) { sw.WriteLine (indent + "\tset {"); container_type.Prepare (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\t" + setterName + " (" + container_type.CallByName () + ", " + table.CallByName (ctype, "value") + ");"); container_type.Finish (sw, indent + "\t\t"); sw.WriteLine (indent + "\t}"); } else if (Writable && offsetName != null) { sw.WriteLine (indent + "\tset {"); sw.WriteLine (indent + "\t\tunsafe {"); if (is_struct) { sw.WriteLine (indent + "\t\t\t" + CSType + "* raw_ptr = (" + CSType + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\t*raw_ptr = value;"); } else { sw.WriteLine (indent + "\t\t\t" + table.GetMarshalReturnType (CType) + "* raw_ptr = (" + table.GetMarshalReturnType (CType) + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\t*raw_ptr = " + table.ToNativeReturn (ctype, "value") + ";"); } sw.WriteLine (indent + "\t\t}"); sw.WriteLine (indent + "\t}"); } sw.WriteLine (indent + "}"); sw.WriteLine (""); if (getterName != null || setterName != null || getOffsetName != null) GenerateGlue (gen_info); } protected void GenerateGlue (GenerationInfo gen_info) { StreamWriter sw = gen_info.GlueWriter; SymbolTable table = SymbolTable.Table; string FieldCType = CType.Replace ("-", " "); bool byref = table[CType] is ByRefGen || table[CType] is StructGen; string GlueCType = byref ? FieldCType + " *" : FieldCType; string ContainerCType = container_type.CName; string ContainerCName = container_type.Name.ToLower (); if (getterName != null) { sw.WriteLine ("{0} {1} ({2} *{3});", GlueCType, getterName, ContainerCType, ContainerCName); } if (setterName != null) { sw.WriteLine ("void {0} ({1} *{2}, {3} value);", setterName, ContainerCType, ContainerCName, GlueCType); } if (getOffsetName != null) sw.WriteLine ("guint {0} (void);", getOffsetName); sw.WriteLine (""); if (getterName != null) { sw.WriteLine (GlueCType); sw.WriteLine ("{0} ({1} *{2})", getterName, ContainerCType, ContainerCName); sw.WriteLine ("{"); sw.WriteLine ("\treturn ({0}){1}{2}->{3};", GlueCType, byref ? "&" : "", ContainerCName, CName); sw.WriteLine ("}"); sw.WriteLine (""); } if (setterName != null) { sw.WriteLine ("void"); sw.WriteLine ("{0} ({1} *{2}, {3} value)", setterName, ContainerCType, ContainerCName, GlueCType); sw.WriteLine ("{"); sw.WriteLine ("\t{0}->{1} = ({2}){3}value;", ContainerCName, CName, FieldCType, byref ? "*" : ""); sw.WriteLine ("}"); sw.WriteLine (""); } if (getOffsetName != null) { sw.WriteLine ("guint"); sw.WriteLine ("{0} (void)", getOffsetName); sw.WriteLine ("{"); sw.WriteLine ("\treturn (guint)G_STRUCT_OFFSET ({0}, {1});", ContainerCType, CName); sw.WriteLine ("}"); sw.WriteLine (""); } } } } gtk-sharp-2.12.10/generator/CallbackGen.cs0000644000175000001440000002351011131156743015140 00000000000000// GtkSharp.Generation.CallbackGen.cs - The Callback Generatable. // // Author: Mike Kestner // // Copyright (c) 2002-2003 Mike Kestner // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class CallbackGen : GenBase, IAccessor { private Parameters parms; private Signature sig = null; private ReturnValue retval; private bool valid = true; public CallbackGen (XmlElement ns, XmlElement elem) : base (ns, elem) { retval = new ReturnValue (elem ["return-type"]); parms = new Parameters (elem ["parameters"]); parms.HideData = true; } public override string DefaultValue { get { return "null"; } } public override bool Validate () { if (!retval.Validate ()) { Console.WriteLine ("rettype: " + retval.CType + " in callback " + CName); Statistics.ThrottledCount++; valid = false; return false; } if (!parms.Validate ()) { Console.WriteLine (" in callback " + CName); Statistics.ThrottledCount++; valid = false; return false; } valid = true; return true; } public string InvokerName { get { if (!valid) return String.Empty; return NS + "Sharp." + Name + "Invoker"; } } public override string MarshalType { get { if (valid) return NS + "Sharp." + Name + "Native"; else return ""; } } public override string CallByName (string var_name) { return var_name + ".NativeDelegate"; } public override string FromNative (string var) { return NS + "Sharp." + Name + "Wrapper.GetManagedDelegate (" + var + ")"; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); } string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } string InvokeString { get { if (parms.Count == 0) return String.Empty; string[] result = new string [parms.Count]; for (int i = 0; i < parms.Count; i++) { Parameter p = parms [i]; IGeneratable igen = p.Generatable; if (i > 0 && parms [i - 1].IsString && p.IsLength) { string string_name = parms [i - 1].Name; result[i] = igen.CallByName (CastFromInt (p.CSType) + "System.Text.Encoding.UTF8.GetByteCount (" + string_name + ")"); continue; } p.CallName = p.Name; result [i] = p.CallString; if (p.IsUserData) result [i] = "__data"; } return String.Join (", ", result); } } MethodBody body; void GenInvoker (GenerationInfo gen_info, StreamWriter sw) { if (sig == null) sig = new Signature (parms); sw.WriteLine ("\tinternal class " + Name + "Invoker {"); sw.WriteLine (); sw.WriteLine ("\t\t" + Name + "Native native_cb;"); sw.WriteLine ("\t\tIntPtr __data;"); sw.WriteLine ("\t\tGLib.DestroyNotify __notify;"); sw.WriteLine (); sw.WriteLine ("\t\t~" + Name + "Invoker ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (__notify == null)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine ("\t\t\t__notify (__data);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb) : this (native_cb, IntPtr.Zero, null) {}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb, IntPtr data) : this (native_cb, data, null) {}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb, IntPtr data, GLib.DestroyNotify notify)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tthis.native_cb = native_cb;"); sw.WriteLine ("\t\t\t__data = data;"); sw.WriteLine ("\t\t\t__notify = notify;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + QualifiedName + " Handler {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn new " + QualifiedName + "(InvokeNative);"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t" + retval.CSType + " InvokeNative (" + sig + ")"); sw.WriteLine ("\t\t{"); body.Initialize (gen_info); string call = "native_cb (" + InvokeString + ")"; if (retval.IsVoid) sw.WriteLine ("\t\t\t" + call + ";"); else sw.WriteLine ("\t\t\t" + retval.CSType + " result = " + retval.FromNative (call) + ";"); body.Finish (sw, String.Empty); if (!retval.IsVoid) sw.WriteLine ("\t\t\treturn result;"); sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine (); } public string GenWrapper (GenerationInfo gen_info) { string wrapper = Name + "Native"; string qualname = MarshalType; if (!Validate ()) return String.Empty; body = new MethodBody (parms); StreamWriter save_sw = gen_info.Writer; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (qualname); sw.WriteLine ("namespace " + NS + "Sharp {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); sw.WriteLine ("\t[GLib.CDeclCallback]"); sw.WriteLine ("\tinternal delegate " + retval.MarshalType + " " + wrapper + "(" + parms.ImportSignature + ");"); sw.WriteLine (); GenInvoker (gen_info, sw); sw.WriteLine ("\tinternal class " + Name + "Wrapper {"); sw.WriteLine (); ManagedCallString call = new ManagedCallString (parms, false); sw.WriteLine ("\t\tpublic " + retval.MarshalType + " NativeCallback (" + parms.ImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); sw.WriteLine ("\t\t\ttry {"); string call_setup = call.Setup ("\t\t\t\t"); if (call_setup.Length > 0) sw.WriteLine (call_setup); if (retval.CSType == "void") sw.WriteLine ("\t\t\t\tmanaged ({0});", call); else sw.WriteLine ("\t\t\t\t{0} __ret = managed ({1});", retval.CSType, call); string finish = call.Finish ("\t\t\t\t"); if (finish.Length > 0) sw.WriteLine (finish); sw.WriteLine ("\t\t\t\tif (release_on_call)\n\t\t\t\t\tgch.Free ();"); if (retval.CSType != "void") sw.WriteLine ("\t\t\t\treturn {0};", retval.ToNative ("__ret")); /* If the function expects one or more "out" parameters(error parameters are excluded) or has a return value different from void and bool, exceptions * thrown in the managed function have to be considered fatal meaning that an exception is to be thrown and the function call cannot not return */ bool fatal = (retval.MarshalType != "void" && retval.MarshalType != "bool") || call.HasOutParam; sw.WriteLine ("\t\t\t} catch (Exception e) {"); sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");"); if (fatal) { sw.WriteLine ("\t\t\t\t// NOTREACHED: Above call does not return."); sw.WriteLine ("\t\t\t\tthrow e;"); } else if (retval.MarshalType == "bool") { sw.WriteLine ("\t\t\t\treturn false;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tbool release_on_call = false;"); sw.WriteLine ("\t\tGCHandle gch;"); sw.WriteLine (); sw.WriteLine ("\t\tpublic void PersistUntilCalled ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\trelease_on_call = true;"); sw.WriteLine ("\t\t\tgch = GCHandle.Alloc (this);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + wrapper + " NativeDelegate;"); sw.WriteLine ("\t\t" + NS + "." + Name + " managed;"); sw.WriteLine (); sw.WriteLine ("\t\tpublic " + Name + "Wrapper (" + NS + "." + Name + " managed)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tthis.managed = managed;"); sw.WriteLine ("\t\t\tif (managed != null)"); sw.WriteLine ("\t\t\t\tNativeDelegate = new " + wrapper + " (NativeCallback);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static " + NS + "." + Name + " GetManagedDelegate (" + wrapper + " native)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (native == null)"); sw.WriteLine ("\t\t\t\treturn null;"); sw.WriteLine ("\t\t\t" + Name + "Wrapper wrapper = (" + Name + "Wrapper) native.Target;"); sw.WriteLine ("\t\t\tif (wrapper == null)"); sw.WriteLine ("\t\t\t\treturn null;"); sw.WriteLine ("\t\t\treturn wrapper.managed;"); sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = save_sw; return NS + "Sharp." + Name + "Wrapper"; } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; sig = new Signature (parms); StreamWriter sw = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("\t{0} delegate " + retval.CSType + " " + Name + "(" + sig.ToString() + ");", IsInternal ? "internal" : "public"); sw.WriteLine (); sw.WriteLine ("}"); sw.Close (); GenWrapper (gen_info); Statistics.CBCount++; } } } gtk-sharp-2.12.10/generator/Makefile.in0000644000175000001440000003246411345266364014550 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = generator DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/gapi2-codegen.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gapi2-codegen am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(assemblydir)" binSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(bin_SCRIPTS) SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; assemblyDATA_INSTALL = $(INSTALL_DATA) DATA = $(assembly_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ assemblydir = $(prefix)/lib/gtk-sharp-2.0 assembly_DATA = gapi_codegen.exe bin_SCRIPTS = gapi2-codegen CLEANFILES = gapi_codegen.exe DISTCLEANFILES = gapi2-codegen references = sources = \ AliasGen.cs \ BoxedGen.cs \ ByRefGen.cs \ CallbackGen.cs \ ChildProperty.cs \ ClassBase.cs \ ClassGen.cs \ CodeGenerator.cs \ ConstFilenameGen.cs \ ConstStringGen.cs \ Ctor.cs \ EnumGen.cs \ FieldBase.cs \ GenBase.cs \ GenerationInfo.cs \ HandleBase.cs \ IAccessor.cs \ IGeneratable.cs \ IManualMarshaler.cs \ InterfaceGen.cs \ LPGen.cs \ LPUGen.cs \ ManagedCallString.cs \ ManualGen.cs \ MarshalGen.cs \ MethodBase.cs \ MethodBody.cs \ Method.cs \ ObjectField.cs \ ObjectBase.cs \ ObjectGen.cs \ OpaqueGen.cs \ Parameters.cs \ Parser.cs \ Property.cs \ PropertyBase.cs \ ReturnValue.cs \ Signal.cs \ Signature.cs \ SimpleBase.cs \ SimpleGen.cs \ Statistics.cs \ StructBase.cs \ StructField.cs \ StructGen.cs \ SymbolTable.cs \ VirtualMethod.cs \ VMSignature.cs build_sources = $(addprefix $(srcdir)/, $(sources)) dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign generator/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign generator/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh gapi2-codegen: $(top_builddir)/config.status $(srcdir)/gapi2-codegen.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-assemblyDATA: $(assembly_DATA) @$(NORMAL_INSTALL) test -z "$(assemblydir)" || $(MKDIR_P) "$(DESTDIR)$(assemblydir)" @list='$(assembly_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(assemblyDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(assemblydir)/$$f'"; \ $(assemblyDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(assemblydir)/$$f"; \ done uninstall-assemblyDATA: @$(NORMAL_UNINSTALL) @list='$(assembly_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(assemblydir)/$$f'"; \ rm -f "$(DESTDIR)$(assemblydir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(assemblydir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-assemblyDATA install-dvi: install-dvi-am install-exec-am: install-binSCRIPTS install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-assemblyDATA uninstall-binSCRIPTS .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-assemblyDATA install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-assemblyDATA uninstall-binSCRIPTS gapi_codegen.exe: $(build_sources) $(CSC) /out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/generator/gapi2-codegen.in0000755000175000001440000000010511131156743015415 00000000000000#!/bin/sh @RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi_codegen.exe "$@" gtk-sharp-2.12.10/generator/ObjectGen.cs0000644000175000001440000003101111131156743014645 00000000000000// GtkSharp.Generation.ObjectGen.cs - The Object Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text; using System.Xml; public class ObjectGen : ObjectBase { private ArrayList custom_attrs = new ArrayList(); private ArrayList strings = new ArrayList(); private ArrayList vm_nodes = new ArrayList(); private Hashtable childprops = new Hashtable(); private static Hashtable dirs = new Hashtable (); public ObjectGen (XmlElement ns, XmlElement elem) : base (ns, elem) { foreach (XmlNode node in elem.ChildNodes) { string name; if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; switch (node.Name) { case "callback": Statistics.IgnoreCount++; break; case "custom-attribute": custom_attrs.Add (member.InnerXml); break; case "virtual_method": Statistics.IgnoreCount++; break; case "static-string": strings.Add (node); break; case "childprop": name = member.GetAttribute ("name"); while (childprops.ContainsKey (name)) name += "mangled"; childprops.Add (name, new ChildProperty (member, this)); break; default: if (!IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public override bool Validate () { ArrayList invalids = new ArrayList (); foreach (ChildProperty prop in childprops.Values) { if (!prop.Validate ()) { Console.WriteLine ("in Object " + QualifiedName); invalids.Add (prop); } } foreach (ChildProperty prop in invalids) childprops.Remove (prop); return base.Validate (); } private bool DisableVoidCtor { get { return Elem.HasAttribute ("disable_void_ctor"); } } private bool DisableGTypeCtor { get { return Elem.HasAttribute ("disable_gtype_ctor"); } } private class DirectoryInfo { public string assembly_name; public Hashtable objects; public DirectoryInfo (string assembly_name) { this.assembly_name = assembly_name; objects = new Hashtable (); } } private static DirectoryInfo GetDirectoryInfo (string dir, string assembly_name) { DirectoryInfo result; if (dirs.ContainsKey (dir)) { result = dirs [dir] as DirectoryInfo; if (result.assembly_name != assembly_name) { Console.WriteLine ("Can't put multiple assemblies in one directory."); return null; } return result; } result = new DirectoryInfo (assembly_name); dirs.Add (dir, result); return result; } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; string asm_name = gen_info.AssemblyName.Length == 0 ? NS.ToLower () + "-sharp" : gen_info.AssemblyName; DirectoryInfo di = GetDirectoryInfo (gen_info.Dir, asm_name); StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); SymbolTable table = SymbolTable.Table; sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); foreach (string attr in custom_attrs) sw.WriteLine ("\t" + attr); sw.Write ("\t{0} {1}class " + Name, IsInternal ? "internal" : "public", IsAbstract ? "abstract " : ""); string cs_parent = table.GetCSType(Elem.GetAttribute("parent")); if (cs_parent != "") { di.objects.Add (CName, QualifiedName); sw.Write (" : " + cs_parent); } foreach (string iface in interfaces) { if (Parent != null && Parent.Implements (iface)) continue; sw.Write (", " + table.GetCSType (iface)); } foreach (string iface in managed_interfaces) { if (Parent != null && Parent.Implements (iface)) continue; sw.Write (", " + iface); } sw.WriteLine (" {"); sw.WriteLine (); GenCtors (gen_info); GenProperties (gen_info, null); GenFields (gen_info); GenChildProperties (gen_info); bool has_sigs = (sigs != null && sigs.Count > 0); if (!has_sigs) { foreach (string iface in interfaces) { ClassBase igen = table.GetClassGen (iface); if (igen != null && igen.Signals != null) { has_sigs = true; break; } } } if (has_sigs && Elem.HasAttribute("parent")) { GenSignals (gen_info, null); } if (vm_nodes.Count > 0) { if (gen_info.GlueEnabled) { GenVirtualMethods (gen_info); } else { Statistics.VMIgnored = true; Statistics.ThrottledCount += vm_nodes.Count; } } GenMethods (gen_info, null, null); if (interfaces.Count != 0) { Hashtable all_methods = new Hashtable (); foreach (Method m in Methods.Values) all_methods[m.Name] = m; Hashtable collisions = new Hashtable (); foreach (string iface in interfaces) { ClassBase igen = table.GetClassGen (iface); foreach (Method m in igen.Methods.Values) { Method collision = all_methods[m.Name] as Method; if (collision != null && collision.Signature.Types == m.Signature.Types) collisions[m.Name] = true; else all_methods[m.Name] = m; } } foreach (string iface in interfaces) { if (Parent != null && Parent.Implements (iface)) continue; ClassBase igen = table.GetClassGen (iface); igen.GenMethods (gen_info, collisions, this); igen.GenProperties (gen_info, this); igen.GenSignals (gen_info, this); } } foreach (XmlElement str in strings) { sw.Write ("\t\tpublic static string " + str.GetAttribute ("name")); sw.WriteLine (" {\n\t\t\t get { return \"" + str.GetAttribute ("value") + "\"; }\n\t\t}"); } if (cs_parent != String.Empty && GetExpected (CName) != QualifiedName) { sw.WriteLine (); sw.WriteLine ("\t\tstatic " + Name + " ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGtkSharp." + Studlify (asm_name) + ".ObjectManager.Initialize ();"); sw.WriteLine ("\t\t}"); } sw.WriteLine ("#endregion"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.ObjectCount++; } protected override void GenCtors (GenerationInfo gen_info) { if (!Elem.HasAttribute("parent")) return; if (!DisableGTypeCtor) { gen_info.Writer.WriteLine("\t\t[Obsolete]"); gen_info.Writer.WriteLine("\t\tprotected " + Name + "(GLib.GType gtype) : base(gtype) {}"); } gen_info.Writer.WriteLine("\t\tpublic " + Name + "(IntPtr raw) : base(raw) {}"); if (ctors.Count == 0 && !DisableVoidCtor) { gen_info.Writer.WriteLine(); gen_info.Writer.WriteLine("\t\tprotected " + Name + "() : base(IntPtr.Zero)"); gen_info.Writer.WriteLine("\t\t{"); gen_info.Writer.WriteLine("\t\t\tCreateNativeObject (new string [0], new GLib.Value [0]);"); gen_info.Writer.WriteLine("\t\t}"); } gen_info.Writer.WriteLine(); base.GenCtors (gen_info); } protected void GenChildProperties (GenerationInfo gen_info) { if (childprops.Count == 0) return; StreamWriter sw = gen_info.Writer; ObjectGen child_ancestor = Parent as ObjectGen; while (child_ancestor.CName != "GtkContainer" && child_ancestor.childprops.Count == 0) child_ancestor = child_ancestor.Parent as ObjectGen; sw.WriteLine ("\t\tpublic class " + Name + "Child : " + child_ancestor.NS + "." + child_ancestor.Name + "." + child_ancestor.Name + "Child {"); sw.WriteLine ("\t\t\tprotected internal " + Name + "Child (Gtk.Container parent, Gtk.Widget child) : base (parent, child) {}"); sw.WriteLine (""); foreach (ChildProperty prop in childprops.Values) prop.Generate (gen_info, "\t\t\t", null); sw.WriteLine ("\t\t}"); sw.WriteLine (""); sw.WriteLine ("\t\tpublic override Gtk.Container.ContainerChild this [Gtk.Widget child] {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn new " + Name + "Child (this, child);"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (""); } private void GenVMGlue (GenerationInfo gen_info, XmlElement elem) { StreamWriter sw = gen_info.GlueWriter; string vm_name = elem.GetAttribute ("cname"); string method = gen_info.GluelibName + "_" + NS + Name + "_override_" + vm_name; sw.WriteLine (); sw.WriteLine ("void " + method + " (GType type, gpointer cb);"); sw.WriteLine (); sw.WriteLine ("void"); sw.WriteLine (method + " (GType type, gpointer cb)"); sw.WriteLine ("{"); sw.WriteLine ("\t{0} *klass = ({0} *) g_type_class_peek (type);", NS + Name + "Class"); sw.WriteLine ("\tklass->" + vm_name + " = cb;"); sw.WriteLine ("}"); } static bool vmhdrs_needed = true; private void GenVirtualMethods (GenerationInfo gen_info) { if (vmhdrs_needed) { gen_info.GlueWriter.WriteLine ("#include "); gen_info.GlueWriter.WriteLine ("#include \"vmglueheaders.h\""); gen_info.GlueWriter.WriteLine (); vmhdrs_needed = false; } foreach (XmlElement elem in vm_nodes) { GenVMGlue (gen_info, elem); } } /* Keep this in sync with the one in glib/GType.cs */ private static string GetExpected (string cname) { for (int i = 1; i < cname.Length; i++) { if (Char.IsUpper (cname[i])) { if (i == 1 && cname[0] == 'G') return "GLib." + cname.Substring (1); else return cname.Substring (0, i) + "." + cname.Substring (i); } } throw new ArgumentException ("cname doesn't follow the NamespaceType capitalization style: " + cname); } private static bool NeedsMap (Hashtable objs, string assembly_name) { foreach (string key in objs.Keys) if (GetExpected (key) != ((string) objs[key])) return true; return false; } private static string Studlify (string name) { string result = ""; string[] subs = name.Split ('-'); foreach (string sub in subs) result += Char.ToUpper (sub[0]) + sub.Substring (1); return result; } public static void GenerateMappers () { foreach (string dir in dirs.Keys) { DirectoryInfo di = dirs[dir] as DirectoryInfo; if (!NeedsMap (di.objects, di.assembly_name)) continue; GenerationInfo gen_info = new GenerationInfo (dir, di.assembly_name); GenerateMapper (di, gen_info); } } private static void GenerateMapper (DirectoryInfo dir_info, GenerationInfo gen_info) { StreamWriter sw = gen_info.OpenStream ("ObjectManager"); sw.WriteLine ("namespace GtkSharp." + Studlify (dir_info.assembly_name) + " {"); sw.WriteLine (); sw.WriteLine ("\tpublic class ObjectManager {"); sw.WriteLine (); sw.WriteLine ("\t\tstatic bool initialized = false;"); sw.WriteLine ("\t\t// Call this method from the appropriate module init function."); sw.WriteLine ("\t\tpublic static void Initialize ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (initialized)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine (""); sw.WriteLine ("\t\t\tinitialized = true;"); foreach (string key in dir_info.objects.Keys) { if (GetExpected(key) != ((string) dir_info.objects[key])) sw.WriteLine ("\t\t\tGLib.GType.Register ({0}.GType, typeof ({0}));", dir_info.objects [key]); } sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); } } } gtk-sharp-2.12.10/generator/BoxedGen.cs0000644000175000001440000000573411140655376014523 00000000000000// GtkSharp.Generation.BoxedGen.cs - The Boxed Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class BoxedGen : StructBase { public BoxedGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override void Generate (GenerationInfo gen_info) { Method copy = methods["Copy"] as Method; methods.Remove ("Copy"); methods.Remove ("Free"); gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); base.Generate (gen_info); sw.WriteLine ("\t\t[DllImport(\"glibsharpglue-2\")]"); sw.WriteLine ("\t\tstatic extern IntPtr glibsharp_value_get_boxed (ref GLib.Value val);"); sw.WriteLine (); sw.WriteLine ("\t\t[DllImport(\"glibsharpglue-2\")]"); sw.WriteLine ("\t\tstatic extern void glibsharp_value_set_boxed (ref GLib.Value val, ref " + QualifiedName + " boxed);"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static explicit operator GLib.Value (" + QualifiedName + " boxed)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Value val = GLib.Value.Empty;"); sw.WriteLine ("\t\t\tval.Init (" + QualifiedName + ".GType);"); sw.WriteLine ("\t\t\tglibsharp_value_set_boxed (ref val, ref boxed);"); sw.WriteLine ("\t\t\treturn val;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static explicit operator " + QualifiedName + " (GLib.Value val)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tIntPtr boxed_ptr = glibsharp_value_get_boxed (ref val);"); sw.WriteLine ("\t\t\treturn New (boxed_ptr);"); sw.WriteLine ("\t\t}"); if (copy != null && copy.IsDeprecated) { sw.WriteLine (); sw.WriteLine ("\t\t[Obsolete(\"This is a no-op\")]"); sw.WriteLine ("\t\tpublic " + QualifiedName + " Copy() {"); sw.WriteLine ("\t\t\treturn this;"); sw.WriteLine ("\t\t}"); } sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.BoxedCount++; } } } gtk-sharp-2.12.10/generator/StructGen.cs0000644000175000001440000000324111131156743014727 00000000000000// GtkSharp.Generation.StructGen.cs - The Structure Generatable. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class StructGen : StructBase { public StructGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); base.Generate (gen_info); if (GetMethod ("GetType") == null && GetMethod ("GetGType") == null) { sw.WriteLine ("\t\tprivate static GLib.GType GType {"); sw.WriteLine ("\t\t\tget { return GLib.GType.Pointer; }"); sw.WriteLine ("\t\t}"); } sw.WriteLine ("#endregion"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.StructCount++; } } } gtk-sharp-2.12.10/generator/IManualMarshaler.cs0000644000175000001440000000200011131156743016166 00000000000000// GtkSharp.Generation.IManualMarshaler.cs - Interface for manual marshaling. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IManualMarshaler { string AllocNative (string managed_var); string ReleaseNative (string native_var); } } gtk-sharp-2.12.10/generator/StructBase.cs0000644000175000001440000001400311234362536015071 00000000000000// GtkSharp.Generation.StructBase.cs - The Structure/Boxed Base Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text.RegularExpressions; using System.Xml; public abstract class StructBase : ClassBase, IManualMarshaler { new ArrayList fields = new ArrayList (); bool need_read_native = false; protected StructBase (XmlElement ns, XmlElement elem) : base (ns, elem) { foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; switch (node.Name) { case "field": fields.Add (new StructField (member, this)); break; case "callback": Statistics.IgnoreCount++; break; default: if (!IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public override string DefaultValue { get { return QualifiedName + ".Zero"; } } public override string MarshalType { get { return "IntPtr"; } } public override string AssignToName { get { throw new NotImplementedException (); } } public override string CallByName () { return "this_as_native"; } public override string CallByName (string var) { return var + "_as_native"; } public override string FromNative (string var) { if (DisableNew) return var + " == IntPtr.Zero ? " + QualifiedName + ".Zero : (" + QualifiedName + ") System.Runtime.InteropServices.Marshal.PtrToStructure (" + var + ", typeof (" + QualifiedName + "))"; else return QualifiedName + ".New (" + var + ")"; } public string AllocNative (string var) { return "GLib.Marshaller.StructureToPtrAlloc (" + var + ")"; } public string ReleaseNative (string var) { return "Marshal.FreeHGlobal (" +var + ")"; } private bool DisableNew { get { return Elem.HasAttribute ("disable_new"); } } protected new void GenFields (GenerationInfo gen_info) { int bitfields = 0; bool need_field = true; foreach (StructField field in fields) { if (field.IsBitfield) { if (need_field) { StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\tprivate uint _bitfield{0};\n", bitfields++); need_field = false; } } else need_field = true; field.Generate (gen_info, "\t\t"); } } public override bool Validate () { foreach (StructField field in fields) { if (!field.Validate ()) { Console.WriteLine ("in Struct " + QualifiedName); if (!field.IsPointer) return false; } } return base.Validate (); } public override void Generate (GenerationInfo gen_info) { bool need_close = false; if (gen_info.Writer == null) { gen_info.Writer = gen_info.OpenStream (Name); need_close = true; } StreamWriter sw = gen_info.Writer; sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); sw.WriteLine ("\t[StructLayout(LayoutKind.Sequential)]"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " struct " + Name + " {"); sw.WriteLine (); need_read_native = false; GenFields (gen_info); sw.WriteLine (); GenCtors (gen_info); GenMethods (gen_info, null, this); if (need_read_native) GenReadNative (sw); if (!need_close) return; sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } protected override void GenCtors (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\tpublic static {0} Zero = new {0} ();", QualifiedName); sw.WriteLine(); if (!DisableNew) { sw.WriteLine ("\t\tpublic static " + QualifiedName + " New(IntPtr raw) {"); sw.WriteLine ("\t\t\tif (raw == IntPtr.Zero)"); sw.WriteLine ("\t\t\t\treturn {0}.Zero;", QualifiedName); sw.WriteLine ("\t\t\treturn ({0}) Marshal.PtrToStructure (raw, typeof ({0}));", QualifiedName); sw.WriteLine ("\t\t}"); sw.WriteLine (); } foreach (Ctor ctor in Ctors) ctor.IsStatic = true; base.GenCtors (gen_info); } void GenReadNative (StreamWriter sw) { sw.WriteLine ("\t\tstatic void ReadNative (IntPtr native, ref {0} target)", QualifiedName); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\ttarget = New (native);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } public override void Prepare (StreamWriter sw, string indent) { sw.WriteLine (indent + "IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this));"); sw.WriteLine (indent + "System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false);"); } public override void Finish (StreamWriter sw, string indent) { need_read_native = true; sw.WriteLine (indent + "ReadNative (this_as_native, ref this);"); sw.WriteLine (indent + "System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);"); } } } gtk-sharp-2.12.10/generator/GenerationInfo.cs0000644000175000001440000001201211131156743015714 00000000000000// GtkSharp.Generation.GenerationInfo.cs - Generation information class. // // Author: Mike Kestner // // Copyright (c) 2003-2008 Novell Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class GenerationInfo { string dir; string custom_dir; string assembly_name; string gluelib_name; bool glue_enabled; StreamWriter sw; StreamWriter glue_sw; public GenerationInfo (XmlElement ns) { string ns_name = ns.GetAttribute ("name"); char sep = Path.DirectorySeparatorChar; dir = ".." + sep + ns_name.ToLower () + sep + "generated"; custom_dir = ".." + sep + ns_name.ToLower (); assembly_name = ns_name.ToLower () + "-sharp"; } public GenerationInfo (string dir, string assembly_name) : this (dir, dir, assembly_name, "", "", "") {} public GenerationInfo (string dir, string custom_dir, string assembly_name, string glue_filename, string glue_includes, string gluelib_name) { this.dir = dir; this.custom_dir = custom_dir; this.assembly_name = assembly_name; this.gluelib_name = gluelib_name; InitializeGlue (glue_filename, glue_includes, gluelib_name); } void InitializeGlue (string glue_filename, string glue_includes, string gluelib_name) { if (gluelib_name != String.Empty && glue_filename != String.Empty) { FileStream stream; try { stream = new FileStream (glue_filename, FileMode.Create, FileAccess.Write); } catch (Exception) { Console.Error.WriteLine ("Unable to create specified glue file. Glue will not be generated."); return; } glue_sw = new StreamWriter (stream); glue_sw.WriteLine ("// This file was generated by the Gtk# code generator."); glue_sw.WriteLine ("// Any changes made will be lost if regenerated."); glue_sw.WriteLine (); if (glue_includes != "") { foreach (string header in glue_includes.Split (new char[] {',', ' '})) { if (header != "") glue_sw.WriteLine ("#include <{0}>", header); } glue_sw.WriteLine (""); } glue_sw.WriteLine ("const gchar *__prefix = \"__gtksharp_\";\n"); glue_sw.WriteLine ("#define HAS_PREFIX(a) (*((guint64 *)(a)) == *((guint64 *) __prefix))\n"); glue_sw.WriteLine ("static GObjectClass *"); glue_sw.WriteLine ("get_threshold_class (GObject *obj)"); glue_sw.WriteLine ("{"); glue_sw.WriteLine ("\tGType gtype = G_TYPE_FROM_INSTANCE (obj);"); glue_sw.WriteLine ("\twhile (HAS_PREFIX (g_type_name (gtype)))"); glue_sw.WriteLine ("\t\tgtype = g_type_parent (gtype);"); glue_sw.WriteLine ("\tGObjectClass *klass = g_type_class_peek (gtype);"); glue_sw.WriteLine ("\tif (klass == NULL) klass = g_type_class_ref (gtype);"); glue_sw.WriteLine ("\treturn klass;"); glue_sw.WriteLine ("}\n"); glue_enabled = true; } } public string AssemblyName { get { return assembly_name; } } public string CustomDir { get { return custom_dir; } } public string Dir { get { return dir; } } public string GluelibName { get { return gluelib_name; } } public bool GlueEnabled { get { return glue_enabled; } } public StreamWriter GlueWriter { get { return glue_sw; } } public StreamWriter Writer { get { return sw; } set { sw = value; } } public void CloseGlueWriter () { if (glue_sw != null) glue_sw.Close (); } string member; public string CurrentMember { get { return typename + "." + member; } set { member = value; } } string typename; public string CurrentType { get { return typename; } set { typename = value; } } public StreamWriter OpenStream (string name) { char sep = Path.DirectorySeparatorChar; if (!Directory.Exists(dir)) Directory.CreateDirectory(dir); string filename = dir + sep + name + ".cs"; FileStream stream = new FileStream (filename, FileMode.Create, FileAccess.Write); StreamWriter sw = new StreamWriter (stream); sw.WriteLine ("// This file was generated by the Gtk# code generator."); sw.WriteLine ("// Any changes made will be lost if regenerated."); sw.WriteLine (); return sw; } } } gtk-sharp-2.12.10/generator/PropertyBase.cs0000644000175000001440000000521511131156743015433 00000000000000// GtkSharp.Generation.PropertyBase.cs - base class for properties and // fields // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public abstract class PropertyBase { protected XmlElement elem; protected ClassBase container_type; public PropertyBase (XmlElement elem, ClassBase container_type) { this.elem = elem; this.container_type = container_type; } public string Name { get { return elem.GetAttribute ("name"); } } public string CName { get { return elem.GetAttribute ("cname"); } } protected string ctype; public string CType { get { if (ctype == null) { if (elem.GetAttribute("bits") == "1") ctype = "gboolean"; else ctype = elem.GetAttribute("type"); } return ctype; } } protected string cstype; public string CSType { get { if (cstype == null) cstype = SymbolTable.Table.GetCSType (CType); return cstype; } } public bool Hidden { get { return elem.HasAttribute("hidden"); } } protected bool IsNew { get { return elem.HasAttribute("new_flag"); } } Method getter; protected Method Getter { get { if (getter == null) { getter = container_type.GetMethod ("Get" + Name); if (getter != null && getter.Name == "Get" + Name && getter.IsGetter) cstype = getter.ReturnType; else getter = null; } return getter; } } Method setter; protected Method Setter { get { if (setter == null) { setter = container_type.GetMethod ("Set" + Name); if (setter != null && setter.Name == "Set" + Name && setter.IsSetter) cstype = setter.Signature.Types; else setter = null; } return setter; } } protected virtual void GenerateImports (GenerationInfo gen_info, string indent) { if (Getter != null) Getter.GenerateImport (gen_info.Writer); if (Setter != null) Setter.GenerateImport (gen_info.Writer); } } } gtk-sharp-2.12.10/mono.snk0000644000175000001440000000112411131461625012155 00000000000000$RSA2y™wÒÐ:Žkêz.tèѯ̓è…t•+´€¡,‘4GM$GÃ~hÀ€SoÏNF^úÙÕ—.öžŸm6pª—/³ ±‰MŒñH‹Ö±/·F_I÷ ûµ.dËÄ/^d%F+øŠŠ¥±øŒ=Q¡Ð¢YåÚ_êz³®œÏ{õ i¬sÿ9­~À \¿@9Oñ©Ïgtk-sharp-2.12.10/install-sh0000755000175000001440000003246411115454704012511 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gtk-sharp-2.12.10/doc/0000777000175000001440000000000011345266756011342 500000000000000gtk-sharp-2.12.10/doc/en/0000777000175000001440000000000011345266756011744 500000000000000gtk-sharp-2.12.10/doc/en/Pango/0000777000175000001440000000000011345266756013010 500000000000000gtk-sharp-2.12.10/doc/en/Pango/AttrLetterSpacing.xml0000644000175000001440000000437411345266756017055 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing letter spacing Pango.Attribute Constructor Creates a new letter-spacing attribute the amount of extra space to add between letters, in Pango units Property System.Int32 The amount of extra space to add between letters, in Pango units a gtk-sharp-2.12.10/doc/en/Pango/LayoutIter.xml0000644000175000001440000003342411345266756015555 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A can be used to iterate over the visual extents of a . GLib.Opaque Method System.Void Gets the extents of the current cluster, in layout coordinates (origin is the top left of the entire layout). rectangle to fill with ink extents rectangle to fill with logical extents Method System.Void Obtains the extents of the current line. rectangle to fill with ink extents rectangle to fill with logical extents or can be if you are not interested in them. Extents are in layout coordinates (origin is the top-left corner of the entire ). Thus the extents returned by this function will be the same width/height but not at the same x/y as the extents returned from . Method System.Boolean Moves iter forward to the next run in visual order. an object of type If iter was already at the end of the layout, returns . Method System.Void Obtains the extents of the being iterated over. rectangle to fill with ink extents rectangle to fill with logical extents or can be if you are not interested in them. Method System.Void Frees an iterator that is no longer in use. Method System.Void Gets the extents of the current run in layout coordinates (origin is the top left of the entire layout). rectangle to fill with ink extents rectangle to fill with logical extents The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The units of the rectangles are in 1 / of a device unit. Method System.Boolean Moves iter forward to the next character in visual order. an object of type If iter was already at the end of the layout, returns . Method System.Boolean Moves iter forward to the start of the next line. an object of type If iter is already on the last line, returns . Method System.Void Gets the extents of the current character, in layout coordinates (origin is the top left of the entire layout). rectangle to fill with logical extents Only logical extents can sensibly be obtained for characters; ink extents make sense only down to the level of clusters. Method System.Boolean Moves iter forward to the next cluster in visual order. an object of type If iter was already at the end of the layout, returns . Method System.Boolean Determines whether iter is on the last line of the layout. an object of type Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Int32 Gets the current byte index. current byte index Note that iterating forward by char moves in visual order, not logical order, so indexes may not be sequential. Also, the index may be equal to the length of the text in the layout, if on the run (see ). Property Pango.LayoutRun Gets the current run. an object of type 'Pango.LayoutRun' When iterating by run, at the end of each line, there is a position with a run, so this function can return . The run at the end of each line ensures that all lines have at least one run, even lines consisting of only a newline. Property System.Int32 Gets the y position of the current line's baseline, in layout coordinates (origin at top left of the entire layout). baseline of current line Property Pango.LayoutLine Gets the current line. the current Method System.Void Divides the vertical space in the being iterated over between the lines in the layout, and returns the space belonging to the current line. a a A line's range includes the line's logical extents, plus half of the spacing above and below the line if has been set. The y positions are in layout coordinates (origin at top left of the entire layout). Property GLib.GType To be added a To be added Property Pango.LayoutLine To be added. To be added. To be added. Property Pango.LayoutRun To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/Alignment.xml0000644000175000001440000000440011345266756015362 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes how to align the lines of a This enumeration describes how to align the lines of a within the available space. If the is set to justify using property, then this only has an effect for partial lines. System.Enum GLib.GType(typeof(Pango.AlignmentGType)) Field Pango.Alignment Put all available space on the left Field Pango.Alignment Center the line within the available space Field Pango.Alignment Put all available space on the right gtk-sharp-2.12.10/doc/en/Pango/Coverage.xml0000644000175000001440000001465311345266756015212 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a map from ISO-10646 character point to . GLib.Opaque Method Pango.Coverage Copy an existing . an object of type Method System.Void Decrease the reference count on the by one. If the result is zero, free the coverage and all associated memory. Method System.Void Set the coverage for each index to be the max (better) value of the current coverage for the index and the coverage for the corresponding index in . an object of type Method Pango.Coverage Increase the reference count on the by one an object of type Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor Method System.Void Modify a particular index the index to modify the new level for Method Pango.CoverageLevel Determine whether a particular index is covered. the index to check a Method Pango.Coverage Convert data generated from back to a a a a or if the data was invalid Method System.Void Convert a structure into a flat binary format. a gtk-sharp-2.12.10/doc/en/Pango/AttrGravityHint.xml0000644000175000001440000000256311345266756016557 00000000000000 pango-sharp 2.12.0.0 Pango.Attribute Constructor To be added. To be added. To be added. Property Pango.GravityHint To be added. To be added. To be added. Gravity Hint attribute. To be added. gtk-sharp-2.12.10/doc/en/Pango/EngineShape.xml0000644000175000001440000000333211345266756015635 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Rendering-system dependent script engines The class is implemented by engines that customize the rendering-system dependent part of the Pango pipeline for a particular script or language. A implementation is then specific to both a particular rendering system or group of rendering systems and to a particular script. For instance, there is one implementation to handling shaping Arabic for Fontconfig-based backends. GLib.Opaque Constructor Internal constructor a This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Pango/Direction.xml0000644000175000001440000000713011345266756015367 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents the direction of writing for text System.Enum GLib.GType(typeof(Pango.DirectionGType)) Field Pango.Direction The text is written left-to-right Field Pango.Direction The text is written right-to-left Field Pango.Direction The text is written vertically top-to-bottom, with the rows ordered from left to right Field Pango.Direction The text is written vertically top-to-bottom, with the rows ordered from right to left Field Pango.Direction To be added To be added Field Pango.Direction To be added To be added Field Pango.Direction To be added To be added gtk-sharp-2.12.10/doc/en/Pango/GlyphVisAttr.xml0000644000175000001440000000455611345266756016060 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to communicate information between the shaping phase and the rendering phase. Its contents are still evolving. System.ValueType Field Pango.GlyphVisAttr Returns an empty Method Pango.GlyphVisAttr Internal method an object of type an object of type This is an internal method, and should not be used by user code. Property System.Boolean To be added a To be added gtk-sharp-2.12.10/doc/en/Pango/Attribute.xml0000644000175000001440000001335011345266756015413 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This is the base class for all Pango text attributes System.Object GLib.IWrapper System.IDisposable Method System.Boolean Compare two attributes for equality. a to be tested for equality. if the two attributes have the same value. This compares only the actual value of the two attributes and not the ranges that the attributes apply to. Method Pango.Attribute Make a copy of an attribute. a new Property GLib.GType GType property a Returns the value for Property System.IntPtr Pointer to the raw PangoAttribute structure associated with this object. a To be added Property Pango.AttrType The attribute type a Property System.UInt32 the start index of the range (in bytes). a Property System.UInt32 end index of the range. a The character containing this byte index is not included in the range. Method Pango.Attribute Gets an Attribute or Attribute subclass for a native PangoAttribute pointer a a Method System.Void Dispose method gtk-sharp-2.12.10/doc/en/Pango/Font.xml0000644000175000001440000001774611345266756014373 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to represent a font in a rendering-system-independent matter. GLib.Object Method Pango.FontMetrics Gets overall metric information for a font. language tag used to determine which script to get the metrics for, or to indicate to get the metrics for the entire font. a new object. Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language. Method Pango.Coverage Computes the coverage map for a given font and language tag. the language tag a new Method Pango.EngineShape Finds the best matching shaper for a font for a particular language tag and character point. the language tag the ISO-10646 character code. the best matching shaper. Method Pango.FontDescription Returns a description of the font. a new Method System.Void Gets the logical and ink extents of a glyph within a font. the glyph index a used to store the extents of the glyph as drawn or to indicate that the result is not needed. a used to store the logical extents of the glyph or to indicate that the result is not needed. The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The units of the rectangles are in 1 / of a device unit. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Default constuctor for children of this type. Property Pango.FontMap The FontMap for which the Font was created. a . Method Pango.FontDescription To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/Matrix.xml0000644000175000001440000003230711345266756014717 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A structure specifying a transformation between user-space coordinates and device coordinates. System.ValueType Field Pango.Matrix An empty Pango.Matrix. Field System.Double 1st component of the transformation matrix Field System.Double 2nd component of the transformation matrix Field System.Double 3rd component of the transformation matrix Field System.Double 4th component of the transformation matrix Field System.Double x translation To be added Field System.Double y translation Method Pango.Matrix Creates a new Matrix. a a Method System.Void Changes the transformation represented by the matrix to be the transformation given by first translating by (tx, ty) then applying the original transformation. amount to translate in the X direction amount to translate in the Y direction Method Pango.Matrix Copies a Pango.Matrix a Method System.Void Changes the transformation represented by the matrix to be the transformation given by first applying transformation given by then applying the original transformation. a Method System.Void Changes the transformation represented by the matrix to be the transformation given by first scaling by sx in the X direction and sy in the Y direction then applying the original transformation. amount to scale by in X direction amount to scale by in Y direction Method System.Void Changes the transformation represented by the matrix to be the transformation given by first rotating by degrees degrees counter-clockwise then applying the original transformation. degrees to rotate counter-clockwise Property GLib.GType GType Property. a Returns the native value for . Field Pango.Matrix Can be used to initialize a PangoMatrix to the identity transform. This is the equivalent of PANGO_MATRIX_INIT in C. Method GLib.Value To be added. Converts a matrix to a GLib.Value. a containing the matrix. This operator is primarily for internal use. Method Pango.Matrix a containing a Matrix. Converts a GLib.Value to the Matrix it contains. The Matrix contained in . This operator is primarily for internal use. Property System.Double The scaling factor on the font height. a floating point value where 1.0 indicates no scaling. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/FontFamily.xml0000644000175000001440000001207511345266756015523 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to represent a family of related font faces. The faces in a family share a common design, but differ in slant, weight, width and other aspects. GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.String The name of the family. the name of the family. The name is unique among all fonts for the font backend and can be used in a to specify that a face from this family is desired. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 Lists the different font faces that make up . a a Constructor Protected constructor Property Pango.FontFace[] To be added The font faces that make up . a Property System.Boolean To be added a To be added gtk-sharp-2.12.10/doc/en/Pango/AttrUnderline.xml0000644000175000001440000000422711345266756016233 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing underlining Pango.Attribute Constructor Creates a new underline-style object the underline style Property Pango.Underline The underline style a gtk-sharp-2.12.10/doc/en/Pango/WrapMode.xml0000644000175000001440000000406111345266756015165 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes how to wrap the lines of a to the desired width System.Enum GLib.GType(typeof(Pango.WrapModeGType)) Field Pango.WrapMode Wrap lines at word boundaries Field Pango.WrapMode Wrap line at character boundaries Field Pango.WrapMode Wrap line at word boundaries, but fall back to character boundaries if there is not enough space for a full word gtk-sharp-2.12.10/doc/en/Pango/AttrForeground.xml0000644000175000001440000000552211345266756016417 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing a foreground color Pango.Attribute Constructor Creates a new foreground color attribute. the red value the green value the blue value Constructor Creates a new foreground color attribute. a Property Pango.Color The color represented by this attribute a gtk-sharp-2.12.10/doc/en/Pango/Units.xml0000644000175000001440000000702011345266756014547 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Converts between Device units and Pango Units. System.Object Method System.Int32 Converts from Device units to Pango Units. a a Method System.Int32 Converts from Pango Units to Device Units. a a Method System.Int32 To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/Gravity.xml0000644000175000001440000000401511345266756015073 00000000000000 pango-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Pango.GravityGType)) Field Pango.Gravity To be added. Field Pango.Gravity To be added. Field Pango.Gravity To be added. Field Pango.Gravity To be added. Field Pango.Gravity To be added. Gravity enumeration. To be added. gtk-sharp-2.12.10/doc/en/Pango/AttrBackground.xml0000644000175000001440000000552211345266756016364 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing a background color Pango.Attribute Constructor Creates a new background color attribute. the red value the green value the blue value Constructor Creates a new background color attribute. a Property Pango.Color The color represented by this attribute a gtk-sharp-2.12.10/doc/en/Pango/EngineLang.xml0000644000175000001440000000311411345266756015454 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Rendering-system independent script engines The is implemented by engines that customize the rendering-system independent part of the Pango pipeline for a particular script or language. For instance, a custom could be provided for Thai to implement the dictionary-based word boundary lookups needed for that language. GLib.Opaque Constructor Internal constructor a This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Pango/Rectangle.xml0000644000175000001440000000654311345266756015362 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a rectangle It is frequently used to represent the logical or ink extents of a single glyph or section of text. System.ValueType Field Pango.Rectangle Returns a new Method Pango.Rectangle Internal method an object of type an object of type This is an internal method, and should not be used by user code. Field System.Int32 X coordinate of the left side of the rectangle. Field System.Int32 Y coordinate of the the top side of the rectangle. Field System.Int32 width of the rectangle. Field System.Int32 height of the rectangle. gtk-sharp-2.12.10/doc/en/Pango/Context.xml0000644000175000001440000002617711345266756015107 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Stores global information used to control the itemization process. GLib.Object Method Pango.Font Loads the font in one of the fontmaps in the context that is the closest match for . an object of type describing the font to load the font loaded, or if no font matched. Method Pango.FontMetrics Get overall metric information for a font particular font description. an object of type language tag used to determine which script to get the metrics for, or to indicate to get the metrics for the entire font. a object. Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language. The is interpreted in the same way as by pango_itemize(), and the family name may be a comma separated list of figures. If characters from multiple of these families would be used to render the string, then the returned fonts would be a composite of the metrics for the fonts loaded for the individual families. Method Pango.Fontset Load a set of fonts in the context that can be used to render a font matching . an object of type describing the fonts to load an object of type the fonts will be used for the fontset, or if no font matched. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Pango.FontDescription The default font description for the context. the context's default font description. Property Pango.Language The global language tag for the context. the global language tag. Property Pango.Direction The base direction for the context. the base direction The base direction is used in applying the Unicode bidirectional algorithm; if the direction is or , then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 List all families for a context. a the number of families Constructor Internal constructor This is an internal constructor, and should not be used by user code. Property Pango.FontFamily[] Returns an array of Font Families. a Property Pango.FontMap To be added a To be added Property Pango.Matrix To be added a To be added Property Pango.Gravity To be added. To be added. To be added. Property Pango.Gravity To be added. To be added. To be added. Property Pango.GravityHint To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/TabAlign.xml0000644000175000001440000000262111345266756015130 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This enumeration specifies where a tab stop appears relative to the text Right now, there is only one value in this enumeration. In the future, Right, Center and Numeric may be supported. System.Enum GLib.GType(typeof(Pango.TabAlignGType)) Field Pango.TabAlign The tab stop appears to the left of the text gtk-sharp-2.12.10/doc/en/Pango/Fontset.xml0000644000175000001440000001136011345266756015071 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a set of to use when rendering text. It is the result of resolving a against a particular . It has operations for finding the component font for a particular Unicode character, and for finding a composite set of metrics for the entire fontset. GLib.Object Method Pango.Font Returns the font in the fontset that contains the best glyph for the unicode character . a unicode character a Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Pango.FontMetrics Get overall metric information for the fonts in the fontset. a Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor Method System.Void To be added a To be added gtk-sharp-2.12.10/doc/en/Pango/AttrStrikethrough.xml0000644000175000001440000000441311345266756017145 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute indicating whether or not text is struck-through Pango.Attribute Constructor Creates a new font strike-through attribute if the text should be struck-through Property System.Boolean Whether or not the text is struck-through a gtk-sharp-2.12.10/doc/en/Pango/AttrType.xml0000644000175000001440000002405411345266756015227 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This enumeration is used to distinguish between different types of attributes. This enumeration is used to distinguish between different types of attributes. Along with the predefined values, it is possible to allocate additional values for custom attributes using . The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description. System.Enum GLib.GType(typeof(Pango.AttrTypeGType)) Field Pango.AttrType Invalid This marks it as an invalid attribute Field Pango.AttrType Language () Field Pango.AttrType Font family name list () Field Pango.AttrType Font slant style () Field Pango.AttrType Font weight () Field Pango.AttrType Font variant (normal or small caps) () Field Pango.AttrType Font stretch () Field Pango.AttrType Font size in points divided by () Field Pango.AttrType Font description () Field Pango.AttrType Foreground color () Field Pango.AttrType Background color () Field Pango.AttrType Whether the text has an underline () Field Pango.AttrType Whether the text has an struck-through () Field Pango.AttrType Baseline displacement () Field Pango.AttrType Shape () Field Pango.AttrType Font size scale factor () Field Pango.AttrType Whether fallback is enabled. Field Pango.AttrType Spacing between characters. Field Pango.AttrType Color of the underline. Field Pango.AttrType Color of the strikethrough line. Field Pango.AttrType Absolute font size. Field Pango.AttrType Gravity. Field Pango.AttrType Gravity Hint. gtk-sharp-2.12.10/doc/en/Pango/Stretch.xml0000644000175000001440000001061611345266756015066 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration specifying the width of the font relatives to other designs with the font family System.Enum GLib.GType(typeof(Pango.StretchGType)) Field Pango.Stretch 4x more condensed than Field Pango.Stretch 3x more condensed than Field Pango.Stretch 2x more condensed than Field Pango.Stretch 1x more condensed than Field Pango.Stretch The normal width Field Pango.Stretch 1x more expanded than Field Pango.Stretch 2x more expanded than Field Pango.Stretch 3x more expanded than Field Pango.Stretch 3x more expanded than gtk-sharp-2.12.10/doc/en/Pango/AttrRise.xml0000644000175000001440000000443211345266756015206 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing baseline displacement Pango.Attribute Constructor Creates a new baseline displacement attribute the amount that the text should be displaced vertically, in Pango units. Positive values displace the text upwards Property System.Int32 The amount that the text should be displaced vertically, in Pango units. Positive values displace the text upwards a gtk-sharp-2.12.10/doc/en/Pango/FontMap.xml0000644000175000001440000001371511345266756015021 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents the set of fonts available for a particular rendering system. This is a virtual object with implementations being specific to particular rendering systems. GLib.Object Method Pango.Font Load the font in the fontmap that is the closest match for . a the font will be used with a describing the font to load the font loaded, or if no font matched. Method Pango.Fontset Load a set of fonts in the fontmap that can be used to render a font matching . a the font will be used with a describing the font to load a the fonts will be used for the fontset, or if no font matched. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 List all families for a fontmap. a a Constructor Protected constructor Property Pango.FontFamily[] List all families for a fontmap. a gtk-sharp-2.12.10/doc/en/Pango/LayoutLine.xml0000644000175000001440000002702511345266756015541 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents one of the lines resulting from laying out a paragraph via . s are obtained by calling and are only valid until the text, attributes, or settings of the parent are modified. GLib.Opaque Method System.Void Decreases the reference count of a by one. If the result is zero, the line and all associated memory will be freed. Method System.Boolean Converts from x offset to the byte index of the corresponding character within the text of the layout. the x offset (in ) from the left edge of the line. location to store calculated byte offset for the grapheme in which the user clicked. location to store a integer indicating where in the grapheme the user clicked. It will either be zero, or the number of characters in the grapheme. 0 represents the trailing edge of the cluster. if x_pos was outside the line, if inside If is outside the line, the start or end of the line will be stored at . Method System.Void Computes the logical and ink extents of a layout line. rectangle used to store the extents of the glyph string as drawn or to indicate that the result is not needed. rectangle used to store the logical extents of the glyph string or to indicate that the result is not needed. See the documentation for for details about the interpretation of the rectangles. Method System.Void Computes the logical and ink extents of a layout line. rectangle used to store the extents of the glyph string as drawn or to indicate that the result is not needed. rectangle used to store the logical extents of the glyph string or to indicate that the result is not needed. See the documentation for for details about the interpretation of the rectangles. The returned rectangles are in device units, as opposed to , which returns the extents in . Method System.Int32 Converts an index within a line to a X position. byte offset of a grapheme within the layout Indicates the edge of the grapheme to retrieve the position of. If , the trailing edge of the grapheme, if , the leading of the grapheme. the x_offset (in ) Property Pango.Layout The parent for this line. a Property System.Int32 the start of the line as byte index into . a Property System.Int32 the length of the line in bytes. a Constructor Internal constructor. a This is an internal constructor, and should not be used by user code. Method System.Void Gets a list of visual ranges corresponding to a given logical range. Start byte index of the logical range. If this value is less than the start index for the line, then the first range will extend all the way to the leading edge of the layout. Otherwise it will start at the leading edge of the first character. Ending byte index of the logical range. If this value is greater than the end index for the line, then the last range will extend all the way to the trailing edge of the layout. Otherwise, it will end at the trailing edge of the last character. location to store an array of ranges. The array will be of length 2*n_ranges, with each range starting at (*ranges)[2*n] and of width (*ranges)[2*n + 1] - (*ranges)[2*n]. This array must be freed with g_free(). The coordinates are relative to the layout and are in . This list is not necessarily minimal - there may be consecutive ranges which are adjacent. The ranges will be sorted from left to right. The ranges are with respect to the left edge of the entire layout, not with respect to the line. Property System.Boolean To be added. To be added. To be added. Property System.UInt32 To be added. To be added. To be added. Method Pango.LayoutLine To be added. To be added. To be added. Property GLib.GType The native GLib type value. a . gtk-sharp-2.12.10/doc/en/Pango/Weight.xml0000644000175000001440000000663611345266756014710 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration specifying the weight (boldness) of a font This is a numerical value ranging from 100 to 900, but there are two predefined values. System.Enum GLib.GType(typeof(Pango.WeightGType)) Field Pango.Weight The ultralight weight (200) Field Pango.Weight The light weight (300) Field Pango.Weight The default weight (400) Field Pango.Weight The bold weight (700) Field Pango.Weight The ultrabold weight (800) Field Pango.Weight The heavy weight (900) Field Pango.Weight To be added To be added gtk-sharp-2.12.10/doc/en/Pango/AttrFallback.xml0000644000175000001440000000521711345266756016005 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing the font fallback state Pango.Attribute Constructor Creates a new font fallback attribute a If fallback is disabled, characters will only be used from the closest matching font on the system. No fallback will be done to other fonts on the system that might contain the characters in the text. Property System.Boolean Whether or not font fallback is enabled a If , characters will only be used from the closest matching font on the system. If , fallback will be done to other fonts on the system that might contain the characters in the text. gtk-sharp-2.12.10/doc/en/Pango/GlyphInfo.xml0000644000175000001440000000575411345266756015360 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a single glyph together with positioning information and visual attributes. System.ValueType Field Pango.GlyphInfo Returns an empty Method Pango.GlyphInfo Internal method an object of type an object of type This is an internal method, and should not be used by user code. Field System.UInt32 the glyph itself. Field Pango.GlyphGeometry the positional information about the glyph. Field Pango.GlyphVisAttr the visual attributes of the glyph. gtk-sharp-2.12.10/doc/en/Pango/FontMask.xml0000644000175000001440000000655111345266756015177 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. TThe bits in a PangoFontMask correspond to fields in a PangoFontDescription that have been set. System.Enum GLib.GType(typeof(Pango.FontMaskGType)) System.Flags Field Pango.FontMask The font family is specified Field Pango.FontMask The font style is specified Field Pango.FontMask The font variant is specified Field Pango.FontMask The font weight is specified Field Pango.FontMask The font stretch is specified Field Pango.FontMask The font size is specified Field Pango.FontMask Gravity is specified. gtk-sharp-2.12.10/doc/en/Pango/GravityHint.xml0000644000175000001440000000276011345266756015723 00000000000000 pango-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Pango.GravityHintGType)) Field Pango.GravityHint To be added. Field Pango.GravityHint To be added. Field Pango.GravityHint To be added. Gravity Hint enumeration. To be added. gtk-sharp-2.12.10/doc/en/Pango/Item.xml0000644000175000001440000001644411345266756014355 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Stores information about a segment of text. GLib.Opaque Field Pango.Item Returns an empty System.Obsolete("Pango.Item is a reference type now, use null") Constructor Creates a new Item Method Pango.Item Obsolete: replaced by ordinary constructor a new Constructor Internal method. an object of type This is an internal method, and should not be used by user code. Method Pango.Item Obsolete internal constructor an object of type an object of type This is an internal method, and should not be used by user code. Method Pango.Item Copy an existing structure. a new Method Pango.Item Modifies orig to cover only the text after , and returns a new item that covers the text before that used to be in orig. byte index of position to split item, relative to the start of the item number of chars between start of orig and new item representing text before You can think of as the length of the returned item. may not be 0, and it may not be greater than or equal to the length of orig (that is, there must be at least one byte assigned to each item, you cannot create a zero-length item). is the length of the first item in chars, and must be provided because the text used to generate the item is not available, so cannot count the char length of the split items itself. Property System.Int32 the offset of the segment from the beginning of the string in bytes. the offset of the segment from the beginning of the string in bytes. Property System.Int32 the length of the segment in bytes. the length of the segment in bytes. Property System.Int32 the length of the segment in characters. the length of the segment in characters. Property Pango.Analysis the properties of the segment. the properties of the segment. Property GLib.GType Native GLib type value. a . gtk-sharp-2.12.10/doc/en/Pango/AttrSize.xml0000644000175000001440000000700411345266756015214 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute that represents a font size. Pango.Attribute Constructor Creates a new font-size attribute in fractional points the font size, in units of Constructor Creates a new font-size attribute in Pango or device units the font size, in Pango or device units if , is in device units Property System.Int32 The font size a If is , this is the font size in device units. If it is , this is the font size in units of 1/ of a point. Property System.Boolean Whether or not is in device units a gtk-sharp-2.12.10/doc/en/Pango/GlyphString.xml0000644000175000001440000003070311345266756015723 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to store strings of glyphs with geometry and visual attribute information. GLib.Opaque Field System.Obsolete("Pango.GlyphString is a reference type now, use null") Pango.GlyphString Obsolete: just use now. Constructor Creates a new object. Method Pango.GlyphString Obsolete. Replaced by an ordinary constructor a object. Constructor Internal method an object of type This is an internal method, and should not be used by user code. Method Pango.GlyphString Obsolete internal constructor an object of type a object. Method Pango.GlyphString Copies one into a new object. a To be added. Method System.Void Computes the logical and ink extents of this glyph string. a for rendering the string a used to store the extents of the glyph as drawn or to indicate that the result is not needed. a used to store the logical extents of the glyph or to indicate that the result is not needed. The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The units of the rectangles are in 1 / of a device unit. Method System.Void Computes the logical and ink extents of a sub-section of this glyph string. an integer for the start index an integer for the end index a for rendering the string a used to store the extents of the glyph as drawn or to indicate that the result is not needed. a used to store the logical extents of the glyph or to indicate that the result is not needed. The extents are relative to the start of the glyph string range, not to the start of the glyph string. Property System.Int32 Resizes this GlyphString to the given length. The new length of the string. To be added. Method System.Void Convert from x offset to character position. a , the text for the run a , the analysis for the run the X offset in Pango glyph units. a , for storing the calculated byte index a for storing whether the user clicked on the leading or trailing edge of the character. Character positions are computed by dividing up each cluster into equal portions. In scripts where positioning within a cluster is not allowed (such as Thai), the returned value may not be a valid cursor position; the caller must combine the result with the logical attributes for the text to compute the valid cursor position. Property GLib.GType GType Property. a Returns the native value for . Property System.Int32 the number of glyphs in the string. the number of glyphs in the string. Method System.Int32 Convert from character position to X position. a , the text for the run a , the analysis for the run a , the byte index within the text. a whether to compute from trailing edge (true) or leading edge (false) of the character Converts from character position to x position. (X position is measured from the left edge of the run). Character positions are computed by dividing up each cluster into equal portions. To be added. Method System.Int32 Determine the screen width corresponding to each character in a string. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters. a to process a , the embedding level of the string a , a pointer to an array of logical widths for each character. Property System.Int32 Width property. The logical width of the glyph string. gtk-sharp-2.12.10/doc/en/Pango/FontMetrics.xml0000644000175000001440000001632111345266756015706 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Holds the overall metric information for a font (possibly restricted to a script). GLib.Opaque Method System.Void Decreases the reference count of a font metrics structure. If the result is zero, frees the structure and any associated memory. Method Pango.FontMetrics Increases the reference count of a font metrics structure. an object of type Property System.Int32 The approximate character width for a font metrics structure. the character width, in pango units. This is merely a representative value useful, for example, for determining the initial size for a window. Actual characters in text will be wider and narrower than this. Property System.Int32 The ascent from a font metrics structure. the ascent, in pango units. The ascent is the distance from the baseline to the logical top of a line of text. (The logical top may be above or below the top of the actual drawn ink. It is necessary to lay out the text to figure where the ink will be.) Property System.Int32 The approximate digit width for a font metrics structure. the digit width, in pango units. This is merely a representative value useful, for example, for determining the initial size for a window. Actual digits in text can be wider and narrower than this. Property System.Int32 The descent from a font metrics structure. the descent, in pango units. The descent is the distance from the baseline to the logical bottom of a line of text. (The logical bottom may be above or below the bottom of the actual drawn ink. It is necessary to lay out the text to figure where the ink will be.) Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is an internal constructor, and should not be used by user code. Property System.Int32 To be added a To be added Property System.Int32 To be added a To be added Property System.Int32 To be added a To be added Property System.Int32 To be added a To be added gtk-sharp-2.12.10/doc/en/Pango/AttrVariant.xml0000644000175000001440000000417611345266756015715 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing Pango.Attribute Constructor Creates a new font variant attribute the variant Property Pango.Variant The variant a gtk-sharp-2.12.10/doc/en/Pango/LogAttr.xml0000644000175000001440000002336311345266756015031 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Stores information about the attributes of a single character. System.ValueType Field Pango.LogAttr Returns an empty Method Pango.LogAttr Internal method an object of type an object of type This is an internal method, and should not be used by user code. Property System.Boolean Whether or not a line break is allowed before this character. a Property System.Boolean Whether or not a line break is required before this character. a Property System.Boolean Whether or not a break is allowed before this character when doing character wrap. a Property System.Boolean Whether or not this is a whitespace character. a Property System.Boolean Whether or not the cursor can appear in front of this character. a Property System.Boolean Whether or not this is the first character in a word. a Note that in degenerate cases, you could have both this propery and set on the same character, most likely for sentences (e.g. no space after a period, so the next sentence starts right away) Property System.Boolean Whether or not this is the first non-word character after a word. a Note that in degenerate cases, you could have both this propery and set on the same character, most likely for sentences (e.g. no space after a period, so the next sentence starts right away) Property System.Boolean Whether or not this character is a sentence boundary. a There are two ways to divide sentences. The first assigns all intersentence whitespace/control/format chars to some sentence, so all characters are in some sentence; denotes the boundaries in this case. See and for the other method. Property System.Boolean Whether or not this is the first character in a sentence. a There are two ways to divide sentences. The first is the method used by (qv). The second way is to consider intersentence characters to not be part of any sentence, in which case identifies the first character in a sentence and identifies the first non-sentence character after a sentence. Property System.Boolean Whether or not this is the first non-sentence character after a sentence. a There are two ways to divide sentences. The first is the method used by (qv). The second way is to consider intersentence characters to not be part of any sentence, in which case identifies the first character in a sentence and identifies the first non-sentence character after a sentence. Property System.Boolean Whether Backspace deletes individual characters rather than complete grapheme clusters. a Property System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/AttrStyle.xml0000644000175000001440000000416211345266756015404 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing a Pango.Attribute Constructor Creates a new font slant syle attribute the slant style Property Pango.Style The font slant style a gtk-sharp-2.12.10/doc/en/Pango/Language.xml0000644000175000001440000001213311345266756015171 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to represent a language. GLib.Opaque Method Pango.Language Take a RFC-3066 format language tag as a string and convert it to a a string representing a language tag a This function first canonicalizes the string by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and '-'. Method System.Boolean Checks if a language tag matches one of the elements in a list of language ranges. a list of language ranges, separated by ';' characters. each element must either be '*', or a RFC 3066 language range canonicalized as by . if a match was found. A language tag is considered to match a range in the list if the range is '*', the range is exactly the tag, or the range is a prefix of the tag, and the character after the tag is '-'. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.String A sample a Property GLib.GType GType Property. a Returns the native value for . Method System.Boolean To be added a a To be added Property Pango.Language Default language property. The default . gtk-sharp-2.12.10/doc/en/Pango/ScriptIter.xml0000644000175000001440000001042311345266756015536 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to iterate through a string and identify ranges in different scripts. GLib.Opaque Method System.Void Obsolete. Do not use is properly garbage-collected now. You do not need to manually free it. Method System.Boolean Advances a to the next range. a , if the iter was succesfully advanced. If the iter is already at the end, it is left unchanged and is returned. Constructor Internal constructor a Constructor Creates a new from . a Method System.Void On return, contains the index of the start of the current range. On return, contains the length of the current range. On return, contains the script type of the current range. Gets the bounds and script type of the current range. gtk-sharp-2.12.10/doc/en/Pango/Scale.xml0000644000175000001440000001720311345266756014500 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Scale factors. System.Object Field System.Double Represents the scale between dimensions used for Pango distances and device units. The definition of device units is dependent on the output device; it will typically be pixels for a screen, and points for a printer. This is currently 1024, but this may be changed in the future. When setting font sizes, device units are always considered to be points (as in "12 point font"), rather than pixels. 1024 Field System.Double The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)). 0.5787037037037 Field System.Double The scale factor for two shrinking steps (1 / (1.2 * 1.2)). 0.6444444444444 Field System.Double The scale factor for one shrinking step (1 / 1.2). 0.8333333333333 Field System.Double The scale factor for normal size (1.0). 1 Field System.Double The scale factor for one magnification step (1.2). 1.2 Field System.Double The scale factor for two magnification steps (1.2 * 1.2). 1.4399999999999 Field System.Double The scale factor for three magnification steps (1.2 * 1.2 * 1.2). 1.728 Constructor Default constructor Field System.Double Obsolete alias for . System.Obsolete("Replaced by XXSmall") 0.5787037037037 Field System.Double Obsolete alias for . System.Obsolete("Replaced by XSmall") 0.6444444444444 Field System.Double Obsolete alias for . System.Obsolete("Replaced by XLarge") 1.4399999999999 Field System.Double Obsolete alias for . System.Obsolete("Replaced by XXLarge") 1.728 gtk-sharp-2.12.10/doc/en/Pango/TabArray.xml0000644000175000001440000002022711345266756015156 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. an object containing an array of tab stops. Each tab stop has an alignment and a position. GLib.Opaque Method Pango.TabArray Copies the existing to a new one. an object of type Method System.Void Sets the size of the tab array to the value specified by . the new size of the array You must subsequently initialize any tabs that were added to the array. Method System.Void Frees all the resources for this object. Method System.Void Sets the specified and of the tab stop specified by . the index of a tab stop the tab alignment the tab location in pango units The value of must always be in the current implementation. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor an object containing an array of tab stops Initial number of tab stops to allocate, can be 0 if the tab positions are in pixel units Creates a new with the number of tab stops specified by . If is , the tab stop positions are specified in pixel units otherwise in pango units. All tab stops are initially at position 0. Property System.Boolean returns if the tab positions are specified in pixels and if they are in pango units. an object of type Property System.Int32 returns the number of tab stops in the tab array. the number of tab stops in the array. Method System.Void Gets the alignment and position of the tab stop specified by . the tab stop index a a , the position in Pango units. To be added. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Gets the an array of alignments and positions. an array of indicating the alignment of each tab stop. an array of indicating the location of each tab stop in pango units. gtk-sharp-2.12.10/doc/en/Pango/Style.xml0000644000175000001440000000362311345266756014552 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration specific the various slant styles possible for a font System.Enum GLib.GType(typeof(Pango.StyleGType)) Field Pango.Style The font is upright Field Pango.Style The font is slanted, but in a roman style Field Pango.Style The font is slanted in an italic style gtk-sharp-2.12.10/doc/en/Pango/FontsetForeachFunc.xml0000644000175000001440000000316711345266756017203 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Used by when enumerating the fonts in a fontset. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Pango/Color.xml0000644000175000001440000001437611345266756014537 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This structure is used to represent a color in an uncalibrated RGB colorspace. System.ValueType Field Pango.Color Returns an empty object. To be added. Method Pango.Color Internal method an object of type an object of type This is an internal method, and should not be used by user code. Method System.Boolean Fill in the fields of a color from a string specification. a string specifying the new color if parsing of the specifier succeeded, otherwise false. The string can either one of a large set of standard names. (Taken from the X11 rgb.txt file), or it can be a hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff') Method Pango.Color Creates a copy of the . an object of type Property GLib.GType GType Property. a Returns the native value for . Field System.UInt16 The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. Field System.UInt16 The green component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. Field System.UInt16 The blue component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. Method GLib.Value To be added. To be added. To be added. To be added. Method Pango.Color To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/AttrUnderlineColor.xml0000644000175000001440000000555311345266756017235 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing the color of an underline Pango.Attribute Constructor Creates a new underline color attribute. the red value the green value the blue value Constructor Creates a new underline color attribute. a Property Pango.Color The color represented by this attribute a gtk-sharp-2.12.10/doc/en/Pango/AttrLanguage.xml0000644000175000001440000000335711345266756016034 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute that represents a language Pango.Attribute Constructor Creates a new language tag attribute a Property Pango.Language The language represented by this attribute a gtk-sharp-2.12.10/doc/en/Pango/AttrFilterFunc.xml0000644000175000001440000000212111345266756016336 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. used by to filter out a subset of attributes for a list. Returns if the attribute should be filtered out To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Pango/AttrShape.xml0000644000175000001440000000517211345266756015346 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute that imposes a shape restriction. Pango.Attribute Constructor Creates a new shape attribute a a A shape is used to impose a particular ink and logical rectangle on the result of shaping a particular glyph. This might be used, for instance, for embedding a picture or a widget inside a . Property Pango.Rectangle The ink rectangle to restrict to a Property Pango.Rectangle The logical rectangle to restrict to a gtk-sharp-2.12.10/doc/en/Pango/Underline.xml0000644000175000001440000000607611345266756015404 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This enumeration is used to specify whether text should be underlined, and if so, the type of underlining. System.Enum GLib.GType(typeof(Pango.UnderlineGType)) Field Pango.Underline No underline should be drawn Field Pango.Underline A single underline should be drawn Field Pango.Underline A double underline should be drawn Field Pango.Underline A single underline should be drawn at a position beneath the ink extedn of the text being underlined This should be used only for underlining single characters, such as for keyboard accelerators. should be used for extended portions of text Field Pango.Underline To be added To be added gtk-sharp-2.12.10/doc/en/Pango/AttrFamily.xml0000644000175000001440000000424211345266756015524 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing a font family Pango.Attribute Constructor Creates a new font family attribute the family or comman-separated list of families Property System.String The font family, or comma-separated list of families a gtk-sharp-2.12.10/doc/en/Pango/AttrWeight.xml0000644000175000001440000000415411345266756015534 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing Pango.Attribute Constructor Creates a new font weight attribute the weight Property Pango.Weight The weight a gtk-sharp-2.12.10/doc/en/Pango/AttrIterator.xml0000644000175000001440000001525111345266756016076 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to represent an iterator through a . A new iterator is created with . Once the iterator is created, it can be advanced through the style changes in the text using . At each style change, the range of the current style segment and the attributes currently in effect can be queried. GLib.Opaque Method System.Void Destroy a and free all associated memory. Method System.Boolean Advance the iterator until the next change of style. if the iterator is at the end of the list, otherwise Method Pango.AttrIterator Make a copy of the iterator. a Method Pango.Attribute Find the current attribute of a particular type at the iterator location. the type of attribute to find. the current attribute of the given type, or if no attribute of that type applies to the current location. When multiple attributes of the same type overlap, the attribute whose range starts closest to the current location is used. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Method System.Void Get the range of the current segment. location to store the start of the range location to store the end of the range Property Pango.Attribute[] Gets a list all attributes a the current position of the iterator. a a list of all attributes for the current range. Method System.Void Get the font and other attributes at the current iterator position. a to fill in with the current values. The family name in this structure will be set using using values from an attribute in the associated with the iterator, so if you plan to keep it around, you must call: . if non-, location to store language tag for item, or if non is found. if non-, location in which to store a list of non-font attributes at the the current position; only the highest priority value of each attribute will be added to this list. gtk-sharp-2.12.10/doc/en/Pango/AttrFontDesc.xml0000644000175000001440000000350511345266756016011 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute that represents a Pango.Attribute Constructor Creates a new font description attribute a Property Pango.FontDescription The font description which is the value of this attribute a gtk-sharp-2.12.10/doc/en/Pango/Variant.xml0000644000175000001440000000315211345266756015053 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration specifying capitalization variant of the font System.Enum GLib.GType(typeof(Pango.VariantGType)) Field Pango.Variant A normal font Field Pango.Variant A font with the lower case characters replaced by smaller variants of the capital letters gtk-sharp-2.12.10/doc/en/Pango/AttrScale.xml0000644000175000001440000000420511345266756015331 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing a font size scaling factor Pango.Attribute Constructor Creates a new font size scale attribute the factor to scale the font by Property System.Double The factor to scale the font by a gtk-sharp-2.12.10/doc/en/Pango/Analysis.xml0000644000175000001440000002067111345266756015237 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This structure stores information about the properties of a segment of text. System.ValueType Field Pango.Analysis returns a new Method Pango.Analysis Internal method an object of type an object of type This is an internal method, and should not be used by user code. Property Pango.Language The an object of type Replaced by . System.Obsolete("Replaced by Language property") Property Pango.Font the an object of type Replaced by . System.Obsolete("Replaced by Font property") Field System.Byte The bi-directional level for this segment. Property Pango.EngineShape The engine for doing rendering-system-dependent processing. a Replaced by . System.Obsolete("Replaced by ShapeEngine property") Property Pango.EngineLang The engine for doing rendering-system-independent processing. a Replaced by . System.Obsolete("Replaced by LangEngine property") Property Pango.Attribute[] Extra attributes related to the segment. An array of values. Property Pango.EngineShape The engine for doing rendering-system-dependent processing. a Property Pango.EngineLang The engine for doing rendering-system-independent processing. a Property Pango.Font the an object of type Property Pango.Language The an object of type Field System.Byte To be added. To be added. Field System.Byte To be added. To be added. Field System.Byte To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/CairoShapeRendererFunc.xml0000644000175000001440000000167411345266756017777 00000000000000 pango-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. CairoShape renderer callback delegate. To be added. gtk-sharp-2.12.10/doc/en/Pango/CoverageLevel.xml0000644000175000001440000000567011345266756016201 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to indicate how well a font can represent a particular ISO 10646 character point for a particular scrpt System.Enum GLib.GType(typeof(Pango.CoverageLevelGType)) Field Pango.CoverageLevel The character is not representable with the font Field Pango.CoverageLevel The character is represented in a way that may be comprehensible but is not the correct graphical form The character is represented in a way that may be comprehensible but is not the correct graphical form. For instance, a Hangul character represented as a a sequence of Jamos, or a Latin transliteration of a Cyrillic word. Field Pango.CoverageLevel The character is represented as basically the correct graphical form, but with a stylistic variant inappropriate for the current script Field Pango.CoverageLevel The character is represented as the correct graphical form. gtk-sharp-2.12.10/doc/en/Pango/FontDescription.xml0000644000175000001440000004612311345266756016566 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents the description of an ideal font. This class is used both to list what fonts are available on the system and also for specifying the characteristics of a font to load. GLib.Opaque Method Pango.FontDescription Creates a new font description from a string representation. The string representation of the font description. The object of type created. The form of the string representation is "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where: FAMILY-LIST is a comma separated list of families optionally terminated by a comma.STYLE-OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, or stretch.SIZE is a decimal number (size in points) Any one of the options may be absent. If FAMILY-LIST is absent, then the family_name field of the resulting font description will be initialized to NULL. If STYLE-OPTIONS is missing, then all style options will be set to the default values. If SIZE is missing, the size in the resulting font description will be set to 0. Method Pango.FontDescription Make a copy of an object of type Method System.Boolean Determines which better matches the current instance. a object a object if new_match is a better match. Determines if the style attributes of new_match are a closer match for the current instance than old_match, or if old_match is , determines if new_match is a match at all. Approximate matching is done for weight and style; other attributes must match exactly. Method System.Void Frees a font description. Method System.Void Merges the fields of a font description into the current instance without copying the field data (shallow copy). an object of type an object of type Like , but only a shallow copy is made of the family name and other allocated fields. desc can only be used until is modified or freed. This is meant to be used when the merged font description is only needed temporarily. Method System.String Creates a filename representation of a font description. an object of type The filename created is identical to the result from calling , but with underscores instead of characters that are untypical in filenames, and in lower case only. Method System.Void Merges the fields of a font description into the current instance. The to merge from. If , replace fields in current instance with the corresponding values from , even if they are already exist. Method Pango.FontDescription Make a copy of an object of type Like , but only a shallow copy is made of the family name and other allocated fields. The result can only be used until it is modified or freed. This is meant to be used when the copy is only needed temporarily. Method System.Boolean Compares two font descriptions for equality. an object of type to test for equality an object of type if the two font descriptions are proveably identical. (Two font descriptions may result in identical fonts being loaded, but still compare .) Method System.Void Unsets some of the fields in the . an object of type (bitmask of fields in the desc to unset). This merely marks the fields cleared, it does not clear the settings for those fields. To clear a family name set with so that it won't be returned by , you must actually set to . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor Property Pango.Style The style of the font. the style for the font description Most fonts will either have a italic style or an oblique style, but not both, and font matching in Pango will match italic specifications with oblique fonts and vice-versa if an exact match is not found. Property Pango.Stretch The stretch of the font. the stretch field for the font description. The stretch property specifies how narrow or wide the font should be. Property Pango.FontMask Determines which fields in the font description have been set. a corresponding to the fields that have been set. Property System.Int32 The size of the font in fractional points. The size field for the font description scaled by . Setting this field is in fractional points. When getting the Size the value is either in points or device units. Use to find out which is the case. Returns 0 if the size field has not previously been set. Use to find out if the field was explicitly set or not. There are pango units in one device unit - for fonts, font points are the device unit. Therefore, the size of the font in points is / . Use if you need to set a particular size in device units Property System.String Sets the family name of the font without copying the string. The family name represents a family of related font styles, and will resolve to a particular . In some uses of , it is also possible to use a comma separated list of family names for this property. Property Pango.Variant The variant of the font. the variant type for the font description. Property Pango.Weight The weight (boldness) of the font. the weight for the font description. The weight property specifies how bold or light the font should be. In addition to the values of the enumeration, other intermediate numeric values are possible. Property System.String The family name of the font. The family name field. (Will be if not previously set.) The family name represents a family of related font styles, and will resolve to a particular . In some uses of , it is also possible to use a comma separated list of family names for this property. Property System.UInt32 Computes a hash of a structure suitable to be used. the hash value. Property GLib.GType GType Property. a Returns the native value for . Property System.Boolean Determines whether the size of the font is in points (not absolute) or device units (absolute). a , indicating whether the Size for the FontDescription is in points or device units. See and . Property System.Double The size of the font in device units. A , the new size in Pango units. There are Pango units in one device unit. For an output backend where a device unit is a pixel, an AbsoluteSize value of 10 * gives a 10 pixel font. Property Pango.Gravity Gravity orientation of the font. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/GlyphGeometry.xml0000644000175000001440000000577611345266756016264 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Contains width and positioning information for a single glyph. System.ValueType Field Pango.GlyphGeometry Returns a new Method Pango.GlyphGeometry Internal method an object of type an object of type This is an internal method, and should not be used by user code. Field System.Int32 the logical width to use for the the character. Field System.Int32 horizontal offset from nominal character position. Field System.Int32 vertical offset from nominal character position. gtk-sharp-2.12.10/doc/en/Pango/AttrStretch.xml0000644000175000001440000000416111345266756015717 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing font stretch Pango.Attribute Constructor Creates a new font stretch attribute the stretch Property Pango.Stretch The font stretch a gtk-sharp-2.12.10/doc/en/Pango/EllipsizeMode.xml0000644000175000001440000000611311345266756016214 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes what sort of (if any) ellipsization should be applied to a line of text. In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis. System.Enum GLib.GType(typeof(Pango.EllipsizeModeGType)) Field Pango.EllipsizeMode No ellipsization To be added Field Pango.EllipsizeMode Omit characters at the start of the text To be added Field Pango.EllipsizeMode Omit characters in the middle of the text To be added Field Pango.EllipsizeMode Omit characters at the end of the text To be added gtk-sharp-2.12.10/doc/en/Pango/FontFace.xml0000644000175000001440000001234711345266756015142 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. GLib.Object Method Pango.FontDescription Returns the family, style, variant, weight and stretch of a . a newly-created structure holding the description of the face. The size field of the resulting font description will be unset. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.String A name representing the style of this face among the different faces in the for the face. the face name for the fontface. This name is unique among all faces in the family and is suitable for displaying to users. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor Method System.Void To be added a a To be added Property System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/AttrList.xml0000644000175000001440000002116011345266756015214 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a list of attributes that apply to a section of text. The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through , the overlap between properties will meet stricter criteria. Since the is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single for more than one paragraph of text. GLib.Opaque Method Pango.AttrList Copy list and return an identical, new list. a new Method System.Void Insert the given attribute into the list. a It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical. This function is slower than for creating a attribute list in order (potentially much slower for large lists). However, is not suitable for continually changing a set of attributes since it never removes or combines existing attributes. Method System.Void Insert the given attribute into the list. the attribute to insert. It will be inserted before all other attributes with a matching start_index. Method System.Void Decrease the reference count of the given attribute list by one. If the result is zero, free the attribute list and the attributes it contains. Method System.Void This function splices attribute list into list. another the position at which to insert the length of the spliced segment. This operation is equivalent to stretching every attribute applies at position in list by an amount , and then calling with a copy of each attributes in other in sequence (offset in position by ). This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer. Method System.Void Insert the given attribute to the list the attribute to insert. It will be inserted after all other attributes with a matching start_index. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor Property Pango.AttrIterator Create a iterator initialized to the beginning of the list. a new Method Pango.AttrList Given a callback function, removes any elements of list for which returns and inserts them into a new list. a a Property GLib.GType GType Property. a Returns the native value for . Method Pango.AttrList Increases the reference count of the list. The list. gtk-sharp-2.12.10/doc/en/Pango/CairoHelper.xml0000644000175000001440000003043111345266756015644 00000000000000 pango-sharp 2.12.0.0 System.Object Constructor Do not use. No instance methods exist for this class. Method System.Void a Cairo context. The layout to render. Renders the contents of a Layout on a context. The top left corner of the Layout is located at the current point of the context. Method System.Void a cairo context. a line in a layout. Renders a layout line on a context. The origin of the glyphs is located at the current point of the context. Method System.Void a cairo context. a layout line. Adds the glyphs in a line to the current path of a context. The origin of the glyphs is located at the current point of the context. Method System.Void a cairo context. a Pango context. Updates a Pango context to match the transformation and target surface of a cairo context. Method System.Double a Pango context. Gets the resolution for a context. the dots per inch, or a negative value if none has been set. Method System.Void a cairo context. a font. a glyph string. Adds a glyph string to the current path of a cairo context. The origin of the glyph string is the current point of the context. Method System.Void a pango context. dots per inch. Sets the resolution for a context. Method Pango.Layout a cairo context. Creates a pango layout for a cairo context. a pango layout. Method System.Void a cairo context. a font. a glyph string. Renders a glyph string to a cairo context. The origin of the glyph string is located at the current point of the context. Method System.Void a cairo context. a pango layout. Updates the internal context of a pango layout to the transformation and target surface of a cairo context. Method System.Void To be added. To be added. Adds the contents of a layout to the path of a cairo context. The layout origin is located at the current point of the cairo context. Method Pango.CairoShapeRendererFunc To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Cairo-related method provider. gtk-sharp-2.12.10/doc/en/Pango/AttrStrikethroughColor.xml0000644000175000001440000000561711345266756020153 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute representing the color of a strikethrough line Pango.Attribute Constructor Creates a new strikethrough color attribute. the red value the green value the blue value Constructor Creates a new strikethrough color attribute. a Property Pango.Color The color represented by this attribute a gtk-sharp-2.12.10/doc/en/Pango/Layout.xml0000644000175000001440000010411711345266756014727 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. High-level driver for formatting entire paragraphs of text at once. While complete access to the layout capabilities of Pango is provided using the detailed interfaces for itemization and shaping, using that functionality directly involves writing a fairly large amount of code. The objects and functions in provide a high-level driver for formatting entire paragraphs of text at once. The represents and entire paragraph of text. It is initialized with a , UTF-8 string and set of attributes for that string. Once that is done, the set of formatted lines can be extracted from the object, the layout can be rendered, and conversion between logical character positions within the layout's text, and the physical position of the resulting glyphs can be made. There are also a number of parameters to adjust the formatting of a . It is possible, as well, to ignore the 2-D setup, and simply treat the results of a as a list of lines. using System; using Gtk; using Pango; class LayoutSample : DrawingArea { Pango.Layout layout; static void Main () { Application.Init (); new LayoutSample (); Application.Run (); } LayoutSample () { Window win = new Window ("Layout sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += OnWinDelete; this.Realized += OnRealized; this.ExposeEvent += OnExposed; win.Add (this); win.ShowAll (); } void OnExposed (object o, ExposeEventArgs args) { this.GdkWindow.DrawLayout (this.Style.TextGC (StateType.Normal), 100, 150, layout); } void OnRealized (object o, EventArgs args) { layout = new Pango.Layout (this.PangoContext); layout.Wrap = Pango.WrapMode.Word; layout.FontDescription = FontDescription.FromString ("Tahoma 16"); layout.SetMarkup ("Hello Pango.Layout"); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } GLib.Object Method System.Void Computes a new cursor position from an old position and a count of positions to move visually. whether the moving cursor is the strong cursor or the weak cursor. The strong cursor is the cursor corresponding to text insertion in the base direction for the layout. the byte index of the grapheme for the old index if 0, the cursor was at the trailing edge of the grapheme indicated by old_index, if > 0, the cursor was at the leading edge. direction to move cursor. A negative value indicates motion to the left. location to store the new cursor byte index. A value of -1 indicates that the cursor has been moved off the beginning of the layout. A value of G_MAXINT indicates that the cursor has been moved off the end of the layout. number of characters to move forward from the location returned for to get the position where the cursor should be displayed. This allows distinguishing the position at the beginning of one line from the position at the end of the preceding line. is always on the line where the cursor should be displayed. If is positive, then the new strong cursor position will be one position to the right of the old cursor position. If is negative then the new strong cursor position will be one position to the left of the old cursor position. In the presence of bi-directional text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run. Motion here is in cursor positions, not in characters, so a single call may move the cursor over multiple characters when multiple characters combine to form a single grapheme. Method System.Void Set the text of the layout. an object of type Method System.Void Determine the logical width and height of a in device units. an object of type an object of type Method System.Void Computes the logical and ink extents rectangle used to store the extents of the layout as drawn or to indicate that the result is not needed. rectangle used to store the logical extents of the layout or to indicate that the result is not needed. Logical extents are usually what you want for positioning things. The extents are given in layout coordinates; layout coordinates begin at the top left corner of the layout. Method Pango.Rectangle Obtains the graphical position of an offset in the . a byte offset within the text buffer. a representing the position of the grapheme associated with . The X coordinate of the resulting represents the leading edge of the grapheme. If the direction of the grapheme is right to left, the Width value will be negative. Method System.Void Sets the layout text and attribute list from marked-up text (see markup format). marked-up text Replaces the current text and attribute list. Method System.Void Compute the logical and ink extents of layout. Rectangle used to store the extents of the layout as drawn. Rectangle used to store the logical extents of the layout. Logical extents are usually what you want for positioning things. The extents are given in layout coordinates; layout coordinates begin at the top left corner of the layout. Method Pango.Layout Copies an existing layout into a new one. an object of type Method System.Void Determines the logical width and height of a in Pango units (device units divided by ). location to store the logical width, or location to store the logical height, or This is simply a convenience function around . Method System.Void Given an index within a layout, determines the positions that of the strong and weak cursors if the insertion point is at that index. the byte index of the cursor location to store the strong cursor position (may be ) location to store the weak cursor position (may be ) The position of each cursor is stored as a zero-width rectangle. The strong cursor location is the location where characters of the directionality equal to the base direction of the layout are inserted. The weak cursor location is the location where characters of the directionality opposite to the base direction of the layout are inserted. Method System.Boolean Convert from X and Y position within a layout to the byte index to the character at that logical position. a , the X offset (in thousandths of a device unit) from the left edge of the layout. a , the Y offset (in thousandths of a device unit) from the top edge of the layout. a for storing the calculated byte index a to store where in the grapheme the user clicked. It will either be zero or the number of characters in the grapheme. 0 represents the trailing edge of the grapheme. a , true if the coordinates are inside the Layout. To be added. Method System.Void Forces recomputation of any state in the that might depend on the layout's context. This function should be called if you make changes to the context subsequent to creating the layout. Method Pango.LayoutLine Retrieves a particular line. the index of a line. the requested , or null if the index is out of range. This layout line can be referenced and retained, but will become invalid if changes are made to the Layout. Constructor Internal constructor Pointer to the C object. This is an internal constructor and should not be used by user code. System.Obsolete Constructor Create a new PangoLayout object with attributes initialized to default values for a particular . a . Constructor Create a new PangoLayout object with attributes initialized to default values for a particular . a . Property GLib.GType GType Property. a Returns the native value for . Property Pango.FontDescription The default font description for the layout. a If no font description is set on the layout, the font description from the layout's context is used. Property Pango.WrapMode Gets or sets the wrap mode Active wrap mode. The wrap mode only has an effect if a width is set on the layout using . To turn off wrapping, set the width to -1. Property System.String Sets the text of the layout. a in UTF-8 encoding. Property System.Int32 Sets the width to which the lines of the Layout should be wrapped. an object of type Property Pango.Alignment Set or return the alignment for lines within the layout that do not take up the full width. an object of type an object of type Property System.Boolean Sets whether or not each complete line should be stretched to fill the entire width of the layout. an object of type This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification is done by extending the characters. Property System.Int32 the amount of spacing between the lines of the layout. the amount of spacing (in ) Property Pango.AttrList Sets/gets the text attributes for a Layout object. a Property Pango.LayoutIter An iterator to iterate over the visual extents of the layout. a new . Property Pango.Context the used for this layout. an object of type Property System.Boolean Whether or not to treat newlines and similar characters as paragraph separators. an object of type If set to true, do not treat newlines and similar characters as paragraph separators; instead, keep all text in a single paragraph, and display a glyph for paragraph separator characters. Used when you want to allow editing of newlines on a single text line. Property Pango.TabArray The tabs to use for the layout. the current used by this layout. If no has been set, then the default tabs are in use and null is returned. By default, tabs are every 8 spaces. Setting new tabs overrides the default tabs. If Tabs is set to null, the default tabs are reinstated. Property System.Int32 Set or return the amount by which the first line should be shorter than the rest of the lines. an object of type The value can be negative, in which case the subsequent lines will be shorter than the first line. (However, in either case, the entire width of the layout will be given by the value. Property System.Int32 Retrieves the count of lines for the layout. An integer, the line count Property Pango.LayoutLine[] The count of lines for the layout. The count of lines for the layout. To be added. Property Pango.LogAttr[] Retrieves an array of logical attributes for each character in the layout. a Method System.Void Sets the text of a Layout includ Sets the layout text and attribute list from marked-up text with an accelerator marker (see markup format). marked-up text the character following this char is underlined. returns a parsed accelerator char from the marked-up text. Replaces the current text and attribute list. Property System.Boolean To be added a To be added Property Pango.EllipsizeMode To be added a To be added Method System.Void a byte index of a grapheme within the layout. Somewhat confusingly, for the trailing edge of the grapheme, for the leading. Returns the line index of the grapheme, starting with index 0. Returns the x offset of the grapheme in Pango units. Converts from a byte index to a line and X position. The is measured from the left edge of the line. Method Pango.LayoutLine To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property Pango.LayoutLine[] To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/GlyphItem.xml0000644000175000001440000002054611345266756015357 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A pair of a and the glyphs resulting from shaping the text corresponding to an item. As an example of the usage of , the results of shaping text with is a list of , each of which contains a list of . System.ValueType Field Pango.GlyphItem Returns an empty Method Pango.GlyphItem Internal method a a This is an internal method, and should not be used by user code. Method Pango.GlyphItem Splits an Item text to which positions in orig apply. byte index of position to split item, relative to the start of the item a representing the text before Modifies orig to cover only the text after , and returns a new item that covers the text before that used to be in orig. You can think of as the length of the returned item. may not be 0, and it may not be greater than or equal to the length of orig (that is, there must be at least one byte assigned to each item, you cannot create a zero-length item). This function is similar in function to (and uses it internally) Property Pango.GlyphString the glyphs obtained by shaping the text corresponding to item. a Property Pango.GlyphString Obsolete alias for a System.Obsolete("Replaced by Glyphs property") Property Pango.Item a that provides information about a segment of text. a Property Pango.Item Obsolete alias for a System.Obsolete("Replaced by Item property") Method Pango.GlyphItem[] Splits a shaped item () into multiple items based on an attribute list. a a a The idea is that if you have attributes that do not affect shaping, such as color or underline, to avoid affecting shaping, you filter them out (), apply the shaping process and then re-apply them to the result using this function. All attributes that start or end inside a cluster are applied to that cluster; for instance, if half of a cluster is underlined and the other-half strikethough, then the cluster will end up with both underline and strikethrough attributes. In these cases, it may happen that item->extra_attrs for some of the result items can have multiple attributes of the same type. Method System.Void To be added To be added Method System.Void To be added a a a To be added gtk-sharp-2.12.10/doc/en/Pango/LayoutRun.xml0000644000175000001440000001025211345266756015410 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The structure represents a single run within a . It is simply an alternate name for , present for backwards compatibility. See the docs for details on the fields. System.ValueType Field Pango.LayoutRun Returns a new Method Pango.LayoutRun Internal method an object of type an object of type This is an internal method, and should not be used by user code. Property Pango.GlyphString the glyphs obtained by shaping the text corresponding to item. an object of type Property Pango.GlyphString Obsolete alias for an object of type System.Obsolete("Replaced by Glyphs property") Property Pango.Item A that provides information about a segment of text. a Property Pango.Item Obsolete alias for a System.Obsolete("Replaced by Item property") gtk-sharp-2.12.10/doc/en/Pango/Renderer.xml0000644000175000001440000003132211345266756015215 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method System.Void To be added a a a To be added Method System.Void To be added To be added Method System.Void To be added a a a a a To be added Method System.Void To be added a a a To be added Method System.Void To be added To be added Method System.Void To be added a a To be added Method System.Void To be added a To be added Method System.Void a To be added. a a a a a To be added To be added Method System.Void To be added a a a a To be added Method System.Void To be added a a a a To be added Method System.Void To be added a a a a To be added Method Pango.Color To be added a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor Default constructor Property GLib.GType GType Property. a Returns the native value for . Property Pango.Matrix To be added a To be added gtk-sharp-2.12.10/doc/en/Pango/Global.xml0000644000175000001440000006223411345266756014655 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements for . Most of these are utility functions. System.Object Method System.String Splits a list of filename strings and normalizes their paths. a a In the underlying C implementation, the string returned is intended as an argument to g_strfreev. Method System.String Trims leading and trailing whitespace from a string. a a Method System.Void Computes a for each character in . text to process embedding level, or -1 if unknown language tag array with one PangoLogAttr per character in text, plus one extra, to be filled in a The array must have one for each position in text; if text contains N characters, it has N+1 positions, including the last position at the end of the text. text should be an entire paragraph; logical attributes cannot be computed without context (for example you need to see spaces on either side of a word to know the word is a word). Constructor Default constructor Method System.Boolean Parses a string into a object. a to parse a object to set up with the weight parsed out of the string a for whether to warn on bad input. a for whether the string was successfully parsed. The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultralight" and integers. Case variations are ignored. Method System.Boolean Parses a string into a object. a to parse a to set up with the stretch value parsed out of the string a for whether to warn on bad input. a for whether the string was successfully parsed. The allowed values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" and "ultra_expanded". Case variations are ignored and the '_' characters may be omitted. Method System.Boolean Parses a string into a object. a to parse a to set up with the variant value parsed out of the string a for whether to warn on bad input. a for whether the string was successfully parsed. The allowed values are "normal" and "smallcaps" or "small_caps", case variations being ignored. Method System.Boolean Parses a string into a object. a to parse a to set up with the style parsed out of the string. a for whether to warn on bad input. a for whether the string was successfully parsed. The allowed values are "normal", "italic" and "oblique", case variations being ignored. Method System.Void Locates a paragraph boundary in . UTF-8 text return location for index of delimiter return location for start of next paragraph A boundary is caused by delimiter characters, such as a newline, carriage return, carriage return-newline pair, or Unicode paragraph separator character. The index of the run of delimiters is returned in . The index of the start of the paragraph (index after all delimiters) is stored in . If no delimiters are found, both and are filled with the length of text (an index one off the end). Method System.Boolean Scans a string looking for an integer. An integer consists of up to 31 decimal digits. a , a string to scan. a , an integer to put the result into. a , false if a parse error occurred. To be added. Method System.Boolean Skips 0 or more characters of whitespace a a , which is true if there are non-whitespace characters before the end of the string. Method System.Boolean Scans a string looking for an integer. An integer consists of up to 31 decimal digits. a a a To be added Method System.Boolean Parses a markup text string into text and a list of attributes. a a a a a a Method Pango.Direction To be added a a To be added Method GLib.List To be added a a a a a a a a To be added Method Pango.Language To be added a a To be added Method Pango.Direction Determines the direction of a character a the direction of the character according to the Unicode bidi algorithm To be added Method Pango.Script Determines the script for a character a the script for the character according to Unicode Technical Report 24 No check is made that is valid. If you pass in an invalid character, you will get back an invalid result. Method System.Boolean A character to measure. Measures a char to determine if it is zero width. if is zero width. Zero width characters are not normally rendered on-screen. Method System.Void To be added. To be added. To be added. To be added. Method Pango.Gravity To be added. To be added. To be added. To be added. Method Pango.Gravity To be added. To be added. To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Pango/Script.xml0000644000175000001440000006263611345266756014727 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Identifies different writing systems. The values correspond to the names defined in the Unicode standard. (See Unicode Standard Annex 24: Script names http://www.unicode.org/reports/tr24/). System.Enum GLib.GType(typeof(Pango.ScriptGType)) Field Pango.Script a value never used for any unicode character Field Pango.Script a character used by multiple different scripts Field Pango.Script a mark glyph that takes its script from the base glyph to which it is attached. Field Pango.Script Arabic Field Pango.Script Armenian Field Pango.Script Bengali Field Pango.Script Bopomofo Field Pango.Script Cherokee Field Pango.Script Coptic Field Pango.Script Cyrillic Field Pango.Script Deseret Field Pango.Script Devanagari Field Pango.Script Ethiopic Field Pango.Script Georgian Field Pango.Script Gothic Field Pango.Script Greek Field Pango.Script Gujarati Field Pango.Script Gurmukhi Field Pango.Script Han Field Pango.Script Hangul Field Pango.Script Hebrew Field Pango.Script Hiragana Field Pango.Script Kannada Field Pango.Script Katakana Field Pango.Script Khmer Field Pango.Script Lao Field Pango.Script Latin Field Pango.Script Malayalam Field Pango.Script Mongolian Field Pango.Script Myanmar Field Pango.Script Ogham Field Pango.Script OldItalic Field Pango.Script Oriya Field Pango.Script Runic Field Pango.Script Sinhala Field Pango.Script Syriac Field Pango.Script Tamil Field Pango.Script Telugu Field Pango.Script Thaana Field Pango.Script Thai Field Pango.Script Tibetan Field Pango.Script Canadian Aboriginal Field Pango.Script Yi Field Pango.Script Tagalog Field Pango.Script Hanunoo Field Pango.Script Buhid Field Pango.Script Tagbanwa Field Pango.Script Braille Field Pango.Script Cypriot Field Pango.Script Limbu Field Pango.Script Osmanya Field Pango.Script Shavian Field Pango.Script LinearB Field Pango.Script TaiLe Field Pango.Script Ugaritic Field Pango.Script Kharoshthi Field Pango.Script NewTaiLue Field Pango.Script Tifinagh Field Pango.Script Buginese Field Pango.Script Glagolitic Field Pango.Script OldPersian Field Pango.Script SylotiNagri Field Pango.Script Balinese Field Pango.Script Cuneiform Field Pango.Script Nko Field Pango.Script PhagsPa Field Pango.Script Phoenician Field Pango.Script Unknown gtk-sharp-2.12.10/doc/en/Pango/RenderPart.xml0000644000175000001440000000555411345266756015525 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The part of the renderer to modify. System.Enum GLib.GType(typeof(Pango.RenderPartGType)) Field Pango.RenderPart The foreground text. To be added Field Pango.RenderPart The background text. To be added Field Pango.RenderPart The underline value. To be added Field Pango.RenderPart The strikethrough value. To be added gtk-sharp-2.12.10/doc/en/Pango/AttrDataCopyFunc.xml0000644000175000001440000000247311345266756016627 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added. System.Delegate System.IntPtr gtk-sharp-2.12.10/doc/en/Pango/AttrGravity.xml0000644000175000001440000000251711345266756015733 00000000000000 pango-sharp 2.12.0.0 Pango.Attribute Constructor To be added. To be added. To be added. Property Pango.Gravity To be added. To be added. To be added. Gravity attribute. To be added. gtk-sharp-2.12.10/doc/en/Glade/0000777000175000001440000000000011345266756012760 500000000000000gtk-sharp-2.12.10/doc/en/Glade/AccelInfo.xml0000644000175000001440000000604611345266756015247 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The structure is used as part of the output of libglade's XML parser. System.ValueType Field Glade.AccelInfo Returns an empty Method Glade.AccelInfo Internal method an object of type an object of type This is an internal method and should not be used by user code. Field System.UInt32 The key code for the accelerator. Field Gdk.ModifierType The modifier keys for the accelerator. Field System.String The signal to which this accelerator should be connected. gtk-sharp-2.12.10/doc/en/Glade/XML.xml0000644000175000001440000011103011345266756014052 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Allows dynamic loading of user interfaces from XML descriptions This object represents an `instantiation' of an XML interface description. When one of these objects is created, the XML file is read, and the interface is created. The object can also be used to connect handlers to the named signals in the description. The easiest way to use this feature is to let it automatically connect signal handlers for you. This can be achieved by using the method. searches the specified or for method names matching those defined in the XML interface description file and connects them to the appropriate signals. It also searches for fields having the attached and tries to bind them to widgets of the same name defined in the XML description. The following examples supposes that an XML interface description of a simple application exists in the file "gui.glade". The application consists of a main window ("MyWindow") which contains a button and a text entry ("MyEntry"). The handler for the button clicked signal is named "OnMyButtonClicked" and the handler for the window delete event is named "OnMyWindowDeleteEvent". using System; using Gtk; using Glade; public class GladeApp { // declare the widgets you will use from glade [Glade.WidgetAttribute] Gtk.Entry MyEntry; public static void Main (string[] args) { new GladeApp (args); } public GladeApp (string[] args) { Application.Init(); Glade.XML gxml = new Glade.XML ("gui.glade", "MyWindow", null); gxml.Autoconnect (this); Application.Run(); } // Connect the Signals defined in Glade public void OnMyWindowDeleteEvent (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } public void OnMyButtonClicked(object o, EventArgs args) { Console.WriteLine("In entry: " + MyEntry.Text); } } GLib.Object System.Reflection.DefaultMember("Item") Method Glade.XML Get the parent widget a the object that built , or if is not built from Glade Method System.String Gets the name of a Glade-built widget a built from Glade the name of the Property Glade.XMLCustomWidgetHandler Allows you to override the default behaviour when a Custom widget is found in an interface. a Setting this property allows you to override the default behaviour when a Custom widget is found in an interface. This could be used by a language binding to call some other function, or to limit what functions can be called to create custom widgets Method System.Void Deprecated: Replaced by the property. the custom widget handler Deprecated: Replaced by the property. Method System.Void To be added an object of type Method System.Void Binds the widgets declared in the Glade interface specification, to argument's suitable fields. These fields should be marked with the attributes. Any signal declared in the interface specification should be connected using (for detailed control of signal connection) or , the mirror image of this method. The object whose fields are to be bound to the object Method System.Void Automatically connect signals a with handler methods Connects the signals defined in the glade file with static handler methods provided by the given , . Method System.Void Automatically connect signals an with handler methods Connects the signals definied in the glade file with static handler methods provided by the given object, . Method System.Void Sets the common parameters on a widget, and is responsible for inserting it into the object's internal structures. the widget to set parameters on the structure for Sets the common parameters on , and is responsible for inserting it into the object's internal structures. It will also add the children to this widget. Usually this function is only called by , but is exposed for difficult cases, such as setting up buttons and the like. Method System.Void This function is intended to be called by the build_children callback for container widgets. the parent widget the structure for the child This function is intended to be called by the build_children callback for container widgets. If the build_children callback encounters a child with the internal-child attribute set, then it should call this function to handle it and then continue on to the next child. Method System.Void Automatically connect signals This method uses gmodule's introspective features to look at the application's symbol table. From here it tries to match the signal handler names given in the interface description with symbols in the application and connects the signals. Method System.Boolean This routine can be used by bindings (such as gtk--) to help construct a object, if it is needed. the XML filename the root widget node, or the translation domain, or if construction succeeded Method Gtk.AccelGroup This function is used to get the current . If there isn't one, a new one is created and bound to the current toplevel window (if a toplevel has been set). the current Method System.Void This sets the packing property on container of widget with to the container widget. the contained child the name of the property its stringified value Method Gtk.Widget This function is not intended for people who just use libglade. the structure for the widget. the newly created widget. This function is not intended for people who just use libglade. Instead it is for people extending it (it is designed to be called in the child build routine defined for the parent widget). It first checks the type of the widget from the class tag, then calls the corresponding widget creation routine. This routine sets up all the settings specific to that type of widget. Then general widget settings are performed on the widget. Then it sets up accelerators for the widget, and extracts any signal information for the widget. Then it checks to see if there are any child widget nodes for this widget, and if so calls the widget's build routine, which will create the children with this function and add them to the widget in the appropriate way. Finally it returns the widget. Method System.String This function resolves a relative pathname, using the directory of the XML file as a base. a filename The absolute filename This function resolves a relative pathname, using the directory of the XML file as a base. If the pathname is absolute, then the original filename is returned. Method System.Void This function is similar to except that it will try to connect all signals in the interface, not just a single named handler. It can be thought of the interpeted language binding version of , except that it does not require gmodule to function correctly. the function used to connect the signals. Method System.Void Used to set properties on s the property the widget to set the property on. the name of the property. the name of the widget used as the value for the property. Some widgets have properties of type . These are represented as the widget name in the glade file. When constructing the interface, the widget specified as the value for a property may not exist yet. Rather than setting the property directly, this function should be used. It will perform the name to conversion, and if the widget is yet to be constructed, defer setting the property until the widget is constructed. Method Gtk.Widget Retrieves a widget stored in the by name the name of the widget to retrieve from the xml file the widget specified by or if no Widgets of that name exists Method System.Boolean GParamSpec needs to be wrapped a " /> a a a Method System.Void This function is similar to , except that it allows you to give an arbitrary function that will be used for actually connecting the signals. This is mainly useful for writers of interpreted language bindings, or applications where you need more control over the signal connection process. the name of the signal handler that we want to connect. the function to use to connect the signals. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates an from a file the filename the widget node to start building from, or . the translation domain for the XML file ( is the default) Constructor Creates an object from a buffer a string containing the content of the glade XML file the length of the widget node to start building from, or . the translation domain for the XML file ( is the default) Property System.String the filename of the object the filename that this Glade XML object is created from Property Gtk.Window This is used while the tree is being built to set the toplevel window that is currently being built. an object of type This is used while the tree is being built to set the toplevel window that is currently being built. It is mainly used to enable 's to be bound to the correct window, but could have other uses. Constructor Creates an object from a a the widget node to start building from, or . the translation domain for the XML file ( is the default) Constructor Creates an object from an an , or to use the current assembly the name of the resource in the widget node to start building from, or . the translation domain for the XML file ( is the default) Method Glade.XML Creates a new from a stream. a a a a Reads the contents of the stream and parses it. It must be in correct Glade format Method Glade.XML Returns a new from a resource in an assembly. a a a a a Reads the contents of the resource in the given assembly and parses it. If the assembly is null, the current assembly will be used. It must be in correct Glade format Method Glade.XML Returns a new from a resource in the current assembly. a a a a Reads the contents of the resource in the current assembly and parses it. If the assembly is null, the current assembly will be used. It must be in correct Glade format Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gtk.Widget[] Retrieves a of widgets whose name share the same prefix. The beginning of a widget name. An array of widgets whose name starts with . Constructor Creates an Glade.XML object from a resource and root object. a a This is a convenience overload for with the 1st and 4th arguments being . Property Gtk.Widget To be added. To be added. To be added. To be added. Method System.Boolean XML buffer. buffer size. root name. domain. Constructs an instance from a buffer. boolean representing success. gtk-sharp-2.12.10/doc/en/Glade/WidgetInfo.xml0000644000175000001440000002221211345266756015454 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The structures described here are the output of libglade's XML parser. These structures are really only useful for people who are extending libglade to handle other widget sets, but it could also be useful for other applications that need to read glade XML files. If you only wish to use libglade, you don't need to worry about these functions and structures. System.ValueType Field Glade.WidgetInfo Returns an empty Method Glade.WidgetInfo Internal method an object of type an object of type This is an internal method and should not be used by user code. Property Glade.ChildInfo Details about child widgets. a Property Glade.AccelInfo Details about accelerators. a Property Glade.AtkRelationInfo Details about this widget's relations. a Property Glade.AtkActionInfo To be added a Property Glade.SignalInfo To be added a Property Glade.Property To be added a Property Glade.Property To be added a Property Glade.WidgetInfo This widget's parent widget. a Field System.String To be added Field System.String This widget's name. Field System.UInt32 The number of properties this widget has. Field System.UInt32 The number of AtkProperties this widget has. Field System.UInt32 The number of signals this widget connects to. Field System.UInt32 To be added Field System.UInt32 To be added Field System.UInt32 The number of accelerators this widget has. Field System.UInt32 The number of children this widget has. gtk-sharp-2.12.10/doc/en/Glade/Standard.xml0000644000175000001440000000616411345266756015165 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Some standard methods used by glade to build widgets. System.Object Method System.Void This is the standard child building function. a a a It simply calls on each child to add them to the parent, and process any packing properties using the generic container packing properties interfaces. Constructor Default constructor Method Gtk.Widget This is the standard widget building function. a a a a It processes all the widget properties using the standard object properties interfaces. This function will be sufficient for most widget types, thus reducing the amount of work needed to wrap a library. gtk-sharp-2.12.10/doc/en/Glade/ChildInfo.xml0000644000175000001440000000676711345266756015275 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This structure is used as part of the output of libglade's XML parser. Information about child widgets. System.ValueType Field Glade.ChildInfo Returns an empty Method Glade.ChildInfo Internal method an object of type an object of type This is an internal method and should not be used by user code. Property Glade.WidgetInfo A child widget. a Property Glade.Property The widget's properties. a Field System.UInt32 The number of properties this widget has. Field System.String To be added gtk-sharp-2.12.10/doc/en/Glade/Parser.xml0000644000175000001440000000653411345266756014662 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Glade's parser used to turn XML into its internal format. Parser class loads / parses the .glade files from memory [buffer], or a file in disk. This class has the helper functions to load the UI description from file/buffer, and turn it into a GladeInterface, which has metadata about the .glade file, its connections and properties etc. System.Object Method Glade.Interface This function parses a Glade XML interface file to a object (which is libglade's internal representation of the interface data). a a a Generally, user code will not need to call this function. Instead, it should go through the interfaces. Method Glade.Interface This function is similar to , except that it parses XML data from a buffer in memory. a a a This could be used to embed an interface into the executable, for instance. Generally, user code will not need to call this function. Instead, it should go through the interfaces. Constructor Default constructor gtk-sharp-2.12.10/doc/en/Glade/Property.xml0000644000175000001440000000512711345266756015247 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The structure is used as part of the output of libglade's XML parser. A name-value pair. System.ValueType Field Glade.Property Returns an empty Method Glade.Property Internal method an object of type an object of type This is an internal method and should not be used by user code. Field System.String The name of the property. Field System.String The value of the property. gtk-sharp-2.12.10/doc/en/Glade/ApplyCustomPropFunc.xml0000644000175000001440000000230211345266756017350 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. Event handler. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Glade/AtkActionInfo.xml0000644000175000001440000000517311345266756016115 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This structure is used as part of the output of libglade's XML parser. System.ValueType Field Glade.AtkActionInfo Returns an empty Method Glade.AtkActionInfo Internal method an object of type an object of type This is an internal method and should not be used by user code. Field System.String An action name. Field System.String A description of the action. gtk-sharp-2.12.10/doc/en/Glade/Interface.xml0000644000175000001440000001254211345266756015322 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The structures described here are the output of libglade's XML parser. These structures are really only useful for people who are extending libglade to handle other widget sets, but it could also be useful for other applications that need to read glade XML files. If you only wish to use libglade, you don't need to worry about these functions and structures. System.ValueType Field Glade.Interface Returns an empty Method Glade.Interface Internal method an object of type an object of type This is an internal method and should not be used by user code. Method System.Void Frees the resources of this interface. Method System.Void This function dumps the contents of a into a file as XML. a It is intended mainly as a debugging tool. Property Glade.WidgetInfo The top-level widgets. an object of type System.Obsolete("Replaced by Toplevels property") Field System.String To be added Field System.UInt32 To be added Field System.UInt32 The number of Top Level Widget Definitions in the Interface. Property Glade.WidgetInfo[] The Top Level Widgets in the interface. an array of structures. gtk-sharp-2.12.10/doc/en/Glade/XMLConnectFunc.xml0000644000175000001440000000305511345266756016207 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. To be added. To be added. Event handler. this delegate is used for custom methods to connect the signals to methods. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Glade/BuildChildrenFunc.xml0000644000175000001440000000222711345266756016745 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. event handler. this delegate is used for custom methods to built the internal children of a widget. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Glade/XMLCustomWidgetHandler.xml0000644000175000001440000000511711345266756017717 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Event handler. this delegate is used for custom methods to call when a custom widget is found. public class View{ private Glade.XML gui; //Our gui made with glade public View(){ // You have to made the handler before creating the view Glade.XML.CustomHandler = CreationCustomWidget; // creation of the view gui=new Glade.XML("/home/alex/glade/projet.glade","View",""); // the handlers of the view are defined in this instance gui.Autoconnect(this); } // Basic handler public void OnDeleteWindow(object o,DeleteEventArgs arg){ Application.Quit } // func_name: the name of the function (written in the field "creation function name" in glade) // so we can distinguish between the custom widget we want to create // name, string1, etc parameters set in glade public Widget CreationCustomWidget(Glade.XML xml, string func_name, string name, string string1, string string2, int int1, int int2){ Button b = new Button("Hello Button"); b.Show(); return b; } } To be added. System.Delegate Gtk.Widget gtk-sharp-2.12.10/doc/en/Glade/NewFunc.xml0000644000175000001440000000223611345266756014766 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Event handler. this delegate is called used for custom methods to create widgets. To be added. System.Delegate Gtk.Widget gtk-sharp-2.12.10/doc/en/Glade/SignalInfo.xml0000644000175000001440000000662211345266756015455 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The structure is used as part of the output of libglade's XML parser. System.ValueType Field Glade.SignalInfo Returns an empty Method Glade.SignalInfo Internal method an object of type an object of type This is an internal method and should not be used by user code. Field System.String To be added Field System.String To be added Field System.String To be added Property System.Boolean To be added a To be added gtk-sharp-2.12.10/doc/en/Glade/FindInternalChildFunc.xml0000644000175000001440000000232311345266756017553 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Event handler. this delegate is used for custom methods to find the internal children of a widget. To be added. System.Delegate Gtk.Widget gtk-sharp-2.12.10/doc/en/Glade/WidgetAttribute.xml0000644000175000001440000001103211345266756016522 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. Marks a widget for auto-binding This attribute when attached to a field value is used by the Autoconnect functionality in to bind a widget created by Glade to the field. The attribute can be applied to any widgets (widgets derive from the class) and it can be applied to static and instance fields. By default the runtime will match the tagged field name with the name that was given to the widget on the Glade user interface designer. An optional string argument can be provided on the constructor to bind the widget to a different name. For the binding to take place, the method has to be invoked on either the class or the instance. System.Attribute System.AttributeUsage(System.AttributeTargets.Field) Constructor Flags a to be auto-connected The name of the widget in the Glade file that this widget should be mapped to This will bind the widget whose name in the Glade designer is to the field that the attribute is attached to. If the field name is the same as the widget name in the Glade designer, you can avoid the name parameter. For the binding to take place, the method has to be invoked on either the class or the instance. Constructor Flags a to be auto-connected This will bind the widget whose name in the Glade designer is the same as the field name. If you want to target a different widget in the glade file, use the attribute instead. For the binding to take place, the method has to be invoked on either the class or the instance. Property System.Boolean Whether a specific binding was requested This returns if a specific widget name was requested to be bound, or if the runtime has to use the field name as the Glade name. Property System.String The name of the widget targetted The name of the widget targeted in the Glade definition file. gtk-sharp-2.12.10/doc/en/Glade/AtkRelationInfo.xml0000644000175000001440000000515711345266756016457 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This structure is used as part of the output of libglade's XML parser. System.ValueType Field Glade.AtkRelationInfo Returns an empty Method Glade.AtkRelationInfo Internal method an object of type an object of type This is an internal method and should not be used by user code. Field System.String To be added Field System.String To be added gtk-sharp-2.12.10/doc/en/Glade/Global.xml0000644000175000001440000002146211345266756014623 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements for Global class collects certain, commonly used funtions of the underlying libglade API which is necessary to glade-sharp to load the .glade files. All members of this class are static functions. Glade-sharp uses the functions to load Register custom properties to a widget Read enums/flags from strings present in .glade files Register widget with XML tree, read widget name from widget pointer System.Object Method System.String Used to get the name of a widget that was generated by a object. a a Get Widget Name of current widget. Method Glade.XML This function is used to get the object that built this widget. a a Method System.String Checks the version of a module. a a Method System.Void this method allows you to override the default behaviour when a Custom widget is found in an interface. the to use when a custom widget is found. Constructor Default constructor The Global class has only static functions, and no methods, which make it redundant for us to normally create this object. Method System.Void This method provides a way to register handlers for custom properties. the of the widget. the name of the custom property the to call when the property is found. Some properties are not (yet) handled through the GObject property code, so can not be handled by the generic code. This function provides a way to register handlers for these properties. Such handlers will apply for the GType type and all its descendants. Method System.UInt32 This helper routine is designed to be used by widget build routines to convert the string representations of flags values found in the XML descriptions to the integer values that can be used to configure the widget. a a a The string is composed of string names or nicknames for various flags separated by '|'. Method System.Int32 This helper routine is designed to be used by widget build routines to convert the string representations of enumeration values found in the XML descriptions to the integer values that can be used to configure the widget. a a a The string is composed of string names or nicknames for various flags separated by '|'. Method System.Void This method registers new construction methods for a widget type. the of a widget. the used to construct the widget. the used to construct the children or null. the to find the internal children or null. gtk-sharp-2.12.10/doc/en/Glade/HandlerNotFoundException.xml0000644000175000001440000001571711345266756020342 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Exception thrown when signal autoconnection fails. This class is the expression thrown, when signal autoconnection fails. This happens when you donot have the functions assigned in your callback section of the .glade file, present in your CIL assembly. You can rectify this exception by adding the corresponding function in your code, and recompiling the application. System.SystemException Property System.Type The type of delegate that was supposed to be connected to the signal. a Property System.String The name of the signal that was supposed to be connected. a Property System.String The name of the handler that was supposed to be connected. a Property System.Reflection.EventInfo Information about the event. a Constructor Public constructor. a a a a Constructor Protected constructor. a a Constructor Public constructor. a a a a a Constructor Message content. Name of missing handler. Name of signal connection which failed. Managed event information. Delegate type. Public constructor. gtk-sharp-2.12.10/doc/en/Gtk.DotNet/0000777000175000001440000000000011345266756013665 500000000000000gtk-sharp-2.12.10/doc/en/Gtk.DotNet/Graphics.xml0000644000175000001440000000731011345266756016064 00000000000000 gtk-dotnet [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk to System.Drawing.Graphics interoperability. System.Object Method System.Drawing.Graphics Gets a context for a a a Use this method to obtain a System.Drawing.Graphics context from a Gtk drawable. Both pixmaps () and windows () are drawables (). The following example shows how to create a custom widget that renders a mesh. This example overrides the OnExposeEvent method and uses calls to do the actual drawing: using System.Drawing; using Gtk; class PrettyGraphic : DrawingArea { public PrettyGraphic () { SetSizeRequest (200, 200); } protected override bool OnExposeEvent (Gdk.EventExpose args) { using (Graphics g = Gtk.DotNet.Graphics.FromDrawable (args.Window)){ Pen p = new Pen (Color.Blue, 1.0f); for (int i = 0; i < 600; i += 60) for (int j = 0; j < 600; j += 60) g.DrawLine (p, i, 0, 0, j); } return true; } } Method System.Drawing.Graphics Gets a context for a a a a To be added gtk-sharp-2.12.10/doc/en/Gnome.xml0000644000175000001440000000077311345266756013456 00000000000000 GNU Network Object Model Environment. The Gnome classes gives applications a unified look and feel by providing common widgets, such as an About dialog, Popup dialogs, and a Druid (First time setup of your application). Futhermore classes are provided to help you draw structured graphics on the screen. gtk-sharp-2.12.10/doc/en/GLib/0000777000175000001440000000000011345266756012561 500000000000000gtk-sharp-2.12.10/doc/en/GLib/IOStatus.xml0000644000175000001440000000322611345266756014735 00000000000000 glib-sharp 2.12.0.0 System.Enum Field GLib.IOStatus Resource was temporarily unavailable. Field GLib.IOStatus End of file reached. Field GLib.IOStatus An error occurred. Field GLib.IOStatus Operation completed normally. IOStatus enumeration. Status results for IO channel operations. gtk-sharp-2.12.10/doc/en/GLib/UnhandledExceptionArgs.xml0000644000175000001440000000341011345266756017613 00000000000000 glib-sharp 2.12.0.0 System.UnhandledExceptionEventArgs Constructor Exception. If , the application is terminating. Public constructor. Property System.Boolean ExitApplication property. If , the application will exit. Indicates if an application wants to exit after event propagation is complete. UnhandledExceptionArgs event arguments. Event arguments for events. gtk-sharp-2.12.10/doc/en/GLib/ListBase+FilenameString.xml0000644000175000001440000000121511345266756017627 00000000000000 glib-sharp 2.12.0.0 System.Object Type for Filename encoded string element marshaling. Use this type as a List constructor element_type parameter to use filename-encoded string marshaling. gtk-sharp-2.12.10/doc/en/GLib/FileUtils.xml0000644000175000001440000000372211345266756015123 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A simple file IO utility class Contains a single static method GetFileContents(string filename) which returns the contents of a text file as a string. System.Object Method System.String Returns a string containing the contents of the text file passed as the 'filename' parameter. The file GetFileContents() should retrieve its result from. An object of type Returns the contents of a text file. An object of type using System; class Test { public static void Main(string[] args) { Console.WriteLine(GLib.FileUtils.GetFileContents(args[0])); } } gtk-sharp-2.12.10/doc/en/GLib/ListBase.xml0000644000175000001440000002533711345266756014737 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for GList and GSList. System.Object GLib.IWrapper System.Collections.ICollection System.ICloneable System.IDisposable System.Reflection.DefaultMember("Item") Field System.Type The of the elements of the list. subclasses are handled automatically, so it is not necessary to set this field for lists of . Method System.Object Clones the list. a copy of the list as an . Produces a copy of the list. Method System.Void Disposes the list. If is set, this frees the native list. Method System.Void Copies the list to a typed array. an to copy to. the index to start copying at in . Method System.Void Prepends an element to the front of the list. an object of type This is faster than . Method System.Void Appends an element to the end of the list. an object of type Method System.Void Appends an element to the end of the list. an object of type This is a convenience overload to append a to the end of a list. Property System.Object Synchronization root. always Always returns since this type is never synchronized. Property System.Boolean Indicates if the list is synchronized. always Always returns false. Property System.Int32 The number of elements in the list. the number of elements in the list as an Property System.IntPtr A raw list reference for marshaling situations. an object of type Property System.Boolean Indicates if the native handle is owned by the Managed list class. an object of type Identifies the list as one that needs to be freed. Only set this to true if you want the object to release the associated native list when it is disposed. System.Obsolete("Replaced by owned parameter on ctor.") Method System.Collections.IEnumerator Gets an to enumerate the list elements. a Method System.Void Disposes the list. a If the property is set, the underlying native list is freed. Property System.Object Indexer for list members. a representing the 0 indexed offset to the member. the list member at as an . Method System.Void Empties the list. Empties, and frees the list, as well as all of its children Method System.Void An item to be appended to the list. Appends an item to the List. gtk-sharp-2.12.10/doc/en/GLib/DestroyHelper.xml0000644000175000001440000000340111345266756016006 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Helper methods for unmanaged memory System.Object Property GLib.DestroyNotify A that frees a . a gtk-sharp-2.12.10/doc/en/GLib/List.xml0000644000175000001440000001664211345266756014143 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A list class used by Gtk is managed wrapper for the underlying C list implementation used by Gtk+. Various functions on the Gtk+ API take lists or return lists in this form. The list deals with objects, these are pointers into unmanaged resources. For example to create a list of widgets, you would use the following sample: GLib.List MakeList (Gtk.Widget a, Gtk.Widget b) { GLib.List l = new GLib.List ((IntPtr) 0, typeof (Gtk.Widget)); l.Append (a.Handle); l.Append (b.Handle); } The argument to the constructor, allows the list enumerator code to return properly wrapped or demarshalled objects from the unmanaged world into the managed world. GLib.ListBase Constructor Constructs a List A handle to a . objects are constructed by passing an unmanaged reference to an existing , or they can use "(IntPtr) 0" as an initial value. Using this constructor will not track the type information of the classes or structures kept in the list. If you plan on tracking the type information, use the method. Constructor A handle to a GLib.list To be added. Internal constructor objects are constructed by passing an unmanaged reference to an existing , or they can use "(IntPtr) 0" as an initial value. Using this constructor will track the type information of the classes or structures kept in the list. This information is used by the List enumerator when returning data. Constructor Constructs a list of objects of a given type. a Gtk.Widget a = new Gtk.Widget((IntPtr) 0); Gtk.Widget b = new Gtk.Widget((IntPtr) 0); GLib.List l = new GLib.List (typeof (Gtk.Widget)); l.Append (a.Handle); l.Append (b.Handle); Constructor Pointer to the native list. The type of the elements contained in the list. if the native list needs to be released on Dispose. if the list elements need to be released on Dispose. Creates a List. This type is only recommended for marshaling GList parameters and return values in bindings. Constructor An array of list member objects. The type of the members. Indicates if the list reference must be released on finalization. Indicates if the list members must be released on finalization. Public constructor. Constructs a native GList containing a set of member objects. Constructor Array on elements to build the list. The Type of the elements. Indicates if the list reference must be released on finalization. Indicates if the list members must be released on finalization. Public constructor. Constructs a native GList containing a set of member objects. gtk-sharp-2.12.10/doc/en/GLib/Thread.xml0000644000175000001440000000346711345266756014440 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void Initializes GLib thread awareness. This must be called before GLib's thread safety features are used. Initializing GLib thread awareness more than once causes undefined behaviour and must be avoided by checking to see if it has already been done with . To be added Property System.Boolean Checks to see if GLib thread support has been initialized with . To be added. To be added. gtk-sharp-2.12.10/doc/en/GLib/UnwrappedObject.xml0000644000175000001440000000365211345266756016321 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added an object of type To be added Method System.IntPtr To be added. To be added. To be added. To be added. System.Obsolete("Replaced by direct object-type casts to/from GLib.Value") gtk-sharp-2.12.10/doc/en/GLib/PrintFunc.xml0000644000175000001440000000154211345266756015131 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/GLib/IWrapper.xml0000644000175000001440000000227111345266756014752 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Interface to identify a handle accessible wrapped type. This interface is used by the code generator, but it not typically used by application code. Property System.IntPtr A pointer to the native type instance. an object of type gtk-sharp-2.12.10/doc/en/GLib/SignalCallback.xml0000644000175000001440000001674111345266756016062 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base Class for GSignal to C# event marshalling. System.Object System.IDisposable System.Obsolete("Replaced by GLib.Signal.") Field System.Int32 To be added To be added Field GLib.Object To be added To be added Field System.Delegate To be added To be added Field System.Int32 To be added To be added Field System.Type To be added To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added To be added Field System.Collections.Hashtable To be added To be added Constructor To be added a a a To be added Field System.UInt32 To be added To be added Method System.Void To be added a a a To be added Method System.Void To be added To be added gtk-sharp-2.12.10/doc/en/GLib/MissingIntPtrCtorException.xml0000644000175000001440000000420111345266756020475 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Exception for Wrapper Classes that are missing IntPtr Constructors This exception is thrown when is unable to wrap a native object handle in a managed class because the managed class doesn't not expose a public MyClass (IntPtr) constructor. All managed subclasses must expose a constructor that takes a native object handle to enable automated wrapping of native instances. System.Exception Constructor Public Constructor. a message to report in the exception trace. gtk-sharp-2.12.10/doc/en/GLib/Object.xml0000644000175000001440000005230511345266756014432 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for all of Gtk#. System.Object GLib.IWrapper System.IDisposable Method System.Void Disposes of the raw object. Only override this if the Raw object should not be unreferenced when the object is garbage collected. Property System.IntPtr The raw GObject reference associated with this object. an object of type Subclasses can use Raw property for read/write access. Property System.IntPtr The raw GObject reference associated with this wrapper. an object of type Only subclasses of Object can access this read/write property. For public read-only access, use the Handle property. This property should only be used from constructors to set a native object pointer instantiated by the constructor. The constructor should chain to base (IntPtr.Zero) on the base class to ensure that no other native objects are instantiated for the class. Property System.Collections.Hashtable Stores and Accesses arbitrary data on the Object. a This property is obsolete and should not be used unless you explicitly retain a reference to the . Otherwise the Data hashtable will be lost when the Garbage Collector releases your managed object wrapper. There are much better alternatives to this anyway. Consider using a Hashtable on your class that is keyed by or a subclass with an object property for the data you want to store instead. There are many better ways to accompish the role of this property. Method GLib.Object Used to obtain a CLI typed object associated with a given raw object pointer. a a a This method is primarily used to wrap object references that are returned by either the signal system or raw class methods that return GObject references. Property GLib.GType To be added a To be added Method GLib.Object To be added a a To be added Method System.Void To be added a a a To be added Constructor Creates a new instance, using the GLib-provided type. The to register with the GLib type system. This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. This is typically used to construct a new object that must be registered with the C-based GObject type system. An is usually registered from the static constructor for the class. System.Obsolete Property System.String To be added a To be added Property System.Collections.Hashtable To be added a To be added System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") Property System.Collections.Hashtable To be added a To be added System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") Property System.ComponentModel.EventHandlerList To be added a To be added System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") Property System.ComponentModel.EventHandlerList To be added a To be added System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") Property System.Int32 To be added a To be added Method GLib.GType To be added a a To be added Method System.Void To be added a a To be added Method GLib.GType To be added a To be added Method System.Void Creates the GObject underlying a managed subclass an array of (GObject) property names the values for the properties identified by This is the method used by managed subclasses (as opposed to classes that are just wrappers around C-based objects) to create their underlying GObject. It will be invoked for you automatically by when you chain to your subclass's base class constructor. Method GLib.Value To be added a a To be added Method System.Void To be added a a To be added Method System.Void Emits a GObject "notify" signal for the property specified by . the name of a property on the underlying GObject. This method is used to notify consumers of the underlying GObject that something about the GObject property specified by has changed. Constructor Constructs the object from a C-based pointer to the GLib object. The pointer to the native C object. This constructor is used to associate a C-based GLib object with its equivalent object in the managed world. This method is called by the generated classes by the Gtk# framework. Method System.Void Request property-change notifications the property to watch (the underlying GObject property name, not the managed wrapper property) a to invoke when changes This connects to the GObject "notify" signal with a detail argument of , to receive notifications when that property changes. Method System.Void Request property-change notifications for all GObject properties a to invoke when a GObject property changes This connects to the GObject "notify" signal with no detail argument, to receive notifications when any property changes. Method System.Void Cancels property-change notifictions for the indicated property the property the This disconnects from notifications for . Method System.Void Cancels property-change notifications the This disconnects from generic property change notifications. (This only affects notifications created with the corresponding generic version of . It does not remove notifications for specific properties.) Property System.Collections.Hashtable Data hash to persistently store managed objects. a This data hash is persistent until the native object is destroyed and can therefore outlast a GLib.Object wrapper class. Constructor Protected constructor. Chain to this constructor causes a native type to be registered and a native object instance to be constructed. gtk-sharp-2.12.10/doc/en/GLib/TypeConverter.xml0000644000175000001440000000264611345266756016040 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Fundamental type converter Utilities for converting between and System.Object Method GLib.GType Obsolete: Replaced by cast. a a gtk-sharp-2.12.10/doc/en/GLib/DestroyNotify.xml0000644000175000001440000000303211345266756016037 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. A callback invoked to free user-provided data. This is mostly for internal use. You should not need to use it unless you are binding additional unmanaged API. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/GLib/IOFunc.xml0000644000175000001440000000201711345266756014342 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Boolean The raising the notification. The condition prompting the notification. Callback delegate for IO channel notifications. If , the delegate is removed from the main loop. Use an instance of this delegate to add watch notifications for IO channels. gtk-sharp-2.12.10/doc/en/GLib/ObjectManager.xml0000644000175000001440000001007611345266756015724 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Manages GType to GLib.Object mapping and activation. System.Object Method System.Void Obsolete. Use the GType overload. an object of type an object of type Method System.Void Obsolete. Use the GType overload. an object of type an object of type an object of type Method GLib.Object Activates an object wrapper for a native object. an object of type an object of type This should not need to be used by external code. Constructor Do Not Use. Method System.Void Obsolete. Replaced by . a a gtk-sharp-2.12.10/doc/en/GLib/Timeout.xml0000644000175000001440000000572211345266756014653 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Allows the installation of Timeout Handlers on the GLib main loop. It's in a way very similar to a System.Windows.Forms.Timer class. You can use timeouts to invoke routines at specified intervals of time. The diferance between GLib.Timeout and System.Windows.Forms.Timer is that Timeouts are always invoked on the thread that owns the Gtk mainloop Use the method to install timeout handlers into the mainloop. void StartClock () { GLib.Timeout.Add(1000, new GLib.TimeoutHandler(update_status)); } bool update_status () { time_label.Text=DateTime.Now.ToString (); //returning true means that the timeout routine should be invoked //again after the timeout period expires. Returning false would //terminate the timeout. return true; } System.Object Method System.UInt32 Adds a delegate to the mainloop. the interval in milliseconds between invocations of . a delegate of type to invoke every . an id representing the event source of the installed timeout handler. The delegate is invoked after the time period specified by . The delegate is invoked repeatedly until it returns . Invocation of the delegate may be delayed by other event processing, so this mechanism cannot be depended on for accurate timing. The interval to the next timeout is calculated at completion of the preceding timeout. There is no attempt made to "catch up" if an invocation is delayed. gtk-sharp-2.12.10/doc/en/GLib/ConnectFlags.xml0000644000175000001440000000231511345266756015566 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags Field GLib.ConnectFlags Handler runs after virtual method invocation. Field GLib.ConnectFlags Swaps instance and data parameters. ConnectFlags enumeration. Signal connection flags. gtk-sharp-2.12.10/doc/en/GLib/ValueArray.xml0000644000175000001440000002174511345266756015303 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object GLib.IWrapper System.Collections.ICollection System.ICloneable System.IDisposable System.Reflection.DefaultMember("Item") Method System.Void To be added To be added Method System.Void To be added a To be added Method System.Void To be added a a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a a To be added Method System.Collections.IEnumerator To be added a To be added Method System.Object To be added a To be added Constructor To be added a To be added Property System.IntPtr To be added a To be added Property System.IntPtr To be added a To be added Property System.Int32 To be added a To be added Property System.Boolean To be added a To be added Property System.Object To be added a To be added Property System.Object To be added a a To be added gtk-sharp-2.12.10/doc/en/GLib/SignalAttribute.xml0000644000175000001440000000421511345266756016322 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Marks events generated from signals This attribute indentifies events generated from signals and allows obtaining its original name. [GLib.Signal("destroy")] public event System.EventHandler Destroyed { add; remove; } System.Attribute Constructor Public Constructor. a containing the C name of the signal. Property System.String The C name of the signal. the C name of the signal as a System.AttributeUsage(System.AttributeTargets.Event, Inherited=false) gtk-sharp-2.12.10/doc/en/GLib/SignalArgs.xml0000644000175000001440000000612011345266756015250 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Arguments and return value for signals. System.EventArgs Constructor Creates a SignalArgs object with no return value and no arguments. Constructor Creates a SignalArgs object with a return value and no arguments. an object of type Property System.Object The return value. an object of type Property System.Object[] A list of arguments. an object of type [] Constructor To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/GLib/Source.xml0000644000175000001440000000244711345266756014466 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Boolean To be added an object of type an object of type To be added gtk-sharp-2.12.10/doc/en/GLib/CDeclCallbackAttribute.xml0000644000175000001440000000355611345266756017503 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Identifies a native callback delegate. System.Attribute Constructor Creates a Delegates marked with this attribute are manually updated on win32 builds to add a modopt in IL which forces Cdecl calling convention. It should be applied to any manually written native callbacks in .custom files or manual implementations of callback delegates. gtk-sharp-2.12.10/doc/en/GLib/DelegateWrapper.xml0000644000175000001440000000310611345266756016272 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Wrapper class for delegates. System.Object Constructor The is the object that creates the instance of the DelegateWrapper derived class or null if created from a static method. a Note that the instances will never be disposed if they are created in a static method. System.Obsolete("Callback wrappers should be manually managed for persistence.") gtk-sharp-2.12.10/doc/en/GLib/Process.xml0000644000175000001440000003310711345266756014641 00000000000000 glib-sharp 2.12.0.0 System.Object Field System.Int32 2147483647 IgnorePipe field. Pass this value to to ignore a pipe parameter. Field System.Int32 0 RequestPipe field. Pass this value to to request a request a pipe descriptor be returned in the parameter. Method System.Boolean The command line with arguments. Spawns a child process asynchronously. A boolean value indicating spawning success. This method does not wait for the child process to complete before returning. It is a convenience method for the more detailed method. ... try { GLib.Process.SpawnCommandLineAsync ("echo \"[Async echo process running]\""); } catch (GException e) { Console.WriteLine ("Exception in Spawn operation: " + e); } ... Method System.Boolean The command line with arguments. Returns the stdout output of the child process as a string. Returns the stderr output of the child process as a string. Returns the exit code returned by the process. Spawns a child process synchronously. A boolean value indicating spawning success. The method waits for the child process to complete prior to returning. This is a convenience method for the more detailed method. ... try { string stdout, stderr; int exit_status; GLib.Process.SpawnCommandLineSync ("pwd", out stdout, out stderr, out exit_status); Console.Write ("pwd exit_status=" + exit_status + " output: " + stdout); } catch (GException e) { Console.WriteLine ("Exception in Spawn operation: " + e); } ... Method System.Boolean The directory in which to execute the process, or to use the current directory of the parent process. A string array containing the program name in the first element. An array of environment values in the form 'var=value', or . Process spawning configuration flags. A child process setup callback, or . Returns the stdout output of the child process as a string. Returns the stderr output of the child process as a string. Returns the exit code of the child process. Spawns a child process synchronously. A boolean value indicating spawning success. The method waits for the child process to complete prior to returning. ... try { string stdout, stderr; int exit_status; GLib.Process.SpawnSync ("/usr", new string[] {"pwd"}, null, GLib.SpawnFlags.SearchPath, null, out stdout, out stderr, out exit_status); Console.Write ("pwd exit_status=" + exit_status + " output: " + stdout); } catch (GException e) { Console.WriteLine ("Exception in Spawn operation: " + e); } ... Method System.Void Closes a process. Processes spawned with must use this method to ensure zombie processes are not stranded. Method System.Boolean The directory in which to execute the process, or to use the current directory of the parent process. A string array containing the program name in the first element. An array of environment values in the form 'var=value', or . Process spawning configuration flags. A child process setup callback, or . Returns the child process. Spawns a child process asynchronously. A boolean value indicating spawning success. The method does not wait for the child process to complete before returning. This is a convenience method for the more detailed method. This method throws if an error occurs creating the process. ... try { GLib.Process proc; GLib.Process.SpawnAsync (null, new string[] {"echo", "[Async echo is running]"}, null, GLib.SpawnFlags.SearchPath, null, out proc); } catch (GException e) { Console.WriteLine ("Exception in Spawn operation: " + e); } ... Method System.Boolean The directory in which to execute the process, or to use the current directory of the parent process. A string array containing the program name in the first element. An array of environment values in the form 'var=value', or . Process spawning configuration flags. A child process setup callback, or . Returns the spawned process. Returns the stdin pipe descriptor if caller passes anything but . Returns the stdout pipe descriptor if caller passes anything but . Returns the stderr pipe descriptor if caller passes anything but . Spawns a child process and returns requested pipe descriptors. A boolean value indicating operation success. This method throws if an error occurs creating the process. using GLib; using System; public class SpawnTest { public static void Main (string[] args) { new SpawnTest (); } MainLoop main_loop; IOChannel channel; public SpawnTest () { main_loop = new MainLoop (); try { Process proc; int stdin = Process.IgnorePipe; int stdout = Process.RequestPipe; int stderr = Process.IgnorePipe; GLib.Process.SpawnAsyncWithPipes (null, new string[] {"pwd"}, null, SpawnFlags.SearchPath, null, out proc, ref stdin, ref stdout, ref stderr); channel = new IOChannel (stdout); channel.AddWatch (0, IOCondition.In | IOCondition.Hup, new IOFunc (ReadStdout)); } catch (Exception e) { Console.WriteLine ("Exception in Spawn: " + e); } main_loop.Run (); } bool ReadStdout (IOChannel source, IOCondition condition) { if ((condition & IOCondition.In) == IOCondition.In) { string txt; if (source.ReadToEnd (out txt) == IOStatus.Normal) Console.WriteLine ("[SpawnTest output] " + txt); } if ((condition & IOCondition.Hup) == IOCondition.Hup) { source.Dispose (); main_loop.Quit (); return true; } return true; } } Process class. Methods for spawning child processes. gtk-sharp-2.12.10/doc/en/GLib/IOChannelError.xml0000644000175000001440000000626311345266756016040 00000000000000 glib-sharp 2.12.0.0 System.Enum Field GLib.IOChannelError Operation failed. Field GLib.IOChannelError File too large. Field GLib.IOChannelError Invalid argument. Field GLib.IOChannelError IO error. Field GLib.IOChannelError File is a directory. Field GLib.IOChannelError No space left on device. Field GLib.IOChannelError No such device or address. Field GLib.IOChannelError Value too large for defined data table. Field GLib.IOChannelError Broken pipe. IOChannelError enumeration. Error results for IOChannel operations. gtk-sharp-2.12.10/doc/en/GLib/SpawnChildSetupFunc.xml0000644000175000001440000000161311345266756017111 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Void Child process setup callback delegate. Pass this delegate one of the Spawn methods on to perform process setup. Note that using this capability can cause portability issues if you are targetting a win32 environment. In POSIX environments, the function is run in the child's environment, but on win32 this is not possible, so it runs in the parent environment. gtk-sharp-2.12.10/doc/en/GLib/IOChannel.xml0000644000175000001440000004331011345266756015020 00000000000000 glib-sharp 2.12.0.0 System.Object GLib.IWrapper System.IDisposable Constructor A UNIX file descriptor. Public constructor. Constructs a channel for a UNIX file descriptor or pipe. Constructor Path to a file. One of "r", "w", "a", "r+", "w+", "a+", with the same meaning as fopen. Public constructor. Constructs a channel for a file with a given mode. Method System.UInt32 Priority level. Default priority is 0. System defined values range from -100 (High priority) to 300 (Low priority). Conditions to notify. Notification callback delegate. Adds a notification watch to the mainloop at a given priority. A source ID which can be removed with . The following example spawns a process to run the pwd command and writes the output to the console using an IOChannel watch: using GLib; using System; public class SpawnTest { public static void Main (string[] args) { new SpawnTest (); } MainLoop main_loop; IOChannel channel; public SpawnTest () { main_loop = new MainLoop (); try { Process proc; int stdin = Process.IgnorePipe; int stdout = Process.RequestPipe; int stderr = Process.IgnorePipe; GLib.Process.SpawnAsyncWithPipes (null, new string[] {"pwd"}, null, SpawnFlags.SearchPath, null, out proc, ref stdin, ref stdout, ref stderr); channel = new IOChannel (stdout); channel.AddWatch (0, IOCondition.In | IOCondition.Hup, new IOFunc (ReadStdout)); } catch (Exception e) { Console.WriteLine ("Exception in Spawn: " + e); } main_loop.Run (); } bool ReadStdout (IOChannel source, IOCondition condition) { if ((condition & IOCondition.In) == IOCondition.In) { string txt; if (source.ReadToEnd (out txt) == IOStatus.Normal) Console.WriteLine ("[SpawnTest output] " + txt); } if ((condition & IOCondition.Hup) == IOCondition.Hup) { source.Dispose (); main_loop.Quit (); return true; } return true; } } Property GLib.IOCondition BufferCondition property. Indicates if there is data to read or room to output to the channel. Property System.Boolean Buffered property. A boolean value indicating if buffering is active. Buffering can only be altered when the is . All other encodings must be buffered. It can only be cleared after the buffer has been flushed. Property System.UInt64 BufferSize property. The buffer size, or 0 to pick a reasonable size. Property System.Boolean CloseOnUnref property. A boolean indicating if the channel should be closed on disposal. Method System.Void Disposes the channel. Property System.String Encoding property. Specifies the native encoding of the channel. Use for binary channels. The default encoding is UTF8. Method GLib.IOChannelError Error number. Converts an error number to an Error value. The error. Property GLib.IOFlags Flags property. The IO Flags for the channel. Method GLib.IOStatus Flushes the write buffer for the channel. Status of the operation. Method GLib.IOChannel Native channel pointer. Wraps a native channel. A managed channel instance. Provided for language binding use. Property System.IntPtr Handle property. A point to the native channel. Provided for language binding use. Method System.Void Init method. Provided for subclassers to initialize derived channels. Property System.Char[] LineTerminator property. The chars representing line termination in the channel. This property is represented as an array of chars to allow for null char terminators. Method GLib.IOStatus Buffer to store the read data. Length of data read. Reads data from the channel. An operation status value. Method fills the buffer with as many complete utf8 characters as possible. Provided primarily for binary data reading in null encodings. Use for text stream reading to strings. Method GLib.IOStatus Returns the next line in the channel. Reads a line from the channel. An operation status value. Method GLib.IOStatus Returns the text read. Location of line terminator. Reads the next line in the channel. An operation status value. Method GLib.IOStatus Returns the text read. Reads to the end of the channel. An operation status value. Method GLib.IOStatus Returns the UCS4 character. Reads a UCS4 character from the channel. An operation status value. Method GLib.IOStatus Byte offset. Base position. Seeks to a position in the channel. An operation status value. Method GLib.IOStatus A boolean indicating if buffer should be flushed. Shuts down a channel. An operation status value. Property System.Int32 UnixFd property. An integer representing the descriptor value. Method GLib.IOStatus Data buffer to write. Returns the number of bytes written. Writes binary data to a channel. An operation status value. Method GLib.IOStatus Text to write. Returns unwritten text. Writes text to the channel. An operation status value. Method GLib.IOStatus A UCS4 character. Writes a UCS4 character to the channel. An operation status value. IO Channel class. Provides methods to read and write data to an IO channel. gtk-sharp-2.12.10/doc/en/GLib/GInterfaceInitHandler.xml0000644000175000001440000000165311345266756017355 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Void A native Iface struct pointer to populate. User data provided at registration time. Always IntPtr.Zero. GInterface Initialization Handler. Only useful for binding authors, and generated binding code. gtk-sharp-2.12.10/doc/en/GLib/ClassInitializerAttribute.xml0000644000175000001440000000342011345266756020353 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Identifies a class initialization method to call when GTypes are registered. System.Attribute Constructor Constructs an attribute. System.Obsolete("Replaced by TypeInitializerAttribute") gtk-sharp-2.12.10/doc/en/GLib/NotifyHandler.xml0000644000175000001440000000326611345266756015774 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Represents a method that will handle a property notification event The handler is provided an value that contains the event data (). System.Delegate System.Void gtk-sharp-2.12.10/doc/en/GLib/IOFlags.xml0000644000175000001440000000573311345266756014513 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags Field GLib.IOFlags Enables Append mode. Field GLib.IOFlags Mask for all flags. Field GLib.IOFlags Enables read support. Field GLib.IOFlags Enables seek support. Field GLib.IOFlags Enables write support. Field GLib.IOFlags Mask for all flags. Field GLib.IOFlags Enables non-blocking mode. Field GLib.IOFlags Enables non-blocking and append mode. IOFlags enumeration. Flags for configuring IO channel usage. gtk-sharp-2.12.10/doc/en/GLib/TypeInitializerAttribute.xml0000644000175000001440000000455311345266756020237 00000000000000 glib-sharp 2.12.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Class) Constructor The Type to be Initialized. The method name to invoke. Public Constructor. Property System.String MethodName property. The name of a method to invoke at type initialization time. The signature of the method should be void MethodName (GLib.GType, System.Type) and the method should be private static. Property System.Type Type Property. The Type which contains the method identified in . TypeInitializer Attribute. Replaces the to allow for more efficient reflection memory usage. gtk-sharp-2.12.10/doc/en/GLib/IgnoreClassInitializersAttribute.xml0000644000175000001440000000226111345266756021704 00000000000000 glib-sharp 2.12.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Assembly) Constructor Public Constructor. IgnoreClassInitializers Attribute. Add this attribute to an assembly which implements GLib.Object subclasses to avoid some reflection memory overhead if your classes do not utilize the . gtk-sharp-2.12.10/doc/en/GLib/ExceptionManager.xml0000644000175000001440000000432511345266756016454 00000000000000 glib-sharp 2.12.0.0 System.Object Method System.Void Exception. If , the exception terminates the application. Raise Unhandled Exception method. This method is generally only useful to language bindings. If is set, or a user event handler requests application exit, this method does not return. Event GLib.UnhandledExceptionHandler UnhandledException event. Attach a delegate to this event to receive notification of Exceptions throw within managed callback delegates. If the contain information regarding whether the Exception is terminal and can be used to request termination of the application via the property. Exception management class. gtk-sharp-2.12.10/doc/en/GLib/ConnectBeforeAttribute.xml0000644000175000001440000000476611345266756017634 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Identifies a delegate to run before the default signal handler. Use this attribute to attach an event handler to an object and cause it to be invoked before the default signal handler of the object. While this mechanism can be used to pierce the object's encapsulation and change the behavior of the object without subclassing it, the cleaner approach would be to subclass the object and override the virtual method for the default signal handler. In the following example, the ButtonClicked method will be invoked before the virtual method is executed. public class Example { public static int Main (string[] args) { Gtk.Button btn = new Gtk.Button ("Click me"); btn.Clicked = new EventHandler (ButtonClicked); } [GLib.ConnectBefore] private void ButtonClicked (object o, EventArgs args) { Console.WriteLine ("Got Clicked"); } } System.Attribute Constructor Public Constructor. gtk-sharp-2.12.10/doc/en/GLib/TypeFundamentals.xml0000644000175000001440000002035311345266756016505 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The built-in types available in . System.Enum Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added Field GLib.TypeFundamentals To be added gtk-sharp-2.12.10/doc/en/GLib/LogLevelFlags.xml0000644000175000001440000001257011345266756015712 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum System.Flags Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added Field GLib.LogLevelFlags To be added gtk-sharp-2.12.10/doc/en/GLib/GString.xml0000644000175000001440000000605311345266756014600 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Internal class for marshaling strings to and from GStrings. This class is used by the code generator to map GStrings onto managed string parameters and return values. It should not be used by application code. System.Object GLib.IWrapper Method System.String Converts a GString pointer to a managed string. a a This method does not free the GString. Constructor Creates a native GString from a managed string. a Property System.IntPtr A pointer to the native GString associated with this object. a gtk-sharp-2.12.10/doc/en/GLib/GException.xml0000644000175000001440000000310111345266756015257 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Exception emitted by GError receipt from native methods. When a native method takes a GError parameter to report failures in method invocation, if the GError parameter is set after method invocation this Exception is thrown to report the error. System.Exception Constructor Internal constructor. a handle to the native GError pointer. This constructor is public so that generated code in assemblies outside of glib-sharp.dll can access it, but it should not be necessary to use it from application code. gtk-sharp-2.12.10/doc/en/GLib/GInterfaceAdapter.xml0000644000175000001440000000424611345266756016535 00000000000000 glib-sharp 2.12.0.0 System.Object Constructor Protected Constructor. Property GLib.GType GType Property. The native GInterface type value. Property GLib.GInterfaceInitHandler InitHandler Property. The Initialization Handler for the Adapter. Property System.IntPtr Handle property. a pointer to a native object. GInterfaceAdapter abstract class. The members of this abstract base class are used internally to register GInterfaces with the native type system. They are not useful to application authors. gtk-sharp-2.12.10/doc/en/GLib/InitiallyUnowned.xml0000644000175000001440000000403511345266756016517 00000000000000 glib-sharp 2.12.0.0 GLib.Object Constructor To be added. Internal constructor. Do not use in application code. Exposed for language binding use. Constructor System.Obsolete Native type. Do not use. Property GLib.GType Native type identifier. the GInitiallyUnowned native GType. For internal use. Floating reference base class. Subclasses of this type instantiate with an unowned native GObject reference. gtk-sharp-2.12.10/doc/en/GLib/NotifyArgs.xml0000644000175000001440000000421511345266756015306 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The method results in the invocation of delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Property System.String The property that changed a gtk-sharp-2.12.10/doc/en/GLib/Idle.xml0000644000175000001440000000574611345266756014110 00000000000000 glib-sharp 2.12.0.0 This function is thread safe. Idle handlers for GLib-based main-loops GLib provides an implementation of a "main loop" (an event-based main loop that dispatches requests). The Idle handler class is used to register a routine to be called when the main loop is idle. System.Object Method System.UInt32 Installs an idle handler for the main loop. The delegate method that will be invoked. The handler code assigned to this idle handler. This function installs the as a handler to be invoked when the GLib mainloop is idle. If the handler returns the handler is kept for another round of Idle execution, if is returned, the handler is removed. This method can be invoked from a different thread than the one running the Gtk main loop. The delegate will be invoked within the context of the Gtk main loop. The thread-safety of this routine can be used to queue work by a thread to be performed in the context of the main Gtk thread. Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Method System.Boolean Removes an Idle handler from the Main Loop. an to remove. The function will return true (a ) if the delegate was found and removed . gtk-sharp-2.12.10/doc/en/GLib/DefaultSignalHandlerAttribute.xml0000644000175000001440000000733611345266756021134 00000000000000 glib-sharp 2.12.0.0 Identifies a virtual class method on a GLib.Object subclass. When a virtual method tagged with this attribute is overridden in a subclass, the method is automatically hooked into the native object's vtable. For the most part, this is an internal implementation detail, but it can be used by binding code to manually identify GObject virtual methods that can be overridden by subclasses. The following code identifies the ForAll method as an overridable native method on the class. When a managed subclass of Container overrides the ForAll method, at type registration time, the OverrideForall method is invoked to connect up a delegate to the native GtkContainerClass::forall vtable slot. static void Forall_cb (IntPtr container, bool include_internals, IntPtr cb, IntPtr data) { Container obj = GLib.Object.GetObject (container, false) as Container; CallbackInvoker invoker = new CallbackInvoker (cb, data); obj.ForAll (include_internals, invoker); } static void OverrideForall (GLib.GType gtype) { if (ForallCallback == null) ForallCallback = new ForallDelegate (Forall_cb); gtksharp_container_override_forall (gtype, ForallCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.Container), ConnectionMethod="OverrideForall")] protected virtual void ForAll (bool include_internals, CallbackInvoker invoker) { gtksharp_container_base_forall (Handle, include_internals, invoker.Callback, invoker.Data); } System.Attribute Constructor Public Constructor. Property System.String The method to invoke to hook into the native object's vtable. a representing the method name to invoke. This method is invoked during type registration to hook up a callback delegate into the native object's vtable for virtual methods. Property System.Type The Type of the object which exposes the virtual method. a The type registration code reflects on this type for the to invoke. gtk-sharp-2.12.10/doc/en/GLib/GTypeAttribute.xml0000644000175000001440000000455311345266756016142 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Identifies a property that can be read to find the GType of a managed type System.Attribute System.AttributeUsage(System.AttributeTargets.Enum) Constructor Creates an attribute. the containing the GType property Property System.Type The class containing the GType property a gtk-sharp-2.12.10/doc/en/GLib/UnhandledExceptionHandler.xml0000644000175000001440000000157211345266756020303 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Void Event arguments. Reports unhandled exceptions. Attach to event to receive notification of exceptions in managed callback delegates. gtk-sharp-2.12.10/doc/en/GLib/Signal.xml0000644000175000001440000001127111345266756014436 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Signal Binding Used by GLib.Object subclasses to bind events to native GObject properties. System.Object Method GLib.Signal Gets the signal marshaler for a property on an object. a The signal name to look up. a This overload is used for events, which are marshaled internally. Method GLib.Signal Gets the signal marshaler for a property on an object. a The signal name to look up. The callback which marshals signal arguments and invokes handlers. a If the desired event is an , there is a convenience overload that doesn't require a marshaling callback. Method System.Void Adds a delegate to the signal. a Method System.Void Removes a delegate from the signal. a Property System.Delegate Gets the handler to invoke for a signal. a Only use this property within a marshaling callback. gtk-sharp-2.12.10/doc/en/GLib/SList.xml0000644000175000001440000001267011345266756014263 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Wrapper class for GSList. GLib.ListBase Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Pointer to the C object. To be added. Internal constructor This is an internal constructor, and should not be used by user code. Constructor Public Constructor. the of the list elements. Constructor Pointer to the native list. The type if the elements contained in the list. if the native list should be released on Dispose. if the elements should be released on Dispose. Creates an SList. This type should only be used for marshaling GSList parameters and return values in bindings. Constructor An array of list member objects. The type of the members. Indicates if the list reference must be released on finalization. Indicates if the list members must be released on finalization. Public constructor. Constructs a native GList containing a set of member objects. Constructor An array of list member objects. The type of the members. Indicates if the list reference must be released on finalization. Indicates if the list members must be released on finalization. Public constructor. Constructs a native GList containing a set of member objects. gtk-sharp-2.12.10/doc/en/GLib/GInterfaceAttribute.xml0000644000175000001440000000332511345266756017115 00000000000000 glib-sharp 2.12.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Interface) Constructor Adapter type containing registration information. Public Constructor. Property System.Type Adapter Property. A subclass containing registration information for the GInterface. GInterface Attribute. Identifies an implementation interface corresponding to a native GInterface and provides access to the Adapter type for the interface. gtk-sharp-2.12.10/doc/en/GLib/Boxed.xml0000644000175000001440000000650011345266756014261 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An abstract base class to derive structures and marshal them. This class is not used by the generator as of 1.0 and will be removed in future versions. System.Object System.Obsolete Constructor Constructs a Boxed type from a raw ref. an object of type Constructor Internal Constructor an object of type This is not typically called directly. Property System.IntPtr Do not use. a Do not use. Property System.Object Do not use. a Do not use. Method System.IntPtr To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/GLib/IdleHandler.xml0000644000175000001440000000212211345266756015367 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Delegate to invoke during idle time The handler specified by the delegate will be invoked during the GLib main loop execution. If the handler returns the handler is kept for another round of Idle execution, if is returned, the handler is removed. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/GLib/SpawnError.xml0000644000175000001440000001504411345266756015325 00000000000000 glib-sharp 2.12.0.0 System.Enum Field GLib.SpawnError execv() returned EACCESS. Field GLib.SpawnError Changing to working directory failed. Field GLib.SpawnError Some other failure. Error message output will have additional info. Field GLib.SpawnError Fork failed due to lack of memory. Field GLib.SpawnError execv() returned EINVAL. Field GLib.SpawnError execv() returned EIO. Field GLib.SpawnError execv() returned EISDIR. Field GLib.SpawnError execv() returned ELIBBAD. Field GLib.SpawnError execv() returned ELOOP. Field GLib.SpawnError execv() returned EMFILE. Field GLib.SpawnError execv() returned ENAMETOOLONG. Field GLib.SpawnError execv() returned ENFILE. Field GLib.SpawnError execv() returned ENOENT. Field GLib.SpawnError execv() returned ENOEXEC. Field GLib.SpawnError execv() returned ENOMEM. Field GLib.SpawnError execv() returned ENOTDIR. Field GLib.SpawnError execv() returned EPERM. Field GLib.SpawnError Read or select on pipe failed. Field GLib.SpawnError execv() returned ETOOBIG. Field GLib.SpawnError execv() returned ETXTBUSY. SpawnError enumeration. Error codes returned by process spawing methods. gtk-sharp-2.12.10/doc/en/GLib/TimeoutHandler.xml0000644000175000001440000000165611345266756016153 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Delegate used for Timeouts in the GLib main loop. Return to restart the timeout. Returning clears the timeout. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/GLib/Log.xml0000644000175000001440000002412211345266756013741 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Message logging functions. //Some common logging methods. // Print the messages for the NULL domain LogFunc logFunc = new LogFunc (Log.PrintLogFunction); Log.SetLogHandler (null, LogLevelFlags.All, logFunc); // Print messages and stack trace for Gtk critical messages logFunc = new LogFunc (Log.PrintTraceLogFunction); Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); //Some common logging methods. // Print the messages for the NULL domain LogFunc logFunc = new LogFunc (Log.PrintLogFunction); Log.SetLogHandler (null, LogLevelFlags.All, logFunc); // Print messages and stack trace for Gtk critical messages logFunc = new LogFunc (Log.PrintTraceLogFunction); Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); System.Object Method System.Void To be added an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type To be added Method GLib.LogLevelFlags To be added an object of type an object of type an object of type To be added Method GLib.LogLevelFlags To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type To be added Method GLib.PrintFunc To be added an object of type an object of type To be added Method GLib.PrintFunc To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.UInt32 To be added an object of type an object of type an object of type an object of type To be added Constructor To be added To be added Method System.Void System.ParamArray To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/GLib/EnumWrapper.xml0000644000175000001440000000474211345266756015473 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enum wrapper System.Object Field System.Boolean Indicates if the enum has the . Constructor Creates a new instance. an object of type an object of type Method System.Int32 To be added. To be added. To be added. To be added. System.Obsolete("Replaced by direct enum type casts to/from GLib.Value") gtk-sharp-2.12.10/doc/en/GLib/Markup.xml0000644000175000001440000000317611345266756014465 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. Wrapper for glib markup System.Object Method System.String Escapes text so that the markup parser will parse it verbatim. some valid Utf8 text escaped text Less than, greater than, ampersand, etc. are replaced with the corresponding entities. This function would typically be used when writing out a file to be parsed with the markup parser. Note that this function does not protect whitespace and line endings from being processed according to the XML rules for normalization of line endings and attribute values. gtk-sharp-2.12.10/doc/en/GLib/MainContext.xml0000644000175000001440000000745711345266756015465 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Manages events in the main context. System.Object Method System.Boolean Checks if any sources have pending events for the given context. an object of type Method System.Boolean Runs a single iteration for the given main loop. an object of type an object of type This involves checking to see if any event sources are ready to be processed, then if no events sources are ready and is , waiting for a source to become ready, then dispatching the highest priority events sources that are ready. Note that even when is , it is still possible for g_main_context_iteration() to return , since the the wait may be interrupted for other reasons than an event source becoming ready. Method System.Boolean Runs a single iteration for the given main loop. an object of type This is a convenience overload for with passed in. Constructor Create a new instance. This is the default constructor for . Property System.Int32 Nesting level of the currently executing main loop. A count of main loop levels. gtk-sharp-2.12.10/doc/en/GLib/SeekType.xml0000644000175000001440000000250511345266756014752 00000000000000 glib-sharp 2.12.0.0 System.Enum Field GLib.SeekType Current position in the file. Field GLib.SeekType End of the file. Field GLib.SeekType Start of the file. SeekType enumeration. Base positions for seek operations. gtk-sharp-2.12.10/doc/en/GLib/GType.xml0000644000175000001440000003403511345266756014254 00000000000000 glib-sharp 2.12.0.0 The GLib Runtime type identification and management system. The GType API is the foundation of the GObject system. It provides the facilities for registering and managing all fundamental data types, user-defined object and interface types. System.ValueType Field GLib.GType An invalid . Field GLib.GType A corresponding to . Field GLib.GType The for values. Field GLib.GType The for values. Field GLib.GType The for values. Field GLib.GType The for values. Field GLib.GType The for values. Field GLib.GType The for values. Field GLib.GType The for values. Field GLib.GType The for values. Field GLib.GType The for pointer values. Field GLib.GType The for "boxed" struct values. Field GLib.GType The for values. Field GLib.GType The for values. Field GLib.GType The for unmanaged interface values. Field GLib.GType The for values. Field GLib.GType The for GType-registered enum values. Field GLib.GType The for GType-registered flag values. Constructor Constructor for GType. Primarily used in generated wrappers for gtk objects. a Generated code from gnome/generated/About.cs: [DllImport("gnomeui-2")] static extern IntPtr gnome_about_get_type(); public static new GLib.GType GType { get { IntPtr raw_ret = gnome_about_get_type(); GLib.GType ret = new GLib.GType(raw_ret); return ret; } } Property System.IntPtr Read only property retrieves the representing the GType object in question. a Method System.Void Registers a to mapping. a a Method System.Type Looks up the corresponding to an unmanaged GType a a Method GLib.GType To be added. To be added. To be added. To be added. Method System.Type To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/GLib/LogFunc.xml0000644000175000001440000000214111345266756014552 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/GLib/PropertyAttribute.xml0000644000175000001440000000425011345266756016730 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Attribute used to label a property System.Attribute Constructor Attribute constructor the (C/GObject) name of the property Property System.String The (C/GObject) name of the property a gtk-sharp-2.12.10/doc/en/GLib/Argv.xml0000644000175000001440000000751511345266756014126 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Argv marshaling class. Argv class is used to get the arguments passed to the program from the command line. $mono hello.exe 1 2 3 4 Then you application [hello.exe] will be able to access these arguments passed from the command line, [1,2,3,4 in this case] using the Glib.Argv class. System.Object Method System.String[] Gets a string array containing a specified number of arguments. a a Constructor Creates an Argv marshaler. a Property System.IntPtr Native pointer to the argument array. a Constructor Public constructor a a If is , the native argv will also contain a leading string containing the program name reported in the first element of the array returned by . gtk-sharp-2.12.10/doc/en/GLib/Value.xml0000644000175000001440000006033111345266756014276 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An arbitrary data type similar to a CORBA Any which is used to get and set properties on Objects. System.ValueType System.IDisposable Constructor Constructs a Value from a specified boolean. an object of type Constructor Constructs a Value from a specified double. an object of type Constructor Constructs a Value from a specified float. an object of type Constructor Constructs a Value from a specified integer. an object of type Constructor Constructs a Value from a specified object. an object of type Constructor Constructs a Value from a specified pointer. an object of type Constructor Constructs a Value from a specified string. an object of type Constructor Constructs a Value from a specified uint. an object of type Constructor Constructs a Value from a specified ushort. an object of type Method System.Void Disposes the underlying value Constructor Constructs a Value from any object, including a managed type. a Constructor Constructs a value for an Opaque type. a a a System.Obsolete Property System.Object Accesses the value. a Constructor Constructs an initialized value for a given type. a Field GLib.Value An unitialized value. Method System.Void Initializes a value to a given type. a Constructor Constructs a value initialized for a given property name. a a Constructor Constructs a value initialized to a given enumerated type property. a a a System.Obsolete Constructor Constructs a Value from an object of a given type an object the (C/GType) name of 's type Constructor Constructs a Value from an object of a given type an value the (C/GType) name of 's type System.Obsolete("Replaced by Value(object) constructor") Constructor Constructs a value for a 64 bit integer. a Constructor Constructs a value for a 64 bit unsigned integer. a Method System.Boolean a Extracts a boolean value from a . The boolean value. Method System.Int32 a Extracts an integer value from a . The integer value. Method System.UInt32 a Extracts an unsigned integer value from a . The unsigned integer value. Method System.UInt16 a Extracts an unsigned short value from a . The unsigned short value. Method System.Int64 a Extracts a long integer value from a . The long integer value. Method System.UInt64 a Extracts an unsigned long integer value from a . The unsigned long integer value. Method GLib.EnumWrapper a Extracts an enumeration value from a . The enumeration value. Method System.Single a Extracts a floating-point value from a . The floating-point value. Method System.Double a Extracts a double-precision floating-point value from a . The double-precision floating-point value. Method System.String a Extracts a string value from a . The string value. Method System.IntPtr a Extracts an untyped pointer value from a . The untyped pointer value. Method GLib.Opaque a Extracts an opaque object value from a . The opaque object value. Method GLib.Boxed a Extracts a boxed type value from a . The boxed type value. Method GLib.Object a Extracts an object value from a . The object value. Method GLib.UnwrappedObject a Extracts an unwrapped object value from a . The unwrapped object value. Constructor a Constructs a Value from a specified string array. Method System.String[] a Extracts a string array from a . The string array value. Method System.Enum a Extracts an enum value from a . The enum value. Note that casting a to any enum type will invoke this operator. Constructor To be added. Public constructor. Constructs a native GValue from an interface adapter object, wrapping its underlying managed interface. gtk-sharp-2.12.10/doc/en/GLib/IOCondition.xml0000644000175000001440000000460011345266756015375 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags Field GLib.IOCondition Error condition. Field GLib.IOCondition Hung up. The connection has been broken. Field GLib.IOCondition There is data to read. Field GLib.IOCondition Invalid request. Field GLib.IOCondition Data can be written without blocking. Field GLib.IOCondition There is urgent data to be read. IOCondition enumeration. Flags to configure watches on an event source. gtk-sharp-2.12.10/doc/en/GLib/Marshaller.xml0000644000175000001440000004335711345266756015325 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Marshalling utilities Utility class for internal wrapper use System.Object Method System.String Marshals a utf8 string from native memory and frees the native string. a a Method System.String[] Marshals an array of utf8 string from native memory and frees the native strings. a a Method System.IntPtr Marshal a string to a native Utf8 string using GLib memory allocation. a a Method System.IntPtr Obsolete. a a Replaced by Method System.String[] Obsolete. a a a Replaced by Method System.IntPtr Marshals DateTime structures to native time_t values. a a Method System.DateTime Marshals native time_t values to DateTime values. a a Method System.Char Marshals a UCS4 character represented as an uint to a UTF16 char. a a Method System.UInt32 Marshals a UTF16 char to a UCS4 character represented as an uint. a a Method System.String System.ParamArray Wrapper for marshalling between String.Format-style methods and printf-style ones a -style format string arguments for a This is a wrapper for marshalling between managed String.Format-style methods and unmanaged printf-style ones. The managed function should take a format, and a array of , and pass that to . will format the data, and then make sure that any percent signs in the result are doubled so that they can safely be passed to an unmanaged method that expects a printf-style string (and following arguments). Method System.String Marshals a native Utf8 string to a managed string. a a Method System.String[] Marshals an array of native Utf8 strings to an array of managed strings. a a Method System.IntPtr the structure to marshal Marshals a structure to newly-allocated memory. a pointer to the newly-allocated memory This is like except that it allocates the memory for the unmanaged copy itself. You should free the memory with when you are done with it. Method System.Void Free a native pointer allocated by GLib. a Method System.String A native filename-encoded string pointer. Marshals a native filename-encoded string to a managed string. A managed string. The native pointer is not freed after marshaling. Use with const strings. Method System.String A native filename-encoded string pointer. Marshals a native filename-encoded string to a managed string. A managed string. The native pointer is freed after marshaling. Method System.IntPtr A managed string to be marshaled. Marshals a string to a filename encoded native pointer. A pointer to a newly allocated native string. Method System.Array The list to be marshaled. The type of the list elements. Marshals a native list to a typed array. An array of . Method System.Void An array of native memory addresses. Frees an array of native memory locations. Method System.String[] Pointer to a null-terminated string array. Marshal a null-terminated string array to a managed array. A string array. Method System.IntPtr[] an array of strings. Marshals a managed string array to a native null-terminated array. An array of native string pointers. Method System.IntPtr Size in bytes to be allocated. Allocates a block of heap memory using the glib allocator. A pointer to the block. Method System.String[] Pointer to a null-terminated string array. Indicates if the memory is owned and should be released. Marshals a native null-terminated string array to a managed string array. an array of managed strings. Method System.Void Pointer to a native null-terminated string array. Frees a string array, including its member strings. gtk-sharp-2.12.10/doc/en/GLib/MainLoop.xml0000644000175000001440000000525311345266756014742 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Allows having a mainloop without requiring Gtk. System.Object Method System.Void Start the mainloop. Method System.Void Stop the mainloop. Constructor Default constructor Property System.Boolean Whether this mainloop has started or not. a gtk-sharp-2.12.10/doc/en/GLib/Opaque.xml0000644000175000001440000002037111345266756014454 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object GLib.IWrapper System.IDisposable Method GLib.Opaque Used to obtain a CLI typed object associated with a given raw object pointer. an object of type an object of type This method is primarily used to wrap object references that are returned by either the signal system or raw class methods that return opaque struct references. Constructor Creates a new instance. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.IntPtr The raw Opaque reference associated with this object. an object of type Subclasses can use Raw property for read/write access. Property System.IntPtr The raw Opaque reference associated with this wrapper. an object of type Only subclasses of Opaque can access this read/write property. Method GLib.Opaque Used to obtain a CLI typed object associated with a given raw pointer. a a a a This method is primarily used to wrap object references that are returned by either the signal system or raw class methods that return opaque type pointers. Method System.Void Disposes the raw object. Method System.Void The raw pointer. Overridden in generated subclasses that perform refcounting. Method System.Void The raw pointer. Overridden in generated subclasses that perform refcounting. Method System.Void The raw pointer. Overridden in generated subclasses to free the raw data. Property System.Boolean Whether or not this wrapper owns the raw object. if the wrapper owns the raw object and will / it when the wrapper is disposed. By default, this is set to for opaque objects created with the no-argument constructor, and for opaque objects created with the constructor. Methods that return an opaque object can override this by setting the property accordingly to obey the memory-management conventions of the underlying C code. Method GLib.Opaque Native opaque structure pointer to copy. Copies an existing opaque type. A copied reference, or the original if the type doesn't support copying. gtk-sharp-2.12.10/doc/en/GLib/GSourceFunc.xml0000644000175000001440000000135011345266756015401 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Boolean GSource callback delegate. A boolean value. Typically, when the delegate returns , the delegate remains connected to the event source. When is returned, the delegate is removed. gtk-sharp-2.12.10/doc/en/GLib/SpawnFlags.xml0000644000175000001440000001005211345266756015262 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags Field GLib.SpawnFlags Indicates if the child process should inherit the parent's stdin. Field GLib.SpawnFlags Indicates if child should not be reaped automatically. Caller must call on the returned process to avoid zombies. Field GLib.SpawnFlags Indicates if the first element should be dropped from the argv that is passed to the process. Normally the first element of the argv is the program name to be invoked, and the entire argv is passed to the process, including the program name. Using this flag causes the program name to be dropped from the vector. Field GLib.SpawnFlags Indicates if parent file descriptors should remain open for the child. Without this flag, all descriptors except for stdin, stdout, and stderr are closed. Field GLib.SpawnFlags Indicates if the user's PATH variable should be used to locate the executable. Without this flag, a fully-qualified path to the executable must be provided in the command or argument vector. Setting this flag can create security issues, so it should be used with caution. Field GLib.SpawnFlags Indicates if stderr should be redirected to /dev/null, ignoring the output. If this flag is set, users of must pass for the stderr parameter. Field GLib.SpawnFlags Indicates if stdout should be redirected to /dev/null, ignoring the output. If this flag is set, users of must pass for the stdout parameter. SpawnFlags enumeration. Provides process spawning configuration information. gtk-sharp-2.12.10/doc/en/GConf/0000777000175000001440000000000011345266756012740 500000000000000gtk-sharp-2.12.10/doc/en/GConf/NotifyEventArgs.xml0000644000175000001440000000513011345266756016464 00000000000000 gconf-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. Arguments of the GConf Notify event that was called due to a GConf key being added, removed or updated. System.EventArgs Constructor This constructor is called to initialize a NotifyEventArgs with the key/value that was updated, removed or added in GConf a a Property System.Object This NotifyEventArgs property refers to the GConf Value from an entry which modification, addition or removal cause the event to be raised. the object stored in the GConf which modification, removal or addition cause the event to be raised. Property System.String This NotifyEventArgs property refers to the key which value modification, addition or removal cause the event to be raised. a string for the key name gtk-sharp-2.12.10/doc/en/GConf/Engine.xml0000644000175000001440000000713311345266756014607 00000000000000 gconf-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Configuration Engine class. System.Object System.IDisposable Method System.Void Releases the native engine ref. Method System.Void Commits a change set to the engine. a a indicating if successfully committed items should be removed from the ChangeSet. Property GConf.Engine Gets the default configuration engine. a This is the engine to use for most application code. Method GConf.ChangeSet Reverses the values for a ChangeSet. a a containing the keys/values reversed from non-default values. gtk-sharp-2.12.10/doc/en/GConf/NoSuchKeyException.xml0000644000175000001440000000340111345266756017123 00000000000000 gconf-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. This Exception is thrown when a key is not found in the user GConf file This exception is thrown by the Get methods of the ChangeSet and Client classes when a value is requested for a key that does not exist. System.Exception Constructor Public constructor. Constructor Public constructor. a , name of the key that was not found. gtk-sharp-2.12.10/doc/en/GConf/ClientBase.xml0000644000175000001440000000462611345266756015417 00000000000000 gconf-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. Abstract class; extend this to create objects that behave like GConf clients. System.Object Method System.Void Set the value stored at key to . a a Method System.Object Get the value stored at key . a a Constructor Protected constructor. gtk-sharp-2.12.10/doc/en/GConf/Client.xml0000644000175000001440000000710211345266756014614 00000000000000 gconf-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. Basic functions to initialize GConf and get/set values. The following example attempts to retrieve a setting from GConf, and set a default value otherwise. string MyVal; GConf.Client gconfClient = new GConf.Client (); try { MyVal = (string) gconfClient.Get ("/apps/monoapps/SampleApp/setting1")); } catch (GConf.NoSuchKeyException) { gconfClient.Set ("/apps/monoapps/SampleApp/setting1", "sample"); } GConf.ClientBase Method System.Void Suggests that you have just finished a block of changes, and it would be an optimal time to sync to permanent storage. This function is just a "hint" provided to maximize efficiency and minimize data loss. Method System.Void Removes a notification request. an object of type an object of type Method System.Void Registers a notification request. an object of type an object of type Constructor Creates a new . This is the default constructor for . gtk-sharp-2.12.10/doc/en/GConf/ChangeSet.xml0000644000175000001440000000352611345266756015245 00000000000000 gconf-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. A ChangeSet is a set of changes to the GConf database that can be commited and reversed easily. The changes can be both set and unset operations. Currently the ChangeSet operations are not atomic, and not specially optimized for. However, it is suitable for use, for instance, preferences dialogs. GConf.ClientBase System.IDisposable Method System.Void Disposes the resources associated with the object Called by Finalize Constructor Initializes a new ChangeSet object gtk-sharp-2.12.10/doc/en/GConf/NotifyEventHandler.xml0000644000175000001440000000276511345266756017160 00000000000000 gconf-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. NotifyEventHandler is a delegate object that can be used to notify your program whenever a key's value is changed, either in your program or externally (i.e. via gconf-editor). You only have to attach a GConf.NotifyEventHandler delegate to a key, this way: gconfClient.AddNotify (key, new GConf.NotifyEventHandler(function)); This is very important for graphic interfaces, as it is a good practice to make the application react instantly to preference changes. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Rsvg.xml0000644000175000001440000000160211345266756013322 00000000000000 Library for rendering of SVG vector graphics. The Gnome Scalable Vector Graphics Library (RSVG) is a library for rendering SVG and SVGZ files. RSVG is released under the GNU Library General Public License (GNU LGPL), which allows for flexible licensing of client applications. RSVG depends on the following libraries: gtk-sharp-2.12.10/doc/en/Atk.xml0000644000175000001440000000067311345266756013127 00000000000000 The Accessibility Toolkit. The Atk library provides a set of interfaces for accessibility. By supporting the Atk interfaces, an application or toolkit can be used such as tools such as screen readers, magnifiers, and alternative input devices. gtk-sharp-2.12.10/doc/en/Gnome/0000777000175000001440000000000011345266756013011 500000000000000gtk-sharp-2.12.10/doc/en/Gnome/PreferencesType.xml0000644000175000001440000000373311345266756016560 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Flags if something should be done. To be added. System.Enum GLib.GType(typeof(Gnome.PreferencesTypeGType)) Field Gnome.PreferencesType Never do something. Field Gnome.PreferencesType Do something only when the user wants it to be done. Field Gnome.PreferencesType Do something always. gtk-sharp-2.12.10/doc/en/Gnome/RestartStyle.xml0000644000175000001440000000503111345266756016113 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The various ways in which the session manager can restart a client. Set by calling . System.Enum GLib.GType(typeof(Gnome.RestartStyleGType)) Field Gnome.RestartStyle Restart if the client was running when the previous session exited. Field Gnome.RestartStyle Restart even if the client was exited before the user logged out of the previous session. Field Gnome.RestartStyle Restart the client immediately whenever it crashes or exits. Field Gnome.RestartStyle Do not restart the client. gtk-sharp-2.12.10/doc/en/Gnome/PrintTransport.xml0000644000175000001440000001426011345266756016463 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method System.Int32 To be added a To be added Method System.Int32 To be added a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Method System.Int32 To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 To be added a a To be added Method System.Int32 To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/ChangeSizeHandler.xml0000644000175000001440000000302311345266756016763 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/DrawBackgroundArgs.xml0000644000175000001440000000662711345266756017174 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property Gdk.Drawable To be added To be added: an object of type 'Gdk.Drawable' To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintPreview.xml0000644000175000001440000001061111345266756016104 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.PrintContext Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a a To be added Constructor To be added a a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/User.xml0000644000175000001440000000444511345266756014374 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.String To be added a To be added Method System.String To be added a To be added Method System.String To be added a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintRangeType.xml0000644000175000001440000000367011345266756016370 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintRangeType To be added Field Gnome.PrintRangeType To be added Field Gnome.PrintRangeType To be added GLib.GType(typeof(Gnome.PrintRangeTypeGType)) gtk-sharp-2.12.10/doc/en/Gnome/ColorPicker.xml0000644000175000001440000003514111345266756015667 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A button for selecting a color. ColorPicker provides a button for selecting a color. When pressed, a dialog is opened allowing the user to select a color. Gtk.Button System.Obsolete Method System.Void Set the color in the widget. The red value to set. The green value to set. The blue value to set. The alpha value to set. To be added Method System.Void Set the color in the widget. The red value to set. The green value to set. The blue value to set. The alpha value to set. To be added Method System.Void Set the color in the widget. The red value to set. The green value to set. The blue value to set. The alpha value to set. To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Create a new ColorPicker widget. To be added Property System.UInt32 The green value for the color in the widget. The current value of the channel. To be added GLib.Property("green") Property System.UInt32 The alpha value for the color in the widget. The current value of the channel. To be added GLib.Property("alpha") Property System.String The title to be displayed on the color selection dialog. Current text to be used for the color selection dialog. To be added GLib.Property("title") Property System.Boolean Whether the sample is dithered or simply a solid color. Current dither settings for the widget. To be added GLib.Property("dither") Property System.UInt32 The blue value for the color in the widget. The current value of the channel. To be added GLib.Property("blue") Property System.Boolean Enable/Disable support for an alpha channel for the color. Curren rule for the use of the alpha channel. To be added GLib.Property("use_alpha") Property System.UInt32 The red value for the color in the widget. The current value of the channel. To be added GLib.Property("red") Event Gnome.ColorSetHandler Emitted when a color is selected in the color dialog. To be added GLib.Signal("color_set") Method System.Void Get the UInt16s for the current color in the widget. Location to store the red value. Location to store the green value. Location to store the blue value. Location to store the alpha value. To be added Method System.Void Get the doubles for the current color in the widget. Location to store the red value. Location to store the green value. Location to store the blue value. Location to store the alpha value. To be added Method System.Void Get the bytes for the current color in the widget. Location to store the red value. Location to store the green value. Location to store the blue value. Location to store the alpha value. To be added Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/TextChangedHandler.xml0000644000175000001440000000340111345266756017141 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextChangedHandler instance to the event. The methods referenced by the TextChangedHandler instance are invoked whenever the event is raised, until the TextChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/PrintUnitSelector.xml0000644000175000001440000001367511345266756017120 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.HBox Method System.Void To be added a To be added Method System.Void To be added a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property Gnome.PrintUnit To be added a To be added Property System.UInt32 To be added a To be added Event System.EventHandler To be added To be added GLib.Signal("modified") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/DateEditFlags.xml0000644000175000001440000000414011345266756016106 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Flags specifying how behaves To be added. System.Enum GLib.GType(typeof(Gnome.DateEditFlagsGType)) System.Flags Field Gnome.DateEditFlags Time will be displayed. Field Gnome.DateEditFlags 24-hour format is desired for the time display. Field Gnome.DateEditFlags The week starts on Monday gtk-sharp-2.12.10/doc/en/Gnome/PrintLayoutSelector.xml0000644000175000001440000001270011345266756017442 00000000000000 gnome-sharp 2.20.0.0 Gtk.VBox Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Property("input_height") System.Double To be added. To be added. To be added. Property GLib.Property("input_width") System.Double To be added. To be added. To be added. Property GLib.Property("meta") Gnome.PrintMeta To be added. To be added. To be added. Property GLib.Property("output_height") System.Double To be added. To be added. To be added. Property GLib.Property("output_width") System.Double To be added. To be added. To be added. Property GLib.Property("total") System.UInt32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/UIInfoConfigurableTypes.xml0000644000175000001440000003152611345266756020155 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This enum gives an identifier for each menu shortcut that can possible be redefined. A user can redefine the accelerator keys for each menu item (if the application supports this). If an application is not using one of these accelerators, then no shortcut redefinition is possible unless the application specifically implements it (moral: use standard menu items). System.Enum Field Gnome.UIInfoConfigurableTypes The "New" menu. Field Gnome.UIInfoConfigurableTypes The "Open" menu. Field Gnome.UIInfoConfigurableTypes The "Save" menu. Field Gnome.UIInfoConfigurableTypes The "Save As..." menu Field Gnome.UIInfoConfigurableTypes The "Revert" menu. Field Gnome.UIInfoConfigurableTypes The "Print" menu. Field Gnome.UIInfoConfigurableTypes The "Print setup..." menu. Field Gnome.UIInfoConfigurableTypes The "Close" menu. Field Gnome.UIInfoConfigurableTypes The "Quit" menu. Field Gnome.UIInfoConfigurableTypes The "Cut" menu. Field Gnome.UIInfoConfigurableTypes The "Copy" menu. Field Gnome.UIInfoConfigurableTypes The "Paste" menu. Field Gnome.UIInfoConfigurableTypes The "Clear" menu. Field Gnome.UIInfoConfigurableTypes The "Undo" menu. Field Gnome.UIInfoConfigurableTypes The "Redo" menu. Field Gnome.UIInfoConfigurableTypes The "Find..." menu. Field Gnome.UIInfoConfigurableTypes The "FindAgain" menu. Field Gnome.UIInfoConfigurableTypes The "Replace..." menu. Field Gnome.UIInfoConfigurableTypes The "Properties..." menu. Field Gnome.UIInfoConfigurableTypes The "Preferences..." menu. Field Gnome.UIInfoConfigurableTypes The "About..." menu. Field Gnome.UIInfoConfigurableTypes The "Select all" menu. Field Gnome.UIInfoConfigurableTypes The "New window" menu. Field Gnome.UIInfoConfigurableTypes The "Close window" menu. Field Gnome.UIInfoConfigurableTypes The "New game" menu. Field Gnome.UIInfoConfigurableTypes The "Pause game" menu. Field Gnome.UIInfoConfigurableTypes The "Restart game" menu. Field Gnome.UIInfoConfigurableTypes The "Undo move" menu. Field Gnome.UIInfoConfigurableTypes The "Redo move" menu. Field Gnome.UIInfoConfigurableTypes The "Hint" menu. Field Gnome.UIInfoConfigurableTypes The "Scores..." menu. Field Gnome.UIInfoConfigurableTypes The "End game" menu. gtk-sharp-2.12.10/doc/en/Gnome/FontDialog.xml0000644000175000001440000000733711345266756015507 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Dialog Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property Gtk.Widget To be added a To be added Property Gtk.Widget To be added a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.10/doc/en/Gnome/App.xml0000644000175000001440000010653511345266756014201 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The main application widget. The widget and associated functions provides the easiest way to create an almost complete Gnome# application. Simply create an instance of the widget, append any menus, toolbar(s) and a statusbar, as required (this will probably be done with some functions from the following pages). Then fill in the main contents with a call to and start the main loop (with ). Gtk.Window Method System.Void To be added an object of type an object of type an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type an object of type To be added Method System.String To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void Sets the of the application window, but uses as its container. an object of type an object of type Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type an object of type an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type an object of type an object of type an object of type To be added Method System.Void Specify whether should automatically save the dock's layout configuration via gnome-config whenever it changes or not. an object of type To be added Method System.Void To be added an object of type an object of type an object of type To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new instance. an object of type an object of type Property Gtk.Toolbar Sets the main toolbar of the application window. an object of type Property Gtk.Widget The content area of the main window of the . an object of type Property Gtk.MenuBar Sets the of the application window. an object of type Property Gtk.Widget The status bar of the application window. an object of type Property System.String To be added a To be added GLib.Property("app_id") Method Gtk.Widget To be added a a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added Property System.String The application name a Property System.String The application's install prefix a Property Gtk.AccelGroup The 's a Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/IconFocusedHandler.xml0000644000175000001440000000271711345266756017155 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the IconFocusedHandler instance to the event. The methods referenced by the IconFocusedHandler instance are invoked whenever the event is raised, until the IconFocusedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/FontPreview.xml0000644000175000001440000000766411345266756015734 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Image Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property Gnome.Font To be added a To be added Property System.UInt32 To be added a To be added Property System.String To be added a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.10/doc/en/Gnome/CanvasItem.xml0000644000175000001440000007142411345266756015511 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for all canvas items This is the base class for all canvas items. Canvas items are the drawing elements of a GnomeCanvas. Example items include lines, ellipses, polygons, images, text, curves and even arbitrary GTK+ widgets. Canvas items use the GObject property system to query and set parameters. Properties are inherited so, for example, a has a property that is inherited from its parent class object . So be sure to check the parent classes of objects when looking for item properties. To create a new canvas item use the constructor which takes a parent , of the item to create, and a terminated list of name/value GObject properties to set for the new item. There are several methods to change the drawing stacking order of an item. Call to raise an item a specified number of positions or to lower it. To raise an item to the top call . The methods will put it at the bottom. To show an item call . Note that canvas item's are shown by default and so do not need to be explicitly shown after creation (contrary to GTK+ widget behavior). Call to hide an item. To move an item relative to its current position (item coordinates) call or for more complex transforms. can be used to set an item's transform to specific values (not offsets). To convert between world and item coordinate systems call , and to convert in the other direction call . To get the transform for converting from item to world coordinates use or for converting item to canvas coordinates, . Handling user input for interactive items is accomplished through a few functions and the signals. To grab the mouse cursor call , it can be ungrabbed with (see of the GTK+ library for details). To grab keyboard focus call . Received events will be signaled via the "event" signal. Some other useful functions include a reparenting routine, , and a function to query the bounding box of an item (a minumum rectangular area containing all parts of the item), . Gtk.Object Method System.Void Lowers the item in its parent's stack by the specified number of positions. If the number of positions is greater than the distance to the bottom of the stack, then the item is put at the bottom. Number of steps to lower the item. Method System.Void Shows a canvas item. If the item was already shown, then no action is taken. Method System.Void Request redraw of if in aa mode, or the entire item in in xlib mode. The svp that needs to be redrawn This item must contain . Method System.Void Makes the specified item take the keyboard focus, so all keyboard events will be sent to it. If the canvas widget itself did not have the focus, it grabs it as well. Method System.Void Lowers an item to the bottom of its parent's stack. Method System.Void Hides a canvas item. If the item was already hidden, then no action is taken. Method System.Void Raises an item to the top of its parent's stack. Method System.Void Converts a coordinate pair from world coordinates to item-relative coordinates. X coordinate to convert (input/output value). Y coordinate to convert (input/output value). The parameters and are used as both in and out parameters. Method System.Void Sets the svp to the new value, requesting repaint on what's changed the existing SVP the new SVP Method System.Void Sets the svp to the new value, clipping if necessary, and requesting repaint on what's changed. the old SVP the new SVP a clip path Method System.Void Queries the bounding box of a canvas item. The bounds are returned in the coordinate system of the item's parent. Return value for the leftmost edge of the bounding box Return value for the upper edge of the bounding box Return value for the rightmost edge of the bounding box Return value for the lower edge of the bounding box Method System.Void Changes the parent of the specified item to be the new group. The item keeps its group-relative coordinates as for its old parent, so the item may change its absolute position within the canvas. A canvas group. Method System.Void Ungrabs the item, which must have been grabbed in the canvas, and ungrabs the mouse. The timestamp for ungrabbing the mouse. Method System.Void Raises the item in its parent's stack by the specified number of positions. If the number of positions is greater than the distance to the top of the stack, then the item is put at the top. Number of steps to raise the item. Method System.Void Converts a coordinate pair from item-relative coordinates to world coordinates. X coordinate to convert (input/output value). Y coordinate to convert (input/output value). The parameters and are used as both in and out parameters. Method System.Void Moves a canvas item by creating an affine transformation matrix for translation by using the specified values. This happens in item local coordinate system, so if you have nontrivial transform, it most probably does not do, what you want. Horizontal offset. Vertical offset. Method System.Void To be used only by item implementations. Requests that the canvas queue an update for the specified item. Method System.Void Resets the bounding box of a canvas item to an empty rectangle. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gnome.Canvas To be added To be added: an object of type 'Gnome.Canvas' To be added Property Gnome.CanvasItem The parent item the parent item GLib.Property("parent") Event Gnome.CanvasEventHandler Signals mouse button clicks, motion, enter/leave, and key press events on canvas items. Use this to create user interactive items. The x and y coordinates in the field have been converted to canvas world coordinates. GLib.Signal("event") Property GLib.GType GType Property. a Returns the native value for . Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added a a To be added Constructor To be added To be added Method System.Void To be added To be added Method System.Double To be added a a a a a a To be added Method System.Void To be added a a a a a To be added Method System.Void Renders the CanvasItem when using an anti-aliased GnomeCanvas. a To be added Method System.Void To be added a a a To be added Method System.Void Makes the item's affine transformation matrix be equal to the specified matrix. The affine transformation set as the current transformation for the item. Method System.Void Combines the specified affine transformation matrix with the item's current transformation. The affine transform to combine with the items current transform Method System.Int32 To be added a a a a To be added Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/IconUnselectedHandler.xml0000644000175000001440000000276011345266756017656 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the IconUnselectedHandler instance to the event. The methods referenced by the IconUnselectedHandler instance are invoked whenever the event is raised, until the IconUnselectedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/BonoboUIVerb.xml0000644000175000001440000000353011345266756015743 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Constructor To be added a a To be added gtk-sharp-2.12.10/doc/en/Gnome/IconSelection.xml0000644000175000001440000002013011345266756016201 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An icon listing/chooser display. To be added Gtk.VBox Method System.Void Clear the currently shown icons, the ones that weren't shown yet are not cleared unless the not_shown parameter is given, in which case even those are cleared. Set to 'true' to clear even the icons that were not shown yet. To be added Method System.Void Selects the icon filename. This icon must have already been added and shown. icon filename see also ShowIcons Method System.Void Adds the default pixmap directory into the selection widget. It doesn't show the icons in the selection until you do ShowIcons. Method System.Void Shows the icons inside the widget that were added with AddDefaults and AddDirectory. Before this function is called the icons aren't actually added to the listing and can't be picked by the user. Method System.Void Adds the icons from the directory dir to the selection widget. Directory with pixmaps It doesn't show the icons in the selection until you do ShowIcons. Method System.String Gets the currently selected icon name. To be added: an object of type 'bool' The name of the icon that is currently selected. If full_path is true, it returns the full path to the icon, if none is selected it returns NULL. Method System.Void Stop the loading of images when we are in the loop in ShowIcons, otherwise it does nothing and is harmless, it should be used say if the dialog was hidden or when we want to quickly stop loading the images to do something else without destroying the icon selection object. The remaining icons can be shown by ShowIcons. To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new icon selection widget, it uses GnomeIconList for the listing of icons. To be added Property Gtk.Widget The Gtk.VBox widget that is used to pack the different elements of the selection into. To be added: an object of type 'Gtk.Widget' To be added Property Gtk.Widget The IconList widget that is used for the display of icons To be added: an object of type 'Gtk.Widget' To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/TextChangedArgs.xml0000644000175000001440000000323011345266756016460 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gnome/Gconf.xml0000644000175000001440000000467111345266756014513 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To access GConf keys the class should be used. System.Object Method System.String To be added a a a To be added Method System.String To be added a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/RFont.xml0000644000175000001440000002124111345266756014477 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Art.SVP To be added a a To be added Method Art.Bpath To be added a a To be added Method Art.Point To be added a a a a To be added Method Pango.Font To be added a a To be added Method Art.DRect To be added a a a To be added Method Art.Point To be added a a a To be added Constructor Internal constructor a This is not typically used by C# code. Property Gnome.FontFace To be added a To be added Property Gnome.Font To be added a To be added Property Pango.FontDescription To be added a To be added Method System.Double To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/ThemeFileLineFunc.xml0000644000175000001440000000235511345266756016742 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/AppBar.xml0000644000175000001440000003536311345266756014626 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An application status and progress widget. An widget sits (usually) at the bottom of an application window and contains a (for indicating time consuming tasks and their completion status) and/or a for sending short one-line message to the user. It is also possible (in theory) for the user to edit the contents of the status bar, should the application developer choose to allow that. However, note that this is not really working in the present implementation, so developers are recommended to avoid using interactive s and use proper editable widgets instead. Gtk.HBox Method System.Void Remove all status messages from , and display default status message (if present). Method System.Void Remove current status message, and display previous status message, if any. It is fine to call this with an empty stack. Method System.Void Remove any prompt from the . Method System.Void Push a new status message onto the stack and display it. an object of type Method System.Void Refresh the by redrawing the item on the top of the stack, or the default value if the stack is empty. Useful to force the message from a previous call to to disappear. Method System.Void Put a prompt in the appbar and wait for a response. an object of type an object of type When the user responds or cancels, a signal is emitted. Method System.Void To be added an object of type To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new instance. an object of type an object of type an object of type Property System.String Get the response to the prompt, if any. an object of type Property Gtk.Widget Retrieves the widget. an object of type Property Gtk.ProgressBar Retrieves the widget for further manipulation. an object of type Property System.String What to show when showing nothing else is on the stack; defaults to the empty string. an object of type Property System.Single Sets progress bar to . an object of type Property Gnome.PreferencesType Whether or not the user can edit the text in the portion of a instance. an object of type GLib.Property("interactivity") Property System.Boolean Whether or not the contains a . an object of type GLib.Property("has_progress") Property System.Boolean Whether or not the contains a . an object of type GLib.Property("has_status") Event System.EventHandler Emitted when the prompt is cleared. GLib.Signal("clear_prompt") Event System.EventHandler Emitted when the user responds to an that is interactive. GLib.Signal("user_response") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/MoveFocusOutOfAppletArgs.xml0000644000175000001440000000402411345266756020315 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.SignalArgs Constructor To be added To be added Property Gtk.DirectionType To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/Font.xml0000644000175000001440000006504411345266756014366 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Pango.FontDescription To be added a a To be added Method System.Double To be added a a a To be added Method System.Int32 To be added a a To be added Method Pango.Font To be added a a a To be added Method Art.Bpath To be added a a To be added Method System.Double To be added a a To be added Method Art.DRect To be added a a a To be added Method Art.Point To be added a a a a To be added Method System.Double To be added a a a To be added Method System.Double To be added a a To be added Method Art.Point To be added a a a To be added Constructor Internal constructor a This is not typically used by C# code. Property System.Double To be added a To be added GLib.Property("Ascender") Property System.Boolean To be added a To be added GLib.Property("IsFixedPitch") Property System.String To be added a To be added GLib.Property("FamilyName") Property System.String To be added a To be added GLib.Property("FullName") Property System.Double To be added a To be added GLib.Property("UnderlinePosition") Property System.String To be added a To be added GLib.Property("FontName") Property System.Double To be added a To be added GLib.Property("Descender") Property System.Double To be added a To be added GLib.Property("CapHeight") Property System.IntPtr To be added a To be added GLib.Property("FontBBox") Property System.String To be added a To be added GLib.Property("Weight") Property System.Double To be added a To be added GLib.Property("Size") Property System.Double To be added a To be added GLib.Property("XHeight") Property System.Double To be added a To be added GLib.Property("ItalicAngle") Property System.String To be added a To be added GLib.Property("Version") Property System.Double To be added a To be added GLib.Property("UnderlineThickness") Property Gnome.FontFace To be added a To be added Method Gnome.Font To be added a a a a a To be added Method Gnome.Font To be added a a To be added Method Gnome.Font To be added a a a To be added Method Gnome.Font To be added a a To be added Method Gnome.Font To be added a a a To be added Method Gnome.RFont To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.String[] To be added a To be added Method System.String[] To be added a a To be added Property System.Byte To be added a To be added Property System.Byte To be added a To be added Property System.Byte To be added a To be added Constructor To be added To be added Method Gnome.Font To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/CanvasEventArgs.xml0000644000175000001440000000411211345266756016477 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Details of events coming from CanvasItems. See . Contains mouse button clicks, motion, enter/leave, and key press events from CanvasItems. Use these to create user interactive items. The x and y coordinates of the event structure have been converted to canvas world coordinates. To signify that an event has been handled, and stop it from being further emitted, set to true. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event To be added To be added: an object of type 'Gdk.Event' To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasEventHandler.xml0000644000175000001440000000307311345266756017165 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Called when a canvas receives events from a such as enter/leave, mouse movements, etc. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CanvasEventHandler instance to the event. The methods referenced by the CanvasEventHandler instance are invoked whenever the event is raised, until the CanvasEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/DateEdit.xml0000644000175000001440000003251511345266756015140 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.HBox Method System.Void To be added To be added: an object of type 'Gnome.DateEditFlags' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added GLib.Property("lower_hour") Property Gnome.DateEditFlags To be added To be added: an object of type 'Gnome.DateEditFlags' To be added GLib.Property("dateedit_flags") Property System.Int32 To be added To be added: an object of type 'int' To be added GLib.Property("upper_hour") Event System.EventHandler To be added To be added GLib.Signal("time_changed") Event System.EventHandler To be added To be added GLib.Signal("date_changed") Property System.UInt64 To be added a To be added GLib.Property("initial_time") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.DateTime To be added a To be added GLib.Property("time") Method System.Void To be added a a To be added Constructor To be added a a a To be added Constructor To be added a a To be added Constructor To be added To be added Constructor To be added a To be added Constructor To be added a a To be added Property System.DateTime To be added a To be added System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/PrintJob.xml0000644000175000001440000002347111345266756015205 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method System.Int32 To be added a To be added Method System.Int32 To be added a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property Gnome.PrintConfig To be added a To be added GLib.Property("config") Property Gnome.PrintContext To be added a To be added GLib.Property("context") Property System.Int32 To be added a To be added Constructor To be added To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.String To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/InteractStyle.xml0000644000175000001440000000405311345266756016243 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Indicates how a "SaveYourself" command should interact with the user. To be added. System.Enum GLib.GType(typeof(Gnome.InteractStyleGType)) Field Gnome.InteractStyle The client should never interact with the user. Field Gnome.InteractStyle The client should only interact when there are errors. Field Gnome.InteractStyle The client can interact with the user for any reason. gtk-sharp-2.12.10/doc/en/Gnome/GtkHelper.xml0000644000175000001440000000444511345266756015343 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method Gnome.ModuleInfo To be added a To be added Method System.Void To be added a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/FontFamily.xml0000644000175000001440000000222211345266756015515 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.String[] To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasShape.xml0000644000175000001440000003415711345266756015655 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for canvas item shapes Provides a base class for canvas item shapes, including: , , , and . Gnome.CanvasItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gnome.CanvasPathDef The used a or if none is set for the shape. It does not request updates, as it is meant to be used from item implementations, from inside update queue. Property Gdk.Drawable Stipple pattern for fill. Stipple pattern GLib.Property("fill_stipple") Property System.String X color specification for outline color, or pointer for no color (transparent). X color specification GLib.Property("outline_color") Property Gdk.CapStyle Cap (end point) style for the Bezier path. Cap style used by the Bezier path GLib.Property("cap_style") Property Gdk.JoinStyle Vertex join style for the Bezier path. Verty join style used by the Bezier path GLib.Property("join_style") Property System.UInt32 Fill color with an alpha component (in the format 0xRRGGBBAA). the fill color GLib.Property("fill_color_rgba") Property System.Double Minimum angle between segments, where miter join rule is applied. Minimum angle between segments, where miter join rule is applied. GLib.Property("miterlimit") Property Gdk.Color Allocated for fill. the to fill GLib.Property("fill_color_gdk") Property System.Double Width of the outline in canvas units. The outline will be scaled when the canvas zoom factor is changed. width of the outline GLib.Property("width_units") Property System.UInt32 Outline color with an alpha component (in the format 0xRRGGBBAA). outline color GLib.Property("outline_color_rgba") Property System.UInt32 Width of the outline in pixels. The outline will not be scaled when the canvas zoom factor is changed. width of the outline GLib.Property("width_pixels") Property System.UInt32 Winding rule for the Bezier path winding rule used by the Bezier path GLib.Property("wind") Property Gdk.Drawable Stipple pattern for outline. Stipple pattern used by the outline GLib.Property("outline_stipple") Property System.String X color specification for fill color, or pointer for no color (transparent). X color specification GLib.Property("fill_color") Property Gdk.Color Allocated for outline. the color of the outline GLib.Property("outline_color_gdk") Property Art.VpathDash To be added a To be added GLib.Property("dash") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/PredecessorRemovedArgs.xml0000644000175000001440000000234511345266756020070 00000000000000 gnome-sharp 2.20.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gnome.PrintFilter To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/SuccessorAddedArgs.xml0000644000175000001440000000232511345266756017161 00000000000000 gnome-sharp 2.20.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gnome.PrintFilter To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PosGlyphList.xml0000644000175000001440000000226511345266756016055 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/PixmapEntry.xml0000644000175000001440000001661111345266756015734 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.FileEntry Method System.Void To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'bool' To be added Method Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'bool' To be added Property System.Boolean To be added To be added: an object of type 'bool' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.Boolean To be added To be added: an object of type 'bool' To be added GLib.Property("do_preview") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/IconTextItem.xml0000644000175000001440000004001111345266756016017 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.CanvasItem Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'bool' To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added Method System.Void To be added To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added: an object of type 'Gnome.CanvasGroup' To be added Property Gtk.Editable To be added To be added: an object of type 'Gtk.Editable' To be added Property System.String To be added To be added: an object of type 'string' To be added Event Gnome.TextChangedHandler To be added To be added GLib.Signal("text_changed") Event System.EventHandler To be added To be added GLib.Signal("selection_stopped") Event System.EventHandler To be added To be added GLib.Signal("height_changed") Event System.EventHandler To be added To be added GLib.Signal("editing_stopped") Event System.EventHandler To be added To be added GLib.Signal("width_changed") Event System.EventHandler To be added To be added GLib.Signal("selection_started") Event System.EventHandler To be added To be added GLib.Signal("editing_started") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/PaperSelectorFlags.xml0000644000175000001440000000330511345266756017175 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PaperSelectorFlags To be added Field Gnome.PaperSelectorFlags To be added GLib.GType(typeof(Gnome.PaperSelectorFlagsGType)) System.Flags gtk-sharp-2.12.10/doc/en/Gnome/FileEntry.xml0000644000175000001440000006405411345266756015361 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget for selecting a file or directory. A contains a and a browse dialog. Gtk.VBox Gtk.Editable Method System.Void Select the text of the between and . an object of type an object of type Method System.String Gets the text of the between and . an object of type an object of type an object of type Method System.Void Deletes the text of the between and . an object of type an object of type Method System.Void To be added Method System.Void To be added Method System.Boolean To be added an object of type an object of type an object of type Method System.Void To be added Method System.Void To be added Method System.Void Construct a . an object of type an object of type Method System.String Gets the full absolute path of the file from the entry. an object of type an object of type If is , nothing is tested and the path is returned. If is , then the path is only returned if the path actually exists. In case the entry is a directory entry (see ), then if the path exists and is a directory then it is returned; if not, it is assumed it was a file so we try to strip it, and try again. It allocates memory for the returned string. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . an object of type an object of type Property System.Boolean Whether the should be editable by the user. an object of type Property System.Int32 The cursor position in the . an object of type Property System.String Set the title of the browse dialog. an object of type The new title will go into effect the next time the browse button is pressed. Property Gtk.Entry The associated . an object of type GLib.Property("gtk_entry") Property System.Boolean Whether the browse dialog is modal. an object of type GLib.Property("modal") Property System.String Set the default path of browse dialog. an object of type The default path is only used if the entry is empty or if the current path of the entry is not an absolute path, in which case the default path is prepended to it before the dialog is started. GLib.Property("default_path") Property System.String The value of the internal . an object of type GLib.Property("filename") Property System.String Title of the browse dialog. an object of type GLib.Property("browse_dialog_title") Property System.Boolean Whether this is a directory only entry. an object of type If , then will check for the file being a directory, and the browse dialog will have the file list disabled. GLib.Property("directory_entry") Property System.String The ID for the associated history. an object of type GLib.Property("history_id") Property Gnome.Entry The associated . an object of type GLib.Property("gnome_entry") Event System.EventHandler Emitted when the text is changed into the . GLib.Signal("changed") Event System.EventHandler Emitted when the browse button is clicked. GLib.Signal("browse_clicked") Event System.EventHandler Emitted when the is activated. GLib.Signal("activate") Method System.Void Inserts into the at . an object of type an object of type Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Event Gtk.TextDeletedHandler Emitted when text is deleted into the . GLib.Signal("delete_text") Event Gtk.TextInsertedHandler Emitted when text is inserted into the . GLib.Signal("insert_text") Property System.Boolean To be added a To be added GLib.Property("use_filechooser") Property Gtk.FileChooserAction To be added a To be added GLib.Property("filechooser_action") Property System.Boolean To be added a To be added System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/PanelAppletFactory.xml0000644000175000001440000000340211345266756017203 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintDialogRangeFlags.xml0000644000175000001440000000553411345266756017624 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintDialogRangeFlags To be added Field Gnome.PrintDialogRangeFlags To be added Field Gnome.PrintDialogRangeFlags To be added Field Gnome.PrintDialogRangeFlags To be added Field Gnome.PrintDialogRangeFlags To be added GLib.GType(typeof(Gnome.PrintDialogRangeFlagsGType)) System.Flags gtk-sharp-2.12.10/doc/en/Gnome/DruidPageEdge.xml0000644000175000001440000003123111345266756016100 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget used to implement first and last pages in a druid's sequence. A druid can be thought of as having a page that starts the sequence, one or more pages that end the sequences (there can be multiple end pages if the flow of pages diverges at some point) and some pages that are in between the start and end pages. The widget is for the first and last pages in a druid's sequence of pages. Pages in the "middle" of a sequence should use . Gnome.DruidPage Method System.Void Constructs a new widget. an object of type an object of type an object of type an object of type an object of type an object of type an object of type Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new widget. Position in druid. Constructor Creates a new widget with the values given. Position in druid. Use an antialiased canvas. The title. The introduction text. The logo in the upper right corner. The watermark on the left. The top watermark. It is acceptable for any of the reference values to be null. Property Gdk.Color The color of the page border. The color. Property System.String The page title. The page title. Property Gdk.Color The background color of the main text area. The color. Property Gdk.Color The color of the text in the body of the page. The color. Property Gdk.Color The background color to render the logo image against. The color. Property Gdk.Pixbuf The watermark image to display on the left strip on the druid. The watermark, as a If set to , then no left-side watermark will be displayed. Property Gdk.Pixbuf The watermark image to display on the top strip on the druid. The watermark, as a If set to , then no top watermark will be displayed. Property Gdk.Color The color of the title text. The color. Property Gdk.Pixbuf The logo to display in the top right corner. the logo, as a If set to , then no logo will be displayed. Property System.String The current text of the page. The text. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added Property System.UInt32 The position of the page within the druid. a System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/NextClickedArgs.xml0000644000175000001440000000342011345266756016460 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintDialogFlags.xml0000644000175000001440000000324311345266756016642 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintDialogFlags To be added Field Gnome.PrintDialogFlags To be added GLib.GType(typeof(Gnome.PrintDialogFlagsGType)) System.Flags gtk-sharp-2.12.10/doc/en/Gnome/Sound.xml0000644000175000001440000000711611345266756014544 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added To be added Method System.Int32 To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Int32 To be added a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/Druid.xml0000644000175000001440000004436611345266756014533 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Widget for sequentially stepping through some pages. The druid is a multi-page widget, which lets the developer guide the user through a complex operation by breaking it up into simple steps, showing some helpful text in the process. It is composed of several s. The widget which ultimately holds all of the druid's pages and information. This is the widget which the application developer then places inside an outer widget, such as a dialog box for ultimate display. Gtk.Container Method System.Void This will prepend a into the internal list of pages that the druid has. The page to be inserted. Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. Method System.Void This will insert a page after back_page into the list of internal pages that the druid has. The prior to the page to be inserted. The to insert. If back_page is not present in the list or null, page will be prepended to the list. Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. Method System.Void Sets the sensitivity of druid's control-buttons. true if the back button is sensitive. true if the next button is sensitive. true if the cancel button is sensitive. true if the help button is sensitive. If the variables are true, then the buttons will be clickable. This function is used primarily by the actual GnomeDruidPage widgets. Method System.Void This will append a onto the end of the internal list. The to be appended. Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new GnomeDruid widget. You need to add this druid to a dialog yourself, it is not a dialog. Property Gnome.DruidPage This will make the currently showing page in the druid. an object of type must already be in the druid. Property System.Boolean This will make the given the currently showing page in the druid. an object of type The page must already be in the druid. GLib.Property("show_finish") Property System.Boolean Used to specify if the druid is currently showing the last page of the sequence. an object of type If set to true, the druid will display "Finish", rather than "Next". GLib.Property("show_help") Event System.EventHandler Used to specify if the "Help" button on the druid is visible. If set to true, the "Help" button is shown in the lower left corner of the widget. GLib.Signal("help") Event System.EventHandler Emitted when the "Cancel" button of the druid is clicked. GLib.Signal("cancel") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Run when the druid is canceled. Override this method if you want to add non-standard behaviour to occur when the druid is canceled Method System.Void Run when the user requests help from the druid's interface. Override this method to offer some help to the user when requested. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gtk.Widget Creates a new toplevel window with the title of (which can be ) and a parent of (which also can be ). a a a a The druid will be placed inside this window. The window and the druid will both be shown. When the druid gets destroyed, so will the window that is created here. Constructor To be added a a a To be added Constructor To be added a a To be added Constructor To be added a a a To be added Constructor To be added a a a a To be added Property Gtk.Button The druid's "Finish" button. a Property Gtk.Button The druid's "Next" button. a Property Gtk.Button The druid's "Help" button. a Property Gtk.Button The druid's "Back" button. a Property Gtk.Button The druid's "Cancel" button. a System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/FinishClickedArgs.xml0000644000175000001440000000344011345266756016764 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.10/doc/en/Gnome/IconTheme.xml0000644000175000001440000001007311345266756015323 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.IconTheme Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property System.Boolean To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. Method System.String To be added a a a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/FinishClickedHandler.xml0000644000175000001440000000274611345266756017455 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FinishClickedHandler instance to the event. The methods referenced by the FinishClickedHandler instance are invoked whenever the event is raised, until the FinishClickedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/FileDomain.xml0000644000175000001440000001420011345266756015453 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The types of files a GNOME application needs to access. Many of the files that a GNOME application needs to access will be installed in standard locations. For example, GNOME help files will be in one location, while help files specific to the current application might be in another location. The different types of files are given in this enum. User applications make use of the App* types, which specify locations relative to AppDatadir. System.Enum GLib.GType(typeof(Gnome.FileDomainGType)) Field Gnome.FileDomain An unknown file domain (should never be used). Field Gnome.FileDomain Libraries in the main GNOME installation. Field Gnome.FileDomain Data files in the main GNOME installation. Field Gnome.FileDomain Sound files in the main GNOME installation. Field Gnome.FileDomain Pixmap files in the main GNOME installation. Field Gnome.FileDomain Config files in the main GNOME installation. Field Gnome.FileDomain Help files in the main GNOME installation. Field Gnome.FileDomain Application specific libraries. Field Gnome.FileDomain Application specific data files. Field Gnome.FileDomain Application specific sound files. Field Gnome.FileDomain Application specific pixmap files. Field Gnome.FileDomain Application specific config files. Field Gnome.FileDomain Application specific help files. gtk-sharp-2.12.10/doc/en/Gnome/PasswordDialogRemember.xml0000644000175000001440000000477711345266756020067 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gnome.PasswordDialogRememberGType)) Field Gnome.PasswordDialogRemember To be added To be added Field Gnome.PasswordDialogRemember To be added To be added Field Gnome.PasswordDialogRemember To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/IconUnselectedArgs.xml0000644000175000001440000000427511345266756017200 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event To be added To be added: an object of type 'Gdk.Event' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Gnome/IconList.xml0000644000175000001440000007366011345266756015207 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.Canvas Method System.Int32 To be added To be added: an object of type 'Gdk.Pixbuf' To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'int' To be added Method System.Int32 To be added To be added: an object of type 'IntPtr' To be added: an object of type 'int' To be added Method System.Void To be added To be added Method System.Void To be added To be added Method System.Int32 To be added To be added: an object of type 'string' To be added: an object of type 'int' To be added Method Gnome.IconTextItem To be added To be added: an object of type 'int' To be added: an object of type 'Gnome.IconTextItem' To be added Method System.Void To be added To be added: an object of type 'uint' To be added: an object of type 'Gtk.Adjustment' To be added: an object of type 'int' To be added Method System.Int32 To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'int' To be added Method System.Void To be added To be added: an object of type 'int' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'double' To be added Method System.String To be added To be added: an object of type 'int' To be added: an object of type 'string' To be added Method System.Void To be added To be added: an object of type 'int' To be added Method System.Void To be added To be added: an object of type 'int' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'IntPtr' To be added Method System.IntPtr To be added To be added: an object of type 'int' To be added: an object of type 'IntPtr' To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'string' To be added: an object of type 'string' To be added Method System.Int32 To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'int' To be added Method Gnome.CanvasPixbuf To be added To be added: an object of type 'int' To be added: an object of type 'Gnome.CanvasPixbuf' To be added Method System.Int32 To be added To be added: an object of type 'int' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'Gdk.Pixbuf' To be added: an object of type 'string' To be added: an object of type 'string' To be added Method System.Void To be added To be added: an object of type 'int' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added: an object of type 'uint' To be added: an object of type 'Gtk.Adjustment' To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.UInt32 To be added To be added: an object of type 'uint' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property Gtk.SelectionMode To be added To be added: an object of type 'Gtk.SelectionMode' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Event Gnome.TextChangedHandler To be added To be added GLib.Signal("text_changed") Event System.EventHandler To be added To be added GLib.Signal("toggle_cursor_selection") Event Gnome.MoveCursorHandler To be added To be added GLib.Signal("move_cursor") Event Gnome.IconSelectedHandler To be added To be added GLib.Signal("select_icon") Event Gnome.IconFocusedHandler To be added To be added GLib.Signal("focus_icon") Event Gnome.IconUnselectedHandler To be added To be added GLib.Signal("unselect_icon") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Int32[] To be added a To be added Constructor To be added To be added Method System.Void To be added. To be added. System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/DruidPage.xml0000644000175000001440000003152111345266756015315 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget representing a single page inside a druid. The functions in this page are mostly only for the information of developers -- they should never need to call them directly. Typically, a druid will connect to the various signals described here as a way of controlling the behaviour of druids that do not just proceed in a front-to-back fashion (for example, where the subsequent pages depend upon the choice made at some point). Gtk.Bin Method System.Void Emit the event. To be added Method System.Boolean Emit the event. an object of type It is called by gnome-druid exclusively. It is expected that non-linear Druids will override this signal and return if it handles changing pages. Method System.Boolean Emit the event. an object of type It is called by gnome-druid exclusively. It is expected that a Druid will override this signal and return if it does not want to exit. Method System.Void Emit the event. It is called by exclusively. This function is called immediately prior to a druid page being shown so that it can "prepare" for display. Method System.Boolean Emit the event. an object of type It is called by exclusively. It is expected that non-linear Druids will override this signal and return if it handles changing pages. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . Event Gnome.CancelClickedHandler Emitted when the "Cancel" button of the page is clicked. GLib.Signal("cancel") Event Gnome.BackClickedHandler Emitted when the "Back" button of the page is clicked. GLib.Signal("back") Event Gnome.FinishClickedHandler Emitted when the "Finish" button of the page is clicked. GLib.Signal("finish") Event Gnome.NextClickedHandler Emitted when the "Next" button of the page is clicked. GLib.Signal("next") Event Gnome.PreparedHandler Emitted immediately prior to a druid page being shown. GLib.Signal("prepare") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/GdkPixbufDoneCallback.xml0000644000175000001440000000164011345266756017556 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/CanvasText.xml0000644000175000001440000006064411345266756015541 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Text canvas item A canvas item for displaying text. See for a more advanced text display and editing canvas item. using System; using Gtk; using GtkSharp; using Gnome; class CanvasTest { public CanvasTest() { Application.Init(); Window window1 = new Window("Hello Canvas!"); window1.DeleteEvent += new DeleteEventHandler (delete_event); Canvas canvas1 = Canvas.NewAa(); int Width = 100; int Height = 100; canvas1.SetScrollRegion(0, 0, Width, Height); canvas1.WidthRequest = Width; canvas1.HeightRequest = Height; CanvasGroup root = canvas1.Root(); // Draw Background CanvasRect background = new CanvasRect(root); background.X1 = 0; background.X2 = Width; background.Y1 = 0; background.Y2 = Height; background.FillColor = "#ffffff"; background.Show(); // Here we go CanvasText hello = new CanvasText(root); hello.X = 40; hello.Y = 10; hello.FillColor = "#000000"; hello.Text = "Hello, Canvas!"; hello.Show(); canvas1.Show(); window1.Add(canvas1); window1.ShowAll(); Application.Run(); } public static void Main() { new CanvasTest(); } void delete_event (object obj, DeleteEventArgs args) { Application.Quit (); } } Gnome.CanvasItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added an object of type To be added Property System.String Pango marked up text to render. an object of type To be added GLib.Property("markup") Property System.Boolean Whether to strike through the text. an object of type To be added GLib.Property("strikethrough") Property System.Int32 Offset of text above the baseline. an object of type This property specifies the offset of the text below the baseline if Rise is negative. GLib.Property("rise") Property System.String The text to display. an object of type To be added GLib.Property("text") Property System.String Name of the font family. an object of type e.g. Sans, Helvetica, Times, Monospace GLib.Property("family") Property System.Double Y coordinate of anchor point. an object of type To be added GLib.Property("y") Property System.Double X coordinate of anchor point. an object of type To be added GLib.Property("x") Property System.Double Height of clip rectangle. an object of type To be added GLib.Property("clip_height") Property Pango.Stretch Pango stretch of font to use. an object of type To be added GLib.Property("stretch") Property Gtk.Justification Justification for multiline text. an object of type To be added GLib.Property("justification") Property System.Double Used to query the height of the rendered text. an object of type To be added GLib.Property("text_height") Property System.Double Vertical offset distance from anchor position. an object of type 'double' To be added GLib.Property("y_offset") Property Gdk.Drawable Stipple pattern for filling the text. an object of type To be added GLib.Property("fill_stipple") Property Gtk.AnchorType Anchor position for the text. an object of type To be added GLib.Property("anchor") Property System.Double Size (in points) of font. an object of type To be added GLib.Property("size_points") Property System.Int32 Pango weight of font to use. an object of type To be added GLib.Property("weight") Property System.Boolean Use clipping rectangle? an object of type To be added GLib.Property("clip") Property Pango.AttrList Reference to a Pango attribute list. an object of type To be added GLib.Property("attributes") Property Pango.Underline Pango underline style for text. an object of type To be added GLib.Property("underline") Property System.Double Size of font, relative to default size. an object of type To be added GLib.Property("scale") Property System.UInt32 RGBA value used for AA color an object of type The color should be specified in the format 0xRRGGBBAA (R: red, G: green, B: blue, A: alpha) GLib.Property("fill_color_rgba") Property System.Int32 Size (in pixels) of font. an object of type To be added GLib.Property("size") Property System.Double Width of clip rectangle. an object of type To be added GLib.Property("clip_width") Property Pango.Style Pango style of font to use. an object of type To be added GLib.Property("style") Property Pango.Variant Pango variant of font to use. an object of type To be added GLib.Property("variant") Property Gdk.Color An allocated Gdk.Color specification for text. an object of type To be added GLib.Property("fill_color_gdk") Property Pango.FontDescription Font description as a Pango.FontDescription class. an object of type To be added GLib.Property("font_desc") Property System.String Font description as a string. an object of type See for a description of the format of the string representation. GLib.Property("font") Property System.Double Used to query the width of the rendered text. an object of type 'double' To be added GLib.Property("text_width") Property System.Double Horizontal offset distance from anchor position. an object of type To be added GLib.Property("x_offset") Property System.String X color specification for text. an object of type To be added GLib.Property("fill_color") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/FontPicker.xml0000644000175000001440000002740211345266756015520 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Button System.Obsolete Method System.Void To be added To be added: an object of type 'Gtk.Widget' To be added Method System.Void To be added To be added: an object of type 'bool' To be added: an object of type 'int' To be added Method System.Void To be added To be added: an object of type 'bool' To be added Method Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added Property System.Boolean To be added To be added: an object of type 'bool' To be added GLib.Property("show-size") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("title") Property System.Boolean To be added To be added: an object of type 'bool' To be added GLib.Property("use-font-in-label") Property Gnome.FontPickerMode To be added To be added: an object of type 'Gnome.FontPickerMode' To be added GLib.Property("mode") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("font_name") Property System.Int32 To be added To be added: an object of type 'int' To be added GLib.Property("label-font-size") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("preview_text") Property System.IntPtr To be added To be added: an object of type 'IntPtr' To be added GLib.Property("font") Event Gnome.FontSetHandler To be added To be added GLib.Signal("font_set") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Boolean To be added a a To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasClipgroup.xml0000644000175000001440000001206111345266756016547 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Canvas group that implements clipping A canvas group object that clips the view of its children to a shape defined by a . Gnome.CanvasGroup Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Create new The that this belongs to. Property System.IntPtr Pointer to a GnomeCanvasPathDef structure. Pointer to a GnomeCanvasPathDef structure. Pointer to a structure. This can be created by a call to the constructor. GLib.Property("path") Property Art.WindRule Winding rule for defining the clipping intersection rule Winding rule for defining the clipping intersection rule GLib.Property("wind") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasRE.xml0000644000175000001440000001376311345266756015123 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for rectangle and ellipse items This forms a base class for rectangle and ellipse canvas items. Gnome.CanvasShape Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Double Rightmost coordinate of rectangle or ellipse. Rightmost coordinate of rectangle or ellipse. GLib.Property("x2") Property System.Double Leftmost coordinate of rectangle or ellipse. Leftmost coordinate of rectangle or ellipse. GLib.Property("x1") Property System.Double Bottommost coordinate of rectangle or ellipse. Bottommost coordinate of rectangle or ellipse. GLib.Property("y2") Property System.Double Topmost coordinate of rectangle or ellipse. Topmost coordinate of rectangle or ellipse. GLib.Property("y1") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/Program.xml0000644000175000001440000005030611345266756015062 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Gnome.Program To be added To be added: an object of type 'Gnome.Program' To be added Method System.Boolean To be added To be added: an object of type 'Gnome.ModuleInfo' To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'Gnome.ModuleInfo' To be added Method Gnome.ModuleInfo To be added To be added: an object of type 'string' To be added: an object of type 'Gnome.ModuleInfo' To be added Method System.Void To be added To be added Method System.Void To be added To be added Method System.String To be added To be added: an object of type 'Gnome.FileDomain' To be added: an object of type 'string' To be added: an object of type 'bool' To be added: an object of type 'GLib.SList' To be added: an object of type 'string' To be added Method System.Void To be added To be added Method System.Void To be added To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.IntPtr To be added To be added: an object of type 'IntPtr' To be added GLib.Property("popt-context") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("gnome-prefix") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("app-version") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("human-readable-name") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("app-id") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("gnome-sysconfdir") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("gnome-libdir") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("app-sysconfdir") Property System.Boolean To be added To be added: an object of type 'bool' To be added GLib.Property("create-directories") Property System.Boolean To be added To be added: an object of type 'bool' To be added GLib.Property("enable-sound") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("app-datadir") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("espeaker") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("app-libdir") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("app-prefix") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("gnome-datadir") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("gnome-path") Property GLib.GType GType Property. a Returns the native value for . Method Gnome.Program To be added a a a a a a a a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added Constructor System.ParamArray To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property GLib.Property("goption-context") System.IntPtr To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/CancelClickedHandler.xml0000644000175000001440000000274611345266756017422 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CancelClickedHandler instance to the event. The methods referenced by the CancelClickedHandler instance are invoked whenever the event is raised, until the CancelClickedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/PrintConfigDialog.xml0000644000175000001440000000745011345266756017017 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Dialog Method System.Void To be added To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.10/doc/en/Gnome/NextClickedHandler.xml0000644000175000001440000000272011345266756017143 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the NextClickedHandler instance to the event. The methods referenced by the NextClickedHandler instance are invoked whenever the event is raised, until the NextClickedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/PrintContentSelector.xml0000644000175000001440000000637011345266756017605 00000000000000 gnome-sharp 2.20.0.0 Gtk.Frame Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.Property("current") System.UInt32 To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Property("total") System.UInt32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/CanvasBpath.xml0000644000175000001440000001136211345266756015644 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Bezier path canvas item A canvas item type for creating a "path" from curve and line segments. Gnome.CanvasShape Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Bezier path The that this item belongs to. Property System.IntPtr Pointer to a GnomeCanvasPathDef structure. Pointer to a GnomeCanvasPathDef structure. Pointer to a structure. This can be created by a call to the constructor. GLib.Property("bpath") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added Property Gnome.CanvasPathDef The Path definition for this shape. a describing the shape. gtk-sharp-2.12.10/doc/en/Gnome/PredecessorAddedHandler.xml0000644000175000001440000000150511345266756020146 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/MoveCursorHandler.xml0000644000175000001440000000270411345266756017054 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveCursorHandler instance to the event. The methods referenced by the MoveCursorHandler instance are invoked whenever the event is raised, until the MoveCursorHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/CanvasPixbuf.xml0000644000175000001440000002714111345266756016045 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pixbuf image canvas item A canvas item for drawing pixbuf images. Gnome.CanvasItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new CanvasPixbuf from . an object of type Property System.Double Pixbuf height. The height of this item GLib.Property("height") Property Gdk.Pixbuf The pixbuf image to draw. The pixbuf image GLib.Property("pixbuf") Property System.Boolean The unit used by the property The unit used by the property GLib.Property("width_in_pixels") Property Gtk.AnchorType Anchor (handle) position within the pixbuf, defaults to (top left hand corner). The anchor is the point of reference for positioning the image. Anchor (handle) position within the pixbuf GLib.Property("anchor") Property System.Double Pixbuf width. The width of the pixbuf GLib.Property("width") Property System.Boolean Whether or not the should be used Whether or not the should be used GLib.Property("width_set") Property System.Double The Y coordinate of the position to place the pixbuf The Y coordinate of the position to place the pixbuf GLib.Property("y") Property System.Double The X coordinate of the position to place the pixbuf the X coordinate of the position to place the pixbuf GLib.Property("x") Property System.Boolean The unit used by the property. The unit used by the property. GLib.Property("height_in_pixels") Property System.Boolean Whether or not the should be used Whether or not the should be used GLib.Property("height_set") Property System.Boolean The unit used by the property The unit used by the property GLib.Property("x_in_pixels") Property System.Boolean The unit used by the property The unit used by the property GLib.Property("y_in_pixels") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintJobPreview.xml0000644000175000001440000001141311345266756016540 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Window Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . Property System.UInt64 To be added a To be added GLib.Property("nx") Property System.UInt64 To be added a To be added GLib.Property("ny") Property GLib.Property("job") Gnome.PrintJob To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/ReplyCallback.xml0000644000175000001440000000154611345266756016165 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/GdkHelper.xml0000644000175000001440000001037311345266756015320 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method Gnome.GdkPixbufAsyncHandle To be added a a a a To be added Method System.Void To be added a To be added Method Gdk.Pixbuf To be added a a To be added Constructor To be added To be added Method Gdk.Pixbuf To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PrintConfig.xml0000644000175000001440000004313011345266756015672 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Gnome.PrintConfig To be added a a a To be added Method Gnome.PrintConfig To be added a To be added Method Gnome.PrintConfig To be added a To be added Method Gnome.PrintConfig To be added a To be added Method System.Void To be added To be added Method Gnome.PrintConfig To be added a To be added Method System.String To be added a a To be added Constructor Internal constructor a This is not typically used by C# code. Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.String To be added a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/IconEntry.xml0000644000175000001440000002760011345266756015366 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.VBox Method System.Void To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added Method Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new icon entry control. To be added: an object of type 'string' To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("pixmap_subdir") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("browse_dialog_title") Property Gtk.Dialog To be added To be added: an object of type 'Gtk.Dialog' To be added GLib.Property("pick_dialog") Property System.String Unique identifier for the icon entry. This will be used to save the history list. To be added: an object of type 'string' To be added GLib.Property("history_id") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("filename") Event System.EventHandler To be added To be added GLib.Signal("browse") Event System.EventHandler To be added To be added GLib.Signal("changed") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.UInt32 To be added a To be added Method System.Boolean To be added a a To be added gtk-sharp-2.12.10/doc/en/Gnome/ClientState.xml0000644000175000001440000000701511345266756015671 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The state which the is in To be added System.Enum GLib.GType(typeof(Gnome.ClientStateGType)) Field Gnome.ClientState The client is in state idle Field Gnome.ClientState The client is in state saving phase 1 Field Gnome.ClientState The client is in state waiting for phase 2 Field Gnome.ClientState The client is in state saving phase 2 Field Gnome.ClientState The client is in state frozen Field Gnome.ClientState The client is in state disconnected Field Gnome.ClientState The client is in state registering gtk-sharp-2.12.10/doc/en/Gnome/PrintFilter.xml0000644000175000001440000006112011345266756015711 00000000000000 gnome-sharp 2.20.0.0 GLib.Object Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("changed") System.EventHandler To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Property GLib.Property("context") Gnome.PrintContext To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. Property GLib.Property("description") System.String To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method Gnome.PrintFilter To be added. To be added. To be added. To be added. Method Gnome.PrintFilter To be added. To be added. To be added. To be added. Method Gnome.PrintFilter To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property GLib.Property("name") System.String To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("predecessor_added") Gnome.PredecessorAddedHandler To be added. To be added. Event GLib.Signal("predecessor_removed") Gnome.PredecessorRemovedHandler To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Event GLib.Signal("successor_added") Gnome.SuccessorAddedHandler To be added. To be added. Event GLib.Signal("successor_removed") Gnome.SuccessorRemovedHandler To be added. To be added. Property GLib.Property("suppress_empty_pages") System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/IconFocusedArgs.xml0000644000175000001440000000337711345266756016477 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Gnome/PanelApplet.xml0000644000175000001440000004563411345266756015670 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.EventBox Method System.Void To be added a a a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Void To be added a a To be added Method Gnome.PanelAppletBackgroundType To be added a a a To be added Method System.String To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a To be added Method System.String To be added a a To be added Method System.Void To be added a a To be added Method System.Boolean To be added a a To be added Method System.Double To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added To be added Constructor To be added a To be added System.Obsolete Constructor To be added a To be added Constructor To be added To be added Property GLib.GType To be added a To be added Property System.Boolean To be added a To be added Property System.String To be added a To be added Property System.UInt32 To be added a To be added Property Gnome.PanelAppletFlags To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Event Gnome.ChangeBackgroundHandler To be added To be added GLib.Signal("change_background") Event Gnome.MoveFocusOutOfAppletHandler To be added To be added GLib.Signal("move_focus_out_of_applet") Event Gnome.ChangeSizeHandler To be added To be added GLib.Signal("change_size") Method System.Void To be added. To be added. To be added. Property Gtk.Widget To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/IconData.xml0000644000175000001440000001304511345266756015134 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.IconData To be added To be added Field System.Boolean To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.String To be added To be added Method Gnome.IconData To be added a a To be added Method System.Void To be added To be added Method Gnome.IconData To be added a To be added Property Gnome.IconDataPoint To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintUnit.xml0000644000175000001440000002154511345266756015412 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.PrintUnit To be added To be added Method Gnome.PrintUnit To be added a a To be added Method GLib.List To be added a a To be added Method Gnome.PrintUnit To be added a a To be added Method System.Void To be added a To be added Method System.String To be added a a a a To be added Property Gnome.PrintUnit To be added a To be added Method Gnome.PrintUnit To be added a a To be added Method Gnome.PrintUnit To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Property System.UInt32 To be added a To be added Property System.UInt32 To be added a To be added Field System.Double To be added To be added Method GLib.Value To be added. To be added. To be added. To be added. Method Gnome.PrintUnit To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/Pgl.xml0000644000175000001440000001541211345266756014174 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method Art.DRect To be added a a a To be added Method System.Void To be added a To be added Method System.Boolean To be added a a a a To be added Constructor To be added To be added Method Gnome.PosGlyphList To be added a a a a To be added Method System.Byte To be added a a a a a a a a To be added Method System.Byte To be added a a a a a a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/ConnectedArgs.xml0000644000175000001440000000337511345266756016176 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean To be added To be added: an object of type 'bool' To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintSvg.xml0000644000175000001440000000216011345266756015222 00000000000000 gnome-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Property GLib.GType To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/SaveStyle.xml0000644000175000001440000000413511345266756015371 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Which pieces of data a client should save when receiving a "SaveYourself" call from the session manager. To be added. System.Enum GLib.GType(typeof(Gnome.SaveStyleGType)) Field Gnome.SaveStyle Save data (to somewhere persistent) that affects and is visible to all users of this application. Field Gnome.SaveStyle Save data that only applies to this instance of the application. Field Gnome.SaveStyle Save both global and local data. gtk-sharp-2.12.10/doc/en/Gnome/SuccessorAddedHandler.xml0000644000175000001440000000147311345266756017645 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/SaveYourselfHandler.xml0000644000175000001440000000273011345266756017376 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SaveYourselfHandler instance to the event. The methods referenced by the SaveYourselfHandler instance are invoked whenever the event is raised, until the SaveYourselfHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/Canvas.xml0000644000175000001440000012521611345266756014671 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Main canvas widget The is an engine for structured graphics that offers a rich imaging model, high performance rendering, and a powerful, high level API. It offers a choice of two rendering back-ends, one based on Xlib for extremely fast display, and another based on Libart, a sophisticated, antialiased, alpha-compositing engine. This widget can be used for flexible display of graphics and for creating interactive user interface elements. To create a new GnomeCanvas widget call or for an anti-aliased mode canvas. A widget contains one or more objects. Items consist of graphing elements like lines, ellipses, polygons, images, text, and curves. These items are organized using objects, which are themselves derived from . Since a group is an item it can be contained within other groups, forming a tree of canvas items. Certain operations, like translating and scaling, can be performed on all items in a group. There is a special root group created by a GnomeCanvas. This is the top level group under which all items in a canvas are contained. To get the root group from a canvas, use property. There are several different coordinate systems used by widgets. The primary system is a logical, abstract coordinate space called world coordinates. World coordinates are expressed as unbounded double floating point numbers. When it comes to rendering to a screen the canvas pixel coordinate system (also referred to as just canvas coordinates) is used. This system uses integers to specify screen pixel positions. A user defined scaling factor and offset are used to convert between world coordinates and canvas coordinates. Each item in a canvas has its own coordinate system called item coordinates. This system is specified in world coordinates but they are relative to an item (0.0, 0.0 would be the top left corner of the item). The final coordinate system of interest is window coordinates. These are like canvas coordinates but are offsets from within a window a canvas is displayed in. This last system is rarely used, but is useful when manually handling GDK events (such as drag and drop) which are specified in window coordinates (the events processed by the canvas are already converted for you). Along with different coordinate systems comes functions to convert between them. converts world to canvas pixel coordinates and from canvas to world. is like but returns the pixel coordinates as doubles which is useful to avoid precision loss from integer rounding. To get the affine transform matrix for converting from world coordinates to canvas coordinates call . converts from window to world coordinates and converts in the other direction. There are no functions for converting between canvas and window coordinates, since this is just a matter of subtracting the canvas scrolling offset. To convert to/from item coordinates use the functions defined for objects. To set the canvas zoom factor (canvas pixels per world unit, the scaling factor) use the property, setting this to 1.0 will cause the two coordinate systems to correspond (e.g., [5, 6] in pixel units would be [5.0, 6.0] in world units). Defining the scrollable area of a canvas widget is done by calling and to get the current region can be used. If the window is larger than the canvas scrolling region it can optionally be centered in the window. Use the property to enable or disable this behavior. To scroll to a particular canvas pixel coordinate use (typically not used since scrollbars are usually set up to handle the scrolling), and to get the current canvas pixel scroll offset call . Gtk.Layout Method System.Void Sets the bounding box to the new value, requesting full repaint. The canvas item needing update Left coordinate of the new bounding box Top coordinate of the new bounding box Right coordinate of the new bounding box Bottom coordinate of the new bounding box Method System.Void Computes the butt points of a line segment. X coordinate of first point in the line Y cooordinate of first point in the line X coordinate of second point (endpoint) of the line Y coordinate of second point (endpoint) of the line Width of the line Whether the butt points should project out by width/2 distance Return value of the X coordinate of first butt point Return value of the Y coordinate of first butt point Return value of the X coordinate of second butt point Return value of the Y coordinate of second butt point Method System.Boolean Given three points forming an angle, computes the coordinates of the inside and outside points of the mitered corner formed by a line of a given width at that angle. X coordinate of the first point Y coordinate of the first point X coordinate of the second (angle) point Y coordinate of the second (angle) point X coordinate of the third point Y coordinate of the third point Width of the line The return value of the X coordinate of the first miter point The return value of the Y coordinate of the first miter point The return value of the X coordinate of the second miter point The return value of the Y coordinate of the second miter point if the angle is less than 11 degrees (this is the same threshold as X uses. If this occurs, the return points are not modified. Otherwise, returns . Method Art.PathStrokeJoinType Convert from GDK line join specifier to libart. a join type, represented in GDK format The line join specifier in libart format. Method System.Void Render the over the . the canvas buffer to render over the vector path to render the rgba color to render Method Art.PathStrokeCapType Convert from GDK line cap specifier to the libart format. a cap type, represented in GDK format The line cap specifier in libart format. Method Gnome.Canvas Creates a new empty canvas in antialiased mode. You should push the visual and colormap before calling this functions, and they can be popped afterwards. A newly-created antialiased canvas. Method System.Boolean Allocates a color based on the specified X color specification. X color specification, or for"transparent". Return value the allocated color. if spec is non-NULL and the color is allocated. If spec is , then returns . To be added Method System.Void Sets the svp to the new value, requesting repaint on what has changed. The existing svp The new svp Method Gnome.CanvasItem Looks for the item that is under the specified position. X position in world coordinates. Y position in world coordinates. The requested item, or if no item is at the specified coordinates. Method Gnome.CanvasGroup Queries the root group of a canvas. The root group of the specified canvas. Method System.Void Sets the svp to the new value, clipping if necessary, and requesting repaint on what has changed. the existing svp the new svp a clip path Method System.Void Convenience function that informs a canvas that the specified rectangle needs to be repainted. Leftmost coordinate of the rectangle to be redrawn. Upper coordinate of the rectangle to be redrawn. Rightmost coordinate of the rectangle to be redrawn, plus 1. Lower coordinate of the rectangle to be redrawn, plus 1. Convenience function that informs a canvas that the specified rectangle needs to be repainted. This function converts the rectangle to a microtile array and feeds it to . The rectangle includes and , but not and . To be used only by item implementations. Method System.Void Queries the scrolling offsets of a canvas. The values are returned in canvas pixel units. Return value for the horizontal scrolling offset Return value for the vertical scrolling offset Method System.Void Forces an immediate update and redraw of a canvas. Forces an immediate update and redraw of a canvas. If the canvas does not have any pending update or redraw requests, then no action is taken. This is typically only used by applications that need explicit control of when the display is updated, like games. It is not needed by normal applications. Method System.Void Converts world coordinates into canvas pixel coordinates. This version returns coordinates in floating point coordinates, for greater precision. World X coordinate. World Y coordinate. Return value for the X pixel coordinate Return value for the Y pixel coordinate Method System.Void Sets the scrolling region of a canvas to the specified rectangle. Leftmost limit of the scrolling region. Upper limit of the scrolling region. Rightmost limit of the scrolling region. Lower limit of the scrolling region. To be added Method System.Void Informs a canvas that the specified area, given as a microtile array, needs to be repainted. To be used only by item implementations. Microtile array that specifies the area to be redrawn. Method System.Void Converts world coordinates into window-relative coordinates. World X coordinate. World Y coordinate. Return value for the X window-relative coordinate. Return value for the Y window-relative coordinate. Method System.Void Converts world coordinates into canvas pixel coordinates. World X coordinate. World Y coordinate. Return value for the X pixel coordinate Return value for the Y pixel coordinate Method System.Void Makes a canvas scroll to the specified offsets, given in canvas pixel units. Horizontal scrolling offset in canvas pixel units. Vertical scrolling offset in canvas pixel units. Makes a canvas scroll to the specified offsets, given in canvas pixel units. The canvas will adjust the view so that it is not outside the scrolling region. This function is typically not used, as it is better to hook scrollbars to the canvas layout's scrolling adjusments. Method System.UInt64 Allocates a color from the RGBA value passed into this function. RGBA color specification. Allocated pixel value corresponding to the specified color. Allocates a color from , the RGBA value passed into this function. The alpha opacity value is discarded, since normal X colors do not support it. Method System.Void Converts canvas pixel coordinates to world coordinates. Canvas pixel X coordinate. Canvas pixel Y coordinate. Return value for the X world coordinate Return value for the Y world coordinate Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new empty canvas in non-antialiased mode. Creates a new empty canvas in non-antialiased mode. If you wish to use the item inside this canvas, then you must push the gdk_imlib visual and colormap before calling this function, and they can be popped afterwards. Property Gdk.RgbDither The type of dithering used to render an antialiased canvas. The type of dithering used to render an antialiased canvas. Property System.Boolean Whether the canvas is set to center the scrolling region in the window if the former is smaller than the canvas' allocation. Whether the scroll region is being centered in the canvas window. When the scrolling region of the canvas is smaller than the canvas window, e.g. the allocation of the canvas, it can be either centered on the window or simply made to be on the upper-left corner on the window. Property Gdk.GC Sets the stipple origin of the specified GC as is appropriate for the canvas, so that it will be aligned with other stipple patterns used by canvas items. This is typically only needed by item implementations. To be added. Property System.Boolean Whether to enable anti-aliasing mode to enable anti-aliasing Note that this parameter can only be set at the time of object construction. The same effect can be achieved by calling to create new non-aa canvas or for an anti-aliased canvas. GLib.Property("aa") Event Gnome.DrawBackgroundHandler Emitted to draw the background for non-antialiased mode canvas widgets. The default method uses the canvas widget's style to draw the background. GLib.Signal("draw_background") Event Gnome.RenderBackgroundHandler This signal is emitted for antialiased mode canvas widgets to render the background. The buf data structure contains both a pointer to a packed 24-bit RGB array and the coordinates. GLib.Signal("render_background") Method System.Void Queries the scrolling region of a canvas. Return value for the leftmost limit of the scrolling region Return value for the upper limit of the scrolling region Return value for the rightmost limit of the scrolling region Return value for the lower limit of the scrolling region Method System.Void Converts world coordinates into window-relative coordinates. World X coordinate. World Y coordinate. Return value for the X window-relative coordinate. Return value for the Y window-relative coordinate. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a a a a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Double Gets or Sets the number of pixels that correspond to one canvas unit. a The anchor point for zooming, i.e. the point that stays fixed and all others zoom inwards or outwards from it, depends on whether the canvas is set to center the scrolling region or not. You can control this using the function. If the canvas is set to center the scroll region, then the center of the canvas window is used as the anchor point for zooming. Otherwise, the upper-left corner of the canvas window is used as the anchor point. Method System.Void To be added. To be added. To be added. Method System.Void To be added. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor if an antialiased canvas should be created. Constructs a canvas with or without antialiasing. Property GLib.Property("focused_item") Gnome.CanvasItem To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/GlyphList.xml0000644000175000001440000003333111345266756015371 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method System.Void To be added a To be added Method Gnome.GlyphList To be added a To be added Method Gnome.GlyphList To be added a To be added Method System.Void To be added a a To be added Method System.Void To be added To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Boolean To be added a a To be added Method System.Void To be added a To be added Method System.Void To be added a a To be added Method System.Void To be added a To be added Constructor To be added a To be added Constructor To be added To be added Method Gnome.GlyphList To be added a a a a a a To be added Method Gnome.GlyphList To be added a a a a a a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method Art.DRect To be added a a a a To be added Property GLib.GType GType Property. a Returns the native value for . Method System.Int32 To be added a a To be added Method System.Void To be added. To be added. Method System.Void To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PrintPaper.xml0000644000175000001440000001503211345266756015534 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.PrintPaper To be added To be added Method Gnome.PrintPaper To be added a a To be added Method Gnome.PrintPaper To be added a a a a To be added Method System.Void To be added a To be added Method Gnome.PrintPaper To be added a a a To be added Property GLib.List To be added a To be added Property Gnome.PrintPaper To be added a To be added Method Gnome.PrintPaper To be added a a To be added Property System.UInt32 To be added a To be added Field System.Double To be added To be added Field System.Double To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/IconListMode.xml0000644000175000001440000000371211345266756016003 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. How icons should be displayed To be added. System.Enum GLib.GType(typeof(Gnome.IconListModeGType)) Field Gnome.IconListMode Display only icons Field Gnome.IconListMode Display text below the icons Field Gnome.IconListMode Display text to the right of the icons gtk-sharp-2.12.10/doc/en/Gnome/ChangeBackgroundHandler.xml0000644000175000001440000000306111345266756020132 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/Url.xml0000644000175000001440000000530211345266756014211 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Int32 To be added a To be added Method System.Boolean To be added a a To be added Constructor To be added To be added Method System.Boolean To be added a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/StringCallback.xml0000644000175000001440000000156011345266756016334 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/CanvasEllipse.xml0000644000175000001440000000732111345266756016203 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Canvas item for drawing ellipses and circles A canvas item for drawing ellipses and circles. The parameters are defined in the parent classes including which is shared with items as well. Gnome.CanvasRE Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Create a new object The that this belongs to. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/HelpError.xml0000644000175000001440000000327011345266756015353 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The different error codes which can be thrown by . To be added. System.Enum GLib.GType(typeof(Gnome.HelpErrorGType)) Field Gnome.HelpError Something went wrong internally. This is most likely caused by a resource problem or bad installation. Field Gnome.HelpError Help file does not exist. gtk-sharp-2.12.10/doc/en/Gnome/EdgePosition.xml0000644000175000001440000000520411345266756016041 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to pass around information about the position of a GnomeDruidPage within the overall GnomeDruid. This enables the correct "surrounding" content for the page to be drawn. System.Enum GLib.GType(typeof(Gnome.EdgePositionGType)) Field Gnome.EdgePosition The current page is at the beginning of the druid. Field Gnome.EdgePosition The current page is at the end of the druid. Field Gnome.EdgePosition The current page is neither the first nor the last page (usually not required). Field Gnome.EdgePosition Used internally to indicate the last value of the enumeration. This should not be passed in to any function expecting a GnomeEdgePosition value. gtk-sharp-2.12.10/doc/en/Gnome/FontSetArgs.xml0000644000175000001440000000404511345266756015651 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gnome.Font To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/Thumbnail.xml0000644000175000001440000001141011345266756015367 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Boolean To be added a a a To be added Method System.String To be added a a To be added Method System.String To be added a a a To be added Method Gdk.Pixbuf To be added a a a a To be added Constructor To be added To be added Method System.Boolean To be added a a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/ThemeFileSectionFunc.xml0000644000175000001440000000203011345266756017445 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/SuccessorRemovedHandler.xml0000644000175000001440000000150511345266756020241 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/About.xml0000644000175000001440000002666011345266756014533 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Display author, documenter and translator credits for an application. The widget is used as the standard way of displaying credits in an application. Typically, it will be called when a user selects the About... option from the Help menu. With one simple function call, the application can then display all of the appropriate information. NOTE: The widget is destroyed automatically when the close event is called. Therefore, it is not possible to use the same more than once. Compile the following example with: mcs GnomeAboutSample.cs -r gtk-sharp -r gnome-sharp -r gdk-sharp using System; using Gtk; using GtkSharp; using Gnome; class GnomeAboutSample { About ab; Program program; static void Main(string[] args) { new GnomeAboutSample(args); } GnomeAboutSample (string[] args) { program = new Program("GnomeAboutSample", "0.1", Gnome.Modules.UI , args); App app = new App("sample", "sample"); app.SetDefaultSize (250, 250); app.DeleteEvent += new DeleteEventHandler (on_app_delete); Button btn = new Button ("Show About"); btn.Clicked += new EventHandler (on_btn_clicked); app.Contents = btn; app.ShowAll(); program.Run(); } private void on_btn_clicked (object obj, EventArgs args) { string[] authors = {"The Author", "Co-Author"}; string[] documenters = {"The Documenters", "Another Documenter"}; Gdk.Pixbuf pixbuf = new Gdk.Pixbuf ("MonoIcon.png"); ab = new Gnome.About ("GnomeAboutTest", "0.1", "Copyright", "Comments", authors, documenters, "translator", pixbuf); ab.Close += new EventHandler (OnAboutClose); ab.Response += new ResponseHandler (OnAboutResponse); ab.Run (); } private void OnAboutClose (object o, EventArgs args) { Console.WriteLine ("Close Event"); } private void OnAboutResponse(object o, ResponseArgs args) { Console.WriteLine (args.ResponseId); } private void on_app_delete (object o, DeleteEventArgs args) { program.Quit (); } } Gtk.Dialog Method System.Void Construct a credits box for an . a a a a a a a a The array cannot be empty. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.String The name of the application. an object of type GLib.Property("name") Property System.String The translator for the current locale. an object of type GLib.Property("translator_credits") Property System.String The copyright statement of the application. an object of type GLib.Property("copyright") Property Gdk.Pixbuf The logo for the application. an object of type GLib.Property("logo") Property System.String The version string of the application. an object of type GLib.Property("version") Property System.String A short miscellaneous string. an object of type GLib.Property("comments") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/GdkPixbufLoadCallback.xml0000644000175000001440000000220111345266756017542 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/Popup.xml0000644000175000001440000003274611345266756014566 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Create and display popup and context menus. using System; using Gtk; using GtkSharp; using Gnome; class PopupSample { Program program; static void Main (string[] args) { new PopupSample (args); } PopupSample (string[] args) { program = new Program ("PopupSample", "0.0", Modules.UI, args); App app = new App ("PopupSample", "Gnome.Popup sample"); app.SetDefaultSize (400, 300); app.DeleteEvent += new DeleteEventHandler (OnAppDelete); Menu menu = new Menu (); MenuItem hello = new MenuItem ("Hello"); hello.Activated += new EventHandler (OnHelloActivated); hello.Show (); menu.Append (hello); Label label = new Label ("Right Click me"); EventBox eventbox = new EventBox (); eventbox.Add (label); app.Contents = eventbox; Popup.MenuAttach (menu, eventbox, IntPtr.Zero); app.ShowAll (); program.Run (); } private void OnHelloActivated (object o, EventArgs args) { Console.WriteLine ("Hello Activated"); } private void OnAppDelete (object o, DeleteEventArgs args) { program.Quit (); } } System.Object Method Gtk.Widget Creates a popup menu out of the specified array. a a This method behaves just like , except that it creates an for you and attaches it to the menu object. Use to get the that is created. Method System.Void a a a a a You can use this function to pop up a menu. When a menu item callback is invoked, the specified user_data will be passed to it. The parameter is the same as for , i.e. you can use it to specify a function to position the menu explicitly. If you want the default position (near the mouse), pass . The event parameter is needed to figure out the mouse button that activated the menu and the time at which this happened. If you pass in , then no button and the current time will be used as defaults. Method System.Void a a a a a a Obsolete. Replaced by overload with no argument. Method Gtk.Widget Creates a popup menu out of the specified array. a a a Use to pop the menu up, or attach it to a window with . Method Gtk.AccelGroup This function is used to retrieve the accelgroup that was created by . a a If you want to specify the accelgroup that the popup menu accelerators use, then use . Method System.Void Appends the menu items in to the menu. a a Method System.Void Attaches the specified menu to the specified . a a a The menu can then be activated by pressing mouse button 3 over the widget. When a menu item callback is invoked, the specified will be passed to it. This function requires the widget to have its own window (i.e. ), This function will try to set the flag on the event mask for the widget if it does not have it yet. If this is the case, then the widget must not be realized for it to work. The popup menu can be attached to different widgets at the same time. A reference count is kept on the popup menu; when all the widgets it is attached to are destroyed, the popup menu will be destroyed as well. Under the current implementation, setting a popup menu for a widget and then reparenting that widget will cause Bad Things to happen. Method System.Int32 a a a a a You can use this function to pop up a menu modally. a Same as , but modal. Constructor Creates a new instance. The default constructor for . Method System.Int32 a a To be added. a a a Obsolete. Replaced by overload with no argument. a gtk-sharp-2.12.10/doc/en/Gnome/Authentication.xml0000644000175000001440000000307411345266756016432 00000000000000 gnome-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.Void To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/ColorSetHandler.xml0000644000175000001440000000266111345266756016504 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ColorSetHandler instance to the event. The methods referenced by the ColorSetHandler instance are invoked whenever the event is raised, until the ColorSetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/Trigger.xml0000644000175000001440000000554311345266756015061 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.Trigger To be added To be added Method Gnome.Trigger To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gnome.Trigger' To be added Field Gnome.TriggerType To be added To be added Field System.String To be added To be added Property Gnome.TriggerActionFunction To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/IconSelectedHandler.xml0000644000175000001440000000273211345266756017312 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the IconSelectedHandler instance to the event. The methods referenced by the IconSelectedHandler instance are invoked whenever the event is raised, until the IconSelectedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/CancelClickedArgs.xml0000644000175000001440000000344011345266756016731 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasPoints.xml0000644000175000001440000001142111345266756016056 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A structure to manage an array of points (X and Y coordinates). To be added GLib.Opaque Method Gnome.CanvasPoints To be added To be added: an object of type 'Gnome.CanvasPoints' To be added Method System.Void To be added To be added Constructor To be added a To be added Constructor To be added a To be added Constructor Creates canvas points from x and y coordinates stored in array. array of coordinates (num_points * 2 in size), X coordinates are stored in the even-numbered indices, and Y coordinates are stored in the odd-numbered indices. // LineExample.cs - Displays triangle using gnome canvas // Compile: mcs -r gtk-sharp.dll -r gnome-sharp.dll LineExample.cs namespace GnomeSamples { using System; using Gtk; using Gnome; public class LineExample { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Canvas line example"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); Canvas canvas = new Canvas (); win.Add (canvas); CanvasLine line = new CanvasLine (canvas.Root ()); line.Points = new CanvasPoints (new double[]{40,0, 0,80, 80,80, 40,0}); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.10/doc/en/Gnome/UIInfoType.xml0000644000175000001440000001265011345266756015446 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. These values identify the item type that a particular structure specifies. One should be careful when using Gnome.App.Create[Custom|Interp|WithData] methods with arrays containing BuilderData items, since their structures completely override the ones generated or supplied by the above methods. System.Enum Field Gnome.UIInfoType No more items, use it at the end of an array. Field Gnome.UIInfoType Normal item, or radio item if it is inside a radioitems group. Field Gnome.UIInfoType Toggle (check box) item. Field Gnome.UIInfoType Radio item group. Field Gnome.UIInfoType Item that defines a subtree/submenu. Field Gnome.UIInfoType Separator line (menus) or blank space (toolbars). Field Gnome.UIInfoType Create a list of help topics, used in the Help menu. Field Gnome.UIInfoType Specifies the builder data for the following entries, see code for further info. Field Gnome.UIInfoType A configurable menu item. Field Gnome.UIInfoType Item that defines a subtree/submenu, same as Subtree, but the texts should be looked up in the libgnome catalog. Field Gnome.UIInfoType Almost like Subtree, but inserts items into the current menu or whatever, instead of making a submenu. gtk-sharp-2.12.10/doc/en/Gnome/AppBarMsg.xml0000644000175000001440000000240511345266756015264 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gnome/ChangeBackgroundArgs.xml0000644000175000001440000000560311345266756017455 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.SignalArgs Constructor To be added To be added Property Gnome.PanelAppletBackgroundType To be added a To be added Property Gdk.Color To be added a To be added Property Gdk.Pixmap To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/Help.xml0000644000175000001440000001264711345266756014351 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Display application and Gnome system help. These functions provide a way to display help files that are either installed as part of the main Gnome installation or that are specific to the current application. System.Object Constructor Creates a new instance. This is the default constructor for . Method System.Boolean To be added a a a a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasPolygon.xml0000644000175000001440000001256211345266756016240 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Polygon canvas item A canvas item for drawing polygon (multi sided) shapes. Gnome.CanvasShape Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new polygon The that this item belongs to. Property Gnome.CanvasPoints a pointer. This can be created by a call to the constructor. a pointer. GLib.Property("points") Method System.Double Computes the distance between a point and a polygon. FIXME Vertices of the polygon. X coordinates are in the even indices, and Y coordinates are in the odd indices. Number of points in the polygon. X coordinate of the point. Y coordinate of the point. The distance from the point to the polygon, or zero if the point is inside the polygon. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/ClientFlags.xml0000644000175000001440000000446711345266756015655 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Flags indicating the status of a client (as seen by the session manager). Used as return values by . System.Enum GLib.GType(typeof(Gnome.ClientFlagsGType)) System.Flags Field Gnome.ClientFlags The client is connected to the session manager. Field Gnome.ClientFlags The client has been restarted (i.e. it has been running with the same client id previously). Field Gnome.ClientFlags There may be a configuration file from which the client's state should be restored (applies only to the master client). gtk-sharp-2.12.10/doc/en/Gnome/CanvasPathDef.xml0000644000175000001440000004574611345266756016136 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method Gnome.CanvasPathDef To be added To be added: an object of type 'Art.Bpath' To be added: an object of type 'Gnome.CanvasPathDef' To be added Method Gnome.CanvasPathDef To be added To be added: an object of type 'Art.Bpath' To be added: an object of type 'Gnome.CanvasPathDef' To be added Method Gnome.CanvasPathDef To be added To be added: an object of type 'Art.Bpath' To be added: an object of type 'Gnome.CanvasPathDef' To be added Method Gnome.CanvasPathDef To be added To be added: an object of type 'GLib.SList' To be added: an object of type 'Gnome.CanvasPathDef' To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'double' To be added: an object of type 'double' To be added Method Gnome.CanvasPathDef To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'double' To be added: an object of type 'double' To be added: an object of type 'double' To be added: an object of type 'double' To be added: an object of type 'double' To be added: an object of type 'double' To be added Method System.Void To be added To be added Method Gnome.CanvasPathDef To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method Art.Bpath To be added To be added: an object of type 'Art.Bpath' To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method Art.Bpath To be added To be added: an object of type 'Art.Bpath' To be added Method System.Void To be added To be added: an object of type 'Art.Point' To be added Method System.Void To be added To be added: an object of type 'int' To be added Method Gnome.CanvasPathDef To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method System.Boolean To be added To be added: an object of type 'bool' To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'double' To be added: an object of type 'double' To be added Method System.Boolean To be added To be added: an object of type 'bool' To be added Method Art.Bpath To be added To be added: an object of type 'Art.Bpath' To be added Method Gnome.CanvasPathDef To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method System.Boolean To be added To be added: an object of type 'bool' To be added Method System.Void To be added To be added Method System.Boolean To be added To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'double' To be added: an object of type 'double' To be added Method System.Int32 To be added To be added: an object of type 'int' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added Constructor To be added To be added: an object of type 'int' To be added Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added Constructor To be added a To be added Method Gnome.CanvasPathDef[] To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/FontPickerMode.xml0000644000175000001440000000461111345266756016322 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. button mode (or what to show). To be added. System.Enum GLib.GType(typeof(Gnome.FontPickerModeGType)) Field Gnome.FontPickerMode To be added To be added Field Gnome.FontPickerMode To be added To be added Field Gnome.FontPickerMode To be added To be added Field Gnome.FontPickerMode To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintUnitBase.xml0000644000175000001440000000444611345266756016206 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintUnitBase To be added Field Gnome.PrintUnitBase To be added Field Gnome.PrintUnitBase To be added Field Gnome.PrintUnitBase To be added System.Flags gtk-sharp-2.12.10/doc/en/Gnome/FontWeight.xml0000644000175000001440000001421111345266756015524 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added gtk-sharp-2.12.10/doc/en/Gnome/RenderBackgroundArgs.xml0000644000175000001440000000350011345266756017501 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gnome.CanvasBuf To be added To be added: an object of type 'Gnome.CanvasBuf' To be added gtk-sharp-2.12.10/doc/en/Gnome/PanelAppletFlags.xml0000644000175000001440000000551011345266756016632 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum System.Flags Field Gnome.PanelAppletFlags To be added To be added Field Gnome.PanelAppletFlags To be added To be added Field Gnome.PanelAppletFlags To be added To be added Field Gnome.PanelAppletFlags To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/Icon.xml0000644000175000001440000001113311345266756014336 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added To be added Method System.String To be added a a a a a a a To be added Method System.String A icon theme to be used. An optional thumbnail factory used to look up thumbnails. The uri of the file. Optionally the name of a custom icon to try. information about the file. The mime type of the icon. flags that affect the result of the lookup. Optionally the result flags of the lookups are stored here. Locate an icon that can be used to represent the file passed. The filename of the looked up icon. To be added. gtk-sharp-2.12.10/doc/en/Gnome/IconLookupFlags.xml0000644000175000001440000000501011345266756016502 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gnome.IconLookupFlagsGType)) System.Flags Field Gnome.IconLookupFlags To be added Field Gnome.IconLookupFlags To be added Field Gnome.IconLookupFlags To be added Field Gnome.IconLookupFlags To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasBpathPriv.xml0000644000175000001440000000243511345266756016506 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gnome/TriggerType.xml0000644000175000001440000000464511345266756015725 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. These are the different types of triggers that can be activated by an application. To be added. System.Enum GLib.GType(typeof(Gnome.TriggerTypeGType)) Field Gnome.TriggerType A null trigger type. Should never be used. Field Gnome.TriggerType The trigger causes a function to be executed. Field Gnome.TriggerType The trigger causes a command to be executed. Field Gnome.TriggerType The trigger causes a sound to be played. gtk-sharp-2.12.10/doc/en/Gnome/Modules.xml0000644000175000001440000000356611345266756015071 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added To be added Property Gnome.ModuleInfo To be added To be added: an object of type 'Gnome.ModuleInfo' To be added Property Gnome.ModuleInfo To be added To be added: an object of type 'Gnome.ModuleInfo' To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintContext.xml0000644000175000001440000010050111345266756016105 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method System.Int32 To be added a To be added Method System.Int32 To be added a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a a a a a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Property GLib.Property("config") Gnome.PrintConfig To be added. To be added. To be added. Property GLib.Property("filter") Gnome.PrintFilter To be added. To be added. To be added. Property GLib.Property("transport") Gnome.PrintTransport To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/UISignalConnectFunc.xml0000644000175000001440000000274711345266756017262 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Are called as a result of signals being emitted from a menu or tool bar item The user data that was part of the instance. The name of the emitted signal. The user data that was part of the relevant instance. Delegates of this type are given as the first element of a instance. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/PasswordDialogQualityFunc.xml0000644000175000001440000000163511345266756020563 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Double To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PanelAppletFactoryCallback.xml0000644000175000001440000000313311345266756020621 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gnome/Config.xml0000644000175000001440000005353411345266756014666 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class manages, in a persist way, the configuration information of the application. The handling is done in a independent way of the selected locale. System.Object Method System.Void To be added a To be added Method System.IntPtr To be added a a a a To be added Method System.Void To be added a a a a To be added Method System.IntPtr To be added a a a To be added Method System.Void To be added a a a To be added Method System.Void To be added To be added Method System.Void To be added a a To be added Method System.String To be added a a a To be added Method System.Void To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean Flushes all the configuration data to disk, for a given file. The path of the target file. a Returns if its able to write to disk, otherwise its . Nothing is saved on disk till this method gets invoked, or Sync(). Method System.Void To be added a a To be added Method System.Void To be added a a a To be added Method System.Void Clears any cached information, including any information that has not been written to file. All non saved configuration data is lost. Method System.Void To be added a a To be added Method System.Void To be added a a a To be added Method System.Void To be added a a a To be added Method System.Void To be added a a To be added Method System.Boolean Flushes all the configuration data to disk. Returns if its able to write to disk, otherwise its . Nothing is saved on disk till this method gets invoked, or SyncFile_. Method System.IntPtr To be added a a a To be added Constructor To be added To be added Method System.Boolean To be added a a a a To be added Method System.Int32 To be added a a a a To be added Method System.String To be added a a a a To be added Method System.Void To be added a a a a a To be added Method System.String Gets the value associated with the path as a , if its not present, the default value will be used. The path to the required item. If the default value for the item is returned its set to a otherwise its a . a Returns the value in the configuration path or the default value if its not present, as a . To be added Method System.Double To be added a a a a To be added Method System.Int32 To be added a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/PaperSelector.xml0000644000175000001440000001235611345266756016226 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.HBox Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Constructor To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.Property("config") Gnome.PrintConfig To be added. To be added. To be added. Property GLib.Property("height") System.Double To be added. To be added. To be added. Property GLib.Property("width") System.Double To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PrintDialog.xml0000644000175000001440000003413611345266756015672 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Dialog Method System.Void To be added a To be added Method System.Void To be added a a To be added Constructor Internal constructor a This is not typically used by C# code. Property Gnome.PrintConfig To be added a To be added Property Gnome.PrintRangeType To be added a To be added Method System.Void To be added a a a a a To be added Method System.Void To be added a a a a To be added Method System.Void To be added a a To be added Constructor To be added a a a To be added Constructor To be added a a To be added Method System.Int32 To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void To be added a a To be added Method System.Int32 To be added a To be added Property GLib.Property("content_selector") Gnome.PrintContentSelector To be added. To be added. To be added. Property GLib.Property("flags") System.Int32 To be added. To be added. To be added. Property GLib.Property("notebook") Gtk.Notebook To be added. To be added. To be added. Property GLib.Property("page_selector") Gnome.PrintPageSelector To be added. To be added. To be added. Property GLib.Property("print_config") Gnome.PrintConfig To be added. To be added. To be added. Property GLib.Property("title") System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/Client.xml0000644000175000001440000006562311345266756014701 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Object Method Gnome.ModuleInfo To be added To be added: an object of type 'Gnome.ModuleInfo' To be added Method Gnome.Client To be added To be added: an object of type 'Gnome.Client' To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'Gnome.SaveStyle' To be added: an object of type 'bool' To be added: an object of type 'Gnome.InteractStyle' To be added: an object of type 'bool' To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'Gnome.DialogType' To be added: an object of type 'Gtk.CallbackMarshal' To be added: an object of type 'IntPtr' To be added: an object of type 'Gtk.DestroyNotify' To be added Method System.Void To be added To be added: an object of type 'Gnome.DialogType' To be added: an object of type 'Gnome.InteractFunction' To be added Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'Gtk.Dialog' To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added Method System.Void To be added To be added: an object of type 'Gtk.Dialog' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added Property System.UInt32 To be added To be added: an object of type 'uint' To be added Property Gnome.RestartStyle To be added The condition upon which to restart or not the program. To be added Property Gnome.ClientFlags To be added To be added: an object of type 'Gnome.ClientFlags' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Event System.EventHandler To be added To be added GLib.Signal("shutdown_cancelled") Event System.EventHandler To be added To be added GLib.Signal("die") Event Gnome.SaveYourselfHandler To be added To be added GLib.Signal("save_yourself") Event System.EventHandler To be added To be added GLib.Signal("disconnect") Event System.EventHandler To be added To be added GLib.Signal("save_complete") Event Gnome.ConnectedHandler To be added To be added GLib.Signal("connect") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void To be added To be added Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void The number of arguments to pass (including the application path). The array with the arguments. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/ChangeSizeArgs.xml0000644000175000001440000000371511345266756016312 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.SignalArgs Constructor To be added To be added Property System.UInt32 To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/PreparedArgs.xml0000644000175000001440000000337011345266756016031 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.10/doc/en/Gnome/PasswordDialogDetails.xml0000644000175000001440000000163611345266756017705 00000000000000 gnome-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/TriggerList.xml0000644000175000001440000000732011345266756015710 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.TriggerList To be added To be added Method Gnome.TriggerList To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gnome.TriggerList' To be added Property Gnome.Trigger To be added To be added: an object of type 'Gnome.Trigger' To be added Property Gnome.TriggerList To be added To be added: an object of type 'Gnome.TriggerList' To be added Field System.String To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/BackClickedHandler.xml0000644000175000001440000000272011345266756017065 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the BackClickedHandler instance to the event. The methods referenced by the BackClickedHandler instance are invoked whenever the event is raised, until the BackClickedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/PrintConfigOption.xml0000644000175000001440000000655611345266756017076 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.PrintConfigOption To be added To be added Field System.String To be added To be added Field System.String To be added To be added Field System.Int32 To be added To be added Method Gnome.PrintConfigOption To be added a a To be added gtk-sharp-2.12.10/doc/en/Gnome/MoveFocusOutOfAppletHandler.xml0000644000175000001440000000310511345266756020775 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/Entry.xml0000644000175000001440000004612111345266756014554 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A single-line text entry widget. Gtk.Combo Gtk.Editable System.Obsolete Method System.Void Select the text between and . an object of type an object of type Method System.String Gets the text between and . an object of type an object of type an object of type Method System.Void Delete the text between and . an object of type an object of type Method System.Void To be added To be added Method System.Void Delete the text contained in the selection. Method System.Boolean Determines the position of the beggining and end of a selection. an object of type an object of type an object of type Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void Adds a history item of the given text to the head of the history list. an object of type an object of type If save is , the history item will be saved in the config file (assuming that is not ). Duplicates are automatically removed from the history list. The history list is automatically saved if needed. Method System.Void Clears the history. Method System.Void Adds a history item of the given text to the tail of the history list. an object of type an object of type If save is , the history item will be saved in the config file (assuming that is not ). Duplicates are automatically removed from the history list. The history list is automatically saved if needed. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new instance. an object of type Property System.Boolean Whether the is editable by the user. an object of type Property System.Int32 The position of the cursor in the entry. an object of type Property System.UInt32 Internal limit on number of history items saved to the config file. an object of type Zero is an acceptable value, but the same thing is accomplished by setting the to . Property Gtk.Entry The internal of the . an object of type GLib.Property("gtk_entry") Property System.String The history id of the widget. an object of type GLib.Property("history_id") Event System.EventHandler Emitted when the text is changed. GLib.Signal("changed") Event System.EventHandler Emitted when the is activated. This usually occurs when the user presses the "enter" or "return" key. GLib.Signal("activate") Method System.Void To be added an object of type an object of type To be added Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Event Gtk.TextDeletedHandler Emitted when text is deleted from the entry. GLib.Signal("delete_text") Event Gtk.TextInsertedHandler Emitted when text is inserted into the entry. GLib.Signal("insert_text") gtk-sharp-2.12.10/doc/en/Gnome/ThemeFile.xml0000644000175000001440000001667711345266756015332 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method System.Int32 To be added a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a a a To be added Method System.Void To be added a a a To be added Method System.Boolean To be added a a a a To be added Method System.Void To be added To be added Method System.Void To be added a To be added Constructor To be added a To be added Constructor To be added a To be added Method System.Boolean To be added a a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/SaveYourselfArgs.xml0000644000175000001440000000674311345266756016725 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean To be added To be added: an object of type 'bool' To be added Property Gnome.InteractStyle To be added To be added: an object of type 'Gnome.InteractStyle' To be added Property System.Boolean To be added To be added: an object of type 'bool' To be added Property Gnome.SaveStyle To be added To be added: an object of type 'Gnome.SaveStyle' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Gnome/URLError.xml0000644000175000001440000000673711345266756015140 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The errors that can be returned due to bad parameters being pass to . To be added System.Enum Field Gnome.URLError The parsing of the handler failed. Field Gnome.URLError To be added To be added Field Gnome.URLError To be added To be added Field Gnome.URLError To be added To be added Field Gnome.URLError To be added To be added Field Gnome.URLError To be added To be added Field Gnome.URLError To be added. gtk-sharp-2.12.10/doc/en/Gnome/CanvasWidget.xml0000644000175000001440000001760411345266756016036 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Widget canvas item A canvas item for placing arbitrary objects onto a canvas. Gnome.CanvasItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Widget container The that this item belongs to. Property System.Double Width of widget (units specified by property). the width of the widget GLib.Property("width") Property System.Double Height of widget (units specified by property). the height of the widget GLib.Property("height") Property Gtk.AnchorType Anchor position for widget. anchor position for the widget GLib.Property("anchor") Property Gtk.Widget The embedded widget the embedded widget GLib.Property("widget") Property System.Boolean Whether the widget size is specified in pixels or canvas units. whether the widget size is specified in pixels or canvas units. GLib.Property("size_pixels") Property System.Double Y coordinate of anchor point. Y coordinate of anchor point. GLib.Property("y") Property System.Double X coordinate of anchor point. X coordinate of anchor point. GLib.Property("x") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/Scores.xml0000644000175000001440000002434311345266756014713 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Dialog Method Gtk.Widget Does all the work of displaying the best scores. It calls to retrieve the info, creates the window, and shows it. an object of type Filename of a logo pixmap to display an object of type Name of the application, as in . an object of type Level of the game or NULL. To be added: an object of type 'int' To be added: an object of type 'Gtk.Widget' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.Color To be added To be added: an object of type 'Gdk.Color' To be added Property Gdk.Color To be added a To be added Property System.Int32 To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property Gtk.Widget To be added a To be added Method System.Void To be added a a To be added Method System.Void To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Single To be added a a a a a To be added Constructor To be added a a a a a To be added Constructor To be added To be added System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/TriggerActionFunction.xml0000644000175000001440000000261411345266756017721 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Can be used as a target for of instances. The human-readable message that was passed to . May be null. The severity level of the event. May be null. The section in which the event belongs. To be added. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/InteractFunction.xml0000644000175000001440000000335711345266756016736 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used when the wishes to interact with the user at the session manager's convenience (usually during shutdown and restarts). The instance doing the interaction. A unique key. The that should be used to do the interaction. All other s are blocked from interacting with the user until the key is released via a call to . Although the function is not obliged to respect the passed in , it is bad form not to do so. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/PrintFilterError.xml0000644000175000001440000000142611345266756016726 00000000000000 gnome-sharp 2.20.0.0 System.Enum Field Gnome.PrintFilterError Syntax error. PrintFilter error enumeration. gtk-sharp-2.12.10/doc/en/Gnome/CanvasRichText.xml0000644000175000001440000004674211345266756016352 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.CanvasItem Method System.Void Paste the contents of the clipboard into the text buffer at the current cursor location. To be added Method System.Void Cut the selected text. This method copies the highlighted text from the into the clipboard. If none of the text is selected, the contents of the clipboard are still set to the null string. Method System.Void Copy the selected text. This method copies the highlighted text from the into the clipboard. If nothing is highlighted in the text, the contents of the clipboard are still replaced with the null string. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Add a new RichTextItem to the given . To be added: an object of type 'Gnome.CanvasGroup' To be added Property Gtk.TextBuffer The that is displayed on the . To be added: an object of type 'Gtk.TextBuffer' To be added Property System.Boolean Whether the cursor is visible or not. To be added: an object of type 'bool' To be added GLib.Property("cursor_visible") Property System.Boolean Whether the item is visible or not. To be added: an object of type 'bool' To be added GLib.Property("visible") Property System.Boolean Whether the box height should grow if the text does not fit. To be added: an object of type 'bool' To be added GLib.Property("grow_height") Property System.Double The height of the text box. To be added: an object of type 'double' To be added GLib.Property("height") Property Gtk.WrapMode How the text in the widget should wrap. To be added: an object of type 'Gtk.WrapMode' To be added GLib.Property("wrap_mode") Property Gtk.AnchorType Anchor point for text. To be added: an object of type 'Gtk.AnchorType' To be added GLib.Property("anchor") Property System.Int32 The number of pixels in the left margin. To be added: an object of type 'int' To be added GLib.Property("left_margin") Property System.Double The width of the text box. To be added: an object of type 'double' To be added GLib.Property("width") Property System.String The text to be displayed. To be added: an object of type 'string' To be added GLib.Property("text") Property Gtk.DirectionType The direction for the text. To be added: an object of type 'Gtk.DirectionType' To be added GLib.Property("direction") Property System.Int32 The number of pixels above each line. To be added: an object of type 'int' To be added GLib.Property("pixels_above_lines") Property System.Double The Y position. To be added: an object of type 'double' To be added GLib.Property("y") Property System.Double The X position. To be added: an object of type 'double' To be added GLib.Property("x") Property Gtk.Justification The justification for the text. To be added: an object of type 'Gtk.Justification' To be added GLib.Property("justification") Property System.Int32 The number of pixels to indent. To be added: an object of type 'int' To be added GLib.Property("indent") Property System.Boolean Whether the text is editable or not. To be added: an object of type 'bool' To be added GLib.Property("editable") Property System.Int32 The number of pixels in the right margin. To be added: an object of type 'int' To be added GLib.Property("right_margin") Property System.Boolean Whether the cursor blinks or not. To be added: an object of type 'bool' To be added GLib.Property("cursor_blink") Property System.Int32 The number of pixels below each line. To be added: an object of type 'int' To be added GLib.Property("pixels_below_lines") Property System.Int32 The number of pixels inside the wrap. To be added: an object of type 'int' To be added GLib.Property("pixels_inside_wrap") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gdk.Rectangle To be added a a To be added Method Gtk.TextIter To be added a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/MoveCursorArgs.xml0000644000175000001440000000431311345266756016371 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean To be added To be added: an object of type 'bool' To be added Property Gtk.DirectionType To be added To be added: an object of type 'Gtk.DirectionType' To be added gtk-sharp-2.12.10/doc/en/Gnome/IconSelectedArgs.xml0000644000175000001440000000425511345266756016633 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event To be added To be added: an object of type 'Gdk.Event' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Gnome/UIBuilderData.xml0000644000175000001440000000653111345266756016072 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.UIBuilderData To be added To be added Method Gnome.UIBuilderData To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gnome.UIBuilderData' To be added Field System.Boolean To be added To be added Property Gnome.UISignalConnectFunc To be added. To be added. To be added. Property Gtk.CallbackMarshal To be added. To be added. To be added. Property Gtk.DestroyNotify To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/ConnectedHandler.xml0000644000175000001440000000266711345266756016662 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ConnectedHandler instance to the event. The methods referenced by the ConnectedHandler instance are invoked whenever the event is raised, until the ConnectedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/CanvasLine.xml0000644000175000001440000004031311345266756015473 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Line canvas item A canvas item for drawing lines. This canvas item uses a structure so one or multiple joined lined segments can be drawn with a single item. // LineExample.cs - Displays triangle using gnome canvas // Compile: mcs -r gtk-sharp.dll -r gnome-sharp.dll LineExample.cs namespace GnomeSamples { using System; using Gtk; using Gnome; public class LineExample { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Canvas line example"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); Canvas canvas = new Canvas (); win.Add (canvas); CanvasLine line = new CanvasLine (canvas.Root ()); line.Points = new CanvasPoints (new double[]{40,0, 0,80, 80,80, 40,0}); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } Gnome.CanvasItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new line The that this item belongs to. Property Gdk.Drawable Stipple pattern for the line. Stipple pattern for the line. GLib.Property("fill_stipple") Property System.Double Distance from tip of arrowhead to trailing point, measured along the shaft. Distance from tip of arrowhead to trailing point, measured along shaft. GLib.Property("arrow_shape_b") Property System.Double Distance from tip of arrowhead to center. Distance from tip of arrowhead to center. GLib.Property("arrow_shape_a") Property System.Boolean Specifies whether to smooth the line using parabolic splines. Whether to smooth the line using parabolic splines GLib.Property("smooth") Property Gdk.LineStyle Line dash style. Line dash style GLib.Property("line_style") Property Gnome.CanvasPoints a pointer. This can be created by a call to the constructor. a pointer. GLib.Property("points") Property System.Boolean Specifies whether to draw an arrowhead on the first point of the line. whether to draw an arrowhead on the first point of the line. GLib.Property("first_arrowhead") Property System.UInt32 Specifies the number of steps to use when rendering curves. the number of steps to use when rendering curves. GLib.Property("spline_steps") Property System.Boolean Specifies whether to draw an arrowhead on the last point of the line. whether to draw an arrowhead on the last point of the line. To be added GLib.Property("last_arrowhead") Property Gdk.CapStyle Determines how the ends of lines are drawn (the line cap style). the line cap style GLib.Property("cap_style") Property Gdk.JoinStyle Vertex join style for line segments Vertex join style ( to join by extending each line to meet at an angle, to join by a circular arc, and to join by a straight line which makes an equal angle with each line) GLib.Property("join_style") Property System.UInt32 Line color with an alpha component (in the format 0xRRGGBBAA). the line color GLib.Property("fill_color_rgba") Property Gdk.Color The to draw the line with. the line color GLib.Property("fill_color_gdk") Property System.Double Width of the line in canvas units. The line width will be scaled when the canvas zoom factor changes. width of the line in canvas units GLib.Property("width_units") Property System.Double Distance of arrowhead trailing points from outside edge of shaft. Distance of arrowhead trailing points from outside edge of shaft. GLib.Property("arrow_shape_c") Property System.UInt32 Width of the line in pixels. The line width will not be scaled when the canvas zoom factor changes. width of the line in pixels. To be added GLib.Property("width_pixels") Property System.String X color specification for line. X color specification for the line GLib.Property("fill_color") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/Score.xml0000644000175000001440000000536411345266756014532 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Int32 To be added a a To be added Constructor To be added To be added Method System.Int32 To be added a a a a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/UIInfo.xml0000644000175000001440000001201711345266756014601 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.UIInfo To be added To be added Method Gnome.UIInfo To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gnome.UIInfo' To be added Property Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added System.Obsolete("Replaced by Widget property.") Field Gnome.UIInfoType To be added To be added Field System.String To be added To be added Field System.String Tooltip text displayed for the UI element. To be added Field Gnome.UIPixmapType To be added To be added Field System.UInt32 To be added To be added Field Gdk.ModifierType To be added To be added Property Gtk.Widget To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PanelAppletBackgroundType.xml0000644000175000001440000000464211345266756020524 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PanelAppletBackgroundType To be added To be added Field Gnome.PanelAppletBackgroundType To be added To be added Field Gnome.PanelAppletBackgroundType To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/Window.xml0000644000175000001440000001407011345266756014720 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Convenience functions for setting window attributes. This module is a convenience wrapper for some similar functions in Gtk. This allows all Gnome applications to have a consistent way of setting their window and dialog titles. It is possible that in the future, a configurable way of setting window titles may be added. System.Object Method System.Void Set the title of a toplevel window. a a a a This is done by appending the window-specific name (less the extension, if any) to the application name. So it appears as "<appname> : <docname>". The parameters to this function are appropriate in that it identifies application windows as containing certain files that are being worked on at the time (for example, a word processor file, a spreadsheet or an image). Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added To be added Method System.Void To be added a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/SuccessorRemovedArgs.xml0000644000175000001440000000233511345266756017562 00000000000000 gnome-sharp 2.20.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gnome.PrintFilter To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/FontSetHandler.xml0000644000175000001440000000332411345266756016331 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the FontSetHandler instance to the event. The methods referenced by the FontSetHandler instance are invoked whenever the event is raised, until the FontSetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/PredecessorRemovedHandler.xml0000644000175000001440000000151711345266756020551 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/ThumbnailFactory.xml0000644000175000001440000001677011345266756016735 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Gdk.Pixbuf To be added a a a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Boolean To be added a a a To be added Method System.Void To be added a a a To be added Method System.Boolean To be added a a a a To be added Method System.Void To be added a a To be added Method System.String To be added a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/Triggers.xml0000644000175000001440000000471711345266756015246 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a a To be added Method System.Void To be added a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/DialogType.xml0000644000175000001440000000317011345266756015511 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The dialogs used by the session manager to handle user interactions. To be added. System.Enum GLib.GType(typeof(Gnome.DialogTypeGType)) Field Gnome.DialogType Used when an error has occurred. Field Gnome.DialogType Used for all other (non-error) interactions. gtk-sharp-2.12.10/doc/en/Gnome/Print.xml0000644000175000001440000013561311345266756014554 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added using System; using Gtk; using GtkSharp; using Gnome; class PrintSample { TextView tv; static void Main () { new PrintSample (); } PrintSample () { Application.Init (); Gtk.Window win = new Gtk.Window ("Print sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (false, 0); win.Add (vbox); tv = new TextView (); tv.Buffer.Text = "Hello World"; vbox.PackStart (tv, true, true, 0); Button print = new Button (Gtk.Stock.Print); print.Clicked += new EventHandler (OnPrintClicked); vbox.PackStart (print, false, true, 0); win.ShowAll (); Application.Run (); } void MyPrint (PrintContext gpc) { Print.Beginpage (gpc, "demo"); Print.Moveto (gpc, 1, 700); Print.Show (gpc, tv.Buffer.Text); Print.Showpage (gpc); } void OnPrintClicked (object o, EventArgs args) { PrintJob pj = new PrintJob (PrintConfig.Default ()); PrintDialog dialog = new PrintDialog (pj, "Print Test", 0); int response = dialog.Run (); Console.WriteLine ("response: " + response); if (response == (int) PrintButtons.Cancel) { Console.WriteLine ("Canceled"); dialog.Hide (); dialog.Dispose (); return; } PrintContext ctx = pj.Context; MyPrint (ctx); pj.Close (); switch (response) { case (int) PrintButtons.Print: pj.Print (); break; case (int) PrintButtons.Preview: new PrintJobPreview (pj, "Print Test").Show (); break; } dialog.Hide (); dialog.Dispose (); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } System.Object Constructor To be added To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a a To be added Method System.Void To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Boolean To be added a a a a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a a a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a To be added Method System.Boolean To be added a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a To be added Method Pango.Context To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method Pango.FontMap To be added. To be added. To be added. Method System.Byte To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Pango.FontMap To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method Pango.Layout To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/GdkPixbufAsyncHandle.xml0000644000175000001440000000246111345266756017447 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gnome/CanvasGroup.xml0000644000175000001440000001272311345266756015704 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Canvas item group A canvas item that groups other canvas items. A canvas group is used for organization, determining drawing stacking order, and for applying transforms on all items in the group. The GnomeCanvas widget contains a toplevel root group which can be obtained with the property. Gnome.CanvasItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Double X coordinate of the group's origin. X coordinate of the group's origin. GLib.Property("y") Property System.Double Y coordinate of the group's origin Y coordinate of the group's origin GLib.Property("x") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added a a To be added Constructor To be added a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/BackClickedArgs.xml0000644000175000001440000000342011345266756016402 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasRect.xml0000644000175000001440000000714211345266756015504 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Rectangle canvas item A canvas item for drawing rectangles and squares. The parameters are defined in the parent classes including which is shared with items as well. Gnome.CanvasRE Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new rectangle The that this item belongs to. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/DruidPageStandard.xml0000644000175000001440000003711111345266756016777 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget used to implement the middle pages in a druid's sequence. This widget provides similar functionality to that in . It is used for pages that are not the initial or terminal pages of a druid. The main difference between an edge and a standard druid page (in a display sense) is that standard pages do not have a left-side watermark and the body of the contents section is a bit more arbitrary (it is a widget), rather than just displaying text (which is the common case for edge pages). Gnome.DruidPage Method System.Void Add a to a 's VBox. The text to place above the item. The to be included. The text to be placed below the item in a smaller font. Convenience function to add a to a 's VBox. This function creates a new contents section that has the question text followed by the item widget and then the addition_info text, all stacked vertically from top to bottom. The item widget could be something like a set of radio checkbuttons requesting a choice from the user. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Construct a new . Constructor Constructs a new and allows the caller to fill in some of the values at the same time. The title of the druid page. The logo to put on the druid page. The watermark to put at the top of the druid page. Property Gdk.Color The color of the main contents section background. an object of type Property Gdk.Color Sets the color of the main contents section's background. an object of type GLib.Property("title_foreground_gdk") Property Gdk.Color The background of the logo. an object of type GLib.Property("logo_background_gdk") Property System.Boolean To be added an object of type To be added GLib.Property("title_foreground_set") Property Gdk.Pixbuf Sets a as the logo in the top right corner. an object of type If , then no logo will be displayed. GLib.Property("logo") Property Gdk.Color The color of the title text. an object of type To be added. Property Gdk.Color The background color to render the logo image against. The color. Property Gdk.Color The color of the page border. The color. Property System.String The page title. The page title. GLib.Property("title") Property Gdk.Color The background color of the top section of the druid page. an object of type GLib.Property("background_gdk") Property Gdk.Pixbuf Sets a as the watermark on the top strip on the druid. an object of type If , it is reset to the normal color. GLib.Property("top_watermark") Property System.Boolean Sets a as the watermark on top of the top strip on the druid. an object of type If set to null, the top watermark is reset to the normal color. GLib.Property("logo_background_set") Property System.Boolean To be added an object of type To be added GLib.Property("background_set") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.VBox The page's The page's Property GLib.Property("contents_background_set") System.Boolean To be added. To be added. To be added. Property GLib.Property("contents_background_gdk") Gdk.Color To be added. To be added. To be added. System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/FontSelection.xml0000644000175000001440000001235711345266756016233 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.HBox Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property Gnome.FontFace To be added a To be added Property System.Double To be added a To be added Property Gnome.Font To be added a To be added Event Gnome.FontSetHandler To be added To be added GLib.Signal("font_set") Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.10/doc/en/Gnome/RenderBackgroundHandler.xml0000644000175000001440000000300411345266756020161 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RenderBackgroundHandler instance to the event. The methods referenced by the RenderBackgroundHandler instance are invoked whenever the event is raised, until the RenderBackgroundHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/ContextMenuItemCallback.xml0000644000175000001440000000247311345266756020162 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/DrawBackgroundHandler.xml0000644000175000001440000000275611345266756017654 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DrawBackgroundHandler instance to the event. The methods referenced by the DrawBackgroundHandler instance are invoked whenever the event is raised, until the DrawBackgroundHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/IconLookupResultFlags.xml0000644000175000001440000000330511345266756017706 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gnome.IconLookupResultFlagsGType)) System.Flags Field Gnome.IconLookupResultFlags To be added Field Gnome.IconLookupResultFlags To be added gtk-sharp-2.12.10/doc/en/Gnome/FontFace.xml0000644000175000001440000006446611345266756015154 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Gnome.FontFace To be added a a To be added Method Gnome.FontFace To be added a a To be added Method Gnome.Font To be added a a a a To be added Method Art.Point To be added a a a a To be added Method System.Double To be added a a a To be added Method System.Int32 To be added a a To be added Method Art.Bpath To be added a a To be added Method System.Double To be added a a To be added Method Art.DRect To be added a a a To be added Method Gnome.Font To be added a a To be added Method Art.Point To be added a a a To be added Constructor Internal constructor a This is not typically used by C# code. Property System.Double To be added a To be added GLib.Property("Ascender") Property System.Boolean To be added a To be added GLib.Property("IsFixedPitch") Property System.String To be added a To be added GLib.Property("FamilyName") Property System.String To be added a To be added GLib.Property("FullName") Property System.Double To be added a To be added GLib.Property("UnderlinePosition") Property System.String To be added a To be added GLib.Property("FontName") Property System.Double To be added a To be added GLib.Property("Descender") Property System.Double To be added a To be added GLib.Property("CapHeight") Property System.IntPtr To be added a To be added GLib.Property("FontBBox") Property System.String To be added a To be added GLib.Property("Weight") Property System.Double To be added a To be added GLib.Property("XHeight") Property System.Double To be added a To be added GLib.Property("ItalicAngle") Property System.String To be added a To be added GLib.Property("Version") Property System.Double To be added a To be added GLib.Property("UnderlineThickness") Property System.Int32 To be added a To be added Property Gnome.FontWeight To be added a To be added Property Art.DRect To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Method Gnome.FontFace To be added a a a a To be added Method Gnome.FontFace To be added a a a To be added Method Gnome.FontFace To be added a a To be added Method Gnome.FontFace To be added a a To be added Method System.String To be added a a To be added Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added Method Gnome.FontFace To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/GPGC.xml0000644000175000001440000000222511345266756014170 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/IconDataPoint.xml0000644000175000001440000000466711345266756016160 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.IconDataPoint To be added To be added Method Gnome.IconDataPoint To be added a a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintButtons.xml0000644000175000001440000000366011345266756016127 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintButtons To be added Field Gnome.PrintButtons To be added Field Gnome.PrintButtons To be added GLib.GType(typeof(Gnome.PrintButtonsGType)) gtk-sharp-2.12.10/doc/en/Gnome/ThemeFileParseError.xml0000644000175000001440000000351111345266756017316 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.ThemeFileParseError To be added Field Gnome.ThemeFileParseError To be added Field Gnome.ThemeFileParseError To be added gtk-sharp-2.12.10/doc/en/Gnome/PreparedHandler.xml0000644000175000001440000000265711345266756016521 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PreparedHandler instance to the event. The methods referenced by the PreparedHandler instance are invoked whenever the event is raised, until the PreparedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome/ModuleInfo.xml0000644000175000001440000000546111345266756015516 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Property GLib.GType GType Property. a Returns the native value for . Constructor To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PrintMeta.xml0000644000175000001440000002425111345266756015356 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.PrintContext Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property System.Byte To be added a To be added Property System.Int32 To be added a To be added Property System.Int32 To be added a To be added Method System.Int32 To be added a a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/UIPixmapType.xml0000644000175000001440000000433211345266756016007 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. These values identify the type of pixmap used in an item. To be added. System.Enum Field Gnome.UIPixmapType No pixmap specified. Field Gnome.UIPixmapType Use a stock pixmap . Field Gnome.UIPixmapType Use a pixmap from inline xpm data. Field Gnome.UIPixmapType Use a pixmap from the specified filename. gtk-sharp-2.12.10/doc/en/Gnome/PredecessorAddedArgs.xml0000644000175000001440000000233511345266756017467 00000000000000 gnome-sharp 2.20.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gnome.PrintFilter To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/ThumbnailSize.xml0000644000175000001440000000307611345266756016233 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gnome.ThumbnailSizeGType)) Field Gnome.ThumbnailSize To be added Field Gnome.ThumbnailSize To be added gtk-sharp-2.12.10/doc/en/Gnome/PrintPageSelector.xml0000644000175000001440000000742011345266756017044 00000000000000 gnome-sharp 2.20.0.0 Gtk.Frame Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.Property("current") System.UInt32 To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Property("total_in") System.UInt32 To be added. To be added. To be added. Property GLib.Property("total_out") System.UInt32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PasswordDialog.xml0000644000175000001440000003436311345266756016402 00000000000000 gnome-sharp 2.20.0.0 Gtk.Dialog Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Property Gnome.PasswordDialogRemember To be added. To be added. To be added. Property System.String To be added. To be added. To be added. GLib.Property("password") Property System.String To be added. To be added. To be added. GLib.Property("username") Property System.String To be added. To be added. To be added. GLib.Property("domain") Property System.Boolean To be added. To be added. To be added. GLib.Property("show-username") Property System.Boolean To be added. To be added. To be added. GLib.Property("show-domain") Property System.Boolean To be added. To be added. To be added. GLib.Property("show-password") Property System.Boolean To be added. To be added. To be added. GLib.Property("readonly-username") Property System.Boolean To be added. To be added. To be added. GLib.Property("show-remember") Property System.Boolean To be added. To be added. To be added. GLib.Property("readonly-domain") Property GLib.GType To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. GLib.Property("show-userpass-buttons") Property GLib.Property("anonymous") System.Boolean To be added. To be added. To be added. Property GLib.Property("message") System.String To be added. To be added. To be added. Property GLib.Property("message-markup") System.String To be added. To be added. To be added. Property GLib.Property("new-password") System.String To be added. To be added. To be added. Property Gnome.PasswordDialogQualityFunc To be added. To be added. To be added. Property GLib.Property("remember-mode") Gnome.PasswordDialogRemember To be added. To be added. To be added. Property GLib.Property("show-new-password") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-new-password-quality") System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome/PrintReturnCode.xml0000644000175000001440000001020711345266756016536 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added gtk-sharp-2.12.10/doc/en/Gnome/HRef.xml0000644000175000001440000001050111345266756014270 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Button Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("text") Property System.String To be added To be added: an object of type 'string' To be added GLib.Property("url") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome/CanvasShapePriv.xml0000644000175000001440000000243511345266756016510 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gnome/Global.xml0000644000175000001440000001002411345266756014644 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements for System.Object Method System.Void To be added To be added Method System.Void To be added To be added Method Gnome.Client To be added a To be added Method System.Void To be added To be added Method System.Void To be added a a To be added Constructor Default constructor Method System.Boolean To be added a a a To be added gtk-sharp-2.12.10/doc/en/Gnome/Stock.xml0000644000175000001440000003520711345266756014541 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Prebuilt menu/toolbar items and corresponding icons to extend . To be added System.Object Constructor To be added To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added To be added: an object of type 'string' To be added Property System.String To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/CanvasBuf.xml0000644000175000001440000001014711345266756015322 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.CanvasBuf To be added To be added Method Gnome.CanvasBuf To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gnome.CanvasBuf' To be added Method System.Void To be added To be added Field Art.IRect To be added To be added Field System.Int32 To be added To be added Field System.UInt32 To be added To be added Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome/ColorSetArgs.xml0000644000175000001440000000577611345266756016035 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The value of the alpha channel. To be added: an object of type 'uint' To be added Property System.UInt32 The value of the blue channel. To be added: an object of type 'uint' To be added Property System.UInt32 The value of the green channel. To be added: an object of type 'uint' To be added Property System.UInt32 The value of the red channel. To be added: an object of type 'uint' To be added gtk-sharp-2.12.10/doc/en/Gdk.xml0000644000175000001440000000035211345266756013107 00000000000000 An intermediate layer which isolates Gtk from the details of the windowing system. gtk-sharp-2.12.10/doc/en/Rsvg/0000777000175000001440000000000011345266756012665 500000000000000gtk-sharp-2.12.10/doc/en/Rsvg/TextAnchor.xml0000644000175000001440000000441111345266756015402 00000000000000 rsvg-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Rsvg.TextAnchor To be added To be added Field Rsvg.TextAnchor To be added To be added Field Rsvg.TextAnchor To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/PSCtx.xml0000644000175000001440000000723711345266756014335 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.PSCtx To be added To be added Method Rsvg.PSCtx To be added a a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Double[] To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/Pixbuf.xml0000644000175000001440000003611011345266756014561 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Utility/Convenience Functions for creating a from SVG. To be added System.Object Method Gdk.Pixbuf Loads a new from at , , and . A file name The horizontal zoom factor The vertical zoom factor The requested max width The requested max height A newly allocated , or This pixbuf is scaled from the size indicated by the file by a factor of and . If the resulting pixbuf would be larger than / it is uniformly scaled down to fit in that rectangle. If an error occurred is returned. Method Gdk.Pixbuf Loads a new from and returns it. A file name A newly allocated , or If an error occurred is returned. Method Gdk.Pixbuf Loads a new from at and . A file name The new width, or -1 The new height, or -1 A newly allocated , or This pixbuf is scaled from the size indicated to the new size indicated by and . If either of these are -1, then the default size of the image being loaded is used. If an error occurred is returned. Method Gdk.Pixbuf Loads a new from at and . A file name The requested max width The requested max height A newly allocated , or This pixbuf is uniformly scaled so that the it fits into a rectangle of size * . If an error occurred is returned. Method Gdk.Pixbuf Loads a new from at and . A file name The horizontal zoom factor The vertical zoom factor A newly allocated , or This pixbuf is scaled from the size indicated by the file by a factor of and . If an error occurred is returned. Constructor To be added To be added Method Gdk.Pixbuf Loads a new from at and . The you wish to render with (either normal or gzipped) A file name The requested max width The requested max height A newly allocated , or This pixbuf is uniformly scaled so that the it fits into a rectangle of size * . Method Gdk.Pixbuf Loads a new from at and The you wish to render with (either normal or gzipped) A file name The new width, or -1 The new height, or -1 A newly allocated , or This pixbuf is scaled from the size indicated to the new size indicated by width and height. If either of these are -1, then the default size of the image being loaded is used. If an error occurred is returned. Method Gdk.Pixbuf Loads a new GdkPixbuf from at and . The you wish to render with (either normal or gzipped) A file name The horizontal zoom factor The vertical zoom factor A newly allocated , or This pixbuf is scaled from the size indicated by the file by a factor of and . Method Gdk.Pixbuf Loads a new GdkPixbuf from . The you wish to render with (either normal or gzipped) A file name A newly allocated , or If an error occurred, error is set and is returned. Method Gdk.Pixbuf Loads a new GdkPixbuf from file_name The you wish to render with (either normal or gzipped) A file name The horizontal zoom factor The vertical zoom factor The requested max width The requested max height A newly allocated , or This pixbuf is scaled from the size indicated by the file by a factor of and . If the resulting pixbuf would be larger than / it is uniformly scaled down to fit in that rectangle. Method Gdk.Pixbuf To be added a a To be added Method Gdk.Pixbuf To be added a a To be added gtk-sharp-2.12.10/doc/en/Rsvg/LinearGradient.xml0000644000175000001440000001223711345266756016220 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.LinearGradient To be added To be added Method Rsvg.LinearGradient To be added a a To be added Property Rsvg.GradientStops To be added a To be added Field Rsvg.DefVal To be added To be added Field System.Boolean To be added To be added Field System.Double[] To be added To be added Field Art.GradientSpread To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/Clone.xml0000644000175000001440000000521611345266756014367 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added To be added Method Rsvg.LinearGradient To be added a a a To be added Method Rsvg.RadialGradient To be added a a a To be added gtk-sharp-2.12.10/doc/en/Rsvg/State.xml0000644000175000001440000004074511345266756014415 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.State To be added To be added Method Rsvg.State To be added a a To be added Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void To be added a To be added Property Rsvg.PaintServer To be added a To be added System.Obsolete("Replaced by Fill property.") Property Rsvg.PaintServer To be added a To be added System.Obsolete("Replaced by Stroke property.") Property Art.VpathDash To be added a To be added System.Obsolete("Replaced by Dash property.") Property Gdk.Pixbuf To be added a To be added System.Obsolete("Replaced by SavePixbuf property.") Field System.Double[] To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field Art.PathStrokeCapType To be added To be added Field Art.PathStrokeJoinType To be added To be added Field System.Double To be added To be added Field System.String To be added To be added Field Pango.Style To be added To be added Field Pango.Variant To be added To be added Field Pango.Weight To be added To be added Field Pango.Stretch To be added To be added Field System.Int32 To be added To be added Field System.UInt32 To be added To be added Field System.UInt32 To be added To be added Field System.Int32 To be added To be added Field System.Boolean To be added To be added Field System.Int32 To be added To be added Field System.String To be added To be added Field Pango.Direction To be added To be added Field Rsvg.TextAnchor To be added To be added Method Rsvg.State To be added a a To be added Property Rsvg.PaintServer To be added. To be added. To be added. Property Rsvg.PaintServer To be added. To be added. To be added. Property Art.VpathDash To be added. To be added. To be added. Property Gdk.Pixbuf To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Rsvg/DefVal.xml0000644000175000001440000000402311345266756014463 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.DefVal To be added To be added Method Rsvg.DefVal To be added a a To be added Field Rsvg.DefType To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/PaintServer.xml0000644000175000001440000000514411345266756015571 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method Rsvg.PaintServer To be added a a a To be added Method System.Void To be added To be added Method System.Void To be added To be added Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Rsvg/RadialGradient.xml0000644000175000001440000001302711345266756016200 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.RadialGradient To be added To be added Method Rsvg.RadialGradient To be added a a To be added Property Rsvg.GradientStops To be added a To be added Field Rsvg.DefVal To be added To be added Field System.Boolean To be added To be added Field System.Double[] To be added To be added Field Art.GradientSpread To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/Css.xml0000644000175000001440000003242211345266756014056 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Boolean To be added a a a To be added Method System.UInt32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.UInt32 To be added a a To be added Constructor To be added To be added Method Pango.Style To be added a a a To be added Method System.Double To be added a a To be added Method System.Double To be added a a To be added Method System.Double To be added a a To be added Method System.String To be added a a a To be added Method System.Double To be added a a a a a To be added Method Pango.Stretch To be added a a a To be added Method Pango.Weight To be added a a a To be added Method Pango.Variant To be added a a a To be added Method System.Double To be added a a a a a a To be added Method System.Boolean To be added a a a a a a To be added Method System.Void To be added a a a To be added gtk-sharp-2.12.10/doc/en/Rsvg/Render.xml0000644000175000001440000000463211345266756014547 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a a a To be added Method System.Void To be added a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/Start.xml0000644000175000001440000002014211345266756014417 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added gtk-sharp-2.12.10/doc/en/Rsvg/GradientStops.xml0000644000175000001440000000500711345266756016113 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.GradientStops To be added To be added Method Rsvg.GradientStops To be added a a To be added Property Rsvg.GradientStop To be added a To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/Handle.xml0000644000175000001440000002105411345266756014520 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method System.Boolean Close, to indicate that loading the image is complete. if the loader closed successfully, or if there was an error. This will return if the loader closed successfully. Method System.Void Frees handle. Constructor To be added a This is not a wrapper around rsvg_handle_new_from_data. This just passes the pointer as the pointer to the Glib object. It probably requires the pointer to be already initialized (like the result of rsvg_handle_new_from_data is). Constructor Returns a new rsvg handle. This handle can be used for dynamically loading an image. You need to feed it data using , then call when done. No more than one image can be loaded with one handle. Property Gdk.Pixbuf The pixbuf loaded by handle. a If insufficient data has been read to create the pixbuf, or an error occurred in loading, then will be returned. Property System.Double Sets the DPI for the all future outgoing pixbufs. Dots Per Inch (aka Pixels Per Inch) Common values are 72, 90, and 300 DPI. Passing a number <= 0 to dpi will reset the DPI to whatever the default value happens to be. Method Rsvg.Handle See , except that this will handle GZipped SVGs (svgz) a Use the returned handle identically to how you use a handle returned from Method System.Boolean Loads the next bytes Pointer to svg data length of the buffer in bytes a This will return if the data was loaded successful, and if an error occurred. In the latter case, the loader will be closed, and will not accept further writes. Property System.String To be added a To be added Property System.String To be added a To be added Method System.Void To be added a a To be added Method System.Void To be added a a a To be added Property Rsvg.SizeFunc To be added a To be added gtk-sharp-2.12.10/doc/en/Rsvg/Error.xml0000644000175000001440000000202411345266756014412 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Rsvg.Error To be added gtk-sharp-2.12.10/doc/en/Rsvg/SizeFunc.xml0000644000175000001440000000235111345266756015052 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Function to let a user of the library specify the SVG's dimensions width: the output width the SVG should be height: the output height the SVG should be user_data: user data System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Rsvg/Tool.xml0000644000175000001440000001425011345266756014242 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added using System; using Gtk; class SvgHelloWorld { static void Main (string[] args) { Application.Init (); MyMainWindow app = new MyMainWindow (); app.ShowAll (); Application.Run (); } } class MyMainWindow : Gtk.Window { public MyMainWindow () : base ("SVG Hello World") { this.DeleteEvent += new DeleteEventHandler (delete_event); string svg_file_name = "sample.svg"; Gdk.Pixbuf pixbuf = Rsvg.Tool.PixbufFromFile (svg_file_name); Image image = new Image (); image.Pixbuf = pixbuf; this.Add (image); } private void delete_event (object obj, DeleteEventArgs args) { Application.Quit (); } } System.Object Method Gdk.Pixbuf To be added a a a a a a To be added Method Gdk.Pixbuf To be added a a a a To be added Method Gdk.Pixbuf To be added a a a a To be added Method Gdk.Pixbuf To be added a a a a To be added Method Gdk.Pixbuf To be added a a To be added Constructor Internal constructor Should never be used. gtk-sharp-2.12.10/doc/en/Rsvg/DefType.xml0000644000175000001440000000422511345266756014666 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Rsvg.DefType To be added Field Rsvg.DefType To be added Field Rsvg.DefType To be added Field Rsvg.DefType To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/GradientStop.xml0000644000175000001440000000467611345266756015743 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.GradientStop To be added To be added Method Rsvg.GradientStop To be added a a To be added Field System.Double To be added To be added Field System.UInt32 To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/Global.xml0000644000175000001440000002465611345266756014540 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements System.Object Method System.Int32 To be added a the error domain for Rsvg To be added Method Rsvg.BpathDef To be added a a To be added Constructor Default constructor Property System.Double Sets the DPI for the all future outgoing pixbufs. Dots Per Inch (aka Pixels Per Inch) Common values are 72, 90, and 300 DPI. Passing a number <= 0 to dpi will reset the DPI to whatever the default value happens to be. Method System.Void To be added a a To be added Method System.Double To be added a a a To be added Method System.Void To be added a To be added Method System.Void To be added a a a To be added Method System.Void To be added a a a a To be added Method System.Boolean To be added a a To be added Method System.Boolean To be added a a a To be added Method System.Void To be added a a a a To be added Method System.Void To be added a a a a a a To be added Method System.Void To be added a a To be added gtk-sharp-2.12.10/doc/en/Rsvg/BpathDef.xml0000644000175000001440000001730311345266756015004 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.BpathDef To be added To be added Method Rsvg.BpathDef To be added a a To be added Method Rsvg.BpathDef To be added a To be added Method Rsvg.BpathDef To be added a a To be added Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void To be added a a a a a a To be added Method System.Void To be added To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Property Art.Bpath To be added a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Rsvg/Defs.xml0000644000175000001440000000577511345266756014222 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method System.Void To be added a a To be added Method System.Void To be added To be added Method Rsvg.DefVal To be added a a To be added Constructor To be added a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/0000777000175000001440000000000011345266756012451 500000000000000gtk-sharp-2.12.10/doc/en/Gdk/Spawn.xml0000644000175000001440000001376011345266756014206 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Process spawning methods System.Object Method System.Boolean Spawns a process on a Screen using a commandline string. a a a Constructor Do not use. No instance methods exist. Method System.Boolean A screen to spawn on. The process working directory. Argument list, with program at index 0. List of environment variables. Spawning flags. Child setup callback. Returns the child process id. Spawns a process on a screen using argument and environment lists. If , the process was spawned successfully. Method System.Boolean A screen to spawn on. The process working directory. Argument list, with program at index 0. List of environment variables. Spawning flags. Child setup callback. Returns the child process id. Returns a stdin pipe. Returns a stdout pipe. Returns a stderr pipe. Spawns a process on a screen using argument and environment lists. If , the process was spawned successfully. gtk-sharp-2.12.10/doc/en/Gdk/Geometry.xml0000644000175000001440000001352511345266756014710 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.Geometry To be added To be added Method Gdk.Geometry To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.Geometry' To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field Gdk.Gravity To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/EventMask.xml0000644000175000001440000002317511345266756015014 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A set of bit-flags to indicate which events a window is to receive. Most of these masks map onto one or more of the event types above. To be added System.Enum GLib.GType(typeof(Gdk.EventMaskGType)) System.Flags Field Gdk.EventMask Receive expose events. Field Gdk.EventMask Receive all pointer motion events. Field Gdk.EventMask Special mask which is used to reduce the number of .MotionNotify events received Field Gdk.EventMask Receive pointer motion events while any button is pressed. Field Gdk.EventMask Receive pointer motion events while 1 button is pressed. Field Gdk.EventMask Receive pointer motion events while 2 button is pressed. Field Gdk.EventMask Receive pointer motion events while 3 button is pressed. Field Gdk.EventMask Receive button press events. Field Gdk.EventMask Receive button release events. Field Gdk.EventMask Receive key press events. Field Gdk.EventMask Receive key release events. Field Gdk.EventMask Receive window enter events. Field Gdk.EventMask Receive window leave events. Field Gdk.EventMask Receive focus change events. Field Gdk.EventMask Receive events about window configuration change. Field Gdk.EventMask Receive property change events. Field Gdk.EventMask Receive visibility change events. Field Gdk.EventMask Receive proximity in events. Field Gdk.EventMask Receive proximity out events. Field Gdk.EventMask Receive events about window configuration changes of child windows. Field Gdk.EventMask Receive scroll events. Field Gdk.EventMask The combination of all the above event masks. gtk-sharp-2.12.10/doc/en/Gdk/ClosedArgs.xml0000644000175000001440000000340611345266756015140 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Returns true if the display was closed due to an error. True if the display was closed due to an error. None. gtk-sharp-2.12.10/doc/en/Gdk/Region.xml0000644000175000001440000002617311345266756014343 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents an area of the screen. GLib.Opaque Method Gdk.Region To be added a a Method Gdk.Region To be added a Method Gdk.OverlapType To be added a a Method System.Void To be added a a a a Method System.Void To be added a Method System.Void To be added a Method System.Void To be added a Method System.Void To be added Method System.Void To be added a a Method System.Boolean To be added a Method System.Void To be added a Method System.Boolean To be added a a a Method System.Void To be added a Method System.Boolean To be added a a Method System.Void To be added a a Constructor To be added a Constructor To be added Method Gdk.Rectangle[] To be added a Property Gdk.Rectangle To be added a Method Gdk.Region To be added a a a gtk-sharp-2.12.10/doc/en/Gdk/OverlapType.xml0000644000175000001440000000405111345266756015361 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the possible values returned by . None. System.Enum GLib.GType(typeof(Gdk.OverlapTypeGType)) Field Gdk.OverlapType If the rectangle is inside the . Field Gdk.OverlapType If the rectangle is outside the . Field Gdk.OverlapType If the rectangle is partly inside the . gtk-sharp-2.12.10/doc/en/Gdk/Rgb.xml0000644000175000001440000002614011345266756013624 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk's is a low-level module which renders RGB, grayscale, and indexed colormap images to a . It does this as efficiently as possible, handling issues such as colormaps, visuals, dithering, temporary buffers, and so on. Most code should use the higher-level GdkPixbuf features in place of this module; for example, gdk_pixbuf_render_to_drawable() uses GdkRGB in its implementation. GdkRGB allocates a color cube to use when rendering images. You can set the threshold for installing colormaps with the Gdk. property. The default is 5x5x5 (125). If a colorcube of this size or larger can be allocated in the default colormap, then that's done. Otherwise, GdkRGB creates its own private colormap. Setting it to 0 means that it always tries to use the default colormap, and setting it to 216 means that it always creates a private one if it cannot allocate the 6x6x6 colormap in the default. If you always want a private colormap (to avoid consuming too many colormap entries for other apps, say), you can use gdk_rgb_set_install(TRUE). Setting the value greater than 216 exercises a bug in older versions of GdkRGB. Note, however, that setting it to 0 doesn't let you get away with ignoring the colormap and visual - a colormap is always created in grayscale and direct color modes, and the visual is changed in cases where a "better" visual than the default is available. System.Object Method System.Void Fetches a color to be used on the given colormap. Tthe colormap for the graphics context and drawable you're using to draw. If you're drawing to a , use the property. Color should have its red, green, and blue fields initialized. This routine will fill in the pixel field with the best matching pixel from a color cube. The color is then ready to be used for drawing, e.g. you can use which expects the pixel to be initialized. In many cases, you can avoid this whole issue by setting the or , which do not expect pixel to be initialized in advance. If you use those functions, there's no need for using FindColor. Method System.Boolean Whether the visual in use by GdkRGB is dithereable. if the visual is ditherable. Determines whether the visual is ditherable. This function may be useful for presenting a user interface choice to the user about which dither mode is desired; if the display is not ditherable, it may make sense to gray out or hide the corresponding UI widget. Constructor Basic constructor. Property System.Int32 The minimum number of colors for this colormap. a Sets the minimum number of colors for the color cube. Generally, GdkRGB tries to allocate the largest color cube it can. If it can't allocate a color cube at least as large as min_colors, it installs a private colormap. Property Gdk.Visual The preferred visual for GdkRGB operations. a Gets a "preferred visual" chosen by GdkRGB for rendering image data on the default screen. In previous versions of GDK, this was the only visual GdkRGB could use for rendering. In current versions, it's simply the visual GdkRGB would have chosen as the optimal one in those previous versions. GdkRGB can now render to drawables with any visual. Property System.Boolean Whether to install a private colormap for Gdk.RGB a If the value is , it directs GdkRGB to always install a new "private" colormap rather than trying to find a best fit with the colors already allocated. Ordinarily, GdkRGB will install a colormap only if a sufficient cube cannot be allocated. A private colormap has more colors, leading to better quality display, but also leads to the dreaded "colormap flashing" effect. Property Gdk.Colormap Get preferred colormap for using Gdk.RGB The preferred . Get the preferred colormap for rendering image data. Not a very useful function; historically, GDK could only render RGB image data to one colormap and visual, but in the current version it can render to any colormap and visual. So there's no need to call this function. Property System.Boolean Whether or not to be verbose to the console about actions. Useful for debugging. a Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.UInt64 To be added a a To be added Method System.Void To be added To be added Method System.Boolean To be added a a To be added gtk-sharp-2.12.10/doc/en/Gdk/Pixbuf.xml0000644000175000001440000026442211345266756014356 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. In memory image handling and representation. The class is used to represent an image in memory, typically on the client side (this is different from that represents a server-side image). The in-memory representation uses either a three byte RGB representation or a four byte RGBA representation. Pixbufs can be created from a number of sources: image files in an assorted set of file formats (png, tiff, jpg, gif, xpm, pcx, ico, xpm, xbm); Drawables (which can be windows on the X server, or off-screen images in the X server) or in-memory images. A pixbuf can be rendered, scaled or composited into another pixbuf, into a window on the X server, or on a drawable in the X server. Various rendering methods are provided for this purpose. Pixbufs can also be saved to a number of different file formats. An example that composites two images next to each other. // Compile with: mcs -pkg:gtk-sharp PixmapComposite.cs // Usage: PixmapComposite.exe image-1.jpg image-2.jpg composite.jpg using Gdk; using System; public class PixmapComposite { public static void Main (string [] args) { // Check arguments, this takes three. if (args.Length < 3) throw new Exception ("USAGE: image1Filename image2Filename " + "compositeFilename"); // Figure out the output type string type = "jpeg"; if (args [2].ToLower ().EndsWith (".jpg")) type = "jpeg"; else if (args [2].ToLower ().EndsWith (".png")) type = "png"; else throw new Exception ("Only JPG and PNG images are supported for " + "the composite image"); // Init the system Gdk.Global.InitCheck(ref args); // Load the images Pixbuf image1 = new Pixbuf (args [0]); Pixbuf image2 = new Pixbuf (args [1]); // Create the composite image Colorspace colorspace = image1.Colorspace; bool hasAlpha = image1.HasAlpha; int bitsPerSample = image1.BitsPerSample; Pixbuf composite = new Pixbuf (colorspace, hasAlpha, bitsPerSample, image1.Width + image2.Width, image1.Height); // Composite the images on the central one image1.Composite (composite, 0, 0, image1.Width, image1.Height, 0.0, 0.0, 1.0, 1.0, InterpType.Hyper, 255); image2.Composite (composite, image1.Width, 0, image2.Width, image2.Height, image1.Width, 0.0, 1.0, 1.0, InterpType.Hyper, 255); // Write out the image as a JPG composite.Save (args [2], type); } } GLib.Object Method Gdk.Pixbuf Creates a Pixbuf from a Pixdata Source Gdk.Pixdata Whether to make a private copy of the data The return value is an initialized Pixbuf class This creates a Pixbuf from a class that implements the Gdk.Pixdata interface. Method Gdk.Pixbuf Adds an alpha channel to the Pixbuf Whether to set a color to zero opacity. If this is , then the (r, g, b) arguments will be ignored. Red value to substitute Green value to substitute Blue value to substitute A new pixbuf with an alpha channel. Takes an existing pixbuf and adds an alpha channel to it. If the existing pixbuf already had an alpha channel, the channel values are copied from the original; otherwise, the alpha channel is initialized to 255 (full opacity). If is , then the color specified by (, , ) will be assigned zero opacity. That is, if you pass (255, 255, 255) for the substitute color, all white pixels will become fully transparent. The original image is not modified, a copy of the image is made and returned. Method Gdk.Pixbuf Scaling with checkboard rendering The width of destination image The height of destination image The interpolation type for the transformation. Overall alpha for source image (0..255) The size of checks in the checkboard (must be a power of two) The color of check at upper left The color of the other check The new Pixbuf, or if not enough memory could be allocated for it. Creates a new Pixbuf by scaling to x and compositing the result with a checkboard of colors and . The colors must be in RGB format. Method Gdk.Pixbuf Scales a Pixbuf The width of destination image The height of destination image The interpolation type for the transformation A new Pixbuf object, or if no memory is available for the transformation. Create a new GdkPixbuf containing a copy of src scaled to x . It leaves the current Pixbuf unaffected. should be if you want maximum speed (but when scaling down is usually unusably ugly). The default should be which offers reasonable quality and speed. You can scale a sub-portion of the Pixbuf by creating a sub-pixbuf using a Pixbuf constructor. For more complicated scale/compositions see and Method System.Void Scale and Compose a Pixbuf with control over the checks The destination Pixbuf to render to. The left coordinate for region to render The top coordinate for region to render The width of the region to render The height of the region to render The offset in the X direction (currently rounded to an integer) The offset in the Y direction (currently rounded to an integer) The scale factor in the X direction The scale factor in the Y direction The interpolation type for the transformation. Overall alpha for source image (0..255) The X offset for the checkboard (origin of checkboard is at -check_x, -check_y) The Y offset for the checkboard The size of checks in the checkboard (must be a power of two) The color of check at upper left The color of the other check Creates a transformation of the Pixbuf by scaling by and then translating by and , then composites the rectangle ( ,, , ) of the resulting image with a checkboard of the colors and and renders it onto the destination image. The and encode the color in 32-bit RGB format. Method Gdk.Pixbuf Source . A colormap (if src does not have one set) (A Source X coordinate within drawable. Source Y coordinate within drawable. Destination X coordinate in pixbuf, or 0 if dest is . Destination Y coordinate in pixbuf, or 0 if dest is . Width in pixels of region to get. Height in pixels of region to get. Gets an image from a Gdk.Image The value of the Pixbuf (the same one that was passed) or on error. See the remarks below for details on the possible ways on which this function might fail. Transfers image data from a and converts it to an RGB(A) representation inside a . In other words, copies image data from the Image (which might be potentially shared using shared memory between the client and the server) to a client-side RGB(A) buffer (the Pixbuf). This allows you to efficiently read individual pixels on the client side. If the has no colormap ( returns ), then a suitable colormap must be specified. Typically a or a pixmap created by passing a to the constructor will already have a colormap associated with it. If the has a colormap, the argument will be ignored. If the is a bitmap (1 bit per pixel pixmap), then a colormap is not required; pixels with a value of 1 are assumed to be white, and pixels with a value of 0 are assumed to be black. For taking screenshots, the property returns the correct colormap to use. If the specified destination pixbuf is , then this function will create an RGB Pixbuf with 8 bits per channel and no alpha, with the same size specified by the width and height arguments. In this case, the and arguments must be specified as 0. If the specified destination pixbuf is not and it contains alpha information, then the filled pixels will be set to full opacity (alpha = 255). If the specified is a pixmap, then the requested source rectangle must be completely contained within the pixmap, otherwise the function will return . For pixmaps only (not for windows) passing -1 for or is allowed, to mean the full width or height of the pixmap. If the specified is a window, and the window is off the screen, then there is no image data in the obscured/offscreen regions to be placed in the pixbuf. The contents of portions of the corresponding to the offscreen region are undefined. If the window you are obtaining data from is partially obscured by other windows, then the contents of the Pixbuf areas corresponding to the obscured regions are undefined. If the target image is not mapped (typically because it's iconified/minimized or not on the current workspace), then will be returned. If memory can't be allocated for the return value, will be returned instead. (In short, there are several ways this function can fail, and if it fails it returns ; so check the return value.) Method System.Void Renders the image into a Drawable Destination drawable. GC used for rendering. Source X coordinate within pixbuf. Source Y coordinate within pixbuf. Destination X coordinate within drawable. Destination Y coordinate within drawable. Width of region to render, in pixels, or -1 to use pixbuf width Height of region to render, in pixels, or -1 to use pixbuf height Dithering mode for GdkRGB. X offset for dither. Y offset for dither. Renders a rectangular portion of the Pixbuf into the while using the specified . This is done using GdkRGB, so the specified drawable must have the visual and colormap. Note that this function will ignore the opacity information for images with an alpha channel; the GC must already have the clipping mask set if you want transparent regions to show through. For an explanation of dither offsets, see the GdkRGB documentation. In brief, the dither offset is important when re-rendering partial regions of an image to a rendered version of the full image, or for when the offsets to a base position change, as in scrolling. The dither matrix has to be shifted for consistent visual results. If you do not have any of these cases, the dither offsets can be both zero. Method Gdk.Pixbuf Destination pixbuf, or if a new pixbuf should be created.. A colormap (if src does not have one set) (A Source X coordinate within drawable. Source Y coordinate within drawable. Destination X coordinate in pixbuf, or 0 if dest is . Destination Y coordinate in pixbuf, or 0 if dest is . Width in pixels of region to get. Height in pixels of region to get. Gets image from a Gdk.Drawable The value of the Pixbuf (the same one that was passed) or on error. See the remarks below for details on the possible ways on which this function might fail. Transfers image data from a and converts it to an RGB(A) representation inside a . In other words, copies image data from a server-side drawable to a client-side RGB(A) buffer. This allows you to efficiently read individual pixels on the client side. If the has no colormap ( returns ), then a suitable colormap must be specified. Typically a or a pixmap created by passing a to the constructor will already have a colormap associated with it. If the has a colormap, the argument will be ignored. If the is a bitmap (1 bit per pixel pixmap), then a colormap is not required; pixels with a value of 1 are assumed to be white, and pixels with a value of 0 are assumed to be black. For taking screenshots, the property returns the correct colormap to use. If the specified destination pixbuf is , then this function will create an RGB Pixbuf with 8 bits per channel and no alpha, with the same size specified by the width and height arguments. In this case, the and arguments must be specified as 0. If the specified destination pixbuf is not and it contains alpha information, then the filled pixels will be set to full opacity (alpha = 255). If the specified is a pixmap, then the requested source rectangle must be completely contained within the pixmap, otherwise the function will return . For pixmaps only (not for windows) passing -1 for or is allowed, to mean the full width or height of the pixmap. If the specified is a window, and the window is off the screen, then there is no image data in the obscured/offscreen regions to be placed in the pixbuf. The contents of portions of the corresponding to the offscreen region are undefined. If the window you are obtaining data from is partially obscured by other windows, then the contents of the Pixbuf areas corresponding to the obscured regions are undefined. If the target drawable is not mapped (typically because it's iconified/minimized or not on the current workspace), then will be returned. If memory can't be allocated for the return value, will be returned instead. (In short, there are several ways this function can fail, and if it fails it returns ; so check the return value.) This function calls internally and converts the resulting image to a , so the documentation for is also relevant. Method Gdk.Pixbuf Copies the Pixbuf A copy of the data in the Pixbuf, or on failure Method System.Void Render pixbuf alpha channel as a bi-level clip mask to a The destination, a 1-bit-depth . Source X coordinate. Source Y coordinate. Destination X coordinate. Destination Y coordinate. The width of the region to modify, or -1 to use . The height of the region to reder or -1 to use Value below this will be painted as zero; all other values will be painted as one. This function is designed to threshold and render the alpha values from a rectangular of this into the destination which can then be used as a clipping mask for a . Method System.Void Scale and Compose a Pixbuf The destination Pixbuf to render to. The left coordinate for region to render The top coordinate for region to render The width of the region to render The height of the region to render The offset in the X direction (currently rounded to an integer) The offset in the Y direction (currently rounded to an integer) The scale factor in the X direction The scale factor in the Y direction The interpolation type for the transformation. Overall alpha for source image (0..255) Creates a transformation of the Pixbuf by scaling by and then translating by and , then composites the rectangle (, , , ) of the resulting image onto the destination image. Method System.Void Scale transformation. The destination Pixbuf where the results are rendered The left coordinate for region to render The top coordinate for region to render The width of the region to render The height of the region to render The offset in the X direction (currently rounded to an integer) The offset in the Y direction (currently rounded to an integer) The scale factor in the X direction The scale factor in the Y direction The interpolation type for the transformation. Creates a transformation of the Pixbuf by scaling to and then translating by and , then renders the rectangle (, , , ) of the resulting image onto the destination image replacing the previous contents. Try to use , this function is the industrial-strength power tool you can fall back to if is not powerful enough. Method System.Void Copies a region from one Pixbuf to another Source X coordinate within src_pixbuf. Source Y coordinate within src_pixbuf Width of the area to copy. Height of the area to copy. Destination Pixbuf. X coordinate within dest_pixbuf. Y coordinate within dest_pixbuf. Copies a rectangular area from src_pixbuf to dest_pixbuf. Conversion of pixbuf formats is done automatically. Method System.Void Fills a pixbuf with a single color RGBA value for the pixel to set (0xffffffff is opaque white, 0x00000000 transparent black) Clears a pixbuf to the given RGBA value, converting the RGBA value into the pixbuf's pixel format. The alpha will be ignored if the Pixbuf does not have an alpha channel. Method System.String Looks up an option in the Pixbuf the key to lookup The value associated with the Looks up key in the list of options that may have been attached to the pixbuf when it was loaded. Method System.Void Saturation and pixelation of a Pixbuf Target Pixbuf where the resulting image is stored saturation factor whether to pixelation will take place Modifies saturation and optionally pixelates the Pixbuf, placing the result in . may be the same Pixbuf with no ill effects. If is 1.0 then saturation is not changed. If it's less than 1.0, saturation is reduced (the image is darkened); if greater than 1.0, saturation is increased (the image is brightened). If is , then pixels are faded in a checkerboard pattern to create a pixelated image. src and dest must have the same image format, size, and rowstride. Method System.Void Obsolete; do not use. Use instead. A A A A A A A A A A A A Renders a rectangular portion of a pixbuf to a drawable. The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with . On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor The colorspace () Whether the image should have transparency information. Number of bits per color sample. Width of image in pixels. Height of image in pixels. Creates a new structure and allocates a buffer for it. The buffer has an optimal rowstride. Note that the buffer is not cleared; you will have to fill it completely yourself. Constructor Creates Pixbuf from image file. Filename with the image Creates a new pixbuf by loading an image from a file. The file format is detected automatically (multiple formats are supported: JPG, PNG, TIFF, XPM, XBM). If the file is not found, a will be thrown. Constructor Creates a sub-Pixbuf from an existing one. The containing . X coord in src_pixbuf Y coord in src_pixbuf Width of region in src_pixbuf Height of region in src_pixbuf Creates a new pixbuf which represents a sub-region of . The new pixbuf shares its pixels with the original pixbuf, so writing to one affects both. The new pixbuf holds a reference to , so will not be finalized until the new pixbuf is finalized. Property System.Int32 Number of bits per color sample in a pixbuf. The number of bits per color sample in the pixbuf None. GLib.Property("bits-per-sample") Property System.Int32 Height of the image The height in pixels of the image See also the , and for more information about the layout of the image. GLib.Property("height") Property System.Boolean Returns whether the Pixbuf contains an alpha channel if the image contains an Alpha channel, otherwise. The Pixbuf object handles images in either the RGB format, or the RGBA format. The alpha channel value is a value between 0 and 255 and controls the opacity of a given pixel. GLib.Property("has-alpha") Property System.Int32 The width of the image The width in pixels of the image This is the width of the image in pixels. See the property as well. GLib.Property("width") Property System.Int32 The number of channels on a Pixbuf Returns the number of channels on a Pixbuf The possible values are 3 (for RGB encoding) and 4 (for RGB with an alpha transparency channel encoding). GLib.Property("n-channels") Property System.Int32 Rowstride of the Pixbuf The rowstride property for the Pixbuf Queries the rowstride of a pixbuf. The rowstring is the number of bytes occupied by a row of pixels. Sometimes for alignment purposes, the rowstride might be bigger than the actual width of the image. Applications that manually process data from the image would scan lines by adding the value of the Rowstride. GLib.Property("rowstride") Property Gdk.Colorspace The colorspace for this Pixbuf The colorspace used by this Pixbuf Currently Pixbuf only support the RGB colorspace. GLib.Property("colorspace") Method Gdk.Pixbuf Generates a new Pixbuf object from a . A A A A A A A A A Constructor Construct a pixbuf from a serialized structure. The length in bytes of the data to be read. The raw data representing the serialized structure. If true, the "data" parameter will be copied and the copy will be used for the Pixbuf. If false, the data will be used as is and the Pixbuf will be dependent on it. None Method System.Int32 To be added a Constructor Constructor for images embedded in an assembly The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly This method is used to construct a from an embedded resource in an assembly. Typically this is used when application developers want to distribute images in a single executable. If the assembly parameter is , the image will be looked up on the calling assembly. For example: Gdk.Pixbuf p = new Pixbuf (null, "image.jpg"); Compile with: mcs -resource:image.jpg sample.cs Constructor Constructor for images embedded in an assembly when a specific size is required. The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly The required width for the pixbuf The required height for the pixbuf This method is used to construct a from an embedded resource in an assembly with a specific size. Typically this is used when application developers want to distribute images in a single executable. If the assembly parameter is , the image will be looked up on the calling assembly. For example: Gdk.Pixbuf p = new Pixbuf (null, "image.jpg", 10, 10); Compile with: mcs -resource:image.jpg sample.cs Method Gdk.Pixbuf Loads a pixbuf from a resource file. the name of the resource a This loads a pixbuf from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Constructor Makes a new Pixbuf object from a . a containing the image Useful for creating a Pixbuf from an image file that resides in a stream. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a memory stream to the buffer */ System.IO.MemoryStream memorystream = new System.IO.MemoryStream(buffer); /* create a pixbuf from the stream as if it was a file */ Gdk.Pixbuf pb = new Gdk.Pixbuf(memorystream); Constructor Makes a new Pixbuf object from a with a given size. a containing the image a specifying the required width a specifying the required height Useful for creating a Pixbuf with a specific size from an image file that resides in a stream. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a memory stream to the buffer */ System.IO.MemoryStream memorystream = new System.IO.MemoryStream(buffer); /* create a pixbuf from the stream as if it was a file */ Gdk.Pixbuf pb = new Gdk.Pixbuf(memorystream, 10, 10); Constructor Makes a new Pixbuf object from a containing an encoded image. a containing the image in one of the formats recognized by Pixbuf (png, tiff, jpeg, etc). Useful for creating a Pixbuf from an image file in memory. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a pixbuf from the buffer as if it was a file */ Gdk.Pixbuf pb = new Gdk.Pixbuf(buffer); Constructor Makes a new Pixbuf object from a with a given size. a containing the image a specifying the required width a specifying the required height Useful for creating a Pixbuf with a specific size from an image file in memory. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a pixbuf from the buffer as if it was a file */ Gdk.Pixbuf pb = new Gdk.Pixbuf(buffer, 10, 10); Constructor Public constructor; creates a new from an in-memory RGB or RGBA buffer. The data that contains the image in RGB or RGBA format. The for the image data. Whether the data contains an alpha channel (RGBA format). Currently only 8 is supported (1 byte per channel). Width of the image in pixels. Height of the image in pixels. The rowstride is the number of bytes consumed by a single row in the image. A routine to invoke when the reference count to this image reaches zero. The image must be in RGB format or RGBA format, where each channel takes one byte. For performance reasons sometimes images have some padding at the end of each row, this is done to ensure that access to the data is aligned. The argument is the size in bytes of each row. If no padding is added the is just: * (3 + ). Constructor Construct a pixbuf from a serialized structure The length in bytes of the data to be read. A serialized structure, generated with . If true, the "data" parameter will be copied and the copy will be used for the Pixbuf. If false, the data will be used as is and the Pixbuf will be dependent on it. None Constructor Public constructor. a Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Property Gdk.PixbufFormat[] To be added a Property System.IntPtr The pixels contained by this Pixbuf object. a , pointer to the underlying C data Method System.Boolean Saves pixbuf to a file. Name of the file where the image will be saved The file type to save (one of "ani", "bmp", "gif", "ico", "jpeg", "pcx", "png", "pnm", "ras", "tga", "tiff" "wbmp", "xpm" or "xbm") Options that are passed to the save module. Values for each key A Method System.Boolean Saves pixbuf to a file. a , name of the file to save a , file format to save in ("jpeg" and "png" are supported). a The Gtk+ version of this call supports a text string of arguments, which Gtk# currently does not include. (TODO: explain the difference between Save and Savev, in light of this API difference.) Method Gdk.PixbufFormat To be added a a a a To be added Method System.Void To be added To be added Method Gdk.Pixbuf To be added a To be added Method System.Void Creates pixmap and mask bitmaps for a given alpha threshold. a a a , threshold value for opacity. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use or and . The pixmap that is created is created for the colormap returned by . You normally will want to instead use the actual colormap for a widget, and use , If the pixbuf does not have an alpha channel, then will be set to . Method System.Void Creates pixmap and mask bitmaps for a given alpha threshold using a specified colormap. a a a a , threshold value for opacity. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use or and . The pixmap that is created uses the specified by . This colormap must match the colormap of the window where the pixmap will eventually be used or an error will result. If the pixbuf does not have an alpha channel, then will be set to . Constructor To be added a a a To be added Method System.Byte[] Saves to a buffer. an image type, such as png, jpeg, or ico an array of option keys. an array of option values. a >The and should contain key/value pairs. See for more details. Throws a if the save is not successful. Method System.Byte[] Saves to a buffer. an image type, such as png, jpeg, or ico a Throws a if the save is not successful. Method System.Void Save using a callback delegate. a an image type, such as png, jpeg, or ico Throws a if the save is not successful. Method System.Void Save using a callback delegate. a an image type, such as png, jpeg, or ico an array of option keys an array of option values The and should contain key/value pairs. See for more details. Throws a if the save is not successful. Method Gdk.Pixbuf Creates a new Pixbuf object from a . a a a a a a a a a Method Gdk.Pixbuf Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf. The angle to rotate by. A . Method Gdk.Pixbuf Flips a pixbuf horizontally or vertically. to flip horizontally, to flip vertically. A . Constructor To be added a a a a To be added Constructor To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Constructor To be added. To be added. Constructor for pixbufs that that have embedded images created with the gdk-pixbuf-source program. This is used to create pixbufs from images that have been embedded using the gdk-pixbuf-csource command line tool. Method System.Object To be added. To be added. To be added. Method Gdk.Pixbuf Applies an embedded orientation transform. Returns a new pixbuf, or the existing one if no transform exists. Constructor The data that contains the image in RGB or RGBA format. The for the image data. Whether the data contains an alpha channel (RGBA format). Currently only 8 is supported (1 byte per channel). Width of the image in pixels. Height of the image in pixels. The rowstride is the number of bytes consumed by a single row in the image. Public constructor. The image must be in RGB format or RGBA format, where each channel takes one byte. Constructor The data that contains the image in RGB or RGBA format. Whether the data contains an alpha channel (RGBA format). Currently only 8 is supported (1 byte per channel). Width of the image in pixels. Height of the image in pixels. The rowstride is the number of bytes consumed by a single row in the image. Public constructor. The image must be in RGB format or RGBA format, where each channel takes one byte. gtk-sharp-2.12.10/doc/en/Gdk/PixdataType.xml0000644000175000001440000000722611345266756015352 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gdk.PixdataType To be added Field Gdk.PixdataType To be added Field Gdk.PixdataType To be added Field Gdk.PixdataType To be added Field Gdk.PixdataType To be added Field Gdk.PixdataType To be added Field Gdk.PixdataType To be added Field Gdk.PixdataType To be added System.Flags gtk-sharp-2.12.10/doc/en/Gdk/SpanFunc.xml0000644000175000001440000000151511345266756014626 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/ExtensionMode.xml0000644000175000001440000000355311345266756015676 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gdk.ExtensionModeGType)) Field Gdk.ExtensionMode To be added Field Gdk.ExtensionMode To be added Field Gdk.ExtensionMode To be added gtk-sharp-2.12.10/doc/en/Gdk/EventKey.xml0000644000175000001440000000775211345266756014654 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes a key press or key release event. Gdk.Event Property Gdk.Key The key that was pressed or released. The key that was pressed or released. None. Property System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property Gdk.ModifierType A enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. A enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. None. Property System.UInt32 The key that was pressed or released. The key that was pressed or released. None. Property System.UInt16 The raw code of the key that was pressed or released. The raw code of the key that was pressed or released. None. Property System.Byte The keyboard group. The keyboard group. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/SettingAction.xml0000644000175000001440000000374011345266756015666 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the kind of modification applied to a setting in a . None. System.Enum GLib.GType(typeof(Gdk.SettingActionGType)) Field Gdk.SettingAction A setting was added. Field Gdk.SettingAction A setting was changed. Field Gdk.SettingAction A setting was deleted. gtk-sharp-2.12.10/doc/en/Gdk/Font.xml0000644000175000001440000002366411345266756014030 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.Font To be added To be added Field Gdk.FontType To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Property GLib.GType To be added a To be added Property Gdk.Display To be added a To be added Method Gdk.Font To be added a a To be added Method Gdk.Font To be added a a To be added Method Gdk.Font To be added a a To be added Method Gdk.Font To be added a a a To be added Method Gdk.Font To be added a a a To be added Method Gdk.Font To be added a To be added Method System.Boolean To be added a a To be added Method System.Void To be added To be added Method System.Int32 To be added a To be added Method GLib.Value To be added. To be added. To be added. To be added. Method Gdk.Font To be added. To be added. To be added. To be added. System.Obsolete gtk-sharp-2.12.10/doc/en/Gdk/FontType.xml0000644000175000001440000000374611345266756014671 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gdk.FontTypeGType)) Field Gdk.FontType Font Field Gdk.FontType Fontset gtk-sharp-2.12.10/doc/en/Gdk/NotifyType.xml0000644000175000001440000000676311345266756015235 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the kind of crossing for See the X11 protocol specification of LeaveNotify for full details of crossing event generation. None. System.Enum GLib.GType(typeof(Gdk.NotifyTypeGType)) Field Gdk.NotifyType The window is entered from an ancestor or left towards an ancestor. Field Gdk.NotifyType The pointer moves between an ancestor and an inferior of the window. Field Gdk.NotifyType The window is entered from an inferior or left towards an inferior. Field Gdk.NotifyType The window is entered from or left towards a window which is neither an ancestor nor an inferior. Field Gdk.NotifyType The pointer moves between two windows which are not ancestors of each other and the window is part of the ancestor chain between one of these windows and their least common ancestor. Field Gdk.NotifyType An unknown type. gtk-sharp-2.12.10/doc/en/Gdk/EdgeTable.xml0000644000175000001440000000667011345266756014734 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.EdgeTable To be added To be added Method Gdk.EdgeTable To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.EdgeTable' To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Property Gdk.ScanLineList To be added a To be added System.Obsolete("Replaced by Scanlines property.") Property Gdk.ScanLineList To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/Point.xml0000644000175000001440000002012611345266756014201 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional, Cartesian plane. System.ValueType Field Gdk.Point The point (0, 0). Method Gdk.Point Internal constructor a , pointer to internal data This is an internal constructor, and should not be used by user code. Constructor Creates a Point object from integer x- and y-coordinates. The x-coordinate. The y-coordinate. Field System.Int32 The x-coordinate of the Point. Field System.Int32 The y-coordinate of the Point. Property System.Boolean Checks if the point is (0,0) true if this == (0,0 To be added. Method System.Void Moves this point by quanities dx and dy Quanity by which to change X Quanity by which to change Y To be added. Constructor Constructs a point from a a The point will have an X of .Width and a Y of .Height Method Gdk.Size To be added. To be added. To be added. To be added. Method Gdk.Point To be added. To be added. To be added. To be added. To be added. Method Gdk.Point To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/InputSource.xml0000644000175000001440000000457311345266756015400 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the type of input device None. System.Enum GLib.GType(typeof(Gdk.InputSourceGType)) Field Gdk.InputSource Device is a mouse. None Field Gdk.InputSource Device is a stylus for a graphics tablet or similar device. None Field Gdk.InputSource Device is an 'eraser', usually the opposite end of the stylus. None Field Gdk.InputSource Device is a graphics tablet 'puck' or something similar. None gtk-sharp-2.12.10/doc/en/Gdk/DragAction.xml0000644000175000001440000000661211345266756015127 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used in to indicate what the destination should do with the dropped data. None. System.Enum GLib.GType(typeof(Gdk.DragActionGType)) System.Flags Field Gdk.DragAction The default action. The same as the Copy action. Field Gdk.DragAction Copy the data. Field Gdk.DragAction Move the data, i.e. first copy it, then delete it from the source using the DELETE targetof the X selection protocol. Field Gdk.DragAction Add a link to the data. Note that this is only useful if source and destination agree on what it means. Field Gdk.DragAction Special action which tells the source that the destination will do something that the source doesn't understand. Field Gdk.DragAction Ask t user what to do with the data. gtk-sharp-2.12.10/doc/en/Gdk/Gravity.xml0000644000175000001440000001144611345266756014542 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Defines the reference point of a window and the meaning of coordinates passed to . See System.Enum GLib.GType(typeof(Gdk.GravityGType)) Field Gdk.Gravity The reference point is at the top left corner. Field Gdk.Gravity The reference point is in the middle of the top edge. Field Gdk.Gravity The reference point is at the top right corner. Field Gdk.Gravity The reference point is at the middle of the left edge. Field Gdk.Gravity The reference point is at the center of the window. Field Gdk.Gravity The reference point is at the middle of the right edge. Field Gdk.Gravity The reference point is at the lower left corner. Field Gdk.Gravity The reference point is at the middle of the lower edge. Field Gdk.Gravity The reference point is at the lower right corner. Field Gdk.Gravity The reference point is at the top left corner of the window itself, ignoring window manager decorations. gtk-sharp-2.12.10/doc/en/Gdk/EventProximity.xml0000644000175000001440000000510711345266756016120 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Proximity events are generated when using GDK's wrapper for the XInput extension. Proximity events are generated when using GDK's wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user's finger has moved in or out of contact with a touch screen. Gdk.Event Property Gdk.Device The device where the event originated. The device where the event originated. None. Property System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/Drag.xml0000644000175000001440000003017111345266756013766 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void Drops on the current destination. a the timestamp for this operation. To be added Method System.Boolean Updates the drag context when the pointer moves or the set of actions changes. a the new destination window, obtained by . the DND protocol in use, obtained by . the x position of the pointer in root coordinates. the y position of the pointer in root coordinates. the suggested action. the possible actions. the timestamp for this operation. a This function is called by the drag source. Method System.Void Aborts a drag without dropping. a the timestamp for this operation. To be added Method System.Void Selects one of the actions offered by the drag source. a the selected action which will be taken when a drop happens, or 0 to indicate that a drop will not be accepted. the timestamp for this operation. This function is called by the drag destination in response to called by the drag source. Method Gdk.Atom Returns the selection atom for the current source window. a the selection atom. To be added Constructor To be added To be added Method System.UInt32 Finds out the DND protocol supported by a window. the where the destination window resides. the X id of the destination window. location where the supported DND protocol is returned. the X id of the window where the drop should happen. This may be xid or the X id of a proxy window, or None if xid doesn't support Drag and Drop. To be added Method System.UInt32 Finds out the DND protocol supported by a window. the X id of the destination window. location where the supported DND protocol is returned. the X id of the window where the drop should happen. This may be xid or the X id of a proxy window, or None if xid doesn't support Drag and Drop. To be added Method System.Void Finds the destination window and DND protocol to use at the given pointer position. a a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon. the x position of the pointer in root coordinates. the y position of the pointer in root coordinates. location to store the destination window in. location to store the DND protocol in. This function is called by the drag source to obtain the dest_window and protocol parameters for . Method System.Void Finds the destination window and DND protocol to use at the given pointer position. a a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon. the screen where the destination window is sought. the x position of the pointer in root coordinates. the y position of the pointer in root coordinates. location to store the destination window in. location to store the DND protocol in. This function is called by the drag source to obtain the dest_window and protocol parameters for . Method System.Boolean To be added a a To be added gtk-sharp-2.12.10/doc/en/Gdk/PixbufAniAnim.xml0000644000175000001440000000544111345266756015605 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents an ANI format animation internally. Do not use. Gdk.PixbufAnimation Constructor Constructor for use by internal code. Do not use. a , pointer to underlying C data Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. gtk-sharp-2.12.10/doc/en/Gdk/DestroyNotify.xml0000644000175000001440000000147611345266756015741 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A callback function called when a piece of user data is no longer being stored by GDK. None. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/Rectangle.xml0000644000175000001440000006210711345266756015021 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a rectangle with x, y, width and height. System.ValueType Field Gdk.Rectangle A zero initialized rectangle. Method Gdk.Rectangle Makes a new rectangle. An , the underlying unmanaged C object. A Not for general developer use. Constructor Initializes a rectangle from the given values. X value. Y value Width of the rectangle. Height of the rectangle Property GLib.GType GType Property. a Returns the native value for . Field System.Int32 The X element of the rectangle. Field System.Int32 The Y element of the rectangle. Field System.Int32 The rectangle width Field System.Int32 The rectangle height. Method Gdk.Rectangle Obtains the union of a this and another. a a representing the union of the two objects. The result is the smallest that contains both objects within its boundaries. Method System.Boolean Obtains the intersection of a this and another. a a representing the intersection of this and the src2 Returns true if the two objects intersect. The result is the rectangular region occupied by both source rectanlges. Property System.Int32 The Y coordinate of the top of the rectangle. a To be added. Property System.Int32 The Y coordinate of the bottom of the rectangle. a To be added. Property System.Int32 The X coordinate of the right of the rectangle. a To be added. Property System.Int32 The X coordinate of the left of the rectangle. a To be added. Property System.Boolean Gets if the area of the rectangle is zero a This will return true if either the height or the width is zero. Property Gdk.Size Gets the size represented by (Width, Height) a To be added. Property Gdk.Point Gets the point represented by (X, Y) a To be added. Method Gdk.Rectangle Creates a rectangle given the left, right, top, and bottom. a a a a a To be added. Method Gdk.Rectangle Gets the smallest rectangle that contains both parameters a a a To be added. Method Gdk.Rectangle Gets the largest rectangle (if any) which is contained by both parameters. a a a To be added. Method Gdk.Rectangle Changes the size of each side of the rectangle by the specified amount. a Change in the X size Change in the Y size a The rectangle's center is the same as the center of . Method Gdk.Rectangle Changes the size of each side of the rectangle by the specified amount. a A change in size. a The rectangle's center is the same as the center of . Method Gdk.Rectangle Returns the rectangle shifted by (dx,dy) a a a a To be added. Method Gdk.Rectangle Returns a rectangle shifted by the vector dr a a a To be added. Method System.Boolean Tests if a rectangle is contained in this rectangle. a a The rectangle must be fully enclosed for this test to return true. That is, the intersection of this and must equal . Method System.Boolean Does hit testing for a point a a To be added. Method System.Boolean Does hit testing for a point a a a To be added. Method System.Boolean Tests if there is any overlap of this rectangle and another a a To be added. Method System.Void Modifies this rectangle to be the intersection with another rectangle a To be added. Method System.Void Inflates this rectangle by a given size. a To be added. Method System.Void Inflates this rectangle by a given size. a a To be added. Method System.Void Offsets this rectangle by (dx,dy) a a To be added. Method System.Void Offsets this rectangle by the vector dr a To be added Constructor Creates a rectangle from a point and a size. a a To be added. Method GLib.Value To be added. To be added. To be added. To be added. Method Gdk.Rectangle To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/Key.xml0000644000175000001440000174103111345266756013646 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gdk.Key VoidSymbol key value Field Gdk.Key BackSpace key value Field Gdk.Key Tab key value Field Gdk.Key Linefeed key value Field Gdk.Key Clear key value Field Gdk.Key Return key value Field Gdk.Key Pause key value Field Gdk.Key Scroll_Lock key value Field Gdk.Key Sys_Req key value Field Gdk.Key Escape key value Field Gdk.Key Delete key value Field Gdk.Key Multi_key key value Field Gdk.Key Codeinput key value Field Gdk.Key SingleCandidate key value Field Gdk.Key MultipleCandidate key value Field Gdk.Key PreviousCandidate key value Field Gdk.Key Kanji key value Field Gdk.Key Muhenkan key value Field Gdk.Key Henkan_Mode key value Field Gdk.Key Henkan key value Field Gdk.Key Romaji key value Field Gdk.Key Hiragana key value Field Gdk.Key Katakana key value Field Gdk.Key Hiragana_Katakana key value Field Gdk.Key Zenkaku key value Field Gdk.Key Hankaku key value Field Gdk.Key Zenkaku_Hankaku key value Field Gdk.Key Touroku key value Field Gdk.Key Massyo key value Field Gdk.Key Kana_Lock key value Field Gdk.Key Kana_Shift key value Field Gdk.Key Eisu_Shift key value Field Gdk.Key Eisu_toggle key value Field Gdk.Key Kanji_Bangou key value Field Gdk.Key Zen_Koho key value Field Gdk.Key Mae_Koho key value Field Gdk.Key Home key value Field Gdk.Key Left key value Field Gdk.Key Up key value Field Gdk.Key Right key value Field Gdk.Key Down key value Field Gdk.Key Prior key value Field Gdk.Key Page_Up key value Field Gdk.Key Next key value Field Gdk.Key Page_Down key value Field Gdk.Key End key value Field Gdk.Key Begin key value Field Gdk.Key Select key value Field Gdk.Key Print key value Field Gdk.Key Execute key value Field Gdk.Key Insert key value Field Gdk.Key Undo key value Field Gdk.Key Redo key value Field Gdk.Key Menu key value Field Gdk.Key Find key value Field Gdk.Key Cancel key value Field Gdk.Key Help key value Field Gdk.Key Break key value Field Gdk.Key Mode_switch key value Field Gdk.Key script_switch key value Field Gdk.Key Num_Lock key value Field Gdk.Key KP_Space key value Field Gdk.Key KP_Tab key value Field Gdk.Key KP_Enter key value Field Gdk.Key KP_F1 key value Field Gdk.Key KP_F2 key value Field Gdk.Key KP_F3 key value Field Gdk.Key KP_F4 key value Field Gdk.Key KP_Home key value Field Gdk.Key KP_Left key value Field Gdk.Key KP_Up key value Field Gdk.Key KP_Right key value Field Gdk.Key KP_Down key value Field Gdk.Key KP_Prior key value Field Gdk.Key KP_Page_Up key value Field Gdk.Key KP_Next key value Field Gdk.Key KP_Page_Down key value Field Gdk.Key KP_End key value Field Gdk.Key KP_Begin key value Field Gdk.Key KP_Insert key value Field Gdk.Key KP_Delete key value Field Gdk.Key KP_Equal key value Field Gdk.Key KP_Multiply key value Field Gdk.Key KP_Add key value Field Gdk.Key KP_Separator key value Field Gdk.Key KP_Subtract key value Field Gdk.Key KP_Decimal key value Field Gdk.Key KP_Divide key value Field Gdk.Key KP_0 key value Field Gdk.Key KP_1 key value Field Gdk.Key KP_2 key value Field Gdk.Key KP_3 key value Field Gdk.Key KP_4 key value Field Gdk.Key KP_5 key value Field Gdk.Key KP_6 key value Field Gdk.Key KP_7 key value Field Gdk.Key KP_8 key value Field Gdk.Key KP_9 key value Field Gdk.Key F1 key value Field Gdk.Key F2 key value Field Gdk.Key F3 key value Field Gdk.Key F4 key value Field Gdk.Key F5 key value Field Gdk.Key F6 key value Field Gdk.Key F7 key value Field Gdk.Key F8 key value Field Gdk.Key F9 key value Field Gdk.Key F10 key value Field Gdk.Key F11 key value Field Gdk.Key L1 key value Field Gdk.Key F12 key value Field Gdk.Key L2 key value Field Gdk.Key F13 key value Field Gdk.Key L3 key value Field Gdk.Key F14 key value Field Gdk.Key L4 key value Field Gdk.Key F15 key value Field Gdk.Key L5 key value Field Gdk.Key F16 key value Field Gdk.Key L6 key value Field Gdk.Key F17 key value Field Gdk.Key L7 key value Field Gdk.Key F18 key value Field Gdk.Key L8 key value Field Gdk.Key F19 key value Field Gdk.Key L9 key value Field Gdk.Key F20 key value Field Gdk.Key L10 key value Field Gdk.Key F21 key value Field Gdk.Key R1 key value Field Gdk.Key F22 key value Field Gdk.Key R2 key value Field Gdk.Key F23 key value Field Gdk.Key R3 key value Field Gdk.Key F24 key value Field Gdk.Key R4 key value Field Gdk.Key F25 key value Field Gdk.Key R5 key value Field Gdk.Key F26 key value Field Gdk.Key R6 key value Field Gdk.Key F27 key value Field Gdk.Key R7 key value Field Gdk.Key F28 key value Field Gdk.Key R8 key value Field Gdk.Key F29 key value Field Gdk.Key R9 key value Field Gdk.Key F30 key value Field Gdk.Key R10 key value Field Gdk.Key F31 key value Field Gdk.Key R11 key value Field Gdk.Key F32 key value Field Gdk.Key R12 key value Field Gdk.Key F33 key value Field Gdk.Key R13 key value Field Gdk.Key F34 key value Field Gdk.Key R14 key value Field Gdk.Key F35 key value Field Gdk.Key R15 key value Field Gdk.Key Shift_L key value Field Gdk.Key Shift_R key value Field Gdk.Key Control_L key value Field Gdk.Key Control_R key value Field Gdk.Key Caps_Lock key value Field Gdk.Key Shift_Lock key value Field Gdk.Key Meta_L key value Field Gdk.Key Meta_R key value Field Gdk.Key Alt_L key value Field Gdk.Key Alt_R key value Field Gdk.Key Super_L key value Field Gdk.Key Super_R key value Field Gdk.Key Hyper_L key value Field Gdk.Key Hyper_R key value Field Gdk.Key ISO_Lock key value Field Gdk.Key ISO_Level2_Latch key value Field Gdk.Key ISO_Level3_Shift key value Field Gdk.Key ISO_Level3_Latch key value Field Gdk.Key ISO_Level3_Lock key value Field Gdk.Key ISO_Group_Shift key value Field Gdk.Key ISO_Group_Latch key value Field Gdk.Key ISO_Group_Lock key value Field Gdk.Key ISO_Next_Group key value Field Gdk.Key ISO_Next_Group_Lock key value Field Gdk.Key ISO_Prev_Group key value Field Gdk.Key ISO_Prev_Group_Lock key value Field Gdk.Key ISO_First_Group key value Field Gdk.Key ISO_First_Group_Lock key value Field Gdk.Key ISO_Last_Group key value Field Gdk.Key ISO_Last_Group_Lock key value Field Gdk.Key ISO_Left_Tab key value Field Gdk.Key ISO_Move_Line_Up key value Field Gdk.Key ISO_Move_Line_Down key value Field Gdk.Key ISO_Partial_Line_Up key value Field Gdk.Key ISO_Partial_Line_Down key value Field Gdk.Key ISO_Partial_Space_Left key value Field Gdk.Key ISO_Partial_Space_Right key value Field Gdk.Key ISO_Set_Margin_Left key value Field Gdk.Key ISO_Set_Margin_Right key value Field Gdk.Key ISO_Release_Margin_Left key value Field Gdk.Key ISO_Release_Margin_Right key value Field Gdk.Key ISO_Release_Both_Margins key value Field Gdk.Key ISO_Fast_Cursor_Left key value Field Gdk.Key ISO_Fast_Cursor_Right key value Field Gdk.Key ISO_Fast_Cursor_Up key value Field Gdk.Key ISO_Fast_Cursor_Down key value Field Gdk.Key ISO_Continuous_Underline key value Field Gdk.Key ISO_Discontinuous_Underline key value Field Gdk.Key ISO_Emphasize key value Field Gdk.Key ISO_Center_Object key value Field Gdk.Key ISO_Enter key value Field Gdk.Key dead_grave key value Field Gdk.Key dead_acute key value Field Gdk.Key dead_circumflex key value Field Gdk.Key dead_tilde key value Field Gdk.Key dead_macron key value Field Gdk.Key dead_breve key value Field Gdk.Key dead_abovedot key value Field Gdk.Key dead_diaeresis key value Field Gdk.Key dead_abovering key value Field Gdk.Key dead_doubleacute key value Field Gdk.Key dead_caron key value Field Gdk.Key dead_cedilla key value Field Gdk.Key dead_ogonek key value Field Gdk.Key dead_iota key value Field Gdk.Key dead_voiced_sound key value Field Gdk.Key dead_semivoiced_sound key value Field Gdk.Key dead_belowdot key value Field Gdk.Key First_Virtual_Screen key value Field Gdk.Key Prev_Virtual_Screen key value Field Gdk.Key Next_Virtual_Screen key value Field Gdk.Key Last_Virtual_Screen key value Field Gdk.Key Terminate_Server key value Field Gdk.Key AccessX_Enable key value Field Gdk.Key AccessX_Feedback_Enable key value Field Gdk.Key RepeatKeys_Enable key value Field Gdk.Key SlowKeys_Enable key value Field Gdk.Key BounceKeys_Enable key value Field Gdk.Key StickyKeys_Enable key value Field Gdk.Key MouseKeys_Enable key value Field Gdk.Key MouseKeys_Accel_Enable key value Field Gdk.Key Overlay1_Enable key value Field Gdk.Key Overlay2_Enable key value Field Gdk.Key AudibleBell_Enable key value Field Gdk.Key Pointer_Left key value Field Gdk.Key Pointer_Right key value Field Gdk.Key Pointer_Up key value Field Gdk.Key Pointer_Down key value Field Gdk.Key Pointer_UpLeft key value Field Gdk.Key Pointer_UpRight key value Field Gdk.Key Pointer_DownLeft key value Field Gdk.Key Pointer_DownRight key value Field Gdk.Key Pointer_Button_Dflt key value Field Gdk.Key Pointer_Button1 key value Field Gdk.Key Pointer_Button2 key value Field Gdk.Key Pointer_Button3 key value Field Gdk.Key Pointer_Button4 key value Field Gdk.Key Pointer_Button5 key value Field Gdk.Key Pointer_DblClick_Dflt key value Field Gdk.Key Pointer_DblClick1 key value Field Gdk.Key Pointer_DblClick2 key value Field Gdk.Key Pointer_DblClick3 key value Field Gdk.Key Pointer_DblClick4 key value Field Gdk.Key Pointer_DblClick5 key value Field Gdk.Key Pointer_Drag_Dflt key value Field Gdk.Key Pointer_Drag1 key value Field Gdk.Key Pointer_Drag2 key value Field Gdk.Key Pointer_Drag3 key value Field Gdk.Key Pointer_Drag4 key value Field Gdk.Key Pointer_Drag5 key value Field Gdk.Key Pointer_EnableKeys key value Field Gdk.Key Pointer_Accelerate key value Field Gdk.Key Pointer_DfltBtnNext key value Field Gdk.Key Pointer_DfltBtnPrev key value Field Gdk.Key Key_3270_Duplicate key value Field Gdk.Key Key_3270_FieldMark key value Field Gdk.Key Key_3270_Right2 key value Field Gdk.Key Key_3270_Left2 key value Field Gdk.Key Key_3270_BackTab key value Field Gdk.Key Key_3270_EraseEOF key value Field Gdk.Key Key_3270_EraseInput key value Field Gdk.Key Key_3270_Reset key value Field Gdk.Key Key_3270_Quit key value Field Gdk.Key Key_3270_PA1 key value Field Gdk.Key Key_3270_PA2 key value Field Gdk.Key Key_3270_PA3 key value Field Gdk.Key Key_3270_Test key value Field Gdk.Key Key_3270_Attn key value Field Gdk.Key Key_3270_CursorBlink key value Field Gdk.Key Key_3270_AltCursor key value Field Gdk.Key Key_3270_KeyClick key value Field Gdk.Key Key_3270_Jump key value Field Gdk.Key Key_3270_Ident key value Field Gdk.Key Key_3270_Rule key value Field Gdk.Key Key_3270_Copy key value Field Gdk.Key Key_3270_Play key value Field Gdk.Key Key_3270_Setup key value Field Gdk.Key Key_3270_Record key value Field Gdk.Key Key_3270_ChangeScreen key value Field Gdk.Key Key_3270_DeleteWord key value Field Gdk.Key Key_3270_ExSelect key value Field Gdk.Key Key_3270_CursorSelect key value Field Gdk.Key Key_3270_PrintScreen key value Field Gdk.Key Key_3270_Enter key value Field Gdk.Key space key value Field Gdk.Key exclam key value Field Gdk.Key quotedbl key value Field Gdk.Key numbersign key value Field Gdk.Key dollar key value Field Gdk.Key percent key value Field Gdk.Key ampersand key value Field Gdk.Key apostrophe key value Field Gdk.Key quoteright key value Field Gdk.Key parenleft key value Field Gdk.Key parenright key value Field Gdk.Key asterisk key value Field Gdk.Key plus key value Field Gdk.Key comma key value Field Gdk.Key minus key value Field Gdk.Key period key value Field Gdk.Key slash key value Field Gdk.Key Key_0 key value Field Gdk.Key Key_1 key value Field Gdk.Key Key_2 key value Field Gdk.Key Key_3 key value Field Gdk.Key Key_4 key value Field Gdk.Key Key_5 key value Field Gdk.Key Key_6 key value Field Gdk.Key Key_7 key value Field Gdk.Key Key_8 key value Field Gdk.Key Key_9 key value Field Gdk.Key colon key value Field Gdk.Key semicolon key value Field Gdk.Key less key value Field Gdk.Key equal key value Field Gdk.Key greater key value Field Gdk.Key question key value Field Gdk.Key at key value Field Gdk.Key A key value Field Gdk.Key B key value Field Gdk.Key C key value Field Gdk.Key D key value Field Gdk.Key E key value Field Gdk.Key F key value Field Gdk.Key G key value Field Gdk.Key H key value Field Gdk.Key I key value Field Gdk.Key J key value Field Gdk.Key K key value Field Gdk.Key L key value Field Gdk.Key M key value Field Gdk.Key N key value Field Gdk.Key O key value Field Gdk.Key P key value Field Gdk.Key Q key value Field Gdk.Key R key value Field Gdk.Key S key value Field Gdk.Key T key value Field Gdk.Key U key value Field Gdk.Key V key value Field Gdk.Key W key value Field Gdk.Key X key value Field Gdk.Key Y key value Field Gdk.Key Z key value Field Gdk.Key bracketleft key value Field Gdk.Key backslash key value Field Gdk.Key bracketright key value Field Gdk.Key asciicircum key value Field Gdk.Key underscore key value Field Gdk.Key grave key value Field Gdk.Key quoteleft key value Field Gdk.Key a key value Field Gdk.Key b key value Field Gdk.Key c key value Field Gdk.Key d key value Field Gdk.Key e key value Field Gdk.Key f key value Field Gdk.Key g key value Field Gdk.Key h key value Field Gdk.Key i key value Field Gdk.Key j key value Field Gdk.Key k key value Field Gdk.Key l key value Field Gdk.Key m key value Field Gdk.Key n key value Field Gdk.Key o key value Field Gdk.Key p key value Field Gdk.Key q key value Field Gdk.Key r key value Field Gdk.Key s key value Field Gdk.Key t key value Field Gdk.Key u key value Field Gdk.Key v key value Field Gdk.Key w key value Field Gdk.Key x key value Field Gdk.Key y key value Field Gdk.Key z key value Field Gdk.Key braceleft key value Field Gdk.Key bar key value Field Gdk.Key braceright key value Field Gdk.Key asciitilde key value Field Gdk.Key nobreakspace key value Field Gdk.Key exclamdown key value Field Gdk.Key cent key value Field Gdk.Key sterling key value Field Gdk.Key currency key value Field Gdk.Key yen key value Field Gdk.Key brokenbar key value Field Gdk.Key section key value Field Gdk.Key diaeresis key value Field Gdk.Key copyright key value Field Gdk.Key ordfeminine key value Field Gdk.Key guillemotleft key value Field Gdk.Key notsign key value Field Gdk.Key hyphen key value Field Gdk.Key registered key value Field Gdk.Key macron key value Field Gdk.Key degree key value Field Gdk.Key plusminus key value Field Gdk.Key twosuperior key value Field Gdk.Key threesuperior key value Field Gdk.Key acute key value Field Gdk.Key mu key value Field Gdk.Key paragraph key value Field Gdk.Key periodcentered key value Field Gdk.Key cedilla key value Field Gdk.Key onesuperior key value Field Gdk.Key masculine key value Field Gdk.Key guillemotright key value Field Gdk.Key onequarter key value Field Gdk.Key onehalf key value Field Gdk.Key threequarters key value Field Gdk.Key questiondown key value Field Gdk.Key Agrave key value Field Gdk.Key Aacute key value Field Gdk.Key Acircumflex key value Field Gdk.Key Atilde key value Field Gdk.Key Adiaeresis key value Field Gdk.Key Aring key value Field Gdk.Key AE key value Field Gdk.Key Ccedilla key value Field Gdk.Key Egrave key value Field Gdk.Key Eacute key value Field Gdk.Key Ecircumflex key value Field Gdk.Key Ediaeresis key value Field Gdk.Key Igrave key value Field Gdk.Key Iacute key value Field Gdk.Key Icircumflex key value Field Gdk.Key Idiaeresis key value Field Gdk.Key ETH key value Field Gdk.Key Eth key value Field Gdk.Key Ntilde key value Field Gdk.Key Ograve key value Field Gdk.Key Oacute key value Field Gdk.Key Ocircumflex key value Field Gdk.Key Otilde key value Field Gdk.Key Odiaeresis key value Field Gdk.Key multiply key value Field Gdk.Key Ooblique key value Field Gdk.Key Ugrave key value Field Gdk.Key Uacute key value Field Gdk.Key Ucircumflex key value Field Gdk.Key Udiaeresis key value Field Gdk.Key Yacute key value Field Gdk.Key THORN key value Field Gdk.Key Thorn key value Field Gdk.Key ssharp key value Field Gdk.Key agrave key value Field Gdk.Key aacute key value Field Gdk.Key acircumflex key value Field Gdk.Key atilde key value Field Gdk.Key adiaeresis key value Field Gdk.Key aring key value Field Gdk.Key ae key value Field Gdk.Key ccedilla key value Field Gdk.Key egrave key value Field Gdk.Key eacute key value Field Gdk.Key ecircumflex key value Field Gdk.Key ediaeresis key value Field Gdk.Key igrave key value Field Gdk.Key iacute key value Field Gdk.Key icircumflex key value Field Gdk.Key idiaeresis key value Field Gdk.Key eth key value Field Gdk.Key ntilde key value Field Gdk.Key ograve key value Field Gdk.Key oacute key value Field Gdk.Key ocircumflex key value Field Gdk.Key otilde key value Field Gdk.Key odiaeresis key value Field Gdk.Key division key value Field Gdk.Key oslash key value Field Gdk.Key ugrave key value Field Gdk.Key uacute key value Field Gdk.Key ucircumflex key value Field Gdk.Key udiaeresis key value Field Gdk.Key yacute key value Field Gdk.Key thorn key value Field Gdk.Key ydiaeresis key value Field Gdk.Key Aogonek key value Field Gdk.Key breve key value Field Gdk.Key Lstroke key value Field Gdk.Key Lcaron key value Field Gdk.Key Sacute key value Field Gdk.Key Scaron key value Field Gdk.Key Scedilla key value Field Gdk.Key Tcaron key value Field Gdk.Key Zacute key value Field Gdk.Key Zcaron key value Field Gdk.Key Zabovedot key value Field Gdk.Key aogonek key value Field Gdk.Key ogonek key value Field Gdk.Key lstroke key value Field Gdk.Key lcaron key value Field Gdk.Key sacute key value Field Gdk.Key caron key value Field Gdk.Key scaron key value Field Gdk.Key scedilla key value Field Gdk.Key tcaron key value Field Gdk.Key zacute key value Field Gdk.Key doubleacute key value Field Gdk.Key zcaron key value Field Gdk.Key zabovedot key value Field Gdk.Key Racute key value Field Gdk.Key Abreve key value Field Gdk.Key Lacute key value Field Gdk.Key Cacute key value Field Gdk.Key Ccaron key value Field Gdk.Key Eogonek key value Field Gdk.Key Ecaron key value Field Gdk.Key Dcaron key value Field Gdk.Key Dstroke key value Field Gdk.Key Nacute key value Field Gdk.Key Ncaron key value Field Gdk.Key Odoubleacute key value Field Gdk.Key Rcaron key value Field Gdk.Key Uring key value Field Gdk.Key Udoubleacute key value Field Gdk.Key Tcedilla key value Field Gdk.Key racute key value Field Gdk.Key abreve key value Field Gdk.Key lacute key value Field Gdk.Key cacute key value Field Gdk.Key ccaron key value Field Gdk.Key eogonek key value Field Gdk.Key ecaron key value Field Gdk.Key dcaron key value Field Gdk.Key dstroke key value Field Gdk.Key nacute key value Field Gdk.Key ncaron key value Field Gdk.Key odoubleacute key value Field Gdk.Key udoubleacute key value Field Gdk.Key rcaron key value Field Gdk.Key uring key value Field Gdk.Key tcedilla key value Field Gdk.Key abovedot key value Field Gdk.Key Hstroke key value Field Gdk.Key Hcircumflex key value Field Gdk.Key Iabovedot key value Field Gdk.Key Gbreve key value Field Gdk.Key Jcircumflex key value Field Gdk.Key hstroke key value Field Gdk.Key hcircumflex key value Field Gdk.Key idotless key value Field Gdk.Key gbreve key value Field Gdk.Key jcircumflex key value Field Gdk.Key Cabovedot key value Field Gdk.Key Ccircumflex key value Field Gdk.Key Gabovedot key value Field Gdk.Key Gcircumflex key value Field Gdk.Key Ubreve key value Field Gdk.Key Scircumflex key value Field Gdk.Key cabovedot key value Field Gdk.Key ccircumflex key value Field Gdk.Key gabovedot key value Field Gdk.Key gcircumflex key value Field Gdk.Key ubreve key value Field Gdk.Key scircumflex key value Field Gdk.Key kra key value Field Gdk.Key kappa key value Field Gdk.Key Rcedilla key value Field Gdk.Key Itilde key value Field Gdk.Key Lcedilla key value Field Gdk.Key Emacron key value Field Gdk.Key Gcedilla key value Field Gdk.Key Tslash key value Field Gdk.Key rcedilla key value Field Gdk.Key itilde key value Field Gdk.Key lcedilla key value Field Gdk.Key emacron key value Field Gdk.Key gcedilla key value Field Gdk.Key tslash key value Field Gdk.Key ENG key value Field Gdk.Key eng key value Field Gdk.Key Amacron key value Field Gdk.Key Iogonek key value Field Gdk.Key Eabovedot key value Field Gdk.Key Imacron key value Field Gdk.Key Ncedilla key value Field Gdk.Key Omacron key value Field Gdk.Key Kcedilla key value Field Gdk.Key Uogonek key value Field Gdk.Key Utilde key value Field Gdk.Key Umacron key value Field Gdk.Key amacron key value Field Gdk.Key iogonek key value Field Gdk.Key eabovedot key value Field Gdk.Key imacron key value Field Gdk.Key ncedilla key value Field Gdk.Key omacron key value Field Gdk.Key kcedilla key value Field Gdk.Key uogonek key value Field Gdk.Key utilde key value Field Gdk.Key umacron key value Field Gdk.Key OE key value Field Gdk.Key oe key value Field Gdk.Key Ydiaeresis key value Field Gdk.Key overline key value Field Gdk.Key kana_fullstop key value Field Gdk.Key kana_openingbracket key value Field Gdk.Key kana_closingbracket key value Field Gdk.Key kana_comma key value Field Gdk.Key kana_conjunctive key value Field Gdk.Key kana_middledot key value Field Gdk.Key kana_WO key value Field Gdk.Key kana_a key value Field Gdk.Key kana_i key value Field Gdk.Key kana_u key value Field Gdk.Key kana_e key value Field Gdk.Key kana_o key value Field Gdk.Key kana_ya key value Field Gdk.Key kana_yu key value Field Gdk.Key kana_yo key value Field Gdk.Key kana_tsu key value Field Gdk.Key kana_tu key value Field Gdk.Key prolongedsound key value Field Gdk.Key kana_A key value Field Gdk.Key kana_I key value Field Gdk.Key kana_U key value Field Gdk.Key kana_E key value Field Gdk.Key kana_O key value Field Gdk.Key kana_KA key value Field Gdk.Key kana_KI key value Field Gdk.Key kana_KU key value Field Gdk.Key kana_KE key value Field Gdk.Key kana_KO key value Field Gdk.Key kana_SA key value Field Gdk.Key kana_SHI key value Field Gdk.Key kana_SU key value Field Gdk.Key kana_SE key value Field Gdk.Key kana_SO key value Field Gdk.Key kana_TA key value Field Gdk.Key kana_CHI key value Field Gdk.Key kana_TI key value Field Gdk.Key kana_TSU key value Field Gdk.Key kana_TU key value Field Gdk.Key kana_TE key value Field Gdk.Key kana_TO key value Field Gdk.Key kana_NA key value Field Gdk.Key kana_NI key value Field Gdk.Key kana_NU key value Field Gdk.Key kana_NE key value Field Gdk.Key kana_NO key value Field Gdk.Key kana_HA key value Field Gdk.Key kana_HI key value Field Gdk.Key kana_FU key value Field Gdk.Key kana_HU key value Field Gdk.Key kana_HE key value Field Gdk.Key kana_HO key value Field Gdk.Key kana_MA key value Field Gdk.Key kana_MI key value Field Gdk.Key kana_MU key value Field Gdk.Key kana_ME key value Field Gdk.Key kana_MO key value Field Gdk.Key kana_YA key value Field Gdk.Key kana_YU key value Field Gdk.Key kana_YO key value Field Gdk.Key kana_RA key value Field Gdk.Key kana_RI key value Field Gdk.Key kana_RU key value Field Gdk.Key kana_RE key value Field Gdk.Key kana_RO key value Field Gdk.Key kana_WA key value Field Gdk.Key kana_N key value Field Gdk.Key voicedsound key value Field Gdk.Key semivoicedsound key value Field Gdk.Key kana_switch key value Field Gdk.Key Arabic_comma key value Field Gdk.Key Arabic_semicolon key value Field Gdk.Key Arabic_question_mark key value Field Gdk.Key Arabic_hamza key value Field Gdk.Key Arabic_maddaonalef key value Field Gdk.Key Arabic_hamzaonalef key value Field Gdk.Key Arabic_hamzaonwaw key value Field Gdk.Key Arabic_hamzaunderalef key value Field Gdk.Key Arabic_hamzaonyeh key value Field Gdk.Key Arabic_alef key value Field Gdk.Key Arabic_beh key value Field Gdk.Key Arabic_tehmarbuta key value Field Gdk.Key Arabic_teh key value Field Gdk.Key Arabic_theh key value Field Gdk.Key Arabic_jeem key value Field Gdk.Key Arabic_hah key value Field Gdk.Key Arabic_khah key value Field Gdk.Key Arabic_dal key value Field Gdk.Key Arabic_thal key value Field Gdk.Key Arabic_ra key value Field Gdk.Key Arabic_zain key value Field Gdk.Key Arabic_seen key value Field Gdk.Key Arabic_sheen key value Field Gdk.Key Arabic_sad key value Field Gdk.Key Arabic_dad key value Field Gdk.Key Arabic_tah key value Field Gdk.Key Arabic_zah key value Field Gdk.Key Arabic_ain key value Field Gdk.Key Arabic_ghain key value Field Gdk.Key Arabic_tatweel key value Field Gdk.Key Arabic_feh key value Field Gdk.Key Arabic_qaf key value Field Gdk.Key Arabic_kaf key value Field Gdk.Key Arabic_lam key value Field Gdk.Key Arabic_meem key value Field Gdk.Key Arabic_noon key value Field Gdk.Key Arabic_ha key value Field Gdk.Key Arabic_heh key value Field Gdk.Key Arabic_waw key value Field Gdk.Key Arabic_alefmaksura key value Field Gdk.Key Arabic_yeh key value Field Gdk.Key Arabic_fathatan key value Field Gdk.Key Arabic_dammatan key value Field Gdk.Key Arabic_kasratan key value Field Gdk.Key Arabic_fatha key value Field Gdk.Key Arabic_damma key value Field Gdk.Key Arabic_kasra key value Field Gdk.Key Arabic_shadda key value Field Gdk.Key Arabic_sukun key value Field Gdk.Key Arabic_switch key value Field Gdk.Key Serbian_dje key value Field Gdk.Key Macedonia_gje key value Field Gdk.Key Cyrillic_io key value Field Gdk.Key Ukrainian_ie key value Field Gdk.Key Ukranian_je key value Field Gdk.Key Macedonia_dse key value Field Gdk.Key Ukrainian_i key value Field Gdk.Key Ukranian_i key value Field Gdk.Key Ukrainian_yi key value Field Gdk.Key Ukranian_yi key value Field Gdk.Key Cyrillic_je key value Field Gdk.Key Serbian_je key value Field Gdk.Key Cyrillic_lje key value Field Gdk.Key Serbian_lje key value Field Gdk.Key Cyrillic_nje key value Field Gdk.Key Serbian_nje key value Field Gdk.Key Serbian_tshe key value Field Gdk.Key Macedonia_kje key value Field Gdk.Key Byelorussian_shortu key value Field Gdk.Key Cyrillic_dzhe key value Field Gdk.Key Serbian_dze key value Field Gdk.Key numerosign key value Field Gdk.Key Serbian_DJE key value Field Gdk.Key Macedonia_GJE key value Field Gdk.Key Cyrillic_IO key value Field Gdk.Key Ukrainian_IE key value Field Gdk.Key Ukranian_JE key value Field Gdk.Key Macedonia_DSE key value Field Gdk.Key Ukrainian_I key value Field Gdk.Key Ukranian_I key value Field Gdk.Key Ukrainian_YI key value Field Gdk.Key Ukranian_YI key value Field Gdk.Key Cyrillic_JE key value Field Gdk.Key Serbian_JE key value Field Gdk.Key Cyrillic_LJE key value Field Gdk.Key Serbian_LJE key value Field Gdk.Key Cyrillic_NJE key value Field Gdk.Key Serbian_NJE key value Field Gdk.Key Serbian_TSHE key value Field Gdk.Key Macedonia_KJE key value Field Gdk.Key Byelorussian_SHORTU key value Field Gdk.Key Cyrillic_DZHE key value Field Gdk.Key Serbian_DZE key value Field Gdk.Key Cyrillic_yu key value Field Gdk.Key Cyrillic_a key value Field Gdk.Key Cyrillic_be key value Field Gdk.Key Cyrillic_tse key value Field Gdk.Key Cyrillic_de key value Field Gdk.Key Cyrillic_ie key value Field Gdk.Key Cyrillic_ef key value Field Gdk.Key Cyrillic_ghe key value Field Gdk.Key Cyrillic_ha key value Field Gdk.Key Cyrillic_i key value Field Gdk.Key Cyrillic_shorti key value Field Gdk.Key Cyrillic_ka key value Field Gdk.Key Cyrillic_el key value Field Gdk.Key Cyrillic_em key value Field Gdk.Key Cyrillic_en key value Field Gdk.Key Cyrillic_o key value Field Gdk.Key Cyrillic_pe key value Field Gdk.Key Cyrillic_ya key value Field Gdk.Key Cyrillic_er key value Field Gdk.Key Cyrillic_es key value Field Gdk.Key Cyrillic_te key value Field Gdk.Key Cyrillic_u key value Field Gdk.Key Cyrillic_zhe key value Field Gdk.Key Cyrillic_ve key value Field Gdk.Key Cyrillic_softsign key value Field Gdk.Key Cyrillic_yeru key value Field Gdk.Key Cyrillic_ze key value Field Gdk.Key Cyrillic_sha key value Field Gdk.Key Cyrillic_e key value Field Gdk.Key Cyrillic_shcha key value Field Gdk.Key Cyrillic_che key value Field Gdk.Key Cyrillic_hardsign key value Field Gdk.Key Cyrillic_YU key value Field Gdk.Key Cyrillic_A key value Field Gdk.Key Cyrillic_BE key value Field Gdk.Key Cyrillic_TSE key value Field Gdk.Key Cyrillic_DE key value Field Gdk.Key Cyrillic_IE key value Field Gdk.Key Cyrillic_EF key value Field Gdk.Key Cyrillic_GHE key value Field Gdk.Key Cyrillic_HA key value Field Gdk.Key Cyrillic_I key value Field Gdk.Key Cyrillic_SHORTI key value Field Gdk.Key Cyrillic_KA key value Field Gdk.Key Cyrillic_EL key value Field Gdk.Key Cyrillic_EM key value Field Gdk.Key Cyrillic_EN key value Field Gdk.Key Cyrillic_O key value Field Gdk.Key Cyrillic_PE key value Field Gdk.Key Cyrillic_YA key value Field Gdk.Key Cyrillic_ER key value Field Gdk.Key Cyrillic_ES key value Field Gdk.Key Cyrillic_TE key value Field Gdk.Key Cyrillic_U key value Field Gdk.Key Cyrillic_ZHE key value Field Gdk.Key Cyrillic_VE key value Field Gdk.Key Cyrillic_SOFTSIGN key value Field Gdk.Key Cyrillic_YERU key value Field Gdk.Key Cyrillic_ZE key value Field Gdk.Key Cyrillic_SHA key value Field Gdk.Key Cyrillic_E key value Field Gdk.Key Cyrillic_SHCHA key value Field Gdk.Key Cyrillic_CHE key value Field Gdk.Key Cyrillic_HARDSIGN key value Field Gdk.Key Greek_ALPHAaccent key value Field Gdk.Key Greek_EPSILONaccent key value Field Gdk.Key Greek_ETAaccent key value Field Gdk.Key Greek_IOTAaccent key value Field Gdk.Key Greek_IOTAdiaeresis key value Field Gdk.Key Greek_OMICRONaccent key value Field Gdk.Key Greek_UPSILONaccent key value Field Gdk.Key Greek_UPSILONdieresis key value Field Gdk.Key Greek_OMEGAaccent key value Field Gdk.Key Greek_accentdieresis key value Field Gdk.Key Greek_horizbar key value Field Gdk.Key Greek_alphaaccent key value Field Gdk.Key Greek_epsilonaccent key value Field Gdk.Key Greek_etaaccent key value Field Gdk.Key Greek_iotaaccent key value Field Gdk.Key Greek_iotadieresis key value Field Gdk.Key Greek_iotaaccentdieresis key value Field Gdk.Key Greek_omicronaccent key value Field Gdk.Key Greek_upsilonaccent key value Field Gdk.Key Greek_upsilondieresis key value Field Gdk.Key Greek_upsilonaccentdieresis key value Field Gdk.Key Greek_omegaaccent key value Field Gdk.Key Greek_ALPHA key value Field Gdk.Key Greek_BETA key value Field Gdk.Key Greek_GAMMA key value Field Gdk.Key Greek_DELTA key value Field Gdk.Key Greek_EPSILON key value Field Gdk.Key Greek_ZETA key value Field Gdk.Key Greek_ETA key value Field Gdk.Key Greek_THETA key value Field Gdk.Key Greek_IOTA key value Field Gdk.Key Greek_KAPPA key value Field Gdk.Key Greek_LAMDA key value Field Gdk.Key Greek_LAMBDA key value Field Gdk.Key Greek_MU key value Field Gdk.Key Greek_NU key value Field Gdk.Key Greek_XI key value Field Gdk.Key Greek_OMICRON key value Field Gdk.Key Greek_PI key value Field Gdk.Key Greek_RHO key value Field Gdk.Key Greek_SIGMA key value Field Gdk.Key Greek_TAU key value Field Gdk.Key Greek_UPSILON key value Field Gdk.Key Greek_PHI key value Field Gdk.Key Greek_CHI key value Field Gdk.Key Greek_PSI key value Field Gdk.Key Greek_OMEGA key value Field Gdk.Key Greek_alpha key value Field Gdk.Key Greek_beta key value Field Gdk.Key Greek_gamma key value Field Gdk.Key Greek_delta key value Field Gdk.Key Greek_epsilon key value Field Gdk.Key Greek_zeta key value Field Gdk.Key Greek_eta key value Field Gdk.Key Greek_theta key value Field Gdk.Key Greek_iota key value Field Gdk.Key Greek_kappa key value Field Gdk.Key Greek_lamda key value Field Gdk.Key Greek_lambda key value Field Gdk.Key Greek_mu key value Field Gdk.Key Greek_nu key value Field Gdk.Key Greek_xi key value Field Gdk.Key Greek_omicron key value Field Gdk.Key Greek_pi key value Field Gdk.Key Greek_rho key value Field Gdk.Key Greek_sigma key value Field Gdk.Key Greek_finalsmallsigma key value Field Gdk.Key Greek_tau key value Field Gdk.Key Greek_upsilon key value Field Gdk.Key Greek_phi key value Field Gdk.Key Greek_chi key value Field Gdk.Key Greek_psi key value Field Gdk.Key Greek_omega key value Field Gdk.Key Greek_switch key value Field Gdk.Key leftradical key value Field Gdk.Key topleftradical key value Field Gdk.Key horizconnector key value Field Gdk.Key topintegral key value Field Gdk.Key botintegral key value Field Gdk.Key vertconnector key value Field Gdk.Key topleftsqbracket key value Field Gdk.Key botleftsqbracket key value Field Gdk.Key toprightsqbracket key value Field Gdk.Key botrightsqbracket key value Field Gdk.Key topleftparens key value Field Gdk.Key botleftparens key value Field Gdk.Key toprightparens key value Field Gdk.Key botrightparens key value Field Gdk.Key leftmiddlecurlybrace key value Field Gdk.Key rightmiddlecurlybrace key value Field Gdk.Key topleftsummation key value Field Gdk.Key botleftsummation key value Field Gdk.Key topvertsummationconnector key value Field Gdk.Key botvertsummationconnector key value Field Gdk.Key toprightsummation key value Field Gdk.Key botrightsummation key value Field Gdk.Key rightmiddlesummation key value Field Gdk.Key lessthanequal key value Field Gdk.Key notequal key value Field Gdk.Key greaterthanequal key value Field Gdk.Key integral key value Field Gdk.Key therefore key value Field Gdk.Key variation key value Field Gdk.Key infinity key value Field Gdk.Key nabla key value Field Gdk.Key approximate key value Field Gdk.Key similarequal key value Field Gdk.Key ifonlyif key value Field Gdk.Key implies key value Field Gdk.Key identical key value Field Gdk.Key radical key value Field Gdk.Key includedin key value Field Gdk.Key includes key value Field Gdk.Key intersection key value Field Gdk.Key union key value Field Gdk.Key logicaland key value Field Gdk.Key logicalor key value Field Gdk.Key partialderivative key value Field Gdk.Key function key value Field Gdk.Key leftarrow key value Field Gdk.Key uparrow key value Field Gdk.Key rightarrow key value Field Gdk.Key downarrow key value Field Gdk.Key blank key value Field Gdk.Key soliddiamond key value Field Gdk.Key checkerboard key value Field Gdk.Key ht key value Field Gdk.Key ff key value Field Gdk.Key cr key value Field Gdk.Key lf key value Field Gdk.Key nl key value Field Gdk.Key vt key value Field Gdk.Key lowrightcorner key value Field Gdk.Key uprightcorner key value Field Gdk.Key upleftcorner key value Field Gdk.Key lowleftcorner key value Field Gdk.Key crossinglines key value Field Gdk.Key horizlinescan1 key value Field Gdk.Key horizlinescan3 key value Field Gdk.Key horizlinescan5 key value Field Gdk.Key horizlinescan7 key value Field Gdk.Key horizlinescan9 key value Field Gdk.Key leftt key value Field Gdk.Key rightt key value Field Gdk.Key bott key value Field Gdk.Key topt key value Field Gdk.Key vertbar key value Field Gdk.Key emspace key value Field Gdk.Key enspace key value Field Gdk.Key em3space key value Field Gdk.Key em4space key value Field Gdk.Key digitspace key value Field Gdk.Key punctspace key value Field Gdk.Key thinspace key value Field Gdk.Key hairspace key value Field Gdk.Key emdash key value Field Gdk.Key endash key value Field Gdk.Key signifblank key value Field Gdk.Key ellipsis key value Field Gdk.Key doubbaselinedot key value Field Gdk.Key onethird key value Field Gdk.Key twothirds key value Field Gdk.Key onefifth key value Field Gdk.Key twofifths key value Field Gdk.Key threefifths key value Field Gdk.Key fourfifths key value Field Gdk.Key onesixth key value Field Gdk.Key fivesixths key value Field Gdk.Key careof key value Field Gdk.Key figdash key value Field Gdk.Key leftanglebracket key value Field Gdk.Key decimalpoint key value Field Gdk.Key rightanglebracket key value Field Gdk.Key marker key value Field Gdk.Key oneeighth key value Field Gdk.Key threeeighths key value Field Gdk.Key fiveeighths key value Field Gdk.Key seveneighths key value Field Gdk.Key trademark key value Field Gdk.Key signaturemark key value Field Gdk.Key trademarkincircle key value Field Gdk.Key leftopentriangle key value Field Gdk.Key rightopentriangle key value Field Gdk.Key emopencircle key value Field Gdk.Key emopenrectangle key value Field Gdk.Key leftsinglequotemark key value Field Gdk.Key rightsinglequotemark key value Field Gdk.Key leftdoublequotemark key value Field Gdk.Key rightdoublequotemark key value Field Gdk.Key prescription key value Field Gdk.Key minutes key value Field Gdk.Key seconds key value Field Gdk.Key latincross key value Field Gdk.Key hexagram key value Field Gdk.Key filledrectbullet key value Field Gdk.Key filledlefttribullet key value Field Gdk.Key filledrighttribullet key value Field Gdk.Key emfilledcircle key value Field Gdk.Key emfilledrect key value Field Gdk.Key enopencircbullet key value Field Gdk.Key enopensquarebullet key value Field Gdk.Key openrectbullet key value Field Gdk.Key opentribulletup key value Field Gdk.Key opentribulletdown key value Field Gdk.Key openstar key value Field Gdk.Key enfilledcircbullet key value Field Gdk.Key enfilledsqbullet key value Field Gdk.Key filledtribulletup key value Field Gdk.Key filledtribulletdown key value Field Gdk.Key leftpointer key value Field Gdk.Key rightpointer key value Field Gdk.Key club key value Field Gdk.Key diamond key value Field Gdk.Key heart key value Field Gdk.Key maltesecross key value Field Gdk.Key dagger key value Field Gdk.Key doubledagger key value Field Gdk.Key checkmark key value Field Gdk.Key ballotcross key value Field Gdk.Key musicalsharp key value Field Gdk.Key musicalflat key value Field Gdk.Key malesymbol key value Field Gdk.Key femalesymbol key value Field Gdk.Key telephone key value Field Gdk.Key telephonerecorder key value Field Gdk.Key phonographcopyright key value Field Gdk.Key caret key value Field Gdk.Key singlelowquotemark key value Field Gdk.Key doublelowquotemark key value Field Gdk.Key cursor key value Field Gdk.Key leftcaret key value Field Gdk.Key rightcaret key value Field Gdk.Key downcaret key value Field Gdk.Key upcaret key value Field Gdk.Key overbar key value Field Gdk.Key downtack key value Field Gdk.Key upshoe key value Field Gdk.Key downstile key value Field Gdk.Key underbar key value Field Gdk.Key jot key value Field Gdk.Key quad key value Field Gdk.Key uptack key value Field Gdk.Key circle key value Field Gdk.Key upstile key value Field Gdk.Key downshoe key value Field Gdk.Key rightshoe key value Field Gdk.Key leftshoe key value Field Gdk.Key lefttack key value Field Gdk.Key righttack key value Field Gdk.Key hebrew_doublelowline key value Field Gdk.Key hebrew_aleph key value Field Gdk.Key hebrew_bet key value Field Gdk.Key hebrew_beth key value Field Gdk.Key hebrew_gimel key value Field Gdk.Key hebrew_gimmel key value Field Gdk.Key hebrew_dalet key value Field Gdk.Key hebrew_daleth key value Field Gdk.Key hebrew_he key value Field Gdk.Key hebrew_waw key value Field Gdk.Key hebrew_zain key value Field Gdk.Key hebrew_zayin key value Field Gdk.Key hebrew_chet key value Field Gdk.Key hebrew_het key value Field Gdk.Key hebrew_tet key value Field Gdk.Key hebrew_teth key value Field Gdk.Key hebrew_yod key value Field Gdk.Key hebrew_finalkaph key value Field Gdk.Key hebrew_kaph key value Field Gdk.Key hebrew_lamed key value Field Gdk.Key hebrew_finalmem key value Field Gdk.Key hebrew_mem key value Field Gdk.Key hebrew_finalnun key value Field Gdk.Key hebrew_nun key value Field Gdk.Key hebrew_samech key value Field Gdk.Key hebrew_samekh key value Field Gdk.Key hebrew_ayin key value Field Gdk.Key hebrew_finalpe key value Field Gdk.Key hebrew_pe key value Field Gdk.Key hebrew_finalzade key value Field Gdk.Key hebrew_finalzadi key value Field Gdk.Key hebrew_zade key value Field Gdk.Key hebrew_zadi key value Field Gdk.Key hebrew_qoph key value Field Gdk.Key hebrew_kuf key value Field Gdk.Key hebrew_resh key value Field Gdk.Key hebrew_shin key value Field Gdk.Key hebrew_taw key value Field Gdk.Key hebrew_taf key value Field Gdk.Key Hebrew_switch key value Field Gdk.Key Thai_kokai key value Field Gdk.Key Thai_khokhai key value Field Gdk.Key Thai_khokhuat key value Field Gdk.Key Thai_khokhwai key value Field Gdk.Key Thai_khokhon key value Field Gdk.Key Thai_khorakhang key value Field Gdk.Key Thai_ngongu key value Field Gdk.Key Thai_chochan key value Field Gdk.Key Thai_choching key value Field Gdk.Key Thai_chochang key value Field Gdk.Key Thai_soso key value Field Gdk.Key Thai_chochoe key value Field Gdk.Key Thai_yoying key value Field Gdk.Key Thai_dochada key value Field Gdk.Key Thai_topatak key value Field Gdk.Key Thai_thothan key value Field Gdk.Key Thai_thonangmontho key value Field Gdk.Key Thai_thophuthao key value Field Gdk.Key Thai_nonen key value Field Gdk.Key Thai_dodek key value Field Gdk.Key Thai_totao key value Field Gdk.Key Thai_thothung key value Field Gdk.Key Thai_thothahan key value Field Gdk.Key Thai_thothong key value Field Gdk.Key Thai_nonu key value Field Gdk.Key Thai_bobaimai key value Field Gdk.Key Thai_popla key value Field Gdk.Key Thai_phophung key value Field Gdk.Key Thai_fofa key value Field Gdk.Key Thai_phophan key value Field Gdk.Key Thai_fofan key value Field Gdk.Key Thai_phosamphao key value Field Gdk.Key Thai_moma key value Field Gdk.Key Thai_yoyak key value Field Gdk.Key Thai_rorua key value Field Gdk.Key Thai_ru key value Field Gdk.Key Thai_loling key value Field Gdk.Key Thai_lu key value Field Gdk.Key Thai_wowaen key value Field Gdk.Key Thai_sosala key value Field Gdk.Key Thai_sorusi key value Field Gdk.Key Thai_sosua key value Field Gdk.Key Thai_hohip key value Field Gdk.Key Thai_lochula key value Field Gdk.Key Thai_oang key value Field Gdk.Key Thai_honokhuk key value Field Gdk.Key Thai_paiyannoi key value Field Gdk.Key Thai_saraa key value Field Gdk.Key Thai_maihanakat key value Field Gdk.Key Thai_saraaa key value Field Gdk.Key Thai_saraam key value Field Gdk.Key Thai_sarai key value Field Gdk.Key Thai_saraii key value Field Gdk.Key Thai_saraue key value Field Gdk.Key Thai_sarauee key value Field Gdk.Key Thai_sarau key value Field Gdk.Key Thai_sarauu key value Field Gdk.Key Thai_phinthu key value Field Gdk.Key Thai_maihanakat_maitho key value Field Gdk.Key Thai_baht key value Field Gdk.Key Thai_sarae key value Field Gdk.Key Thai_saraae key value Field Gdk.Key Thai_sarao key value Field Gdk.Key Thai_saraaimaimuan key value Field Gdk.Key Thai_saraaimaimalai key value Field Gdk.Key Thai_lakkhangyao key value Field Gdk.Key Thai_maiyamok key value Field Gdk.Key Thai_maitaikhu key value Field Gdk.Key Thai_maiek key value Field Gdk.Key Thai_maitho key value Field Gdk.Key Thai_maitri key value Field Gdk.Key Thai_maichattawa key value Field Gdk.Key Thai_thanthakhat key value Field Gdk.Key Thai_nikhahit key value Field Gdk.Key Thai_leksun key value Field Gdk.Key Thai_leknung key value Field Gdk.Key Thai_leksong key value Field Gdk.Key Thai_leksam key value Field Gdk.Key Thai_leksi key value Field Gdk.Key Thai_lekha key value Field Gdk.Key Thai_lekhok key value Field Gdk.Key Thai_lekchet key value Field Gdk.Key Thai_lekpaet key value Field Gdk.Key Thai_lekkao key value Field Gdk.Key Hangul key value Field Gdk.Key Hangul_Start key value Field Gdk.Key Hangul_End key value Field Gdk.Key Hangul_Hanja key value Field Gdk.Key Hangul_Jamo key value Field Gdk.Key Hangul_Romaja key value Field Gdk.Key Hangul_Codeinput key value Field Gdk.Key Hangul_Jeonja key value Field Gdk.Key Hangul_Banja key value Field Gdk.Key Hangul_PreHanja key value Field Gdk.Key Hangul_PostHanja key value Field Gdk.Key Hangul_SingleCandidate key value Field Gdk.Key Hangul_MultipleCandidate key value Field Gdk.Key Hangul_PreviousCandidate key value Field Gdk.Key Hangul_Special key value Field Gdk.Key Hangul_switch key value Field Gdk.Key Hangul_Kiyeog key value Field Gdk.Key Hangul_SsangKiyeog key value Field Gdk.Key Hangul_KiyeogSios key value Field Gdk.Key Hangul_Nieun key value Field Gdk.Key Hangul_NieunJieuj key value Field Gdk.Key Hangul_NieunHieuh key value Field Gdk.Key Hangul_Dikeud key value Field Gdk.Key Hangul_SsangDikeud key value Field Gdk.Key Hangul_Rieul key value Field Gdk.Key Hangul_RieulKiyeog key value Field Gdk.Key Hangul_RieulMieum key value Field Gdk.Key Hangul_RieulPieub key value Field Gdk.Key Hangul_RieulSios key value Field Gdk.Key Hangul_RieulTieut key value Field Gdk.Key Hangul_RieulPhieuf key value Field Gdk.Key Hangul_RieulHieuh key value Field Gdk.Key Hangul_Mieum key value Field Gdk.Key Hangul_Pieub key value Field Gdk.Key Hangul_SsangPieub key value Field Gdk.Key Hangul_PieubSios key value Field Gdk.Key Hangul_Sios key value Field Gdk.Key Hangul_SsangSios key value Field Gdk.Key Hangul_Ieung key value Field Gdk.Key Hangul_Jieuj key value Field Gdk.Key Hangul_SsangJieuj key value Field Gdk.Key Hangul_Cieuc key value Field Gdk.Key Hangul_Khieuq key value Field Gdk.Key Hangul_Tieut key value Field Gdk.Key Hangul_Phieuf key value Field Gdk.Key Hangul_Hieuh key value Field Gdk.Key Hangul_A key value Field Gdk.Key Hangul_AE key value Field Gdk.Key Hangul_YA key value Field Gdk.Key Hangul_YAE key value Field Gdk.Key Hangul_EO key value Field Gdk.Key Hangul_E key value Field Gdk.Key Hangul_YEO key value Field Gdk.Key Hangul_YE key value Field Gdk.Key Hangul_O key value Field Gdk.Key Hangul_WA key value Field Gdk.Key Hangul_WAE key value Field Gdk.Key Hangul_OE key value Field Gdk.Key Hangul_YO key value Field Gdk.Key Hangul_U key value Field Gdk.Key Hangul_WEO key value Field Gdk.Key Hangul_WE key value Field Gdk.Key Hangul_WI key value Field Gdk.Key Hangul_YU key value Field Gdk.Key Hangul_EU key value Field Gdk.Key Hangul_YI key value Field Gdk.Key Hangul_I key value Field Gdk.Key Hangul_J_Kiyeog key value Field Gdk.Key Hangul_J_SsangKiyeog key value Field Gdk.Key Hangul_J_KiyeogSios key value Field Gdk.Key Hangul_J_Nieun key value Field Gdk.Key Hangul_J_NieunJieuj key value Field Gdk.Key Hangul_J_NieunHieuh key value Field Gdk.Key Hangul_J_Dikeud key value Field Gdk.Key Hangul_J_Rieul key value Field Gdk.Key Hangul_J_RieulKiyeog key value Field Gdk.Key Hangul_J_RieulMieum key value Field Gdk.Key Hangul_J_RieulPieub key value Field Gdk.Key Hangul_J_RieulSios key value Field Gdk.Key Hangul_J_RieulTieut key value Field Gdk.Key Hangul_J_RieulPhieuf key value Field Gdk.Key Hangul_J_RieulHieuh key value Field Gdk.Key Hangul_J_Mieum key value Field Gdk.Key Hangul_J_Pieub key value Field Gdk.Key Hangul_J_PieubSios key value Field Gdk.Key Hangul_J_Sios key value Field Gdk.Key Hangul_J_SsangSios key value Field Gdk.Key Hangul_J_Ieung key value Field Gdk.Key Hangul_J_Jieuj key value Field Gdk.Key Hangul_J_Cieuc key value Field Gdk.Key Hangul_J_Khieuq key value Field Gdk.Key Hangul_J_Tieut key value Field Gdk.Key Hangul_J_Phieuf key value Field Gdk.Key Hangul_J_Hieuh key value Field Gdk.Key Hangul_RieulYeorinHieuh key value Field Gdk.Key Hangul_SunkyeongeumMieum key value Field Gdk.Key Hangul_SunkyeongeumPieub key value Field Gdk.Key Hangul_PanSios key value Field Gdk.Key Hangul_KkogjiDalrinIeung key value Field Gdk.Key Hangul_SunkyeongeumPhieuf key value Field Gdk.Key Hangul_YeorinHieuh key value Field Gdk.Key Hangul_AraeA key value Field Gdk.Key Hangul_AraeAE key value Field Gdk.Key Hangul_J_PanSios key value Field Gdk.Key Hangul_J_KkogjiDalrinIeung key value Field Gdk.Key Hangul_J_YeorinHieuh key value Field Gdk.Key Korean_Won key value Field Gdk.Key EcuSign key value Field Gdk.Key ColonSign key value Field Gdk.Key CruzeiroSign key value Field Gdk.Key FFrancSign key value Field Gdk.Key LiraSign key value Field Gdk.Key MillSign key value Field Gdk.Key NairaSign key value Field Gdk.Key PesetaSign key value Field Gdk.Key RupeeSign key value Field Gdk.Key WonSign key value Field Gdk.Key NewSheqelSign key value Field Gdk.Key DongSign key value Field Gdk.Key EuroSign key value gtk-sharp-2.12.10/doc/en/Gdk/EventScroll.xml0000644000175000001440000001232211345266756015347 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned. Gdk.Event Property System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property Gdk.ModifierType An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. None. Property System.Double The x coordinate of the pointer relative to the window. The x coordinate of the pointer relative to the window. None. Property System.Double The y coordinate of the pointer relative to the window. The y coordinate of the pointer relative to the window. None. Property System.Double The x coordinate of the pointer relative to the root of the screen. The x coordinate of the pointer relative to the root of the screen. None. Property System.Double The y coordinate of the pointer relative to the root of the screen. The y coordinate of the pointer relative to the root of the screen. None. Property Gdk.ScrollDirection The direction to scroll to. The direction to scroll to. None. Property Gdk.Device The device where the event originated. The device where the event originated. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/Cursor.xml0000644000175000001440000002151311345266756014366 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Standard and pixmap cursors The represents cursors. GLib.Opaque Method Gdk.Cursor Adds a reference to the cursor Same cursor that was passed in. Method System.Void Removes a reference from cursor, deallocating the cursor if no references remain. Property Gdk.Display Returns the display on which the is defined. The where the cursor is defined. Constructor Internal constructor. raw managed pointer. This is an internal constructor, do not use it. Constructor Creates a cursor from standard definitions. The cursor type. Creates a new cursor from the set of builtin cursors for the default display. See gdk_cursor_new_for_display(). To make the cursor invisible, use gdk_cursor_new_from_pixmap() to create a cursor with no pixels in it. Constructor Creates a new cursor from the set of builtin cursors. The for which the cursor will be created. Cursor to create. None. Constructor Creates a new cursor from a given pixmap and mask. The the pixmap specifying the cursor. The specifying the mask, which must be the same size as source. the foreground color, used for the bits in the source which are 1. The color does not have to be allocated first. the background color, used for the bits in the source which are 0. The color does not have to be allocated first. the horizontal offset of the 'hotspot' of the cursor. the vertical offset of the 'hotspot' of the cursor. Creates a new cursor from a given pixmap and mask. Both the pixmap and mask must have a depth of 1 (i.e. each pixel has only 2 values - on or off). The standard cursor size is 16 by 16 pixels. Gdk.Pixmap pixmap = GetPixmap (); Gdk.Bitmap mask = GetMask (); Gdk.Cursor cursor = new Gdk.Cursor (pixmap, mask); Property GLib.GType GType Property. a Returns the native value for . Constructor To be added a a a a To be added Property Gdk.CursorType To be added. To be added. To be added. Property Gdk.Pixbuf A Pixbuf containing the Cursor's image. a of the cursor image. Method Gdk.Cursor The display for which to create the cursor. The name of the cursor in the Cursor theme. Creates a cursor by name in a cursor theme. a , or . Returns if the name doesn't have an associated cursor in the current Cursor theme. gtk-sharp-2.12.10/doc/en/Gdk/Atom.xml0000644000175000001440000000651711345266756014020 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An opaque type representing a string as an index into a table of strings on the X server. GLib.Opaque Method Gdk.Atom Finds or creates an corresponding to a given string. an object of type an object of type an object of type If is , do not create a new atom, but just return the atom if it already exists. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.String Determines the string corresponding to an atom. A newly-allocated string containing the string corresponding to the atom. None. Method System.String To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/TimeCoord.xml0000644000175000001440000000464211345266756015002 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.TimeCoord To be added To be added Method Gdk.TimeCoord To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.TimeCoord' To be added Field System.UInt32 To be added To be added Field System.Double[] To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/PangoAttrEmbossed.xml0000644000175000001440000001315411345266756016474 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Field Gdk.PangoAttrEmbossed Obsolete: use System.Obsolete("Gdk.PangoAttrEmbossed is a reference type now, use null") Constructor To be added. To be added. To be added. Method Gdk.PangoAttrEmbossed Obsolete: replaced by normal constructor To be added: an object of type 'bool' To be added: an object of type 'Gdk.PangoAttrEmbossed' To be added Constructor To be added. To be added. To be added. Method Gdk.PangoAttrEmbossed Obsolete internal constructor To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.PangoAttrEmbossed' To be added Method Pango.Attribute To be added. To be added. To be added. To be added. Method Gdk.PangoAttrEmbossed To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property Pango.Attribute To be added. To be added. To be added. System.Obsolete("Replaced by explicit Pango.Attribute cast") gtk-sharp-2.12.10/doc/en/Gdk/Visual.xml0000644000175000001440000002534211345266756014360 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes a particular video hardware display format. A Gdk.Visual describes a particular video hardware display format. It includes information about the number of bits used for each color, the way the bits are translated into an RGB value for display, and the way the bits are stored in memory. For example, a piece of display hardware might support 24-bit color, 16-bit color, or 8-bit color; meaning 24/16/8-bit pixel sizes. For a given pixel size, pixels can be in different formats; for example the "red" element of an RGB pixel may be in the top 8 bits of the pixel, or may be in the lower 4 bits. Usually you can avoid thinking about visuals in GTK+. Visuals are useful to interpret the contents of a , but you should avoid GdkImage precisely because its contents depend on the display hardware; use instead, for all but the most low-level purposes. Also, anytime you provide a , the visual is implied as part of the colormap (), so you won't have to provide a visual in addition. There are several standard visuals. The visual returned by is the system's default visual. return the visual most suited to displaying full-color image data. If you use the calls in , you should create your windows using this visual (and the colormap returned by ). A number of functions are provided for determining the "best" available visual. For the purposes of making this determination, higher bit depths are considered better, and for visuals of the same bit depth, is preferred at 8bpp, otherwise, the visual types are ranked in the order of (highest to lowest) , , , , then . GLib.Object Method Gdk.Visual Get the best visual with depth depth for the default GDK screen. A bit depth Best visual for the given depth. Get the best visual with depth depth for the default GDK screen. Color visuals and visuals with mutable colormaps are preferred over grayscale or fixed-colormap visuals. The return value should not be freed. may be returned if no visual supports . Method Gdk.Visual Get the best visual of the given visual_type for the default GDK screen. Required visual type. Best visual of the given type Get the best visual of the given for the default GDK screen. Visuals with higher color depths are considered better. The return value should not be freed. may be returned if no visual has type . Method Gdk.Visual Get the best visual given a visual type and a required depth. Required depth. Required visual type. Best visual of the given type and depth. Get the best visual of the given at the given for the default GDK screen. Visuals with higher color depths are considered better. The return value should not be freed. may be returned if no visual that match the type and . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.VisualType Best visual type for the default Gdk screen The best visual type available. Return the best available visual type for the default GDK screen. Property System.Int32 Best depth for the default Gdk screen. The best depth Get the best available depth for the default GDK screen. "Best" means "largest," i.e. 32 preferred over 24 preferred over 8 bits per pixel. Property Gdk.Visual Visual with the most available colors for the default GDK screen. The best visual. Get the visual with the most available colors for the default GDK screen. Property Gdk.Visual The system'sdefault visual for the default GDK screen. The system visual Get the system'sdefault visual for the default GDK screen. This is the visual for the root window of the display. Property Gdk.Screen Gets the screen to which this visual belongs. The to which this visual belongs. None. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Default constructor. None. gtk-sharp-2.12.10/doc/en/Gdk/RegionBox.xml0000644000175000001440000000614711345266756015013 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.RegionBox To be added To be added Method Gdk.RegionBox To be added a a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/Fontset.xml0000644000175000001440000000550711345266756014540 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method Gdk.Font To be added a a To be added Method Gdk.Font To be added a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/Image.xml0000644000175000001440000002724411345266756014142 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Contains information on the image and the pixel data. To be added GLib.Object Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'uint' To be added Method System.UInt32 To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'uint' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added: an object of type 'Gdk.ImageType' To be added: an object of type 'Gdk.Visual' To be added: an object of type 'int' To be added: an object of type 'int' To be added Property Gdk.Colormap To be added To be added: an object of type 'Gdk.Colormap' To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Method Gdk.Image To be added a a a a a a To be added Method System.Void To be added To be added Method Gdk.Image To be added a To be added Property System.UInt16 The number of bytes per pixel. a Property System.UInt16 The number of bytes per line of the image. a Property System.UInt16 The image depth (ie, the number of bits per pixel). a Property Gdk.ByteOrder The image byte order. a Property System.UInt16 The number of bits per pixel. a Property System.Int32 The width of the image in pixels. a Property Gdk.Visual The image's . a Property Gdk.ImageType The image's a Property System.Int32 The height of the image in pixels. a gtk-sharp-2.12.10/doc/en/Gdk/PixbufGifAnim.xml0000644000175000001440000000664611345266756015613 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gdk.PixbufAnimation Method System.Void To be added To be added: an object of type 'Gdk.PixbufFrame' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/SizePreparedHandler.xml0000644000175000001440000000275411345266756017012 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SizePreparedHandler instance to the event. The methods referenced by the SizePreparedHandler instance are invoked whenever the event is raised, until the SizePreparedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/Threads.xml0000644000175000001440000001512311345266756014503 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Threads Functions for using GDK in multi-threaded programs For thread safety, Gdk relies on the thread primitives in GLib, and on the thread-safe GLib main loop. GLib is completely thread safe (all global data is automatically locked), but individual data structure instances are not automatically locked for performance reasons. So e.g. you must coordinate accesses to the same GHashTable from multiple threads. Gtk# is "thread aware" but not thread safe ? it provides a global lock controlled by / which protects all use of Gtk. That is, only one thread can use Gtk at any given time. You must call before executing any other Gtk or Gdk functions in a threaded Gtk# program. Idles, timeouts, and input functions are executed outside of the main Gtk lock. So, if you need to call Gtk inside of such a callback, you must surround the callback with a / pair. (However, signals are still executed within the main Gtk lock.) In particular, this means, if you are writing widgets that might be used in threaded programs, you must surround timeouts and idle functions in this matter. As always, you must also surround any calls to Gtk not made within a signal handler with a / pair. Before calling from a thread other than your main thread, you probably want to call gdk_flush() to send all pending commands to the windowing system. (The reason you do not need to do this from the main thread is that GDK always automatically flushes pending commands when it runs out of incoming events to process and has to sleep while waiting for more events.) A minimal main program for a threaded GTK+ application looks like: static void Main (string[] args) { Window window; Gdk.Threads.Init (); Gtk.Application.Init (); window = new Window ("Sample"); window.Show (); Gdk.Threads.Enter (); Gtk.Application.Run (); Gdk.Threads.Leave (); return 0; } System.Object Method System.Void Leaves a critical region begun with Gdk.Threads.Enter(). This marks the end of a critical section begun with Gdk.Threads.Enter. Method System.Void This marks the beginning of a critical section in which Gdk and Gtk functions can be called. Only one thread at a time can be in such a critial section. Method System.Void This call must be made before any use of the main loop from Gtk#; to be safe, call it before . It must also be preceded by a call to if GLib threading has not yet been initialized. Initializes so that it can be used from multiple threads in conjunction with and . Constructor The default constructor. Method System.UInt32 Priority value for handler. Idle callback. Adds an idle handler. A source id. Method System.UInt32 Priority value for handler. Timeout interval. Timeout callback. Adds a timeout handler. A source id. gtk-sharp-2.12.10/doc/en/Gdk/Property.xml0000644000175000001440000001406411345266756014740 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a a To be added Constructor To be added To be added Method System.Byte To be added a a a a a a a To be added Method System.Boolean To be added a a a a a a a a a a a To be added Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/WindowHints.xml0000644000175000001440000001136411345266756015371 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to indicate which fields of a struct should be paid attention to. Also, the presence/absence of Pos, UserPos, and UserSize is significant, though they don't directly refer to GdkGeometry fields. UserPos will be set automatically by GtkWindow if you call . UserPos and UserSize should be set if the user specified a size/position using a --geometry command-line argument; automatically sets these flags. System.Enum GLib.GType(typeof(Gdk.WindowHintsGType)) System.Flags Field Gdk.WindowHints Indicates that the program has positioned the window. Field Gdk.WindowHints Min size fields are set. Field Gdk.WindowHints Max size fields are set. Field Gdk.WindowHints Base size fields are set. Field Gdk.WindowHints Aspect ratio fields are set. Field Gdk.WindowHints Resize increment fields are set. Field Gdk.WindowHints Window gravity field is set. Field Gdk.WindowHints Indicates that the window's poition was explicitly set by the user. Field Gdk.WindowHints Indicates that the window's size was explicitly set by the user. gtk-sharp-2.12.10/doc/en/Gdk/PixbufAniAnimIter.xml0000644000175000001440000000555511345266756016437 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Iterator for pointing to a particular frame of an ANI animation. Mostly internal; not for general developer use. Gdk.PixbufAnimationIter Constructor Constructor for internal use. a , pointer to the underlying C object Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. gtk-sharp-2.12.10/doc/en/Gdk/JoinStyle.xml0000644000175000001440000000405111345266756015027 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines how the joins between segments of a polygon are drawn. None. System.Enum GLib.GType(typeof(Gdk.JoinStyleGType)) Field Gdk.JoinStyle The sides of each line are extended to meet at an angle. None. Field Gdk.JoinStyle The sides of the two lines are joined by a circular arc. None. Field Gdk.JoinStyle The sides of the two lines are joined by a straight line which makes an equal angle with each line. None. gtk-sharp-2.12.10/doc/en/Gdk/Screen.xml0000644000175000001440000005252211345266756014334 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Object representing a physical screen. To be added GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.Screen The default screen of the default display. The default . Returns null if there iss no default display. Property System.Int32 To be added a Returns an of the number of monitors attached to the current . The following example will print the number of monitors in the current display to the console. Display theDisplay = Display.OpenDefaultLibgtkOnly(); Screen defaultScreen = theDisplay.DefaultScreen; int numMonitors = defaultScreen.NMonitors; Console.WriteLine("You have {0} monitors.",numMonitors); Property Gdk.Window To be added a To be added Property System.Int32 The height of the screen in pixels. A with the number of pixels of the screen. Property Gdk.Display To be added a To be added Property System.Int32 To be added a To be added Property Gdk.Visual To be added a To be added Property System.Int32 The height of the screen in millimeters. A with the height of the screen in millimeters. Property System.Int32 The width of the screen in pixels. A with the number of pixels of the screen. Property System.Int32 The width of the screen in millimeters. A with the width of the screen in millimeters. Property Gdk.Colormap To be added a To be added Property Gdk.Visual To be added a To be added Property Gdk.Colormap To be added a To be added Property Gdk.Colormap To be added a To be added Event System.EventHandler To be added To be added GLib.Signal("size_changed") Method System.Int32 Gets the monitor that contains most of the given window. A whose main monitor is claimed. A indicating the required monitor. If the window does not intersect any of the monitors, then the a close one is returned. Method System.Int32 Gets the monitor number where the point is located. A representing the x coordinate on the virtual screen. A representing the y coordinate on the virtual screen. A indicating the monitor where the point is located. If the point isn't in any monitor, then the nearest monitor is returned. Method System.Void To be added a To be added Method System.Boolean To be added a a a To be added Method System.String To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gdk.Window[] To be added a To be added Method Gdk.Visual[] To be added a To be added Method Gdk.Rectangle To be added a a To be added Constructor To be added To be added Property Gdk.Visual A Visual to use for creating Drawables with an alpha channel. a or . Returns if the capability is not available. See for caveats. Property Gdk.Colormap A Colormap to use for creating Drawables with an alpha channel. a or . The windowing system may not support this capability, in which case will be returned. Even if a non- value is returned, its possible that the drawable's alpha channel won't be honored when displaying on screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display. Event GLib.Signal("composited_changed") System.EventHandler Raised when the composited status of the screen changes. Method System.Void Default handler for the event. Property GLib.Property("resolution") System.Double The resolution for fonts on the screen. the scaling factor from pango units to cairo units. The default is -1. Property GLib.Property("font-options") Cairo.FontOptions The default font options for the screen. The default . If multiple accesses to this information are needed, you may want to consider cacheing the result. The get accessor needs to use reflection to create the FontOptions instance and could possibly cause performance issues if called frequently. Property Gdk.Window The current active window for the screen. a . Returns if there is no current active window or the window manager doesn't support the necessary properties to determine the active window. Property System.Boolean Indicates if compositing is supported. If compositing is supported. Indicates if RGBA visuals with an alpha value can be expected to have their alpha channel drawn properly on screen. Property Gdk.Window[] The current window stack for the screen. an array of representing the window stack. This property depends on optional Window Manager features. If the feature is not supported, an empty array will be returned. gtk-sharp-2.12.10/doc/en/Gdk/ScanLineListBlock.xml0000644000175000001440000000230511345266756016412 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Gdk/RgbCmap.xml0000644000175000001440000000624111345266756014425 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A private data structure which maps color indices to actual RGB colors. GLib.Opaque Field Gdk.RgbCmap Obsolete: use System.Obsolete("Gdk.RgbCmap is a reference type now, use null") Constructor Constructs a new with the given colors. An array of colors in the form 0xRRGGBB. Constructor Internal constructor. a Method Gdk.RgbCmap Obsolete internal constructor. a a Property System.Int32 The number of colors in the colormap. The number of colors in the colormap. gtk-sharp-2.12.10/doc/en/Gdk/PangoAttrEmbossColor.xml0000644000175000001440000000566011345266756017165 00000000000000 gdk-sharp 2.12.0.0 GLib.Opaque Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property Pango.Color To be added. To be added. To be added. Method Pango.Attribute To be added. To be added. To be added. To be added. Method Gdk.PangoAttrEmbossColor To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/Keyboard.xml0000644000175000001440000001025311345266756014650 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void Ungrabs the keyboard, if it is grabbed by this application. a timestamp from a , or if no timestamp is available. To be added Method Gdk.GrabStatus Grabs the keyboard so that all events are passed to this application until the keyboard is ungrabbed with . This overrides any previous keyboard grab by this client. the which will own the grab (the grab window). if false then all keyboard events are reported with respect to window. If true then keyboard events for this application are reported as normal, but keyboard events outside this application are reported with respect to window. Both key press and key release events are always reported, independant of the event mask set by the application. a timestamp from a or if no timestamp is available. a if the grab was successful. Documentation for this section has not yet been entered. Constructor To be added To be added Method System.Boolean To be added a a a a To be added gtk-sharp-2.12.10/doc/en/Gdk/Colorspace.xml0000644000175000001440000000223211345266756015200 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gdk.ColorspaceGType)) Field Gdk.Colorspace To be added gtk-sharp-2.12.10/doc/en/Gdk/TextProperty.xml0000644000175000001440000000717611345266756015613 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.String[] To be added a a a a a To be added Method System.String[] To be added a a a a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/InvalidateMaybeRecurseChildFunc.xml0000644000175000001440000000156711345266756021267 00000000000000 gdk-sharp 2.12.0.0 System.Delegate System.Boolean The window to consider. Callback function for . Whether or not the part of intersecting the region-to-be-invalidated should be invalidated. gtk-sharp-2.12.10/doc/en/Gdk/Size.xml0000644000175000001440000001643111345266756014026 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A value type representing a height and width. The operators are also overridden so that plus (+) yields a new Size with widths and heights summed. minus (-) is imiplemented similarly. != and == are also implemented to check height and width values. System.ValueType Field Gdk.Size A static readonly Size Constructor Constructor based on . Initial height and width taken to be point.X and point.Y a Constructor Constructor with initial values for height and width. a a Property System.Boolean Checks if height and width == 0 a Property System.Int32 Gets/sets the width value a Property System.Int32 Get/set the height value a Method Gdk.Size To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Gdk.Size To be added. To be added. To be added. To be added. To be added. Method Gdk.Point To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/Drop.xml0000644000175000001440000000511711345266756014017 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a a a To be added Method System.Void To be added a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/EventSetting.xml0000644000175000001440000000405011345266756015525 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated when a setting is modified. None. Gdk.Event Property Gdk.SettingAction What happened to the setting. What happened to the setting. None. Property System.String The name of the setting. The name of the setting. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/ModifierType.xml0000644000175000001440000002131311345266756015507 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enum to indicate the state of modifier keys and mouse buttons in various event types. Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, APple, CapsLock or ShiftLock. Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons. None. System.Enum GLib.GType(typeof(Gdk.ModifierTypeGType)) System.Flags Field Gdk.ModifierType The Shift key. Field Gdk.ModifierType A Lock Key (depending on the modifier mapping of the X server this may either be CapsLock or ShiftLock). Field Gdk.ModifierType The Control key. Field Gdk.ModifierType The fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifer, but normally it is the Alt key). Field Gdk.ModifierType The fifth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). Field Gdk.ModifierType The sixth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). Field Gdk.ModifierType The seventh modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). Field Gdk.ModifierType The eighth modifier key (it depends on the modifier mapping of the X servier which key is interpreted as this modifier). Field Gdk.ModifierType The first mouse button. Field Gdk.ModifierType The second mouse button. Field Gdk.ModifierType The third mouse button. Field Gdk.ModifierType The fourth mouse button. Field Gdk.ModifierType The fifth mouse button. Field Gdk.ModifierType Not used in GDK itself. GTK+ uses it to differentiate between (keyval, modifiers) pairs from key press and release events. Field Gdk.ModifierType A mask covering all modifier types. Field Gdk.ModifierType No modifiers present. Field Gdk.ModifierType Meta key modifier. Field Gdk.ModifierType Super key modifier. Field Gdk.ModifierType Hyper key modifier. gtk-sharp-2.12.10/doc/en/Gdk/WindowTypeHint.xml0000644000175000001440000001556411345266756016056 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Hints to the window manager. These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window. These map to the FreeDesktop WM specification (http://freedesktop.org/Standards/wm-spec/) System.Enum GLib.GType(typeof(Gdk.WindowTypeHintGType)) Field Gdk.WindowTypeHint Normal toplevel window. Field Gdk.WindowTypeHint Dialog window. Field Gdk.WindowTypeHint Window used to implement a menu. Field Gdk.WindowTypeHint Window used to implement toolbars. Field Gdk.WindowTypeHint Indicates that the window is a splash screen displayed as an application is starting up. Field Gdk.WindowTypeHint Indicates a small persistent utility window, such as a palette or toolbox. It is distinct from type Toolbar because it does not correspond to a toolbar torn off from the main application. It's distinct from type Dialog because it isn't a transient dialog, the user will probably keep it open while they're working. Field Gdk.WindowTypeHint Indicates a dock or panel feature. Typically a Window Manager would keep such windows on top of all other windows. Field Gdk.WindowTypeHint Indicates a desktop feature. This can include a single window containing desktop icons with the same dimensions as the screen, allowing the desktop environment to have full control of the desktop, without the need for proxying root window clicks. Field Gdk.WindowTypeHint Indicates a drag and drop window type. Field Gdk.WindowTypeHint Indicates a notification popup window. Field Gdk.WindowTypeHint Indicates a drop down menu window. Field Gdk.WindowTypeHint Indicates a tooltip popup window. Field Gdk.WindowTypeHint Indicates a popup menu window. Field Gdk.WindowTypeHint Indicates a combo window. gtk-sharp-2.12.10/doc/en/Gdk/FillRule.xml0000644000175000001440000000351111345266756014625 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The method for determining which pixels are included in a region, when creating a from a polygon. The fill rule is only relevant for polygons which overlap themselves. System.Enum GLib.GType(typeof(Gdk.FillRuleGType)) Field Gdk.FillRule Areas which are overlapped an odd number of times are included in the region, while areas overlapped an even number of times are not. Field Gdk.FillRule Overlapping areas are always included. gtk-sharp-2.12.10/doc/en/Gdk/SizePreparedArgs.xml0000644000175000001440000000433711345266756016330 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The height of the area the pixbuf loader has prepared for loading. a Property System.Int32 The width of the area the pixbuf loader has prepared for loading. a gtk-sharp-2.12.10/doc/en/Gdk/VisibilityState.xml0000644000175000001440000000374111345266756016244 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the visiblity status of a window for a . System.Enum GLib.GType(typeof(Gdk.VisibilityStateGType)) Field Gdk.VisibilityState The window is completely visible. Field Gdk.VisibilityState The window is partially visible. Field Gdk.VisibilityState The window is not visible at all. gtk-sharp-2.12.10/doc/en/Gdk/Pixdata.xml0000644000175000001440000002206711345266756014510 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Contains functions for inlined pixbuf handling. It allows for pixbuf data to be accessed in a raw form, serialized, and stored. At the time of this writing, gtk-sharp 0.98 has a bug where and use where Byte [] should be used making them function improperly. This problem should be fixed in a future release. System.ValueType Field Gdk.Pixdata A blank Gdk.Pixdata, equivilent to Gdk.Pixdata Zero = new Gdk.Pixdata (); To be added Method Gdk.Pixdata Creates a new Gdk.Pixdata from a pointer to a raw GdkPixdata. An pointing to a raw GdkPixdata. A new 'Gdk.Pixdata' synonymous with the "raw" parameter. To be added Method System.IntPtr Fils in the Gdk.Pixdata with data from an existing . The 'Gdk.Pixbuf' which the Gdk.Pixdata is to be derived from. Whether to use run-length encoding for the pixel data. If "ure_rle" is set to true, an pointing to the new run-length encoded pixel data is returned, otherwise, To be added Field System.UInt32 The GdkPixbuf magic number. All valid Gdk.Pixdata objects must have this set to 0x47646b50, which is 'GdkP' in ASCII. Field System.Int32 The length of the raw structure. This is either set to less than one to disable length checks or set to the length of the raw GdkPixbuf header, which is currently 24, plus the length of the pixel data. Field System.UInt32 An enumeration containing three sets of flax for the . One used for colorspace, one for the width of the samples, and one for the encoding of the pixel data. Value Description 0x01 Each pixel has red, green, and blue samples. 0x02 Each pixel has red, green, and blue samples, and an alpha value. 0xFF A mask for the colortype flags. 0x01 << 16 Each sample has 8 bits. 0x0f << 16 A mask for the sample width flags. 0x01 << 24 The pixel data is in raw form. 0x02 << 24 The pixel data is run-length encoded. Runs may be up to 127 bytes long; their length is stored in a single byte preceding the pixel data for the run. If a run is constant, its length byte has the high bit set and the pixel data consists of a single pixel which must be repeated. 0x0f << 24 A mask for the encoding flags. Field System.UInt32 The distance in bytes between rows. To be added Field System.UInt32 The width of the image in pixels. To be added Field System.UInt32 The height of the image in pixels. To be added Method System.Boolean Converts a serialized datastream, generated by , into pixdata. A describing the length of "stream". a A . True if successful, false if there was an error. To be added Method System.Byte[] Generates serialized pixdata that can then be stored and converted back into a with . the serialized pixdata. gtk-sharp-2.12.10/doc/en/Gdk/ScrollDirection.xml0000644000175000001440000000451111345266756016207 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the direction for the . None. System.Enum GLib.GType(typeof(Gdk.ScrollDirectionGType)) Field Gdk.ScrollDirection The window is scrolled up. Field Gdk.ScrollDirection The window is scrolled down. Field Gdk.ScrollDirection The window is scrolled left. Field Gdk.ScrollDirection The window is scrolled right. gtk-sharp-2.12.10/doc/en/Gdk/Display.xml0000644000175000001440000007653311345266756014532 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Controls the keyboard/mouse pointer grabs and a set of GdkScreens. objects purpose are two fold: To grab/ungrab keyboard focus and mouse pointer To manage and provide information about the (s) available for this objects are the GDK representation of the X Display which can be described as a workstation consisting of a keyboard a pointing device (such as a mouse) and one or more screens. It is used to open and keep track of various objects currently instanciated by the application. It is also used to grab and release the keyboard and the mouse pointer. GLib.Object Method Gdk.Display Opens the default display specified by the command line arguments or the environment variables, setting it as the default display, it it was already set, then its just returned. A that is the default display just opened. Global.ParseArgs should be called first. This method is internal and shouldn't be used in any application. Method Gdk.Display Opens a display. a - the name of the display to open a , or null if the display could not be opened. To be added Method System.Void Appends the given event onto the front of the event queue for display. a to be appended onto the front of the event queue. To be added Method System.Void Adds a filter to be called when X ClientMessage events are received. a representing the type of ClientMessage events to receive. a to call to process the event. To be added Method System.Boolean Test if the pointer is grabbed. a that is true if an active X pointer grab is in effect. To be added Method System.Void Emits a short beep. To be added Method Gdk.Event Gets a copy of the first in the display's event queue, without removing the event from the queue. (Note that this function will not get more events from the windowing system. It only checks the events that have already been moved to the GDK event queue.) a copy of the first on the event queue, or null if no events are in the queue. To be added Method System.Void Closes the connection windowing system for the given display, and cleans up associated resources. To be added Method Gdk.Screen Returns a screen object for one of the screens of the display. a representing the screen number a To be added Method Gdk.DisplayPointerHooks a the previous table This function allows for hooking into the operation of getting the current location of the pointer on a particular display. This is only useful for such low-level tools as an event recorder. Applications should never have any reason to use this facility. Method System.Void Release any keyboard grab. a representing a a timestap. To be added Method System.Void Release any pointer grab. a representing a a timestap. To be added Method System.Void To be added To be added Constructor Internal constructor a This is not typically used by C# code. Property Gdk.Display Get the default for the display. the default object for display. To be added Property System.String The name of the display A representing the display name. Property System.UInt32 Sets the double-click timeout. a , or null if there is no default display. Sets the double click time (two clicks within this time interval count as a double click). Applications should NOT set this, it is a global user-configured setting. Property Gdk.Screen The default screen.. The screen represending the DefaultScreen. To be added Property Gdk.Device Returns the core pointer device for the given display. The core pointer for the display. To be added Property Gdk.Event To be added. To be added Property System.Int32 To be added a To be added Event Gdk.ClosedHandler This event is emitted when the connect to the windowing system is closed. None. GLib.Signal("closed") Method System.Void Gets the current location of the pointer and the current modifier mask for a given display. a a a a None Method Gdk.Window Obtains the window underneath the mouse pointer. a a a Obtains the window underneath the mouse pointer, returning the location of that window in win_x, win_y for screen. Returns NULL if the window under the mouse pointer is not known to GDK (for example, belongs to another application). Property GLib.GType Gets the current location of the pointer and the current modifier mask for a given display. a To be added Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gdk.Device[] Returns the list of available input devices attached to the display. a To be added Constructor To be added To be added Method System.Void To be added a a a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a a To be added Method System.Void To be added a a a To be added Property Gdk.Window To be added a To be added Property System.UInt32 To be added a To be added Property System.UInt32 To be added a To be added Method System.Void To be added a a To be added Method System.Boolean To be added a To be added Method System.Void To be added To be added Method System.Boolean To be added a To be added Method System.Boolean To be added a a To be added Method System.Void To be added a a a a To be added Method System.Boolean To be added a To be added Method System.Boolean To be added a To be added Method System.Void Screen to reposition pointer onto. X coordinate of pointer destination. Y coordinate of pointer destination. Warps the mouse pointer to a coordinate on a Screen. When grabs are in effect, the pointer will only be moved as far as the grab allows. Warping the pointer creates events as if the mouse were instantaneously moved to the destination by the user. Property System.Boolean Indicates if input shapes are supported. If input shapes are supported, , otherwise . Use to alter the input shape if support is indicated. Property System.Boolean Indicates if shaped windows are supported. If shaped windows are supported, , otherwise . Use to alter the shape if support is indicated. Property System.Boolean Indicates if Compositing is supported. If compositing is supported, , otherwise . gtk-sharp-2.12.10/doc/en/Gdk/Device.xml0000644000175000001440000002727111345266756014317 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class contains a detailed description of an extended input device. None. GLib.Object Method System.Boolean To be added To be added: an object of type 'Gdk.InputMode' To be added: an object of type 'bool' To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.Device Returns the core pointer device for the default display. the core pointer device. None. Method System.Void To be added a a a To be added Method System.Void To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor Internal constructor. None. Property System.String To be added a To be added Property Gdk.InputSource To be added a To be added Property Gdk.InputMode To be added a To be added Property System.Boolean To be added a To be added Property System.Int32 To be added a To be added Property System.Int32 To be added a To be added Method System.Boolean To be added a a a a To be added Method System.Void To be added a a a To be added Method Gdk.DeviceAxis To be added a a To be added Method Gdk.DeviceKey To be added a a To be added Method Gdk.TimeCoord[] To be added a a a a To be added gtk-sharp-2.12.10/doc/en/Gdk/EventWindowState.xml0000644000175000001440000000417611345266756016371 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated when the state of a toplevel window changes. Gdk.Event Property Gdk.WindowState Mask specifying what flags have changed. Mask specifying what flags have changed. None. Property Gdk.WindowState The new window state. The new window state. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/PixbufGifAnimIter.xml0000644000175000001440000000562711345266756016435 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gdk.PixbufAnimationIter Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/PangoHelper.xml0000644000175000001440000001227711345266756015324 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method Pango.Context To be added a a To be added Method System.Void To be added a a To be added Method Pango.Context To be added a To be added Constructor To be added To be added Method Gdk.Region To be added a a a a a a To be added Method Gdk.Region To be added a a a a a a To be added gtk-sharp-2.12.10/doc/en/Gdk/EventClient.xml0000644000175000001440000000550011345266756015327 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An event sent by another client application. Gdk.Event Property Gdk.Atom the type of the message, which can be defined by the application. the type of the message, which can be defined by the application. None. Property System.UInt16 The format of the the format of the data, given as the number of bits in each data element, i.e. 8, 16, or 32. None. Property System.Array The data. If is 8, then this array is 20 characters, if it returns 16, then the array is 10 shorts, and if it returns 32, the array is 5 longs. None. Constructor Internal constructor. raw unmanaged pointer. This constructor is internal and should not be used. gtk-sharp-2.12.10/doc/en/Gdk/AreaUpdatedHandler.xml0000644000175000001440000000270711345266756016572 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AreaUpdatedHandler instance to the event. The methods referenced by the AreaUpdatedHandler instance are invoked whenever the event is raised, until the AreaUpdatedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/EventHelper.xml0000644000175000001440000004067711345266756015346 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A utility class that contains methods that operate on Event classes. This class contains static methods. System.Object Method Gdk.Event Copies a . The to copy. The copied . None. Method Gdk.Event Checks all open displays for a to process, fetching events from the windowing system if necessary. See . The next to be processed, or null if no events are pending. The returned should be freed with . None. Method Gdk.Screen Returns the screen for the event. The screen is typically the screen for , but for events such as mouse events, it is the screen where the pointer was when the event occurs. A The for the event. To be added Method Gdk.Event If there is an event waiting in the event queue of some open display, returns a copy of it. See . A copy of the first on some event queue, or null if no events are in any queues. The returned should be freed with . Method Gdk.Event Creates a new event of the given type. All fields are set to 0. A A The returned event should be freed with . Method System.Boolean On X11, sends an X ClientMessage event to a given window. On Windows, sends a message registered with the name GDK_WIN32_CLIENT_MESSAGE. This could be used for communicating between different applications, though the amount of data is limited to 20 bytes on X11, and to just four bytes on Windows. The for the window where the message is to be sent. The to send, which should be a . The window to send the client message to. True on success. None. Method System.Void Frees a . to free. This should only be called with events returned from functions such as , , and . Method System.Void Sends an X ClientMessage event to all toplevel windows on the default . Toplevel windows are determined by checking for the WM_STATE property, as described in the Inter-Client Communication Conventions Manual (ICCCM). If no windows are found with the WM_STATE property set, the message is sent to all children of the root window. The to send, which should be a . None. Method System.Boolean Sends an X ClientMessage event to a given window (which must be on the default .) This could be used for communicating between different applications, though the amount of data is limited to 20 bytes. The to send, which should be a . The window to send the X ClientMessage event to. True on success. None. Method System.UInt32 Returns the time stamp from event, if there is one. Otherwise returns the current time. If event is null, returns the current time.. A Time stamp field from event. None. Method Gdk.Event Waits for a GraphicsExpose or NoExpose event from the X server. This is used in the GtkText and GtkCList widgets in Gtk# to make sure any Graphics Expose events are handled before the widget is scrolled. The to wait for the events for. A if a GraphicsExpose was received, or null if a NoExpose event was received. None. Method System.Void Sets the screen for event to screen. The event must have been allocated by GTK+, for instance, by . A A None. Method System.Void Appends a copy of the given event onto the front of the event queue for 's display, or the default queue if that window is null. See . A None. Constructor This constructor is never used. This class contains only static methods, and this constructor should never be used. Method System.Boolean Extract the event window relative x/y coordinates from an event. A Event window x coordinate. Event window y coordinate. True if the event delivered event coordinates. None. Method System.Boolean If the event contains a "state" field, puts that field in state. Otherwise stores an empty state (0). A or null. The of the event. True if there was a state field in the event. To be added Method System.Boolean Extract the axis value for a particular axis use from an event. A The axis use to look for. The value found. True if the specified axis was found, otherwise false. None. Method System.Boolean Extract the root window relative x/y coordinates from an event. A Root window x coordinate. Root window y coordinate. True if the event delivered root window coordinates. None. Property GLib.GType GType Property. a Returns the native value for . Method System.Void A MotionNotify event. Requests additional motion notify events. gtk-sharp-2.12.10/doc/en/Gdk/OwnerChange.xml0000644000175000001440000000464411345266756015317 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gdk.OwnerChangeGType)) Field Gdk.OwnerChange To be added To be added Field Gdk.OwnerChange To be added To be added Field Gdk.OwnerChange To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/AxisUse.xml0000644000175000001440000000757111345266756014502 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that Gtk# understands. Documentation for this section has not yet been entered. System.Enum GLib.GType(typeof(Gdk.AxisUseGType)) Field Gdk.AxisUse The axis is ignored. Field Gdk.AxisUse The axis is used as the x axis. Field Gdk.AxisUse The axis is used as the y axis. Field Gdk.AxisUse The axis is used for pressure information. Field Gdk.AxisUse The axis is used for x tilt information. Field Gdk.AxisUse The axis is used for y tilt information. Field Gdk.AxisUse The axis is used for wheel information. Field Gdk.AxisUse A constant equal to the numerically highest axis value. gtk-sharp-2.12.10/doc/en/Gdk/PixbufAlphaMode.xml0000644000175000001440000000301111345266756016112 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Do not use. System.Enum GLib.GType(typeof(Gdk.PixbufAlphaModeGType)) Field Gdk.PixbufAlphaMode Do not use. Field Gdk.PixbufAlphaMode Do not use. gtk-sharp-2.12.10/doc/en/Gdk/DragContext.xml0000644000175000001440000002026011345266756015331 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This holds information about a drag in progress. It is used on both source and destination sides. None. GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor. None. Property Gdk.DragProtocol The DND protocol that governs this drag. The DND protocol which governs this drag. None. Property System.Boolean True if the context is used on the source side. True if the context is used on the source side. None. Property Gdk.Window The source of this drag. The source of this drag. None. Property Gdk.Window The destination window of this drag. The destination window of this drag. None. Property Gdk.Atom[] A list of targets offered by the source. A list of targets offered by the source. None. Property Gdk.DragAction Various actions proposed by the source when the is Various actions proposed by the source when the is None. Property Gdk.DragAction The action suggested by the source. The suggested by the source. None. Property Gdk.DragAction The action chosen by the destination. The chosen by the destination. None. Property System.UInt32 A timestamp, in milliseconds, recording the start time of this drag. A timestamp, in milliseconds, recording the start time of this drag. None. Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Method System.Void To be added To be added Method System.Void To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/Event.xml0000644000175000001440000001226611345266756014177 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This object contains the fields that are common to all Event classes. Any Gdk.Event* can be safely cast to a Gdk.Event This class is equivalent to the GdkEventAny structure in the C API. System.Object GLib.IWrapper Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.EventType the type of the event. the type of the event. None. Property GLib.GType GType Property. a Returns the native value for . Property System.IntPtr IntPtr for the unmanaged structure. The to the unmanaged GdkEvent structure. This property should rarely if ever need to be accessed. Property Gdk.Window The window which received the event. The window which received the event. This is a not a . Property System.Boolean true if the event was sent explicitly (e.g. using XSendEvent). true if the event was sent explicitly (e.g. using XSendEvent). None. Method Gdk.Event Gets an Event or Event subclass for a native event pointer. a a Method Gdk.Event Native event pointer. Creates a managed event from a native pointer. A managed event instance. gtk-sharp-2.12.10/doc/en/Gdk/SubwindowMode.xml0000644000175000001440000000324511345266756015701 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines how drawing onto a window will affect child windows of that window. None. System.Enum GLib.GType(typeof(Gdk.SubwindowModeGType)) Field Gdk.SubwindowMode Only draw onto the window itself. Field Gdk.SubwindowMode Draw onto the window and child windows. gtk-sharp-2.12.10/doc/en/Gdk/DeviceAxis.xml0000644000175000001440000000567211345266756015145 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Contains information about the range and mapping of a device axis. To be added System.ValueType Field Gdk.DeviceAxis To be added To be added Method Gdk.DeviceAxis To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.DeviceAxis' To be added Field Gdk.AxisUse Specifies how the axis is used. To be added Field System.Double Minimal value that will be reported by this axis. To be added Field System.Double Maximal value that will be reported by this axis. To be added gtk-sharp-2.12.10/doc/en/Gdk/PixbufDestroyNotify.xml0000644000175000001440000000166611345266756017120 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. Delegate class for code to be run when a object is destroyed. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/EventDND.xml0000644000175000001440000000673711345266756014533 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated during DND operations. Gdk.Event Property Gdk.DragContext The for the current DND operation. The Gdk.DragContext for the current DND operation. None. Property System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property System.Int16 The x coordinate of the pointer relative to the root of the screen, only set for GDK_DRAG_MOTION and GDK_DROP_START (Find C# references for these). The x coordinate of the pointer relative to the root of the screen, only set for GDK_DRAG_MOTION and GDK_DROP_START (Find C# references for these). None. Property System.Int16 The y coordinate of the pointer relative to the root of the screen, only set for GDK_DRAG_MOTION and GDK_DROP_START (Find C# references for these). The y coordinate of the pointer relative to the root of the screen, only set for GDK_DRAG_MOTION and GDK_DROP_START (Find C# references for these). None. Constructor Internal constructor. raw unmanaged pointer. This constructor is internal and should not be used. gtk-sharp-2.12.10/doc/en/Gdk/Color.xml0000644000175000001440000003154111345266756014171 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes an allocated or unallocated color. The Gdk.Color structure is used to describe an allocated or unallocated color. Unallocated colors only have the red, green and blue ushort values initialized. Colors are allocated using the method. After a color is allocated the value in the field is valid. DrawRedLine (Gdk.Drawable drawable) { Gdk.GC gc = new Gdk.GC (drawable); Gdk.Color red_color = new Gdk.Color (0xff, 0, 0); // Use the system colormap, easy. Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (red_color, true, true); gc.Foreground = red_color; // Now you can use it drawable.DrawLine (gc, 0, 0, 100, 100); } System.ValueType Field Gdk.Color Unallocated, empty color. Constructor Color constructor from RGB byte values Red value (0-255) Green value (0-255) Blue value (0-255) This constructs the color from three byte values for red, green and blue. Notice that the Gdk.Color structure actually uses 16-bit color values, so the byte values are mapped into the 16-bit value space. This is just a convenience routine to initialize this structure. To use the Gdk.Color you must allocate it within the current colormap. DrawRedLine (Gdk.Drawable drawable) { Gdk.GC gc = new Gdk.GC (drawable); Gdk.Color red_color = new Gdk.Color (0xff, 0, 0); // Use the system colormap, easy. Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (red_color, true, true); // Now you can use it drawable.DrawLine (gc, 0, 0, 100, 100); } Method Gdk.Color Creates a color from an unmanaged location. A pointer to the unmanaged GdkColor structure. This returns a Gdk.Color structure. The parameter points to a C-based GdkColor structure. This routine creates a Gdk.Color structure from its unmanaged version. Method System.Boolean Compares whether two colors are equal. The color to compare true if the red, green and blue components are the same Notice that this will not compare the value, it will only compare the red, green and blue elements. Property GLib.GType The GLib.GType for Gdk.Color a The GLib.GType for the Gdk.Color class. Field System.UInt32 Pixel value for the color. Colors are specified in Gdk by their red, green and blue elements. But before the color can be used, the color has to be allocated in a given colormap. The value of the allocation is stored in this pixel field and it is the token used to render the color. The pixel value is initialized when using the method. Field System.UInt16 Red element of the color. Field System.UInt16 Green element of the color. Field System.UInt16 Blue element of the color. Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Boolean A specifying the color. The to fill in. Parses a textual specification of a color and fill in the red, green, and blue fields of a structure. A which indicates whether the parsing succeeded. The color is not allocated. The text string can be in any of the forms accepted by XParseColor; these include name for a color from rgb.txt, such as DarkSlateGray, or a hex specification such as #3050b2 or #35b. Method GLib.Value To be added. To be added. To be added. To be added. Method Gdk.Color To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/EventProperty.xml0000644000175000001440000000502311345266756015735 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes a property change on a window. Gdk.Event Property Gdk.Atom The property that was changed. The property that was changed. None. Property Gdk.PropertyState Whether the property was changed, or deleted. Whether the property was changed. None. Property System.UInt32 The time of the event in milliseconds. The time of the event of milliseconds. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/InputFunction.xml0000644000175000001440000000222611345266756015716 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate to invoke when a condition becomes true on a file descriptor. To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/EventFocus.xml0000644000175000001440000000330111345266756015165 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes a change of keyboard focus. Gdk.Event Property System.Boolean True if the window has gained the keyboard focus, false if it has lost the focus. True if the window has gained the keyboard focus, false if it has lost the focus. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/Pixmap.xml0000644000175000001440000005150011345266756014346 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Offscreen drawable. Pixmaps are offscreen drawables that reside on the server on the X11 platform. They can be drawn upon with the standard drawing primitives, then copied to another drawable (such as a ) with . The depth of a pixmap is the number of bits per pixels. Bitmaps are simply pixmaps with a depth of 1. (That is, they are monochrome bitmaps - each pixel can be either on or off). For client-side images, see the class. Gdk.Drawable Method Gdk.Pixmap Looks up the that wraps the given native pixmap handle. a native pixmap handle. the wrapper for the native window, or if there is none. Looks up the GdkPixmap that wraps the given native pixmap handle. For example in the X backend, a native pixmap handle is an Xlib XID. Method Gdk.Pixmap Wraps a native window for the default display in a . This may fail if the pixmap has been destroyed. a native pixmap handle. The newly-created wrapper for the native pixmap or if the pixmap has been destroyed. Wraps a native window for the default display in a GdkPixmap. This may fail if the pixmap has been destroyed. For example in the X backend, a native pixmap handle is an Xlib XID. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Method Gdk.Pixmap To be added a a a To be added Method Gdk.Pixmap Wraps a native pixmap in a . This may fail if the pixmap has been destroyed. The where the pixmap is located. a native pixmap handle. The newly-created wrapper for the native pixmap or if the pixmap has been destroyed. Wraps a native pixmap in a GdkPixmap. This may fail if the pixmap has been destroyed. For example in the X backend, a native pixmap handle is an Xlib XID. Method Gdk.Pixmap To be added a a a a a a a a To be added Constructor Creates a new pixmap with the given size and depth. A , used to determine default values for the new pixmap. Can be if is specified The width of the new pixmap in pixels. The height of the new pixmap in pixels. The depth (number of bits per pixel) of the new pixmap. If -1, and drawable is not , the depth of the new pixmap will be equal to that of drawable. Create a new pixmap with a given size and depth. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Create a new pixmap using a reference drawable for depth. A , used to determine default values for the new pixmap. The width of the new pixmap in pixels. The height of the new pixmap in pixels. Creates a new pixmap with a given size and depth. Method Gdk.Pixmap Create a pixmap from XPM data. a a a an array of , defining an XPM image a To be added Method Gdk.Pixmap Create a pixmap from an XPM file using a specific colormap. a a a a a a To be added Method Gdk.Pixmap Create a pixmap from an XPM file. a a a a a To be added Method Gdk.Pixmap Create a pixmap from XPM data using a colormap. a a a a an array of , defining an image in XPM format a To be added Method Gdk.Pixmap To be added a a a a To be added Method Gdk.Pixmap To be added a a a To be added Method Gdk.Pixmap To be added a a a a To be added Method Gdk.Pixmap To be added a a a To be added Method Gdk.Pixmap Creates a new bitmap from data in XBM format. A , used to determine default values for the new pixmap. A string representing the XBM data. The width of the new pixmap in pixels. The height of the new pixmap in pixels. The bitmap. None. Method Gdk.Pixmap the desired screen. Native pixmap handle, for example, an xlib XID. Width of pixmap . Height of pixmap . Depth of pixmap . Wraps a native Pixmap for a screen. a wrapping the native ID, or if the native pixmap is destroyed. Use this method as an alternative to when the dimensions and screen are known, which saves a roundtrip to the server on X. gtk-sharp-2.12.10/doc/en/Gdk/Error.xml0000644000175000001440000000342511345266756014204 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Int32 To be added a To be added Method System.Void To be added To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/ByteOrder.xml0000644000175000001440000000350211345266756015006 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A set of values describing the possible byte-orders for storing pixel values in memory. System.Enum GLib.GType(typeof(Gdk.ByteOrderGType)) Field Gdk.ByteOrder The values are stored with the least-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc, 0xee, 0xff, 0x00. Field Gdk.ByteOrder The values are stored with the most-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0x00, 0xcc, 0xee, 0xff. gtk-sharp-2.12.10/doc/en/Gdk/DeviceKey.xml0000644000175000001440000000520311345266756014757 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Contains information about the mapping of one device macro button onto a normal X key event. To be added System.ValueType Field Gdk.DeviceKey To be added To be added Method Gdk.DeviceKey To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.DeviceKey' To be added Field System.UInt32 Keyval to generate when the macro button is pressed. If this is 0, no keypress will be generated. To be added Field Gdk.ModifierType The modifiers set for the generated key event. To be added gtk-sharp-2.12.10/doc/en/Gdk/Pointer.xml0000644000175000001440000001063511345266756014534 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Class containing static methods for grabbing and ungrabbing the pointer as well as checking IsGrabbed status. System.Object Method System.Void Ungrab the pointer. a Method Gdk.GrabStatus Try to grab pointer. Returns enumeratioion value. a a a a a a a Constructor Default constructor. Class contains only static methods. Property System.Boolean Readonly property indicating if pointer is grabbed. a Method System.Boolean To be added a a a a To be added gtk-sharp-2.12.10/doc/en/Gdk/Selection.xml0000644000175000001440000003023611345266756015040 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Information exchange through the Window Server selection mechanism. The X selection mechanism provides a way to transfer arbitrary chunks of data between programs. A selection is a essentially a named clipboard, identified by a string interned as a GdkAtom. By claiming ownership of a selection, an application indicates that it will be responsible for supplying its contents. The most common selections are PRIMARY and CLIPBOARD. The contents of a selection can be represented in a number of formats, called targets. Each target is identified by an atom. A list of all possible targets supported by the selection owner can be retrieved by requesting the special target TARGETS. When a selection is retrieved, the data is accompanied by a type (an atom), and a format (an integer, representing the number of bits per item). See Properties and Atoms for more information. The functions in this section only contain the lowlevel parts of the selection protocol. A considerably more complicated implementation is needed on top of this. GTK+ contains such an implementation in the functions in gtkselection.h and programmers should use those functions instead of the ones presented here. If you plan to implement selection handling directly on top of the functions here, you should refer to the X Inter-client Communication Conventions Manual (ICCCM). System.Object Field Gdk.Atom An Atom representing the PRIMARY selection. Field Gdk.Atom The atom for the secondary selection Field Gdk.Atom The atom representing the clipboard. Method System.Boolean Sets the owner as the current owner of the selection selection. The a or NULL to indicate that the the owner for the given should be unset. An atom identifying a selection. Timestamp to use when setting the selection. If this is older than the timestamp given last time the owner was set for the given selection, the request will be ignored. if TRUE, and the new owner is different from the current owner, the current owner will be sent a SelectionClear event. TRUE if the selection owner was successfully changed to owner, otherwise FALSE. Method System.Void Sends a response to SelectionRequest event. window to which to deliver response. selection that was requested. target that was selected. property in which the selection owner stored the data, or GDK_NONE to indicate that the request was rejected. timestamp. To be added Method System.Void Send a response to SelectionRequest event. The window to which to deliver response. selection that was requested. target that was selected. property in which the selection owner stored the data, or GDK_NONE to indicate that the request was rejected. timestamp. To be added Method Gdk.Window Determine the owner of the given selection. The where the selection is an atom indentifying a selection. if there is a selection owner for this window, and it is a window known to the current process, the that owns the selection, otherwise Note that the return value may be owned by a different process if a foreign window was previously created for that window, but a new foreign window will never be created by this call. Method System.Void Retrieves the contents of a selection in a given form. The An atom identifying the selection to get the contents of. the form in which to retrieve the selection. the timestamp to use when retrieving the selection. The selection owner may refuse the request if it did not own the selection at the time indicated by the timestamp. Method System.Boolean Sets the owner of the given selection. a or NULL to indicate that the the owner for the given should be unset. An identifying a selection. timestamp to use when setting the selection. If this is older than the timestamp given last time the owner was set for the given selection, the request will be ignored. If and the new owner is different from the current owner, the current owner will be sent a SelectionClear event. if the selection owner was successfully changed to owner, otherwise Method Gdk.Window Determines the owner of the given selection. an atom indentifying a selection. If there is a selection owner for this window, and it is a window known to the current process, the that owns the selection, otherwise . Note that the return value may be owned by a different process if a foreign window was previously created for that window, but a new foreign window will never be created by this call. Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/ClosedHandler.xml0000644000175000001440000000264511345266756015625 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ClosedHandler instance to the event. The methods referenced by the ClosedHandler instance are invoked whenever the event is raised, until the ClosedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/CrossingMode.xml0000644000175000001440000000375111345266756015511 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the crossing mode for None. System.Enum GLib.GType(typeof(Gdk.CrossingModeGType)) Field Gdk.CrossingMode Crossing because of pointer motion. Field Gdk.CrossingMode Crossing because a grab is activated. Field Gdk.CrossingMode Crossing because a grab is deactivated. gtk-sharp-2.12.10/doc/en/Gdk/POINTBLOCK.xml0000644000175000001440000000225111345266756014553 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Gdk/CapStyle.xml0000644000175000001440000000512211345266756014633 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines how the end of lines are drawn. None. System.Enum GLib.GType(typeof(Gdk.CapStyleGType)) Field Gdk.CapStyle The same as Butt for lines of non-zero width. For zero width lines, the final point on the line will not be drawn. Field Gdk.CapStyle The ends of the lines are drawn squared off and extending to the coordinates of the end point. Field Gdk.CapStyle The ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point. Field Gdk.CapStyle The ends of the lines are drawn squared off and extending half the width of the line beyond the end point. gtk-sharp-2.12.10/doc/en/Gdk/DisplayOpenedHandler.xml0000644000175000001440000000277111345266756017154 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DisplayOpenedHandler instance to the event. The methods referenced by the DisplayOpenedHandler instance are invoked whenever the event is raised, until the DisplayOpenedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/VisualType.xml0000644000175000001440000001515511345266756015223 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describe the how pixel values are converted into RGB values for display. Visuals are a very important concept that is often overlooked. Roughly, a visual defines the memory representation that a piece of hardware uses to store the contents of an image. X supports different kinds of visuals to suit the different kinds of hardware out there. Some of this information comes from Federico Mena's excellent "X Concepts" document from http://www.nuclecu.unam.mx/~federico/docs/x-concepts. System.Enum GLib.GType(typeof(Gdk.VisualTypeGType)) Field Gdk.VisualType Static gray visuals are those in which you cannot change the gray intensities of the hardware. Plain monochrome (B/W) displays or fixed 4-gray displays may be of the static gray kind. Grayscale visuals are those in which you can change the gray intensities used by the hardware. Exotic 12-bit grayscale displays (as used for medical visualization) that let you change the gray intensities may be of the grayscale type. Field Gdk.VisualType Grayscale visuals are used for displays that use a single channel of color information. Black and white or grayscale monitors (including amber and green monitors) may use this type of visual. These visuals can be either static gray or grayscale. Field Gdk.VisualType An indexed color visual, where colors can not be changed. Static color visuals are those in which you cannot change the actual colors that the indexes correspond to (a static palette). Remember the old CGA cards with four fixed colors in graphics mode? These could be considered of the static color type. Field Gdk.VisualType An indexed color visual, where colors can change. Pseudo color visuals are those in which you can change the actual colors that the indexes correspond to. Each index maps to an RGB triplet that defines the color that will be displayed on the screen. You can change these RGB triplets for each index. Pseudo color visuals are very common in graphics cards. Graphics cards with 256 colors that you can change, for example, VGA cards, are of the pseudo color type. Field Gdk.VisualType True color visuals use the exact RGB values you specified for a pixel TrueColor visuals store explicit RGB values for every pixel, instead of storing a single value like indexed visuals. TrueColor visuals map the RGB into the screens RGB values without any changes. There is no transformation applied to it. Field Gdk.VisualType DirectColor visuals use RGB encoding, with a correction palette. TrueColor visuals store explicit RGB values for every pixel, instead of storing a single value like indexed visuals. The values in a direct color visual go through an indirection step before being sent to the display. Each of the R/G/B values you specify is an index in separate tables, and those tables contain a translated value. So an RGB triplet gets translated into an R'G'B' triplet, i.e. the three tables together define an f(r, g, b) -> (r', g', b') function. For most purposes, your tables will be filled by the identity function and you will get linearly increasing intensity values for each of the RGB channels. Things can become quite interesting, however, when you modify the tables to have a nonlinear mapping. If you fill them using an exponential function, you can do color correction on hardware gtk-sharp-2.12.10/doc/en/Gdk/RgbDither.xml0000644000175000001440000000416511345266756014767 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Selects whether or not applies dithering to the image on display. Since currently only handles images with 8 bits per component, dithering on 24 bit per pixel displays is a moot point. System.Enum GLib.GType(typeof(Gdk.RgbDitherGType)) Field Gdk.RgbDither Never use dithering. Field Gdk.RgbDither Use dithering in 8 bits per pixel (and below) only. Field Gdk.RgbDither Use dithering in 16 bits per pixel and below. gtk-sharp-2.12.10/doc/en/Gdk/KeymapKey.xml0000644000175000001440000000543611345266756015016 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.KeymapKey To be added To be added Method Gdk.KeymapKey To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.KeymapKey' To be added Field System.UInt32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/Trapezoid.xml0000644000175000001440000001060211345266756015047 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.Trapezoid To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Method Gdk.Trapezoid To be added a a To be added gtk-sharp-2.12.10/doc/en/Gdk/EventGrabBroken.xml0000644000175000001440000000556011345266756016133 00000000000000 gdk-sharp 2.12.0.0 Gdk.Event Property Gdk.Window The event window. a . Property Gdk.Window The Window which broke the grab. a , or . If the window which broke the grab is outside the application, the value will be . Constructor Native struct pointer. Internal constructor. This constructor is exposed for binding use and should not be used by application code. Property System.Boolean Indicates a keyboard grab. for a keyboard grab or for mouse. Property System.Boolean Indicates if the broken grab was implicit. for an implicit grab. Indicates a grab was broken by another grab. gtk-sharp-2.12.10/doc/en/Gdk/Drawable.xml0000644000175000001440000015523111345266756014637 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Functions for drawing points, lines, arcs, and text. To be added GLib.Object Method System.Void Draws a number of points using the given graphics context. A An array of objects. Method System.Void Render a onto the Drawable object with the specified colors. A , the graphics context to use the X position of the left of the layout (in pixels) the Y position of the top of the layout (in pixels) the layout to render the foreground color the background color Render a onto the Drawable object, overriding the layout's normal colors with and/or . and need not be allocated. Method System.Void Render a onto the Drawable object. A , the graphics context to use A , the X position of the start of string (in pixels) A , the Y position of the baseline (in pixels) A Method System.Void A , the graphics context to use the X position of the start of string (in pixels) the Y position of the baseline (in pixels) To be added. the foreground color the background color Render a onto the Drawable object, overriding the layout's normal colors. Render a onto the Drawable object, overriding the layout's normal colors with and/or . and need not be allocated. Method System.Void Render a onto a The base to use. the X position of the left of the layout (in pixels) the Y position of the top of the layout (in pixels) A If the layout's PangoContext has a transformation matrix set, then x and y specify the position of the top left corner of the bounding box (in device space) of the transformed layout. If you are using Gtk, the usual way to obtain a is . Method System.Void Fills and with the size of the Drawable. or can be if you only want the other one. A A On the X11 platform, if this Drawable object is also a , the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server. Method System.Void Draws a number of unconnected lines. A A , a list of segments to draw. A , the number of segments. TODO: Drawable.custom needs to be edited to make segs an array of Gdk.Segment objects. Method System.Void Low-level glyph drawing function. A A A A A This is a low-level function; 99% of text rendering should be done using instead. A glyph is a character in a font. This function draws a sequence of glyphs. To obtain a sequence of glyphs you have to understand a lot about internationalized text handling, which you don't want to understand; thus, use instead of this function, handles the details. Method Gdk.Image Returns a client-side representing the server-side . A , X coordinate of the upper left corner of the region to get as a drawable A , Y coordinate of the upper left corner of the region to get as a drawable. A , width of the rectangle A , height of the rectangle. A containing the contents of this Drawable object. A stores client-side image data (pixels). In contrast, and are server-side objects. This method obtains the pixels from a server-side drawable as a client-side . The format of a depends on the of the current display, which makes manipulating extremely difficult; therefore, in most cases you should use instead of this lower-level function. A contains image data in a canonicalized RGB format, rather than a display-dependent format. Of course, there's a convenience vs. speed tradeoff here, so you'll want to think about what makes sense for your application. , , , and define the region of the drawable to obtain as an image. You would usually copy image data to the client side if you intend to examine the values of individual pixels, for example to darken an image or add a red tint. It would be prohibitively slow to make a round-trip request to the windowing system for each pixel, so instead you get all of them at once, modify them, then copy them all back at once. If the X server or other windowing system backend is on the local machine, this function may use shared memory to avoid copying the image data. If the source drawable is a #GdkWindow and partially offscreen or obscured, then the obscured portions of the returned image will contain undefined data. Method System.Void Draws a portion of a drawable into another. A A , the source Drawable. A A A A A A Copies the x region of at coordinates (, ) to coordinates (, ) in . and/or may be given as -1, in which case the entire drawable will be copied. Most fields in are not used for this operation, but notably the clip mask or clip region will be honored. The source and destination drawables must have the same visual and colormap, or errors will result. (On X11, failure to match visual/colormap results in a BadMatch error from the X server.) A common cause of this problem is an attempt to draw a bitmap to a color drawable. The way to draw a bitmap is to set the bitmap as a clip mask on your #GdkGC, then use to draw a rectangle clipped to the bitmap. Method System.Void Draws a onto a drawable. A A A A A A A A The depth of the must match the depth of the . Method System.Void Draws a point at (,). A A A Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.Colormap The color map for this Drawable. The current on the Drawable. You only need to set the color map if the drawable-creating function did not have a way to determine the colormap, and you then use drawable operations that require a colormap. The colormap for all drawables and graphics contexts you intend to use together should match. i.e. when using a #GdkGC to draw to a drawable, or copying one drawable to another, the colormaps should match. Property Gdk.Region Computes the region of a drawable that is potentially visible. A This does not necessarily take into account if the window is obscured by other windows, but no area outside of this region is visible. You must call when done. Property Gdk.Region Computes the region of a drawable that potentially can be written to by drawing primitives. A . You must call when done. Computes the region of a drawable that potentially can be written to by drawing primitives. This region will not take into account the clip region for the GC, and may also not take into account other factors such as if the window is obscured by other windows, but no area outside of this region will be affected by drawing primitives. You must call the Destroy method on the returned region when done. Property Gdk.Visual Gets the describing the pixel format of drawable. A Property System.Int32 Obtains the bit depth of the drawable. The bit depth. Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. Examples are 8 bits per pixel, 24 bits per pixel, etc. Property Gdk.Screen Gets the associated with a a Property Gdk.Display Gets the associated with the . The . Method System.Void Draws a series of lines connecting the given points. a a The way in which joins between lines are draw is determined by the value in the . This can be set with property. Method System.Void Draws a Polygon connecting a set of points. a a a This method is obsolete. Use the overload which takes a for Method System.Void Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the . a a a A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling Gdk.DrawRectangle (window, gc, TRUE, 0, 0, 20, 20) results in a filled rectangle 20 pixels wide and 20 pixels high. Calling Gdk.DrawRectangle (window, gc, FALSE, 0, 0, 20, 20) results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high. Method System.Void Draws a line, using the foreground color and other attributes of the a a a a a Method System.Void Draws an arc or a filled 'pie slice'. The arc is defined by the bounding rectangle of the entire ellipse, and the start and end angles of the part of the ellipse to be drawn. a true if the arc should be filled, producing a 'pie slice'. The x-coordinate of the upper left hand of the bounding box of the arc. The y-coordinate of the upper left hand of the bounding box of the arc. the width of the bounding rectangle. the height of the bounding rectangle. The starting angle of the arc in the clockwise direction in reference to the 3'oclock position in terms of 1/64th of a degree. The number of 1/64ths of a degree to sweep the arc in a clockwise direction relative to the starting angle. Draw the left side of a circle with a radius of 5 units. Gdk.Pixmap.DrawArc(gc, false, 0, 0, 10, 10, 90 * 64, 180 * 64); Method System.Void Renders a rectangular portion of a to a A used for clipping. The to render Source X coordinate within pixbuf. Source Y coordinates within pixbuf. Destination X coordinate within drawable. Destination Y coordinate within drawable. Width of region to render, in pixels, or -1 to use pixbuf width. Height of region to render, in pixels, or -1 to use pixbuf height. Dithering mode for GdkRGB. X offset for dither. Y offset for dither. The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them on the property. On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow. The clip mask of gc is ignored, but clip rectangles and clip regions work fine. Method System.Void Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the . a a a a a a A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling Gdk.DrawRectangle (window, gc, TRUE, 0, 0, 20, 20) results in a filled rectangle 20 pixels wide and 20 pixels high. Calling Gdk.DrawRectangle (window, gc, FALSE, 0, 0, 20, 20) results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high. Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor This is a constructor used by derivative types of Drawable. This is not typically used by C# code. Method System.Void To be added a a a a a a a a Method System.Void To be added a a a a a a a a a a Method System.Void To be added a a a a a a a a a Method System.Void To be added a a a a a a a a Method System.Void To be added a a a a a a a a Method System.Void To be added a a a a a a a a a a Method System.Void Draws a Polygon connecting a set of points. a a a Method System.Void Deprecated: use instead. a a a a a Deprecated. Method System.UInt32 Deprecated: draws a numbre of wide-char characters a a a a a a Use instead. Method System.Void Deprecated: use instead. a a a a a To be added Method System.IntPtr This method is deprecated, do not use. a a To be added Method Gdk.Drawable To be added a To be added Method Gdk.Image Copies a portion of drawable into the client side image structure image. a a a a a a a a To be added Method System.Void To be added To be added Method System.Void This method is deprecated and should not be used with new code. a a a This method is deprecated and should not be used in newly-written code. Method System.Void To be added a a a a a a To be added Method System.Void To be added a a a To be added gtk-sharp-2.12.10/doc/en/Gdk/Fill.xml0000644000175000001440000000514511345266756014002 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines how primitives are drawn. None. System.Enum GLib.GType(typeof(Gdk.FillGType)) Field Gdk.Fill Draw with the foreground color. Field Gdk.Fill Draw with a tiled pixmap. Field Gdk.Fill Draw using the stipple bitmap. Pixels corresponding to bits in the stipple bitmap that are set will be drawn in he foreground color; pixels corresponding to bits that are not set will be left untouched. Field Gdk.Fill Draw using the stipple bitmap. Pixels corresponding to bits in the stipple bitmap that are set will be drawn in the foreground color; pixels corresponding to bits that are not set will be drawn with the background color. gtk-sharp-2.12.10/doc/en/Gdk/EventOwnerChange.xml0000644000175000001440000001243611345266756016317 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.EventOwnerChange To be added To be added Field Gdk.EventType To be added To be added Field System.SByte To be added To be added Field System.UInt32 To be added To be added Field Gdk.OwnerChange To be added To be added Field System.UInt32 To be added To be added Field System.UInt32 To be added To be added Method Gdk.EventOwnerChange To be added a a To be added Property Gdk.Window To be added. To be added. To be added. Property Gdk.Atom To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/DisplayOpenedArgs.xml0000644000175000001440000000344411345266756016471 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Display The opened display. The newly opened . None. gtk-sharp-2.12.10/doc/en/Gdk/Keymap.xml0000644000175000001440000003163711345266756014347 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Object for keyboard code manipulation Defines translations from keyboard states to a `keyval`. Two phase translation: determine keyboard group and level for keyboard state, then lookup the keycode/group/level triplet in the keymap and get the corresponding keyval. Keycode is the hardware/keyboard code for that key. Keygroup is used for language and horizontal tracking [ "group 1" is english, "group 2" is hebrew]. Keylevel is used to track letter case/alternate representation and vertical movement [ level 0 is "a", level 1 is "A" ; alternately, level 0 is "1" and level 1 is "!" ]. GLib.Object Method System.UInt32 Looks up a keyval mapped to a keycode/group/level triplet. If no keyval is bound to `key`, the method returns 0. An object of type 'Gdk.KeymapKey', initalized keycode/group/level triplet. An object of type 'uint', a keyval or 0 if none was found. None Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.Keymap To be added To be added: an object of type 'Gdk.Keymap' To be added Property Pango.Direction Member that represents the current direction of the keymap. An object of type 'Pango.Direction', current keymap direction. None Event System.EventHandler An event handler that raised when the direction of a keymap has been changed. None GLib.Signal("direction_changed") Event System.EventHandler To be added To be added GLib.Signal("keys_changed") Method Gdk.Keymap To be added a a To be added Method System.Boolean Translates the contents of a Gdk.KeymapKey into a keyval/group/level. Modifiers affecting the translation are returned in `consumed_modifiers`. `effective_group` is the group used in translation. Key level is determined by `state`. An object of type , a keyboard code. An object of type , a modifier state. An object of type , active keyboard group. An object of type , return reference for `keyval`. An object of type , return reference for `effective group`. An object of type , return reference for the new level. An object of type , return reference for modifiers used to determine group/level. An object of type , return if keys were found and returned. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor To be added To be added Method System.Void Stores in a reference to a list of the keys bound to . The nth Gdk.KeymapKey in is associated with the nth keyval in . When a keycode is pressed by the user, the keyval from is selected. An object of type , a keyboard code. An object of type , return reference for the list of keys. An object of type , return reference for the list of corresponding keyvals for Method Gdk.KeymapKey[] Gets a list of keycode/group/level combinations that generate a . An object of type , such as GDK_a, GDK_up, GDK_RETURN, etc. the list of key sequences. Method System.Boolean Requests Bidi layout status. If , bi-directional layout is in use. To be added. gtk-sharp-2.12.10/doc/en/Gdk/EdgeTableEntry.xml0000644000175000001440000000227111345266756015747 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Gdk/Colormap.xml0000644000175000001440000002741711345266756014676 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A structure that contains different colors. None. GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new colormap for the given visual. A if true, the newly created colormap will be a private colormap, and all colors in it will be allocated for the applications use. None. Property Gdk.Colormap Gets the system's default colormap for the default screen. The system's default colormap for the default screen. None. Property Gdk.Visual Returns the visual for which a given colormap was created. The of the colormap. None. Method System.Boolean Allocates a single color from a colormap. The color to allocate. On return the pixel field will be filled in if allocation succeeds. If true, the color is allocated writeable (their values can later be changed using ). Writeable colors cannot be shared between applications. If true, GDK will attempt to do matching against existing colors if the color cannot be allocated as requested. True if the allocation succeeded. None. Property Gdk.Screen Gets the screen for which this colormap was created. The screen for which this colormap was created. None. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Locates the RGB color in the colormap corresponding to the given hardware pixel. Pixel value in hardware display format. with red, green, blue fields initialized. Pixel must be a valid pixel in the colormap; it's a programmer error to call his function with a pixel which is not in the colormap. Hardware pixels are normally obtained from , or from a . (A contains image data in hardware format, a contains image data in a canonical 24-bit RGB format.) Method System.Void Frees previously allocated colors. The colors to free. The number of colors in colors. None. Method System.Int32 Allocates colors from a colormap. The color values to allocate. On return, the pixel values for allocated colors will be filled in. The number of colors in colors. If true, the colors are allocated writeable (their values can later be changed using ). Writeable colors cannot be shared between applications. If true, GDK will attempt to do matching against existing colors if the colors cannot be allocated as requested. An array of length ncolors. On return, this indicates whether the corresponding color in colors was sucessfully allocated or not. The number of colors that were not successfully allocated. None. Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Property System.Int32 To be added a To be added System.Obsolete Method Gdk.Colormap To be added a To be added Method System.Void To be added To be added Method System.Void To be added a To be added Property System.Int32 The size of the The size of the gtk-sharp-2.12.10/doc/en/Gdk/AreaUpdatedArgs.xml0000644000175000001440000000601711345266756016107 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The height of the screen area that was updated. A Property System.Int32 The width of the screen area that was updated. A Property System.Int32 The Y coordinate of the upper left point in the updated area. A Property System.Int32 The X coordinate of the upper left point in the updated area. A gtk-sharp-2.12.10/doc/en/Gdk/EventFunc.xml0000644000175000001440000000152211345266756015004 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gdk/PixbufFrameAction.xml0000644000175000001440000000337711345266756016467 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gdk.PixbufFrameAction To be added Field Gdk.PixbufFrameAction To be added Field Gdk.PixbufFrameAction To be added gtk-sharp-2.12.10/doc/en/Gdk/GC.xml0000644000175000001440000006227711345266756013416 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a graphics context The Gdk.GC class is used to represent a graphics context. A number of resources are used when performing graphics operations. Most information about performing graphics (for example, foreground color, background color, line style, and so on) is stored in resources called graphics contexts (GCs). Most graphics operations take a GC as an argument. Graphics operations can be performed to either windows () or pixmaps (), which collectively are called drawables (). Each drawable exists on a single screen. A GC is created for a specific screen and drawable depth and can only be used with drawables of matching screen and depth. GLib.Object Method System.Void Copy the set of values from one graphics context onto another graphics context. The GC to copy. Copies the settings of the graphics context into this GC. Method System.Void Set the origin when using tiles or stipples with the GC. the x-coordinate of the origin. the y-coordinate of the origin. Set the origin when using tiles or stipples with the GC. The tile or stipple will be aligned such that the upper left corner of the tile or stipple will coincide with this point. Method System.Void Sets the origin of the clip mask. the x-coordinate of the origin. the y-coordinate of the origin. Sets the origin of the clip mask. The coordinates are interpreted relative to the upper-left corner of the destination drawable of the current operation. Method System.Void Set the x and y offsets on the Gdk.GC amount by which to offset the GC in the X direction amount by which to offset the GC in the Y direction Offset attributes such as the clip and tile-stipple origins of the GC so that drawing at x - x_offset, y - y_offset with the offset GC has the same effect as drawing at x, y with the original GC. Method System.Void Sets attributes of a graphics context in bulk. struct containing the new values mask indicating which struct fields are to be used Sets attributes of a graphics context in bulk. For each flag set in values_mask, the corresponding field will be read from values and set as the new value for gc. If you're only setting a few values on gc, calling individual "setter" functions is likely more convenient. Method System.Void Sets various attributes of how lines are drawn. the width of lines. the dash-style for lines. the manner in which the ends of lines are drawn. the way in which lines are joined together. Sets various attributes of how lines are drawn. See the corresponding members of Gdk.GC.Values for full explanations of the arguments. Method System.Void Retrieves the current values from a graphics context. the structure in which to store the results. Retrieves the current values from a graphics context. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added: an object of type 'Gdk.Drawable' To be added Constructor To be added To be added: an object of type 'Gdk.Drawable' To be added: an object of type 'Gdk.GCValues' To be added: an object of type 'Gdk.GCValuesMask' To be added Property Gdk.Color Set the foreground color of a GC using an unallocated color. an object of type 'Gdk.Color' Set the foreground color of a GC using an unallocated color. The pixel value for the color will be determined using GdkRGB. If the colormap for the GC has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap. Calling this function for a GC without a colormap is an error. Property Gdk.Rectangle Sets the clip mask for a graphics context from a rectangle. an object of type 'Gdk.Rectangle' Sets the clip mask for a graphics context from a rectangle. The clip mask is interpreted relative to the clip origin. (See ). Property Gdk.Pixmap Set a tile pixmap for a graphics context. an object of type 'Gdk.Pixmap' Set a tile pixmap for a graphics context. This will only be used if the fill mode is GDK_TILED. Property Gdk.Pixmap Sets the clip mask for a graphics context from a bitmap. a bitmap. Sets the clip mask for a graphics context from a bitmap. The clip mask is interpreted relative to the clip origin. (See ). Property Gdk.Fill Set the fill mode for a graphics context. the new fill mode. Set the fill mode for a graphics context. Property Gdk.Colormap Sets the colormap for the GC to the given colormap. a Gdk.Colormap Fetches or changes the colormap of the GC. The depth of the colormap's visual must match the depth of the drawable for which the GC was created. Property Gdk.Color Set the background color of a GC using an unallocated color. a Gdk.Color Set the background color of a GC using an unallocated color. The pixel value for the color will be determined using GdkRGB. If the colormap for the GC has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap. Calling this function for a GC without a colormap is an error. Property Gdk.Color Sets the foreground color for a graphics context. the new foreground color. Sets the foreground color for a graphics context to the given color. The color must have been allocated for this to work. Gdk.GC my_gc = new Gdk.GC (gdk_window); // // Create the color // Gdk.Color red_color = new Gdk.Color (0xff, 0, 0); // // Allocate it // Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (ref red_color, true, true); my_gc.Foreground = red_color; // // Draw diagonal, using the GC with the red color // gdk_window.DrawLine (my_gc, 0, 0, 100, 100); Property Gdk.Region Sets the clip mask for a graphics context from a region structure. the Gdk.Region Sets the clip mask for a graphics context from a region structure. The clip mask is interpreted relative to the clip origin. (See ). Property Gdk.SubwindowMode Sets how drawing with this GC on a window will affect child windows of that window. the subwindow mode. Sets how drawing with this GC on a window will affect child windows of that window. Property Gdk.Pixmap Set the stipple bitmap for a graphics context. the new stipple bitmap. Set the stipple bitmap for a graphics context. The stipple will only be used if the fill mode is or . Property Gdk.Function Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values. a function. Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values. Property Gdk.Color Sets the background color for a graphics context. the new background color. Sets the background color for a graphics context. The color must have been allocated. Gdk.GC my_gc = new Gdk.GC (gdk_window); // // Create the color // Gdk.Color back_color = new Gdk.Color (0xff, 0, 0); Gdk.Color fore_color = new Gdk.Color (0, 0, 0xff); // // Allocate them // Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (ref back_color, true, true); Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (ref fore_color, true, true); my_gc.Background = back_color; my_gc.Background = fore_color; // // Draw a thick line, alternating between foreground and // background colors // my_gc.SetLineAttributes (3, LineStyle.DoubleDash, CapStyle.NotLast, JoinStyle.Round); // // Draw diagonal, using the GC with the red color // gdk_window.DrawLine (my_gc, 0, 0, 100, 100); Property System.Boolean Sets whether or not this GC should geenrate exposure events. To be added: an object of type 'bool' Sets whether copying non-visible portions of a drawable using this graphics context generate exposure events for the corresponding regions of the destination drawable. (See ). Property Gdk.Screen To be added a To be added Method System.Void Sets the way dashed-lines are drawn. the dash offset. an array of dash lengths. the number of elemenst in dash_list. Sets the way dashed-lines are drawn. Lines will be drawn with alternating on and off segments of the lengths specified in dash_list. The manner in which the on and off segments are drawn is determined by the line_style value of the GC. (This can be changed with Gdk.GC.SetLineAttributes()) Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Property Gdk.Font To be added a To be added System.Obsolete Method Gdk.GC To be added a To be added Method System.Void To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/DisplayPointerHooks.xml0000644000175000001440000000333711345266756017067 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.DisplayPointerHooks To be added To be added Method Gdk.DisplayPointerHooks To be added a a To be added gtk-sharp-2.12.10/doc/en/Gdk/Input.xml0000644000175000001440000001161011345266756014205 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a To be added Method System.Void To be added a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/PixbufError.xml0000644000175000001440000000621311345266756015360 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Possible errors that can be thrown by a . System.Enum GLib.GType(typeof(Gdk.PixbufErrorGType)) Field Gdk.PixbufError The image file is corrupt. Field Gdk.PixbufError There is insufficient memory to hold this pixbuf data. Field Gdk.PixbufError An invalid option was specified. Field Gdk.PixbufError The given file type is not allowed. Field Gdk.PixbufError The given operation is not supported. Field Gdk.PixbufError The operation failed. gtk-sharp-2.12.10/doc/en/Gdk/ScanLineList.xml0000644000175000001440000000226111345266756015440 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Gdk/PixbufFrame.xml0000644000175000001440000001620311345266756015321 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added System.ValueType Field Gdk.PixbufFrame To be added Method Gdk.PixbufFrame To be added A A Property Gdk.Pixbuf To be added A System.Obsolete("Replaced by Revert property.") Property Gdk.Pixbuf To be added A System.Obsolete("Replaced by Composited property.") Property Gdk.Pixbuf To be added A System.Obsolete("Replaced by Pixbuf property.") Field System.Int32 To be added Field System.Int32 To be added Field System.Int32 To be added Field System.Int32 To be added Field Gdk.PixbufFrameAction To be added Field System.Boolean To be added Field System.Boolean To be added Property Gdk.Pixbuf To be added. To be added. To be added. Property Gdk.Pixbuf To be added. To be added. To be added. Property Gdk.Pixbuf To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gdk/PangoAttrStipple.xml0000644000175000001440000001465311345266756016360 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Field Gdk.PangoAttrStipple To be added To be added System.Obsolete("Gdk.PangoAttrStipple is a reference type now, use null") Constructor To be added To be added: an object of type 'Gdk.Pixmap' To be added Method Gdk.PangoAttrStipple Obsolete: replaced by normal constructor To be added: an object of type 'Gdk.Pixmap' To be added: an object of type 'Gdk.PangoAttrStipple' Constructor To be added To be added: an object of type 'IntPtr' To be added Method Gdk.PangoAttrStipple Obsolete internal constructor To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.PangoAttrStipple' To be added Property Gdk.Pixmap To be added. To be added. To be added. Property Gdk.Pixmap Obsolete alias for the property To be added: an object of type 'Gdk.Pixmap' To be added System.Obsolete("Replaced by Stipple property.") Method Pango.Attribute To be added. To be added. To be added. To be added. Method Gdk.PangoAttrStipple To be added. To be added. To be added. To be added. Property Pango.Attribute To be added. To be added. To be added. System.Obsolete("Replaced by explicit Pango.Attribute cast") gtk-sharp-2.12.10/doc/en/Gdk/PixbufRotation.xml0000644000175000001440000000565511345266756016077 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Possible rotations which can be passed to . To make them easier to use, their numerical values are the actual degrees. System.Enum GLib.GType(typeof(Gdk.PixbufRotationGType)) Field Gdk.PixbufRotation No rotation. Field Gdk.PixbufRotation Rotate by 90 degrees. Field Gdk.PixbufRotation Rotate by 180 degrees. Field Gdk.PixbufRotation Rotate by 270 degrees. gtk-sharp-2.12.10/doc/en/Gdk/EventConfigure.xml0000644000175000001440000000607511345266756016042 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated when a window size or position has changed. Gdk.Event Property System.Int32 The new x coordinate of the window, relative to its parent. The new x coordinate of the window, relative to its parent. None. Property System.Int32 The new y coordinate of the window, relative to the parent. The new y coordinate of the window, relative to its parent. None. Property System.Int32 The new width of the window. The new width of the window. None. Property System.Int32 The new height of the window. The new height of the window. None. Constructor Internal constructor. the raw unmanaged pointer. This constructor is internal, and should not be used. gtk-sharp-2.12.10/doc/en/Gdk/PixdataDumpType.xml0000644000175000001440000000717611345266756016204 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum System.Flags Field Gdk.PixdataDumpType To be added Field Gdk.PixdataDumpType To be added Field Gdk.PixdataDumpType To be added Field Gdk.PixdataDumpType To be added Field Gdk.PixdataDumpType To be added Field Gdk.PixdataDumpType To be added Field Gdk.PixdataDumpType To be added Field Gdk.PixdataDumpType To be added gtk-sharp-2.12.10/doc/en/Gdk/EventType.xml0000644000175000001440000003734011345266756015041 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the type of the event. Do not confuse these events with the signals that GTK+ widgets emit. Although many of these events result in corresponding signals being emitted, the events are often transformed or filtered along the way. System.Enum GLib.GType(typeof(Gdk.EventTypeGType)) Field Gdk.EventType A special code to indicate a null event. Field Gdk.EventType The window manager has requested that the toplevel window be hidden or destroyed, usually when the user clicks on a special icon in the title bar. Field Gdk.EventType The window has been destroyed. Field Gdk.EventType All or part of the window has become visible and needs to be redrawn. Field Gdk.EventType The pointer (usually a mouse) has moved. Field Gdk.EventType A mouse button has been pressed. Field Gdk.EventType A mouse button has been double-clicked (clicked twice within a short period of time). Note that each click also generates a ButtonPress event. Field Gdk.EventType A mouse button has been clicked 3 times in a short period of time. Note that each click also generates a ButtonPress event. Field Gdk.EventType A mouse button has been released. Field Gdk.EventType A key has been pressed. Field Gdk.EventType A key has been released. Field Gdk.EventType The pointer has entered the window. Field Gdk.EventType The pointer has left the window. Field Gdk.EventType The keyboard focus has entered or left the window. Field Gdk.EventType The size, position or stacking order of the window has changed. Note that GTK+ discards these events for Gdk.WindowType.Child windows. Field Gdk.EventType The window has been mapped. Field Gdk.EventType The window has been unmapped. Field Gdk.EventType A property on the window has been changed or deleted. Field Gdk.EventType The application has lost ownership of a selection. Field Gdk.EventType Another application has requested a selection. Field Gdk.EventType A selection has been received. Field Gdk.EventType An input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet). Field Gdk.EventType An input device has moved out of contact with a sensing surface. Field Gdk.EventType The mouse has entered the window while a drag is in progress. Field Gdk.EventType The mouse has left the window while a drag is in progress. Field Gdk.EventType The mouse has moved in the window while a drag is in progress. Field Gdk.EventType The status of the drag operation initiated by the window has changed. Field Gdk.EventType A drop operation onto the window has started. Field Gdk.EventType The drop operation initiated by the window has completed. Field Gdk.EventType A message has been received from another application. Field Gdk.EventType The window visibility status has changed. Field Gdk.EventType Indicates that the source region was completely available when parts of a drawable were copied. This is not very useful. Field Gdk.EventType The scroll wheel was turned. Field Gdk.EventType The state of a window has changed. See for the possible window states Field Gdk.EventType A setting has been modified. Field Gdk.EventType The owner of the selection has changed. Field Gdk.EventType A pointer or keyboard grab was broken. gtk-sharp-2.12.10/doc/en/Gdk/Window.xml0000644000175000001440000025616711345266756014377 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Onscreen display area in the target window system. A is a rectangular region on the screen. It's a low-level object, used to implement high-level objects such as and on the GTK+ level. A is a toplevel window, the thing a user might think of as a "window" with a titlebar and so on; a may contain many s. For example, each has a associated with it. Gdk.Drawable Method System.Void Calls for all windows in the application. Method Gdk.Window For internal use only. Looks up the Window that wraps the given native window handle. A , a native window ID. A Method Gdk.Window For internal use only. Wraps a native window for the default display in a . This may fail if the window has been destroyed. A A Method System.Void Sets the shape mask of this window to the union of shape masks for all children of the window, ignoring the shape mask of the window itself. Contrast with which includes the shape mask of the window in the masks to be merged. Method System.Void Adds to the update area for the window. The update area is the region that needs to be redrawn, or "dirty region." A A

The call sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of in response to those expose events.

GDK will call on your behalf whenever your program returns to the main loop and becomes idle, so normally there's no need to do that manually, you just need to invalidate regions that you know should be redrawn.

The parameter controls whether the region of each child window that intersects will also be invalidated. If , then the update area for child windows will remain unaffected. See if you need fine grained control over which children are invalidated.

Method System.Void Reparents this window into the given . The window being reparented will be unmapped as a side effect. A , new parent to move this window into A , X location inside the new parent A , Y location inside the new parent Method System.Void Scroll the contents of this window, both pixels and children, by the given amount. The window itself does not move. Portions of the window that the scroll operation brings in from offscreen areas are invalidated. The invalidated region may be bigger than what would strictly be necessary. (For X11, a minimum area will be invalidated if the window has no subwindows, or if the edges of the window's parent do not extend beyond the edges of the window. In other cases, a multi-step process is used to scroll the window which may produce temporary visual artifacts and unnecessary invalidations.) A , amount to scroll in the X direction A , amount to scroll in the Y direction Method System.Boolean Set the bit gravity of the given window to static, and flag it so all children get static subwindow gravity. This is used if you are implementing scary features that involve deep knowledge of the windowing system. Don't worry about it unless you have to. A A , true if the server supports static gravity Method System.Void

Lowers this window to the bottom of the Z-order (stacking order), so that other windows with the same parent window appear above this window. This is true whether or not the other windows are visible.

If this window is a toplevel, the window manager may choose to deny the request to move the window in the Z-order, only requests the restack, but does not guarantee it.

Note that raises the window again, so don't call this function before . (Try .)

Method System.Void Equivalent to calling and in succession, except that both operations are performed at once, avoiding strange visual effects. (i.e. the user may be able to see the window first move, then resize, if you don't use this method.) A , new X position relative to window's parent A , new Y position relative to window's parent A , new width A , new height Method System.Void Destroys the window system resources associated with this window and decrements this window's reference count. The window system resources for all children of this window are also destroyed, but the children's reference counts are not decremented. Note that a window will not be destroyed automatically when its reference count reaches zero. You must call this function yourself before that happens. Method System.Void Sets the geometry hints for this window. Hints flagged in are set, hints not flagged in are unset. To unset all hints, use a of 0 and a of . A A

This function provides hints to the windowing system about acceptable sizes for a toplevel window. The purpose of this is to constrain user resizing, but the windowing system will typically (but is not required to) also constrain the current size of the window to the provided values and constrain programatic resizing via or .

Note that on X11, this effect has no effect on windows of type GDK_WINDOW_TEMP or windows where override_redirect has been turned on via since these windows are not resizable by the user.

Since you can't count on the windowing system doing the constraints for programmatic resizes, you should generally call yourself to determine appropriate sizes.

Method System.Void Asks to iconify (minimize) the window. The window manager may choose to ignore the request, but normally will honor it. Using is preferred, if you have a widget. This function only makes sense when this window is a toplevel window. Method System.Void Adds an event filter to this window, allowing you to intercept events before they reach GDK. This is a low-level operation and makes it easy to break GDK and/or GTK+, so you have to know what you're doing. Pass for this window to get all events for all windows, instead of events for a specific window. A Method System.Void A Function to use to decide if to recurse to a child. means never recurse. Adds a region to the update area for a window and some of its children

Adds to the update area for the window. The update area is the region that needs to be redrawn, or "dirty region." The call sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of the whole window in response to those expose events.

GDK will call on your behalf whenever your program returns to the main loop and becomes idle, so normally there's no need to do that manually, you just need to invalidate regions that you know should be redrawn.

The parameter controls whether the region of each child window that intersects will also be invalidated. Only children for which returns will have the area invalidated.

Method System.Void Begins a window move operation (for a toplevel window). You might use this function to implement a "window move grip," for example. The function works best with window managers that support the Extended Window Manager Hints spec (see http://www.freedesktop.org), but has a fallback implementation for other window managers. A , the button being used to drag A , root window X coordinate of mouse click that began the drag A m root window Y coordinate of mouse click that began the drag A , timestamp of mouse click that began the drag Method System.Void Indicates that you are beginning the process of redrawing @region. A

A backing store (offscreen buffer) large enough to contain will be created. The backing store will be initialized with the background color or background pixmap for this window. Then, all drawing operations performed on this window will be diverted to the backing store. When you call , the backing store will be copied to this window, making it visible onscreen. Only the part of this window contained in will be modified; that is, drawing operations are clipped to .

The net result of all this is to remove flicker, because the user sees the finished product appear all at once when you call . If you draw to the window directly without calling , the user may see flicker as individual drawing operations are performed in sequence. The clipping and background-initializing features of are conveniences for the programmer, so you can avoid doing that work yourself.

When using GTK+, the widget system automatically places calls to and around emissions of the expose_event signal. That is, if you're writing an expose event handler, you can assume that the exposed area in #GdkEventExpose has already been cleared to the window background, is already set as the clip region, and already has a backing store. Therefore in most cases, application code need not call . (You can disable the automatic calls around expose events on a widget-by-widget basis by calling gtk_widget_set_double_buffered().)

If you call this function multiple times before calling the matching , the backing stores are pushed onto a stack. copies the topmost backing store onscreen, subtracts the topmost region from all other regions in the stack, and pops the stack. All drawing operations affect only the topmost backing store in the stack. One matching call to is required for each call to .

Method System.Void Like , but also generates an expose event for the cleared area. A , x coordinate of rectangle to clear A , y coordinate of rectangle to clear A , width of rectangle to clear A , height of rectangle to clear This function has a stupid name because it dates back to the mists time, pre-GDK-1.0. Method System.Void Reverse operation for . Method System.Void To be added A A Method Gdk.Window To be added A A A A Method System.Void To be added A A A Method System.Void To be added Method System.Void To be added Method System.Void To be added Method System.Void "Pins" a window such that it's on all workspaces and does not scroll with viewports, for window managers that have scrollable viewports. (When using , may be more useful.) On the X11 platform, this function depends on window manager support, so may have no effect with many window managers. However, GDK will do the best it can to convince the window manager to stick the window. For window managers that don't support this operation, there's nothing you can do to force it to happen. Method System.Void Raises the window to the top of the Z-order (stacking order), so that other windows with the same parent window appear below this window. This is true whether or not the windows are visible. If this window is a toplevel, the window manager may choose to deny the request to move the window in the Z-order. This method only requests the restack; it does not guarantee a restack. Method System.Void A convenience wrapper around which invalidates a rectangular region. See for details. A A , whether to invalidate child windows Method System.Void Maximizes the window. If the window was already maximized, then this function does nothing.

On X11, asks the window manager to maximize the window, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "maximized"; so you can't rely on the maximization actually happening. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen.

On Windows, reliably maximizes the window.

Method System.Void Sets the background pixmap of this window. May also be used to set a background of "None" on this window, by setting a background pixmap of . A background pixmap will be tiled, positioning the first tile at the origin of this window, or if is true, the tiling will be done based on the origin of the parent window (useful to align tiles in a parent with tiles in a child). A A

A background pixmap of means that the window will have no background. A window with no background will never have its background filled by the windowing system, instead the window will contain whatever pixels were already in the corresponding area of the display.

The windowing system will normally fill a window with its background when the window is obscured then exposed, or when you call .

Method System.Void Clears an area of this window to the background color or background pixmap. A , x coordinate of rectangle to clear A , y coordinate of rectangle to clear A , width of rectangle to clear A , height of rectangle to clear Method System.Void Attempt to deiconify (unminimize) this window. On X11 the window manager may choose to ignore the request to deiconify. When using GTK+, use instead of the variant. Or better yet, you probably want to use , which raises the window, focuses it, unminimizes it, and puts it on the current desktop. Method System.Void Sets the icon of this window as a pixmap or window. A A mask bitmap If using GTK+, investigate first, and then and . If those don't meet your needs, look at . Only if all those are too high-level do you want to fall back to this method. Method System.Void For toplevel windows, withdraws them, so they will no longer be known to the window manager; for all windows, unmaps them, so they won't be displayed. Normally done automatically as part of . Method System.Void Withdraws a window (unmaps it and asks the window manager to forget about it). This function is not really useful as automatically withdraws toplevel windows before hiding them. Method System.Void "Decorations" are the features the window manager adds to a toplevel . This function sets the traditional Motif window manager hints that tell the window manager which decorations you would like your window to have. Usually you should use on a instead of using the GDK function directly. A

The argument is the logical OR of the fields in the enumeration. If is included in the mask, the other bits indicate which decorations should be turned off. If is not included, then the other bits indicate which decorations should be turned on.

Most window managers honor a decorations hint of 0 to disable all decorations, but very few honor all possible combinations of bits.

Method System.Void Sends one or more expose events to the window. A , whether to process updates for child windows The areas in each expose event will cover the entire update area for the window (see for details). Normally GDK calls on your behalf, so there's no need to call this function unless you want to force expose events to be delivered immediately and synchronously (vs. the usual case, where GDK delivers them in an idle handler). Occasionally this is useful to produce nicer scrolling behavior, for example. Method System.Void

Merges the shape masks for any child windows into the shape mask for this window. i.e. the union of all masks for this window and its children will become the new mask for this window. See .

This function is distinct from because it includes this window's shape mask in the set of shapes to be merged.

Method System.Void Begins a window resize operation (for a toplevel window). You might use this function to implement a "window resize grip," for example; in fact uses it. The function works best with window managers that support the Extended Window Manager Hints spec (see http://www.freedesktop.org), but has a fallback implementation for other window managers. A A A A A Method System.Void Indicates that the backing store created by the most recent call to () should be copied onscreen and deleted, leaving the next-most-recent backing store or no backing store at all as the active paint region. See () for full details. It is an error to call this function without a matching () first. Method System.Void A convenience wrapper around () which creates a rectangular region for you. See () for details. A Method System.Void Shows a onscreen, but does not modify its stacking order. In contrast, will raise the window to the top of the window stack. On the X11 platform, in Xlib terms, this function calls XMapWindow() (it also updates some internal GDK state, which means that you can't really use XMapWindow() directly on a GDK window). Method System.Void Remove a filter previously added with . A Method System.Void Clears the entire window to the background color or background pixmap. Method System.Void Sets keyboard focus to this window. If the window is not onscreen this will not work. In most cases, should be used on a , rather than calling this function. A , timestamp of the event calling this method Method System.Void Temporarily freezes a window such that it won't receive expose events. The window will begin receiving expose events again when is called. If has been called more than once, must be called an equal number of times to begin processing exposes. Method System.Void To be added Method System.Void

Applies a shape mask to this window. Pixels in this window corresponding to set bits in the will be visible; pixels in this window corresponding to unset bits in the will be transparent. This gives a non-rectangular window.

If is , the shape mask will be unset, and the / parameters are not used.

A , a shape mask A , X position of shape mask with respect to this window A , Y position of shape mask with respect to this window

On the X11 platform, this uses an X server extension which is widely available on most common platforms, but not available on very old X servers, and occasionally the implementation will be buggy. On servers without the shape extension, this function will do nothing.

This function works on both toplevel and child windows.

Method System.Void Repositions a window relative to its parent window. A A

For toplevel windows, window managers may ignore or modify the move; you should probably use on a widget anyway, instead of using GDK functions. For child windows, the move will reliably succeed.

If you're also planning to resize the window, use to both move and resize simultaneously, for a nicer visual effect.

Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Basic constructor A A A The type of the parameter in this auto-generated constructor is incorrect. You would normally want to use the overloaded constructor that takes a . Constructor Basic constructor a a a Property System.Boolean For debugging use only. A Property Gdk.WMFunction To be added A Property System.Boolean To be added A Property Gdk.Window To be added A Property Gdk.Window To be added A Property Gdk.Cursor Sets the cursor for the window. Sets the mouse pointer for a . To make the cursor invisible, use pixmap constructor for the cursor to create a cursor with no pixels in it. Passing for the cursor argument to this property means that window will use the cursor of its parent window. Most windows should use this default. Property Gdk.EventMask To be added A Property System.String To be added A Property Gdk.WindowType To be added A Property Gdk.WindowState To be added A Property System.String To be added A Property System.Boolean To be added A Property Gdk.WindowTypeHint To be added A Property Gdk.Region To be added A Property System.String To be added A Property Gdk.Color Sets the background color for the window. A Sets the background color of window. (However, when using GTK+, set the background of a widget with - if you're an application - or - if you're implementing a custom widget. The color must be allocated; Property Gdk.Window To be added A Property System.Boolean To be added a Property System.Boolean To be added a Method Gdk.Window To be added a a a Method Gdk.Window To be added a a a Method System.Void To be added Method System.Void To be added Method System.Int32 To be added a a a Method System.Void To be added a a a Method Gdk.Window To be added a a a Method System.Void To be added a a a a a a Method System.Void To be added a a a a a Method System.Void To be added a a Method System.Boolean Returns the decorations set on the window with . a to put the decorations in a , true if the window has decorations set, false otherwise. Method System.Void To be added a a Property System.Boolean To be added a Property System.Boolean To be added a Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gdk.Window[] To be added a Property Gdk.Window[] Gets the children of window known to Gdk. The array of windows. This function only returns children created via GDK, so for example it's useless when used with the root window; it only returns windows an application created itself. Property Gdk.Pixbuf[] To be added a Method System.Void To be added a Method System.Void To be added a a Property System.IntPtr To be added a Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added Property Gdk.Window To be added a To be added Method System.Boolean To be added a a a To be added Method System.Void To be added a a a a a a a To be added Property Gdk.Rectangle Obtains the bounding box of the window. a Area includes window manager titlebar/borders if any. The frame position is given in root window coordinates. To get the position of the window itself (rather than the frame) in root window coordinates, use . Method System.Void Adds an event filtering function for all Windows. a It is possible to do significant damage to Gdk's built in event processing using this capability if used improperly. Method System.Void Removes an event filtering function for all Windows. a Property System.Boolean To be added a To be added Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void The region to be moved. The offset in the X direction. The offset in the Y direction. Moves a region by a specified offset. The portions of that not covered by its new position are invalidated. Property System.Boolean Indicates if the window needs the user's urgent attention. to set the hint, or to clear it. Method System.Void a containing the mask. x offset within the Window. y offset within the Window. Applies an Input shape mask to the Window. Depends on optional features within the windowing environment. If those features aren't supporting the method has no effect. Method System.Void Sets the input mask to the union of all child window masks. Ignores the windows own mask. If you wish to add the child window masks to the parent, use . Method System.Void a containing the desired input mask. x offset within the Window. y offset within the Window. Applies an Input shape region to the Window. Depends on optional features within the windowing environment. If those features aren't supporting the method has no effect. Method System.Void Merges the union of all child window masks into the Input mask. Includes the current window input mask. To ignore the parent mask, use . Method System.Void Emits a short beep. Property System.Boolean Sets Composited indicator of window. If window is composited. Composited windows are not automatically drawn to the screen, but are instead rendered to an offscreen buffer and an expose event is sent to the window's parent. Property System.Double Opacity Property. A double between 0 and 1. Property System.String Startup notification ID. A string. When using Gtk, consider using instead.
gtk-sharp-2.12.10/doc/en/Gdk/PixbufSimpleAnim.xml0000644000175000001440000000712711345266756016332 00000000000000 gdk-sharp 2.12.0.0 Gdk.PixbufAnimation Constructor System.Obsolete Do not use. Internal constructor. Do not use. Constructor native object handle. Internal constructor. Do not use. Constructor width of images in the animation. height of images in the animation. frame rate of the animation. Creates a Simple Pixbuf Animation instance. Method System.Void a which matches the dimensions of the animation. Adds a frame to the animation. Method GLib.GType To be added. To be added. To be added. Property GLib.GType Native Type. Do not use. Do not use. Simple Pixbuf Animation. gtk-sharp-2.12.10/doc/en/Gdk/PixbufAnimationIter.xml0000644000175000001440000001656511345266756017045 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An iterator used by for displaying animations by stepping through frames. GLib.Object Method System.Boolean Possibly advances an animation to a new frame. Chooses the frame based on the start time passed to . A , pointer to a C time object A , true if the image may need updating.

would normally come from g_get_current_time(), and must be greater than or equal to the time passed to , and must increase or remain unchanged each time this method is called. That is, you can't go backward in time; animations only play forward.

As a shortcut, pass for the current time and g_get_current_time() will be invoked on your behalf. So you only need to explicitly pass if you're doing something odd like playing the animation at double speed.

If this method returns false, there's no need to update the animation display, assuming the display had been rendered prior to advancing; if true, you need to call and update the display with the new pixbuf.

Method System.Boolean Used to determine how to respond to the signal when loading an animation. is emitted for an area of the frame currently streaming into the loader. So if you're on the currently loading frame, you need to redraw the screen for the updated area. A , true if the frame we're on is partially loaded, or the last frame Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Int32 Gets the number of milliseconds the current pixbuf should be displayed, or -1 if the current pixbuf should be displayed forever. A , delay time in milliseconds (thousandths of a second) g_timeout_add() (FIXME: this doesn't seem to be bound) conveniently takes a timeout in milliseconds, so you can use a timeout to schedule the next update. Property Gdk.Pixbuf Gets the current pixbuf which should be displayed; the pixbuf will be the same size as the animation itself (, ). This pixbuf should be displayed for milliseconds. The caller of this function does not own a reference to the returned pixbuf; the returned pixbuf will become invalid when the iterator advances to the next frame, which may happen anytime you call . Copy the pixbuf to keep it (don't just add a reference), as it may get recycled as you advance the iterator. A Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor Protected constructor.
gtk-sharp-2.12.10/doc/en/Gdk/Char.xml0000644000175000001440000001050311345266756013763 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/PixbufAnimation.xml0000644000175000001440000003037311345266756016212 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A base class for animations that are rendered using GLib.Object Method Gdk.PixbufAnimationIter Get an iterator for displaying an animation. The iterator provides the frames that should be displayed at a given time. It should be freed after use with g_object_unref(). A A to move over the animation

would normally come from g_get_current_time() (FIXME: this function isn't bound into C#; this needs a look), and marks the beginning of animation playback. After creating an iterator, you should immediately display the pixbuf returned by . Then, you should install a timeout (with g_timeout_add() (FIXME)) or by some other mechanism ensure that you'll update the image after milliseconds. Each time the image is updated, you should reinstall the timeout with the new, possibly-changed delay time.

As a shortcut, if is , the result of g_get_current_time() will be used automatically.

To update the image (i.e. possibly change the result of gdk_pixbuf_animation_iter_get_pixbuf() to a new frame of the animation), call gdk_pixbuf_animation_iter_advance().

If you're using , in addition to updating the image after the delay time, you should also update it whenever you receive the area_updated signal and returns true. In this case, the frame currently being fed into the loader has received new data, so needs to be refreshed. The delay time for a frame may also be modified after an signal, for example if the delay time for a frame is encoded in the data after the frame itself. So your timeout should be reinstalled after any signal.

A delay time of -1 is possible, indicating "infinite."

Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Public constructor; creates a new animation by loading it from a file. The file format is detected automatically. If the file's format does not support multi-frame images, then an animation with a single frame will be created. Possible errors are in the and domains. A , the filename to load into this object. Property System.Int32 The width of the animation. A Property Gdk.Pixbuf Gets the image if this animation is actually a static, unanimaged file. A Property System.Int32 The height of the animation. A Property System.Boolean If you load a file with and it turns out to be a plain, unanimated image, then this function will return TRUE. Use to retrieve the image. a Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Method Gdk.PixbufAnimation To be added a To be added Method System.Void To be added To be added Method Gdk.PixbufAnimation Loads a pixbuf from a resource file. the name of the resource a This loads an animation from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Constructor Makes a new animation object from a . a Useful for creating an animation from an image file that resides in memory. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a memory stream to the buffer */ System.IO.MemoryStream memorystream = new System.IO.MemoryStream(buffer); /* create an animation from the stream as if it was a file */ Gdk.PixbufAnimation pba = new Gdk.PixbufAnimation(memorystream); Constructor Constructor for images embedded in an assembly The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly This method is used to construct a from an embedded resource in an assembly. Typically this is used when application developers want to distribute images in a single executable. If the assembly parameter is , the image will be looked up on the calling assembly. For example: Gdk.PixbufAnimation p = new PixbufAnimation (null, "anim.gif"); Compile with: mcs -resource:anim.gif sample.cs
gtk-sharp-2.12.10/doc/en/Gdk/FilterReturn.xml0000644000175000001440000000410311345266756015532 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the result of applying a to a native event. None. System.Enum GLib.GType(typeof(Gdk.FilterReturnGType)) Field Gdk.FilterReturn Event not handled, continue processing. Field Gdk.FilterReturn Native event translated into a GDK event and tored in the event structure that was passed in. Field Gdk.FilterReturn Event handled, terminate processing. gtk-sharp-2.12.10/doc/en/Gdk/FilterFunc.xml0000644000175000001440000000204611345266756015152 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Delegate for callbacks invoked by . To be added. System.Delegate Gdk.FilterReturn gtk-sharp-2.12.10/doc/en/Gdk/EventExpose.xml0000644000175000001440000000552711345266756015365 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated when all or part of a window becomes visible and needs to be redrawn. Gdk.Event Property Gdk.Rectangle The bounding box of the The bounding box of the None. Property System.Int32 The number of contiguous Expose Events following this one. The number of contiguous Expose Events following this one. The only use for this is "exposure compression", i.e. handling all contiguous Expose events in one go, though GDK performs some exposure compression so this is not normally needed Property Gdk.Region The region that needs to be redrawn. The that needs to be redrawn. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/WindowClass.xml0000644000175000001440000000327311345266756015351 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the class of a window. System.Enum GLib.GType(typeof(Gdk.WindowClassGType)) Field Gdk.WindowClass A "normal" window for graphics and events. None. Field Gdk.WindowClass Window for events only. These windows are invisible; they are used to trap events, but can not be drawn on. None. gtk-sharp-2.12.10/doc/en/Gdk/EventSelection.xml0000644000175000001440000000724011345266756016041 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated when a selection is requested or ownership of a selection is taken over by another client application. To be added Gdk.Event Property Gdk.Atom The property in which to place the result of the conversation. The property in which to place the result of the conversion. None. Property Gdk.Atom The selection. The selection. None. Property Gdk.Atom The target to which the selection should be converted. The target to which the selection should be converted. None. Property System.UInt32 The native window on which to place . The native window on which to place . None. Property System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Constructor Internal constructor. raw unmanaged pointer. Internal constructor, do not use. gtk-sharp-2.12.10/doc/en/Gdk/EventCrossing.xml0000644000175000001440000001403711345266756015705 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated when the pointer enters or leaves a window. Gdk.Event Property System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property Gdk.ModifierType An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. None. Property System.Double The x coordinate of the pointer relative to the window. The x coordinate of the pointer relative to the window. None. Property System.Double The y coordinate of the pointer relative to the window. The y coordinate of the pointer relative to the window. None. Property System.Double The x coordinate of the pointer relative to the root of the screen. The x coordinate of the pointer relative to the root of the screen. None. Property System.Double The y coordinate of the pointer relative to the root of the screen. The y coordinate of the pointer relative to the root of the screen. None. Property Gdk.Window The window that was entered or left. The window that was entered or left. None. Property Gdk.CrossingMode The crossing mode. The crossing mode. None. Property Gdk.NotifyType The kind of crossing that happened. The kind of crossing that happened. None. Property System.Boolean True if window is the focus window or an inferior. True if window is the focus window or an inferior. None. Constructor Internal constructor. raw managed pointer. This constructor should never be used. gtk-sharp-2.12.10/doc/en/Gdk/InterpType.xml0000644000175000001440000000646111345266756015221 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Interpolation mode for scaling operations. Bilinear is the best balance in most cases. Nearest provides faster (and low quality) scaling, while Hyper is slow but high-quality. System.Enum GLib.GType(typeof(Gdk.InterpTypeGType)) Field Gdk.InterpType Nearest neighbor sampling; this is the fastest and lowest quality mode. Quality is normally unacceptable when scaling down, but may be OK when scaling up. Field Gdk.InterpType This is an accurate simulation of the PostScript image operator without any interpolation enabled. Each pixel is rendered as a tiny parallelogram of solid color, the edges of which are implemented with antialiasing. It resembles nearest neighbor for enlargement, and bilinear for reduction. Field Gdk.InterpType Best quality/speed balance; use this mode by default. Bilinear interpolation. For enlargement, it is equivalent to point-sampling the ideal bilinear-interpolated image. For reduction, it is equivalent to laying down small tiles and integrating over the coverage area. Field Gdk.InterpType This is the slowest and highest quality reconstruction function. It is derived from the hyperbolic filters in Wolberg's "Digital Image Warping", and is formally defined as the hyperbolic-filter sampling the ideal hyperbolic-filter interpolated image (the filter is designed to be idempotent for 1:1 pixel mapping). gtk-sharp-2.12.10/doc/en/Gdk/Span.xml0000644000175000001440000000534011345266756014012 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.Span To be added To be added Method Gdk.Span To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.Span' To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/PixbufFormat.xml0000644000175000001440000001236011345266756015517 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a possible format for a . Mostly for internal use. GLib.Opaque Property System.String A description of the format. a Property System.String The MIME types supported by the format. a Property System.String The filename extensions typically used for files in the given format. a Property System.String The name of the format. a Property System.Boolean Whether pixbufs can be saved in the given format. a Constructor Basic constructor. a , pointer to the underlying C data structure. Property System.String To be added a To be added Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added gtk-sharp-2.12.10/doc/en/Gdk/GrabStatus.xml0000644000175000001440000000564411345266756015177 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Returned by and to indicate success or the reason for the failure of the grab event. None. System.Enum GLib.GType(typeof(Gdk.GrabStatusGType)) Field Gdk.GrabStatus The resource was successfully grabbed. Field Gdk.GrabStatus The resource is actively grabbed by another client. Field Gdk.GrabStatus The resource was grabbed more recently than the specified time. Field Gdk.GrabStatus The grab window or the confine_to window are not viewable. Field Gdk.GrabStatus The resource is frozen by an active grab of another client. gtk-sharp-2.12.10/doc/en/Gdk/WindowAttr.xml0000644000175000001440000002471511345266756015222 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Attributes to use for a newly-created window. None. System.ValueType Field Gdk.WindowAttr A zeroed structure. None. Method Gdk.WindowAttr Internal method. raw unmanaged pointer. A new WindowAttr. Internal method, do not use this. Property Gdk.Colormap Colormap for the window. To be added: an object of type 'Gdk.Colormap' Replaced by . System.Obsolete("Replaced by Colormap property.") Property Gdk.Visual The for the window. a for the window. Replaced by . System.Obsolete("Replaced by Visual property.") Property Gdk.Cursor Cursor for the window (see ). Cursor for the window. (see ). Replaced by . System.Obsolete("Replaced by Cursor property.") Field System.String Title of the window (for toplevel windows). None. Field System.Int32 Event mask. See . Field System.Int32 X coordinate relative to parent window. (see ). None. Field System.Int32 Y coordinate relative to parent window (see ). None. Field System.Int32 Width of the window. None. Field System.Int32 Height of the window. None. Field Gdk.WindowClass InputOutput (for a normal window) or InputOnly (for a invisible window that receives events). None. Field Gdk.WindowType Type of the window. None. Field System.String Don't use. Don't use. Field System.String Don't use. Don't use. Field System.Boolean True to bypass the window manager. None. Property Gdk.EventMask Event mask. a See . Property Gdk.Visual The for the window. a for the window. Property Gdk.Colormap Colormap for the window. an object of type 'Gdk.Colormap' Property Gdk.Cursor Cursor for the window (see ). Cursor for the window. (see ). Field Gdk.WindowTypeHint Type Hints for the window. gtk-sharp-2.12.10/doc/en/Gdk/WindowType.xml0000644000175000001440000000633611345266756015230 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the kind of window. None. System.Enum GLib.GType(typeof(Gdk.WindowTypeGType)) Field Gdk.WindowType Root window; this window has no parent, covers the entire screen, and is created by the window system None. Field Gdk.WindowType Toplevel window. This is used to implement . Field Gdk.WindowType Child window. This is used to implement child widgets, for example Field Gdk.WindowType Useless/deprecated compatibility type. None. Field Gdk.WindowType Override redirect temporary window. Used to implement Field Gdk.WindowType Foreign window. See . gtk-sharp-2.12.10/doc/en/Gdk/Status.xml0000644000175000001440000000500411345266756014371 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum GLib.GType(typeof(Gdk.StatusGType)) Field Gdk.Status To be added Field Gdk.Status To be added Field Gdk.Status To be added Field Gdk.Status To be added Field Gdk.Status To be added gtk-sharp-2.12.10/doc/en/Gdk/WMFunction.xml0000644000175000001440000000621211345266756015141 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. These are hints originally defined by the Motif toolkit. The window manager can use them when determining the functions to offer for the window. The hint must be set before mapping the window. None. System.Enum System.Flags Field Gdk.WMFunction All functions should be offered. Field Gdk.WMFunction The window should be resizable. Field Gdk.WMFunction The window should be movable. Field Gdk.WMFunction The window should be minimizable. Field Gdk.WMFunction The window should be maximizable. Field Gdk.WMFunction The window should be closable. gtk-sharp-2.12.10/doc/en/Gdk/Segment.xml0000644000175000001440000000634511345266756014521 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a line segment defined as [(x1,y1),(x2,y2)] System.ValueType Field Gdk.Segment References a static field defined as new Gdk.Segment (); Method Gdk.Segment Returns a new object. an object of type 'IntPtr' an object of type 'Gdk.Segment' Passig IntPtr.Zero returns Gdk.Segment.Zero Field System.Int32 First x-value for the line segment. Field System.Int32 First y-value for the line segment. Field System.Int32 Second x-value for the line segment. Field System.Int32 Second y-value for the line segment. gtk-sharp-2.12.10/doc/en/Gdk/PixbufSaveFunc.xml0000644000175000001440000000410211345266756015774 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Bytes to be written. Number of bytes in . Specifies the type of the method passed to . It is called once for each block of bytes that is "written" by . If successful it should return . If an error occurs it should set an error and return , in which case will fail with the same error. if successful, if failed. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gdk/InputCondition.xml0000644000175000001440000000447211345266756016064 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A set of flags used to specify conditions for which an input callback will be triggered. To be added System.Enum GLib.GType(typeof(Gdk.InputConditionGType)) System.Flags Field Gdk.InputCondition The file descriptor has become available for reading. (Or, as is standard in Unix, a socket or pipe was closed at the other end; this is the case if a subsequent read on the file descriptor returns a count of zero.) Field Gdk.InputCondition The file descriptor has become available for writing. Field Gdk.InputCondition An exception was raised on the file descriptor. gtk-sharp-2.12.10/doc/en/Gdk/CursorType.xml0000644000175000001440000007076011345266756015240 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The standard cursors available. These do not document very well currently. If you look at the GDK api docs for GdkCursorType, you can see pictures that correspond to these different cursor types. System.Enum GLib.GType(typeof(Gdk.CursorTypeGType)) Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added Field Gdk.CursorType To be added gtk-sharp-2.12.10/doc/en/Gdk/CairoHelper.xml0000644000175000001440000001265011345266756015310 00000000000000 gdk-sharp 2.12.0.0 System.Object Constructor Do not use. Method System.Void a cairo context. a . Adds a region to the current path of the context. Method System.Void a cairo context. a . Adds a rectangle to the current path of the context. Method System.Void a cairo context. a pixbuf containing a pattern. x location in context of upper left corner of pixbuf. y location in context of upper left corner of pixbuf.. Sets the source pattern for a Cairo context. Method Cairo.Context a Gdk drawable. Creates a cairo context for a drawable. the cairo context. Method System.Void a cairo context. a color. Sets the source color for the Cairo context. Method System.Void A cairo context. The desired source pixmap. x offset for . y offset for . Sets the source pixmap for a context. The pattern has an extend mode of None and is aligned so the origin of is at the speficied offset. Cairo backend API methods. gtk-sharp-2.12.10/doc/en/Gdk/EventVisibility.xml0000644000175000001440000000622211345266756016242 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated when the window visibility status has changed. The type member is set to the event type constant name that uniquely identifies it. Gdk.Event Property Gdk.VisibilityState The visibility state for the window. a The state member is set to the state of the window's visibility and can be VisibilityUnobscured, VisibilityPartiallyObscured, or VisibilityFullyObscured. The X server ignores all of a window's subwindows when determining the visibility state of the window and processes VisibilityNotify events according to the following: When the window changes state from partially obscured, fully obscured, or not viewable to viewable and completely unobscured, the X server generates the event with the state member of the EventVisibility structure set to Gdk.Visibility.Unobscured. When the window changes state from viewable and completely unob- scured or not viewable to viewable and partially obscured, the X server generates the event with the state member of the XVisibili- tyEvent structure set to Gdk.Visibility.Partial. When the window changes state from viewable and completely unobscured, viewable and partially obscured, or not viewable to viewable and fully obscured, the X server generates the event with the state member of the XVisibilityEvent structure set to Gdk.Visibility.FullyObscured. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/LineStyle.xml0000644000175000001440000000413711345266756015024 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines how lines are drawn. None. System.Enum GLib.GType(typeof(Gdk.LineStyleGType)) Field Gdk.LineStyle Lines are drawn solid. None. Field Gdk.LineStyle Even segments are drawn; odd segments are not drawn. None. Field Gdk.LineStyle Even segments are normally. Odd segments are drawn in the background color if the fill style is Fill.Solid, or in the background color masked by the stipple if the fill style is Fill.Stippled. None. gtk-sharp-2.12.10/doc/en/Gdk/DragProtocol.xml0000644000175000001440000000674411345266756015521 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used in to indicate the protocol according to which DND is done. None. System.Enum GLib.GType(typeof(Gdk.DragProtocolGType)) Field Gdk.DragProtocol The Motif DND protocol. Field Gdk.DragProtocol The Xdnd protocol. Field Gdk.DragProtocol An extension to the Xdnd protocol for unclaimed root window drops. Field Gdk.DragProtocol The simple WM_DROPFILES protocol. Field Gdk.DragProtocol The complex OLE2 DND protocol (not implemented). Field Gdk.DragProtocol Intra-application DND. Field Gdk.DragProtocol None. gtk-sharp-2.12.10/doc/en/Gdk/WindowAttributesType.xml0000644000175000001440000001123111345266756017265 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to indicate which fields in the struct should be honored. For example, if you filled in the "cursor" and "x" fields of , pass Gdk.WindowAttributesType.X | Gdk.WindowAttributesType.Cursor to new Gdk.Window (). Fields in not covered by a bit in this enum are required; for example, the width/height, wclass, and window_type fields are required. System.Enum GLib.GType(typeof(Gdk.WindowAttributesTypeGType)) System.Flags Field Gdk.WindowAttributesType Honor the title field. Field Gdk.WindowAttributesType Honor the x coordinate field. Field Gdk.WindowAttributesType Honor the y coordinate field. Field Gdk.WindowAttributesType Honor the cursor field. Field Gdk.WindowAttributesType Honor the colormap field. Field Gdk.WindowAttributesType Honor the visual field. Field Gdk.WindowAttributesType Honor the wmclass_class and wmclass_name fields. Field Gdk.WindowAttributesType Honor the override_redirect field. Field Gdk.WindowAttributesType Honor the TypeHint field. gtk-sharp-2.12.10/doc/en/Gdk/Function.xml0000644000175000001440000001502411345266756014676 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines how bit values for the source pixels are combine with the bit values for destination pixels to produce the final result. The sixteen values here correspond to the 16 different possible 2x2 truth tables. Only a couple of these values are usually useful; for colored images, only Copy, Xor and Invert are generally useful. For bitmaps, And and Or are also useful. System.Enum GLib.GType(typeof(Gdk.FunctionGType)) Field Gdk.Function Copy Field Gdk.Function Invert Field Gdk.Function Xor Field Gdk.Function Clear Field Gdk.Function And Field Gdk.Function And Reverse Field Gdk.Function And Invert Field Gdk.Function No op Field Gdk.Function Or Field Gdk.Function Equiv Field Gdk.Function Or Reverse Field Gdk.Function Copy Invert Field Gdk.Function Or Invert Field Gdk.Function N And Field Gdk.Function Nor Field Gdk.Function Set gtk-sharp-2.12.10/doc/en/Gdk/PointerHooks.xml0000644000175000001440000000327411345266756015541 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.PointerHooks To be added To be added Method Gdk.PointerHooks To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.PointerHooks' To be added gtk-sharp-2.12.10/doc/en/Gdk/GCValuesMask.xml0000644000175000001440000001757211345266756015410 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A set of flags used to indicate which fields structure are set. None. System.Enum System.Flags Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. Field Gdk.GCValuesMask The is set. gtk-sharp-2.12.10/doc/en/Gdk/ImageType.xml0000644000175000001440000000445611345266756015004 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the type of a . None. System.Enum GLib.GType(typeof(Gdk.ImageTypeGType)) Field Gdk.ImageType The original X image type, which is quite slow since the image has to be transferred from the client to the server to display it. Field Gdk.ImageType A faster image type, which uses shared memory to transfer the image data between the client and server. However this will only be available if the client and server are on the same machine and the shared memory extension is supported by the server. Field Gdk.ImageType Specifies that Shared should be tried first, and if that fails, then Normal will be used. gtk-sharp-2.12.10/doc/en/Gdk/PixbufLoader.xml0000644000175000001440000006353411345266756015506 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. PixbufLoader is a 'passive' pixbuf loader. It's not actively read pix buf data, but 'listen' for incoming data instead. It's useful in a case where you want to read the image data in small chunks. Typical use of PixbufLoader is when you want to read a very large image data or reading image from a slow media (such as a slow network connection). You can see the "Images" section of GtkDemo to learn how to use PixbufLoader. using System; using System.IO; using Gtk; using Gdk; namespace GtkDemo { public class PixbufLoaderSample : Gtk.Window { static Gdk.PixbufLoader pixbufLoader; private uint timeout_id; private static Gtk.Image progressiveImage; private VBox vbox; BinaryReader imageStream; static void Main () { Application.Init (); new PixbufLoaderSample (); Application.Run (); } public PixbufLoaderSample () : base ("images") { this.DeleteEvent += new DeleteEventHandler (WindowDelete); this.BorderWidth = 8; vbox = new VBox (false, 8); vbox.BorderWidth = 8; this.Add (vbox); Label label = new Gtk.Label ("Progressive image loading"); label.UseMarkup = true; vbox.PackStart (label); Gtk.Frame frame = new Gtk.Frame (); frame.ShadowType = ShadowType.In; Alignment alignment = new Alignment (0.5f, 0.5f, 0f, 0f); alignment.Add (frame); vbox.PackStart (alignment, false, false, 0); // Create an empty image for now; the progressive loader // will create the pixbuf and fill it in. progressiveImage = new Gtk.Image (); frame.Add (progressiveImage); StartProgressiveLoading (); this.ShowAll (); } private void WindowDelete (object o, DeleteEventArgs args) { this.Hide (); this.Destroy (); args.RetVal = true; } private void StartProgressiveLoading () { /* This is obviously totally contrived (we slow down loading * on purpose to show how incremental loading works). * The real purpose of incremental loading is the case where * you are reading data from a slow source such as the network. * The timeout simply simulates a slow data source by inserting * pauses in the reading process. */ timeout_id = GLib.Timeout.Add (150, new GLib.TimeoutHandler (ProgressiveTimeout)); } private bool ProgressiveTimeout () { if (imageStream == null) { // note you need to provide your own image // at that location to run this sample imageStream = new BinaryReader (new StreamReader ("images/alphatest.png").BaseStream); pixbufLoader = new Gdk.PixbufLoader (); pixbufLoader.AreaPrepared += new EventHandler (ProgressivePreparedCallback); pixbufLoader.AreaUpdated += new AreaUpdatedHandler (ProgressiveUpdatedCallback); } if (imageStream.PeekChar () != -1) { byte[] bytes = imageStream.ReadBytes (256); pixbufLoader.Write (bytes, (uint) bytes.Length); return true; // leave the timeout active } else { imageStream.Close (); return false; // removes the timeout } } static void ProgressivePreparedCallback (object obj, EventArgs args) { Gdk.Pixbuf pixbuf = pixbufLoader.Pixbuf; pixbuf.Fill (0xaaaaaaff); progressiveImage.FromPixbuf = pixbuf; } static void ProgressiveUpdatedCallback (object obj, AreaUpdatedArgs args) { progressiveImage.QueueDraw (); } } } GLib.Object Method System.Boolean Parses the next count bytes of image data from buffer buf. array of bytes buffer to parse. number of bytes to parse. returns true if data was parsed and loaded succesfully. If the return value is false, the PixbufLoader will be closed. Method System.Boolean Closes the loader. returns true on successful close and false on error. During the close, PixbufLoader will parse any data that has not been parsed. If the data is incomplete or corrupted, this method will return false. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor Property Gdk.Pixbuf The Pixbuf that is being loaded. an object of type Property Gdk.PixbufAnimation To be added an object of type To be added Event System.EventHandler Emitted when the area of the PixbufLoader is prepared. GLib.Signal("area_prepared") Event Gdk.AreaUpdatedHandler Emitted when the area of the PixbufLoader is updated with data. GLib.Signal("area_updated") Event System.EventHandler Emitted when the PixbufLoader is closed. GLib.Signal("closed") Property Gdk.PixbufFormat To be added a To be added Event Gdk.SizePreparedHandler Emitted when the PixbufLoader has prepared its size. GLib.Signal("size_prepared") Method System.Void Set the size of the image that will be loaded. a a Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Boolean Parses the bytes into the image data. a a This is an overload to , which determines the length automatically. Method Gdk.PixbufLoader To be added a a To be added Constructor To be added a To be added Method Gdk.PixbufLoader Loads a pixbuf from a resource file. the name of the resource a This creates a pixbuf loader to load from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Constructor Loads a Pixbuf from a . a containing the image. See also Constructor Loads a Pixbuf from a , creating it with a specific size. a containing the image. a specifying the required width. a specifying the required height. See also Constructor Loads a Pixbuf embedded in an assembly. The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly. See also Constructor Loads a Pixbuf embedded in an assembly with a specific size. The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly. The required width of the pixbuf. The required height of the pixbuf. See also Constructor Loads a Pixbuf in a buffer. The containing the image. See also Constructor Loads a Pixbuf in a buffer with a specific size. The containing the image. The required width of the pixbuf. The required height of the pixbuf. See also Constructor To be added a a a To be added Method System.Boolean Writes a Pixbuf to a buffer. a a a This overload is obsolete and has been replaced by a ulong version for 64 bit compatibility. gtk-sharp-2.12.10/doc/en/Gdk/DisplayManager.xml0000644000175000001440000001371611345266756016017 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The purpose of this class is to offer notification when displays appear or disappear or the default display changes. To be added GLib.Object Method Gdk.DisplayManager Returns the global DisplayManager instance. The global instance. This is the only valid way to access this class. Constructor Internal constructor. raw unmanaged pointer. This constructor is internal and should not be used. Property Gdk.Display Access and modify the default display. The default . None. GLib.Property("default-display") Event Gdk.DisplayOpenedHandler Event emitted when a display is opened. None. GLib.Signal("display_opened") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gdk.Display[] List all currently open displays. The currently open displays as an array of . None. Constructor Do not use. This object is a singleton object, and should be accessed through instead of creating a new instance. gtk-sharp-2.12.10/doc/en/Gdk/WindowState.xml0000644000175000001440000000703011345266756015357 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the state of a toplevel window. None. System.Enum GLib.GType(typeof(Gdk.WindowStateGType)) System.Flags Field Gdk.WindowState The window is not shown. None. Field Gdk.WindowState The window is minimized. None. Field Gdk.WindowState The window is maximized. None. Field Gdk.WindowState The window is sticky. None. Field Gdk.WindowState Fullscreen window. Field Gdk.WindowState To be added To be added Field Gdk.WindowState To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/EventMotion.xml0000644000175000001440000001353511345266756015365 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Generated when the pointer moves. Gdk.Event Property System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property Gdk.ModifierType An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. An enum representing the state of the modifier keys (e.g. Control, Shift, Alt) and the pointer buttons. None. Property System.Double The x coordinate of the pointer relative to window. The x coordinate of the pointer relative to the window. None. Property System.Double The y coordinate of the pointer relative to the window. The y coordinate of the pointer relative to the window. None. Property System.Double The x coordinate of the pointer relative to the root of the screen. The x coordinate of the pointer relative to the root of the screen. None. Property System.Double The y coordinate of the pointer relative to the root of the screen. The y coordinate of the pointer relative to the root of the screen. None. Property System.Boolean True if this event is just a hint. True if the event is just a hint. None. Property Gdk.Device The device where the event originated. The device where the event originated. None. Property System.Double[] , translated to the axes of , or null if is the mouse. , translated to the axes of , or null if is the mouse. None. Constructor Internal constructor. raw unmanaged pointer. None. gtk-sharp-2.12.10/doc/en/Gdk/WindowEdge.xml0000644000175000001440000000701611345266756015147 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines a window edge or corner. System.Enum GLib.GType(typeof(Gdk.WindowEdgeGType)) Field Gdk.WindowEdge The top left corner. Field Gdk.WindowEdge The top edge. Field Gdk.WindowEdge The top right corner. Field Gdk.WindowEdge The left edge. Field Gdk.WindowEdge The right edge. Field Gdk.WindowEdge The lower left corner. Field Gdk.WindowEdge The lower edge. added Field Gdk.WindowEdge The lower right corner. gtk-sharp-2.12.10/doc/en/Gdk/Global.xml0000644000175000001440000004677711345266756014334 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements for Shouldn't be called explicitly if Gtk.Application.Init() is used. System.Object Method System.Boolean To be added a To be added Method Gdk.PointerHooks To be added a a To be added Method System.Void To be added To be added Method System.UInt32 To be added a a To be added Method System.Void To be added a a To be added Method System.String To be added a To be added Method System.Boolean To be added a a a To be added Constructor Defaul constructor Property System.UInt32 To be added a To be added Property System.String To be added a To be added Property System.Boolean To be added a To be added Property System.String To be added a To be added Property System.String Gets the display name specified in the command line arguments passed to Global.ParseArgs. A containing the name specified. If the name was not specified then null is returned. Property System.String To be added a To be added Property Gdk.Window To be added a To be added Method System.Byte To be added a To be added Method Gdk.Device[] To be added a To be added Method Gdk.Visual[] To be added a To be added Property Gdk.Atom[] To be added a To be added Property Gdk.Window[] To be added a To be added Property System.Int32 To be added a To be added Property System.Int32 To be added a To be added Property Gdk.Window To be added a To be added Property Gdk.Rectangle[] To be added a To be added Method System.Boolean Initializes the library for usage. A containing the args used to initialize the library. A , that is true if its able to open and set the default display, otherwise its false. To be added Method System.Void Parses command line arguments and stores them for future usage. A containing the args to parse. Shouldn't be called explicitly if Global.InitCheck or Gtk.Application.Init or Gtk.Application.InitCheck are being used. Method System.Int32[] To be added a To be added Method Gdk.VisualType[] To be added a To be added Property System.Boolean To be added a To be added System.Obsolete Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Void To be added a a a a a a a To be added Method System.Int32 To be added a a a To be added Method System.Void To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/PropMode.xml0000644000175000001440000000373711345266756014646 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes how existing data is combined with new data. None. System.Enum GLib.GType(typeof(Gdk.PropModeGType)) Field Gdk.PropMode The new data replaces the existing data. Field Gdk.PropMode The new data is prepended to the existing data. Field Gdk.PropMode The new data is appended to the existing data. gtk-sharp-2.12.10/doc/en/Gdk/EventButton.xml0000644000175000001440000001731611345266756015374 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used for button press and button release events. Used for button press and button release events. The type field will be one of , , , and Double and triple-clicks result in a sequence of events being received. For double-clicks the order of events will be: Note that the first click is received just like a normal button press, while the second click results in a being received just after the . Triple-clicks are very similar to double-clicks, except that is inserted after the third click. The order of the events is: For a double click to occur, the second button press must occur within 1/4 of a second of the first. For a triple click to occur, the third button press must also occur within 1/2 second of the first button press. Gdk.Event Property System.UInt32 The time of the event in milliseconds. a Property Gdk.ModifierType A bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. a Property System.Double The x coordinate of the pointer relative to the window. a Property System.Double The y coordinate of the pointer relative to the window. a Property System.Double The x coordinate of the pointer relative to the root of the screen. a Property System.Double The y coordinate of the pointer relative to the root of the screen. a Property System.UInt32 The button which was pressed or released, numbered from 1 to 5. Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button. On 2-button mice, the middle button can often be simulated by pressing both mouse buttons together. a Property Gdk.Device The device where the event originated. a Property System.Double[] x, y translated to the axes of device, or null if device is the mouse. a Constructor Internal constructor a to a This constructor is internal and should not be used. gtk-sharp-2.12.10/doc/en/Gdk/BRESINFO.xml0000644000175000001440000000756611345266756014334 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gdk.BRESINFO To be added To be added Method Gdk.BRESINFO To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.BRESINFO' To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Gdk/InputMode.xml0000644000175000001440000000432211345266756015014 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration that describes the mode of an input device. None. System.Enum GLib.GType(typeof(Gdk.InputModeGType)) Field Gdk.InputMode The device is disabled and will not report any events. Field Gdk.InputMode The device is enabled. The device's coordinate space maps to the entire screen. Field Gdk.InputMode The device is enabled. The device's coordinate space is mapped to a single window. The manner in which this window is chosen is undefined, but it will typically be the same way in which the focus window for key events is determined. gtk-sharp-2.12.10/doc/en/Gdk/WMDecoration.xml0000644000175000001440000000671111345266756015447 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. These are hints originally defined by the Motif toolkit. The window manager can use them when determining how to decorate the window. The hint must be set before mapping the window. System.Enum System.Flags Field Gdk.WMDecoration All decorations should be applied. Field Gdk.WMDecoration A frame should be drawn around the window. Field Gdk.WMDecoration The frame should have resize handles. Field Gdk.WMDecoration A titlebar should be placed above the window. Field Gdk.WMDecoration A button for opening a menu should be included. Field Gdk.WMDecoration A minimize button should be included. Field Gdk.WMDecoration A maximize button should be included. gtk-sharp-2.12.10/doc/en/Gdk/PropertyState.xml0000644000175000001440000000317611345266756015743 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the type of a property change for a . None. System.Enum GLib.GType(typeof(Gdk.PropertyStateGType)) Field Gdk.PropertyState The property value was changed. Field Gdk.PropertyState The property value was deleted. gtk-sharp-2.12.10/doc/en/Gdk/PangoRenderer.xml0000644000175000001440000001530611345266756015647 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Pango.Renderer Method Gdk.PangoRenderer To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Property Gdk.Screen To be added a To be added GLib.Property("screen") Property Gdk.Drawable To be added a To be added Property Gdk.GC To be added a To be added gtk-sharp-2.12.10/doc/en/Gdk/Keyval.xml0000644000175000001440000001526711345266756014355 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.String To be added a a To be added Method System.Boolean Returns true if a is in upper case. A representing a in either lower or upper case. True if the is in upper case, otherwise it returns false. To be added Method System.Boolean Returns true if a is in lower case. A representing a in either lower or upper case. True if the is in lower case, otherwise it returns false. To be added Method System.UInt32 To be added a a To be added Method System.UInt32 Convertes a to its lower case value. A representing a in either lower or upper case. A representing a in lower case. The may be already lower case. Method System.UInt32 Convertes a to its upper case value. A representing a in either lower or upper case. A representing a in upper case. The may be already upper case. Method System.UInt32 To be added a a To be added Constructor To be added To be added Method System.Void To be added a a a To be added gtk-sharp-2.12.10/doc/en/Gdk/GCValues.xml0000644000175000001440000002557411345266756014575 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Holds a set of values used to create or modify a graphics context. To be added System.ValueType Field Gdk.GCValues To be added To be added Method Gdk.GCValues To be added To be added: an object of type 'IntPtr' To be added: an object of type 'Gdk.GCValues' To be added Property Gdk.Pixmap The clip mask bitmap. To be added: an object of type 'Gdk.Pixmap' To be added System.Obsolete("Replaced by ClipMask property.") Property Gdk.Pixmap The stipple bitmap. To be added: an object of type 'Gdk.Pixmap' To be added System.Obsolete("Replaced by Stipple property.") Property Gdk.Pixmap The tile pixmap. To be added: an object of type 'Gdk.Pixmap' To be added System.Obsolete("Replaced by Tile property.") Field Gdk.Color The foreground color. To be added Field Gdk.Color The background color. To be added Field Gdk.Function The bitwise operation used when drawing. To be added Field Gdk.Fill The fill style. To be added Field Gdk.SubwindowMode To be added To be added Field System.Int32 The x origin of the tile or stipple. To be added Field System.Int32 The y origin of the tile or stipple. To be added Field System.Int32 The x origin of the clip mask. To be added Field System.Int32 The y origin of the clip mask. To be added Field System.Int32 Whether graphics exposures are enabled. To be added Field System.Int32 The line width. To be added Field Gdk.LineStyle The way dashed lines are drawn. To be added Field Gdk.CapStyle The way the ends of lines are drawn. To be added Field Gdk.JoinStyle The way joins between lines are drawn. To be added Property Gdk.Font To be added a To be added Property Gdk.Pixmap To be added. To be added. To be added. Property Gdk.Pixmap To be added. To be added. To be added. Property Gdk.Pixmap To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Art/0000777000175000001440000000000011345266756012472 500000000000000gtk-sharp-2.12.10/doc/en/Art/MaskSource.xml0000644000175000001440000000407211345266756015207 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.MaskSource To be added To be added Method Art.MaskSource To be added a a To be added Field Art.RenderCallback To be added To be added gtk-sharp-2.12.10/doc/en/Art/RenderCallback.xml0000644000175000001440000000331111345266756015762 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.RenderCallback To be added To be added Method Art.RenderCallback To be added a a To be added gtk-sharp-2.12.10/doc/en/Art/VpathDash.xml0000644000175000001440000000224511345266756015015 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Art/Rgb.xml0000644000175000001440000004162111345266756013646 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added To be added Method System.Void To be added a a a a a a a a a a a a a a To be added Method System.Void To be added a a a a a a a a a a a a a a To be added Method System.Void To be added a a a a a a a a a a a a a To be added Method System.Void To be added a a a a a a a a a a a a a To be added Method System.Byte To be added a a a a a a To be added Method System.Byte To be added a a a a a a a a a To be added Method System.Byte To be added a a a a a a a a a a To be added Method System.Byte To be added a a a a a To be added Method System.Byte To be added a a a a a a a a a a To be added gtk-sharp-2.12.10/doc/en/Art/Pathcode.xml0000644000175000001440000000474111345266756014665 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.Pathcode To be added Field Art.Pathcode To be added Field Art.Pathcode To be added Field Art.Pathcode To be added Field Art.Pathcode To be added gtk-sharp-2.12.10/doc/en/Art/PixBuf.xml0000644000175000001440000003316011345266756014330 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This structure encapsulates a buffer of pixels, that can be in several specific pixel buffer formats. To be added System.ValueType Field Art.PixBuf To be added To be added Method Art.PixBuf To be added a a To be added Method Art.PixBuf Creates a deep clone of the current instance. A fresh deep copy of the current instance. Event the buffer that was given to create this buffer is copied, and its dealocation is then done by the new instance on its destruction, independently of who is responsible to free the curren buffer. Method System.Void Frees any used resources. If the destroy delegate was given its invoked, otherwise if it wasn't created with NewConstRGBx it will free the memory held by the buffer. Method System.Void Frees just the resources held by the PixBuf ignoring the given buffer. Its deprecated. Method Art.PixBuf Creates a new RGB PixBuf. The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. A newly created RGB. Method Art.PixBuf Creates a new RGBA PixBuf. The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. A newly created RGBA. Method Art.PixBuf Creates a new RGB PixBuf. The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. A newly created RGB. On destruction, the created instance will free the memory used by given buffer in pixels. Method Art.PixBuf Creates a new RGB PixBuf that invokes the given delegate on destruction. The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. The data that will be given to dfunc on its invocation. The delegate that is going to be invoked when the PixBuf gets destroyed. A newly created RGB that invokes a delegate on its destruction. Method Art.PixBuf Creates a new RGBA PixBuf. The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. A newly created RGB. On destruction, the created instance will free the memory used by given buffer in pixels. Method Art.PixBuf Creates a new RGBA PixBuf that invokes the given delegate on destruction. The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. The data that will be given to dfunc on its invocation. The delegate that is going to be invoked when the PixBuf gets destroyed. A newly created RGBA that invokes a delegate on its destruction. Field Art.PixFormat To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Property Art.DestroyNotify To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Art/Point.xml0000644000175000001440000000521711345266756014226 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Structure representing a point in the Art 2D space. The Art 2D space is not a direct cartesian 2D space: it is an indirect cartesian space (that is, its direction is the invert of the standard trigonometric direction). The 2D space used by Art is inspired by the X coordinate space. System.ValueType Field Art.Point Get a point at the origin. To be added Method Art.Point To be added a a To be added Field System.Double The X coordinate. To be added Field System.Double The Y coordinate. To be added gtk-sharp-2.12.10/doc/en/Art/DestroyNotify.xml0000644000175000001440000000164311345266756015756 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Art/PathStrokeJoinType.xml0000644000175000001440000000346311345266756016704 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.PathStrokeJoinType To be added Field Art.PathStrokeJoinType To be added Field Art.PathStrokeJoinType To be added gtk-sharp-2.12.10/doc/en/Art/RenderMaskRun.xml0000644000175000001440000000466111345266756015657 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.RenderMaskRun To be added To be added Method Art.RenderMaskRun To be added a a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Art/AlphaGamma.xml0000644000175000001440000000616511345266756015130 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The Structure AlphaGamma supports a specific value of gama. The composition with an AlphaGamma parameter is equivalent to applying a gama transformation to source images, with a alpha composition done in linear intensity space, and then applying the inverse gama tranformation, to place it back on the gamma-adjusted intensity space. This is only true when its correctly implemented, wich isn't generally the case in libart implementation. System.ValueType Field Art.AlphaGamma To be added To be added Method Art.AlphaGamma To be added a a To be added Method Art.AlphaGamma Creates a new AlphaGamma with a particular gamma value. a a Method System.Void Frees any resouces that are held by this structure. gtk-sharp-2.12.10/doc/en/Art/CompositingMode.xml0000644000175000001440000000345311345266756016235 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.CompositingMode To be added Field Art.CompositingMode To be added Field Art.CompositingMode To be added gtk-sharp-2.12.10/doc/en/Art/PathStrokeCapType.xml0000644000175000001440000000345511345266756016511 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.PathStrokeCapType To be added Field Art.PathStrokeCapType To be added Field Art.PathStrokeCapType To be added gtk-sharp-2.12.10/doc/en/Art/Render.xml0000644000175000001440000004235311345266756014356 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.Render To be added To be added Method Art.Render To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added To be added Method System.Void To be added a a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Property Art.AlphaGamma To be added a To be added Property Art.RenderMaskRun To be added a To be added Method Art.Render To be added a a a a a a a a a a a To be added Method System.Void To be added a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field Art.AlphaType To be added To be added Field System.Byte[] To be added To be added Field System.UInt32 To be added To be added Field Art.CompositingMode To be added To be added Field System.Int32 To be added To be added Field Art.AlphaType To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Method System.Byte To be added a a To be added Method System.Byte To be added a To be added Method System.Byte To be added a a a a a a To be added Method System.Byte To be added a To be added gtk-sharp-2.12.10/doc/en/Art/SvpWriter.xml0000644000175000001440000000525611345266756015105 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.SvpWriter To be added To be added Method Art.SvpWriter To be added a a To be added Method Art.SvpWriter To be added a a To be added Method Art.SVP To be added a To be added gtk-sharp-2.12.10/doc/en/Art/Affine.xml0000644000175000001440000002705011345266756014324 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Defines an affine transformation To be added System.Object Method System.Void Sets up a rotation matrix. Where to store the resulting affine transformation. Rotation angle in degrees. To be added Method System.Double Finds the expansion factor, i.e. the square root of the factor by which the affine transform affects area. The affine transformation. The expansion factor. In an affine transform composed of scaling, rotation, shearing, and translation, returns the amount of scaling. Method System.Void Set up the identity matrix. Where to store the resulting affine transform. To be added Method System.Void Flips the affine transform. Where to store the resulting affine transform. The original affine transformation. Whether or not to flip horizontally. Whether or not to flip vertically. Both horz and vert false results in a simple copy operation. True for both results in an 180 degree rotation. Method System.Void Converts an affine transform into a bit of PostScript code that implements the transform. The resulting string. The affine transform. Special cases of scaling, rotation, and translation are detected, and the corresponding PostScript operators used (this greatly aids understanding the output generated). The identity transform is mapped to the null string. Method System.Void Sets up the inverse of the given transformation. Where the resulting affine is stored. The original affine transformation. The inverse is in the classical sense; src_affine multiplied with dst_affine, or dst_affine multiplied with src_affine will be (to within roundoff error) the identify affine. See Method System.Void Multiplies two affine transforms together, i.e. the resulting dst is equivalent to doing first src1 then src2. Where to store the resulting affine transform. The first affine transform to multiply. The second affine transform to multiply. To be added Method System.Void Setup a shearing matrix Where to store the resulting affine transformation. Shear angle in degrees. To be added Method System.Boolean Determines wether a matrix is rectilinear, i.e. grid-aligned rectangles are transformed to other grid-aligned rectangles. The affine transformation to test. if the matrix is rectilinear. The implementation has epsilon-tolerance for roundoff errors. Method System.Boolean Determine if two matrices are equal. An affine transformation. Another affine transformation. if the matrices are equal. Equality is verified with epsilon-tolerance for roundoff errors. Method System.Void Sets up a translation matrix. Where to store the resulting affine transform. X translation amount. Y translation amount. To be added Method System.Void Sets up a scaling matrix. Where to store the resulting affine transform. X scale factor. Y scale factor. To be added Constructor To be added To be added Method Art.Point Apply an affine transform to an . The original point. The affine transform. The resulting point after performing the transform. To be added gtk-sharp-2.12.10/doc/en/Art/SVPRenderAAIter.xml0000644000175000001440000000464511345266756015777 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method System.Void To be added To be added Constructor To be added a To be added Method System.Void To be added a a a To be added gtk-sharp-2.12.10/doc/en/Art/SVPRenderAAStep.xml0000644000175000001440000000470111345266756016000 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.SVPRenderAAStep To be added To be added Method Art.SVPRenderAAStep To be added a a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Art/IRect.xml0000644000175000001440000001335611345266756014146 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A Structure that suports rectangle with int coordinates. System.ValueType Field Art.IRect To be added Method Art.IRect To be added a a To be added Method System.Void Copies the values of the given rectangle, into this one. The that is going to init the current one. The current rectangle will be a clone of the given one. Method System.Void Finds the union of two rectangles and initializes the current one with the result. The first source rectangle used. The first source rectangle used. Method System.Int32 Checks if the rectangle is empty. True if the rectangle is empty, false otherwise. For the rectangle to be empty, x1 has to be smaller or equal to x0, or y0 smaller or equal to y1. Method System.Void Finds the intersection of two rectangles and initializes the current one with the result. The first source rectangle used. The second source rectangle used. Field System.Int32 The first coordinate of the rectangle on the X axis. Field System.Int32 The first coordinate of the rectangle on the Y axis. Field System.Int32 The second coordinate of the rectangle on the X axis. Field System.Int32 The second coordinate of the rectangle on the Y axis. gtk-sharp-2.12.10/doc/en/Art/PixFormat.xml0000644000175000001440000000203311345266756015037 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.PixFormat To be added gtk-sharp-2.12.10/doc/en/Art/FilterLevel.xml0000644000175000001440000000572611345266756015357 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Allows the selection of the required filter level. Cubic filtering is missing because hyper is just as fast to implement and slightly better in quality. System.Enum Field Art.FilterLevel Nearest neighbor implementation. Fastest and lowest quality. Field Art.FilterLevel Accurate simulation of the PostScript image operator without any interpolation. Each pixed is rendered as a small parallelogra, of solid color, with its edges implemented with antialiasing. It looks like Nearest on enlargement and Bilinear on reduction. Field Art.FilterLevel Bilinear interpolation. On enlargement its equivalent to point-sampling the ideal bilinear-interpolated image. On reduction, its equivalent to laying down samll tiles and integrating over the coverage area. Field Art.FilterLevel Slowest and highest quality reconstruction, derived from the hyperbolic filters in Wolberg's "Digital Image Warping". Hyperbolic-filter sampling the ideal hyperbolic-filter interpolated image (its designed to be idempotent for 1:1 pixel mapping). gtk-sharp-2.12.10/doc/en/Art/ImageSource.xml0000644000175000001440000000410211345266756015330 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.ImageSource To be added To be added Method Art.ImageSource To be added a a To be added Field Art.RenderCallback To be added To be added gtk-sharp-2.12.10/doc/en/Art/SVPSeg.xml0000644000175000001440000000756511345266756014254 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.SVPSeg To be added To be added Method Art.SVPSeg To be added a a To be added Method System.Int32 To be added a a a To be added Property Art.Point To be added a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field Art.DRect To be added To be added gtk-sharp-2.12.10/doc/en/Art/Vpath.xml0000644000175000001440000001753111345266756014221 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.Vpath To be added To be added Method Art.Vpath To be added a a To be added Method Art.Vpath To be added a a a a To be added Method Art.Vpath To be added a a To be added Method System.Void To be added a To be added Method Art.Vpath To be added a a To be added Method Art.Vpath To be added a To be added Method Art.Vpath To be added a a To be added Method System.Void To be added a To be added Method System.Void To be added a a a a a To be added Field Art.Pathcode To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added gtk-sharp-2.12.10/doc/en/Art/GradientLinear.xml0000644000175000001440000001000411345266756016013 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.GradientLinear To be added To be added Method Art.GradientLinear To be added a a To be added Property Art.GradientStop To be added a To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field Art.GradientSpread To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Art/GradientRadial.xml0000644000175000001440000000720311345266756016004 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.GradientRadial To be added To be added Method Art.GradientRadial To be added a a To be added Property Art.GradientStop To be added a To be added Field System.Double[] To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.10/doc/en/Art/Rgba.xml0000644000175000001440000000737711345266756014021 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added To be added Method System.Void To be added a a a To be added Method System.Byte To be added a a a a a a To be added Method System.Byte To be added a a a a a To be added gtk-sharp-2.12.10/doc/en/Art/ImageSourceFlags.xml0000644000175000001440000000267111345266756016316 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.ImageSourceFlags To be added Field Art.ImageSourceFlags To be added gtk-sharp-2.12.10/doc/en/Art/AlphaType.xml0000644000175000001440000000340311345266756015017 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.AlphaType To be added Field Art.AlphaType To be added Field Art.AlphaType To be added gtk-sharp-2.12.10/doc/en/Art/SVP.xml0000644000175000001440000003464711345266756013616 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Sorted Vector Path To be added System.ValueType Field Art.SVP To be added To be added Method Art.SVP To be added a a To be added Method Art.SVP To be added a a To be added Method Art.Vpath To be added a a a a a a a To be added Method Art.SVP To be added a a a a a a a To be added Method System.Int32 To be added a a a To be added Method Art.SVP To be added a To be added Method System.Double To be added a a a To be added Method Art.SVP To be added a a To be added Method Art.SVP To be added a a To be added Method Art.SVP To be added a a To be added Method Art.SVP To be added a a To be added Method Art.SVPRenderAAIter To be added a a a a a To be added Method System.Void To be added a To be added Method System.Void To be added To be added Method Art.SVP To be added a a To be added Method System.Void To be added a a a a a To be added Method System.Int32 To be added a a a a a a a To be added Field System.Int32 To be added To be added Field Art.SVPSeg[] To be added To be added gtk-sharp-2.12.10/doc/en/Art/DRect.xml0000644000175000001440000002147611345266756014143 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A Structure that suports rectangle with double coordinates. System.ValueType Field Art.DRect To be added To be added Method Art.DRect To be added a a To be added Method System.Void Converts the src rectangle into a interger one. The newly created integer rectangle (). The source rectangle (). The rouding is done using floor for x0 and y0 and ceil for x1 and y1. Method System.Void Finds the bounding box os a sorted vector path. The Sorted Vector Path. The result is used to initialize the current instance. Method System.Void Finds the bounding box to the Sorted Vector Path and then unifies the resulting rectangle with the current instance. a The result is used to initialize the current instance. Method System.Void Copies the values of the given rectangle, into this one. The that is going to init the current one. The current rectangle will be a clone of the given one. Method System.Int32 Checks if the rectangle is empty. True if the rectangle is empty, false otherwise. For the rectangle to be empty, x1 has to be smaller or equal to x0, or y0 smaller or equal to y1. Method System.Void Finds the union of two rectangles and initializes the current one with the result. The first source rectangle used. The second source rectangle used. To be added Method System.Void Applies an affine transformation to the src rectangle and initializes this one with the result. The source rectangle used to apply the transformation. A with 6 elements containing the transformation's matrix. It finds the smallest rectangle enclosing the transformed src. The result is exactly the affine transformation of src when the matrix specifies an rectilinear affine transformation. otherwise its a conservative approximation. Method System.Void Finds the intersection of two rectangles and initializes the current one with the result. The first source rectangle used. The second source rectangle used. Field System.Double The first coordinate of the rectangle on the X axis. Field System.Double The first coordinate of the rectangle on the Y axis. Field System.Double The second coordinate of the rectangle on the X axis. Field System.Double The second coordinate of the rectangle on the Y axis. gtk-sharp-2.12.10/doc/en/Art/WindRule.xml0000644000175000001440000000417311345266756014666 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.WindRule To be added Field Art.WindRule To be added Field Art.WindRule To be added Field Art.WindRule To be added gtk-sharp-2.12.10/doc/en/Art/RenderAaCallback.xml0000644000175000001440000000213611345266756016230 00000000000000 art-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Art/GradientSpread.xml0000644000175000001440000000343511345266756016031 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Art.GradientSpread To be added Field Art.GradientSpread To be added Field Art.GradientSpread To be added gtk-sharp-2.12.10/doc/en/Art/GradientStop.xml0000644000175000001440000000467311345266756015545 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.GradientStop To be added To be added Method Art.GradientStop To be added a a To be added Field System.Double To be added To be added Field System.Byte[] To be added To be added gtk-sharp-2.12.10/doc/en/Art/Uta.xml0000644000175000001440000002117011345266756013662 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Art.Uta To be added To be added Method Art.Uta To be added a a To be added Method Art.Uta To be added a a a a a To be added Method Art.Uta To be added a a a a a To be added Method Art.Uta To be added a a To be added Method Art.Uta To be added a a To be added Method Art.Uta To be added a a To be added Method System.Void To be added To be added Method Art.Uta To be added a a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Method System.Int32 To be added a a a a a a To be added gtk-sharp-2.12.10/doc/en/Art/Bpath.xml0000644000175000001440000001167611345266756014201 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Support Structure for Bezier Paths System.ValueType Field Art.Bpath To be added To be added Method Art.Bpath To be added a a To be added Method Art.Bpath Apply an affine transform to the Bezier Path. An Affine Transformation. A new Bezier Path that is the result of the current with the affien transformation applyed to it. Matrix has to be a six position array. Field Art.Pathcode To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added gtk-sharp-2.12.10/doc/en/Art/Global.xml0000644000175000001440000001376311345266756014342 00000000000000 art-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements for System.Object Method Art.Point To be added a a a a a a a a a a a To be added Method Art.Vpath To be added a a a To be added Constructor Default constructor Method Art.IRect Decomposes a UTA into a list of rectangles. The given UTA. The maximum width of the resulting rectangles. The maximum height of the resulting rectangles. The number of rectangles generated. Should be an out. Its unnecessary. It should return a IRect[]. Yup, a bug. This routine provides a precise implementation, meaning that the rectangles cover exactly the same are as the uta. Method System.Byte Renders the Sorted Vector Path into the given byte[]. The given Sorted Vector Path. The left coordinate of the viewport. The top coordinate of the viewport. The right coordinate of the viewport. The bottom coordinate of the viewport. The row stride of the pixel buffer. The function is void, it should get the byte[] were to render... Its a bug. Is only renders inside the area of the viewport. gtk-sharp-2.12.10/doc/en/GLib.xml0000644000175000001440000000057111345266756013222 00000000000000 General-purpose utilities. GLib is a general-purpose utility library, which provides many useful data types, type conversions, string utilities, file utilities and so on. gtk-sharp-2.12.10/doc/en/Art.xml0000644000175000001440000000064311345266756013133 00000000000000 Art handles the drawing capabilities in Gnome. All complex rendering is handled here. Art is a 2D drawing library. Its goal is to be a high-quality vector-based 2D library with anti-aliasing and alpha composition. gtk-sharp-2.12.10/doc/en/Gtk.xml0000644000175000001440000000073211345266756013131 00000000000000 The Gtk Widget set. Gtk is a library for creating graphical user interfaces. It works on many UNIX-like platforms, Windows, and on framebuffer devices. Gtk is released under the GNU Library General Public License (GNU LGPL), which allows for flexible licensing of client applications. gtk-sharp-2.12.10/doc/en/Glade.xml0000644000175000001440000000103011345266756013410 00000000000000 User interface loading at runtime. The Glade classes give applications the ability to load user interfaces from XML files at runtime. These interface files can be created with the Glade user interface builder. The Glade classes are also capable of automatically connecting handlers to the signals defined in the interface file. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/0000777000175000001440000000000011345266756013546 500000000000000gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml0000644000175000001440000001356511345266756022577 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.Vfs.ModuleCallback Constructor To be added To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.Int32 To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/FileFlags.xml0000644000175000001440000000476211345266756016051 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration representing special flags a class can have. To be added System.Enum System.Flags Field Gnome.Vfs.FileFlags no flags. To be added Field Gnome.Vfs.FileFlags whether the file is a symlink. To be added Field Gnome.Vfs.FileFlags whether the file is on a local filesystem. To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferProgressStatus.xml0000644000175000001440000000530311345266756020042 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.Vfs.XferProgressStatus To be added To be added Field Gnome.Vfs.XferProgressStatus To be added To be added Field Gnome.Vfs.XferProgressStatus To be added To be added Field Gnome.Vfs.XferProgressStatus To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Unescape.xml0000644000175000001440000000402011345266756015743 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/SeekPosition.xml0000644000175000001440000000451511345266756016625 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to specify the start position for seek operations. To be added System.Enum Field Gnome.Vfs.SeekPosition Start of the file. To be added Field Gnome.Vfs.SeekPosition Current position. To be added Field Gnome.Vfs.SeekPosition End of the file. To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallback.xml0000644000175000001440000002442211345266756017052 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Abstract class used by modules for asking an application for necessary information (authentication for example). using GLib; using Gnome.Vfs; using System; using System.Text; namespace Test.Gnome.Vfs { public class TestCallback { private static MainLoop loop; static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: TestCallback <uri>"); return; } Gnome.Vfs.Vfs.Initialize (); Gnome.Vfs.Uri uri = new Gnome.Vfs.Uri (args[0]); Handle handle; // Test 1: Attempt to access a URI requiring authentication w/o a callback registered. try { handle = Sync.Open (uri, OpenMode.Read); Sync.Close (handle); Console.WriteLine ("Uri '{0}' doesn't require authentication", uri); return; } catch (VfsException ex) { if (ex.Result != Result.ErrorAccessDenied) throw ex; } // Test 2: Attempt an open that requires authentication. ModuleCallbackFullAuthentication cb = new ModuleCallbackFullAuthentication (); cb.Callback += new ModuleCallbackHandler (OnAuthenticate); cb.SetDefault (); handle = Sync.Open (uri, OpenMode.Read); Sync.Close (handle); // Test 3: This call should not require any new authentication. Console.WriteLine ("File info: \n{0}", uri.GetFileInfo ()); // Test 4: Attempt a call to the parent uri. FileInfo[] entries = Directory.GetEntries (uri.Parent); Console.WriteLine ("Directory '{0}' has {1} entries", uri.Parent, entries.Length); // Test 5: Pop the authentication callback and try again. cb.Pop (); try { handle = Sync.Open (uri, OpenMode.Read); } catch (VfsException ex) { if (ex.Result != Result.ErrorAccessDenied) throw ex; } Gnome.Vfs.Vfs.Shutdown (); } private static void OnAuthenticate (ModuleCallback cb) { ModuleCallbackFullAuthentication fcb = cb as ModuleCallbackFullAuthentication; Console.Write ("Enter your username ({0}): ", fcb.Username); string username = Console.ReadLine (); Console.Write ("Enter your password : "); string passwd = Console.ReadLine (); if (username.Length > 0) fcb.Username = username; fcb.Password = passwd; } } } System.Object Method System.Void Set this ModuleCallback as a temporary handler. will be called on the same thread as the gnome-vfs operation that invokes it. The temporary handler is set per-thread. removes the most recently set temporary handler. The temporary handlers are treated as a first-in first-out stack. Use this function to set a temporary callback handler for a single call or a few calls. You can use to set a callback function that will establish a permanent global setting for all threads instead. Method System.Void Remove the temporary handler set with . If another temporary handler was previously set on the same thread, it becomes the current handler. Otherwise, the default handler, if any, becomes current. The temporary handlers are treated as a first-in first-out stack. Method System.Void Set this as the default handler. will be called on the same thread as the gnome-vfs operation that invokes it. The default value is shared for all threads, but setting it is thread-safe. Use this function if you want to set a handler to be used by your whole application. You can use to set a callback function that will temporarily override the default on the current thread instead. Or you can also use to set an async callback function. Method System.Void Set as a temprary async handler. will be called from a callback on the main thread. It will be passed a response function which should be called to signal completion of the callback. The callback function itself may return in the meantime. The temporary async handler is set per-thread. removes the most recently set temporary temporary handler. The temporary async handlers are treated as a first-in first-out stack. Use this function to set a temporary async callback handler for a single call or a few calls. You can use to set an async callback function that will establish a permanent global setting for all threads instead. Method System.Void Remove the temporary async handler most recently set with . If another temporary async handler was previously set on the same thread, it becomes the current handler. Otherwise, the default async handler, if any, becomes current. The temporary async handlers are treated as a first-in first-out stack. Method System.Void Set the default async callback. will be called from a callback on the main thread. It will be passed a response function which should be called to signal completion of the callback. The callback function itself may return in the meantime. The default value is shared for all threads, but setting it is thread-safe. Use this function if you want to globally set a callback handler for use with async operations. You can use to set an async callback function that will temporarily override the default on the current thread instead. Or you can also use to set a regular callback function. Constructor To be added To be added Event Gnome.Vfs.ModuleCallbackHandler Event which is called when a gnome-vfs module requires additional information from an application such as authentication. Implementations of have properties such as which can be retrieved and set from the handler. These properties are only valid during the callback activation. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Application.xml0000644000175000001440000003300511345266756016450 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method Gnome.Vfs.MimeApplication To be added. To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MonitorHandler.xml0000644000175000001440000000313611345266756017134 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Delegate used for notification of changes in monitored files and/or directories. See . To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DNSSDResolveCallback.xml0000644000175000001440000000276411345266756020045 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncReadCallback.xml0000644000175000001440000000374411345266756017502 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. To be added. Delegate used for notifying when an asynchronous operation has finished. To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncOpenCallback.xml0000644000175000001440000000150511345266756017521 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackFullAuthentication.xml0000644000175000001440000002007211345266756022572 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.Vfs.ModuleCallback Constructor To be added To be added Property Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.Int32 To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.Boolean To be added a To be added Property System.String To be added a To be added Property System.Boolean To be added a To be added Property System.String To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Daemon.xml0000644000175000001440000000133511345266756015411 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/FilePermissions.xml0000644000175000001440000002062611345266756017325 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. File permissions. These are the same as the Unix ones, but we wrap them into a nicer VFS-like enum. To be added System.Enum System.Flags Field Gnome.Vfs.FilePermissions UID bit. To be added Field Gnome.Vfs.FilePermissions GID bit. To be added Field Gnome.Vfs.FilePermissions sticky bit. To be added Field Gnome.Vfs.FilePermissions owner has read permission. To be added Field Gnome.Vfs.FilePermissions owner has write permission. To be added Field Gnome.Vfs.FilePermissions owner has execution permission. To be added Field Gnome.Vfs.FilePermissions owner has all permissions. To be added Field Gnome.Vfs.FilePermissions group has read permission. To be added Field Gnome.Vfs.FilePermissions group has write permission. To be added Field Gnome.Vfs.FilePermissions group has execution permission. To be added Field Gnome.Vfs.FilePermissions group has all permissions. To be added Field Gnome.Vfs.FilePermissions others have read permission. To be added Field Gnome.Vfs.FilePermissions others have write permission. To be added Field Gnome.Vfs.FilePermissions others have execution permission. To be added Field Gnome.Vfs.FilePermissions others have all permissions. To be added Field Gnome.Vfs.FilePermissions To be added To be added Field Gnome.Vfs.FilePermissions To be added To be added Field Gnome.Vfs.FilePermissions To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncCloseCallback.xml0000644000175000001440000000151011345266756017661 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumeOpCallback.xml0000644000175000001440000000163511345266756017374 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumeType.xml0000644000175000001440000000466511345266756016330 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The type of . To be added System.Enum Field Gnome.Vfs.VolumeType a Volume with a local mountpoint. To be added Field Gnome.Vfs.VolumeType a Volume mounted via Gnome.Vfs directly. To be added Field Gnome.Vfs.VolumeType a Volume obtained via the "Connect To Server" function of Nautilus. To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DNSSDServiceStatus.xml0000644000175000001440000000207411345266756017607 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Enum Field Gnome.Vfs.DNSSDServiceStatus To be added. Field Gnome.Vfs.DNSSDServiceStatus To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferOverwriteAction.xml0000644000175000001440000000611311345266756020156 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.Vfs.XferOverwriteAction To be added To be added Field Gnome.Vfs.XferOverwriteAction To be added To be added Field Gnome.Vfs.XferOverwriteAction To be added To be added Field Gnome.Vfs.XferOverwriteAction To be added To be added Field Gnome.Vfs.XferOverwriteAction To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumeMonitor.xml0000644000175000001440000003520211345266756017025 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Abstraction for Removable devices. The VolumeMonitor offers a simple way to get removable devices: name, icon, type, etc and operations: Eject, Mount, Unmount and others. In order to use, you need to execute the static method . This method give you a pointer to VolumeMonitor, this is a singleton, which means that it will exists and be valid until // This example show how to get all connected drives using System; using Gnome.Vfs; namespace TestGnomeVFS { public class Test() { public static void Main() { Vfs.Initialize(); VolumeMonitor vMonitor = VolumeMonitor.Get(); Drive[] drv = vMonitor.ConnectedDrives; foreach Drive d in drv) { Console.WriteLine(d.DisplayName); } Vfs.Shutdown(); } } } GLib.Object Method Gnome.Vfs.VolumeMonitor Returns a pointer to the VolumeMonitor singleton. VolumeMonitor is a singleton, this means it is guaranteed to exist and be valid until is called. a To be added Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method Gnome.Vfs.Volume Looks for a which contains . a a To be added Method Gnome.Vfs.Drive Looks for a whose id is . a a To be added Method Gnome.Vfs.Volume Looks for a whose id is . a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property GLib.GType GType Property. a Returns the native value for . Event Gnome.Vfs.VolumePreUnmountHandler a is about to be unmounted. To be added GLib.Signal("volume_pre_unmount") Event Gnome.Vfs.DriveDisconnectedHandler a was disconnected. To be added GLib.Signal("drive_disconnected") Event Gnome.Vfs.VolumeUnmountedHandler a was unmounted. To be added GLib.Signal("volume_unmounted") Event Gnome.Vfs.DriveConnectedHandler a new was connected. To be added GLib.Signal("drive_connected") Event Gnome.Vfs.VolumeMountedHandler a was mounted. To be added GLib.Signal("volume_mounted") Property Gnome.Vfs.Drive[] Returns an array of connected s. a To be added Property Gnome.Vfs.Volume[] Returns an array of mounted s. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumeUnmountedArgs.xml0000644000175000001440000000524411345266756020174 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gnome.Vfs.Volume the that was unmounted. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MimeType.xml0000644000175000001440000002030211345266756015732 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. File Types; functions for getting information about files based on their MIME type. To be added System.Object Field System.String The value returned for the mime type when a file did not match any entries in the mime database. May be treated as a file of an unknown type. To be added Method System.String Shortcut for determining the mime type of a file. Use this if you just want to know what mime type a file has and do not want to create a new instance of MimeType. representation of the . representation of the mime type. To be added Constructor Construct a new MimeType for this . a To be added Constructor Construct a new MimeType for the specified mime type. representation of the mime type. To be added Constructor Tries to guess the mime type of the data in the buffer using the magic patterns. a array containing the first part of a file. the size of the buffer. To be added Property Gnome.Vfs.MimeActionType Query the mime database for the to be performed on a particular mime type by default. a To be added Property Gnome.Vfs.MimeAction Query the mime database for default associated with a particular mime type. a To be added Property System.String Query the mime database for a description of the specified mime type. a To be added Property System.String Query the mime database for an icon representing the specified mime type. The filename of the icon as listed in the mime database. This is usually a filename without path information, e.g. "i-chardev.png", and sometimes does not have an extension, e.g. "i-regular" if the icon is supposed to be image type agnostic between icon themes. Icons are generic, and not theme specific. These will not necessarily match with the icons a user sees in Nautilus, you have been warned. This property is deprecated. You should use to lookup icons. Property System.Boolean Indicates whether files of this mime type might conceivably be executable. Default for known types is false. Default for unknown types is true. a To be added Property System.String The name of the mime type. This is the same as what the method returns. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml0000644000175000001440000001350711345266756022563 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.Vfs.ModuleCallback Constructor To be added To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.Int32 To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.Boolean To be added a To be added Property System.String To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DNSSDBrowseHandle.xml0000644000175000001440000000162611345266756017362 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferOverwriteMode.xml0000644000175000001440000000525611345266756017634 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.Vfs.XferOverwriteMode To be added To be added Field Gnome.Vfs.XferOverwriteMode To be added To be added Field Gnome.Vfs.XferOverwriteMode To be added To be added Field Gnome.Vfs.XferOverwriteMode To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DriveDisconnectedArgs.xml0000644000175000001440000000456511345266756020427 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gnome.Vfs.Drive The disconnected . a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/FileInfoFields.xml0000644000175000001440000002276511345266756017042 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Flags indicating what properties in a class are valid. Name is always assumed valid (how else would you have gotten a instance otherwise?). To be added System.Enum System.Flags Field Gnome.Vfs.FileInfoFields no properties are valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields property is valid. To be added Field Gnome.Vfs.FileInfoFields the access properties (, and ) are valid. To be added Field Gnome.Vfs.FileInfoFields To be added. Field Gnome.Vfs.FileInfoFields To be added. Field Gnome.Vfs.FileInfoFields To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumePreUnmountArgs.xml0000644000175000001440000000526011345266756020330 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gnome.Vfs.Volume the about to be unmounted. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VfsStreamAsyncResult.xml0000644000175000001440000001217611345266756020322 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. implementation tracking a pending asynchronous operation. To wait until the operation has finished, you cannot use the since that will also block the Gnome.Vfs thread. Instead, use like this: while (!asyncResult.IsCompleted) { GLib.MainContext.Iteration (); } System.Object System.IAsyncResult Property System.Object Gets the user-provided state object supplied at the time the asynchronous operation was started. a To be added Property System.Threading.WaitHandle Retrieving this property will throw a . Instead use "while (!asyncResult.IsCompleted) { GLib.MainContext.Iteration(); }" to wait for the operation to finish. a To be added Property System.Boolean Returns whether the asynchronous operation completed synchronously. a To be added Property System.Exception Retrieves the that occurred during the asynchronous operation. a To be added Property System.Boolean Indicates whether the asynchronous operation has finished. a If an error occurred during the operation, contains the exception that was thrown. Property System.Int32 Returns the number of bytes read or written during the operation. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VfsStream.xml0000644000175000001440000001216411345266756016122 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. implementation using the Gnome.Vfs library. The VfsStream class hides the Gnome.Vfs API from the developer. It uses the class and associated enums to access the representation of the passed in the constructor. This class is particularly useful if you want to develop an application that wants to use Gnome.Vfs where available, but can't depend on it being available always. On platforms where Gnome.Vfs is not available, the application can fallback to a regular . This doesn't affect how the rest of the application deals with the stream since both implement the abstract class. System.IO.Stream Constructor Construct a new instance of the VfsStream with the specified . representing the to open. specifying how to open the . The underlying file will be accessed synchronously using the class. Constructor Construct a new instance of the VfsStream with the specified . Based the async parameter, the file will be accessed (a)synchronously. representing the to open. specifying how to open the . whether to access the file (a)sychronously. The underlying file will be accessed either by using the or class. Property System.Boolean value indicating whether the current stream is (a)synchronous. a To be added Property System.String Gets the representing the which this stream reads and writes from. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Context.xml0000644000175000001440000000457611345266756015644 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. Constructor To be added. To be added. Method System.Void To be added. To be added. Method Gnome.Vfs.Context To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackAuthentication+AuthenticationType.xml0000644000175000001440000000231311345266756025562 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Enum Field Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType To be added. Field Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DvdArgumentType.xml0000644000175000001440000000624711345266756017277 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Enum Field Gnome.Vfs.DvdArgumentType To be added. Field Gnome.Vfs.DvdArgumentType To be added. Field Gnome.Vfs.DvdArgumentType To be added. Field Gnome.Vfs.DvdArgumentType To be added. Field Gnome.Vfs.DvdArgumentType To be added. Field Gnome.Vfs.DvdArgumentType To be added. Field Gnome.Vfs.DvdArgumentType To be added. Field Gnome.Vfs.DvdArgumentType To be added. Field Gnome.Vfs.DvdArgumentType To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferProgressCallback.xml0000644000175000001440000000271411345266756020256 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added To be added. System.Delegate System.Int32 gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Address.xml0000644000175000001440000001106111345266756015570 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method Gnome.Vfs.Address To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property System.UInt32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Move.xml0000644000175000001440000000500611345266756015113 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationOutFlags.xml0000644000175000001440000000172511345266756024243 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Enum System.Flags Field Gnome.Vfs.ModuleCallbackFullAuthenticationOutFlags To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Read.xml0000644000175000001440000000524511345266756015065 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Result.xml0000644000175000001440000005305611345266756015473 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration containing result codes for gnome-vfs operations. To be added System.Enum Field Gnome.Vfs.Result No error. To be added Field Gnome.Vfs.Result File not found. To be added Field Gnome.Vfs.Result Generic error. To be added Field Gnome.Vfs.Result Internal error. To be added Field Gnome.Vfs.Result Invalid parameters. To be added Field Gnome.Vfs.Result Unsupported operation. To be added Field Gnome.Vfs.Result I/O error. To be added Field Gnome.Vfs.Result Data corrupted. To be added Field Gnome.Vfs.Result Format not valid. To be added Field Gnome.Vfs.Result Bad file handle. To be added Field Gnome.Vfs.Result File too big. To be added Field Gnome.Vfs.Result No space left on device. To be added Field Gnome.Vfs.Result Read-only file system. To be added Field Gnome.Vfs.Result Invalid . To be added Field Gnome.Vfs.Result File not open. To be added Field Gnome.Vfs.Result Open mode not valid. To be added Field Gnome.Vfs.Result Access denied. To be added Field Gnome.Vfs.Result Too many open files. To be added Field Gnome.Vfs.Result End of file. To be added Field Gnome.Vfs.Result Not a directory. To be added Field Gnome.Vfs.Result Operation in progress. To be added Field Gnome.Vfs.Result Operation interrupted. To be added Field Gnome.Vfs.Result File exists. To be added Field Gnome.Vfs.Result Looping links encountered. To be added Field Gnome.Vfs.Result Operation not permitted. To be added Field Gnome.Vfs.Result Is a directory. To be added Field Gnome.Vfs.Result Not enough memory. To be added Field Gnome.Vfs.Result Host not found. To be added Field Gnome.Vfs.Result Host name not valid. To be added Field Gnome.Vfs.Result Host has no address. To be added Field Gnome.Vfs.Result Login failed. To be added Field Gnome.Vfs.Result Operation cancelled. To be added Field Gnome.Vfs.Result Directory busy. To be added Field Gnome.Vfs.Result Directory not empty. To be added Field Gnome.Vfs.Result Too many links. To be added Field Gnome.Vfs.Result Read only file system. To be added Field Gnome.Vfs.Result Not on the same file system. To be added Field Gnome.Vfs.Result Name too long. To be added Field Gnome.Vfs.Result Service not available. To be added Field Gnome.Vfs.Result Request obsoletes service's data. To be added Field Gnome.Vfs.Result Protocol error. To be added Field Gnome.Vfs.Result Could not find master browser. To be added Field Gnome.Vfs.Result No default action associated. To be added Field Gnome.Vfs.Result No handler for URL scheme. To be added Field Gnome.Vfs.Result Error parsing command line. To be added Field Gnome.Vfs.Result Error launching command. To be added Field Gnome.Vfs.Result Number of errors. To be added Field Gnome.Vfs.Result To be added. Field Gnome.Vfs.Result To be added. Field Gnome.Vfs.Result To be added. Field Gnome.Vfs.Result To be added. Field Gnome.Vfs.Result To be added. Field Gnome.Vfs.Result To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Uri.xml0000644000175000001440000005533611345266756014757 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Functions for manipulating Uris. To be added GLib.Opaque Method System.String Returns a full Uri given a full base Uri, and a secondary Uri which may be relative. a a a To be added Method System.String Retrieve base file name for the Uri, ignoring any trailing path separators. a This matches the XPG definition of basename, but not g_basename. This is often useful when you want the name of something that's pointed to by a Uri, and don't care whether the Uri has a directory or file form. If the Uri points to the root of a domain, the host name is returned. If there's no host name, it returns a single path character. Method System.String Translate the Uri into a printable string hiding the fields specified by . hide the specified fields. a To be added Method System.String Retrieve base file name for the Uri, ignoring any trailing path separators. a This matches the XPG definition of basename, but not g_basename. This is often useful when you want the name of something that's pointed to by a Uri, and don't care whether the Uri has a directory or file form. If the Uri points to the root (including the root of any domain), it returns a single path character. Method Gnome.Vfs.Uri Create a new Uri from relative_reference, relative to this Uri. representing a possibly relative Uri reference. a To be added Method Gnome.Vfs.Uri Create a new Uri obtained by appending the Uri fragment. This will take care of adding an appropriate directory separator between the end of the Uri and the start of the fragment if necessary. a a To be added Method Gnome.Vfs.Uri Create a new Uri obtained by appending the path. This will take care of adding an appropriate directory separator between the end of the Uri and the start of the path if necessary as well as escaping the path as necessary. a a To be added Method System.String Extract the name of the directory in which the file pointed to by the Uri is stored as a newly allocated string. The string will end with a path character. a To be added Method Gnome.Vfs.Uri Create a new Uri obtained by appending the specified filename. This will take care of adding an appropriate directory separator between the end of Uri and the start of the filename if necessary. a a To be added Method System.Boolean Check if the possible_child Uri is contained by this Uri. If recursive is false, just try the immediate parent directory, else search up through the hierarchy. a a flag to turn recursive check on. a To be added Method Gnome.Vfs.FileInfo Returns the for this Uri. a To be added Method Gnome.Vfs.FileInfo Returns the for this Uri with the specified . for the metadata. a To be added Constructor To be added a To be added Constructor Create a new Uri instance from the representation. representation of a Uri. To be added Property System.String Retrieve the Uris host name. a To be added Property System.Boolean Check if the Uri points to an existing entity. a To be added Property System.UInt32 Retrieve the host port number. The host port number used. If the value is zero, the default port value for the specified toplevel access method is used. To be added Property System.String Retrieve the full path name. a To be added Property System.String Retrieve the user name. a To be added Property System.String Retrieve the optional fragment identifier. a To be added Property System.String Retrieve the password. a To be added Property System.Boolean Check if the Uri is a local (native) file system. a To be added Property Gnome.Vfs.Uri Retrieve the Uris parent. a To be added Property System.Boolean Check if Uri has a parent or not. a To be added Property System.String Retrieve the scheme. a To be added Property Gnome.Vfs.MimeType The Uris . a To be added Method Gnome.Vfs.Uri Creates a duplicate of the Uri. a To be added Method Gnome.Vfs.Uri[] Extracts a list of Uris from a standard text/uri-list, such as one you would get on a drop operation. a a To be added Method Gnome.Vfs.Result Truncate the Uri to be the specified length in bytes. Data past the specified length will be discarded. length of the new file. a To be added Method Gnome.Vfs.Result Unlink this Uri (i.e. delete the file). a To be added Property System.Int64 Returns the amount of free space on a . a Only works for Uris with the file: . Method System.String Returns a local path for a file:/// Uri. a a Only use with Uris. Method System.String Returns a file:/// Uri for the local path. a a To be added Method Gnome.Vfs.Result Set file information; only the information for which the corresponding bit in is set is actually modified. information that must be set for the file. bitmask for which fields should actually be modified. a To be added Method Gnome.Vfs.Uri To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml0000644000175000001440000001041311345266756021745 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.Vfs.ModuleCallback Constructor To be added To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.Boolean To be added a To be added Property Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Format.xml0000644000175000001440000000351711345266756015442 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferOptions.xml0000644000175000001440000001510711345266756016470 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum System.Flags Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added To be added Field Gnome.Vfs.XferOptions To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Truncate.xml0000644000175000001440000000737711345266756016007 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DriveConnectedArgs.xml0000644000175000001440000000453211345266756017721 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gnome.Vfs.Drive The connected . a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DriveDisconnectedHandler.xml0000644000175000001440000000407311345266756021102 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DriveDisconnectedHandler instance to the event. The methods referenced by the DriveDisconnectedHandler instance are invoked whenever the event is raised, until the DriveDisconnectedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferProgressInfo.xml0000644000175000001440000001742111345266756017456 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.Vfs.XferProgressInfo To be added To be added Field Gnome.Vfs.XferProgressStatus To be added To be added Field Gnome.Vfs.Result To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field System.String To be added To be added Field System.String To be added To be added Field System.String To be added To be added Field System.Int32 To be added To be added Field System.Boolean To be added To be added Method Gnome.Vfs.XferProgressInfo To be added a a To be added Property System.UInt64 To be added a To be added Property System.UInt64 To be added a To be added Field System.Int64 To be added To be added Field System.Int64 To be added To be added Field System.Int64 To be added To be added Field System.Int64 To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Async.xml0000644000175000001440000004120511345266756015263 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Asynchronous File Operations; POSIX-style file operations that run outside your main loop. The members of this class are all static methods and use the class to reference asynchronous operations in progress. using GLib; using Gnome.Vfs; using System; using System.Text; using System.Threading; namespace Test.Gnome.Vfs { public class TestAsync { private static MainLoop loop; private static Handle handle; static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: TestAsync <uri>"); return; } Gnome.Vfs.Vfs.Initialize (); Gnome.Vfs.Uri uri = new Gnome.Vfs.Uri (args[0]); handle = Async.Open (uri, OpenMode.Read, (int)Async.Priority.Default, new Gnome.Vfs.AsyncCallback (OnOpen)); loop = new MainLoop (); loop.Run (); Gnome.Vfs.Vfs.Shutdown (); } private static void OnOpen (Handle handle, Result result) { Console.WriteLine ("Uri opened: {0}", result); if (result != Result.Ok) { loop.Quit (); return; } byte[] buffer = new byte[1024]; Async.Read (handle, out buffer[0], (uint)buffer.Length, new AsyncReadCallback (OnRead)); } private static void OnRead (Handle handle, Result result, byte[] buffer, ulong bytes_requested, ulong bytes_read) { Console.WriteLine ("Read: {0}", result); if (result != Result.Ok && result != Result.ErrorEof) { loop.Quit (); return; } UTF8Encoding utf8 = new UTF8Encoding (); Console.WriteLine ("read ({0} bytes) : '{1}'", bytes_read, utf8.GetString (buffer, 0, (int)bytes_read)); if (bytes_read != 0) Async.Read (handle, out buffer[0], (uint)buffer.Length, new AsyncReadCallback (OnRead)); else Async.Close (handle, new Gnome.Vfs.AsyncCallback (OnClose)); } private static void OnClose (Handle handle, Result result) { Console.WriteLine ("Close: {0}", result); loop.Quit (); } } } System.Object Method System.Void Cancel an asynchronous operation and close all its callbacks. Its possible to still receive another call or two on the callback. of the async operation to be cancelled To be added Method System.Void Close a handle opened with . When the close has completed, will be called with the of the operation. a to close a to be called when the operation is complete To be added Method Gnome.Vfs.Handle Create a file at uri according to mode , with permissions . When the create has been completed will be called with the . the URI to create a file at. mode to leave the file opened in after creation (or to leave the file closed after creation). Whether the file should be created in "exclusive" mode: i.e. if this flag is nonzero, operation will fail if a file with the same name already exists. Bitmap representing the permissions for the newly created file (Unix style). a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the operation is complete. a To be added Method Gnome.Vfs.Handle Create a file at according to mode , with permissions . When the create has been completed will be called with the . the to create a file at. mode to leave the file opened in after creation (or to leave the file closed after creation). Whether the file should be created in "exclusive" mode: i.e. if this flag is nonzero, operation will fail if a file with the same name already exists. Bitmap representing the permissions for the newly created file (Unix style). a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the operation is complete. a To be added Method Gnome.Vfs.Handle Open uri according to mode . Once the file has been successfully opened, will be called with the . of the URI to open. . a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the operation is complete. a To be added Method Gnome.Vfs.Handle Open according to mode . Once the file has been successfully opened, will be called with the . to open. . a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the operation is complete. a To be added Method System.Void Read number of bytes from the file pointed to by into byte array buffer. When the operation is complete, will be called with the of the operation. for the file to be read. allocated array of to read into. Needs to be passed as "out buffer[0]". number of bytes to read. a to be called when the operation is complete. To be added Method System.Void Set the current position for reading/writing through . When the operation is complete, will be called with the of the operation. for which the current position must be changed. value representing the starting position. number of bytes to skip from the position specified by (a positive value means to move forward; a negative one to move backwards). a to be called when the operation is complete. To be added Method System.Void Write number of bytes from buffer byte array into the file pointed to be . When the operation is complete, will be called with the of the operation. for the file to be written. array containing data to be written. Needs to be passed as "out buffer[0]". number of bytes to write. a to be called when the operation is complete. To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DNSSDResolveHandle.xml0000644000175000001440000000163211345266756017535 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DNSSDService.xml0000644000175000001440000000463111345266756016404 00000000000000 gnome-vfs-sharp 2.20.0.0 System.ValueType Field System.String To be added. To be added. Field System.String To be added. To be added. Field System.String To be added. To be added. Field Gnome.Vfs.DNSSDService To be added. To be added. Method Gnome.Vfs.DNSSDService To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Vfs.xml0000644000175000001440000002065211345266756014747 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Common VFS tasks, including initialization & shutdown of the GNOME Virtual File System. To be added System.Object Method System.Boolean If Gnome.Vfs is not already initialized, initialize it. This must be called prior to performing any other Gnome.Vfs operations, and may be called multiple times without error. true if Gnome.Vfs was succesfully initialized or was already initialized. To be added Method Gnome.Vfs.Result Move a file from source to dest. This will only work if source and dest are on the same file system. Otherwise, it is necessary to use the more general function. source . destination . If true, move target to new_uri even if there is already a file at new_uri. If there is a file, it will be discarded. a To be added Method System.String Returns a string representation of , useful for debugging purposes, but probably not appropriate for passing to the user. a value. a To be added Method System.Void Throws a with the appropriate description if the is not . a To be added Method System.Void Throws a with the appropriate description if the is not . to which the pertains. return value. Throws a if is passed. Otherwise a is thrown. Method System.Void Throws a with the appropriate description if the is not . representing the in question. return value. Throws a if is passed. Otherwise a is thrown. Property System.Boolean Returns whether Gnome.Vfs has already been initialized. a Gnome.Vfs must be initialized prior to using any methods or operations. Method System.Void Cease all active Gnome.Vfs operations and unload the Mime database from memory. To be added Method System.String Formats the file size parameter in a way that is easy for the user to read. Gives the size in bytes, kilobytes, megabytes or gigabytes, choosing whatever is appropriate. a a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Sync.xml0000644000175000001440000003723711345266756015134 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. File Operations; basic POSIX-style file operations. using Gnome.Vfs; using System; using System.Text; namespace Test.Gnome.Vfs { public class TestSync { static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: TestSync <uri>"); return; } Gnome.Vfs.Vfs.Initialize (); Gnome.Vfs.Uri uri = new Gnome.Vfs.Uri (args[0]); Handle handle = Sync.Open (uri, OpenMode.Read); UTF8Encoding utf8 = new UTF8Encoding (); byte[] buffer = new byte[1024]; Result result = Result.Ok; while (result == Result.Ok) { ulong bytesRead; result = Sync.Read (handle, out buffer[0], (ulong)buffer.Length, out bytesRead); Console.WriteLine ("result read '{0}' = {1}", uri, result); if (bytesRead == 0) break; Console.WriteLine ("read ({0} bytes) : '{1}'", bytesRead, utf8.GetString (buffer, 0, (int)bytesRead)); } string test; result = Sync.FileControl (handle, "file:test", out test); Console.WriteLine ("result filecontrol '{0}' = {1}", uri, result); Console.WriteLine ("result file:test = {0}", test); result = Sync.Close (handle); Console.WriteLine ("result close '{0}' = {1}", uri, result); Gnome.Vfs.Vfs.Shutdown (); } } } System.Object Method Gnome.Vfs.Result Close file associated with . a a To be added Method Gnome.Vfs.Handle Create uri according to . representing the to create. . Whether the file should be created in "exclusive" mode: i.e. if this flag is true, the operation will fail if a file with the same name already exists. Bitmap representing the for the newly created file (Unix style). a To be added Method Gnome.Vfs.Handle Create according to . for the file to create. . Whether the file should be created in "exclusive" mode: i.e. if this flag is true, the operation will fail if a file with the same name already exists. Bitmap representing the for the newly created file (Unix style). a To be added Method Gnome.Vfs.Handle Open uri according to . representing the to open. . a To be added Method Gnome.Vfs.Handle Open according to . to open. . a To be added Method Gnome.Vfs.Result Read specified number of bytes from the uri . of the file to read data from. array that must be at least as large as the specified number of bytes to read. The array needs to be passed as "out buffer[0]". The number of bytes to read. The number of bytes actually read. a As with Unix system calls, the number of bytes read can effectively be less than the specified number of bytes on return and will be stored in bytes_read. Method Gnome.Vfs.Result Set the current position for reading/writing through . for which the current position must be changed. value representing the starting position. number of bytes to skip from the position specified by (a positive value means to move forward; a negative one to move backwards). a To be added Method Gnome.Vfs.Result Write number of bytes from buffer byte array into the file pointed to be . of the file to write data to. array containing the data to be written. number of bytes to write. number of bytes actually written. a As with Unix system calls, the number of bytes written can effectively be less than the specified number or bytes on return and will be stored in bytes_written. Method Gnome.Vfs.Result Return the current position on . This is the point in the file pointed to by that reads and writes will occur on. for which the current position must be retrieved. Contains the position on return. a To be added Method Gnome.Vfs.Result Truncate the file represented by uri to the specified length. Data past the new length will be discarded. representation of . length of the new file. a To be added Method Gnome.Vfs.Result Truncate the file pointed at by to the specified length. Data past the new length will be discarded. to the file to be truncated. length of the new file. a To be added Method Gnome.Vfs.Result Execute a backend dependent operation specified by the string operation. a to the file to affect. operation to execute. data needed to execute the operation. a This is typically used for specialized vfs backends that need additional operations that gnome-vfs doesn't have. Compare it to the unix call ioctl(). The format of data depends on the operation. Operation that are backend specific are normally namespaced by their module name. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackQuestionOut.xml0000644000175000001440000000347611345266756021300 00000000000000 gnome-vfs-sharp 2.20.0.0 System.ValueType Field System.Int32 To be added. To be added. Field Gnome.Vfs.ModuleCallbackQuestionOut To be added. To be added. Method Gnome.Vfs.ModuleCallbackQuestionOut To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Xfer.xml0000644000175000001440000001314511345266756015114 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method Gnome.Vfs.Result To be added a a a a a a a To be added Method Gnome.Vfs.Result To be added a a a a a a a To be added Method Gnome.Vfs.Result To be added a a a a a To be added Constructor To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Url.xml0000644000175000001440000000366111345266756014754 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MimeMonitor.xml0000644000175000001440000001140611345266756016445 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Gnome.Vfs.MimeMonitor To be added a To be added Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property GLib.GType GType Property. a Returns the native value for . Event System.EventHandler To be added To be added GLib.Signal("data_changed") gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Async+Priority.xml0000644000175000001440000000251711345266756017103 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Enum Field Gnome.Vfs.Async+Priority To be added. Field Gnome.Vfs.Async+Priority To be added. Field Gnome.Vfs.Async+Priority To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncFindDirectoryCallback.xml0000644000175000001440000000153211345266756021365 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/OpenMode.xml0000644000175000001440000000620211345266756015712 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Mode in which files are opened. If is not used, the file will be have to be accessed sequentially. System.Enum System.Flags Field Gnome.Vfs.OpenMode To be added To be added Field Gnome.Vfs.OpenMode To be added To be added Field Gnome.Vfs.OpenMode To be added To be added Field Gnome.Vfs.OpenMode To be added To be added Field Gnome.Vfs.OpenMode To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ResolveHandle.xml0000644000175000001440000000160611345266756016742 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncHandle.xml0000644000175000001440000000157611345266756016406 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncWriteCallback.xml0000644000175000001440000000376111345266756017720 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. To be added. Delegate used for notifying when an asynchronous operation has finished. To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Module.xml0000644000175000001440000000452011345266756015432 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VfsException.xml0000644000175000001440000000452611345266756016630 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Custom Vfs class. To be added System.Exception Constructor Create a new VfsException based on the specified . return value from an operation. To be added Property Gnome.Vfs.Result the error code from the underlying operation. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MimeActionType.xml0000644000175000001440000000445511345266756017103 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.Vfs.MimeActionType To be added To be added Field Gnome.Vfs.MimeActionType To be added To be added Field Gnome.Vfs.MimeActionType To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Directory.xml0000644000175000001440000003141711345266756016156 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Basic directory operations: creating, reading and removing directories. using GLib; using Gnome.Vfs; using System; using System.Text; namespace Test.Gnome.Vfs { public class TestInfo { private static MainLoop loop; static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: TestDirectory <uri>"); return; } Gnome.Vfs.Vfs.Initialize (); FileInfo[] entries = Gnome.Vfs.Directory.GetEntries (args[0]); Console.WriteLine ("Directory {0} contains {1} entries:", args[0], entries.Length); foreach (FileInfo info in entries) { Console.WriteLine (info.Name); } Gnome.Vfs.Directory.GetEntries (args[0], FileInfoOptions.Default, 20, (int)Gnome.Vfs.Async.Priority.Default, new AsyncDirectoryLoadCallback (OnDirectoryLoad)); loop = new MainLoop (); loop.Run (); Gnome.Vfs.Vfs.Shutdown (); } private static void OnDirectoryLoad (Result result, FileInfo[] entries, uint entries_read) { Console.WriteLine ("DirectoryLoad: {0}", result); if (result != Result.Ok && result != Result.ErrorEof) { loop.Quit (); return; } Console.WriteLine ("read {0} entries", entries_read); foreach (FileInfo info in entries) { Console.WriteLine (info.Name); } if (result == Result.ErrorEof) loop.Quit (); } } } System.Object Method Gnome.Vfs.FileInfo[] Load a directory from . a a containing the files in the directory. To be added Method Gnome.Vfs.FileInfo[] Load a directory from with the specified . a for loading the directory. a containing the files in the directory. To be added Method Gnome.Vfs.FileInfo[] Load a directory from uri. representing the URI of the directory to be loaded. a containing the files in the directory. To be added Method Gnome.Vfs.FileInfo[] Load a directory from uri with the specified . representing the URI of the directory to be loaded. for loading the directory. a containing the files in the directory. To be added Method System.Void Asynchronously load a directory from with the specified . a for loading the directory. the number of entries to read in the directory per notification. a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the specified number of entries have been read or the operation is complete. To be added Method System.Void Asynchronously load a directory from uri with the specified . representing the URI of the directory to be loaded. for loading the directory. the number of entries to read in the directory per notification. a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the specified number of entries have been read or the operation is complete. To be added Method Gnome.Vfs.Result Delete . must be an empty directory. of the directory to be removed. a To be added Method Gnome.Vfs.Result Remove uri. Uri must be an empty directory. URI of the directory to be removed. a To be added Method Gnome.Vfs.Result Create a directory at . Only succeeds if a file or directory does not already exist at . of the directory to be created. Unix-style permissions for the newly created directory. a To be added Method Gnome.Vfs.Result Create a directory at uri. Only succeeds if a file or directory does not already exist at the uri. URI of the directory to be created. Unix-style permissions for the newly created directory. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MimeEquivalence.xml0000644000175000001440000000255311345266756017262 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Enum Field Gnome.Vfs.MimeEquivalence To be added. Field Gnome.Vfs.MimeEquivalence To be added. Field Gnome.Vfs.MimeEquivalence To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml0000644000175000001440000000554711345266756021572 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.Vfs.ModuleCallback Constructor To be added To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.Int32 To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Unlink.xml0000644000175000001440000000376711345266756015461 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferErrorAction.xml0000644000175000001440000000443711345266756017270 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.Vfs.XferErrorAction To be added To be added Field Gnome.Vfs.XferErrorAction To be added To be added Field Gnome.Vfs.XferErrorAction To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumeUnmountedHandler.xml0000644000175000001440000000453011345266756020652 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the VolumeUnmountedHandler instance to the event. The methods referenced by the VolumeUnmountedHandler instance are invoked whenever the event is raised, until the VolumeUnmountedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Mime.xml0000644000175000001440000012122411345266756015075 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.MimeApplication To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method Gnome.Vfs.MimeAction To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method Gnome.Vfs.MimeActionType To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. This method is deprecated. You should use to lookup icons. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.MimeApplication[] A mime type to query, for example 'text/plain'. Gets all the applications registered for a MIME type. an array of . Method System.Void To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.MimeEquivalence To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.MimeApplication To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.IntPtr To be added. To be added. To be added. To be added. Mime related static methods. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Handle.xml0000644000175000001440000000314611345266756015403 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A handle to an asynchronous operation. To be added GLib.Opaque Constructor To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MimeApplicationArgumentType.xml0000644000175000001440000000457311345266756021635 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.Vfs.MimeApplicationArgumentType To be added To be added Field Gnome.Vfs.MimeApplicationArgumentType To be added To be added Field Gnome.Vfs.MimeApplicationArgumentType To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/FileInfo.xml0000644000175000001440000004024211345266756015701 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Class containing all metadata pertaining to a . To be added System.Object Constructor Create a new FileInfo instance representing the text uri. representing the uri. To be added Constructor Create a new FileInfo instance representing the text uri with the specified . representing the uri. for the FileInfo metadata. To be added Constructor Create a new FileInfo instance representing . a To be added Constructor Create a new FileInfo instance representing with the specified . a for the FileInfo metadata. To be added Property System.String Base name of the file (no path). a To be added Property Gnome.Vfs.FileInfoFields Properties which are actually valid in this class. a To be added Property Gnome.Vfs.FileType File type (i.e. regular, directory, block device...). a To be added Property Gnome.Vfs.FilePermissions File permissions. a To be added Property Gnome.Vfs.FileFlags for this file. a To be added Property System.Int64 Device id of the file. Only valid if the . a To be added Property System.Int64 Inode number of the file. Only valid if the . a To be added Property System.UInt32 Link count. a To be added Property System.UInt32 UNIX user id. a To be added Property System.UInt32 UNIX group id. a To be added Property System.Int64 Size in bytes. a To be added Property System.Int64 Size measured in units of 512-byte blocks. a To be added Property System.UInt32 Optimal buffer size for reading/writing the file. a To be added Property System.DateTime Last time the file was accessed. a To be added Property System.DateTime Last time the file was modified. a To be added Property System.DateTime Last time the file was changed. a To be added Property System.String If , this specifies the file the link points to. a To be added Property System.String MIME type. Only valid if the FileInfo was created with . representation of the MIME type. To be added Property System.Boolean Indicates whether the file is a symlink. a To be added Property System.Boolean Indicates whether the represents a file on the local filesystem. a To be added Property System.Boolean Indicates whether the property is set. a To be added Property System.Boolean Indicates whether the property is set. a To be added Property System.Boolean Indicates whether the sticky bit is set. a To be added Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. Property System.IntPtr To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncCreateCallback.xml0000644000175000001440000000151311345266756020022 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DeviceType.xml0000644000175000001440000001765211345266756016260 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration used in and to represent the device type. To be added System.Enum Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added Field Gnome.Vfs.DeviceType To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Make.xml0000644000175000001440000001610311345266756015062 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DNSSDBrowseCallback.xml0000644000175000001440000000171711345266756017664 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MimeAction.xml0000644000175000001440000001056311345266756016236 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.Vfs.MimeAction To be added To be added Field Gnome.Vfs.MimeActionType To be added To be added Method Gnome.Vfs.MimeAction To be added a a To be added Method Gnome.Vfs.Result To be added a a a To be added Method Gnome.Vfs.Result To be added a a To be added Method System.Void To be added To be added System.Obsolete gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Drive.xml0000644000175000001440000004007111345266756015257 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Container for (floppy drive, CD reader, ...). To be added GLib.Object Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Int32 To be added a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property GLib.GType GType Property. a Returns the native value for . Property System.UInt64 Internal Drive Id. a To be added Property System.String User readable string representing this Drive (i.e. "CD-RW/DVD-ROM Drive"). a To be added Property System.String The icon name used to represent this Drive. a To be added Property System.Boolean Returns whether the Drive is mounted. a To be added Property System.String The which represents this Drive (i.e. file:///media/cdrecorder). a To be added Property System.String The location of the actual device if applicable (i.e. /dev/hdc). a To be added Property Gnome.Vfs.Volume If , this points to the mounted . a To be added System.Obsolete Property System.Boolean Returns whether the Drive is connected. a To be added Property System.Boolean Returns whether the Drive should be visible to the user. a To be added Property Gnome.Vfs.DeviceType The type of device this Drive represents. a To be added Event Gnome.Vfs.VolumePreUnmountHandler Drive is about to be unmounted. To be added GLib.Signal("volume_pre_unmount") Event Gnome.Vfs.VolumeUnmountedHandler Drive has been unmounted. To be added GLib.Signal("volume_unmounted") Event Gnome.Vfs.VolumeMountedHandler Drive has been mounted. To be added GLib.Signal("volume_mounted") Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property GLib.List To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Escape.xml0000644000175000001440000000713111345266756015406 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/DriveConnectedHandler.xml0000644000175000001440000000403211345266756020375 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DriveConnectedHandler instance to the event. The methods referenced by the DriveConnectedHandler instance are invoked whenever the event is raised, until the DriveConnectedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferPhase.xml0000644000175000001440000002012211345266756016066 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added Field Gnome.Vfs.XferPhase To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/FileInfoOptions.xml0000644000175000001440000001216311345266756017256 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Packed boolean bitfield representing options that can be passed into a constructor. To be added System.Enum System.Flags Field Gnome.Vfs.FileInfoOptions default flags. To be added Field Gnome.Vfs.FileInfoOptions detect the MIME type. To be added Field Gnome.Vfs.FileInfoOptions only use fast MIME type detection (extensions). To be added Field Gnome.Vfs.FileInfoOptions force slow MIME type detection where available (sniffing, algorithmic detection, etc). To be added Field Gnome.Vfs.FileInfoOptions automatically follow symbolic links and retrieve the properties of their target (recommended). To be added Field Gnome.Vfs.FileInfoOptions tries to get data similar to what would return access(2) on a local file system (ie is the file readable, writable and/or executable). Can be really slow on remote file systems. To be added Field Gnome.Vfs.FileInfoOptions To be added. Field Gnome.Vfs.FileInfoOptions To be added. Field Gnome.Vfs.FileInfoOptions To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Resolve.xml0000644000175000001440000000501411345266756015623 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Monitor.xml0000644000175000001440000001274311345266756015642 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Monitor changes to files and directories. To be added System.Object Method Gnome.Vfs.Result Watch the file or directory at uri for changes (or the creation/deletion of the file) and fire an event when there is a change. If a directory monitor is added, an event is fired when any file in the directory changes. representation of a . whether the to monitor is a file or directory. a To be added Method Gnome.Vfs.Result Stop monitoring any files and directories. a To be added Constructor Create a new instance. To be added Event Gnome.Vfs.MonitorHandler File data has changed. To be added Event Gnome.Vfs.MonitorHandler A file has been deleted. To be added Event Gnome.Vfs.MonitorHandler To be added To be added Event Gnome.Vfs.MonitorHandler To be added To be added Event Gnome.Vfs.MonitorHandler A file has been created. To be added Event Gnome.Vfs.MonitorHandler A file metadata has changed. To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XdgMimeCallback.xml0000644000175000001440000000103311345266756017150 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Open.xml0000644000175000001440000000631711345266756015114 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Is.xml0000644000175000001440000000334711345266756014566 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Create.xml0000644000175000001440000001114311345266756015407 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/SetFileInfoMask.xml0000644000175000001440000001056111345266756017172 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Packed boolean bitfield representing the aspects of the file to be changed in a call. To be added System.Enum System.Flags Field Gnome.Vfs.SetFileInfoMask don't set any file info fields. To be added Field Gnome.Vfs.SetFileInfoMask change the name. To be added Field Gnome.Vfs.SetFileInfoMask change the permissions. To be added Field Gnome.Vfs.SetFileInfoMask change the file's owner. To be added Field Gnome.Vfs.SetFileInfoMask change the file's time stamp(s). To be added Field Gnome.Vfs.SetFileInfoMask To be added. Field Gnome.Vfs.SetFileInfoMask To be added. Field Gnome.Vfs.SetFileInfoMask To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XdgMimeDestroy.xml0000644000175000001440000000103011345266756017102 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Check.xml0000644000175000001440000000667311345266756015235 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/FileType.xml0000644000175000001440000001030711345266756015726 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The type of file represented by a instance. To be added System.Enum Field Gnome.Vfs.FileType To be added To be added Field Gnome.Vfs.FileType To be added To be added Field Gnome.Vfs.FileType To be added To be added Field Gnome.Vfs.FileType To be added To be added Field Gnome.Vfs.FileType To be added To be added Field Gnome.Vfs.FileType To be added To be added Field Gnome.Vfs.FileType To be added To be added Field Gnome.Vfs.FileType To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ACL.xml0000644000175000001440000001071711345266756014611 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.List To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumePreUnmountHandler.xml0000644000175000001440000000454411345266756021015 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the VolumePreUnmountHandler instance to the event. The methods referenced by the VolumePreUnmountHandler instance are invoked whenever the event is raised, until the VolumePreUnmountHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XdgParentList.xml0000644000175000001440000000160611345266756016737 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XdgMimeCache.xml0000644000175000001440000000164611345266756016471 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncDirectoryLoadCallback.xml0000644000175000001440000000346511345266756021373 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate used for notifying when a specified number of entries have been read from a directory. Used in . To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncCallback.xml0000644000175000001440000000315211345266756016677 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Delegate used for notifying when an asynchronous operation has finished. See for examples. To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MimeApplication.xml0000644000175000001440000002364411345266756017270 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method Gnome.Vfs.MimeApplication To be added a a To be added Method System.Void To be added a To be added Method Gnome.Vfs.Result To be added a a a To be added Method Gnome.Vfs.Result To be added a a To be added Method Gnome.Vfs.MimeApplication To be added a To be added Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/UriHideOptions.xml0000644000175000001440000001022111345266756017105 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration indicating which parts of a should be hidden when translated to a . To be added System.Enum System.Flags Field Gnome.Vfs.UriHideOptions don't hide anything. To be added Field Gnome.Vfs.UriHideOptions hide the user name. To be added Field Gnome.Vfs.UriHideOptions hide the password. To be added Field Gnome.Vfs.UriHideOptions hide the host name. To be added Field Gnome.Vfs.UriHideOptions hide the host port. To be added Field Gnome.Vfs.UriHideOptions hide the method (e.g. http, file). To be added Field Gnome.Vfs.UriHideOptions hide the fragment identifier. To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XferErrorMode.xml0000644000175000001440000000363211345266756016733 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.Vfs.XferErrorMode To be added To be added Field Gnome.Vfs.XferErrorMode To be added To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/XdgAliasList.xml0000644000175000001440000000160211345266756016533 00000000000000 gnome-vfs-sharp 2.20.0.0 GLib.Opaque Constructor To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackHandler.xml0000644000175000001440000000264111345266756020347 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumeMountedArgs.xml0000644000175000001440000000522011345266756017623 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gnome.Vfs.Volume the that was mounted. a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/MonitorType.xml0000644000175000001440000000367211345266756016505 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Type of to monitor. To be added System.Enum Field Gnome.Vfs.MonitorType a file. To be added Field Gnome.Vfs.MonitorType a directory. To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Volume.xml0000644000175000001440000002665511345266756015471 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Abstraction for a mounted file system or a network location. To be added GLib.Object Method System.Int32 To be added a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property GLib.GType GType Property. a Returns the native value for . Property Gnome.Vfs.Drive Returns the on which this Volume resides. a To be added Property System.String The type of the file system (i.e. ext3). a To be added Property System.String User readable string representing this Volume (i.e. "Harddrive"). a To be added Property System.String The icon name used to represent this Volume. a To be added Property System.UInt64 Internal Volume Id. a To be added Property System.Boolean Returns whether the Volume is mounted. a To be added Property System.String The which represents this Volume (i.e. file:///media/cdrecorder). a To be added Property System.String The location of the actual device if applicable (i.e. /dev/hdc). a To be added Property Gnome.Vfs.VolumeType Returns the type of Volume. a To be added Property System.Boolean Returns whether the Volume should be visible to the user. a To be added Property System.Boolean Returns whether this Volume supports handling trash items. a To be added Property System.Boolean Returns whether this Volume allows write access. a To be added Property Gnome.Vfs.DeviceType The type of device this Volume represents. a To be added Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncSeekCallback.xml0000644000175000001440000000150511345266756017507 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/VolumeMountedHandler.xml0000644000175000001440000000450011345266756020304 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the VolumeMountedHandler instance to the event. The methods referenced by the VolumeMountedHandler instance are invoked whenever the event is raised, until the VolumeMountedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationFlags.xml0000644000175000001440000000735511345266756023560 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum System.Flags Field Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/Global.xml0000644000175000001440000007524611345266756015422 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gnome.Vfs.VolumeMonitor To be added. To be added. To be added. Property GLib.List To be added. To be added. To be added. System.Obsolete Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/File.xml0000644000175000001440000000506711345266756015073 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/AsyncCreateAsChannelCallback.xml0000644000175000001440000000173311345266756021603 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationAuthType.xml0000644000175000001440000000233011345266756023430 00000000000000 gnome-vfs-sharp 2.20.0.0 System.Enum Field Gnome.Vfs.ModuleCallbackAuthenticationAuthType To be added. Field Gnome.Vfs.ModuleCallbackAuthenticationAuthType To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gnome.Vfs/ModuleCallbackQuestionIn.xml0000644000175000001440000000503311345266756021066 00000000000000 gnome-vfs-sharp 2.20.0.0 System.ValueType Field System.String To be added. To be added. Field System.String To be added. To be added. Field System.String To be added. To be added. Field Gnome.Vfs.ModuleCallbackQuestionIn To be added. To be added. Method Gnome.Vfs.ModuleCallbackQuestionIn To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Vte.xml0000644000175000001440000000030611345266756013137 00000000000000 A terminal widget implementation. gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors.xml0000644000175000001440000000202611345266756016553 00000000000000 PropertyEditors which act as intermediaries between and widgets. They are analoguous to the Controller of the MVC design pattern. PropertyEditors do two things:
  • They listen to GConf notifications, and update widgets to reflect any changes in a GConf setting.
  • They connect to the various "changed" signals on a widget, and update GConf to reflect the widget's current state.
Also provided are a utility class called , which exposes a simple API to automatically construct PropertyEditors for a UI.
gtk-sharp-2.12.10/doc/en/Pango.xml0000644000175000001440000000075511345266756013455 00000000000000 Pango provides advanced font and text handling that is used for Gdk and Gtk. Pango project provides a framework for the layout and rendering of internationalized text. Pango uses Unicode for all of its encoding, and will eventually support output in all the worlds major languages. gtk-sharp-2.12.10/doc/en/Atk/0000777000175000001440000000000011345266756012463 500000000000000gtk-sharp-2.12.10/doc/en/Atk/Text.xml0000644000175000001440000007053511345266756014057 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The interface implemented by components with text content. should be implemented by s on behalf of widgets that have text content which is either attributed or otherwise non-trivial. s whose text content is simple, unattributed, and very brief may expose that content via atk_object_get_name instead; however if the text is editable, multi-line, typically longer than three or four words, attributed, selectable, or if the object already uses the 'name' ATK property for other information, the interface should be used to expose the text content. In the case of editable text content, (a subtype of the interface) should be implemented instead. provides not only traversal facilities and change notification for text content, but also caret tracking and glyph bounding box calculations. Note that the text strings are exposed as UTF-8, and are therefore potentially multi-byte, and caret-to-byte offset mapping makes no assumptions about the character length; also bounding box glyph-to-offset mapping may be complex for languages which use ligatures. GLib.IWrapper Method System.Int32 Gets the offset of the character located at coordinates and . screen x-position of character screen y-position of character specify whether coordinates are relative to the screen or widget window the offset to the character which is located at the specified x and y coordinates. and are interpreted as being relative to the screen or this widget's window depending on . Method System.Boolean Changes the start and end offset of the specified selection. The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. the new start position of the selection the new end position of the selection if success, otherwise Method System.Boolean Sets the caret (cursor) position to the specified offset. position if success, otherwise. Method System.Boolean Removes the specified selection. The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. if success, otherwise Method System.String Gets the specified text. start position end position the text from up to, but not including . Method System.Boolean Adds a selection bounded by the specified offsets. the start position of the selected region the end position of the selected region if success, otherwise Property GLib.SList Creates an which consists of the default values of attributes for the text. an which contains the default values of attributes, at . See the enum for types of text attributes that can be returned. Note that other attributes may also be returned. Property System.Int32 Gets the number of selected regions. The number of selected regions, or -1 if a failure occurred. Property System.Int32 Gets the offset position of the caret (cursor). the offset position of the caret (cursor). Property System.Int32 Gets the character count. the number of characters. Event Atk.TextChangedHandler Emitted when the text of the object which implements the AtkText interface changes. This signal will have a detail which is either "insert" or "delete" which identifies whether the text change was an insertion or a deletion. Event System.EventHandler Emitted when the selected text of an object which implements AtkText changes. Event Atk.TextCaretMovedHandler Emitted when the caret position of the text of an object which implements AtkText changes. Event System.EventHandler Emitted when the text attributes of the text of an object which implements AtkText changes. Method System.String Gets the specified text. position a the start offset of the returned string. the end offset of the returned string. the text after bounded by the specified . If the is the character after the offset is returned. If the is the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the is the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word. If the is the returned string is from the sentence start after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the is the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence. If the is the returned string is from the line start after the offset to the next line start. If the is the returned string is from the line end at or after the offset to the next line start. Method System.String Gets the text from the specified selection. The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. passes back the start position of the selected region passes back the end position of the selected region the selected text. Method System.String Gets the specified text. position a the start offset of the returned string. the end offset of the returned string. the text before bounded by the specified . If the is the character after the offset is returned. If the is the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the is the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word. If the is the returned string is from the sentence start after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the is the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence. If the is the returned string is from the line start after the offset to the next line start. If the is the returned string is from the line end at or after the offset to the next line start. Method System.Void Get the bounding box containing the glyph representing the character at a particular text offset. The offset of the text character for which bounding information is required. Pointer for the x cordinate of the bounding box. Pointer for the y cordinate of the bounding box. Pointer for the width of the bounding box Pointer for the height of the bounding box. specify whether coordinates are relative to the screen or widget window Method GLib.SList Creates an which consists of the attributes explicitly set at the position offset in the text. and are set to the start and end of the range around where the attributes are invariant. the offset at which to get the attributes the address to put the start offset of the range the address to put the end offset of the range an which contains the attributes explicitly set at . See the enum for types of text attributes that can be returned. Note that other attributes may also be returned. Method System.String Gets the specified text. position a the start offset of the returned string. the end offset of the returned string. the text at bounded by the specified . If the is the character after the offset is returned. If the is the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the is the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word. If the is the returned string is from the sentence start after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the is the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence. If the is the returned string is from the line start after the offset to the next line start. If the is the returned string is from the line end at or after the offset to the next line start. Method Atk.TextRange To be added a a a a a To be added Method System.Void To be added a a a a To be added Method System.Char Gets the specified text. position the character at . gtk-sharp-2.12.10/doc/en/Atk/Util+GetRootDelegate.xml0000644000175000001440000000115111345266756017046 00000000000000 atk-sharp 2.12.0.0 System.Delegate Atk.Object To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/TextCaretMovedHandler.xml0000644000175000001440000000343711345266756017324 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextCaretMovedHandler instance to the event. The methods referenced by the TextCaretMovedHandler instance are invoked whenever the event is raised, until the TextCaretMovedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/EditableTextAdapter.xml0000644000175000001440000002242111345266756017001 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.EditableText Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method Atk.EditableText To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property Atk.EditableTextImplementor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. EditableText adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/StateChangeHandler.xml0000644000175000001440000000270111345266756016605 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StateChangeHandler instance to the event. The methods referenced by the StateChangeHandler instance are invoked whenever the event is raised, until the StateChangeHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/Registry.xml0000644000175000001440000001143711345266756014737 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object used to store the of the factories used to create an accessible object for an object of a particular . GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Method Atk.ObjectFactory To be added a a To be added Method System.Void To be added a a To be added Method GLib.GType To be added a a To be added Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor Default constructor gtk-sharp-2.12.10/doc/en/Atk/NoOpObjectFactory.xml0000644000175000001440000000627211345266756016462 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The which creates an . The which creates an . An instance of this is created by an if no factory type has not been specified to create an accessible object of a particular type. Atk.ObjectFactory Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete gtk-sharp-2.12.10/doc/en/Atk/TextChangedHandler.xml0000644000175000001440000000337311345266756016623 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextChangedHandler instance to the event. The methods referenced by the TextChangedHandler instance are invoked whenever the event is raised, until the TextChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/ColumnDeletedArgs.xml0000644000175000001440000000426211345266756016466 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Atk/Focus.xml0000644000175000001440000000406411345266756014204 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a To be added Method System.Void To be added a To be added Constructor Default constructor gtk-sharp-2.12.10/doc/en/Atk/TextChangedArgs.xml0000644000175000001440000000472411345266756016143 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Atk/Util+GetToolkitVersionDelegate.xml0000644000175000001440000000120611345266756021117 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/Implementor.xml0000644000175000001440000000222411345266756015414 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added GLib.IWrapper Method Atk.Object To be added a gtk-sharp-2.12.10/doc/en/Atk/Role.xml0000644000175000001440000010701211345266756014023 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the role of an object System.Enum GLib.GType(typeof(Atk.RoleGType)) Field Atk.Role Invalid role Field Atk.Role A label which represents an accelerator Field Atk.Role An object which is an alert to the user Field Atk.Role An object which is an animated image Field Atk.Role An arrow in one of the four cardinal directions Field Atk.Role An object that displays a calendar and allows the user to select a date Field Atk.Role An object that can be drawn into and is used to trap events Field Atk.Role A choice that can be checked or unchecked and provides a separate indicator for the current state Field Atk.Role A menu item with a check box Field Atk.Role A specialized dialog that lets the user choose a color Field Atk.Role The header for a column of data Field Atk.Role A list of choices the user can select from Field Atk.Role An object whose purpose is to allow a user to edit a date Field Atk.Role An inconifed internal frame within a Field Atk.Role A pane that supports internal frames and iconified versions of those internal frames Field Atk.Role An object whose purpose is to allow a user to set a value Field Atk.Role A top level window with title bar and a border Field Atk.Role A pane that allows the user to navigate through and select the contents of a directory Field Atk.Role An object used for drawing custom user interface elements Field Atk.Role A specialized dialog that lets the user choose a file Field Atk.Role A object that fills up space in a user interface Field Atk.Role A specialized dialog that lets the user choose a font Field Atk.Role A top level window with a title bar, border, menubar, etc. Field Atk.Role A pane that is guaranteed to be painted on top of all panes beneath it Field Atk.Role A document container for HTML, whose children represent the document content Field Atk.Role A small fixed size picture, typically used to decorate components Field Atk.Role An object whose primary purpose is to display an image Field Atk.Role A frame-like object that is clipped by a desktop pane Field Atk.Role An object used to present an icon or short string in an interface Field Atk.Role A specialized pane that allows its children to be drawn in layers, providing a form of stacking order Field Atk.Role An object that presents a list of objects to the user and allows the user to select one or more of them Field Atk.Role An object that represents an element of a list Field Atk.Role An object usually found inside a menu bar that contains a list of actions the user can choose from Field Atk.Role An object usually drawn at the top of the primary dialog box of an application that contains a list of menus the user can choose from Field Atk.Role An object usually contained in a menu that presents an action the user can choose Field Atk.Role A specialized pane whose primary use is inside a Dialog Field Atk.Role An object that is a child of a page tab list Field Atk.Role An object that presents a series of panels (or page tabs), one at a time, through some mechanism provided by the object Field Atk.Role A generic container that is often used to group objects Field Atk.Role A text object uses for passwords, or other places where the text content is not shown visibly to the user Field Atk.Role A temporary window that is usually used to offer the user a list of choices, and then hides when the user selects one of those choices Field Atk.Role An object used to indicate how much of a task has been completed Field Atk.Role An object the user can manipulate to tell the application to do something Field Atk.Role A specialized check box that will cause other radio buttons in the same group to become unchecked when this one is checked Field Atk.Role A check menu item which belongs to a group. At each instant exactly one of the radio menu items from a group is selected Field Atk.Role A specialized pane that has a glass pane and a layered pane as its children Field Atk.Role The header for a row of data Field Atk.Role An object usually used to allow a user to incrementally view a large amount of data. Field Atk.Role An object that allows a user to incrementally view a large amount of information Field Atk.Role An object usually contained in a menu to provide a visible and logical separation of the contents in a menu Field Atk.Role An object that allows the user to select from a bounded range Field Atk.Role A specialized panel that presents two other panels at the same time Field Atk.Role An object used to get an integer or floating point number from the user Field Atk.Role An object which reports messages of minor importance to the user Field Atk.Role An object used to represent information in terms of rows and columns Field Atk.Role A cell in a table Field Atk.Role The header for a column of a table Field Atk.Role The header for a row of a table Field Atk.Role A menu item used to tear off and reattach its menu Field Atk.Role An object that represents an accessible terminal Field Atk.Role An object that presents text to the user Field Atk.Role A specialized push button that can be checked or unchecked, but does not provide a separate indicator for the current state Field Atk.Role A bar or palette usually composed of push buttons or toggle buttons Field Atk.Role An object that provides information about another object Field Atk.Role An object used to represent hierarchical information to the user Field Atk.Role An object capable of expanding and collapsing rows as well as showing multiple columns of data Field Atk.Role The object contains some Accessible information, but its role is not known Field Atk.Role An object usually used in a scroll pane Field Atk.Role A top level window with no title or border. Field Atk.Role not a valid role, used for finding end of enumeration Field Atk.Role An object that serves as a document header. Field Atk.Role An object that serves as a document footer. Field Atk.Role An object which is contains a paragraph of text content. Field Atk.Role An object which describes margins and tab stops, etc. for text objects which it controls (should have CONTROLLER_FOR relation to such). Field Atk.Role The object is an application object, which may contain objects or other types of accessibles. Field Atk.Role To be added To be added Field Atk.Role To be added To be added Field Atk.Role To be added To be added Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. Field Atk.Role To be added. gtk-sharp-2.12.10/doc/en/Atk/ComponentAdapter.xml0000644000175000001440000004133211345266756016367 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Component Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. To be added. Event GLib.Signal("bounds_changed") Atk.BoundsChangedHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Atk.Component To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Property Atk.Layer To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Double To be added. To be added. To be added. Property Atk.ComponentImplementor To be added. To be added. To be added. Property Atk.Layer To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Component adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/Misc.xml0000644000175000001440000000634511345266756014024 00000000000000 atk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property Atk.Misc To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/Layer.xml0000644000175000001440000000774311345266756014210 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the layer of a component These enumerated "layer values" are used when determining which UI rendering layer a component is drawn into, which can help in making determinations of when components occlude one another. System.Enum GLib.GType(typeof(Atk.LayerGType)) Field Atk.Layer The object does not have a layer Field Atk.Layer This layer is reserved for the desktop background Field Atk.Layer This layer is used for Canvas components Field Atk.Layer This layer is normally used for components Field Atk.Layer This layer is used for layered components Field Atk.Layer This layer is used for popup components, such as menus Field Atk.Layer This layer is reserved for future use. Field Atk.Layer This layer is used for toplevel windows. gtk-sharp-2.12.10/doc/en/Atk/Attribute.xml0000644000175000001440000000506611345266756015073 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A string name/value pair representing a text attribute. System.ValueType Field Atk.Attribute Returns an empty To be added Method Atk.Attribute Internal method an object of type a new This is an internal method and should not be used by user code. Field System.String The attribute name. Field System.String the value of the attribute, represented as a string. To be added gtk-sharp-2.12.10/doc/en/Atk/Action.xml0000644000175000001440000001720111345266756014337 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The ATK interface provided by UI components which the user can activate/interact with, this should be implemented by instances of classes with which the user can interact directly, i.e. buttons, checkboxes, scrollbars, e.g. components which are not "passive" providers of UI information. The ATK interface provided by UI components which the user can activate/interact with, This should be implemented by instances of classes with which the user can interact directly, i.e. buttons, checkboxes, scrollbars, e.g. components which are not "passive" providers of UI information. Exceptions: when the user interaction is already covered by another appropriate interface such as (insert/delete test, etc.) or (set value) then these actions should not be exposed by as well. Also note that the API is limited in that parameters may not be passed to the object being activated; thus the action must be self-contained and specifiable via only a single "verb". Concrete examples include "press", "release", "click" for buttons, "drag" (meaning initiate drag) and "drop" for drag sources and drop targets, etc. Though most UI interactions on components should be invocable via keyboard as well as mouse, there will generally be a close mapping between "mouse actions" that are possible on a component and the . Where mouse and keyboard actions are redundant in effect, should expose only one action rather than exposing redundant actions if possible. By convention we have been using "mouse centric" terminology for names. GLib.IWrapper Method System.String Returns a description of the specified action of the object. The action index corresponding to the action to be performed. A description string, or 0 if action does not implement this interface. Method System.Boolean Sets a description of the specified action of the object. The action index corresponding to the action to be performed. The description to be assigned to this action. A representing if the description was successfully set. Method System.String Returns a keybinding associated with this action, if one exists. The action index corresponding to the action to be performed. A string representing the keybinding, or an empty string if there is no keybinding for this action. Method System.String Returns the name of the specified action of the object. The action index corresponding to the action to be performed. A name string, or an empty string if action does not implement this interface. Method System.Boolean Perform the specified action on the object. The action index corresponding to the action to be performed. if success, otherwise. Property System.Int32 Gets the number of accessible actions available on the object. A the number of actions, or 0 if action does not implement this interface. Gets the number of accessible actions available on the object. If there are more than one, the first one is considered the "default" action of the object. Method System.String Returns the localized name of the specified action of the object. The action index corresponding to the action to be performed. A name string, or an empty string if action does not implement this interface. gtk-sharp-2.12.10/doc/en/Atk/HypertextImplementor.xml0000644000175000001440000000442511345266756017336 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.HypertextAdapter)) Method Atk.Hyperlink To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Hypertext implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/ObjectFactory.xml0000644000175000001440000001106411345266756015661 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The base object class for a factory used to create accessible objects for objects of a specific . The function is normally called to store in the registry the factory type to be used to create an accessible of a particular . GLib.Object Method Atk.Object To be added an object of type an object of type To be added Method System.Void To be added To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Property GLib.GType To be added a To be added Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. System.Obsolete Constructor Default constructor gtk-sharp-2.12.10/doc/en/Atk/Object.xml0000644000175000001440000007716311345266756014345 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The base object class for the Accessibility Toolkit API. This class is the primary class for accessibility support via the Accessibility ToolKit (Atk). Objects which are instances of (or instances of -derived types) are queried for properties which relate basic (and generic) properties of a UI component such as name and description. Instances of may also be queried as to whether they implement other Atk interfaces (e.g. , , etc.), as appropriate to the role which a given UI component plays in a user interface. All UI components in an application which provide useful information or services to the user must provide corresponding instances on request (in Gtk, for instance, usually on a call to ), either via Atk support built into the toolkit for the widget class or ancestor class, or in the case of custom widgets, if the inherited implementation is insufficient, via instances of a new subclass. GLib.Object Method Atk.Object To be added an object of type an object of type To be added Method System.UInt32 To be added an object of type an object of type To be added Method System.Void To be added an object of type To be added Method Atk.RelationSet To be added an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type an object of type To be added Method Atk.StateSet To be added an object of type To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Atk.Object To be added an object of type To be added Property System.String To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property Atk.Role To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property Atk.Layer To be added an object of type To be added Property System.String To be added an object of type To be added Property System.String To be added an object of type To be added GLib.Property("atk_object_name_property_name") Property System.String To be added an object of type To be added GLib.Property("atk_object_name_property_description") Property System.Int32 To be added an object of type To be added GLib.Property("atk_object_name_property_component_layer") Property Atk.Object To be added an object of type To be added GLib.Property("atk_object_name_property_table_column_header") Property System.Double To be added an object of type To be added GLib.Property("atk_object_name_property_value") Property Atk.Object To be added an object of type To be added GLib.Property("atk_object_name_property_parent") Property System.String To be added an object of type To be added GLib.Property("atk_object_name_property_table_row_description") Property System.Int32 To be added an object of type To be added GLib.Property("atk_object_name_property_role") Property System.Int32 To be added an object of type To be added GLib.Property("atk_object_name_property_component_mdi_zorder") Property System.String To be added an object of type To be added GLib.Property("atk_object_name_property_table_caption") Property Atk.Object To be added an object of type To be added GLib.Property("atk_object_name_property_table_summary") Property System.String To be added an object of type To be added GLib.Property("atk_object_name_property_table_column_description") Property Atk.Object To be added an object of type To be added GLib.Property("atk_object_name_property_table_row_header") Event Atk.StateChangeHandler To be added To be added GLib.Signal("state_change") Event Atk.ChildrenChangedHandler To be added To be added GLib.Signal("children_changed") Event System.EventHandler To be added To be added GLib.Signal("visible_data_changed") Event Atk.FocusEventHandler To be added To be added GLib.Signal("focus_event") Event Atk.ActiveDescendantChangedHandler To be added To be added GLib.Signal("active_descendant_changed") Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Event Atk.PropertyChangeEventHandler To be added To be added GLib.Signal("property_change") Constructor Default constructor Property System.Int32 To be added a To be added GLib.Property("atk_object_name_property_hypertext_num_links") Property Atk.Object To be added a To be added GLib.Property("atk_object_name_property_table_caption_object") Method System.Void To be added. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property Atk.Attribute[] To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/ValueAdapter.xml0000644000175000001440000001311511345266756015477 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Value Constructor To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.Value To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method Atk.Value To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Atk.ValueImplementor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Value adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/TextBoundary.xml0000644000175000001440000000650211345266756015554 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Text boundary types used for specifying boundaries for regions of text System.Enum GLib.GType(typeof(Atk.TextBoundaryGType)) Field Atk.TextBoundary To be added Field Atk.TextBoundary To be added Field Atk.TextBoundary To be added Field Atk.TextBoundary To be added Field Atk.TextBoundary To be added Field Atk.TextBoundary To be added Field Atk.TextBoundary To be added gtk-sharp-2.12.10/doc/en/Atk/StreamableContentAdapter.xml0000644000175000001440000001220211345266756020031 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.StreamableContent Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Atk.StreamableContent To be added. To be added. To be added. To be added. To be added. Method System.IntPtr To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property Atk.StreamableContentImplementor To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. StreamableContent adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/LinkSelectedArgs.xml0000644000175000001440000000442611345266756016312 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added a To be added gtk-sharp-2.12.10/doc/en/Atk/ImplementorImplementor.xml0000644000175000001440000000232411345266756017631 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ImplementorAdapter)) Method Atk.Object To be added. To be added. To be added. Implementor implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/Rectangle.xml0000644000175000001440000001225511345266756015032 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Atk.Rectangle To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Method Atk.Rectangle To be added a a To be added Property GLib.GType To be added a To be added Method GLib.Value To be added. To be added. To be added. To be added. Method Atk.Rectangle To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/TextCaretMovedArgs.xml0000644000175000001440000000412011345266756016631 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Atk/SelectionImplementor.xml0000644000175000001440000001024411345266756017263 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.SelectionAdapter)) Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Selection implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/TextAttribute.xml0000644000175000001440000003121711345266756015735 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the text attributes supported System.Enum GLib.GType(typeof(Atk.TextAttributeGType)) Field Atk.TextAttribute Invalid attribute Field Atk.TextAttribute The pixel width of the left margin Field Atk.TextAttribute The pixel width of the right margin Field Atk.TextAttribute The number of pixels that the text is indented Field Atk.TextAttribute Either "true" or "false" indicating whether text is visible or not Field Atk.TextAttribute Either "true" or "false" indicating whether text is editable or not Field Atk.TextAttribute Pixels of blank space to leave above each newline-terminated line. Field Atk.TextAttribute Pixels of blank space to leave below each newline-terminated line. Field Atk.TextAttribute Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph). Field Atk.TextAttribute "true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character. Field Atk.TextAttribute Number of pixels that the characters are risen above the baseline Field Atk.TextAttribute "none", "single", "double" or "low" Field Atk.TextAttribute "true" or "false" whether the text is strikethrough Field Atk.TextAttribute The size of the characters. Field Atk.TextAttribute The scale of the characters. The value is a string representation of a double Field Atk.TextAttribute The weight of the characters. Field Atk.TextAttribute The language used Field Atk.TextAttribute The font family name Field Atk.TextAttribute The background color. The value is an RGB value of the format "u,u,u" Field Atk.TextAttribute The foreground color. The value is an RGB value of the format "u,u,u" Field Atk.TextAttribute "true" if a GdkBitmap is set for stippling the background color. Field Atk.TextAttribute "true" if a GdkBitmap is set for stippling the foreground color. Field Atk.TextAttribute The wrap mode of the text, if any. Values are "none", "char" or "word" Field Atk.TextAttribute The direction of the text, if set. Values are "none", "ltr" or "rtl" Field Atk.TextAttribute The justification of the text, if set. Values are "left", "right", "center" or "fill" Field Atk.TextAttribute The stretch of the text, if set. Values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" or "ultra_expanded" Field Atk.TextAttribute The capitalization variant of the text, if set. Values are "normal" or "small_caps" Field Atk.TextAttribute The slant style of the text, if set. Values are "normal", "oblique" or "italic" Field Atk.TextAttribute not a valid text attribute, used for finding end of enumeration gtk-sharp-2.12.10/doc/en/Atk/PropertyValues.xml0000644000175000001440000000564611345266756016140 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Atk.PropertyValues Returns an empty Method Atk.PropertyValues Internal method a a new This is an internal method and should not be used by user code. Field System.String To be added To be added Field GLib.Value To be added To be added Field GLib.Value To be added To be added gtk-sharp-2.12.10/doc/en/Atk/ImageImplementor.xml0000644000175000001440000000711711345266756016365 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ImageAdapter)) Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Image implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/KeyEventType.xml0000644000175000001440000000371211345266756015520 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the type of a keyboard event. System.Enum GLib.GType(typeof(Atk.KeyEventTypeGType)) Field Atk.KeyEventType specifies a key press event Field Atk.KeyEventType specifies a key release event Field Atk.KeyEventType Not a valid value; specifies end of enumeration gtk-sharp-2.12.10/doc/en/Atk/StreamableContent.xml0000644000175000001440000000616611345266756016544 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The interface which provides access to streamable content. GLib.IWrapper Method System.String The string of the specified mime type. an int representing the position of the mime type starting from 0 a string representing the specified mime type The first mime type is at position 0, the second at position 1, and so on. Property System.Int32 The number of mime types supported by this object. the number of mime types supported by the object. Method System.IntPtr To be added a a To be added Method System.String To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/TextRange.xml0000644000175000001440000000743511345266756015033 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A structure used to describe a text range. System.ValueType Field Atk.TextRange An empty Field Atk.TextRectangle A rectangle giving the bounds of the text range Field System.Int32 The start offset of a Field System.Int32 The end offset of a Field System.String The text in the text range Method Atk.TextRange Creates a new a a gtk-sharp-2.12.10/doc/en/Atk/TextImplementor.xml0000644000175000001440000003554411345266756016274 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.TextAdapter)) Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property GLib.SList To be added. To be added. To be added. Method Atk.TextRange To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Char To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Text implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/RelationSet.xml0000644000175000001440000001672311345266756015363 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A set of , normally the set which an has. GLib.Object Method Atk.Relation Determines the relation at the specified position in the relation set. An representing a position in the set, starting from 0. An , which is the relation at position in the set. Method Atk.Relation Finds a relation that matches the specified type. An An , which is a relation matching the specified type. Method System.Void Add a new relation to the current relation set if it is not already present. an Method System.Boolean Determines whether the relation set contains a relation that matches the specified type. An . if relationship is the relationship type of a relation in set, otherwise. Method System.Void Removes a relation from the relation set. An . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor To be added To be added Property System.Int32 Determines the number of relations in a relation set. An integer representing the number of relations in the set. Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. System.Obsolete Method System.Void To be added a a To be added gtk-sharp-2.12.10/doc/en/Atk/PropertyChangeArgs.xml0000644000175000001440000000347511345266756016701 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Atk.PropertyValues To be added To be added: an object of type 'Atk.PropertyValues' To be added gtk-sharp-2.12.10/doc/en/Atk/Image.xml0000644000175000001440000001257011345266756014150 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Implemented by AtkObject subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. should be implemented by subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. For instance, icons, buttons with icons, toolbar elements, and image viewing panes typically should implement AtkImage. primarily provides two types of information: coordinate information (useful for screen review mode of screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive information is provided for alternative, text-only presentation of the most significant information present in the image. GLib.IWrapper Method System.Boolean Sets the textual description for this image. a description to set for image , or if operation could not be completed. Property System.String Get a textual description of this image. a string representing the image description Method System.Void Gets the position of the image in the form of a point specifying the images top-left corner. x coordinate position y coordinate position specifies whether the coordinates are relative to the screen or to the components top level window The values of and are returned as -1 if the values cannot be obtained. Method System.Void Get the width and height in pixels for the specified image. the image width the image height The values of and are returned as -1 if the values cannot be obtained. Property System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/RowDeletedHandler.xml0000644000175000001440000000267211345266756016464 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowDeletedHandler instance to the event. The methods referenced by the RowDeletedHandler instance are invoked whenever the event is raised, until the RowDeletedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/PropertyChangeEventHandler.xml0000644000175000001440000000306611345266756020360 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PropertyChangeEventHandler instance to the event. The methods referenced by the PropertyChangeEventHandler instance are invoked whenever the event is raised, until the PropertyChangeEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/KeySnoopFunc.xml0000644000175000001440000000162111345266756015504 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added To be added. System.Delegate System.Int32 gtk-sharp-2.12.10/doc/en/Atk/Util+GetToolkitNameDelegate.xml0000644000175000001440000000117511345266756020357 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/DocumentImplementor.xml0000644000175000001440000000726211345266756017122 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.DocumentAdapter)) Property System.String To be added. To be added. To be added. Property System.IntPtr To be added. To be added. To be added. Property Atk.Attribute[] To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Document implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/Relation.xml0000644000175000001440000001606311345266756014704 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An describes a relation between an object and one or more other objects. An describes a relation between an object and one or more other objects. The actual relations that an object has with other objects are defined as an , which is a set of . GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Method Atk.RelationType To be added a a To be added Method System.String To be added a a To be added Method Atk.RelationType To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor Creates a new with the provided information. an array of an for the relation. Property Atk.RelationType Gets the type of relation. The type of this relation GLib.Property("relation_type") Method System.Void To be added a To be added Property System.IntPtr To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/Document.xml0000644000175000001440000001254511345266756014706 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The interface which allows access to a DOM associated with on object. The interface should be supported by any object that has an associated document object model (DOM). This interface provides the standard mechanism allowing an assistive technology access to the DOM. GLib.IWrapper Property System.IntPtr Gets a pointer that points to an instance of the DOM. a pointer to an instance of the DOM. Property System.String Gets a string indicating the document type. a string indicating the document type Property Atk.Attribute[] To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Event System.EventHandler To be added. To be added. Event System.EventHandler To be added. To be added. Property System.String To be added. To be added. To be added. Event System.EventHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/ImageAdapter.xml0000644000175000001440000001452611345266756015454 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Image Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method Atk.Image To be added. To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property Atk.ImageImplementor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Image adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/StateManager.xml0000644000175000001440000000612611345266756015501 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An AtkState describes a component's particular state. An AtkState describes a component's particular state. The actual state of an component is described by its AtkStateSet, which is a set of AtkStates. System.Object Method Atk.StateType Gets the corresponding to the description string . a a Method System.String Gets the description string describing the . a a Method Atk.StateType Register a new object state. a describing the new state. a Constructor Default constructor gtk-sharp-2.12.10/doc/en/Atk/TextClipType.xml0000644000175000001440000000560311345266756015523 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the type of clipping required. System.Enum GLib.GType(typeof(Atk.TextClipTypeGType)) Field Atk.TextClipType No clipping to be done To be added Field Atk.TextClipType Text clipped by min coordinate is omitted To be added Field Atk.TextClipType Text clipped by max coordinate is omitted To be added Field Atk.TextClipType Only text fully within mix/max bound is retained To be added gtk-sharp-2.12.10/doc/en/Atk/StateType.xml0000644000175000001440000004164111345266756015051 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The possible types of states of an object System.Enum GLib.GType(typeof(Atk.StateTypeGType)) Field Atk.StateType Indicates an invalid state Field Atk.StateType Indicates a window is currently the active window Field Atk.StateType Indicates that the object is armed Field Atk.StateType Indicates the current object is busy Field Atk.StateType Indicates this object is currently checked Field Atk.StateType Indicates the user interface object corresponding to this object no longer exists Field Atk.StateType Indicates the user can change the contents of this object Field Atk.StateType Indicates that this object is enabled. An inconsistent is an example of an object which is sensitive but not enabled. Field Atk.StateType Indicates this object allows progressive disclosure of its children Field Atk.StateType Indicates this object its expanded Field Atk.StateType Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus Field Atk.StateType Indicates this object currently has the keyboard focus Field Atk.StateType Indicates the orientation of this object is horizontal Field Atk.StateType Indicates this object is minimized and is represented only by an icon Field Atk.StateType Indicates something must be done with this object before the user can interact with an object in a different window Field Atk.StateType Indicates this (text) object can contain multiple lines of text Field Atk.StateType Indicates this object allows more than one of its children to be selected at the same time Field Atk.StateType Indicates this object paints every pixel within its rectangular region Field Atk.StateType Indicates this object is currently pressed Field Atk.StateType Indicates the size of this object is not fixed Field Atk.StateType Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that can be selected Field Atk.StateType Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected Field Atk.StateType Indicates this object is sensitive Field Atk.StateType Indicates this object, the object's parent, the object's parent's parent, and so on, are all visible Field Atk.StateType Indicates this (text) object can contain only a single line of text Field Atk.StateType Indicates that the index associated with this object has changed since the user accessed the object. Field Atk.StateType Indicates this object is transient Field Atk.StateType Indicates the orientation of this object is vertical Field Atk.StateType Indicates this object is visible Field Atk.StateType Not a valid state, used for finding end of enumeration Field Atk.StateType Indicates that "active-descendant-changed" event is sent when children become 'active' (i.e. are selected or navigated to onscreen). Used to prevent need to enumerate all children in very large containers, like tables. Field Atk.StateType Indicates that a check box is in a state other than checked or not checked. Field Atk.StateType Indicates that an object is truncated, e.g. a text value in a speradsheet cell. Field Atk.StateType Indicates that explicit user interaction with an object is required by the user interface, e.g. a required field in a "web-form" interface. Field Atk.StateType To be added. Field Atk.StateType To be added. Field Atk.StateType To be added. Field Atk.StateType To be added. Field Atk.StateType To be added. Field Atk.StateType To be added. gtk-sharp-2.12.10/doc/en/Atk/PropertyChangeHandler.xml0000644000175000001440000000176411345266756017361 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/ChildrenChangedHandler.xml0000644000175000001440000000275511345266756017432 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildrenChangedHandler instance to the event. The methods referenced by the ChildrenChangedHandler instance are invoked whenever the event is raised, until the ChildrenChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/Component.xml0000644000175000001440000003320711345266756015070 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The ATK interface provided by UI components which occupy a physical area on the screen. The ATK interface provided by UI components which occupy a physical area on the screen. This should be implemented by most if not all UI elements with an actual on-screen presence, i.e. components which can be said to have a screen-coordinate bounding box. Virtually all widgets will need to have implementations provided for their corresponding class. In short, only UI elements which are* not* GUI elements will omit this ATK interface. A possible exception might be textual information with a transparent background, in which case text glyph bounding box information is provided by . GLib.IWrapper Method System.Void Remove the handler from the list of functions to be executed when this object receives focus events (in or out). The handler id of the focus handler to be removed from component. Method System.Boolean Sets the postition of this component. X coordinate. Y coordinate. Specifies whether the coordinates are relative to the screen or to the components top level window. or whether or not the position was set or not. Method System.Boolean Grabs focus for this component if successful, otherwise. Method System.Boolean Sets the extents of this component. X coordinate. Y coordinate. Width to set for this component. Height to set for this component. Specifies whether the coordinates are relative to the screen or to the components top level window. or whether the extents were set or not. Method System.Boolean Set the size of this component in terms of width and height. Width to set for this component. Height to set for this component. or whether the size was set or not. Method System.UInt32 Add the specified handler to the set of functions to be called when this object receives focus events (in or out). The to be attached to this component. A handler id which can be used in or zero if the handler was already added. Add the specified handler to the set of functions to be called when this object receives focus events (in or out). If the handler is already added it is not added again. Method System.Boolean Checks whether the specified point is within the extent of this component. X coordinate Y coordinate Specifies whether the coordinates are relative to the screen or to the components top level window. or indicating whether the specified point is within the extent of the component or not. Method Atk.Object To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'Atk.CoordType' To be added: an object of type 'Atk.Object' To be added Property System.Int32 Gets the Z order of the component. The value G_MININT will be returned if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW. Property Atk.Layer Gets the layer of this component. An which is the layer of the component. Method System.Void Gets the position of component in the form of a point specifying this component's top-left corner. X coordinate position Y coordinate position Specifies whether the coordinates are relative to the screen or to the components top level window. Method System.Void Gets the rectangle which gives the extent of this component. X coordinate position Y coordinate position Width Height Specifies whether the coordinates are relative to the screen or to the components top level window. Method System.Void Gets the size of this component in terms of width and height. Width Height Event Atk.BoundsChangedHandler To be added To be added Property System.Double To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/StreamableContentImplementor.xml0000644000175000001440000000554311345266756020756 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.StreamableContentAdapter)) Method System.String To be added. To be added. To be added. To be added. Method System.IntPtr To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. StreamableContent implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/BoundsChangedArgs.xml0000644000175000001440000000444411345266756016450 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Atk.Rectangle To be added a To be added gtk-sharp-2.12.10/doc/en/Atk/DocumentAdapter.xml0000644000175000001440000001663211345266756016210 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Document Constructor To be added. To be added. Constructor To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method Atk.Document To be added. To be added. To be added. To be added. To be added. Property System.IntPtr To be added. To be added. To be added. Property Atk.Attribute[] To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property Atk.DocumentImplementor To be added. To be added. To be added. Event GLib.Signal("load_complete") System.EventHandler To be added. To be added. Event GLib.Signal("load_stopped") System.EventHandler To be added. To be added. Property System.String To be added. To be added. To be added. Event GLib.Signal("reload") System.EventHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.IntPtr To be added. To be added. To be added. Document adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/StateSet.xml0000644000175000001440000002355411345266756014666 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An determines a component's state set. An determines a component's state set. It is composed of a set of s. GLib.Object Method System.Boolean Checks whether the state for the specified type is in the specified set. an object of type an object of type , if type is the state type is in set. Method Atk.StateSet Constructs the exclusive-or of the two sets, returning is empty. an object of type an object of type which contains the states which are in exactly one of the two sets. The set returned by this operation contains the states in exactly one of the two sets. Method System.Boolean Add a new state for the specified type to the current state set if it is not already present. an object of type an object of type , if the state for type is not already in set. Method Atk.StateSet Constructs the intersection of the two sets, returning if the intersection is empty. an object of type an object of type which is the intersection of the two sets. Method System.Boolean Removes the state for the specified type from the state set. an object of type an object of type , if type was the state type is in set. Method Atk.StateSet Constructs the union of the two sets. an object of type an object of type which is the union of the two sets, returning is empty. To be added Method System.Void Removes all states from the state set. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor Method System.Boolean Checks whether the states for all the specified types are in the specified set. a a a To be added Property System.Boolean Checks whether the state set is empty, i.e. has no states set. a , if the StateSet has no states set, otherwise Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Method Atk.StateType Add the states for the specified types to the current state set. a a To be added gtk-sharp-2.12.10/doc/en/Atk/ComponentImplementor.xml0000644000175000001440000002356711345266756017314 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ComponentAdapter)) Method System.UInt32 To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Property Atk.Layer To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Double To be added. To be added. To be added. Component implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/ActiveDescendantChangedHandler.xml0000644000175000001440000000313711345266756021101 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ActiveDescendantChangedHandler instance to the event. The methods referenced by the ActiveDescendantChangedHandler instance are invoked whenever the event is raised, until the ActiveDescendantChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/EditableText.xml0000644000175000001440000001521311345266756015501 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The ATK interface implemented by components containing user-editable text content should be implemented by UI components which contain text which the user can edit, via the corresponding to that component (see ). is a subclass of , and as such, an object which implements AtkEditableText is by definition an implementor as well. GLib.IWrapper Method System.Void Delete text start position end position This only deletes text up to, but not including . Method System.Void Paste text from clipboard to specified position. position to paste Method System.Void Cut text start position end position This method only cuts the text up to , it does not include the text at that position. Method System.Void Copy text start position end position This method only copies the text up to , it does not include the text at that position. Method System.Boolean Sets the attributes for a specified range. an start of range in which to set attributes end of range in which to set attributes if attributes successfully set for the specified range, otherwise Sets the attributes for a specified range. See the ATK_ATTRIBUTE macros (such as ATK_ATTRIBUTE_LEFT_MARGIN) for examples of attributes that can be set. Note that other attributes that do not have corresponding ATK_ATTRIBUTE macros may also be set for certain text widgets. Property System.String Set text contents of text. contents of text Method System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/ActiveDescendantChangedArgs.xml0000644000175000001440000000352511345266756020421 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.IntPtr To be added a To be added gtk-sharp-2.12.10/doc/en/Atk/ColumnInsertedArgs.xml0000644000175000001440000000427411345266756016700 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Atk/NoOpObject.xml0000644000175000001440000026272111345266756015135 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An which purports to implement all Atk interfaces. It is the type of which is created if an accessible object is requested for an object type for which no factory type is specified. Atk.Object Atk.Action Atk.Component Atk.Document Atk.EditableText Atk.Hypertext Atk.Image Atk.Selection Atk.Table Atk.Text Atk.Value Method System.Boolean To be added an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type To be added Method System.Int32 To be added an object of type an object of type an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.String To be added an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.Int32 To be added an object of type an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method Atk.Object To be added an object of type an object of type To be added Method System.Int32 To be added an object of type an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method Atk.Object To be added an object of type an object of type an object of type To be added Method System.String To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.String To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type To be added Method Atk.Object To be added an object of type an object of type To be added Method System.Int32 To be added an object of type an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.Boolean To be added an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.Boolean To be added an object of type To be added Method Atk.Object To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Void To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type an object of type To be added Method System.String To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type To be added Method System.String To be added an object of type an object of type To be added Method System.String To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method System.Void To be added an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type an object of type To be added Method System.Boolean To be added an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type an object of type an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type To be added Method System.UInt32 To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type an object of type To be added Method Atk.Object To be added an object of type an object of type an object of type an object of type To be added Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new instance. an object of type Property GLib.SList To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property Atk.Object To be added an object of type To be added Property Atk.Object To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property System.String To be added an object of type To be added Property System.String To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property System.Int32 To be added an object of type To be added Property Atk.Layer To be added an object of type To be added Event Atk.TextChangedHandler To be added To be added GLib.Signal("text_changed") Event System.EventHandler To be added To be added GLib.Signal("text_selection_changed") Event Atk.TextCaretMovedHandler To be added To be added GLib.Signal("text_caret_moved") Event Atk.RowDeletedHandler To be added To be added GLib.Signal("row_deleted") Event Atk.RowInsertedHandler To be added To be added GLib.Signal("row_inserted") Event System.EventHandler To be added To be added GLib.Signal("model_changed") Event Atk.ColumnInsertedHandler To be added To be added GLib.Signal("column_inserted") Event System.EventHandler To be added To be added GLib.Signal("row_reordered") Event Atk.ColumnDeletedHandler To be added To be added GLib.Signal("column_deleted") Event System.EventHandler To be added To be added GLib.Signal("column_reordered") Event System.EventHandler To be added To be added GLib.Signal("selection_changed") Event System.EventHandler To be added To be added GLib.Signal("text_attributes_changed") Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.String To be added a a To be added Method System.Void To be added a a a To be added Method System.Void To be added a a a a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a a To be added Method System.Void To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.String To be added a a a a a To be added Method System.String To be added a a a a To be added Method System.String To be added a a a a a To be added Method System.Void To be added a a a a a a To be added Method GLib.SList To be added a a a a To be added Method System.String To be added a a a a a To be added Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Property System.Int32 To be added a To be added Event Atk.LinkSelectedHandler To be added To be added GLib.Signal("link_selected") Method Atk.TextRange To be added a a a a a To be added Method System.Void To be added a a a a To be added Method Atk.Hyperlink To be added a a To be added Method System.Int32 To be added a a To be added Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Property GLib.Value To be added a To be added Method System.Char Gets the specified text. position the character at . Event Atk.BoundsChangedHandler To be added To be added GLib.Signal("bounds_changed") Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Double To be added. To be added. To be added. Property Atk.Attribute[] To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Event GLib.Signal("load_complete") System.EventHandler To be added. To be added. Event GLib.Signal("load_stopped") System.EventHandler To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("reload") System.EventHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.IntPtr To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/Selection.xml0000644000175000001440000001615011345266756015051 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The ATK interface implemented by container objects whose children can be selected. The ATK interface implemented by container objects whose children can be selected. This should be implemented by UI components with children which are exposed by and , if the use of the parent UI component ordinarily involves selection of one or more of the objects corresponding to those AtkObject children - for example, selectable lists. Note that other types of "selection" (for instance text selection) are accomplished a other ATK interfaces - is limited to the selection/deselection of children. GLib.IWrapper Method System.Boolean Causes every child of the object to be selected if the object supports multiple selections. if success, otherwise. Method System.Boolean Removes the specified child of the object from the object's selection. A specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child). if success, otherwise. Method System.Boolean Determines if the current child of this object is selected. A specifying the child index. A bool representing the specified child is selected, or 0 if selection does not implement this interface. Callers should not rely on 0 or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method. Method System.Boolean Clears the selection in the object so that no children in the object are selected. if success, otherwise. Method System.Boolean Adds the specified accessible child of the object to the object's selection. A specifying the child index. if success, otherwise. Method Atk.Object To be added To be added: an object of type 'int' To be added: an object of type 'Atk.Object' To be added Property System.Int32 Gets the number of accessible children currently selected. A representing the number of items selected, or 0 if selection does not implement this interface. Callers should not rely on 0 or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method. Event System.EventHandler Event raised when the selected is changed. gtk-sharp-2.12.10/doc/en/Atk/RowInsertedArgs.xml0000644000175000001440000000423611345266756016210 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Atk/TextAdapter.xml0000644000175000001440000006430411345266756015355 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Text Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Atk.TextAttribute To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method Atk.TextAttribute To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property GLib.SList To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method Atk.TextRange To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Char To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Atk.Text To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("text_attributes_changed") System.EventHandler To be added. To be added. Event GLib.Signal("text_caret_moved") Atk.TextCaretMovedHandler To be added. To be added. Event GLib.Signal("text_changed") Atk.TextChangedHandler To be added. To be added. Event GLib.Signal("text_selection_changed") System.EventHandler To be added. To be added. Property Atk.TextImplementor To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("text_attributes_changed") System.EventHandler To be added. To be added. Event GLib.Signal("text_caret_moved") Atk.TextCaretMovedHandler To be added. To be added. Event GLib.Signal("text_changed") Atk.TextChangedHandler To be added. To be added. Event GLib.Signal("text_selection_changed") System.EventHandler To be added. To be added. Text adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/ChildrenChangedArgs.xml0000644000175000001440000000432611345266756016745 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.IntPtr To be added To be added: an object of type 'IntPtr' To be added Property System.UInt32 To be added To be added: an object of type 'uint' To be added gtk-sharp-2.12.10/doc/en/Atk/EventListener.xml0000644000175000001440000000153511345266756015714 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/RelationType.xml0000644000175000001440000001752711345266756015554 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the type of the relation System.Enum GLib.GType(typeof(Atk.RelationTypeGType)) Field Atk.RelationType No Relation Field Atk.RelationType Indicates an object controlled by one or more target objects. Field Atk.RelationType Indicates an object is an controller for one or more target objects. Field Atk.RelationType Indicates an object is a label for one or more target objects. Field Atk.RelationType Indicates an object is labelled by one or more target objects. Field Atk.RelationType Indicates an object is a member of a group of one or more target objects. Field Atk.RelationType Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell. Field Atk.RelationType To be added Field Atk.RelationType Indicates that the object has content that flows logically to another AtkObject in a sequential way, (for instance text-flow). Field Atk.RelationType Indicates that the object has content that flows logically from another AtkObject in a sequential way, (for instance text-flow). Field Atk.RelationType To be added Field Atk.RelationType Indicates that the object visually embeds another object's content, i.e. this object's content flows around another's content. Field Atk.RelationType Inverse of , indicates that this object's content is visualy embedded in another object. Field Atk.RelationType To be added To be added Field Atk.RelationType To be added To be added Field Atk.RelationType To be added. Field Atk.RelationType To be added. gtk-sharp-2.12.10/doc/en/Atk/TextRectangle.xml0000644000175000001440000000736111345266756015701 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A structure used to store a rectangle used by . System.ValueType Field Atk.TextRectangle An empty Field System.Int32 The horizontal coordinate of a rectangle Field System.Int32 The vertical coordinate of a rectangle Field System.Int32 The width of a rectangle Field System.Int32 The height of a rectangle Method Atk.TextRectangle Creates a new a a gtk-sharp-2.12.10/doc/en/Atk/SelectionAdapter.xml0000644000175000001440000002273011345266756016353 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Selection Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Method Atk.Selection To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Event GLib.Signal("selection_changed") System.EventHandler To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property Atk.SelectionImplementor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Event GLib.Signal("selection_changed") System.EventHandler To be added. To be added. Property System.Int32 To be added. To be added. To be added. Selection adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/EditableTextImplementor.xml0000644000175000001440000001205711345266756017720 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.EditableTextAdapter)) Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. EditableText implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/Hyperlink.xml0000644000175000001440000003500511345266756015071 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An ATK object which encapsulates a link or set of links in a hypertext document. GLib.Object Atk.Action Method System.String To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type an object of type To be added Method System.String To be added an object of type an object of type To be added Method System.String To be added an object of type an object of type To be added Method System.Boolean To be added an object of type an object of type To be added Method Atk.Object Returns the item associated with this hyperlinks nth anchor. an object of type an object of type For instance, the returned will implement if the link is a text hyperlink, if the link is an image hyperlink etc. Multiple anchors are primarily used by client-side image maps. Method System.String Get a the URI associated with the anchor specified by a (zero-index) integer specifying the desired anchor a string specifying the URI Multiple anchors are primarily used by client-side image maps. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Int32 The number of actions. an object of type Property System.Int32 Gets the number of anchors associated with this hyperlink. the number of anchors associated with this hyperlink Property System.Int32 Gets the index with the hypertext document at which this link ends. the index with the hypertext document at which this link ends GLib.Property("end-index") Property System.Int32 Gets the index with the hypertext document at which this link begins. the index with the hypertext document at which this link begins GLib.Property("start-index") Method System.String To be added a a To be added Property System.Boolean Since the document that a link is associated with may have changed this method returns if the link is still valid (with respect to the document it references) and otherwise. whether or not this link is still valid Property System.Boolean Indicates whether the link currently displays some or all of its content inline. whether or not this link displays its content inline. Ordinary HTML links will usually return , but an inline <src> HTML element will return . Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor Default constructor Property System.Int32 To be added a To be added GLib.Property("number-of-anchors") Property System.Boolean To be added a To be added GLib.Property("selected-link") Property System.Boolean To be added a To be added Event System.EventHandler To be added To be added GLib.Signal("link_activated") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.10/doc/en/Atk/HyperlinkImplAdapter.xml0000644000175000001440000000606311345266756017216 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.HyperlinkImpl Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method Atk.HyperlinkImpl To be added. To be added. To be added. To be added. To be added. Property Atk.Hyperlink To be added. To be added. To be added. Property Atk.HyperlinkImplImplementor To be added. To be added. To be added. HyperlinkImpl adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/FocusHandler.xml0000644000175000001440000000171311345266756015500 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/Util+RemoveListenerDelegate.xml0000644000175000001440000000134011345266756020426 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/TableAdapter.xml0000644000175000001440000007514111345266756015461 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Table Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property Atk.Object To be added. To be added. To be added. Event GLib.Signal("column_deleted") Atk.ColumnDeletedHandler To be added. To be added. Event GLib.Signal("column_inserted") Atk.ColumnInsertedHandler To be added. To be added. Event GLib.Signal("column_reordered") System.EventHandler To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method Atk.Table To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("model_changed") System.EventHandler To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Event GLib.Signal("row_deleted") Atk.RowDeletedHandler To be added. To be added. Event GLib.Signal("row_inserted") Atk.RowInsertedHandler To be added. To be added. Event GLib.Signal("row_reordered") System.EventHandler To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property Atk.Object To be added. To be added. To be added. Property Atk.TableImplementor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("model_changed") System.EventHandler To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Event GLib.Signal("row_deleted") Atk.RowDeletedHandler To be added. To be added. Event GLib.Signal("row_inserted") Atk.RowInsertedHandler To be added. To be added. Event GLib.Signal("row_reordered") System.EventHandler To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property Atk.Object To be added. To be added. To be added. Table adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/LinkSelectedHandler.xml0000644000175000001440000000377611345266756017002 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the LinkSelectedHandler instance to the event. The methods referenced by the LinkSelectedHandler instance are invoked whenever the event is raised, until the LinkSelectedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/EventListenerInit.xml0000644000175000001440000000140511345266756016534 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/HyperlinkImpl.xml0000644000175000001440000000173611345266756015717 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper Property Atk.Hyperlink Hyperlink property. a implementor. Interface to obtain a Hyperlink implementation. gtk-sharp-2.12.10/doc/en/Atk/Util.xml0000644000175000001440000001400411345266756014035 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This is a utility class which supports the adding and removal of event listeners. The adding and removing of the listeners must be done in the same thread. The file also contains a number of utility functions. GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. System.Obsolete Constructor Default constructor Property Atk.Util+AddKeyEventListenerDelegate To be added. To be added. To be added. Property Atk.Util+GetRootDelegate To be added. To be added. To be added. Property Atk.Util+GetToolkitNameDelegate To be added. To be added. To be added. Property Atk.Util+GetToolkitVersionDelegate To be added. To be added. To be added. Property Atk.Util+RemoveListenerDelegate To be added. To be added. To be added. Property Atk.Util+RemoveListenerDelegate To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/Util+AddKeyEventListenerDelegate.xml0000644000175000001440000000142711345266756021342 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.UInt32 To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/HyperlinkImplImplementor.xml0000644000175000001440000000231511345266756020125 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.HyperlinkImplAdapter)) Property Atk.Hyperlink To be added. To be added. To be added. HyperlinkImpl implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/TableImplementor.xml0000644000175000001440000003756311345266756016402 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.TableAdapter)) Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property Atk.Object To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property Atk.Object To be added. To be added. To be added. Table implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/Hypertext.xml0000644000175000001440000000615011345266756015117 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The interface which provides standard mechanism for manipulating hyperlinks. GLib.IWrapper Method System.Int32 The index into the array of hyperlinks that is associated with the character specified by , or -1 if there is no hyperlink associated with this character. a character index an index into the array of hyperlinks in hypertext Method Atk.Hyperlink The link in this hypertext document at index an integer specifying the desired link the link in this hypertext document at index Property System.Int32 The number of links within this hypertext document. The number of links within this hypertext document. Event Atk.LinkSelectedHandler To be added To be added gtk-sharp-2.12.10/doc/en/Atk/HypertextAdapter.xml0000644000175000001440000001303411345266756016417 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Hypertext Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method Atk.Hyperlink To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method Atk.Hypertext To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("link_selected") Atk.LinkSelectedHandler To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property Atk.HypertextImplementor To be added. To be added. To be added. Event GLib.Signal("link_selected") Atk.LinkSelectedHandler To be added. To be added. Property System.Int32 To be added. To be added. To be added. Hypertext adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/ActionAdapter.xml0000644000175000001440000001642311345266756015645 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Action Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Atk.Action To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property Atk.ActionImplementor To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Action adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/ImplementorAdapter.xml0000644000175000001440000000672311345266756016725 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Implementor Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method Atk.Implementor To be added. To be added. To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. Property Atk.ImplementorImplementor To be added. To be added. To be added. Method Atk.Object To be added. To be added. To be added. Implementor adapter. Adapts implementations to the full API. gtk-sharp-2.12.10/doc/en/Atk/KeyEventStruct.xml0000644000175000001440000001062711345266756016066 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Atk.KeyEventStruct Returns an empty Method Atk.KeyEventStruct Internal method an object of type a This is an internal method and should not be used by user code. Field System.Int32 To be added To be added Field System.UInt32 To be added To be added Field System.UInt32 To be added To be added Field System.Int32 To be added To be added Field System.String To be added To be added Field System.UInt16 To be added To be added Field System.UInt32 To be added To be added gtk-sharp-2.12.10/doc/en/Atk/StateChangeArgs.xml0000644000175000001440000000424111345266756016125 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean To be added To be added: an object of type 'bool' To be added Property System.String To be added To be added: an object of type 'string' To be added gtk-sharp-2.12.10/doc/en/Atk/ValueImplementor.xml0000644000175000001440000000640011345266756016411 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ValueAdapter)) Property GLib.Value To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Value implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Atk/BoundsChangedHandler.xml0000644000175000001440000000401111345266756017117 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the BoundsChangedHandler instance to the event. The methods referenced by the BoundsChangedHandler instance are invoked whenever the event is raised, until the BoundsChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/Value.xml0000644000175000001440000001053711345266756014203 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The interface implemented by valuators and components which display or select a value from a bounded range of values. should be implemented for components which either display a value from a bounded range, or which allow the user to specify a value from a bounded range, or both. For instance, most sliders and range controls, as well as dials, should have representations which implement on the component's behalf. s may be read-only, in which case attempts to alter the value return to indicate failure. GLib.IWrapper Method System.Boolean Sets the value of this object. an object of type which is the desired new accessible value. if new value is successfully set, otherwise . To be added Method System.Void Gets the minimum value of this object. an object of type representing the minimum accessible value Method System.Void Gets the maximum value of this object. an object of type representing the maximum accessible value Property GLib.Value Gets the value of this object. a representing the current accessible value. Method System.Void To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/ColumnInsertedHandler.xml0000644000175000001440000000274611345266756017363 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ColumnInsertedHandler instance to the event. The methods referenced by the ColumnInsertedHandler instance are invoked whenever the event is raised, until the ColumnInsertedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/CoordType.xml0000644000175000001440000000335611345266756015040 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies how xy coordinates are to be interpreted. Used by functions such as and System.Enum GLib.GType(typeof(Atk.CoordTypeGType)) Field Atk.CoordType specifies xy coordinates relative to the screen Field Atk.CoordType specifies xy coordinates relative to the widget's top-level window gtk-sharp-2.12.10/doc/en/Atk/GObjectAccessible.xml0000644000175000001440000001074511345266756016423 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This object class is derived from and can be used as a basis implementing accessible objects. This object class is derived from . It can be used as a basis for implementing accessible objects for s which are not derived from . One example of its use is in providing an accessible object for in the GAIL library. Atk.Object Method Atk.Object Gets the accessible object for the specified . an object of type the for Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.Object Gets the GObject for which is the accessible object. a which is the object for which is the accessible object Property GLib.GType GType Property. a Returns the native value for . Constructor Internal constructor a This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. System.Obsolete Constructor Default constructor gtk-sharp-2.12.10/doc/en/Atk/FocusEventHandler.xml0000644000175000001440000000266611345266756016512 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusEventHandler instance to the event. The methods referenced by the FocusEventHandler instance are invoked whenever the event is raised, until the FocusEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/RowInsertedHandler.xml0000644000175000001440000000270511345266756016670 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowInsertedHandler instance to the event. The methods referenced by the RowInsertedHandler instance are invoked whenever the event is raised, until the RowInsertedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/Function.xml0000644000175000001440000000142111345266756014704 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Atk/RowDeletedArgs.xml0000644000175000001440000000422411345266756015776 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added To be added: an object of type 'int' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.10/doc/en/Atk/Table.xml0000644000175000001440000005241211345266756014154 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The interface implemented for UI components which contain tabular or row/column information. should be implemented by components which present elements ordered via rows and columns. It may also be used to present tree-structured information if the nodes of the trees can be said to contain multiple "columns". Individual elements of an are typically referred to as "cells", and these cells are exposed by as child s of the . Both row/column and child-index-based access to these children is provided. Children of are frequently "lightweight" objects, that is, they may not have backing widgets in the host UI toolkit. They are therefore often transient. Since tables are often very complex, includes provision for offering simplified summary information, as well as row and column headers and captions. Headers and captions are s which may implement other interfaces (, , etc.) as appropriate. summaries may themselves be (simplified) s, etc. GLib.IWrapper Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'Atk.Object' To be added Method System.Boolean To be added To be added: an object of type 'int' To be added: an object of type 'bool' To be added Method System.Boolean To be added To be added: an object of type 'int' To be added: an object of type 'bool' To be added Method System.Int32 To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'int' To be added Method System.Boolean To be added To be added: an object of type 'int' To be added: an object of type 'bool' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'string' To be added Method System.Boolean To be added To be added: an object of type 'int' To be added: an object of type 'bool' To be added Method Atk.Object To be added To be added: an object of type 'int' To be added: an object of type 'Atk.Object' To be added Method System.Int32 To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'int' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'string' To be added Method Atk.Object To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'Atk.Object' To be added Method System.String To be added To be added: an object of type 'int' To be added: an object of type 'string' To be added Method System.Void To be added To be added: an object of type 'int' To be added: an object of type 'Atk.Object' To be added Method System.Boolean To be added To be added: an object of type 'int' To be added: an object of type 'bool' To be added Method System.String To be added To be added: an object of type 'int' To be added: an object of type 'string' To be added Method System.Boolean To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'bool' To be added Method Atk.Object To be added To be added: an object of type 'int' To be added: an object of type 'Atk.Object' To be added Method System.Int32 To be added To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'int' To be added Method System.Boolean To be added To be added: an object of type 'int' To be added: an object of type 'bool' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Property Atk.Object To be added To be added: an object of type 'Atk.Object' To be added Property Atk.Object To be added To be added: an object of type 'Atk.Object' To be added Property System.Int32 To be added To be added: an object of type 'int' To be added Event Atk.RowDeletedHandler To be added To be added Event Atk.RowInsertedHandler To be added To be added Event System.EventHandler To be added To be added Event Atk.ColumnInsertedHandler To be added To be added Event System.EventHandler To be added To be added Event Atk.ColumnDeletedHandler To be added To be added Event System.EventHandler To be added To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added gtk-sharp-2.12.10/doc/en/Atk/Global.xml0000644000175000001440000002157411345266756014332 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements for System.Object Method System.String To be added a a To be added Method System.UInt32 To be added a a To be added Method Atk.Role To be added a a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.UInt32 To be added a a To be added Method System.Void To be added a To be added Method Atk.Role To be added a a To be added Method System.String To be added a a To be added Constructor Default constructor Property System.String To be added a To be added Property System.String To be added a To be added Property Atk.Registry To be added a To be added Property Atk.Object To be added a To be added Property Atk.Object To be added a To be added Property System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Atk/HyperlinkStateFlags.xml0000644000175000001440000000246211345266756017050 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the type of link System.Enum GLib.GType(typeof(Atk.HyperlinkStateFlagsGType)) System.Flags Field Atk.HyperlinkStateFlags Link is inline gtk-sharp-2.12.10/doc/en/Atk/FocusEventArgs.xml0000644000175000001440000000336511345266756016026 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean To be added To be added: an object of type 'bool' To be added gtk-sharp-2.12.10/doc/en/Atk/ColumnDeletedHandler.xml0000644000175000001440000000273311345266756017150 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ColumnDeletedHandler instance to the event. The methods referenced by the ColumnDeletedHandler instance are invoked whenever the event is raised, until the ColumnDeletedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Atk/ActionImplementor.xml0000644000175000001440000001071611345266756016557 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ActionAdapter)) Method System.Boolean To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Action implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/0000777000175000001440000000000011345266756016115 500000000000000gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/InvalidGladeKeyException.xml0000644000175000001440000000245711345266756023436 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added System.Exception Constructor To be added To be added: an object of type 'string' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditorRadioButton.xml0000644000175000001440000000631411345266756023725 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added GConf.PropertyEditors.PropertyEditorEnum Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.RadioButton' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.RadioButton' To be added: an object of type 'Type' To be added: an object of type 'int []' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.RadioButton' To be added: an object of type 'Type' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditorToggleButton.xml0000644000175000001440000000276711345266756024120 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added GConf.PropertyEditors.PropertyEditorBool Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.ToggleButton' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditorEnum.xml0000644000175000001440000000732611345266756022403 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added GConf.PropertyEditors.PropertyEditor Method System.Int32 To be added To be added: an object of type 'object' To be added: an object of type 'int' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added: an object of type 'Type' To be added: an object of type 'int []' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added: an object of type 'Type' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditorFileEntry.xml0000644000175000001440000000272711345266756023400 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added GConf.PropertyEditors.PropertyEditor Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gnome.FileEntry' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/EditorNotSupportedException.xml0000644000175000001440000000220411345266756024245 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added System.Exception Constructor To be added To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditorBool.xml0000644000175000001440000000374411345266756022372 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added GConf.PropertyEditors.PropertyEditor Method System.Void To be added To be added: an object of type 'Gtk.Widget' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditor.xml0000644000175000001440000001264711345266756021560 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added System.Object Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'object' To be added Method System.Object To be added To be added: an object of type 'object' To be added Method System.Void To be added To be added Method System.Void To be added To be added: an object of type 'object' To be added: an object of type 'GConf.NotifyEventArgs' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added Property Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Property System.String To be added To be added: an object of type 'string' To be added Property GConf.Client To be added. To be added. To be added. Property GConf.ChangeSet To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditorOptionMenu.xml0000644000175000001440000000625311345266756023572 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added GConf.PropertyEditors.PropertyEditorEnum Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.OptionMenu' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.OptionMenu' To be added: an object of type 'Type' To be added: an object of type 'int []' To be added Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.OptionMenu' To be added: an object of type 'Type' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditorSpinButton.xml0000644000175000001440000000272511345266756023602 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added GConf.PropertyEditors.PropertyEditor Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.SpinButton' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/PropertyEditorEntry.xml0000644000175000001440000000266511345266756022601 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added GConf.PropertyEditors.PropertyEditor Constructor To be added To be added: an object of type 'string' To be added: an object of type 'Gtk.Entry' To be added gtk-sharp-2.12.10/doc/en/GConf.PropertyEditors/EditorShell.xml0000644000175000001440000001305611345266756020776 00000000000000 gconf-sharp-peditors 2.20.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. To be added To be added System.Object Method System.Void To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added Method System.Void To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'Type' To be added Method System.Void To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'Type' To be added: an object of type 'int []' To be added Method System.Void To be added To be added: an object of type 'string' To be added: an object of type 'string' To be added Method System.Void To be added To be added: an object of type 'GConf.PropertyEditors.PropertyEditor' To be added Constructor To be added To be added: an object of type 'Glade.XML' To be added Constructor To be added To be added: an object of type 'Glade.XML' To be added: an object of type 'GConf.ChangeSet' To be added gtk-sharp-2.12.10/doc/en/Vte/0000777000175000001440000000000011345266756012502 500000000000000gtk-sharp-2.12.10/doc/en/Vte/ResizeWindowArgs.xml0000644000175000001440000000426611345266756016416 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 To be added a To be added Property System.UInt32 To be added a To be added gtk-sharp-2.12.10/doc/en/Vte/ResizeWindowHandler.xml0000644000175000001440000000277711345266756017104 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ResizeWindowHandler instance to the event. The methods referenced by the ResizeWindowHandler instance are invoked whenever the event is raised, until the ResizeWindowHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Vte/Terminal.xml0000644000175000001440000026206511345266756014726 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A terminal widget implementation. A is a terminal emulator implemented as a . using System; using System.Collections; using Gtk; using Gnome; using Vte; class T { static void Main (string[] args) { new T (args); } T (string[] args) { Program program = new Program ("vte-sharp-test", "0.0", Modules.UI, args); App app = new App ("vte-sharp-test", "Test for vte widget"); app.SetDefaultSize (600, 450); app.DeleteEvent += new DeleteEventHandler (OnAppDelete); HBox hbox = new HBox (); Terminal term = new Terminal (); term.EncodingChanged += new EventHandler (OnEncodingChanged); term.CursorBlinks = true; term.MouseAutohide = true; term.ScrollOnKeystroke = true; term.DeleteBinding = TerminalEraseBinding.Auto; term.BackspaceBinding = TerminalEraseBinding.Auto; term.Encoding = "UTF-8"; term.FontFromString = "Monospace 12"; term.TextDeleted += new EventHandler (OnTextDeleted); term.ChildExited += new EventHandler (OnChildExited); VScrollbar vscroll = new VScrollbar (term.Adjustment); hbox.PackStart (term); hbox.PackStart (vscroll); Gdk.Color white = new Gdk.Color (); Gdk.Color.Parse ("white", ref white); Gdk.Color black = new Gdk.Color (); Gdk.Color.Parse ("black", ref black); term.SetColors (black, white, white, 16); string[] argv = Environment.GetCommandLineArgs (); // wants an array of "variable=value" string[] envv = new string [Environment.GetEnvironmentVariables ().Count]; int i = 0; foreach (DictionaryEntry e in Environment.GetEnvironmentVariables ()) { if (e.Key == "" || e.Value == "") continue; string tmp = String.Format ("{0}={1}", e.Key, e.Value); envv[i] = tmp; i ++; } int pid = term.ForkCommand ( Environment.GetEnvironmentVariable ("SHELL"), argv, envv, Environment.CurrentDirectory, false, true, true); Console.WriteLine ("Child pid: {0}", pid); app.Contents = hbox; app.ShowAll (); program.Run (); } private void OnTextDeleted (object o, EventArgs args) { Console.WriteLine ("text deleted"); } private void OnEncodingChanged (object o, EventArgs args) { Console.WriteLine ("encoding changed"); } private void OnTextInserted (object o, EventArgs args) { Console.WriteLine ("text inserted"); } private void OnChildExited (object o, EventArgs args) { // optionally we could just reset instead of quitting Console.WriteLine ("child exited"); Application.Quit (); } private void OnAppDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Gtk.Widget Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Representing the input data to commit. This can be a single character or a string. a The length of P0. Override this method in a subclass to provide a default handler for the event. P0 can contain control characters. Every key the user presses will emmit a commit signal. About the only thing that will send a sring in P0 will be if the users pasts in some text. Also you must call the parent or base class OnCommit or things will get ugly. Method System.Void To be added a a To be added Method System.Void Appends menu items for various input methods to the given menu. a The user can select one of these items to modify the input method used by the terminal. Method System.Void Resets as much of the terminal's internal state as possible. to reset tabstops to empty the terminal's scrollback buffer Resets as much of the terminal's internal state as possible, discarding any unprocessed input data, resetting character attributes, cursor state, national character set state, status line, terminal modes (insert/delete), selection state, and encoding. Method System.String Extracts a view of the visible part of the terminal. a callback user data to be passed to the callback location for storing text attributes a If is not , characters will only be read if returns after being passed the column and row, respectively. A structure is added to attributes for each byte added to the returned string detailing the character's position, colors, and other characteristics. Method System.Void To be added a a To be added Method System.Void Places the selected text in the terminal in the GDK_SELECTION_PRIMARY selection. Method System.Void Change the colors of the the new foreground color, or the new background color, or the color palette the number of entries in The terminal widget uses a 28-color model comprised of the default foreground and background colors, the bold foreground color, the dim foreground color, an eight color palette, and bold versions of the eight color palette, and a dim version of the the eight color palette. must be either 0, 8, 16, or 24. If is and is greater than 0, the new foreground color is taken from palette[7]. If is and is greater than 0, the new background color is taken from palette[0]. If is 8 or 16, the third (dim) and possibly second (bold) 8-color palette is extrapolated from the new background color and the items in palette. Method System.Void Reads the location of the insertion cursor and returns it. long which will hold the column long which will hold the row The row coordinate is absolute. Method System.Void Determines the amount of additional space the widget is using to pad the edges of its visible area. a in which to store left/right-edge padding a in which to store top/bottom-edge ypadding This is necessary for cases where characters in the selected font do not themselves include a padding area and the text itself would be contiguous with the window border. Applications which use the widget's row_count, column_count, char_height, and char_width fields to set geometry hints using gtk_window_set_geometry_hints() will need to add this value to the base size. The values returned in xpad and ypad are the total padding used in each direction, and do not need to be doubled. Method System.Void Places the selected text in the terminal in the GDK_SELECTION_CLIPBOARD selection. Method System.String Checks if the text in and around the specified position matches any of the regular expressions previously set using . the text column the text row pointer to an integer a string which matches one of the previously set regular expressions If a match exists, the text string is returned and if is not , the number associated with the matched regular expression will be stored in tag. If more than one regular expression has been set with , then expressions are checked in the order in which they were added. Method System.String Extracts a view of the visible part of the string. first row to search for data first column to search for data last row to search for data last column to search for data a callback user data to be passed to the callback location for storing text attributes a If is not , characters will only be read if returns after being passed the column and row, respectively. A structure is added to attributes for each byte added to the returned string detailing the character's position, colors, and other characteristics. The entire scrollback buffer is scanned, so it is possible to read the entire contents of the buffer using this function. Method System.Void Clears the list of regular expressions the terminal uses to highlight text when the user moves the mouse cursor. Method System.Int32 Adds a regular expression to the list of matching expressions. a regular expression an integer associated with this expression When the user moves the mouse cursor over a section of displayed text which matches this expression, the text will be highlighted. Method System.Void Sends a block of UTF-8 text to the child as if it were entered by the user at the keyboard. a Method System.Void Removes the regular expression which is associated with the given from the list of expressions which the terminal will highlight when the user moves the mouse cursor over matching text. the tag of the regex to remove Method System.Void Reset the terminal palette to reasonable compiled-in defaults. Method System.Void Attempts to change the terminal's size in terms of rows and columns. the desired number of columns the desired number of rows If the attempt succeeds, the widget will resize itself to the proper size. Method System.Void Sends the contents of the GDK_SELECTION_CLIPBOARD selection to the terminal's child. If necessary, the data is converted from UTF-8 to the terminal's current encoding. Method System.Void Sends the contents of the GDK_SELECTION_PRIMARY selection to the terminal's child. If necessary, the data is converted from UTF-8 to the terminal's current encoding. The terminal will call also paste the GDK_SELECTION_PRIMARY selection when the user clicks with the the second mouse button. Method System.Void Interprets as if it were data received from a child process. a This can either be used to drive the terminal without a child process, or just to mess with your users. Constructor Internal Constructor. a This should not be called by normal applications. System.Obsolete Constructor Internal Constructor. a This should not be called by normal user code. Constructor Default Constructor Property GLib.GType GType Property. a Returns the native value for . Property System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's char_ascent field Property Gtk.Adjustment An accessor function provided for the benefit of language bindings. the contents of terminal's adjustment field Property System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's column_count field Property Gdk.Color Sets the background color for text which does not have a specific background color assigned. the new background color Only has effect when no background image is set and when the terminal is not transparent. Property System.Boolean Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the user presses a key. if the terminal should scroll on keystrokes Modifier keys do not trigger this behavior. Property System.Int64 An accessor function provided for the benefit of language bindings. a the contents of terminal's char_width field Property System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's char_descent field Property System.Boolean Controls whether or not the terminal will present a visible bell to the user when the child outputs the "bl" sequence. if visible bell is enabled, if not The terminal will clear itself to the default foreground color and then repaint itself. Property System.Boolean Sets whether or not the cursor will blink. if the cursor should blink The length of the blinking cycle is controlled by the "gtk-cursor-blink-time" GTK+ setting. Property System.String A convenience function which converts name into a PangoFontDescription and passes it to . A string describing the font. Property System.String Sets what type of terminal the widget attempts to emulate by scanning for control sequences defined in the system's termcap file. the name of a terminal description Unless you are interested in this feature, always use "xterm". Property System.Boolean Whether a is using Xft to draw text. if the terminal is using Xft to render, if the terminal is using Pango or Xlib. This function allows an application to determine which mode the widget is in. This setting cannot be changed by the caller, but in practice usually matches the behavior of Gtk itself. Property Vte.TerminalEraseBinding Modifies the terminal's backspace key binding, which controls what string or control sequence the terminal sends to its child when the user presses the backspace key. a for the backspace key Property System.String An accessor function provided for the benefit of language bindings. the contents of terminal's icon_title field Property System.Boolean Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the new data is received from the child. if the terminal should scroll on output Property System.Boolean Sets the terminal's background image to the pixmap stored in the root window, adjusted so that if there are no windows below your application, the widget will appear to be transparent. if the terminal should fake transparency Property Gdk.Color To be added a To be added Property Vte.TerminalEraseBinding Modifies the terminal's delete key binding, which controls what string or control sequence the terminal sends to its child when the user presses the delete key. a for the delete key Property System.String The encoding the terminal will expect data from the child to be encoded with. a valid gconv target For certain terminal types, applications executing in the terminal can change the encoding. The default encoding is defined by the application's locale settings. Property System.Boolean Controls whether or not the terminal will attempt to draw bold text by repainting text with a different offset. if the terminal should attempt to draw bold text Property Gdk.Pixbuf Sets a background image for the widget. to use, or to cancel Text which would otherwise be drawn using the default background color will instead be drawn over the specified image. If necessary, the image will be tiled to cover the widget's entire visible area. Property System.String When the user double-clicks to start selection, the terminal will extend the selection on word boundaries. a specification When the user double-clicks to start selection, the terminal will extend the selection on word boundaries. It will treat characters passed in as parts of words, and all other characters as word separators. Ranges of characters can be specified by separating them with a hyphen. As a special case, if set to or the empty string, the terminal will treat all graphic non-punctuation characters as word characters. Property System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's row_count field Property System.String Some terminal emulations specify a status line which is separate from the main display area, and define a means for applications to move the cursor to the status line and back. The current contents of the terminal's status line. For terminals like "xterm", this will usually be the empty string. The string must not be modified or freed by the caller. Property System.Boolean To be added a To be added Property Gdk.Color Sets the color used to draw dim text in the default foreground color. the new dim color Property System.Int64 Sets the length of the scrollback buffer used by the terminal. the length of the history buffer The size of the scrollback buffer will be set to the larger of this value and the number of visible rows the widget can display, so 0 can safely be used to disable scrollback. Note that this setting only affects the normal screen buffer. For terminal types which have an alternate screen buffer, no scrollback is allowed. Property System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's char_height field Property System.String Sets a background image for the widget. a If specified by , the terminal will make its in-memory copy of the image darker for its own use. This is a convenience wrapper for . If your application intends to create multiple terminal widgets using the same background, performing this step yourself and just using will reduce memory consumption. Property Gdk.Color Sets the color used to draw bold text in the default foreground color. the new bold color Property System.Double Adjust the brightness of the background image. a If a background image has been set using , , or , the terminal will adjust the brightness of the image before drawing the image. To do so, the terminal will create a copy of the background image (or snapshot of the root window) and modify its pixel values. If your application intends to create multiple terminal widgets with the same settings, performing this step yourself and just using will save memory. Property System.String An accessor function provided for the benefit of language bindings. the contents of terminal's window_title field the contents of terminal's window_title field Property System.Boolean The value of the terminal's mouse autohide setting. if the autohide should be enabled When autohiding is enabled, the mouse cursor will be hidden when the user presses a key and shown when the user moves the mouse. Property Gdk.Color Sets the foreground color used to draw normal text the new foreground color Property System.Boolean Controls whether or not the terminal will beep when the child outputs the "bl" sequence. a if the terminal should beep Property System.Boolean Checks if the terminal currently contains selected text. if part of the text in the terminal is selected. Note that this is different from determining if the terminal is the owner of any items. Event System.EventHandler Emitted at the child application's request. GLib.Signal("restore-window") Event System.EventHandler Emitted at the child application's request. GLib.Signal("lower-window") Event System.EventHandler Emitted at the child application's request. GLib.Signal("maximize-window") Event System.EventHandler Emitted when the user hits the '+' key while holding the Control key. GLib.Signal("increase-font-size") Event System.EventHandler An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. GLib.Signal("text-modified") Event System.EventHandler Emitted at the child application's request. GLib.Signal("raise-window") Event System.EventHandler An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. GLib.Signal("text-inserted") Event System.EventHandler Emitted whenever the contents of the status line are modified or cleared. GLib.Signal("status-line-changed") Event System.EventHandler Emitted at the child application's request. GLib.Signal("iconify-window") Event System.EventHandler This signal is emitted when the terminal detects that a child started using has exited. GLib.Signal("child-exited") Event System.EventHandler An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. GLib.Signal("text-deleted") Event Vte.MoveWindowHandler Emitted at the child application's request. GLib.Signal("move-window") Event System.EventHandler Emitted at the child application's request. GLib.Signal("refresh-window") Event System.EventHandler Emitted at the child application's request. GLib.Signal("deiconify-window") Event System.EventHandler Emitted when the terminal's icon_title field is modified. GLib.Signal("icon-title-changed") Event System.EventHandler Emitted when the user hits the '-' key while holding the Control key. GLib.Signal("decrease-font-size") Event Vte.TextScrolledHandler An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. GLib.Signal("text-scrolled") Event Vte.CharSizeChangedHandler Emitted whenever selection of a new font causes the values of the char_width or char_height fields to change. GLib.Signal("char-size-changed") Event System.EventHandler Emitted when the terminals encoding type is changed. GLib.Signal("encoding-changed") Event System.EventHandler Emitted when the terminal's window_title field is modified. GLib.Signal("window-title-changed") Event System.EventHandler Emitted whenever the visible appearance of the terminal has changed. Used primarily by . GLib.Signal("contents-changed") Event System.EventHandler Emitted whenever the cursor moves to a new character cell. Used primarily by . GLib.Signal("cursor-moved") Event System.EventHandler Emitted whenever the contents of terminal's selection changes. GLib.Signal("selection-changed") Event System.EventHandler To be added GLib.Signal("eof") Event System.EventHandler Emitted when the terminal emulation type is changed. GLib.Signal("emulation-changed") Event Vte.ResizeWindowHandler Emitted at the child application's request. GLib.Signal("resize-window") Event Vte.CommitHandler Emitted whenever the terminal receives input from the user and prepares to send it to the child process. The signal is emitted even when there is no child process. GLib.Signal("commit") Property Pango.FontDescription The font used for rendering all text displayed by the terminal, overriding any fonts set using . The of the desired font. The terminal will immediately attempt to load the desired font, retrieve its metrics, and attempts to resize itself to keep the same number of rows and columns. Method System.Int32 Starts the specified command under a newly-allocated control pseudo-terminal. the name of a binary to run the argument list to be passed to a list of environment variables to be added to the environment before starting the name of a directory the command should start in, or if the session should be logged to the lastlog if the session should be logged to the utmp/utmpx log if the session should be logged to the wtmp/wtmpx log the ID of the new process TERM is automatically set to reflect the terminal widget's emulation setting. If lastlog, utmp, or wtmp are , logs the session to the specified system log files. Method System.Boolean Determines if a character is considered to be part of a word a if is considered to be a word character according to the current value of . Method System.Void To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property Gdk.Color To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.UInt16 To be added. To be added. To be added. Property Gdk.Color To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Event GLib.Signal("copy-clipboard") System.EventHandler To be added. To be added. Event GLib.Signal("paste-clipboard") System.EventHandler To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. gtk-sharp-2.12.10/doc/en/Vte/TerminalAccessibleFactory.xml0000644000175000001440000000551511345266756020227 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Atk.ObjectFactory Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.10/doc/en/Vte/CharSizeChangedHandler.xml0000644000175000001440000000304011345266756017415 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CharSizeChangedHandler instance to the event. The methods referenced by the CharSizeChangedHandler instance are invoked whenever the event is raised, until the CharSizeChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Vte/CommitArgs.xml0000644000175000001440000000421011345266756015202 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String To be added a To be added Property System.UInt32 To be added a To be added gtk-sharp-2.12.10/doc/en/Vte/CharAttributes.xml0000644000175000001440000001025511345266756016067 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Vte.CharAttributes To be added To be added Field Gdk.Color To be added To be added Field Gdk.Color To be added To be added Method Vte.CharAttributes To be added a a To be added Property System.Int64 To be added a To be added Property System.Int64 To be added a To be added Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added gtk-sharp-2.12.10/doc/en/Vte/CommitHandler.xml0000644000175000001440000000267511345266756015700 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CommitHandler instance to the event. The methods referenced by the CommitHandler instance are invoked whenever the event is raised, until the CommitHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Vte/ChildExitedHandler.xml0000644000175000001440000000276211345266756016633 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildExitedHandler instance to the event. The methods referenced by the ChildExitedHandler instance are invoked whenever the event is raised, until the ChildExitedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Vte/TerminalAntiAlias.xml0000644000175000001440000000304311345266756016501 00000000000000 vte-sharp 0.16.0.0 System.Enum GLib.GType(typeof(Vte.TerminalAntiAliasGType)) Field Vte.TerminalAntiAlias To be added. Field Vte.TerminalAntiAlias To be added. Field Vte.TerminalAntiAlias To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Vte/TerminalEraseBinding.xml0000644000175000001440000000522711345266756017174 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Controls what string or control sequence the terminal sends to its child when the user presses the backspace or delete keys. System.Enum GLib.GType(typeof(Vte.TerminalEraseBindingGType)) Field Vte.TerminalEraseBinding For backspace, attempt to determine the right value from the terminal's IO settings. For delete, use the control sequence. Field Vte.TerminalEraseBinding Send an ASCII backspace character (0x08). Field Vte.TerminalEraseBinding Send an ASCII delete character (0x7F). Field Vte.TerminalEraseBinding Send the "7" control sequence. gtk-sharp-2.12.10/doc/en/Vte/TextScrolledHandler.xml0000644000175000001440000000277711345266756017067 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TextScrolledHandler instance to the event. The methods referenced by the TextScrolledHandler instance are invoked whenever the event is raised, until the TextScrolledHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Vte/MoveWindowHandler.xml0000644000175000001440000000275111345266756016541 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveWindowHandler instance to the event. The methods referenced by the MoveWindowHandler instance are invoked whenever the event is raised, until the MoveWindowHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Vte/ChildExitedArgs.xml0000644000175000001440000000424611345266756016151 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added a To be added Property System.Int32 To be added a To be added gtk-sharp-2.12.10/doc/en/Vte/TerminalAccessible.xml0000644000175000001440000011441411345266756016676 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Accessibility peer of . To be added Gtk.Accessible Atk.Action Atk.Component Atk.Text Method System.Boolean To be added a a a To be added Method System.String To be added a a a a a To be added Method System.String To be added a a a a To be added Method System.String To be added a a a a a To be added Method System.String To be added a a a To be added Method System.Boolean To be added a a To be added Method System.Void To be added a a a a a a To be added Method GLib.SList To be added a a a a To be added Method System.String To be added a a a a a To be added Method System.Boolean To be added a a To be added Method System.Boolean To be added a a a a To be added Method System.Int32 To be added a a a a To be added Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method Atk.Object To be added a a a a To be added Method System.Boolean To be added a a a a To be added Method System.Void To be added a a a To be added Method System.Void To be added a a a a a To be added Method System.UInt32 To be added a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a a a a To be added Method System.Void To be added a a To be added Method System.Boolean To be added a To be added Method System.Boolean To be added a a a a To be added Method System.Void To be added a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor Creates a new accessibility peer for the terminal widget. a Property GLib.GType GType Property. a Returns the native value for . Property System.Int32 To be added a To be added Property System.Int32 Gets the offset position of the caret (cursor). a To be added Property System.Int32 To be added a To be added Property GLib.SList To be added a To be added Property Atk.Layer To be added a To be added Property System.Int32 To be added a To be added Event Atk.TextCaretMovedHandler To be added To be added GLib.Signal("text_caret_moved") Event System.EventHandler To be added To be added GLib.Signal("text_selection_changed") Event System.EventHandler To be added To be added GLib.Signal("text_attributes_changed") Event Atk.TextChangedHandler To be added To be added GLib.Signal("text_changed") Method Atk.TextRange To be added a a a a a To be added Method System.Void To be added a a a a To be added Method System.Char Gets the specified text. position the character at . Event Atk.BoundsChangedHandler To be added To be added GLib.Signal("bounds_changed") Method System.Void To be added a To be added Property System.Double To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Vte/TextScrolledArgs.xml0000644000175000001440000000341111345266756016370 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 To be added a To be added gtk-sharp-2.12.10/doc/en/Vte/MoveWindowArgs.xml0000644000175000001440000000424611345266756016061 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 To be added a To be added Property System.UInt32 To be added a To be added gtk-sharp-2.12.10/doc/en/Vte/Reaper.xml0000644000175000001440000001166511345266756014367 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A singleton object which catches SIGCHLD signals and converts them into GObject-style "child-exited" signals. Because an application may need to be notified when child processes exit, and because there is only one SIGCHLD handler, the widget relies on a to watch for SIGCHLD notifications and retrieve the exit status of child processes which have exited. GLib.Object Method Vte.Reaper Finds the address of the global object, creating the object if necessary. a To be added Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property GLib.GType GType Property. a Returns the native value for . Event Vte.ChildExitedHandler To be added To be added GLib.Signal("child-exited") gtk-sharp-2.12.10/doc/en/Vte/CharSizeChangedArgs.xml0000644000175000001440000000431611345266756016743 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 To be added a To be added Property System.UInt32 To be added a To be added gtk-sharp-2.12.10/doc/en/Gnome.Vfs.xml0000644000175000001440000000353511345266756014212 00000000000000 Library for dealing with various virtual file systems. GnomeVFS is a filesystem abstraction library allowing applications plugable transparent access to a variety of "real" filesystems, from WebDAV to digital cameras, to the local filesystem. It also contains a number of other convenient file utilities such as a comphrehensive MIME database / Application registry, and a copy engine. Use of GnomeVFS ensures that an application or component will be usable by Nautilus or other GnomeVFS applications for handling the display of data from various URIs, as well. From a user's perspective GnomeVFS enabled applications provide consistent access to their data, whether it be stored on remote servers or on their local harddisk, or even a peripheral device such as a Rio or a digital camera. Rather than having to work around the distinction between storage you can work off of and storage you can only "download" from or "upload" to, GnomeVFS allows users to store their documents and data wherever it is most convenient. Besides providing transparent access to data methods that you might otherwise have to implement, GnomeVFS provides a number of convenience libraries for processing URIs, detecting the MIME type of files, and even figuring out which applications or components to launch to view a file or what icon to use. Writing a GnomeVFS module may also be an appropriate solution to some data access problems as it allows the developer to implement a relatively small number of functions to gain general filesystem semantics (and of course, writing a GnomeVFS module benefits other applications too!). gtk-sharp-2.12.10/doc/en/Gtk.DotNet.xml0000644000175000001440000000077711345266756014336 00000000000000 Extension to the Gtk Widget set for .Net interoperability. The functionality provided in this namespace is aimed at utilizing the power of the non-ECMA portions of .Net like System.Drawing and System.Data for the development of Gtk applications. This namespace is provided by the gtk-dotnet assembly. gtk-sharp-2.12.10/doc/en/index.xml0000644000175000001440000015631711345266756013526 00000000000000 To be added. To be added. Untitled gtk-sharp-2.12.10/doc/en/GConf.xml0000644000175000001440000000130311345266756013373 00000000000000 GConf is a process-transparent configuration database with a model-view-controller architecture. GConf is a system for storing configuration information, that is, key-value pairs. GConf provides a notification service so applications can be notified when a key's value is changed. GConf also allows for pluggable storage mechanisms (text files, databases, etc.); allows administrators to install default values; and allows application authors to document their configuration keys for the benefit of administrators. gtk-sharp-2.12.10/doc/en/Gtk/0000777000175000001440000000000011345266756012471 500000000000000gtk-sharp-2.12.10/doc/en/Gtk/CursorMoveArgs.xml0000644000175000001440000000446211345266756016056 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.HTMLCursorSkipType The kind of skip being done in this cursor move. A Approximately: whether to skip by characters, words, pages, or the whole document. Property Gtk.DirectionType The direction to move the cursor. A gtk-sharp-2.12.10/doc/en/Gtk/AspectFrame.xml0000644000175000001440000002012211345266756015316 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A frame that constrains its child to a particular aspect ratio. The AspectFrame is useful when you want pack a widget so that it can resize but always retains the same aspect ratio. For instance, one might be drawing a small preview of a larger image. AspectFrame derives from , so it can draw a label and a frame around the child. The frame will be "shrink-wrapped" to the size of the child. Gtk.Frame Method System.Void Set the size and alignment properties of this AspectFrame. Horizontal alignment of the child within the allocation of the AspectFrame. Vertical alignment of the child within the allocation of the AspectFrame. The desired aspect ratio. If , ratio is ignored, and the aspect ratio is taken from the requistion of the child. Alignment values range from 0.0 (left/top aligned) to 1.0 (right/bottom aligned). Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to construct a new AspectFrame. A title for the frame, can be . Horizontal alignment of the child within the allocation of the AspectFrame. Vertical alignment of the child within the allocation of the AspectFrame. The desired aspect ratio. If , ratio is ignored, and the aspect ratio is taken from the requistion of the child. Alignment values range from 0.0 (left/top aligned) to 1.0 (right/bottom aligned). Property System.Single Vertical alignment of the child widget in the AspectFrame. A value between 0.0 and 1.0. GLib.Property("yalign") Property System.Single Horiontal alignment of the child widget in the AspectFrame. A value between 0.0 and 1.0. GLib.Property("xalign") Property System.Single The aspect ratio of the child widget's size. The aspect ratio between 0.0 and 1.0 representing the child's size constraints. Setting this ratio is ignored if is set to . GLib.Property("ratio") Property System.Boolean Allow the frame to use its child widget's aspect ratio. The current size ratio of the child widget GLib.Property("obey-child") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/FileSelection.xml0000644000175000001440000004541511345266756015665 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Creates a new dialog for the user to select one or more files, directories, or cancel. should be used to retrieve file or directory names from the user. It will create a new dialog window containing a directory list, and a file list corresponding to the current working directory. The filesystem can be navigated using the directory list or the drop-down history menu. Alternatively, the TAB key can be used to navigate using filename completion - common in text based editors such as emacs and jed. Simple file operations; create directory, delete file, and rename file, are available from buttons at the top of the dialog. The functionality of the can be extended by using the available accessors to the buttons and drop downs. using System; using Gtk; class FileSelectionSample { Label lbl; FileSelection fs; static void Main () { new FileSelectionSample (); } FileSelectionSample () { Application.Init (); Window win = new Window ("FileSelectionSample"); win.SetDefaultSize (250,200); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (true, 1); win.Add (vbox); Button btn = new Button ("Select a file."); btn.Clicked += new EventHandler (OnButtonClicked); vbox.Add (btn); lbl = new Label ("Selected: "); vbox.Add (lbl); win.ShowAll () fs = new FileSelection ("Choose a file"); fs.Response += new ResponseHandler (OnFileSelectionResponse); Application.Run (); } void OnButtonClicked (object o, EventArgs args) { fs.Run (); fs.Hide (); } void OnFileSelectionResponse (object o, ResponseArgs args) { if (args.ResponseId == ResponseType.Ok) { lbl.Text = "Selected: " + fs.Filename; } } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Gtk.Dialog Method System.Void Restrict the visible files and directories to those that match the given . A simple wildcard pattern such as '*.txt'. This method attempts to match to a valid filenames or subdirectories in the current directory. If a match can be made, the matched filename will appear in the text entry field of the . If a partial match can be made, the "Files" list will contain those file names which have been partially matched, and the "Folders" list will show those directories with a partial match. Method System.Void Ensures that the file operation buttons are visible. Method System.Void Ensures that the file operation buttons are hidden. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to construct a new file selector. A title that will appear in the window's title bar. Property Gtk.HButtonBox The widget enclosing the items that can be acted upon. an object of type (FIXME: how is this different from ButtonArea? Gtk+ docs are thin about this.) Property Gtk.HButtonBox A widget to contain all the button objects in this dialog. an object of type Property Gtk.Button The 'rename file' button of this file selector. This button may or may not be visible, see and . Property Gtk.Button The 'delete' button of this file selector. This button may or may not be visible, see and . Property Gtk.Button The 'create directory' button of this file selector. This button may or may not be visible, see and . Property System.String The filename selected by this . an object of type Property Gtk.Entry The main widget of this . Property Gtk.MessageDialog The dialog box for confirming actions, if necessary. an object of type Property Gtk.Menu The that is displayed by the . A menu containing the file system paths higher than the selected directory, and the user's directory history. Note that this does not just contain history, it contains a list of directories above the current directory in the filesystem as well as user directory history. Property Gtk.OptionMenu The drop down menu containing directories in the filesystem above the selected directory, and the user's directory history. The at the top of the file selector. This widget displays the menu returned by . Property Gtk.Button A help button, not displayed by default. Property Gtk.Button The 'cancel' button of this file selector. Property Gtk.Button The 'OK' button of this file selector. Property Gtk.Label The text to display about the file to be selected. an object of type Property Gtk.Entry The text-entry widget for entering a filename into. an object of type Property Gtk.TreeView The widget that displays files in this file selector. Property Gtk.TreeView The widget that displays directories in this file selector. Property Gtk.VBox The main in the file selector. a Property System.String[] Get the files that are selected An array of file paths Property System.Boolean Manage whether buttons are displayed for doing file operations. for buttons to be shown, otherwise. This manipulates whether the buttons for creating a directory, deleting files and renaming files, are displayed. GLib.Property("show-fileops") Property System.String Manage the selected filename. The selected filename in the on-disk encoding. If includes a directory path, then the requestor will open with that path as its current working directory. The encoding of filename is the on-disk encoding, which may not be UTF-8. GLib.Property("filename") Property System.Boolean Manage whether more than one file can be selected. if multiple selections are allowed, otherwise. GLib.Property("select-multiple") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/GotPageSizeArgs.xml0000644000175000001440000000367611345266756016141 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintContext The Print Context of the current operation. A . Property Gtk.PageSetup To be added. To be added. To be added. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/CellView.xml0000644000175000001440000004232311345266756014645 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget displaying a single row of a A displays a single row of a , using cell renderers just like . does not support some of the more complex features of , like cell editing and drag and drop. Gtk.Widget Gtk.CellLayout Method Gtk.CellView Creates a new widget, adds a to it, and makes it show . a a Method System.Boolean Sets to the size needed by the CellView to display the model row pointed to by . a a , return location for the size a Method System.Void Re-inserts at . a a Note that has already to be packed into its view for this to function properly. Method System.Void Adds the into the end of the cell layout. a a If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method System.Void Packs the into the beginning of the cell layout. a a If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method System.Void Adds an attribute mapping to the list for this cell layout. a a , parameter on to be set from the value a , column of the model to get a value from. The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Method System.Void a To be added. Method System.Void Unsets all the mappings on all renderers for this cell view. Constructor Internal constructor a System.Obsolete Constructor Internal constructor a Constructor Creates a new widget. Constructor Creates a new widget, adds a to it, and makes its show . a Property GLib.GType GType Property. a Returns the native value for . Property Gdk.Color The background color as a a GLib.Property("background-gdk") Property System.String Background color as a string. a GLib.Property("background") Property Gtk.TreeModel Sets the model for the CellView. a If the CellView already has a model set, it will remove it before setting the new model. If is , then it will unset the old model. GLib.Property("model") Property Gdk.Color The background color a Property Gtk.TreePath The row of the model that is currently displayed a , or to unset. If the path is unset, then the contents of the cellview "stick" at their last value; this is not normally a desired result, but may be a needed intermediate state if say, the model for the becomes temporarily empty. Method System.Void Sets a data function to use for the cell layout. a a The data function is used instead of the standard attributes mapping for setting the column value, and should set the value of the cell renderer as appropriate. may be to remove an older one. Method System.Void System.ParamArray Sets the attribute to model column bindings for a renderer. a a The array should consist of pairs of attribute name and column index. Constructor Creates a new widget, adds a to it, and makes it show . a Property GLib.List To be added a To be added Property Gtk.CellRenderer[] To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/CellEditable.xml0000644000175000001440000000711511345266756015444 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An interface for editing a single cell. GLib.IWrapper Method System.Void Begins editing on a cell editable. A , or . is the that began the editing process. It may be , in the instance that editing was initiated through programatic means. Method System.Void Emits the event. This event is a sign for the cell renderer to update its value from the cell. Method System.Void Emits the event. This event is meant to indicate that the cell is finished editing, and the may now be destroyed. Event System.EventHandler Event that indicates that the cell is finished editing, and the may now be destroyed. Event System.EventHandler Event that indicates to the cell renderer to update its value from the cell. gtk-sharp-2.12.10/doc/en/Gtk/ChangedArgs.xml0000644000175000001440000000443111345266756015277 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.RadioAction The action which has just been activated. a gtk-sharp-2.12.10/doc/en/Gtk/ParentSetHandler.xml0000644000175000001440000000266011345266756016336 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ParentSetHandler instance to the event. The methods referenced by the ParentSetHandler instance are invoked whenever the event is raised, until the ParentSetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/KeyReleaseEventHandler.xml0000644000175000001440000000276211345266756017467 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the KeyReleaseEventHandler instance to the event. The methods referenced by the KeyReleaseEventHandler instance are invoked whenever the event is raised, until the KeyReleaseEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MarkDeletedHandler.xml0000644000175000001440000000271211345266756016610 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MarkDeletedHandler instance to the event. The methods referenced by the MarkDeletedHandler instance are invoked whenever the event is raised, until the MarkDeletedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RecentFilter.xml0000644000175000001440000001610411345266756015517 00000000000000 gtk-sharp 2.12.0.0 Gtk.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property Gtk.RecentFilterFlags To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RedirectArgs.xml0000644000175000001440000000420111345266756015502 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 Number of seconds to wait before the redirect. A Property System.String The URL being redirected to. A gtk-sharp-2.12.10/doc/en/Gtk/StyleChangedArgs.xml0000644000175000001440000000343611345266756016324 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.ToolbarStyle The style that the toolbar was changed to use. A gtk-sharp-2.12.10/doc/en/Gtk/AddWidgetHandler.xml0000644000175000001440000000374111345266756016266 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AddWidgetHandler instance to the event. The methods referenced by the AddWidgetHandler instance are invoked whenever the event is raised, until the AddWidgetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RecentSortFunc.xml0000644000175000001440000000211211345266756016027 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Int32 a to sort. a to sort. Recent chooser sorting delegate. A positive integer if comes before , 0 if they are equal, or a negative value otherwise. Attach a delegate of this type to for custom sorting. gtk-sharp-2.12.10/doc/en/Gtk/FileChooserDialog.xml0000644000175000001440000012751311345266756016462 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. is a dialog box suitable for use with "File/Open" or "File/Save as" commands. This widget works by putting a inside a . It exposes the interface, so you can use all of the functions on the file chooser dialog as well as those for . Similar to but in a dialog. Typical usage. In the simplest of cases, you can use the following code to select a file for opening: public class MainWindow: Gtk.Window { protected virtual void OnBtnLoadFileClicked(object sender, System.EventArgs e) { Gtk.FileChooserDialog fc= new Gtk.FileChooserDialog("Choose the file to open", this, FileChooserAction.Open, "Cancel",ResponseType.Cancel, "Open",ResponseType.Accept); if (fc.Run() == (int)ResponseType.Accept) { System.IO.FileStream file=System.IO.File.OpenRead(fc.Filename); file.Close(); } //Don't forget to call Destroy() or the FileChooserDialog window won't get closed. fc.Destroy(); } Gtk.Dialog Gtk.FileChooser Method System.Boolean Sets the current folder for the chooser from an URI. a , the URI to use a , true if the folder could be changed successfully, false otherwise The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method System.Void Unselects all the files in the current folder of a file chooser. Method System.Boolean Sets as the current filename for the file chooser; If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . a a , true if both the folder could be changed and the file was selected successfully, false otherwise. This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Method System.Boolean Removes a folder URI from a file chooser's list of shortcut folders. a a See also . Method System.Boolean Adds a folder URI to be displayed with the shortcut folders in a file chooser. a a , true if the folder could be added successfully, false otherwise. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "file:///usr/share/mydrawprogram/Clipart" folder to the volume list. Method System.Void Selects all the files in the current folder of a file chooser. Method System.Boolean Selects the file at . If the URI doesn't refer to a file in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder that's part of . a a , true if both the folder could be changed and the URI was selected successfully, false otherwise. Method System.Void Removes from the list of filters that the user can select between. a Method System.Boolean Adds a folder to be displayed with the shortcut folders in a file chooser. a a Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "/usr/share/mydrawprogram/Clipart" folder to the volume list. Method System.Boolean Selects a filename. a a If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . Method System.Void Unselects a currently selected filename. a If the filename is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method System.Void Adds to the list of filters that the user can select between. a When a filter is selected, only files that are passed by that filter are displayed. Method System.Boolean Removes a folder from a file chooser's list of shortcut folders. a a See also . Method System.Void Unselects the file referred to by . a If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method System.Boolean Sets the current folder for the file chooser from a local filename. a a The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method System.Boolean Sets the file referred to by as the current file for the the file chooser. a a , true if both the folder could be changed and the URI was selected successfully, false otherwise. If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use. a , pointer to underlying C object. Property GLib.GType The of this object. a Property System.String The file chooser's current folder, if set from a URI. a Property Gtk.Widget An application-supplied widget to provide extra options to the user. a GLib.Property("extra-widget") Property System.String Property to represent the current name in the file selector, as if entered by the user. a Note that the name passed in here is a UTF-8 string rather than a filename. This function is meant for such uses as a suggested name in a "Save As..." dialog. Property Gtk.FileFilter The currently-applied file filter. a GLib.Property("filter") Property System.Boolean Sets whether only local files can be selected in the file selector. a If true (the default), then the selected file are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in , like , rather than the URI functions like . GLib.Property("local-only") Property System.Boolean Sets whether the preview widget set by should be shown for the current filename. a When this property is set to false, the file chooser may display an internally generated preview of the current file or it may display no preview at all. GLib.Property("preview-widget-active") Property System.String Internal function; gets the filename that should be previewed in a custom preview. a Not for general programmer use. Property System.String The URI for the currently selected file in the file selector. a If multiple files are selected, one of the filenames will be returned at random. If the file chooser is in folder mode, this function returns the selected folder. Property System.Boolean Sets whether the file chooser should display a stock label with the name of the file that is being previewed; the default is true. a Applications that want to draw the whole preview area themselves should set this to false and display the name themselves in their preview widget. GLib.Property("use-preview-label") Property System.String The current filename selected by the file chooser. a Property System.String The URI that should be previewed in a custom preview widget. a Property System.Boolean Sets whether multiple files can be selected in the file selector. a This is only relevant if the action is set to be or . It cannot be set with either of the folder actions. GLib.Property("select-multiple") Property Gtk.Widget An application-supplied widget to use to display a custom preview of the currently selected file. a To implement a preview, after setting the preview widget, you connect to the signal, and check or on each change. If you can display a preview of the new file, update your widget and set the preview active using Otherwise, set the preview inactive. When there is no application-supplied preview widget, or the application-supplied preview widget is not active, the file chooser may display an internally generated preview of the current file or it may display no preview at all. GLib.Property("preview-widget") Property Gtk.FileChooserAction Sets the type of operation that that the chooser is performing; the user interface is adapted to suit the selected action. a For example, an option to create a new folder might be shown if the action is but not if the action is . GLib.Property("action") Property System.String The current folder for the file chooser, when the chooser has selected a local filename. a Property System.String[] The filenames selected by this widget. a Property System.String[] The URIs selected by this dialog. a Property Gtk.FileFilter[] The filters currently in use by this dialog for patterns of files to display. a Property System.String[] The shortcut folders currently in use for this dialog. a Property System.String[] The shortcut URIs currently allowed for this dialog. a Event System.EventHandler This event is raised every time the selected file changes. GLib.Signal("selection-changed") Event System.EventHandler This signal is emitted when the user "activates" a file in the file chooser. This event can happen by double-clicking on a file in the file list, or by pressing Enter. Normally you do not need to connect to this signal. It is used internally by the file chooser code to know when to activate the default button in the dialog. GLib.Signal("file-activated") Event System.EventHandler This signal is emitted when the preview in a file chooser should be regenerated. For example, this can happen when the currently selected file changes. You should use this signal if you want your file chooser to have a preview widget. Once you have installed a preview widget with , you should update it when this signal is emitted. You can use the properties or to get the name of the file to preview. Your widget may not be able to preview all kinds of files; your callback must set to inform the file chooser about whether the preview was generated successfully or not. TODO: insert example from gtkfilechooser-preview in gtk+ docs. GLib.Signal("update-preview") Event System.EventHandler This signal is emitted when the current folder in a file chooser changes. This event can happen due to the user performing some action that changes folders, such as selecting a bookmark or visiting a folder on the file list. It can also happen as a result of calling a function to explicitly change the current folder in a file chooser. Normally you do not need to connect to this signal, unless you need to keep track of which folder a file chooser is showing. GLib.Signal("current-folder-changed") Constructor To be added To be added Constructor System.ParamArray Creates a file chooser dialog. a title a parent for the dialog, or . See . an action, for example save or open. a list of button text/response pairs for buttons to be added to the dialog, if desired. The pair format is , (see an example in overview section of ) By default, a comes with no buttons, so you'd better provide at least the most basics one (Save/Cancel or Open/Cancel) or your user won't be able to do anything apart from closing the dialog ( closing the dialog returns .None ) Constructor System.ParamArray Creates a file chooser dialog with a specific file chooser backend a , the backend name a title a parent for the dialog, or . an action, for example save or open. a list of button text/response pairs for buttons to be added to the dialog, if desired. This is especially useful if you use to allow non-local files and you use a more expressive vfs, such as gnome-vfs, to load files. Property System.Boolean Indicates if Hidden files and directories should be visible. a GLib.Property("show-hidden") Event GLib.Signal("confirm-overwrite") Gtk.ConfirmOverwriteHandler Indicates a file overwrite has been requested. This event is raised when the user has selected a file name that already exists and the file chooser is in mode. Most applications just need to turn on the property and they will automatically get a stock confirmation dialog. Applications which need to customize this behavior should do that, and also connect to this event. A connected to this event must set to the value indicating the action to take. If the handler determines that the user wants to select a different filename, it should return . If it determines that the user is satisfied with his choice of file name, it should return . On the other hand, if it determines that the stock confirmation dialog should be used, it should return . Method Gtk.FileChooserConfirmation Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Property GLib.Property("do-overwrite-confirmation") System.Boolean Enables Overwrite Confirmation in the dialog. if confirmation should be performed. gtk-sharp-2.12.10/doc/en/Gtk/MenuItem.xml0000644000175000001440000003335311345266756014661 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget used for items in menus. The and derived widgets are the only valid children for menus. Their function is to correctly handle highlighting, alignment, events and submenus. MenuBar mb = new MenuBar (); Menu file_menu = new Menu (); MenuItem exit_item = new MenuItem("Exit"); file_menu.Append (exit_item); MenuItem file_item = new MenuItem("File"); file_item.Submenu = file_menu; mb.Append (file_item); Gtk.Item Method System.Void Removes the submenu of the , if it has one. Method System.Void Fires the event. Method System.Void Fires the event. Method System.Void Emits the event on the given item. The allocation to use as signal data. Method System.Void Emits the event on the given item. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor A constructor. Constructor Creates a new MenuItem containing a label. The label text on the menu item, with an underscore in front of the mnemonic character. Property Gtk.Widget Sets or obtains the widget submenu. A submenu for this menu item, or if none. // A container: Menu mnuFile = new Menu(); // An item MenuItem itmFile = new MenuItem ("_File"); // Add the item into the container: itmFile.Submenu = mnuFile; // // Add the newly-created File menu into the menubar: menuBar.Add (itmFile); GLib.Property("submenu") Property System.String Sets the accelerator path. The accelerator path of the menu item. Sets the accelerator path, through which runtime changes of the menu item's accelerator caused by the user can be identified and saved to persistant storage. Property System.Boolean Sets or obtains whether the menu item appears justified at the right side of a menu bar. Returns if the menu item will appear at the far right if added to a menu bar. Event System.EventHandler Emitted when the item is activated. GLib.Signal("activate") Event System.EventHandler Emitted when the item is activated, but also if the menu item has a submenu. For normal applications, the relevant event is . GLib.Signal("activate_item") Event Gtk.ToggleSizeAllocatedHandler Emitted when size is allocated. GLib.Signal("toggle_size_allocate") Event Gtk.ToggleSizeRequestedHandler Emitted when size is requested. GLib.Signal("toggle_size_request") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 Emits the event on the given item. The requisition to use as signal data. gtk-sharp-2.12.10/doc/en/Gtk/TextBufferDeserializeFunc.xml0000644000175000001440000000277311345266756020213 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/IconFactory.xml0000644000175000001440000002371511345266756015357 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An icon factory manages a collection of GLib.Object Method Gtk.IconSet Looks for an icon in the list of default icon factories. an icon name a , or . Looks for an icon in the list of default icon factories. For display to the user, you should use on the for the widget that will display the icon, instead of using this function directly, so that themes are taken into account. Method System.Void Adds an icon factory to the list of icon factories searched by . Adds an icon factory to the list of icon factories searched by . This means that, for example, will be able to find icons in factory. There will normally be an icon factory added for each library or application that comes with icons. The default icon factories can be overridden by themes. Method System.Void Adds the given to the icon factory, under the name . The icon's name The icon set Adds the given to the icon factory, under the name . should be namespaced for your application, e.g. "myapp-name-of-icon". Normally applications create a , then add it to the list of default factories with . They pass the to widgets such as to display the icon. Themes can provide an icon with the same name (such as "myapp-name-of-icon") to override your application's default icons. If an icon already existed in factory for , it is unreferenced and replaced with the new . Method Gtk.IconSet Looks up a Stock ID in the icon factory. an icon name a , or . Looks up in the icon factory, returning an icon set if found, otherwise . For display to the user, you should use on the for the widget that will display the icon, instead of using this function directly, so that themes are taken into account. Method System.Void Removes an icon factory from the list of default icon factories. Removes an icon factory from the list of default icon factories. Not normally used; you might use it for a library that can be unloaded or shut down. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . Creates a new . An icon factory manages a collection of s; a manages a set of variants of a particular icon (i.e. a GtkIconSet contains variants for different sizes and widget states). Icons in an icon factory are named by a stock ID, which is a simple string identifying the icon. Each has a list of GtkIconFactorys derived from the current theme; those icon factories are consulted first when searching for an icon. If the theme doesn't set a particular icon, GTK+ looks for the icon in a list of default icon factories, maintained by and . Applications with icons should add a default icon factory with their icons, which will allow themes to override the icons for the application. Method System.Void Obtains the pixel size of a semantic icon size an icon size an integer to store the icon's width an integer to store the icon's height Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/AcceptPositionArgs.xml0000644000175000001440000000255711345266756016701 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/TargetFlags.xml0000644000175000001440000000501011345266756015326 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The enumeration is used to specify constraints on an entry in a . System.Enum GLib.GType(typeof(Gtk.TargetFlagsGType)) System.Flags Field Gtk.TargetFlags If this is set, the target will only be selected for drags within a single application. Field Gtk.TargetFlags If this is set, the target will only be selected for drags within a single widget. Field Gtk.TargetFlags To be added. Field Gtk.TargetFlags To be added. gtk-sharp-2.12.10/doc/en/Gtk/ExposeEventHandler.xml0000644000175000001440000000270611345266756016677 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ExposeEventHandler instance to the event. The methods referenced by the ExposeEventHandler instance are invoked whenever the event is raised, until the ExposeEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeSelectionForeachFunc.xml0000644000175000001440000000243711345266756020006 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. A delegate class for functions that can be run on every element of a . See for how to invoke a delegate of this type. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ChildPropertyAttribute.xml0000644000175000001440000000435711345266756017614 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Attribute used to label a child property System.Attribute Constructor Attribute constructor the (C/GObject) name of the child property Property System.String The (C/GObject) name of the child property a gtk-sharp-2.12.10/doc/en/Gtk/PrefixInsertedHandler.xml0000644000175000001440000000403611345266756017363 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PrefixInsertedHandler instance to the event. The methods referenced by the PrefixInsertedHandler instance are invoked whenever the event is raised, until the PrefixInsertedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Dialog.xml0000644000175000001440000006431111345266756014333 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Creates popup windows. boxes are a convenient way to prompt the user for a small amount of input, eg. to display a message, ask a question, or anything else that does not require extensive effort by the user. Gtk# treats a dialog as a window split vertically. The top section is a , and is where widgets such as a or an should be packed. The bottom area is known as the . This is generally used for packing buttons into the dialog which may perform functions such as cancel, ok, or apply. The two areas are separated by a . The two primary areas of a dialog can be accessed as the property and the property. To set the dialog to be modal, use the property. If you want to block waiting for a dialog to return before returning control flow to your code, you can call . This function enters a recursive main loop and waits for the user to respond to the dialog, returning the corresponding to the the user clicked. For a simple dialog, you would probably use to save yourself some effort. However, you would need to create the contents manually if you had more than a simple message in the . using System; using Gtk; namespace GtkDialogSample { public class GtkDialogSample { Dialog dialog; Window win; static void Main() { new GtkDialogSample (); } GtkDialogSample () { Application.Init (); win = new Window ("Test"); win.SetDefaultSize (250, 250); win.DeleteEvent += delegate { Application.Quit (); } Button btn = new Button ("Show About"); btn.Clicked += on_btn_clicked; win.Add (btn); win.ShowAll (); Application.Run (); } void on_btn_clicked (object obj, EventArgs args) { dialog = new Dialog ("Sample", win, Gtk.DialogFlags.DestroyWithParent); dialog.Modal = true; dialog.AddButton ("Close", ResponseType.Close); dialog.Response += on_dialog_response; dialog.Run (); dialog.Destroy (); } void on_dialog_response (object obj, ResponseArgs args) { Console.WriteLine (args.ResponseId); } } } You also can subclass the when you want to use the same Dialog on several places in your application. using System; using Gtk; namespace GtkDialogSample { public class MyDialog:Dialog { public MyDialog(Window w,DialogFlags f ):base("Sample", w, f) { this.Modal = true; this.AddButton ("Close", ResponseType.Close); } protected override void OnResponse (ResponseType response_id){ Console.WriteLine (response_id); } } public class GtkDialogSample { MyDialog dialog; Window win; static void Main() { new GtkDialogSample (); } GtkDialogSample () { Application.Init (); win = new Window ("Test"); win.SetDefaultSize (250, 250); win.DeleteEvent += new DeleteEventHandler (on_win_delete); Button btn = new Button ("Show About"); btn.Clicked += new EventHandler (on_btn_clicked); win.Add (btn); win.ShowAll (); Application.Run (); } void on_btn_clicked (object obj, EventArgs args) { dialog = new MyDialog(win, Gtk.DialogFlags.DestroyWithParent); dialog.Run (); dialog.Destroy (); } void on_win_delete (object obj, DeleteEventArgs args) { Application.Quit (); } } } Gtk.Window Method System.Void Adds an activatable widget to the of a . an object of type . an object of type . Adds an activatable to the of a , connecting a signal handler that will on the when the is activated. The is appended to the end of the . If you want to add a non-activatable , simply pack it into the field of the . Method System.Int32 Waits for the event or the to be destroyed. an object of type . Waits for the event or the to be destroyed. If the is destroyed during the call to , returns . Otherwise, it returns the response ID from the event. Before entering the recursive main loop, calls on the for you. Note that you still need to show any children of the yourself. During , the default behavior of is disabled; if the receives , it will not be destroyed as usual, and will return . Also, during the will be modal. You can force to return at any time by calling to emit the event. Destroying the during is a very bad idea, because your post-run code will not know whether the was destroyed or not. After returns, you are responsible for hiding or destroying the if you wish to do so. Method System.Void Emits the event with the given response ID. an object of type . Emits the event with the given response ID. Used to indicate that the user has responded to the in some way; typically either you or will be monitoring the event and take appropriate action. Method Gtk.Widget Adds a with the given text. an object of type . an object of type . an object of type Adds a with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the will emit a with the given response_id. The is appended to the end of the . The is returned, but usually you do not need it. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new dialog box. Creates a new dialog box. This is an internal constructor, and should not be used by user code. Constructor System.ParamArray Creates a new dialog box. a title a parent , or for an unparented dialog. dialog characteristic such as modality and destruction policy. a list of button text/response pairs if desired. Creates a new with the specified title and parent widget. The argument can be used to make the dialog modal () and/or to have it destroyed along with its parent (). using System; using Gtk; class MainClass { public static void Main (string[] args) { Application.Init (); // Shows two buttons that use stock icons, and a custom button // Add button will return 1000 // Delete button will return 2000 // "My Own Butotn" will return 3000 Dialog d = new Gtk.Dialog ("What to do?", null, DialogFlags.Modal, Stock.Add, 1000, Stock.Delete, 2000, "My Own Button", 3000); int response = d.Run (); if (response == (int) ResponseType.DeleteEvent) Console.WriteLine ("The user closed the dialog box"); Console.WriteLine (response); } } Property Gtk.VBox The that contains other widgets in this dialog. an object of type . Property System.Boolean Whether to display a . an object of type Whether to display a in the above the GLib.Property("has-separator") Event Gtk.ResponseHandler Emitted when an action widget is clicked, the receives a delete event, or the application programmer calls . On a delete event, the response ID is . Otherwise, it depends on which action widget was clicked. GLib.Signal("response") Event System.EventHandler Emitted when the dialog is closed. GLib.Signal("close") Property Gtk.HButtonBox The area of the Dialog where the action widgets are placed. a Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void Adds an activatable widget to the of a . a a Adds an activatable to the of a , connecting a signal handler that will on the when the is activated. The is appended to the end of the . If you want to add a non-activatable , simply pack it into the field of the . Method Gtk.Widget Adds a new response button to the dialog. a , text for the button a , the numeric response code emitted when the button is pressed. a representing the button added. Method System.Void Activate one of the responses. a , the chosen response. Property Gtk.ResponseType Sets the default response_id. a Sets the default response_id. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void A convenient way to sensitize/desensitize dialog buttons. a a Sets = for each widget in the with the given response_id. A convenient way to sensitize/desensitize dialog buttons. Method System.Int32 To be added a a To be added Method System.Int32 A in the action area of the dialog. Gets the response id associated with an action area Widget. an representing the response id or if the widget has no response id set. Property System.Int32[] AlternativeButtonOrder property. An array of Response IDs. Sets the button order to an alternative arrangement when the gtk-alternive-button-order setting is . gtk-sharp-2.12.10/doc/en/Gtk/FileChooser.xml0000644000175000001440000007545711345266756015353 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Interface for a file-chooser. See for an actual implementation. GLib.IWrapper Method System.Boolean Sets the current folder for the chooser from an URI. a , the URI to use a , true if the folder could be changed successfully, false otherwise The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method System.Void Unselects all the files in the current folder of a file chooser. Method System.Boolean Sets as the current filename for the file chooser; If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . a a , true if both the folder could be changed and the file was selected successfully, false otherwise. This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Method System.Boolean Removes a folder URI from a file chooser's list of shortcut folders. a a See also . Method System.Boolean Adds a folder URI to be displayed with the shortcut folders in a file chooser. a a , true if the folder could be added successfully, false otherwise. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "file:///usr/share/mydrawprogram/Clipart" folder to the volume list. Method System.Void Selects all the files in the current folder of a file chooser. Method System.Boolean Selects the file at . If the URI doesn't refer to a file in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder that's part of . a a , true if both the folder could be changed and the URI was selected successfully, false otherwise. Method System.Void Removes from the list of filters that the user can select between. a Method System.Boolean Adds a folder to be displayed with the shortcut folders in a file chooser. a a Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "/usr/share/mydrawprogram/Clipart" folder to the volume list. Method System.Boolean Selects a filename. a a If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . Method System.Void Unselects a currently selected filename. a If the filename is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method System.Void Adds to the list of filters that the user can select between. a When a filter is selected, only files that are passed by that filter are displayed. Method System.Boolean Removes a folder from a file chooser's list of shortcut folders. a a See also . Method System.Void Unselects the file referred to by . a If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method System.Boolean Sets the current folder for the file chooser from a local filename. a a The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method System.Boolean Sets the file referred to by as the current file for the the file chooser. a a , true if both the folder could be changed and the URI was selected successfully, false otherwise. If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Property System.String The file chooser's current folder, if set from a URI. a Property Gtk.Widget An application-supplied widget to provide extra options to the user. a Property System.String Property to represent the current name in the file selector, as if entered by the user. a Note that the name passed in here is a UTF-8 string rather than a filename. This function is meant for such uses as a suggested name in a "Save As..." dialog. Property Gtk.FileFilter The currently-applied file filter. a Property System.Boolean Sets whether only local files can be selected in the file selector. a If true (the default), then the selected file are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in , like , rather than the URI functions like . Property System.Boolean Sets whether the preview widget set by should be shown for the current filename. a When this property is set to false, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Property System.String Internal function; gets the filename that should be previewed in a custom preview. a Not for general programmer use. Property System.String The URI for the currently selected file in the file selector. a If multiple files are selected, one of the filenames will be returned at random. If the file chooser is in folder mode, this function returns the selected folder. Property System.Boolean Sets whether the file chooser should display a stock label with the name of the file that is being previewed; the default is true. a Applications that want to draw the whole preview area themselves should set this to false and display the name themselves in their preview widget. Property System.String The current filename selected by the file chooser. a Property System.String The URI that should be previewed in a custom preview widget. a Property System.Boolean Sets whether multiple files can be selected in the file selector. a This is only relevant if the action is set to be or . It cannot be set with either of the folder actions. Property Gtk.Widget An application-supplied widget to use to display a custom preview of the currently selected file. a To implement a preview, after setting the preview widget, you connect to the signal, and check or on each change. If you can display a preview of the new file, update your widget and set the preview active using Otherwise, set the preview inactive. When there is no application-supplied preview widget, or the application-supplied preview widget is not active, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Property Gtk.FileChooserAction Sets the type of operation that that the chooser is performing; the user interface is adapted to suit the selected action. a For example, an option to create a new folder might be shown if the action is but not if the action is . Property System.String The current folder for the file chooser, when the chooser has selected a local filename. a Event System.EventHandler This event is raised every time the selected file changes. Event System.EventHandler This signal is emitted when the user "activates" a file in the file chooser. This event can happen by double-clicking on a file in the file list, or by pressing Enter. Normally you do not need to connect to this signal. It is used internally by the file chooser code to know when to activate the default button in the dialog. Event System.EventHandler This signal is emitted when the preview in a file chooser should be regenerated. For example, this can happen when the currently selected file changes. You should use this signal if you want your file chooser to have a preview widget. Once you have installed a preview widget with , you should update it when this signal is emitted. You can use the properties or to get the name of the file to preview. Your widget may not be able to preview all kinds of files; your callback must set to inform the file chooser about whether the preview was generated successfully or not. TODO: insert example from gtkfilechooser-preview in gtk+ docs. Event System.EventHandler This signal is emitted when the current folder in a file chooser changes. This event can happen due to the user performing some action that changes folders, such as selecting a bookmark or visiting a folder on the file list. It can also happen as a result of calling a function to explicitly change the current folder in a file chooser. Normally you do not need to connect to this signal, unless you need to keep track of which folder a file chooser is showing. Property System.Boolean To be added a To be added Property System.String[] To be added. An array of System.Strings. To be added. Property Gtk.FileFilter[] To be added. To be added. To be added. Property System.String[] To be added. To be added. To be added. Property System.String[] To be added. To be added. To be added. Property System.String[] To be added. An array of System.Strings. To be added. Event Gtk.ConfirmOverwriteHandler Indicates an overwrite confirmation is needed. Property System.Boolean Controls if Overwrite Confirmation is performed. to perform overwrite confirmations. When this property is set, the implementation will raise any time the chooser is in Save mode and an existing file is selected. gtk-sharp-2.12.10/doc/en/Gtk/WindowPosition.xml0000644000175000001440000000544011345266756016126 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. placement can be influenced using this enumeration. System.Enum GLib.GType(typeof(Gtk.WindowPositionGType)) Field Gtk.WindowPosition No influence is made on placement. Field Gtk.WindowPosition Windows should be placed in the center of the screen. Field Gtk.WindowPosition Windows should be placed at the current mouse position. Field Gtk.WindowPosition Keep window centered as it changes size, etc. Field Gtk.WindowPosition Center the window on its transient parent (see ). gtk-sharp-2.12.10/doc/en/Gtk/IframeCreatedArgs.xml0000644000175000001440000000340711345266756016443 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.HTML The IFRAME element that was created. a gtk-sharp-2.12.10/doc/en/Gtk/NotebookTab.xml0000644000175000001440000000306711345266756015344 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration of tabs that can be found in every . System.Enum GLib.GType(typeof(Gtk.NotebookTabGType)) Field Gtk.NotebookTab The first tab. Field Gtk.NotebookTab The last tab. gtk-sharp-2.12.10/doc/en/Gtk/EditingStartedArgs.xml0000644000175000001440000000535311345266756016664 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.CellEditable To be added a To be added Property System.String To be added a To be added gtk-sharp-2.12.10/doc/en/Gtk/DestDefaults.xml0000644000175000001440000000660311345266756015523 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration to specify the various courses of action that will be taken on behalf of the user for a destination site of a drag and drop operation. System.Enum GLib.GType(typeof(Gtk.DestDefaultsGType)) System.Flags Field Gtk.DestDefaults If set for a widget, during a drag, Gtk+ will check if the drag matches this widget's list of possible targets and actions. Field Gtk.DestDefaults If set for a widget, Gtk+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable. Field Gtk.DestDefaults If set for a widget when a drop occurs, Gtk+ will check if the drag matches this widget's list of possible targets and actions. If so, Gtk+ will call on behalf of the widget. Whether or not the drop is successful, Gtk+ will call . If the drag was successful, then true will be passed for the del parameter to . Field Gtk.DestDefaults If set, specifies that all default actions should be taken. gtk-sharp-2.12.10/doc/en/Gtk/TextDeletedArgs.xml0000644000175000001440000000527711345266756016172 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The end position within the widget for the text that was deleted. An integer for the end position; this character is not included in the deleted text. Property System.Int32 The start position within the widget for the text that was deleted. An integer for the start position. gtk-sharp-2.12.10/doc/en/Gtk/TextIter.xml0000644000175000001440000021634311345266756014710 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Text buffer iterator System.ValueType Field Gtk.TextIter Returns an empty Method Gtk.TextIter Internal method a a new This is an internal method and should not be used by user code. Method System.Boolean Moves backward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is . a or whether we found a tag toggle before iter If no matching tag toggles are found, returns , otherwise . Does not return toggles located at iter, only toggles before iter. Sets iter to the location of the toggle, or the start of the buffer if no toggle is found. Method Gtk.TextIter Creates a dynamically-allocated copy of an iterator. a Method System.Boolean Moves backward to the previous word start. if iter moved and is not the end iterator (If iter is currently on a word start, moves backward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method System.Boolean Moves forward to the next sentence end. if iter moved and is not the end iterator If iter is at the end of a sentence, moves to the next end of sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method System.Void Swaps the value of first and second if second comes before first in the buffer. another That is, ensures that first and second are in sequence. Most text buffer functions that take a range call this automatically on your behalf, so there's no real reason to call it yourself in those cases. There are some exceptions, such as , that expect a pre-sorted range. Method System.Boolean Moves back cursor positions. number of positions to move if we moved and the new position is dereferenceable Method System.Boolean Moves the iterator backward one line true if the operation succeeded. Returns if iter could be moved; i.e. if iter was at character offset 0, this function returns . Therefore if iter was already on line 0, but not at the start of the line, iter is snapped to the start of the line and the function returns . (Note that this implies that in a loop calling this function, the line number may not change on every iteration, if your first iteration is on line 0.) Method System.String Like , but invisible text is not included. iterator at end of range slice of text from the buffer Invisible text is usually invisible because a with the "invisible" attribute turned on has been applied to it. Method System.String Returns the text in the given range. iterator at end of a range slice of text from the buffer A "slice" is an array of characters encoded in UTF-8 format, including the Unicode "unknown" character 0xFFFC for iterable non-character elements in the buffer, such as images. Because images are encoded in the slice, byte and character offsets in the returned array will correspond to byte offsets in the text buffer. Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the buffer. Method System.Boolean Moves forward to the next word end. if iter moved and is not the end iterator (If iter is currently on a word end, moves forward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method System.Boolean Advances the iterator, calling on each character. A to call on each character. search limit, or for none whether a match was found If pred returns , returns and stops scanning. If pred never returns , iter is set to limit if limit is non-, otherwise to the end iterator. Method System.Boolean Obsolete. Replaced by . A to call on each character. Ignored search limit, or for none whether a match was found Method System.Boolean Determines whether iter ends a natural-language word. if iter is at the end of a word Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method System.Boolean Returns whether the character at iter is within an editable region of text. if text is editable by default whether iter is inside an editable range Non-editable text is "locked" and cannot be changed by the user via . This function is simply a convenience wrapper around . If no tags applied to this text effect editability, will be returned. You do not want to use this function to decide whether text can be inserted at iter, because for insertion you do not want to know whether the char at iter is inside an editable range, you want to know whether a new character inserted at iter would be inside an editable range. Use to handle this case. Method System.Boolean Moves this iterator forward by one character offset. A boolean: if the iterator moved and is dereferenceable. Note that images embedded in the buffer occupy 1 character slot, so this may actually move onto an image instead of a character, if you have images in your buffer. If this object is the end iterator or one character before it, the object will now point at the end iterator, and return for convenience when writing loops. Method System.Boolean Moves the iterator back a number of lines. number of lines to move backwards. true if the operation succeeded. Moves count lines backward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . If count is negative, moves forward by 0 - count lines. Method System.Boolean Returns true if the iterator is at the end of a line. true if the iterator is at the end of a line. Returns if iter points to the start of the paragraph delimiter characters for a line (delimiters will be either a newline, a carriage return, a carriage return followed by a newline, or a Unicode paragraph separator character). Note that an iterator pointing to the \n of a \r\n pair will not be counted as the end of a line, the line ends before the \r. The end iterator is considered to be at the end of a line, even though there are no paragraph delimiter chars there. Method System.Boolean Calls up to times, or until it returns . number of sentences to move if iter moved and is not the end iterator If is negative, moves forward instead of backward. Method System.Void Moves iter forward to the "end iterator," which points one past the last valid character in the buffer. Method System.Boolean Same as , but goes backward from iter. A to call on each character. search limit, or for none whether a match was found Method System.Boolean Obsolete. Replaced by . A to call on each character. Ignored search limit, or for none whether a match was found Method System.Boolean Moves up cursor positions. number of positions to move if we moved and the new position is dereferenceable See for details. Method System.Boolean Tests whether two iterators are equal, using the fastest possible mechanism. another if the iterators point to the same place in the buffer This function is very fast; you can expect it to perform better than e.g. getting the character offset for each iterator and comparing the offsets yourself. Also, it's a bit faster than . Method System.Boolean whether tag is either toggled on or off at iter a or whether tag is toggled on or off at iter Method System.Boolean Determines whether iter begins a sentence. if iter is at the start of a sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method System.Boolean Moves forward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is . a or whether we found a tag toggle after iter If no matching tag toggles are found, returns , otherwise . Does not return toggles located at iter, only toggles after iter. Sets iter to the location of the toggle, or to the end of the buffer if no toggle is found. Method System.Boolean Returns if iter begins a paragraph. whether iter begins a line Method System.Boolean Like , but moves backward. if we moved Method System.Boolean Computes the effect of any tags applied to this spot in the text. a s if values was modified The values parameter should be initialized to the default settings you wish to use if no tags are in effect. You would typically obtain the defaults from . will modify values, applying the effects of any tags present at iter. If any tags affected values, the function returns . Method System.String Returns text in the given range. iterator at end of a range the string from the buffer If the range contains non-text elements such as images, the character and byte offsets in the returned string will not correspond to character and byte offsets in the buffer. If you want offsets to correspond, see . Method System.Boolean Moves iter forward by a single cursor position. if we moved and the new position is dereferenceable Cursor positions are (unsurprisingly) positions where the cursor can appear. Perhaps surprisingly, there may not be a cursor position between all characters. The most common example for European languages would be a carriage return/newline sequence. For some Unicode characters, the equivalent of say the letter "a" with an accent mark will be represented as two characters, first the letter then a "combining mark" that causes the accent to be rendered; so the cursor cannot go between those two characters. Method System.Boolean Moves count lines forward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). number of lines to move forward whether iter moved and is dereferenceable The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . If count is negative, moves backward by 0 - count lines. Method System.Boolean Moves iter to the start of the next line. A boolean; whether the iterator is dereferenceable Returns if there was a next line to move to, and if iter was simply moved to the end of the buffer and is now not dereferenceable, or if iter was already at the end of the buffer. Method System.Boolean Moves the iterator back a number of characters. number of characters to move backwards. true if the operation succeeded Moves count characters backward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . Method System.Boolean Returns if iter is within a range tagged with tag. a whether iter is tagged with tag Method System.Boolean Moves backward to the previous sentence start; if iter is already at the start of a sentence, moves backward to the next one. if iter moved and is not the end iterator Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method System.Boolean Determines whether iter begins a natural-language word. if iter is at the start of a word Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method System.Boolean Returns if tag is toggled on at exactly this point. a or whether iter is the start of a range tagged with tag If tag is , returns if any tag is toggled on at this point. Note that the returns if iter is the start of the tagged range; tells you whether an iterator is within a tagged range. Method System.String Like , but invisible text is not included. iterator at end of range string containing visible text in the range Invisible text is usually invisible because a with the "invisible" attribute turned on has been applied to it. Method System.Boolean Moves the iterator to point to the paragraph delimiter characters, which will be either a newline, a carriage return, a carriage return/newline in sequence, or the Unicode paragraph separator character. if we moved and the new location is not the end iterator If the iterator is already at the paragraph delimiter characters, moves to the paragraph delimiter characters for the next line. If iter is on the last line in the buffer, which does not end in paragraph delimiters, moves to the end iterator (end of the last line), and returns . Method System.Boolean Determines whether iter ends a sentence. if iter is at the end of a sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method System.Boolean Calls times (or until it returns ). number of sentences to move if iter moved and is not the end iterator If is negative, moves backward instead of forward. Method System.Boolean Determines whether iter is inside a sentence (as opposed to in between two sentences, e.g. after a period and before the first letter of the next sentence). if iter is inside a sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method System.Boolean Calls up to times. number of times to move if iter moved and is not the end iterator Method System.Boolean Moves the iterator back one character true if the operation succeeded Returns if movement was possible; if iter was the first in the buffer (character offset 0), this returns for convenience when writing loops. Method System.Boolean Returns if tag is toggled off at exactly this point. a or whether iter is the end of a range tagged with tag If tag is , returns if any tag is toggled off at this point. Note that the returns if iter is the end of the tagged range; tells you whether an iterator is within a tagged range. Method System.Boolean Moves count characters if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). number of characters to move, may be negative whether iter moved and is dereferenceable The return value indicates whether the new position of iter is different from its original position, and dereferenceable (the last iterator in the buffer is not dereferenceable). If count is 0, the function does nothing and returns . Method System.Boolean Considering the default editability of the buffer, and tags that affect editability, determines whether text inserted at iter would be editable. if text is editable by default whether text inserted at iter would be editable If text inserted at iter would be editable then the user should be allowed to insert text at iter. uses this function to decide whether insertions are allowed at a given position. Method System.Int32 A qsort()-style function that returns negative if lhs is less than rhs, positive if lhs is greater than rhs, and 0 if they are equal. another -1 if lhs is less than rhs, 1 if lhs is greater, 0 if they are equal Ordering is in character offset order, i.e. the first character in the buffer is less than the second character in the buffer. Method System.Boolean Determines whether iter is inside a natural-language word (as opposed to say inside some whitespace). if iter is inside a word Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method System.Boolean Checks whether iter falls in the range (start, end). start of range end of range if iter is in the range and must be in ascending order. Method System.Boolean Calls up to times. number of times to move if iter moved and is not the end iterator Property System.Int32 Returns the number of bytes from the start of the line to the given iter, not counting bytes that are invisible due to tags with the "invisible" flag toggled on. byte index of iter with respect to the start of the line Property Gtk.TextChildAnchor If the location at iter contains a child anchor, the anchor is returned. Otherwise, is returned. the anchor at iter Property System.Int32 Number of characters in the TextIter's line. Returns the number of characters in the TextIter's current line, including the paragraph delimiters. None. Property System.Int32 Line number the iterator is currently on. The line number the iterator is currently on. Lines in a are numbered beginning with 0 for the first line in the buffer. Property System.Int32 Returns the number of bytes in the line containing iter, including the paragraph delimiters. number of bytes in the line Property System.String Character the TextIter points to. a 1 character length string container the character pointed to by the TextIter Even though this property returns a string, it will never hold more than a single character. Property System.Int32 Manipulates the offset from the start of the buffer. Returns the offset of the iter from the start of the buffer. None. Property Gdk.Pixbuf return the pixbuf at this iter, if it is one. the pixbuf at iter If the element at iter is a , the Pixbuf is returned. Otherwise, is returned. Property Pango.Language A convenience wrapper around , which returns the language in effect at iter. language in effect at iter If no tags affecting language apply to iter, the return value is identical to that of . Property System.Int32 Returns the byte index of the iterator, counting from the start of a newline-terminated line. distance from start of line, in bytes Remember that encodes text in UTF-8, and that characters can require a variable number of bytes to represent. Property System.Int32 Returns the character offset of the iterator, counting from the start of a newline-terminated line. offset from start of line The first character on the line has offset 0. Property System.Int32 Returns the offset in characters from the start of the line to the given iter, not counting characters that are invisible due to tags with the "invisible" flag toggled on. offset in visible characters from the start of the line Property Gtk.TextBuffer Obtains the buffer the iter is in containing buffer Method System.Boolean Same as , but moves backward. search string bitmask of flags affecting the search return location for start of match, or return location for end of match, or location of last possible match_start, or for start of buffer whether a match was found Method System.Boolean Searches forward for . a search string flags affecting how the search is done return location for start of match, or return location for end of match, or bound for the search, or for the end of the buffer whether a match was found Any match is returned by setting to the first character of the match and to the first character after the match. The search will not continue past limit. Note that a search is a linear or O(n) operation, so you may wish to use limit to avoid locking up your UI on large buffers. If the GTK_TEXT_SEARCH_VISIBLE_ONLY flag is present, the match may have invisible text interspersed in str. i.e. str will be a possibly-noncontiguous subsequence of the matched range. similarly, if you specify GTK_TEXT_SEARCH_TEXT_ONLY, the match may have pixbufs or child widgets mixed inside the matched range. If these flags are not given, the match must be exact; the special 0xFFFC character in str will match embedded pixbufs or child widgets. Property System.Boolean Returns true if the iterator is at the end of the parent true if the iterator is equal to Buffer.EndIter The most efficient way to check whether an iterator is the end iterator. Property System.Boolean Returns if iter is the first iterator in the buffer, that is if iter has a character offset of 0. whether iter is the first in the buffer Property System.Boolean returns true if the iter is at the caret a returns true if this iterator equals the iterator returned by Property GLib.GType GType Property. a Returns the native value for . Property Gtk.TextMark[] Returns an array of at this location. a Because marks are not iterable (they do not take up any "space" in the buffer, they are just marks in between iterable locations), multiple marks can exist in the same place. The returned list is not in any meaningful order. Property Gtk.TextTag[] Returns an array of tags that apply to iter, in ascending order of priority (highest-priority tags are last). a Method Gtk.TextTag[] Returns an array of that are toggled on or off at this point. a tags toggled at this point (If toggled_on is , the list contains tags that are toggled on.) If a tag is toggled on at iter, then some non-empty range of characters following iter has that tag applied to it. If a tag is toggled off, then some non-empty range following iter does not have the tag applied to it. Method System.Boolean Moves up to visible cursor positions. a a , true if the iter was moved and is in a dereferenceable position. See for details. Method System.Boolean Calls up to times. a a , true if the iterator moved and is not at the end of the text. Method System.Boolean Moves the iterator forward to the next visible cursor position. a See for details. Method System.Boolean Moves backward up to visible cursor positions. a a , true if the cursor was moved and is in a dereferenceable position. See for details. Method System.Boolean Moves forward to the next visible word end. (If the iterator is currently on a word end, moves forward to the next one after that.) a , true if the iterator moved and is not at the end. Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method System.Boolean Moves the iterator back to the previous visible cursor position. a , true if the iter moved and the new position is dereferenceable See for details. Method System.Boolean Moves forward to the next visible word end. (If the iterator is currently on a word end, moves forward to the next one after that.) a a , true if the iterator moved and is not at the end. Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method System.Boolean Moves backward to the previous visible word start. (If the iterator is currently on a word start, moves backward to the next one after that.) a Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method GLib.Value To be added. Converts to a native GValue. a native GValue. Internal. Provided for bindings. Method Gtk.TextIter To be added. Converts from a native GValue. a TextIter. Internal. Provided for bindings. Method System.Boolean Moves to the beginning of the previous visible line. if the iter could be moved. Moves to the start of the previous visible line. If iter was at character offset 0, this function returns . If iter was already on line 0, but not at the start of the line, iter is snapped to the start of the line and the function returns . (Note that this implies that in a loop calling this function, the line number may not change on every iteration, if your first iteration is on line 0.). Method System.Boolean The number of lines to move. Moves backward by a specified number of visible lines. if the result of the move is a referenceable position. If would move past the start or end of the buffer, the iter is moved to the start or end of the buffer. The return value indicates whether the iterator moved onto a dereferenceable position. If the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . If count is negative, the iter is moved forward by 0 - count lines. Method System.Boolean Moves to the start of the next visible line. if the iter could be moved and is dereferenceable after the move. . Returns if there was a next line to move to, and if the iter was moved to the end of the buffer and is now not dereferenceable, or if the iter was already at the end of the buffer. Method System.Boolean The number of lines to move. Moves forward by a specified number of visible lines. if the iter could be moved and is dereferenceable after the move. If would move past the start or end of the buffer, the iter is moved to the start or end of the buffer. The return value indicates whether the iterator moved onto a dereferenceable position. If the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . If count is negative, the iter is moved backward by 0 - count lines. gtk-sharp-2.12.10/doc/en/Gtk/ClipboardGetFunc.xml0000644000175000001440000000230711345266756016304 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate for a function to call when getting data from the clipboard. TODO: add example code here System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ColorButton.xml0000644000175000001440000001565611345266756015416 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A button which displays the currently selected color and allows opening of a color selection dialog to change the color. This widget is suitable for selecting a color in a preference dialog. Gtk.Button Method System.Void Protected method called when the color of the widget is set. Constructor Protected constructor. a System.Obsolete Constructor Constructor; for internal use only. a , pointer to underlying C object. Constructor Constructor for public use. Constructor Constructor for public use. a , the color to make the button. Property GLib.GType Do not use. a Property System.Boolean Whether or not to make this button transparent. a GLib.Property("use-alpha") Property Gdk.Color The color this widget is set to. a GLib.Property("color") Property System.String The title for this button. a GLib.Property("title") Property System.UInt16 How transparent to make this button, if transparency is being used. a GLib.Property("alpha") Event System.EventHandler Event that happens when the color of this ColorButton is set. GLib.Signal("color_set") gtk-sharp-2.12.10/doc/en/Gtk/DirectionType.xml0000644000175000001440000001020211345266756015704 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by TextView and Window This enumeration is used by and to decide how focus in the widget behaves. System.Enum GLib.GType(typeof(Gtk.DirectionTypeGType)) Field Gtk.DirectionType Tab forward through the children capable of having focus, starting at the left or top. Tab forward through the children capable of having focus, starting at the left or top. Field Gtk.DirectionType Tab backward through the children with focus capability, starting at the right or bottom. Tab backward through the children with focus capability, starting at the right or bottom. Field Gtk.DirectionType Sets initial focus on the child nearest the bottom of the container. Sets initial focus on the child nearest the bottom of the container. Field Gtk.DirectionType Sets initial focus on the child nearest the top of the container. Sets initial focus on the child nearest the top of the container. Field Gtk.DirectionType Sets initial focus on the child nearest the right edge of the container. Sets initial focus on the child nearest the right edge of the container. Field Gtk.DirectionType Sets initial focus on the child nearest the left edge of the container. Sets initial focus on the child nearest the left edge of the container. gtk-sharp-2.12.10/doc/en/Gtk/DestroyEventHandler.xml0000644000175000001440000000272111345266756017062 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DestroyEventHandler instance to the event. The methods referenced by the DestroyEventHandler instance are invoked whenever the event is raised, until the DestroyEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ToggleSizeRequestedHandler.xml0000644000175000001440000000304011345266756020360 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggleSizeRequestedHandler instance to the event. The methods referenced by the ToggleSizeRequestedHandler instance are invoked whenever the event is raised, until the ToggleSizeRequestedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TextAttributes.xml0000644000175000001440000003504311345266756016127 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object to represent the possible attributes of text in a GLib.Opaque Field Gtk.TextAttributes Obsolete: use . System.Obsolete("Gtk.TextAttributes is a reference type now, use null") Constructor Public constructor. Method Gtk.TextAttributes Obsolete, replaced by normal constructor A new Constructor Constructor for internal use only. An , a pointer to the C object. Method Gtk.TextAttributes Obsolete constructor for internal use only. An , a pointer to the C object. a new Method System.Void Copy the values in this object to and free the values in this object.. A new Method Gtk.TextAttributes Makes a new copy of this object. A new FIXME: elaborate the difference between this and Copy, and see if the differences in the underlying C library carry over to the C# library Property Pango.Language The language of this text. To be added. Property Pango.Language The language of this text. a System.Obsolete("Replaced by Language property.") Property Pango.TabArray The tab stops for this text. To be added. Property Pango.TabArray The tab stops for this text. a System.Obsolete("Replaced by Tabs property.") Property Pango.FontDescription The font for this text. To be added. Property Pango.FontDescription The font for this text. a System.Obsolete("Replaced by Font property.") Property GLib.GType GType Property. a Returns the native value for . Property Gtk.TextAppearance The appearance of this text: colors, underlining, etc. See for more details. To be added. Property Gtk.Justification The justification of this text. To be added. Property Gtk.TextDirection Whether this text runs right-to-left or left-to-right. To be added. Property System.Double The scale of this text. For more information about font scaling, see To be added. Property System.Int32 The size of the left margin. To be added. Property System.Int32 The size of the indent. To be added. Property System.Int32 The size of the right margin. To be added. Property System.Int32 The number of blank pixels above a line of text. To be added. Property System.Int32 The number of blank pixels below a line of text. To be added. Property System.Int32 The number of pixels between wrapped lines. To be added. Property Gtk.WrapMode The line-wrapping style for this text. To be added. Property System.Boolean Whether or not the text should be hidden. a Property System.Boolean Whether background is fit to full line height a Property System.Boolean Whether or not the text is editable. a Property System.Boolean Whether or not the attribute is fully-realized. a gtk-sharp-2.12.10/doc/en/Gtk/ExpanderStyle.xml0000644000175000001440000000566311345266756015730 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies the expanded/collapsed state of an expander. System.Enum GLib.GType(typeof(Gtk.ExpanderStyleGType)) Field Gtk.ExpanderStyle The sub-elements are not visible. Field Gtk.ExpanderStyle Transitive state between collapsed and expanded. Field Gtk.ExpanderStyle Transitive state between collapsed and expanded. Field Gtk.ExpanderStyle Sub-elements are visible. gtk-sharp-2.12.10/doc/en/Gtk/CurveType.xml0000644000175000001440000000351111345266756015055 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The method to use when making the curve. System.Enum GLib.GType(typeof(Gtk.CurveTypeGType)) Field Gtk.CurveType linear interpolation Field Gtk.CurveType spline interpolation Field Gtk.CurveType free form curve gtk-sharp-2.12.10/doc/en/Gtk/Statusbar.xml0000644000175000001440000003070611345266756015105 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Report messages of minor importance to the user. The Statusbar widget displays textual messages to the user. Statusbars are typically placed at the bottom of application s. A Statusbar may provide a regular commentary of the application's status (as is usually the case in a web browser, for example), or may be used to simply output a message when the status changes, (when an upload is complete in an FTP client, for example). As a finishing touch to the StatusBar, it can have a "resize grip" added in the lower right corner. This is a triangular area that can be clicked on to resize the window containing the statusbar. Status bars in Gtk maintain a stack of messages. The message at the top of the each bar's stack is the one that will currently be displayed. Any messages added to a statusbar's stack must specify a that is used to uniquely identify the source of a message. This can be generated with , given a message. Note that messages are stored in a stack, and when choosing which message to display, the stack structure is adhered to, regardless of the context identifier of a message. Messages are added to the bar's stack with , and the message at the top of the stack can be removed using . A message can be removed from anywhere in the stack if it's was recorded at the time it was added. This is done using . using System; using Gtk; class StatusbarSample { Statusbar sb; const int id = 1; int count; static void Main () { new StatusbarSample (); } StatusbarSample () { Application.Init (); count = 0; Window win = new Window ("StatusbarSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); win.SetDefaultSize (150, 100); VBox vbox = new VBox (false, 1); win.Add (vbox); Button btn = new Button ("Add to counter"); btn.Clicked += new EventHandler (OnButtonClicked); vbox.Add (btn); sb = new Statusbar (); sb.Push (id, "Welcome!"); sb.HasResizeGrip = false; vbox.Add (sb); win.ShowAll (); Application.Run (); } void OnButtonClicked (object obj, EventArgs args) { count ++; string message = String.Format ("Pushed {0} times", count); sb.Pop (id); sb.Push (id, message); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Gtk.HBox Method System.UInt32 Pushes a new message onto the stack. The new message's context ID, as generated by . The message to display to the user. The message's new message id for use with . Note that the and the returned are equivalent and are both required for to work. Method System.Void Forces the removal of a message from a statusbar's stack. A context identifier. A message identifier. The exact and must be specified. Method System.Void Removes the message at the top of the Statusbar's stack. A context identifier Method System.UInt32 Generates an identifier based on the . A description of the message you want to generate an identifier for. An integer identifier Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to create a new status bar. Creates a new Statusbar with an empty message stack. Property System.Boolean Manage whether this Statusbar has a resizable grip over its bottom right corner. Whether or not there is currently a resize grip on the Statusbar. GLib.Property("has-resize-grip") Event Gtk.TextPushedHandler An event that is raised when a message is pushed onto the Statusbar's message stack using the method. Connect to this event with a . GLib.Signal("text_pushed") Event Gtk.TextPoppedHandler An event that is raised when a message is popped off the Statusbar's message stack using the method. Connect to this event with a . GLib.Signal("text_popped") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/TextInsertedArgs.xml0000644000175000001440000000615111345266756016371 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The position at which to insert the new text. On return, it should point to the position after the inserted text. An integer, the insert position. Property System.Int32 The length of the inserted text. An integer, the length of the inserted text. Property System.String The text that was inserted. A string that was inserted. gtk-sharp-2.12.10/doc/en/Gtk/ColorSelectionDialog+ColorSelectionButton.xml0000644000175000001440000000371611345266756023316 00000000000000 gtk-sharp 2.12.0.0 Gtk.Button System.Obsolete("Do not use this class. It will cause your app to crash in mysterious ways.") Constructor A this button belongs to An , pointer to underlying C color data. Constructor. Property Gtk.ColorSelectionDialog The color selection dialog this button belongs to. A this button belongs to For internal use. A button used in ; not needed by developers. gtk-sharp-2.12.10/doc/en/Gtk/AccelMap.xml0000644000175000001440000004334011345266756014600 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global accelerator map for an entire application. This class is a singleton; only one can exist at a time. GLib.Object Method System.Boolean Looks up the accelerator entry for and fills in . a , a valid accelerator path a , the accelerator key to be filled in (optional) a , if is known, otherwise. Method System.Void Locks the given accelerator path. If the accelerator map doesn't yet contain an entry for , a new one is created. a Locking an accelerator path prevents its accelerator from being changed during runtime. A locked accelerator path can be unlocked by . Refer to for information about runtime accelerator changes. If called more than once, remains locked until has been called an equivalent number of times. Note that locking of individual accelerator paths is independent from locking the containing them. For runtime accelerator changes to be possible both the accelerator path and its have to be unlocked. Method System.Void Undoes the last call to on this . a , a valid accelerator path Refer to for information about accelerator path locking. Method System.Boolean Changes the and currently associated with . a a a a a Due to conflicts with other accelerators, a change may not always be possible. The parameter indicates whether other accelerators may be deleted to resolve such conflicts. A change will only occur if all conflicts could be resolved (which might not be the case if conflicting accelerators are locked). Successful changes are indicated by a return value. Method System.Void Parses a file previously saved with for accelerator specifications, and propagates them accordingly. a Method System.Void File descriptor variant of . a , a valid writeable file descriptor Method System.Void Saves current accelerator specifications (accelerator path, key and modifiers) to . The file is written in a format suitable to be read back in by . a , a file to contain accelerator specifications Method System.Void File descriptor variant of . a , a valid readable file descriptor. Method System.Void Registers a new accelerator with the global accelerator map. a a a This function should only be called once per with the canonical and for this path. To change the accelerator during runtime programatically, use . The accelerator path must consist of "<WINDOWTYPE>/Category1/Category2/.../Action", where <WINDOWTYPE> should be a unique application-specific identifier, that corresponds to the kind of window the accelerator is being used in, e.g. "Gimp-Image", "Abiword-Document" or "Gnumeric-Settings". The Category1/.../Action portion is most appropriately chosen by the action the accelerator triggers, i.e. for accelerators on menu items, choose the item's menu path, e.g. "File/Save As", "Image/View/Zoom" or "Edit/Select All". So a full valid accelerator path may look like: "<Gimp-Toolbox>/File/Dialogs/Tool Options...". Method System.Void Adds a filter to the global list of accel path filters. a Accel map entries whose accel path matches one of the filters are skipped by . This function is intended for Gtk# modules that create their own menus but don't want them to be saved into the applications accelerator map dump. Method Gtk.AccelMap Gets the singleton global. object. This object is useful only for notification of changes to the accelerator map via the internal "changed" signal; it isn't a parameter to the other accelerator map functions. a Method System.Void Loops over the entries in the accelerator map whose accel path doesn't match any of the filters added with and executes on each. a , data to pass to a , function to execute on each accel map entrey See also . XXX: See http://bugzilla.ximian.com/show_bug.cgi?id=70912. Method System.Void Loops over all entries in the accelerator map and executes * on each. a a See also . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor Protected constructor. Property GLib.GType GType Property. a Returns the native value for . Event Gtk.MapChangedHandler Raised when there is a change to the global accelerator map. GLib.Signal("changed") Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.10/doc/en/Gtk/Application.xml0000644000175000001440000003446311345266756015404 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Application class Provides the initialization and event loop iteration related methods for the Gtk# widget library. Since Gtk# is an event driven toolkit, Applications register callbacks against various events to handle user input. These callbacks are invoked from the main event loop when events are detected. using Gtk; using System; using GLib; public class HelloWorld { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Hello World"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { SignalArgs sa = (SignalArgs) args; Application.Quit (); sa.RetVal = true; } } System.Object Method System.Void Quits the current main loop Makes the innermost invocation of the main loop return when it regains control. Method System.Void Runs a single iteration of the main loop. Runs a single iteration of the main loop. If no events are waiting to be processed Gtk# will block until the next event is noticed. If you do not want to block look at or check if any events are pending with first. Method System.Boolean Whether there are events on the queue if events are available to be processed, otherwise Checks if any events are pending. This can be used to update the GUI and invoke timeouts etc. while doing some time intensive computation. void LongComputation () { while (!done){ ComputationChunk (); // Flush pending events to keep the GUI reponsive while (Application.EventsPending ()) Application.RunIteration (); } } Method System.Void Runs the main loop Runs the main loop until is called. You can nest calls to . In that case will make the innermost invocation of the main loop return. Method System.Void Initializes GTK+ for operation. Call this function before using any other Gtk# functions in your GUI applications. It will initialize everything needed to operate the toolkit. This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to call instead. If you want to pass arguments from the command line use the method instead. Method System.Boolean Runs a single iteration of the main loop. A boolean value, whether the iteration should block or not Runs a single iteration of the main loop. If is , then if no events are waiting to be processed Gtk# will block until the next event is noticed; If is , then it if no events are waiting to be processed Gtk#, routine will return immediately. if has been called in the innermost main loop. Property Gdk.Event Returns the event currently taking place. a Method System.Void The name of the program. An string array with the parameters given to the program. Call this method before using any other GTK# method in your GUI applications. It will initialize everything needed to operate the toolkit and parses some standard command line options, is adjusted accordingly so your code will never see those standard arugments. Note that there are some alternative ways to initialize GTK#, if you are calling or you don't have to call . Method System.Boolean The name of the program. An string array with the parameters given to the program. This method does the same work as with only a single change, it does not terminate the program if the GUI can't be initialized. Instead it returns on failure. if the GUI has been succesfully initialized, otherwise . This way the application can fall back to some toher means of communication with the user, for example a curses or command line interface. Method System.Void An event handler to invoke on the main thread. Invoke the given EventHandler in the GUI thread. Use this method to invoke the given delegate code in the main thread. This is necessary since Gtk# does not allow multiple threads to perform operations on Gtk objects as it the toolkit is not thread-safe. This mechanism is simpler to use than since it does not require the creation of a notifier per event. This is particularly useful with C# 2.0 as it is possible to use anonymous methods with it, for example: using Gtk; using Gdk; using System; using System.Threading; public class HelloThreads { static Label msg; static Button but; static int count; static Thread thr; public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Threaded Counter"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); msg = new Label ("Click to quit"); but = new Button (msg); but.Clicked += delegate { thr.Abort (); Application.Quit (); }; win.Add (but); win.ShowAll (); thr = new Thread (ThreadMethod); thr.Start (); Application.Run (); return 0; } static void ThreadMethod () { Console.WriteLine ("Starting thread"); while (true){ count++; Thread.Sleep (500); Application.Invoke (delegate { msg.Text = String.Format ("Click to Quit ({0})", count); }); } } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } Method System.Void The sender to pass to the event handler.. The argument to pass to the event handler. An event handler to invoke on the main thread. Invoke the given EventHandler in the GUI thread. Use this method to invoke the given delegate code in the main thread. This is necessary since Gtk# does not allow multiple threads to perform operations on Gtk objects as it the toolkit is not thread-safe. This mechanism is simpler to use than since it does not require the creation of a notifier per event. This is particularly useful with C# 2.0 as it is possible to use anonymous methods with it, for example: using Gtk; using Gdk; using System; using System.Threading; public class HelloThreads { static Label msg; static Button but; static int count; static Thread thr; public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Threaded Counter"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); msg = new Label ("Click to quit"); but = new Button (msg); but.Clicked += delegate { thr.Abort (); Application.Quit (); }; win.Add (but); win.ShowAll (); thr = new Thread (ThreadMethod); thr.Start (); Application.Run (); return 0; } static void ThreadMethod () { Console.WriteLine ("Starting thread"); while (true){ count++; Thread.Sleep (500); Application.Invoke (delegate { msg.Text = String.Format ("Click to Quit ({0})", count); }); } } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } gtk-sharp-2.12.10/doc/en/Gtk/ButtonReleaseEventHandler.xml0000644000175000001440000000302311345266756020201 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ButtonReleaseEventHandler instance to the event. The methods referenced by the ButtonReleaseEventHandler instance are invoked whenever the event is raised, until the ButtonReleaseEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/FrameEventHandler.xml0000644000175000001440000000267311345266756016471 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FrameEventHandler instance to the event. The methods referenced by the FrameEventHandler instance are invoked whenever the event is raised, until the FrameEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Alignment.xml0000644000175000001440000003505211345266756015052 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A container that controls the alignment and size of its child. An Alignment widget controls the alignment and size of its child widget. It has four settings: , , , and . The scale settings are used to specify how much the child widget should expand to fill the space allocated to the Alignment. The values can range from 0 (meaning the child doesn't expand at all) to 1 (meaning the child expands to fill all of the available space). The alignment settings are used to position the child widget within the available area. The values range from 0 (top or left) to 1 (bottom or right). If the scale settings are both set to 1, (making the child expand), the alignment settings have no effect. To add a child to an Alignment, use the method from the class. Gtk.Bin Method System.Void Adjusts all the alignment and scale properties. The horizontal alignment of the child widget, from 0 (left) to 1 (right). The vertical alignment of the child widget, from 0 (top) to 1 (bottom). The amount that the child widget expands horizontally to fill up unused space, from 0 to 1. The amount that the child widget expands vertically to fill up unused space, from 0 to 1. For the scale parameters, a value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the Alignment. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Alignment with the specified alignment and spacing. The horizontal alignment of the child widget, from 0 (left) to 1 (right). The vertical alignment of the child widget, from 0 (top) to 1 (bottom). The amount that the child widget expands horizontally to fill up unused space, from 0 to 1. The amount that the child widget expands vertically to fill up unused space, from 0 to 1. Property System.Single Manage the vertical alignment of the child widget. The child widget's current vertical alignment. This property is a value between 0 and 1 where 0 indicates alignment at the top of the container, and 1 indicates alignment at the bottom of the container. GLib.Property("yalign") Property System.Single Manage the horizontal alignment of the child widget. The child widget's current horizontal alignment. This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated horizontal size. GLib.Property("xalign") Property System.Single Manage the horizontal expansion of the child widget. The current horizontal expansion of the child widget. This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated horizontal size. GLib.Property("xscale") Property System.Single Manage the vertical expansion of the child widget. The current vertical expansion of the child widget. This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated vertical size. GLib.Property("yscale") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.UInt32 The padding to insert at the left of the child widget. a GLib.Property("left-padding") Property System.UInt32 The padding to insert at the bottom of the child widget. a GLib.Property("bottom-padding") Property System.UInt32 The padding to insert at the top of the child widget. a GLib.Property("top-padding") Property System.UInt32 The padding to insert at the right of the child widget. a GLib.Property("right-padding") Method System.Void Gets the padding on the different sides of the widget. a a a a This is a convenience method. See also . Method System.Void Sets the padding on the different sides of the widget. a a a a The padding adds blank space to the vertical or horizontal sides of the widget. For instance, this can be used to indent the child widget towards the right by adding padding on the left. This is a convenience method; the properties can also be set directly. gtk-sharp-2.12.10/doc/en/Gtk/IconViewForeachFunc.xml0000644000175000001440000000304011345266756016753 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/HTMLEditorEventType.xml0000644000175000001440000000425311345266756016712 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration of possible kinds of HTML editing events. System.Enum Field Gtk.HTMLEditorEventType To be added Field Gtk.HTMLEditorEventType To be added Field Gtk.HTMLEditorEventType To be added Field Gtk.HTMLEditorEventType A deletion. gtk-sharp-2.12.10/doc/en/Gtk/PopulatePopupArgs.xml0000644000175000001440000000430311345266756016561 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data for populating a popup. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Menu Data for populating the popup menu. a gtk-sharp-2.12.10/doc/en/Gtk/HTMLEmbedded.xml0000644000175000001440000003140211345266756015305 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Embeds an HTML object. Gtk.Bin Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Property System.Int32 To be added a Event Gtk.DrawPrintHandler To be added GLib.Signal("draw_print") Event System.EventHandler Raised when the HTML is changed. GLib.Signal("changed") Event Gtk.DrawGdkHandler To be added GLib.Signal("draw_gdk") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. Method System.String To be added a a Method System.Void To be added a a Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added a a a a a a Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/QueryTooltipArgs.xml0000644000175000001440000000453511345266756016433 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property Gtk.Tooltip To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/CustomWidgetApplyHandler.xml0000644000175000001440000000251611345266756020055 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CustomWidgetApplyHandler instance to the event. The methods referenced by the CustomWidgetApplyHandler instance are invoked whenever the event is raised, until the CustomWidgetApplyHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/VisibilityNotifyEventArgs.xml0000644000175000001440000000365111345266756020273 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventVisibility The uses this method to access the details of an event. a gtk-sharp-2.12.10/doc/en/Gtk/DeleteEventHandler.xml0000644000175000001440000000270611345266756016636 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DeleteEventHandler instance to the event. The methods referenced by the DeleteEventHandler instance are invoked whenever the event is raised, until the DeleteEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Builder.xml0000644000175000001440000001213211345266756014514 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method GLib.Object To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Object[] To be added. To be added. To be added. Property GLib.Property("translation-domain") System.String To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TreeViewRowSeparatorFunc.xml0000644000175000001440000000311411345266756020045 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/PackDirection.xml0000644000175000001440000000337511345266756015656 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PackDirectionGType)) Field Gtk.PackDirection Top to bottom. Field Gtk.PackDirection Bottom to top. Field Gtk.PackDirection Right to left. Field Gtk.PackDirection Left to right. Menu Item packing directions. gtk-sharp-2.12.10/doc/en/Gtk/SelectionMode.xml0000644000175000001440000000745411345266756015673 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by TreeSelection. This enumeration is used by to decide how selection behaves. System.Enum GLib.GType(typeof(Gtk.SelectionModeGType)) Field Gtk.SelectionMode Nothing can be selected. Nothing can be selected. Field Gtk.SelectionMode Only one item can be selected at any given moment. Other items can have focus, but will not be marked as selected. Only one item can be selected at any given moment. Other items can have focus, but will not be marked as selected. Field Gtk.SelectionMode Only one item can be selected at any given moment. Any item currently having focus will be marked as selected. Only one item can be selected at any given moment. Any item currently having focus will be marked as selected. Field Gtk.SelectionMode Several items may be selected or unselected with a click or using the spacebar. The selection can be done using the Ctrl and Shift modifier keys in the usual way. Note that multiple selection should only be used where all items share the exact same callback routine. Field Gtk.SelectionMode This is the same as "Multiple", but deprecated. Use Multiple instead. Note that extended selection should only be used where all items share the exact same callback routine. gtk-sharp-2.12.10/doc/en/Gtk/MoveCurrentHandler.xml0000644000175000001440000000271111345266756016677 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveCurrentHandler instance to the event. The methods referenced by the MoveCurrentHandler instance are invoked whenever the event is raised, until the MoveCurrentHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TooltipSetHandler.xml0000644000175000001440000000375311345266756016543 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TooltipSetHandler instance to the event. The methods referenced by the TooltipSetHandler instance are invoked whenever the event is raised, until the TooltipSetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ObjectInsertedArgs.xml0000644000175000001440000000310411345266756016646 00000000000000 gtkhtml-sharp 3.16.0.0 GLib.SignalArgs Constructor To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/AccelFlags.xml0000644000175000001440000000577611345266756015132 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by AccelLabel This enumeration is used by to decide to display or not display an accelerator key and to know if an accelerator key is removable. System.Enum GLib.GType(typeof(Gtk.AccelFlagsGType)) System.Flags Field Gtk.AccelFlags Determines if will display the accelerator key or not. Determines if will display the accelerator key or not. Field Gtk.AccelFlags Determines if the accelerator key is removable by Determines if the accelerator key is removable by Field Gtk.AccelFlags Returns full information for , displaying any modifiers, the accelerator key and the name of the associated signal to the right of any existing text. Returns full information for a (the individual element in a GtkAccelGroup array), displaying any modifiers, the accelerator key and the name of the associated signal to the right of any existing text. gtk-sharp-2.12.10/doc/en/Gtk/EnterNotifyEventHandler.xml0000644000175000001440000000277511345266756017710 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EnterNotifyEventHandler instance to the event. The methods referenced by the EnterNotifyEventHandler instance are invoked whenever the event is raised, until the EnterNotifyEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/IconSize.xml0000644000175000001440000000675511345266756014667 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The possible icon sizes This class contains all the valid icon sizes that are supported by Gtk. System.Enum GLib.GType(typeof(Gtk.IconSizeGType)) Field Gtk.IconSize This signifies an unsupported icon size. Field Gtk.IconSize The icon size for a . Field Gtk.IconSize The icon size for a small Field Gtk.IconSize The icon size for a large . Field Gtk.IconSize The icon size for a . Field Gtk.IconSize The icon size used during a drag-n-drop operation. Field Gtk.IconSize The icon size used in a gtk-sharp-2.12.10/doc/en/Gtk/TearoffMenuItem.xml0000644000175000001440000000717211345266756016170 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. a menu item used to tear off and reattach its menu. a is a special which is used to tear off and reattach its menu. When its menu is shown normally, the is drawn as a dotted line indicating that the menu can be torn off. Activating it causes its menu to be torn off and displayed in its own window as a tearoff menu. When its menu is shown as a tearoff menu, the is drawn as a dotted line which has a left pointing arrow graphic indicating that the tearoff menu can be reattached. Activating it will erase the tearoff menu window. Gtk.MenuItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/PaginateHandler.xml0000644000175000001440000000235311345266756016160 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PaginateHandler instance to the event. The methods referenced by the PaginateHandler instance are invoked whenever the event is raised, until the PaginateHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/MotionNotifyEventHandler.xml0000644000175000001440000000301011345266756020057 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MotionNotifyEventHandler instance to the event. The methods referenced by the MotionNotifyEventHandler instance are invoked whenever the event is raised, until the MotionNotifyEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MnemonicActivatedHandler.xml0000644000175000001440000000301011345266756020011 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MnemonicActivatedHandler instance to the event. The methods referenced by the MnemonicActivatedHandler instance are invoked whenever the event is raised, until the MnemonicActivatedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DragDataGetHandler.xml0000644000175000001440000000270611345266756016541 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragDataGetHandler instance to the event. The methods referenced by the DragDataGetHandler instance are invoked whenever the event is raised, until the DragDataGetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RemovedHandler.xml0000644000175000001440000000263511345266756016034 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RemovedHandler instance to the event. The methods referenced by the RemovedHandler instance are invoked whenever the event is raised, until the RemovedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MoveFocusOutArgs.xml0000644000175000001440000000414011345266756016341 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.DirectionType The direction the focus is moving on its way out. A gtk-sharp-2.12.10/doc/en/Gtk/PreActivateHandler.xml0000644000175000001440000000376711345266756016651 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PreActivateHandler instance to the event. The methods referenced by the PreActivateHandler instance are invoked whenever the event is raised, until the PreActivateHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TargetList.xml0000644000175000001440000002730711345266756015222 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A list of potential targets for a paste or drag-and-drop operation. GLib.Opaque Constructor Basic constructor Constructor Constructor an array of Constructor Internal constructor a This is an internal constructor, and should not be used by user code. Method System.Void Add a target type to the target list the target type, as a target flags (for a drag-and-drop target, this is a value) application-defined ID for this target type Method System.Void Add a target type to the target list the target type, as a string target flags (for a drag-and-drop target, this is a value) application-defined ID for this target type Method System.Void Add entries to the target list an array of Method System.Boolean Find a given target type the target type to find, as a on output, will contain the target's application-defined ID if the target was found Method System.Boolean Find a given target type the target type to find, as a string on output, will contain the target's application-defined ID if the target was found Method System.Void Remove an entry from the target list the target to remove, as a Method System.Void Remove an entry from the target list the target to remove, as a string Method System.Void Adds the target types for URIs to the target list application-defined ID for these target types Appends the URI targets supported by to the target list. All targets are added with the same . Method System.Void Adds the target types for images to the target list application-defined ID for these target types if , only add the target types for which Gtk knows how to convert a to the format. Appends the image targets supported by to the target list. All targets are added with the same . Method System.Void Adds the target types for text to the target list application-defined ID for these target types Appends the text targets supported by to the target list. All targets are added with the same . Method Gtk.TargetEntry[] A . Converts a to an array of . An equivalent array of . Method System.Void an ID to be passed back to the application. if , then deserializable targets will be added, otherwise serializable targets. the text buffer containing the registered targets. Appends the rich text targets registered with a text buffer. See and for details of registration. Property GLib.GType Native GType. For internal use by language bindings. gtk-sharp-2.12.10/doc/en/Gtk/SelectionData.xml0000644000175000001440000003222411345266756015651 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A type to represent data that's selected as part of a drag-and-drop or clipboard operation. GLib.Opaque Method System.Void Releases memory that was used by this object. Method Gtk.SelectionData Copy the object by value. a Method System.Boolean Assuming that this selection data object holds a list of targets, determines if any of the targets in can be used to provide text. a Property System.String The text stored in the selection. A . Property GLib.GType GType Property. a Returns the native value for . Property System.Int32 The unit length of the data in bits. a On most systems, this is 8 for a string and 32 for an integer. Property System.Int32 The length of the selected data. a Constructor Constructor. a , pointer to the underlying C data. Property System.Byte[] The data as a sequence of bytes. a Method System.Void Stores new data into this object. Should only be called from a selection handler callback. type of selection data (expressed via a ) format (number of bits in a unit) - set this to 8 and encode your data as UTF-8 a array containing the data to send to this selection object - use .GetBytes(string) to encode string data as UTF-8 before passing it here length of the data in bytes The version auto-calculates the length for you. Method System.Void Stores new data into this object. Should only be called from a selection handler callback. type of selection data (expressed via a ) format (number of bits in a unit) - set this to 8 and encode your data as UTF-8 a array containing the data to send to this selection object - use .GetBytes(string) to encode string data as UTF-8 before passing it here Property Gdk.Atom The selected data. a Property Gdk.Atom The type of target being used. a XXX: Add a list of useful strings for target types. Property Gdk.Atom[] Gets the selection data as an array of targets. a Property Gdk.Atom The type of selection data a XXX: elaborate on the possible values here. Property Gdk.Pixbuf To be added a To be added Property System.String To be added a To be added Method System.Boolean To be added a a To be added Method System.Boolean To be added a a To be added Method System.Boolean To be added a a To be added Method System.Boolean Indicates if any targets provide a URI list. a . Method System.Boolean To be added. Indicates if any targets provide rich text. . gtk-sharp-2.12.10/doc/en/Gtk/TreeDragSource.xml0000644000175000001440000000703211345266756016007 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An interface to represent the rows of a tree when one of them is dragged to another location. GLib.IWrapper Method System.Boolean Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. a a object to fill with data A boolean; true if data of the required type was provided. FIXME: the original doc says, "selection_data->target gives the required type of the data.", but there doesn't seem to be a parallel in Gtk#. Check this. Method System.Boolean Check whether the row at is draggable. If the source doesn't implement this method, the row is assumed to be draggable. a A boolean, true if this row can be dragged. Method System.Boolean Asks the TreeDragSource to delete the row at path, because it was moved somewhere else via drag-and-drop. Returns FALSE if the deletion fails because path no longer exists, or for some model-specific reason. Should robustly handle a path no longer found in the model. a to delete A boolean for whether the deletion succeeded. gtk-sharp-2.12.10/doc/en/Gtk/CheckMenuItem.xml0000644000175000001440000002231011345266756015606 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A menu item with a check box. A CheckMenuItem is a menu item that maintains the state of a boolean value in addition to a 's usual role in activating application code. A check box indicating the state of the boolean value is displayed at the left side of the . Activating the toggles the value. Whether the CheckMenuItem is 'on' or not can be determined with the property. Gtk.MenuItem Method System.Void Toggles the state of the check box between active and inactive. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a CheckMenuItem with no label Constructor Create a new CheckMenuItem with the specified . The text to appear on the menu item. The text label will be created using , so underscores in the label indicate the mnemonic for the menu item. Property System.Boolean Manages whether the CheckMenuItem is in the 'inconsistent' state. if this CheckMenuItem is in the inconsistent state, otherwise. If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a boolean setting, and the current values in that range are inconsistent, you may want to display the check in an "in between" state. This property turns on "in between" display. Normally you would turn off the inconsistent state again if the user explicitly selects a setting. This has to be done manually, this property only affects visual appearance, it doesn't affect the semantics of the widget. GLib.Property("inconsistent") Property System.Boolean The 'active' state of the CheckMenuItem GLib.Property("active") Event System.EventHandler An event that is raised whenever the state of the CheckMenuItem is toggled. Connect to this event with a standard . GLib.Signal("toggled") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Boolean Whether the menu item looks like a radio menu item. a GLib.Property("draw-as-radio") Property System.Boolean Whether this menu item can be toggled. a System.Obsolete Method System.Void Fires the event. gtk-sharp-2.12.10/doc/en/Gtk/Printer.xml0000644000175000001440000003577011345266756014566 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. To be added. Property GLib.Property("accepts-pdf") System.Boolean To be added. To be added. To be added. Property GLib.Property("accepts-ps") System.Boolean To be added. To be added. To be added. Property GLib.Property("backend") Gtk.PrintBackend To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Event GLib.Signal("details-acquired") Gtk.DetailsAcquiredHandler To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property GLib.Property("icon-name") System.String To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property GLib.Property("is-virtual") System.Boolean To be added. To be added. To be added. Property GLib.Property("job-count") System.Int32 To be added. To be added. To be added. Property GLib.Property("location") System.String To be added. To be added. To be added. Property GLib.Property("name") System.String To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("state-message") System.String To be added. To be added. To be added. Property Gtk.PrintCapabilities To be added. To be added. To be added. Method Gtk.PageSetup[] To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TextTagTableForeach.xml0000644000175000001440000000177311345266756016757 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. A delegate function to be run on every in a . Callable by System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeDragSourceImplementor.xml0000644000175000001440000000516211345266756020225 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.TreeDragSourceAdapter)) Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. TreeDragSource implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/PolicyType.xml0000644000175000001440000000375511345266756015242 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines when a will be visible. System.Enum GLib.GType(typeof(Gtk.PolicyTypeGType)) Field Gtk.PolicyType The is always visible. Field Gtk.PolicyType The will appear and disappear as necessary. Field Gtk.PolicyType The will never appear. gtk-sharp-2.12.10/doc/en/Gtk/ChildNotifiedHandler.xml0000644000175000001440000000273411345266756017140 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildNotifiedHandler instance to the event. The methods referenced by the ChildNotifiedHandler instance are invoked whenever the event is raised, until the ChildNotifiedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PopupContextMenuArgs.xml0000644000175000001440000000641411345266756017246 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The X location at which the context menu was popped up. a Property System.Int32 The Y location at which the context menu was popped up. a Property System.Int32 The mouse button number which was used to pop up the context menu. a gtk-sharp-2.12.10/doc/en/Gtk/ActionActivatedHandler.xml0000644000175000001440000000405111345266756017467 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ActionActivatedHandler instance to the event. The methods referenced by the ActionActivatedHandler instance are invoked whenever the event is raised, until the ActionActivatedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ItemActivatedHandler.xml0000644000175000001440000000401411345266756017147 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ItemActivatedHandler instance to the event. The methods referenced by the ItemActivatedHandler instance are invoked whenever the event is raised, until the ItemActivatedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeSortable.xml0000644000175000001440000002001411345266756015517 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An interface for specifying a tree model that is sortable. See for a working example of a sortable TreeView. GLib.IWrapper Method System.Void Fires a event. Designed to be called by routines that change the sort of the tree. Method System.Void Sets which column is to be used to sort the data in the tree. A , the sort column index. A , the kind of sort to use Method System.Void Sets a function that should be used to be sort a particular column. A , the index of the column to be sorted A , the function to use for sorting ignored ignored This overloaded method is obsolete. It is replaced by the SetSortFunc (int, TreeIterCompareFunc) overload." />. Method System.Void Sets a function to sort columns by default if not otherwise specified by . A , the function to use for sorting ignored ignored This method is obsolete. It is replaced by the property. Property Gtk.TreeIterCompareFunc Function to sort columns by default if not otherwise specified by . a This method is meant to be used together with Event System.EventHandler Raised when the sort column is changed. Method System.Boolean Returns the index of the column currently being used to sort the model data. a , an integer to put the results in a , an object to put the type of sort into a Property System.Boolean Return whether this TreeModel has a default sort function or not. a , true if a default sort function exists. See to set a default sort function. Method System.Void Sets a function that should be used to be sort a particular column. A , the index of the column to be sorted A , the function to use for sorting This method is meant to be used together with gtk-sharp-2.12.10/doc/en/Gtk/TreeRowReference.xml0000644000175000001440000001700711345266756016342 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Internal struct. Do not use. Do not use. GLib.Opaque Method System.Void Do not use. an object of type an object of type Do not use. Method System.Void Do not use. an object of type an object of type Do not use. Method System.Boolean Do not use. an object of type Do not use. Method System.Void Do not use. Do not use. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Do not use. an object of type an object of type Do not use. Constructor Do not use. an object of type an object of type an object of type Do not use. Property Gtk.TreePath Do not use. an object of type Do not use. Method Gtk.TreeRowReference Do not use. a Do not use. Property GLib.GType GType Property. a Returns the native value for . Method System.Int32 Do not use. a a a a Do not use. Property Gtk.TreeModel Do not use. Do not use. Do not use. gtk-sharp-2.12.10/doc/en/Gtk/ActivateCursorItemHandler.xml0000644000175000001440000000410311345266756020200 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ActivateCursorItemHandler instance to the event. The methods referenced by the ActivateCursorItemHandler instance are invoked whenever the event is raised, until the ActivateCursorItemHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrinterRemovedHandler.xml0000644000175000001440000000245311345266756017376 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PrinterRemovedHandler instance to the event. The methods referenced by the PrinterRemovedHandler instance are invoked whenever the event is raised, until the PrinterRemovedHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/DialogFlags.xml0000644000175000001440000000464411345266756015313 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Flags used in creation. System.Enum GLib.GType(typeof(Gtk.DialogFlagsGType)) System.Flags Field Gtk.DialogFlags Sets the property = for the . Sets the property = for the . Field Gtk.DialogFlags Destroying the parent will also destroy the . Destroying the parent will also destroy the . Field Gtk.DialogFlags No separator bar above the buttons. No separator bar above the buttons. gtk-sharp-2.12.10/doc/en/Gtk/OutputArgs.xml0000644000175000001440000000246411345266756015252 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/TreeDragDestAdapter.xml0000644000175000001440000001152411345266756016750 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.TreeDragDest Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Gtk.TreeDragDest To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property Gtk.TreeDragDestImplementor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. TreeDragDest interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/PopupContextMenuHandler.xml0000644000175000001440000000405411345266756017725 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PopupContextMenuHandler instance to the event. The methods referenced by the PopupContextMenuHandler instance are invoked whenever the event is raised, until the PopupContextMenuHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/HTMLParagraphStyle.xml0000644000175000001440000001262411345266756016547 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration of paragraph styles possible in . System.Enum Field Gtk.HTMLParagraphStyle Normal style. Field Gtk.HTMLParagraphStyle Header 1 style. Field Gtk.HTMLParagraphStyle Header 2 style. Field Gtk.HTMLParagraphStyle Header 3 style. Field Gtk.HTMLParagraphStyle Header 4 style. Field Gtk.HTMLParagraphStyle Header 5 style. Field Gtk.HTMLParagraphStyle Header 6 style. Field Gtk.HTMLParagraphStyle Email address style. Field Gtk.HTMLParagraphStyle Preformatted text style. Field Gtk.HTMLParagraphStyle Unnumbered list style. Field Gtk.HTMLParagraphStyle Roman-numeral numbered list. Field Gtk.HTMLParagraphStyle Arabic-numbered ordered list. Field Gtk.HTMLParagraphStyle Greek-lettered ordered list. gtk-sharp-2.12.10/doc/en/Gtk/RowHasChildToggledArgs.xml0000644000175000001440000000525111345266756017424 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreeIter The row whose child display was toggled. a Property Gtk.TreePath The path of the row whose child was toggled. a gtk-sharp-2.12.10/doc/en/Gtk/AcceptPositionHandler.xml0000644000175000001440000000274611345266756017362 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AcceptPositionHandler instance to the event. The methods referenced by the AcceptPositionHandler instance are invoked whenever the event is raised, until the AcceptPositionHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TextWindowType.xml0000644000175000001440000000703511345266756016112 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used to identify areas of the . System.Enum GLib.GType(typeof(Gtk.TextWindowTypeGType)) Field Gtk.TextWindowType A private text window that can't be gotten from the text view. Field Gtk.TextWindowType The overall widget window. Field Gtk.TextWindowType The window that displays the text buffer. Field Gtk.TextWindowType The window on the left hand side of the text window. Field Gtk.TextWindowType The window on the right hand side of the text window. Field Gtk.TextWindowType The window at the top of the text window. Field Gtk.TextWindowType The window at the bottom of the text window. gtk-sharp-2.12.10/doc/en/Gtk/BeginPrintArgs.xml0000644000175000001440000000304611345266756016010 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintContext The Print context for the current operation. a instance. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/DragMotionArgs.xml0000644000175000001440000000567411345266756016023 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The time the event happened. A Property System.Int32 The Y coordinate being dragged over. A Property System.Int32 The Y coordinate being dragged over. A Property Gdk.DragContext The context of this drag. a gtk-sharp-2.12.10/doc/en/Gtk/PrintOperationAction.xml0000644000175000001440000000362711345266756017252 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintOperationActionGType)) Field Gtk.PrintOperationAction Export to a file. Field Gtk.PrintOperationAction Show the print preview. Field Gtk.PrintOperationAction Print with current settings without showing dialog. Field Gtk.PrintOperationAction Show the print dialog. Print operation action enumeration. gtk-sharp-2.12.10/doc/en/Gtk/RecentFilterInfo.xml0000644000175000001440000000752411345266756016341 00000000000000 gtk-sharp 2.12.0.0 System.ValueType Field System.Int32 To be added. To be added. Field System.String To be added. To be added. Field Gtk.RecentFilterFlags To be added. To be added. Field System.String To be added. To be added. Field System.String To be added. To be added. Field System.String To be added. To be added. Method Gtk.RecentFilterInfo To be added. To be added. To be added. To be added. Field System.String To be added. To be added. Field Gtk.RecentFilterInfo To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TreeViewSearchEqualFunc.xml0000644000175000001440000000261711345266756017621 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. A delegate to specify a compare function for interactive searching. See for more context about how this delegate is used. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/TestCollapseRowArgs.xml0000644000175000001440000000433011345266756017036 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreePath The path of the row being tested for collapsability. A Property Gtk.TreeIter The row being tested for collapsability. A gtk-sharp-2.12.10/doc/en/Gtk/VScrollbar.xml0000644000175000001440000000670511345266756015210 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A vertical scrollbar The widget is a widget arranged horizontally creating a scrollbar. See for details on scrollbars. pointers may be added to handle the adjustment of the scrollbar or it may be left in which case one will be created for you. See for details. Gtk.Scrollbar Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new vertical scrollbar. The to use, or to create a new adjustment. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/HRuler.xml0000644000175000001440000000664411345266756014342 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A horizontal ruler. A horizontal ruler is typically used to show the horizontal location of the mouse in the window and to display the horizontal size of the window in the specified units. The available units of measurement are , and . The default is . A horizontal ruler is typically used above or below another widget such as a . Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. Gtk.Ruler Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new horizontal ruler. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/ThemeEngine.xml0000644000175000001440000000242411345266756015321 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object wrapper for a Gtk theme engine. GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gtk/Requisition.xml0000644000175000001440000001247611345266756015454 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A GtkRequisition represents the desired size of a widget. The size requisition of a widget is it's desired width and height. This is represented by this structure. How a widget determines its desired size depends on the widget. A , for example, requests enough space to display all its text. Container widgets generally base their size request on the requisitions of their children. The size requisition phase of the widget layout process operates top-down. It starts at a top-level widget, typically a . The top-level widget asks its child for its size requisition by calling . To determine its requisition, the child asks its own children for their requisitions and so on. Finally, the top-level widget will get a requisition back from its child. System.ValueType Field Gtk.Requisition An empty object. Method Gtk.Requisition Constructor. A , the underlying C object. A Not for general developer use. Method Gtk.Requisition Duplicates this requisition object by value. A Property GLib.GType GType Property. a Returns the native value for . Field System.Int32 The requested width. Field System.Int32 The requested height. Method GLib.Value To be added. To be added. To be added. To be added. Method Gtk.Requisition To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/CellRendererAccel.xml0000644000175000001440000001566211345266756016437 00000000000000 gtk-sharp 2.12.0.0 Gtk.CellRendererText Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Event GLib.Signal("accel-cleared") Gtk.AccelClearedHandler To be added. To be added. Event GLib.Signal("accel-edited") Gtk.AccelEditedHandler To be added. To be added. Property GLib.Property("accel-key") System.UInt32 To be added. To be added. To be added. Property GLib.Property("accel-mode") Gtk.CellRendererAccelMode To be added. To be added. To be added. Property GLib.Property("accel-mods") Gdk.ModifierType To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Property("keycode") System.UInt32 To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/SwitchPageArgs.xml0000644000175000001440000000424611345266756016010 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The page number being switched to. A Property Gtk.NotebookPage The notebook page being switched to. A gtk-sharp-2.12.10/doc/en/Gtk/Misc.xml0000644000175000001440000002212411345266756014023 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A base class for widgets with alignments and padding. The GtkMisc widget is an abstract widget which is not useful itself, but is used to derive subclasses which have alignment and padding attributes. The horizontal and vertical padding attributes allows extra space to be added around the widget. The horizontal and vertical alignment attributes enable the widget to be positioned within its allocated area. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position. Gtk.Widget Method System.Void Sets the alignment of the widget. The horizontal alignment, from 0 (left) to 1 (right). The vertical alignment, from 0 (top) to 1 (bottom). To be added. Method System.Void Sets the amount of space to add around the widget. The amount of space to add on the left and right of the widget, in pixels. The amount of space to add on the top and bottom of the widget, in pixels. To be added. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Single The vertical alignment The vertical alignment GLib.Property("yalign") Property System.Single The horizontal alignment The horizontal alignment GLib.Property("xalign") Property System.Int32 The amount of space to add on the left and right of the widget, in pixels. The amount of space to add on the left and right of the widget, in pixels. GLib.Property("ypad") Property System.Int32 The amount of space to add on the top and bottom of the widget, in pixels. The amount of space to add on the top and bottom of the widget, in pixels. GLib.Property("xpad") Method System.Void Gets the padding in the X and Y directions of the widget. See ). Location to store padding in the X direction, or . Location to store padding in the Y direction, or . Method System.Void Gets the X and Y alignment of the widget within its allocation. See . Location to store X alignment of misc, or . Location to store Y alignment of misc, or . Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Protected constructor. gtk-sharp-2.12.10/doc/en/Gtk/CurrentParagraphStyleChangedHandler.xml0000644000175000001440000000317611345266756022177 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CurrentParagraphStyleChangedHandler instance to the event. The methods referenced by the CurrentParagraphStyleChangedHandler instance are invoked whenever the event is raised, until the CurrentParagraphStyleChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/OwnerChangeArgs.xml0000644000175000001440000000444611345266756016154 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventOwnerChange To be added a To be added gtk-sharp-2.12.10/doc/en/Gtk/Widget.xml0000644000175000001440000071052611345266756014365 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GtkWidget introduces style properties - these are basically object properties that are stored in the style object associated to the . Style properties are set in resource files. This mechanism is used for configuring such things as the location of the scrollbar arrows through the theme, giving theme authors more control over the look of applications without the need to write a theme engine in C. Use to obtain the value of a style property. Gtk.Object Atk.Implementor Method System.Void Makes all newly-created as composite children until the corresponding call. A composite child is a child that's an implementation detail of the container it's inside and should not be visible to people using the container. Composite children aren't treated differently by GTK# (but see vs. ), but e.g. GUI builders might want to treat them in a different way. Method System.Void Pushes onto a global stack of colormaps. Colormap that is pushed by . Pushes onto a global stack of colormaps; the topmost colormap on the stack will be used to create all . Remove with . There's little reason to use this method. Method System.Void Removes a colormap pushed with . Removes a colormap pushed with . Method System.Void Cancels the effect of a previous call to . Cancels the effect of a previous call to . Method Atk.Object Gets a reference to an object's implementation. An . Gets a reference to an object's implementation. Method System.Void Shows a . If the is an unmapped toplevel , a that has not yet been shown, enter the main loop and wait for the window to actually be mapped. Be careful, because the main loop is running, anything can happen during this method. Method System.Void Causes to become the default . The default is activated when the user presses Enter in a window. Default must be activatable, that is, should affect them. The must have the flag set; typically you have to set this flag yourself by calling . Method System.Void Moves a from one to another, handling reference count issues to avoid destroying the . A to move the into. Moves a from one to another, handling reference count issues to avoid destroying the . Method System.Boolean Move focus to particular . Direction of focus movement. if focus ended up inside . This method is used by custom implementations; if you're writing an app, you'd use to move the focus to a particular , and to change the focus tab order. So you may want to investigate those methods instead. is called by containers as the user moves around the window using keyboard shortcuts. indicates what kind of motion is taking place (up, down, left, right, tab forward, tab backward). invokes the event on ; override the default handler for this event in order to implement appropriate focus behavior. The "focus" default handler for a should return if moving in direction left the focus on a focusable location inside that , and if moving in direction moved the focus outside the . If returning , normally call to place the focus accordingly; if returning , they don't modify the current focus location. Method System.Void Should be called by implementations of the remove method on , to dissociate a child from the container. This method is only for use in widget implementations. Method System.Void Creates the GDK (windowing system) resources associated with a . For example, ->window will be created when a is realized. Normally realization happens implicitly; if you show a and all its parent containers, then it will be realized and mapped automatically. Realizing a requires all the widget's parent widgets to be realized; calling realizes the widget's parents in addition to itself. If a is not yet inside a toplevel window when you realize it, bad things will happen. This method is primarily used in widget implementations, and isn't very useful otherwise. Many times when you think you might need it, a better approach is to connect to a event that will be called after the is realized automatically, such as . Or simply to the realize event. Method System.Void Invalidates the rectangular area of a . y coordinate of upper-left corner of rectangle to redraw. x coordinate of upper-left corner of rectangle to redraw. Width of region to draw. Height of region to draw. Invalidates the rectangular area of defined by , , and by calling on the 's window and all its child windows. Once the main loop becomes idle (after the current batch of events has been processed, roughly), the window will receive events for the union of all regions that have been invalidated. Normally you would only use this method in widget implementations. You might also use it, or directly, to schedule a redraw of a or some portion thereof. Frequently you can just call or instead of this method. Those methods will invalidate only a single window, instead of the and all its children. The advantage of adding to the invalidated region compared to simply drawing immediately is efficiency; using an invalid region ensures that you only have to redraw one time. If an immediate redraw is desired, a call to will force an immediate refresh of the drawable. This can be useful in situations where mouse activity requires immediate visible feedback on the widget. Method System.Void Sets the foreground for a in a particular . The state for which to set the background color. The color to assign (does not need to be allocated), or to undo the effect of previous calls to of . All other style values are left untouched. See also . Method Gdk.Pixbuf A convenience method that uses the theme engine and RC file settings for to look up and render it to a . A stock ID. A stock size. Render detail to pass to theme engine. A new , or if the wasn't known. The should be a stock icon ID such as or . should be a size such as . should be a string that identifies the or code doing the rendering, so that theme engines can special-case rendering for that or code. The pixels in the returned are shared with the rest of the application and should not be modified. The should be freed after use with . Method System.Void Recursively shows a , and any child (if the widget is a container). Recursively shows a , and any child (if the widget is a container). Method System.Void Sets the text for a in a particular state. The state for which to set the text color. The color to assign (does not need to be allocated), or to undo the effect of previous calls to of . All other style values are left untouched. The text color is the foreground color used along with the base color (see ) for such as and . See also . Method Pango.Context Creates a new with the appropriate colormap, font description, and base direction for drawing text for . The new . See also . Method System.Boolean Utility method; intended to be connected to the event on a . Returns . The method calls on its argument, then returns . If connected to , the result is that clicking the close button for a window (on the window frame, top right corner usually) will hide but not destroy the window. By default, GTK+ destroys windows when is received. Method System.Void Causes a to have the keyboard focus for the it's inside. The must be a focusable , such as a ; something like won't work (More precisely, it must have the flag set). Method System.Void Equivalent to calling for the entire area of a . Equivalent to calling for the entire area of a . Method System.Void Given an accelerator group, , and an accelerator path, , sets up an accelerator in so whenever the key binding that is defined for is pressed, will be activated. Path used to look up the the accelerator. A . This removes any accelerators (for any accelerator group) installed by previous calls to . Associating accelerators with paths allows them to be modified by the user and the modifications to be saved for future use. This is a low level method that would most likely be used by a menu creation system like . If you use , setting up accelerator paths will be done automatically. Method System.Void Flags a to be displayed. Any that isn't shown will not appear on the screen. If you want to show all the in a container, it's easier to call on the container, instead of individually showing the . Remember that you have to show the containers containing a , in addition to the itself, before it will appear onscreen. And that when a toplevel container is shown, it is immediately realized and mapped; other shown are realized and mapped when their toplevel container is realized and mapped. Method System.Boolean For that support scrolling, sets the scroll adjustments. An adjustment for horizontal scrolling, or . An adjustment for vertical scrolling, or . Returns if the supports scrolling. For that don't support scrolling, does nothing and returns . that don't support scrolling can be scrolled by placing them in a , which does support scrolling. Method Pango.Layout Creates a new with the appropriate colormap, font description, and base direction for drawing text for . text to set on the layout (can be ). The new . If you keep a created in this way around, in order notify the layout of changes to the base direction or font of this , you must call in response to the and events for the . Method System.Void Reset the styles of and all descendents, so when they are looked up again, they get the correct values for the currently loaded RC file settings. This method is not useful for applications. Method System.Boolean For that can be "activated" (buttons, menu items, etc.) this method activates them. Returns if the was activatable. Activation is what happens when you press Enter on a widget during key navigation; clicking a button, selecting a menu item, etc. If the isn't activatable, the method returns . Method System.Void Sets the background color for a in a particular state. The state for which to set the background color. The color to assign (does not need to be allocated), or to undo the effect of previous calls of . All other style values are left untouched. See also . Method System.Boolean Rarely-used method. This method is used to emit the events on a . A . Return from the event emission ( if the event was handled) If you want to synthesize an event though, don't use this method; instead, use Gtk.Main.DoEvent so the event will behave as if it were in the event queue. Method System.Void Reverses the effects of , causing the to be hidden (invisible to the user). Reverses the effects of , causing the to be hidden (invisible to the user). Method System.Void Sets the base color for a in a particular state. The state for which to set the base color. The color to assign (does not need to be allocated), or to undo the effect of previous calls to of . All other style values are left untouched. The base color is the background color used along with the text color (see ) for such as and . See also . Method System.Void Recursively resets the shape on and its descendants. Recursively resets the shape on this and its descendants. Method System.Void Modifies style values on the . The holding the style modifications. Modifications made using this technique take precedence over style values set via an RC file, however, they will be overriden if a is explicitely set on the using . The structure is designed so each field can either be set or unset, so it is possible, using this method, to modify some style values and leave the others unchanged. Note that modifications made with this method are not cumulative with previous calls to or with such methods as . If you wish to retain previous values, you must first call , make your modifications to the returned , then call with that . On the other hand, if you first call , subsequent calls to such methods will have a cumulative effect with the initial modifications. Method System.Void Sets the minimum size of a ; that is, the 's size request will be by . Width should request, or -1 to unset. Weight should request, or -1 to unset. You can use this method to force a to be either larger or smaller than it normally would be. In most cases, is a better choice for toplevel windows than this method; setting the default size will still allow users to shrink the window. Setting the size request will force them to leave the window at least as large as the size request. When dealing with window sizes, can be a useful method as well. Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given . So, it's basically impossible to hardcode a size that will always be correct. The size request of a is the smallest size a can accept while still methoding well and drawing itself correctly. However in some strange cases a may be allocated less than its requested size, and in many cases a may be allocated more space than it requested. Method System.Boolean Activates the targets associated with the mnemonic. A boolean; set to true if the list of targets should cycle once the end of the list is reached. if the activation is done. Method System.Void Gets the size request that was explicitly set for the using . Return location for width, or . Return location for height, or . A value of -1 stored in or indicates that that dimension has not been set explicitly and the natural requisition of the will be used intead. See . To get the size a will actually use, call instead of this method. Method System.Boolean Removes an accelerator from , previously installed with . Accel group for this . GDK keyval of the accelerator. Modifier key combination of the accelerator. Returns whether an accelerator was installed and could be removed. Removes an accelerator from , previously installed with . Method System.Void Causes a to be unmapped if it's currently mapped. This method is only for use in widget implementations. Method System.Void Causes a to be mapped if it isn't already. This method is only for use in widget implementations. Method Gdk.Region Computes the intersection of a 's area and , returning the intersection. A , in the same coordinate system as ->allocation. That is, relative to ->window for ; relative to the parent window of ->window for widgets with their own window. A newly allocated region holding the intersection of and . The coordinates of the return value are relative to ->window for , and relative to the parent window of ->window for widgets with their own window. The result may be empty, use to check. Method System.Void Flags a to have its size renegotiated; should be called when a for some reason has a new . This method is only for use in widget implementations. One example, when you change the text in a , it queues a resize to ensure there's enough space for the new text. Method System.Void Sets the font to use for a . The font description to use, or to undo the effect of previous calls to . All other style values are left untouched. See also . To change the font of a simple Widget: using Pango; ... [Widget] Label label1; ... ... label1.ModifyFont(FontDescription.FromString("Courier 16")); ... Method System.Int32 Very rarely-used method. This method is used to emit an events on a . A . Return from the event emission ( if the event was handled). This method is not normally used directly. The only time it is used is when propagating an to a child , and that is normally done using . If you want to force an area of a window to be redrawn, use or . To cause the redraw to be done immediately, follow that call with a call to . Method System.Void Causes a to be unrealized (frees all GDK resources associated with the widget). This method is only useful in widget implementations. Method System.Void Ensures that has a style (->style). Not a very useful method; most of the time, if you want the style, the is realized, and realized are guaranteed to have a style already. Method System.Boolean Determines whether is somewhere inside , possibly with intermediate containers. Another . Returns if ancestor contains as a child, grandchild, great grandchild, etc. Determines whether is somewhere inside , possibly with intermediate containers. Method System.Void Adds the events in the bitfield to the event mask for . See for details. Method System.Void Recursively hides a and any child . Recursively hides a and any child . Method System.Void Reverts the effect of a previous call to . Reverts the effect of a previous call to . This causes all queued events on to be emitted. Method System.Void Sets a shape for this 's GDK window. This allows for transparent windows etc., see for more information. Shape to be added, or to remove an existing shape. X position of shape mask with respect to the window. Y position of shape mask with respect to the window. Sets a shape for this 's GDK window. This allows for transparent windows etc., see for more information. Method System.Void Emits a event for the child property on . The name of a child property installed on the class of widget's parent. Emits a event for the child property on . Method System.Void Stops emission of events on . The events are queued until is called on . Method System.Void This method is only used by subclasses, to assign a size and position to their child . A position and size to be allocated to . This fuction is only used by subclasses, to assign a size and position to their child . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.Visual Obtains the visual of the default colormap. Returns a visual of the default colormap. Not really useful; used to be useful before existed. Property Gtk.Style Obtains the default style used by all initially. Returns the default style. This object is owned by GTK+ and should not be modified or freed. Returns the default style used by all initially. Property Gdk.Colormap Sets or obtains the default colormap to use when creating . A . is a better method to use if you only want to affect a few widgets, rather than all widgets. Property Gtk.TextDirection Sets or obtains the default reading direction for . A . Where the direction has not been explicitly set by . Property Atk.Object Obtains the default reading direction for . A . Obtains the default reading direction for . Property Gtk.TextDirection Sets or obtains the reading direction on a particular . The reading direction for the . This direction controls the primary direction for containing text, and also the direction in which the children of a container are packed. The ability to set the direction is present in order so that correct localization into languages with right-to-left reading directions can be done. Generally, applications will let the default reading direction present, except for containers where the containers are arranged in an order that is explicitely visual rather than logical (such as buttons for text justification). If the direction is set none, then the value set by will be used. Property Gdk.Colormap Sets or obtains the colormap that will be used to render . A . Widget must not have been previously realized. Property System.Boolean Sets or obtains whether should be mapped along with its when its parent is mapped and has been shown with . Returns if the is mapped with the parent. The child visibility can be set for before it is added to a container with , to avoid mapping children unnecessary before immediately unmapping them. However it will be reset to its default state of when the is removed from a container. Note that changing the child visibility of a does not queue a resize on the . Most of the time, the size of a is computed from all visible children, whether or not they are mapped. If this is not the case, the container can queue a resize itself. This property is only useful for container implementations and never should be called by an application. Property System.String Sets or obtains a composite name. The composite name of , or if is not a composite child. The string should not be freed when it is no longer needed. The must be a composite child of its parent; see . Property Gtk.Widget Obtains the topmost in the container hierarchy is a part of. The topmost ancestor of , or itself if there's no ancestor. Note the difference in behavior against , would return if wasn't inside a toplevel window, and if the window was inside a GtkWindow-derived which was in turn inside the toplevel . While the second case may seem unlikely, it actually happens when a is embedded inside a within the same application. To reliably find the toplevel , use and check if the flag is set on the result. Property System.Boolean Sets whether a size allocation changes, the entire is queued for drawing. Returns because it is on by Default, but returns if you turn it off. By default, this setting is and the entire is redrawn on every size change. If your leaves the upper left are unchanged when made bigger, turning this setting on will improve performance. Note that for setting this flag to turns off all allocation on resizing: the will not even redraw if its position changes; this is to allow containers that don't draw anything to avoid excess invalidations. If you set this flag on a that does draw on ->window, you are responsible for invalidating both the old and new allocation of the when the is moved and responsible for invalidating regions newly when the increases size. Property System.Boolean Use this property to turn off the double buffering. Returns because double buffering is on by Default, but returns if you turn it off. Widgets are double buffered by default, you can use this property to turn off the buffering. "Double buffered" simply means that and are called automatically around events sent to the . diverts all drawing to a 's window to an offscreen buffer, and draws the buffer to the screen. The result is that users see the window update in one smooth step, and don't see individual graphics primitives being rendered. In very simple terms, double buffered don't flicker, so you would only use this property to turn off double buffering if you had special needs and really knew what you were doing. Property Gtk.Settings Obtains the settings object holding the settings (global property settings, RC file information, etc) used for this . The relevant object. Note that this property can only be called when the is attached to a toplevel, since the settings object is specific to a particular . Property Gdk.Window Sets or obtains 's parent window. The parent window of . Sets or obtains 's parent window. Property Pango.Context Obtains a with the appropriate colormap, font description and base direction for . Unlike the context returned by , this context is owned by the (it can be used until the screen for the changes or the is removed from its toplevel), and will be updated to match any changes to the 's attributes. If you create and keep a using this context, you must deal with changes to the context by calling on the layout in response to the and events for the . Property Gdk.Visual Obtains the visual that will be used to render . The visual for . Obtains the visual that will be used to render . Property Gtk.RcStyle Obtains the current modifier style for the .(As set by ) The modifier style for the . This rc style is owned by the . If no style has previously set, a new will be created with all values unset, and set as the modifier style for the . If you make changes to this rc style, you must call , passing in the returned rc style, to make sure that your changes take effect. Caution: passing the style back to will normally end up destroying it, because copies the passed-in style and sets the copy as the new modifier style, thus dropping any reference to the old modifier style. Add a reference to the modifier style if you want to keep it alive. Property System.Boolean Whether the is visible. if the widget is meant to be visible. GLib.Property("visible") Property System.Int32 Override for the width request for the . The width of the . Or -1 if natural request should be used. GLib.Property("width-request") Property System.Boolean Sets the sensitivity of the . A widget is sensitive if the user can interact with it, otherwise, it is grayed. if the responds to input. Insensitive widgets are "grayed out" and the user can't interact with them. Insensitive widgets are known as "inactive", "disabled", or "ghosted" in some other toolkits. The sensitivity of a widget determines whether it will receive certain events (e.g. button or key presses). If the ancestor (parent) widget sesitivity is set to false, it does not matter what the sensitivity property have, the widget will not be sensitive. Use widget.Parent.Sensitive to check whether the ancestor widget is sensitive or not. When the sensitive property is set to false, the widget property will return false. GLib.Property("sensitive") Property System.Boolean Whether to make the receive the default action when it is focused. if the will receive the default action when is focused. GLib.Property("receives-default") Property System.Boolean Whether the has the input focus. if the has the input focus. GLib.Property("has-focus") Property Gdk.ExtensionMode The mask that decides what kind of extension events the gets. A Gdk.ExtensionMode. GLib.Property("extension-events") Property System.Boolean when the currently is receiving the default action. Evaluates to if the currently is receiving the default action. When the is focused will receive the default action, and HasDefault will be even if there is a different widget set as default. GLib.Property("has-default") Property System.Boolean Whether the is part of a composite widget. if the is part of a composite widget. GLib.Property("composite-child") Property System.Boolean Evaluates to if the is allowed to receive the default focus. that indicates if the widget can grab the default focus, using . When this property is set to true, the widget itself will reserve space to draw the default if possible. If either the widget's property or the 's property evaluates to false, the property will return false. Otherwise, the property will return its own value. Typically, you'd like to set the default widget using , but you must set the property to true before you call it, in order to force the focus to be grabbed into the widget. When certain conditions are met and the user press Enter, the default widget will be focused. Conditions: the property is set to true, the has been called and the containing the widget have the focus. This state is common when your window is shown for the first time, and no call has been made (or when by no other means, the focus has been set to any particular widget). [FIXME] This is a seealso instead see [FIXME] This is a seealso instead see GLib.Property("can-default") Property System.Boolean Determines whether the is able to receive the focus. Evaluates to if the is able to handle focus grabs. If the widget property evaluates to , the property will also return . widget must be a focusable widget, such as an ; something like won't work. More precisely, it must have the property set. The property is just the helper that will tell you whether the widget is focusable. Evaluate it before you make a call to , if you are unsure about the "focusability" of the widget. [FIXME] This two links are seealso instead see: and GLib.Property("can-focus") Property System.Int32 Override for the height request for the . The height of the . Or -1 if natural request should be used. GLib.Property("height-request") Property System.Boolean Whether the application will paint directly on the . if the application will paint directly on the . GLib.Property("app-paintable") Property Gtk.Widget The parent widget of this . The parent widget. Must be a Container , GLib.Property("parent") Property System.String The name of the . The name of the . GLib.Property("name") Property Gtk.Style The style of the . A style. Which contains information about how it will look (colors etc). GLib.Property("style") Event Gtk.UnmapEventHandler Raised whenever this widget (or its parent, if is true for the parent) is told to hide itself. GLib.Signal("unmap_event") Event Gtk.FocusedHandler Raised whenever this widget is focused. The widget gets this signal as the user uses keyboard shortcuts or tabs through the widgets in a window. GLib.Signal("focus") Event Gtk.ParentSetHandler Raised whenever this widget's parent widget is set. GLib.Signal("parent_set") Event Gtk.KeyReleaseEventHandler Raised when a key is released within this widget. GLib.Signal("key_release_event") Event System.EventHandler Raised whenever this widget is hidden. To be added. GLib.Signal("hide") Event Gtk.SelectionRequestEventHandler Raised whenever the widget receives a request for a selection. TODO: explain more about the X selection model GLib.Signal("selection_request_event") Event Gtk.DirectionChangedHandler Raised when the text direction for this widget is changed. GLib.Signal("direction_changed") Event Gtk.DragLeaveHandler Raised when a drag action leaves this widget. GLib.Signal("drag_leave") Event Gtk.ScrollEventHandler Raised when the widget is scrolled. GLib.Signal("scroll_event") Event Gtk.VisibilityNotifyEventHandler Raised whenever the visibility state of the widget changes--- partially visible or fully visible, for example. It may be preferable to handle a instead. GLib.Signal("visibility_notify_event") Event Gtk.WindowStateEventHandler Emitted when the Window state changes. GLib.Signal("window_state_event") Event System.EventHandler Raised when this widget is mapped. GLib.Signal("map") Event Gtk.DragBeginHandler Raised on a source widget when the user begins a drag. To be added. GLib.Signal("drag_begin") Event Gtk.HierarchyChangedHandler Raised when the hierarchy (parent or child relationships) of this widget or its parent or children changes. GLib.Signal("hierarchy_changed") Event Gtk.ConfigureEventHandler Raised when the configuration of the window has changed (it has been moved or resized). GLib.Signal("configure_event") Event Gtk.KeyPressEventHandler Raised when a key is pressed within this widget. GLib.Signal("key_press_event") Event Gtk.MapEventHandler Raised just after the widget is mapped. GLib.Signal("map_event") Event System.EventHandler Raised when this widget grabs the keyboard focus. GLib.Signal("grab_focus") Event Gtk.MotionNotifyEventHandler Raised when the pointer moves within this widget. GLib.Signal("motion_notify_event") Event Gtk.StateChangedHandler Raised when the state of the widget changes. See for the possible states of a widget. GLib.Signal("state_changed") Event Gtk.NoExposeEventHandler Emits NoExposeEvent GLib.Signal("no_expose_event") Event System.EventHandler Raised when a widget is unrealized. GLib.Signal("unrealize") Event Gtk.ButtonReleaseEventHandler Raised when a (mouse) button is released on this widget. GLib.Signal("button_release_event") Event Gtk.SelectionGetHandler Raised when this widget gets a selection from the clipboard. GLib.Signal("selection_get") Event Gtk.SizeAllocatedHandler Raised when size is allocated for this widget. GLib.Signal("size_allocate") Event Gtk.PopupMenuHandler Raised when this widget's popup menu is activated. GLib.Signal("popup_menu") Event Gtk.ExposeEventHandler Raised when the widget needs to be (fully or partially) redrawn. See , . GLib.Signal("expose_event") Event System.EventHandler Raised when the widget is shown. GLib.Signal("show") Event Gtk.SelectionNotifyEventHandler Emitted when a selection is made. GLib.Signal("selection_notify_event") Event Gtk.FocusInEventHandler Raised when the widget has just gained the focus. GLib.Signal("focus_in_event") Event Gtk.ButtonPressEventHandler Raised when a button is pressed. GLib.Signal("button_press_event") Event Gtk.PropertyNotifyEventHandler Emitted when a property is changed. GLib.Signal("property_notify_event") Event Gtk.HelpShownHandler Raised when the help text is shown. GLib.Signal("show_help") Event Gtk.ClientEventHandler Raised when a message is received from another application. GLib.Signal("client_event") Event Gtk.ProximityInEventHandler Raised when the user is using a stylus or touch screen and their pointer comes near the widget. See for context. GLib.Signal("proximity_in_event") Event Gtk.ProximityOutEventHandler Raised when the user is using a stylus or touch screen and their pointer leaves the area near the widget. See for context. GLib.Signal("proximity_out_event") Event Gtk.DestroyEventHandler Raised when this widget is destroyed. GLib.Signal("destroy_event") Event Gtk.SelectionReceivedHandler Raised when this widget is the destination of a received selection. GLib.Signal("selection_received") Event Gtk.DragDataGetHandler Raised when the drag-and-drop process gets data from a source widget. GLib.Signal("drag_data_get") Event Gtk.EnterNotifyEventHandler The pointer has just entered the widget. If the flag is set, Widget will gain the focus, and the widget might be drawn differently. If the handler returns False, the event might be passed to the parent of widget (if no other handler of widget has returned True). GLib.Signal("enter_notify_event") Event Gtk.DragDataReceivedHandler Raised on a destination widget when it receives dragged data. GLib.Signal("drag_data_received") Event Gtk.DragMotionHandler Raised on a source widget when the user is moving a dragged selection. GLib.Signal("drag_motion") Event Gtk.SizeRequestedHandler Raised when this widget needs to notify another object of its preferred size. GLib.Signal("size_request") Event Gtk.GrabNotifyHandler Emitted when a widget grabs focus. GLib.Signal("grab_notify") Event Gtk.StyleSetHandler Raised when a is set for this widget.t GLib.Signal("style_set") Event Gtk.FocusOutEventHandler Raised when the focus leaves this widget. GLib.Signal("focus_out_event") Event Gtk.ChildNotifiedHandler Emitted when a child has been notified. GLib.Signal("child_notify") Event System.EventHandler Raised when the widget is unmapped on the screen. GLib.Signal("unmap") Event Gtk.DragEndHandler Raised on a source widget when a drag operation is completed. GLib.Signal("drag_end") Event Gtk.SelectionClearEventHandler Raised when the current selection is cleared. GLib.Signal("selection_clear_event") Event Gtk.MnemonicActivatedHandler Raised when someone presses a mnemonic key. GLib.Signal("mnemonic_activate") Event Gtk.DragDropHandler Raised on a source widget when dragged data is dropped. GLib.Signal("drag_drop") Event Gtk.LeaveNotifyEventHandler Raised when the mouse leaves this widget. GLib.Signal("leave_notify_event") Event Gtk.DeleteEventHandler Raised when the user has clicked on the "close" button in the window's frame (the button that is automatically set by the window manager). If the handler returns False, the widget will be destroyed (and the window closed), but if the handler returns True, nothing will be done. This is a good way to prevent the user from closing your application's window if there should be some cleanups first (like saving the document). using System; using Gtk; class TestClose { public static void Main () { // Init Gtk# Application.Init (); // Create window Window win = new Window ("Test Close"); win.SetDefaultSize (300, 300); // Add button Button button = new Button ("Close Now"); button.Clicked += delegate { Application.Quit (); }; win.Add (button); // Delete event win.DeleteEvent += delegate (object o, DeleteEventArgs e) { // Cancel closing then the "Close" // button of the window is pressed e.RetVal = true; }; // Show window and run win.ShowAll (); Application.Run (); } } GLib.Signal("delete_event") Event System.EventHandler Emitted when a widget is realized. The default handler creates the Gdk window associated with the widget, and its ancestors. GLib.Signal("realize") Event Gtk.DragDataDeleteHandler Raised on a source widget when dragged data is deleted. GLib.Signal("drag_data_delete") Property Gdk.Window The root window this Widget is attached to. a Property Gdk.Display Obtains the for the toplevel window associated with this . The for the toplevel for this . This method can only be called after the has been added to a widget hierarchy with a at the top. In general, you should only create display specific resources when a has been realized, and you should free those resources when the is unrealized. Property Gdk.Screen Obtains the from the toplevel window associated with this . The for the toplevel for this . This method can only be called after the has been added to a widget hierarchy with a at the top. In general, you should only create screen specific resources when a has been realized, and you should free those resources when the is unrealized. Property System.Boolean Determines if the is the focus widget within its toplevel. if the is the focus widget. This does not mean that the flag is necessarily set; will only be set if the toplevel additionally has the global input focus. GLib.Property("is-focus") Event Gtk.ScreenChangedHandler Emitted when the screen has changed. GLib.Signal("screen_changed") Method System.Boolean Computes the intersection of a 's area and . A rectangle. A rectangle to store intersection of and . if there was an intersection. Computes the intersection of a 's area and , storing the intersection in , and returns if there was an intersection. may be if you're only interested in whether there was an intersection. Method Gtk.Clipboard Returns the clipboard object for the given selection to be used with . A which identifies the clipboard to use. gives the default clipboard, another common value is , which gives the primary X selection. The appropiate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent for all time. must have a associated with it, so must be attached to a toplevel window. Method System.Void Obtains the location of the mouse pointer in coordinates. Return location for the X coordinate, or . Return location for the Y coordinate, or . Widget coordinates are a bit odd; for historical reasons, they are defined as ->window coordinates for widgets that are not , and are relative to ->allocation.x, ->allocation.y for widgets that are . Method System.Boolean Translate coordinates relative to 's allocation to coordinates relative to 's allocations. A . X position relative to source . Y position relative to source . Location to store X position relative to . Location to store Y position relative to . Returns if either was not realized, or there was no common ancestor. In this case, nothing is stored in and . Otherwise . In order to perform this operation, both widgets must be realized, and must share a common toplevel. Method System.Void Obtains the full path to . Location to store length of the path, or . Location to store allocated path string, or . Location to store allocated reverse path string, or . The path is simply the name of a and all its parents in the container hierarchy, separated by periods. The name of a comes from . Paths are used to apply styles to a in gtkrc configuration files. Widget names are the type of the by default (e.g. "") or can be set to an application-specific value with . By setting the name of a , you allow users or theme authors to apply styles to that specific in their gtkrc file. fills in the path in reverse order, i.e. starting with 's name instead of starting with the name of 's outermost ancestor. Method System.Void Same as , but always uses the name of a 's type, never uses a custom name set with . Location to store the length of the class path. or . Location to store the class path as an allocated string, or . Location to store the reverse class path as an allocated string, or . Event Gtk.WidgetEventHandler Emits the WidgetEvent. GLib.Signal("event") Method System.Object Obtains the value of a style property of . The name of a style property. The property value. This can be one of the following types: , , , , , , , , , or . Property System.Boolean Checks whether there is a is associated with this . see langword="true" /> if there is a associated with the . All toplevel have an associated screen, and all added into a hierarchy with a toplevel window at the top. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method Gtk.Widget Obtains the first ancestor of . Ancestor type. The ancesor , or see if not found. For example sending gets the first that's an ancstor of . No reference will be added to the retured ; it should not be unreferenced. See note about checking for a toplevel in the docs for . Note that unlike , considers to be an ancestor of itself. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.StateType Sets or obtains the state of a (insensitive, prelighted, etc.). New state for . Usually you should set the state using wrapper fuctions such as . This property is for use in widget implementations. This property should not be used to check the state of a Gtk.Checkbutton or Gtk.ToggleButton, use . Event System.EventHandler Raised when the closures for this widget's accelerator change. GLib.Signal("accel_closures_changed") Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Installs an accelerator for this in that causes to be emitted if the accelerator is activated. Widget signal to emit on accelerator activation. Accel group for this , added to its toplevel. GDK keyval of the accelerator. Modifier key combination of the accelerator. Flag accelerators. The needs to be added to the widget's toplevel via , and the signal must be of type G_RUN_ACTION. Accelerators added through this method are not user changeable during runtime. Accelerators added through this method are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use instead. Method System.Void Installs an accelerator for this in that causes to be emitted if the accelerator is activated. Widget signal to emit on accelerator activation. Accel group for this , added to its toplevel. GDK keyval of the accelerator. The needs to be added to the widget's toplevel via , and the signal must be of type G_RUN_ACTION. Accelerators added through this method are not user changeable during runtime. Accelerators added through this method are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use instead. Property Gdk.EventMask Obtains or sets the event mask for the (a bitfield containing flags from ). a The event mask determines which events a will receive. Keep in mind that different widgets have different default event masks, and by changing the event mask you may disrupt a 's fuctionalit, so be careful. This property must be called while a is unrealized. Consider for widgets that are already realized, or if you want to preserve the existing event mask. This property can't be used with widgets; to get events on those events, place them inside a and receive events on the event box. These are the events that the will receive. GLib.Property("events") Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Property Gdk.Window Obtains or sets the underlying Gdk.Window used to display the contents of the . a Property System.Int32 Obtains or sets the flags for this . a This property should only be used when writing custom widgets in C#. The property is a preferred more strongly typed member. This member is obsolete in Gtk# 2.0. See for possible values. System.Obsolete Method Gtk.Requisition Obtains the preferred size of a . a The container uses this information to arrange its child widgets and decide what size allocations to give them with . You can also call this method from an application, with some caveats. Most notably, getting a size request requieres the to be associated with a screen, because font information may be needed. Multihead-aware applications should keep this in mind. Also remember that the size request is not necessarily the size a will actually be allocated. Constructor Protected constructor. Property System.Int32 The width of the focus line in a . a Subclasses of use this style property to correctly layout their children. Property Gdk.Rectangle Gets or Sets the widget's allocation. a representing the size of the widget's allocation. When the top-level widget has determined how much space its child would like to have, the second phase of the size negotiation, size allocation, begins. Depending on its configuration (see ), the top-level widget may be able to expand in order to satisfy the size request or it may have to ignore the size request and keep its fixed size. It then tells its child widget how much space it gets by calling . The child widget divides the space among its children and tells each child how much space it got, and so on. Under normal circumstances, a will always give its child the amount of space the child requested. A child's size allocation is represented by a . This struct contains not only a width and height, but also a position (i.e. X and Y coordinates), so that containers can tell their children not only how much space they have gotten, but also where they are positioned inside the space available to the container. Widgets are required to honor the size allocation they receive; a size request is only a request, and widgets must be able to cope with any size. None. Property Gtk.Requisition Gets or Sets the widget's requisition a representing the widget's requisition Property System.Boolean Check to see if the widget is Mapped true if the widget is Mapped, false otherwise. None. Property System.Boolean Checks to see if the widget is Realized returns true if the widget is Realized None. Property System.Boolean Convenience property to check Flags for WidgetFlags.NoWindow True if the NoWindow flag is set. None. Property System.Boolean Convenience property to check Flags for WidgetFlags.Toplevel True if the Toplevel flag is set. None Property System.Boolean Convenience property to check Flags for WidgetFlags.HasGrab True if the HasGrab flag is set. None. Property System.Boolean Convenience property to check Flags for WidgetFlags.CompositeChild True if the CompositeChild flag is set None Property System.Boolean Convenience property to check Flags for WidgetFlags.AppPaintable True if the AppPaintable flag is set None Property System.Boolean Convenience property to check Flags for WidetFlags.DoubleBuffered True if the DoubleBuffered flag is set. None Property System.Boolean Convenience property to check if the widget is Visible and Realized. True if the widget is able to be drawn on None Method System.Void Convenience method to set a flag. a to set None. Method System.Void Convenince method to clear a flag a to set None Method System.Void Virtual method to support scrollable widgets. a horizontal plane a vertical plane Override this method in a subclass to support scrolling of the widget within a viewport smaller than the widget's size. Property Gtk.Requisition Obtains the widget's requisition. a Obtains requisition, unless someone has forced a particular geometry, in which case it returns that geometry instead of the widget's requisition. This method differs from in that it retrieves the last size request value, while the method recomputes the size request and fills in the requisition, and then returns the recomputed value. Property System.Boolean This property determines whether the widget will be affected by and . a , true if the widget should be affected GLib.Property("no-show-all") Event Gtk.AccelCanActivateHandler This signal is present to allow applications and derived widgets to override the default Gtk.Widget handling for determining whether an accelerator can be activated. See for more details. GLib.Signal("can_activate_accel") Method System.Boolean Method raised when the event happens; override this for additional functionality. a , a signal ID a , true if the accelerator can be activated. Method System.Void Deprecated. a In GTK+ 1.2, this function would immediately render the region of a widget, by invoking the virtual draw method of a widget. In GTK+ 2.0, this method simply invalidates the specified region of the widget, then updates the invalid region of the widget immediately. Usually you don't want to update the region immediately for performance reasons, so in general is a better choice if you want to draw a region of a widget. Method System.Void Deprecated equivalent of a a a a Method System.Void Adds a widget to the list of mnemonic labels for this widget. a (See ). Note the list of mnemonic labels for the widget is cleared when the widget is destroyed, so the caller must make sure to update its internal state at this point as well, by using a connection to the Destroy signal or a weak notifier. Method System.Void Deprecated way to set the position of a widget. a a The funny "u" in the name comes from the "user position" hint specified by the X Window System, and exists for legacy reasons. This function does not work if a widget is inside a container; it is only really useful on . Method System.Void Deprecated: Use instead. Method System.Void Sets the minimum size of a widget a a is deprecated and should not be used in newly-written code. Method System.Void This function works like , except that the widget is not invalidated. Method Gtk.Widget[] Returns a list of the widgets, normally Labels, for which this widget is a the target of a mnemonic a Method System.Boolean Determines whether an accelerator that activates the signal identified by can currently be activated. a , a signal ID (XXX: API: should this really work this way?) a , true if the accelerator can be activated. This is done by emitting the signal on the widget; if the signal isn't overridden by a handler or in a derived widget, then the default check is that the widget must be sensitive, and the widget and all its ancestors mapped. Method System.Void Removes a widget from the list of mnemonic labels for this widget. a The widget must have previously been added to the list with . Property Gtk.WidgetFlags Contains Widget specific flags values. a Event Gtk.WidgetEventAfterHandler Emits the WidgetEventAfter. GLib.Signal("event_after") Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void The state to be reset. Resets the base color to the default color. To set a specific color, use the overload of this method. Method System.Void The state to be reset. Resets the background color to the default color. To set a specific color, use the overload of this method. Method System.Void The state to be reset. Resets the foreground color to the default color. To set a specific color, use the overload of this method. Method System.Void The state to be reset. Resets the text color to the default color. To set a specific color, use the overload of this method. Event GLib.Signal("grab_broken_event") Gtk.GrabBrokenEventHandler Raised when an existing grab is broken by another. Method System.Boolean To be added. Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Event GLib.Signal("composited_changed") System.EventHandler Raised with the composited status changes. Method System.Void Default handler for event. Method System.Void mask to combine. x offset of . y offset of . Sets an input shape mask for the widget. Allows widgets to react to non-rectangular regions for mouse events. Property System.Boolean Indicates if a widget can rely on its alpha channel being drawn correctly. if , alpha compositing is available. Depends on window manager feature availability on X. Property Gtk.Action The action the widget proxies. a , or if no proxy relationship exists. See for more details. Method System.Void Method raised when the widget is activated, primarily by . Override this method in a subclass to be notified when the widget is activated, commonly when the user presses Enter or Space during key navigation. Event GLib.Signal("drag_failed") Gtk.DragFailedHandler To be added. To be added. Method System.Void To be added. To be added. Property GLib.Property("has-tooltip") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("query-tooltip") Gtk.QueryTooltipHandler To be added. To be added. Property GLib.Property("tooltip-markup") System.String To be added. To be added. To be added. Property GLib.Property("tooltip-text") System.String To be added. To be added. To be added. Property Gtk.Window To be added. To be added. To be added. Method System.Void To be added. To be added. GLib.TypeInitializer(typeof(Gtk.Widget), "ClassInit") gtk-sharp-2.12.10/doc/en/Gtk/TooltipsData.xml0000644000175000001440000001353111345266756015541 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The data needed for a object. System.ValueType Field Gtk.TooltipsData A with default values. Method Gtk.TooltipsData Gets the associated with . an object of type an object of type Method Gtk.TooltipsData Creates a new TooltipsData object. an object of type an object of type This is not typically used directly by applications. Property Gtk.Widget The that this is associated with. an object of type System.Obsolete("Replaced by Widget property.") Property Gtk.Tooltips Generates a Tooltips object out of this data. an object of type To be added. System.Obsolete("Replaced by Tooltips property.") Field System.String A string containing the tooltip message. Field System.String A string that is not shown as the default tooltip. Instead, this message may be more informative and go towards forming a context-sensitive help system for your application. (FIXME: how to actually "switch on" private tips?) Property Gtk.Tooltips To be added. To be added. To be added. Property Gtk.Widget To be added. To be added. To be added. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/TreeNode.xml0000644000175000001440000002376011345266756014644 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. TreeNode abstract class Convenience class for deriving ITreeNode implementing objects for implementations. This class can be subclassed to quickly implement a node type without having to implement the tree building and navigational aspects of the interface. The following example shows a simple subclass: [TreeNode(ColumnCount=1)] public class MyTreeNode : TreeNode { string level; public MyTreeNode (string level) { this.level = level; } [TreeNodeValue(Column=0)] public string Level { get { return level; } set { level = value; OnChanged (); } } } The base class provides all the details and MyTreeNode uses to notify of tree related node changes. System.Object Gtk.ITreeNode System.Reflection.DefaultMember("Item") Method System.Int32 IndexOf method a a Returns the child index of or -1 if is not a child of this . Method System.Void OnChanged method Raises the Changed event. Call this method if any column values of the node change. Constructor TreeNode constructor Default constructor.. Property System.Int32 ID property a Read-only. Provides a unique identifier for all instances. Property System.Int32 ChildCount a Read-only. The number of children of this node. Property Gtk.ITreeNode Child indexer a a Returns the child at position in the list of children for this . Event System.EventHandler Changed event Raised when the contents of the change. Use for a convenient way to raise the event. Event Gtk.TreeNodeAddedHandler ChildAdded event Raised when a child is added to the node. Event Gtk.TreeNodeRemovedHandler ChildRemoved event Raised when a child is removed from the node. Property Gtk.ITreeNode Parent property a Read-only. The parent for this node. Method System.Void Appends a child to the node a Adds the specified to this . The is added to the end of the children list, the property of is set to this node, and the event is raised. Method System.Void Inserts a child at the given position a Position among the node's children to insert Adds the specified to this . The is added to the children list before the child currently at position , the property of is set to this node, and the event is raised. Method System.Void RemoveChild method a Removes the specified from this . The property of is set to and the event is raised. gtk-sharp-2.12.10/doc/en/Gtk/Assistant+AssistantChild.xml0000644000175000001440000000650411345266756020016 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("complete") System.Boolean To be added. To be added. To be added. Property Gtk.ChildProperty("header-image") Gdk.Pixbuf To be added. To be added. To be added. Property Gtk.ChildProperty("page-type") Gtk.AssistantPageType To be added. To be added. To be added. Property Gtk.ChildProperty("sidebar-image") Gdk.Pixbuf To be added. To be added. To be added. Property Gtk.ChildProperty("title") System.String To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TreeModelAdapter.xml0000644000175000001440000012314611345266756016317 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.TreeModel Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Property Gtk.TreeModelFlags To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method GLib.GType To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Gtk.TreeModel To be added. To be added. To be added. To be added. To be added. Method Gtk.TreePath To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Object To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("row_changed") Gtk.RowChangedHandler To be added. To be added. Event GLib.Signal("row_deleted") Gtk.RowDeletedHandler To be added. To be added. Event GLib.Signal("row_has_child_toggled") Gtk.RowHasChildToggledHandler To be added. To be added. Event GLib.Signal("row_inserted") Gtk.RowInsertedHandler To be added. To be added. Event GLib.Signal("rows_reordered") Gtk.RowsReorderedHandler To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.TreeModelImplementor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("row_changed") Gtk.RowChangedHandler To be added. To be added. Event GLib.Signal("row_deleted") Gtk.RowDeletedHandler To be added. To be added. Event GLib.Signal("row_has_child_toggled") Gtk.RowHasChildToggledHandler To be added. To be added. Event GLib.Signal("row_inserted") Gtk.RowInsertedHandler To be added. To be added. Event GLib.Signal("rows_reordered") Gtk.RowsReorderedHandler To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. TreeModel interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/HTMLStream.xml0000644000175000001440000001550411345266756015054 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Handles streaming I/O for . TODO: needs examples. GLib.Opaque Method Gtk.HTMLStream To be added A A A Method System.Void Writes the HTML out to A Method System.Void Destroy the stream object and dispose of the memory it uses. Method System.Void Close the stream. A Method System.Int32 To be added A A A Method System.Void Write the HTML to . a a Property System.String To be added A Constructor Constructor for internal use only. Do not use. a , the underlying C objject. Constructor Constructor. a a a a Method System.Void Write the HTML to . a a Use the ulong size overload instead for 64 bit deployments. gtk-sharp-2.12.10/doc/en/Gtk/ButtonBox+ButtonBoxChild.xml0000644000175000001440000000372511345266756017746 00000000000000 gtk-sharp 2.12.0.0 Gtk.Box+BoxChild Property Gtk.ChildProperty("secondary") System.Boolean Whether or not the child should appear in a secondary group of children or . A secondary group appears after the other children if the style is , or , and before the the other children if the style is . For horizontal button boxes, the definition of before/after depends on direction of the widget (see ). If the style is or , then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/PrintFunc.xml0000644000175000001440000000172411345266756015043 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Delegate for printing. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/HTMLStreamStatus.xml0000644000175000001440000000275211345266756016261 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration of possible statuses for an HTML stream. System.Enum Field Gtk.HTMLStreamStatus Okay; HTTP result 200 Field Gtk.HTMLStreamStatus Not okay. (TODO: This is for everything non-200? Look up in source.) gtk-sharp-2.12.10/doc/en/Gtk/FileFilterFlags.xml0000644000175000001440000000567611345266756016147 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This object represents a bitfield of flags that list the needed fields when calling . System.Enum GLib.GType(typeof(Gtk.FileFilterFlagsGType)) System.Flags Field Gtk.FileFilterFlags The filename. Field Gtk.FileFilterFlags A URI. Field Gtk.FileFilterFlags The filename to display. Field Gtk.FileFilterFlags The MIME type of the file. gtk-sharp-2.12.10/doc/en/Gtk/TreeIterCompareFunc.xml0000644000175000001440000000711511345266756017001 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate function to specify the shape of comparison functions for tree iterators. Functions with this call syntax are usually used for comparison between two tree iterators as part of a sort. using System; using Gtk; public class SortableTreeView : TreeView { TreeStore ts; TreeIter iter; TreeViewColumn col0; TreeViewColumn col1; public SortableTreeView () { Type[] col_types = {typeof(string), typeof(string)}; ts = new TreeStore (col_types); ts.SetSortFunc (0, col0_compare, IntPtr.Zero, null); // use col0_compare to sort iter = new TreeIter (); AddRow ("1,1", "1,2"); AddRow ("2,1", "2,2"); this.Model = ts; this.HeadersClickable = true; this.HeadersVisible = true; col0 = new TreeViewColumn (); col0.Clickable = true; col0.Title = "Column 1"; CellRendererText col0_renderer = new CellRendererText (); col0.PackStart (col0_renderer, true); col0.AddAttribute (col0_renderer, "text", 0); col0.Clicked += new EventHandler (col0_clicked); this.AppendColumn (col0); col1 = new TreeViewColumn (); col1.Title = "Column 2"; CellRendererText col1_renderer = new CellRendererText (); col1.PackStart (col1_renderer, true); col1.AddAttribute (col1_renderer, "text", 1); this.AppendColumn (col1); } public void AddRow (string val1, string val2) { ts.Append (out iter); ts.SetValue (iter, 0, val1); ts.SetValue (iter, 1, val2); } public int col0_compare (TreeModel model, TreeIter tia, TreeIter tib) { return String.Compare ((string) model.GetValue (tia, 0), (string) model.GetValue (tib, 0)); } private void col0_clicked (object o, EventArgs args) { col0.SortOrder = SetSortOrder (col0); // set order asc or desc col0.SortIndicator = true; // turn on sort indicator ts.SetSortColumnId (0, col0.SortOrder); } public SortType SetSortOrder (TreeViewColumn col) { if (col.SortIndicator) { if (col.SortOrder == SortType.Ascending) return SortType.Descending; else return SortType.Ascending; } else return SortType.Ascending; } public static void Main () { Application.Init (); Window win = new Window ("TreeIterCompareFunc Example"); win.DeleteEvent += new DeleteEventHandler (delete_event); win.SetDefaultSize (400, 250); ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); SortableTreeView stv = new SortableTreeView (); sw.Add (stv); win.ShowAll (); Application.Run (); } private static void delete_event (object o, DeleteEventArgs args) { Application.Quit (); } } To be added. System.Delegate System.Int32 gtk-sharp-2.12.10/doc/en/Gtk/SpinButtonUpdatePolicy.xml0000644000175000001440000000354611345266756017567 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Dictates how a is refreshed when its value is updated. System.Enum GLib.GType(typeof(Gtk.SpinButtonUpdatePolicyGType)) Field Gtk.SpinButtonUpdatePolicy When refreshing a , the value is always displayed. Field Gtk.SpinButtonUpdatePolicy When refreshing a , the value is only displayed if it is valid. A value is valid if it lies within the bounds of the spin button's . gtk-sharp-2.12.10/doc/en/Gtk/HScrollbar.xml0000644000175000001440000000667011345266756015173 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A horizontal scrollbar The widget is a widget arranged horizontally creating a scrollbar. See for details on scrollbars. pointers may be added to handle the adjustment of the scrollbar or it may be left in which case one will be created for you. See for details. Gtk.Scrollbar Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new horizontal scrollbar. The to use, or to create a new adjustment. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/RecentFilterFlags.xml0000644000175000001440000000475211345266756016502 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.RecentFilterFlagsGType)) System.Flags Field Gtk.RecentFilterFlags To be added. Field Gtk.RecentFilterFlags To be added. Field Gtk.RecentFilterFlags To be added. Field Gtk.RecentFilterFlags To be added. Field Gtk.RecentFilterFlags To be added. Field Gtk.RecentFilterFlags To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DetailsAcquiredArgs.xml0000644000175000001440000000307711345266756017016 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Success indicator. if the details were successfully acquired. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/ToolButton.xml0000644000175000001440000002253511345266756015247 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A button for a toolbar. Gtk.ToolItem Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use only. a , pointer to underlying C object. Constructor Public constructor a , a widget that will be used as icon widget, or a , a label for this button, or Constructor Public constructor that uses a stock item. a , the name of the stock item Property GLib.GType The of this object. a Property System.String The label for this button. a GLib.Property("label") Property System.String If this is a stock item, the ID for the stock item. a GLib.Property("stock-id") Property Gtk.Widget The label for this button in widget form. a GLib.Property("label-widget") Property Gtk.Widget The icon for this button, in widget form. a GLib.Property("icon-widget") Property System.Boolean Whether the button label has the form "_Open". a If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. For example, if the label property is "_Open" and this property is set, the label on the tool button will be "Open" and the item on the overflow menu will have an underlined 'O'. Labels shown on tool buttons never have mnemonics on them; this property only affects the menu item on the overflow menu. GLib.Property("use-underline") Event System.EventHandler This signal is emitted when the tool button is clicked with the mouse or activated with the keyboard. GLib.Signal("clicked") Property GLib.Property("icon-name") System.String Accesses the icon as a name in an Icon theme. a name in an Icon theme. gtk-sharp-2.12.10/doc/en/Gtk/PrinterFunc.xml0000644000175000001440000000147511345266756015375 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Boolean A printer. Printer enumeration callback delegate. If , the enumeration is stopped. Invoked by . gtk-sharp-2.12.10/doc/en/Gtk/ObjectRequestedHandler.xml0000644000175000001440000000257011345266756017521 00000000000000 gtkhtml-sharp 3.16.0.0 To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ObjectRequestedHandler instance to the event. The methods referenced by the ObjectRequestedHandler instance are invoked whenever the event is raised, until the ObjectRequestedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Action.xml0000644000175000001440000006476711345266756014370 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An action which can be triggered by a menu or toolbar item. Actions represent operations that the user can be perform, along with some information how it should be presented in the interface. Each action provides methods to create icons, menu items and toolbar items representing itself. As well as the callback that is called when the action gets activated, the following also gets associated with the action: a name (not translated, for path lookup)a label (translated, for display)an acceleratorwhether label indicates a stock ida tooltip (optional, translated)a toolbar label (optional, shorter than label) The action will also have some state information: visible (shown/hidden)sensitive (enabled/disabled) Apart from regular actions, there are toggle actions, which can be toggled between two states and radio actions, of which only one in a group can be in the "active" state. Other actions can be implemented as subclasses. Each action can have one or more proxy menu item, toolbar button or other proxy widgets. Proxies mirror the state of the action (text label, tooltip, icon, visible, sensitive, etc), and should change when the action's state changes. When the proxy is activated, it should activate its action. GLib.Object Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Disables calls to the function by signals on the given proxy widget. a This is used to break notification loops for things like check or radio actions. This function is intended for use by action implementations. Method Gtk.Widget Creates a menu item widget that proxies for the given action. a that is a menu item connected to the action. Method System.Void Emits on the specified action, if it is not insensitive. This gets called by the proxy widgets when they get activated. It can also be used to manually activate an action. Method System.Void Undoes the effect of one call to . Method System.Void Re-enables calls to the function by signals on the given proxy widget. a This undoes the blocking done by . This function is intended for use by action implementations. Method Gtk.Widget This function is intended for use by action implementations to create icons displayed in the proxy widgets. a , the size of the icon that should be created. a that displays the icon for this action. Method System.Void Installs the accelerator for action if action has an AccelPath and AccelGroup. See and Since multiple proxies may independently trigger the installation of the accelerator, the action counts the number of times this function has been called and does not remove the accelerator until has been called as many times. Method Gtk.Widget Creates a toolbar item widget that proxies for the given action. a that is a toolbar item connected to the action. Method System.Void Connects a widget to an action object as a proxy. a Synchronises various properties of the action with the widget (such as label text, icon, tooltip, etc), and attaches a callback so that the action gets activated when the proxy widget does. If the widget is already connected to an action, it is disconnected first. Method System.Void Disconnects a proxy widget from an action. a Does not destroy the widget, however. Constructor Internal constructor a System.Obsolete Constructor Internal constructor a Constructor Creates a new action from the , , , and . A unique name for the action the label displayed in menu items and on buttons a tooltip for the action, or for no tooltip the stock icon to display in widgets representing the action, or Constructor Creates a new action from the and . A unique name for the action the label displayed in menu items and on buttons Convenience constructor for passing in for the last two parameters. Property GLib.GType GType Property. a Returns the native value for . Property System.Boolean Whether the action is considered important. a When , toolitem proxies for this action show text in mode. Default value: GLib.Property("is-important") Property System.Boolean When , toolitem proxies for this action are represented in the toolbar overflow menu. a Default value is GLib.Property("visible-vertical") Property System.String The stock icon displayed in widgets representing this action. a Default value is GLib.Property("stock-id") Property System.Boolean When , empty menu proxies for this action are hidden. a Default value: GLib.Property("hide-if-empty") Property System.String A unique name for the action. a GLib.Property("name") Property System.String A shorter label that may be used on toolbar buttons. a Default value is GLib.Property("short-label") Property System.Boolean Whether the toolbar item is visible when the toolbar is in a horizontal orientation. a Default value is GLib.Property("visible-horizontal") Property Gtk.ActionGroup The GtkActionGroup this GtkAction is associated with. a Can be set to for internal use. GLib.Property("action-group") Property System.String The label used for menu items and buttons that activate this action. a Default value is GLib.Property("label") Property System.String A tooltip for this action. a Default value is GLib.Property("tooltip") Property System.Boolean Whether the action itself is sensitive. a This does not necessarily mean effective sensitivity. See for that. GLib.Property("sensitive") Property System.Boolean Whether the action itself is visible. a This does not necessarily mean effective visibility. See for that. GLib.Property("visible") Property Gtk.AccelGroup The in which the accelerator for this action will be installed. a or Property System.Boolean Whether the action is effectively sensitive. a if the action and its associated action group are both sensitive. Property System.Boolean Whether the action is effectively visible. a if the action and its associated action group are both visible. Property System.String The accel path for this action. a All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent. Event System.EventHandler Event raised when this action is activated. GLib.Signal("activate") Property Gtk.Widget[] Returns the proxy widgets for an action. a of proxy widgets. Property System.Boolean When , toolitem proxies for this action are represented in the toolbar overflow menu. a Default value is . GLib.Property("visible-overflown") Property GLib.Property("icon-name") System.String The name of the icon from the icon theme. the icon name. Method Gtk.Widget To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/AccelChangedHandler.xml0000644000175000001440000000272511345266756016714 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AccelChangedHandler instance to the event. The methods referenced by the AccelChangedHandler instance are invoked whenever the event is raised, until the AccelChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Justification.xml0000644000175000001440000000464611345266756015754 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used for justifying the text inside a widget. System.Enum GLib.GType(typeof(Gtk.JustificationGType)) Field Gtk.Justification The text is placed at the left edge of the . Field Gtk.Justification The text is placed at the right edge of the . Field Gtk.Justification The text is placed in the center of the . Field Gtk.Justification The text is placed is distributed across the . gtk-sharp-2.12.10/doc/en/Gtk/ThreadNotify.xml0000644000175000001440000000761011345266756015533 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Multi-threaded integration with Gtk support. You should consider using instead of this class as it provides a simpler interface. The ThreadNotify class is used to invoke methods in the Gtk+ thread. Since Gtk is not a thread-safe toolkit, only a single thread at a time might be making calls into Gtk. Typically applications will be executing the main Gtk+ main loop and when threads are done processing work, they invoke to invoke a method on the main Gtk+ thread. using Gtk; class Demo { static ThreadNotify notify; static void Main () { Application.Init (); notify = new ThreadNotify (new ReadyEvent (ready)); Application.Run (); } static void ready () { // Update the GUI with computation values. } static void ThreadRoutine () { LargeComputation (); notify.WakeupMain (); } static void LargeComputation () { // lots of processing here } } System.Object System.IDisposable Method System.Void Wakeup the main thread, and invoke delegate. This methods wakes up the Gtk+ main thread and executes the delegate that was specified at construction time in the Gtk+ thread. Constructor ThreadNotify constructor A ReadyEvent delegate. The method referenced by the delegate will be invoked on the Gtk+ mainloop whenever any thread invokes the method. Method System.Void To be added Method System.Void To be added a gtk-sharp-2.12.10/doc/en/Gtk/AddedArgs.xml0000644000175000001440000000332511345266756014750 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The widget that was added to the container. A gtk-sharp-2.12.10/doc/en/Gtk/SurroundingDeletedHandler.xml0000644000175000001440000000302611345266756020234 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SurroundingDeletedHandler instance to the event. The methods referenced by the SurroundingDeletedHandler instance are invoked whenever the event is raised, until the SurroundingDeletedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PopulatePopupHandler.xml0000644000175000001440000000361211345266756017244 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the PopulatePopupHandler instance to the event. The methods referenced by the PopulatePopupHandler instance are invoked whenever the event is raised, until the PopulatePopupHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Adjustment.xml0000644000175000001440000004116111345266756015250 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Encapsulates an adjustable bounded value. The Adjustment object represents a value with an associated and bound, together with a , , and a . The Adjustment object does not update the value itself. Instead it is left up to the owner of the Adjustment to control the value. The owner of the Adjustment typically calls the and methods after changing the value or its bounds, respectively. This results in the emission of the or events respectively. An Adjustment is used within several widgets, including , , and (which is a base class for , , , and ). Gtk.Object Method System.Void Sets all the properties of the Adjustment at the same time. The minimum value. The maximum value. The increment to use to make minor changes to the value. The increment to use to make major changes to the value. The page size. In a this is the size of the area that is currently visible. When updating the values and properties of an Adjustment, remember to call the and/or methods to ensure the correct events are raised. Method System.Void Fires the event. This method should be called manually after changing properties to notify all listening objects that the Adjustment's has changed. Method System.Void Fires the event. This method should be called manually after changing properties to notify all listening objects that one or more of the Adjustment's bounds have changed. Method System.Void Used to inform the Adjustment's view that a new visible range should be displayed. The lower value of the new range. The upper value of the new range. This method should be used to set the currently visible range to (, ).?If necessary, the current is changed to ensure that it is visible within the new scope. If the specified range is larger than the , then only the start of it will make up the new "current page". The event will be raised if the changes as a result of this method. must be called manually if the event should be raised. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates an Adjustment with the specified value and bounds. The initial value. The minimum value. The maximum value. The increment to use to make minor changes to the value. The increment to use to make major changes to the value. The page size. In a this is the size of the area that is currently visible. Property System.Double Manage the size of a 'page'. The current size of pages in this Adjustment. In a this is the size of the area which is currently visible. GLib.Property("page-size") Property System.Double Manage the increment used to make major changes to the value. The current PageIncrement. The usefulness of this value is entirely dependent upon the context in whic hthe Adjustment is used. GLib.Property("page-increment") Property System.Double Manage the current . The current value of this adjustment. If you set this property, you should manually call so that all listening objects are notified of the change. GLib.Property("value") Event System.EventHandler This event is raised when is called. This event can be handled to be notified of changes to the Adjustment's value. However, this relies on all objects that change the calling . GLib.Signal("value_changed") Event System.EventHandler This event is raised when is called. If the Adjustment's properties change, (such as , etc.), it is up to whichever class changes the values to call to ensure this event is raised. GLib.Signal("changed") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Virtual method to override the event default handler. Override this method to change the default event handling for the event. Method System.Void Virtual method for event default handling. Override this method to change the default event handling for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Double Retrieve the lower bound of this Adjustment. a The minimum possible value that is currently allowed. GLib.Property("lower") Property System.Double Retrieve the upper bound of this Adjustment. a The maximum possible value that is currently allowed. GLib.Property("upper") Property System.Double The increment to use to make minor changes to the value. a In a this increment is used when the mouse is clicked on the arrows at the top and bottom of the , to scroll by a small amount. GLib.Property("step-increment") Constructor Default constructor. gtk-sharp-2.12.10/doc/en/Gtk/CallbackMarshal.xml0000644000175000001440000000237211345266756016137 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. Delegate for specifying a function signature for marshalling callbacks. FIXME: provide an example here System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/UnmapEventHandler.xml0000644000175000001440000000301311345266756016504 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. Called whenever a widget is unmapped--- that is, whenever its window is hidden. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the UnmapEventHandler instance to the event. The methods referenced by the UnmapEventHandler instance are invoked whenever the event is raised, until the UnmapEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/FormatValueHandler.xml0000644000175000001440000000270511345266756016656 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FormatValueHandler instance to the event. The methods referenced by the FormatValueHandler instance are invoked whenever the event is raised, until the FormatValueHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/HTMLStreamWriteFunc.xml0000644000175000001440000000224411345266756016700 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. A delegate for use with . Meant to be used for writing the stream. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DoneArgs.xml0000644000175000001440000000313611345266756014634 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintOperationResult Result of the Operation. a . If the result is 'Error', you can check for more information. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/ToggleButton.xml0000644000175000001440000003171011345266756015546 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A button that can be toggled on and off. A is a which will remain 'pressed-in' when clicked. Clicking again will cause the toggle button to return to its normal state. This is useful if you need to maintain the state of a button. using Gtk; using System; public class ToggleButtonApp { ToggleButton btn; public static int Main (string[] args) { new ToggleButtonApp(); return 0; } public ToggleButtonApp() { Application.Init (); Window win = new Window ("ToggleButton Tester"); win.SetDefaultSize (200, 150); win.DeleteEvent += new DeleteEventHandler (Window_Delete); btn = new ToggleButton ("Unselected"); btn.Active = false; btn.Toggled += new EventHandler (btn_toggled); win.Add (btn); win.ShowAll (); Application.Run (); } void btn_toggled (object obj, EventArgs args) { Console.WriteLine ("Button Toggled"); if (btn.Active) { btn.Label = "Unselected"; } else { btn.Label = "Selected"; } } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } Gtk.Button Method Gtk.ToggleButton Creates a new with a text label. a containing the message to be placed in the toggle button. a new . Creates a new with a text label. Method System.Void Emits the event Emits the event on the . There is no good reason for an application ever to call this function. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new object Creates a new , which is a . A widget should be packed inside the toggle button using . Label label = new Label(); ToggleButton btn = new ToggleButton (); btn.Add(label); Constructor Creates a new with a text label. a containing the message to be placed in the toggle button. Creates a new with a text label. ToggleButton btn = new ToggleButton ("ToggleButton"); Property System.Boolean The Mode of the an object of type The Mode of the Sets whether the button is displayed as a separate indicator and label. You can call this function on a or a with = to make the button look like a normal button This function only effects instances of classes like and that derive from , not instances of itself. Property System.Boolean Determines if the has an intermediate state. an object of type If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a , and the current values in that range are inconsistent, you may want to display the toggle in an "in between" state. This function turns on "in between" display. Normally you would turn off the inconsistent state again if the user toggles the . This has to be done manually, only affects visual appearance, it does not affect the semantics of the . GLib.Property("inconsistent") Property System.Boolean Get or set the active an object of type Get or set the active. Get: Queries a and returns its current state. Returns if the toggle button is pressed in and if it is raised. if (btn.Active) { Console.WriteLine("The ToggleButton is pressed in"); } else { Console.WriteLine("The ToggleButton is raised"); } Set: Sets the status of the toggle button. Set to if you want the GtkToggleButton to be 'pressed in', and to raise it. This action causes the toggled signal to be emitted. // set the togglebutton active // and appear "pressed in" btn.Active = true; GLib.Property("active") Property System.Boolean Determines the drawing style of a or an object of type The DrawIndicator property can be set to to make or look like a normal . GLib.Property("draw-indicator") Event System.EventHandler Triggered when the is clicked. Should be connected if you wish to perform an action whenever the state changes. ToggleButton btn = new ToggleButton("ToggleButton"); btn.Toggled += new EventHandler (btn_toggled); void btn_toggled (object obj, EventArgs args) { // code for toggled event here } GLib.Signal("toggled") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/TreeViewDropPosition.xml0000644000175000001440000000472611345266756017244 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration for determining where a dropped row goes. System.Enum GLib.GType(typeof(Gtk.TreeViewDropPositionGType)) Field Gtk.TreeViewDropPosition Drop before this row. Field Gtk.TreeViewDropPosition Drop after this row. Field Gtk.TreeViewDropPosition Drop as a child of this row (with fallback to before if into is not possible). Field Gtk.TreeViewDropPosition Drop as a child of this row (with fallback to after if into is not possible). gtk-sharp-2.12.10/doc/en/Gtk/AccelClearedArgs.xml0000644000175000001440000000302711345266756016235 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String Path to the edited cell. The string representation of the path. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/LoadState.xml0000644000175000001440000000312111345266756015004 00000000000000 gtk-sharp 2.12.0.0 System.Enum Field Gtk.LoadState Loading. Field Gtk.LoadState Empty. Field Gtk.LoadState Preload. Field Gtk.LoadState Finished. Load State enumeration. gtk-sharp-2.12.10/doc/en/Gtk/TreeModelFilter.xml0000644000175000001440000015207611345266756016170 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object designed to filter the contents of a column or columns in a for display. using System; using Gtk; public class MyWindow : Window { TreeView view; TreeModelFilter filter; Entry search; static void Main () { Application.Init (); new MyWindow (); Application.Run (); } public MyWindow () : base ("MyWindow") { this.SetDefaultSize (400, 300); this.DeleteEvent += new DeleteEventHandler (OnMyWindowDelete); view = new TreeView (); view.AppendColumn ("test", new CellRendererText (), "text", 0); TreeStore store = new TreeStore (typeof (string)); string[] names = new string[] {"bob", "joe", "joseph", "frank"}; foreach (string name in names) store.AppendValues (name); view.Model = store; filter = new TreeModelFilter (store, null); filter.VisibleFunc = SearchFilterFunc; VBox vbox = new VBox (false, 6); search = new Entry (); search.Activated += OnSearch; Label l = new Label ("Search:"); l.Xalign = 0.0f; vbox.PackStart (l, false, true, 0); vbox.PackStart (search, false, true, 0); vbox.PackStart (view, true, true, 0); this.Add (vbox); this.ShowAll (); } bool SearchFilterFunc (TreeModel model, TreeIter iter) { // no search term, show all if (search.Text.Trim ().Length < 1) return true; string t = (string) model.GetValue (iter, 0); return t.StartsWith (search.Text.Trim ()); } void OnSearch (object sender, EventArgs a) { view.Model = filter; filter.Refilter (); } void OnMyWindowDelete (object sender, DeleteEventArgs a) { Application.Quit (); a.RetVal = true; } } GLib.Object Gtk.TreeDragSource Gtk.TreeModel Method Gtk.TreeIter Sets the filter's iterator to point to the row that corresponds to . a a Method System.Void Emits for each row in the child model, which causes the filter to re-evaluate whether a row is visible or not. Added in GTK 2.4. Method Gtk.TreePath Converts to a path relative to this filter. a a or . points to a path in the child model. The returned path will point to the same row in the filtered model. If isn't a valid path on the child model, then is returned. Method Gtk.TreeIter Returns a new iterator that points to the row pointed to by . a a Method System.Void This function should almost never be called. This function clears the filter of any cached iterators that haven't been reffed with . This might be useful if the child model being filtered is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iterators will be invalid. Added in GTK 2.4. Method Gtk.TreePath Converts to a path on the child model of this filter. a a points to a location in this filter. The returned path will point to the same location in the model not being filtered. If does not point to a location in the child model, is returned. Method System.Void Decrements the reference count for the node at . a Method GLib.GType Gets the data type stored in the column at . a a Method System.Void Gets the values of child properties for the row pointed to by a a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Method System.Boolean Gets the next row to be filtered. a a Method System.String Generates a string representation of the path of . a a This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Method System.Boolean Sets to be the parent of . an object of type an object of type an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method System.Void Emits an event for . a Method System.Void Emits an event for . a a , points to the inserted row. Method Gtk.TreePath Gets the of . an object of type an object of type Method System.Boolean Sets to a valid iterator pointing to . an object of type an object of type an object of type Method System.Boolean an object of type To be added. Sets the TreeIter object pointed to by to point to the first child of this tree. an object of type , true if the iter has been set to the first child. Method System.Int32 Returns the number of children that has. an object of type an object of type As a special case, if is , then the number of toplevel nodes is returned. Method System.Void Lets the tree ref the node. an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching models know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its referenced state. Method System.Boolean Gets the at . an object of type an object of type an object of type Otherwise, is left invalid and is returned. Method System.Boolean Returns if has children, otherwise. an object of type an object of type Method System.Int32 Emits an event for . a a a Method System.Boolean an object of type To be added. an object of type Sets to be the child of the root node, using the given index. an object of type In this case, the nth root node is set. Method System.Boolean Gets the first iterator in the tree (the one at the path "0") and returns . an object of type an object of type Returns if the tree is empty. Method System.Void a a To be added. Gets the value stored in column of the row pointed to by . Method System.Void Emits an event for . a , points to the changed row a , points to the changed row This should be called by models after the child state of a node changes. Method System.Void Calls a function on each row of a tree. a Method System.Void Emits an event for . a , points to the changed row a , points to the changed row Method System.Void Emits the "rows_reordered" signal for this tree model. a pointing to the tree node whose children have been reordered a pointing to the tree node whose children have been reordered a , an array of integers containing the new indices of the children, i.e. the former child n is now at position new_order[n]. This should be called by models when their rows have been reordered. Method System.Void Emits the "row_changed" signal for this model. a a This should be called by models when their rows have been reordered. Method System.Void Emits the signal for this model. a This should be called by models when their rows have been reordered. Method System.Void Emits the signal for this model. a a This should be called by models when a row has been inserted. Method System.Void Emits the signal for this model. a a This should be called by models when a row's child has been toggled on or off. Method System.Boolean This method asks the source row for the dragged data to delete itself, because that data has been moved elsewhere. a , the path of the row that was dragged a This method returns FALSE if the deletion fails because path no longer exists, or for some other model-specific reason. Method System.Boolean Checks to see whether a given row can be used as a source for a drag-and-drop operation. a , the row being checked a , TRUE if the row is draggable. If the object does not implement this method, the row is assumed to be draggable. Method System.Boolean Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. a a object to fill with data A see cref="T:System.Boolean" />; true if data of the required type was provided. Method System.Boolean Sets the TreeIter object pointed to by to point to the first child of this tree. an object of type an object of type , true if the iter has been set to the first child. Method System.Int32 Returns the number of children that has. an object of type As a special case, if is , then the number of toplevel nodes is returned. Method System.Boolean Sets to be the child of the root node, using the given index. an object of type an object of type an object of type In this case, the nth root node is set. Method System.Void Sets the value of column in the row pointed to by to if the value is a boolean. a a a Method System.Void Sets the value of column in the row pointed to by to if the value is a . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is a . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is a . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is a . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is a . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is a . a a a Method System.Object Sets the value of column in the row pointed to by to if the value is a . a a a Constructor Basic constructor. a System.Obsolete Constructor Constructor. For internal use. a , pointer to the underlying C object. Constructor Constructor a , the model this object is to filter a , the node to use as the model's root node, pass null to use the entire child tree model. Property GLib.GType The of this object. a Property Gtk.TreePath The virtual root (relative to the child model) for this object. a GLib.Property("virtual-root") Property System.Int32 The column of the model where this filter should look for visibility information. a Property Gtk.TreeModel Gets the this filter is being applied to. a Property Gtk.TreeModelFlags Flag values for this tree model; see for possible values. a Property System.Int32 The number of columns in the model. a Event Gtk.RowsReorderedHandler Event that happens when rows in the model change order. GLib.Signal("rows_reordered") Event Gtk.RowChangedHandler Event that happens when a row in the model is changed. GLib.Signal("row_changed") Event Gtk.RowDeletedHandler Event that happens when a row is deleted. GLib.Signal("row_deleted") Event Gtk.RowInsertedHandler Event that happens when a row is inserted. GLib.Signal("row_inserted") Event Gtk.RowHasChildToggledHandler Event that happens when a row's child visibility is turned on or off. GLib.Signal("row_has_child_toggled") Property Gtk.TreeModel Child tree data model. a GLib.Property("child-model") Property Gtk.TreeModelFilterVisibleFunc The function used to determine whether or not a row should be visible a Method System.Void Sets a function to modify the display of the model. a an array of a With the and parameters, you give an array of column types for this model (which will be exposed to the parent model/view). The modify function, , will get called for each data access; the goal of the modify function is to return the data which should be displayed at the location specified using the parameters of the modify function. Method System.Void Path to the reordered parent node. Iter corresponding to the reordered parent node. An array of the old indices. Default handler for the RowsReordered event. gtk-sharp-2.12.10/doc/en/Gtk/Curve.xml0000644000175000001440000003013011345266756014210 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The widget allows the user to edit a curve covering a range of values. The widget allows the user to edit a curve covering a range of values. It is typically used to fine-tune color balances in graphics applications like the Gimp. The widget has 3 modes of operation - spline, linear and free. In spline mode the user places points on the curve which are automatically connected together into a smooth curve. In linear mode the user places points on the curve which are connected by straight lines. In free mode the user can draw the points of the curve freely, and they are not connected at all. NOTE: this widget is considered too specialized/little-used for GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution. (FIXME: will it remain in GTK#?) Gtk.DrawingArea Method System.Void Resets the curve to a straight line from the minimum x and y values to the maximum x and y values (i.e. from the bottom-left to the top-right corners). Resets the curve to a straight line from the minimum x and y values to the maximum x and y values (i.e. from the bottom-left to the top-right corners). The curve type is not changed. Method System.Void Sets the minimum and maximum x and y values of the curve. The minimum x value. The maximum x value. The minimum y value. The maximum y value. Sets the minimum and maximum x and y values of the curve. The curve is also reset with a call to . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor. Property System.Single Recomputes the entire curve using the given gamma value. A gamma value. A gamma value of 1 results in a straight line. Values greater than 1 result in a curve above the straight line. Values less than 1 result in a curve below the straight. Property System.Single The maximum y value of the gamma curve. A max y value. GLib.Property("max-y") Property System.Single The maximum x value of the gamma curve. A max x value. GLib.Property("max-x") Property System.Single The minimum y value of the gamma curve. A min y value. GLib.Property("min-y") Property System.Single The minimum x value of the gamma curve. A min x value. GLib.Property("min-x") Property Gtk.CurveType Sets the type of the curve. A . The curve will remain unchanged except when changing from a free curve to a linear or spline curve, in which case the curve will be changed as little as possible. GLib.Property("curve-type") Event System.EventHandler Emitted when the curve type has been changed. The curve type can be changed explicitly with a call to . It is also changed as a side-effect of calling or . GLib.Signal("curve_type_changed") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RcStyle.xml0000644000175000001440000001316011345266756014515 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object for handling a and representing it in the context of an RC file. This class is used most obviously in , where it's a parameter. GLib.Object Method Gtk.RcStyle Copies this RcStyle object to another new RcStyle object. an object, a duplicate of this obkect. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Public constructor The object returned has no fields set and a refcount of 1. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.String The name of the RC style. a Property System.Int32 The "xthickness" value of the RC style. a This value is used for various horizontal padding values in Gtk. Property System.Int32 The "ythickness" value of the RC style. a This value is used for various vertical padding values in Gtk. Property Pango.FontDescription The value parsed from the RC style's "font_name" property. a gtk-sharp-2.12.10/doc/en/Gtk/OptionMenu.xml0000644000175000001440000002044511345266756015231 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget used to choose from a list of valid choices. A is a widget that allows the user to choose from a list of valid choices. The displays the selected choice. When activated the displays a popup which allows the user to make a new choice. Using a is simple; build a , by calling , then appending s to it with . Set that menu on the with . Set the selected with ; connect to the event ; when the event occurs, check the new selected with . using System; using Gtk; class OptionMenuSample { OptionMenu opt; static void Main () { new OptionMenuSample (); } OptionMenuSample () { Application.Init (); Window win = new Window ("OptionMenuSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); // set up the OptionMenu opt = new OptionMenu (); opt.Changed += new EventHandler (OnOptionChanged); Menu m = new Menu (); MenuItem miOne = new MenuItem ("One"); m.Append (miOne); MenuItem miTwo = new MenuItem ("Two"); m.Append (miTwo); MenuItem miThree = new MenuItem ("Three"); m.Append (miThree); // add children widgets to their parents opt.Menu = m; win.Add (opt); // set the OptionMenu to a value opt.SetHistory (2); win.ShowAll (); Application.Run (); } void OnOptionChanged (object o, EventArgs args) { Console.WriteLine (opt.History); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Gtk.Button System.Obsolete Method System.Void Removes the menu from the . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new This is the default constructor for Property System.Int32 Retrieves the index of the currently selected . an object of type The s are numbered from top to bottom, starting with 0. Property Gtk.Widget The menu of options. an object of type GLib.Property("menu") Event System.EventHandler Emitted when the selection is changed. GLib.Signal("changed") Method System.Void Selects the menu item specified by making it the newly selected value for the . a Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/WidgetEventAfterArgs.xml0000644000175000001440000000456011345266756017160 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event The uses this method to access the details of an event. a gtk-sharp-2.12.10/doc/en/Gtk/LocationMode.xml0000644000175000001440000000220511345266756015503 00000000000000 gtk-sharp 2.12.0.0 System.Enum Field Gtk.LocationMode Filename Entry. Field Gtk.LocationMode Path Bar. Location Mode enumeration. This type is a semi-private type, only used in FileChooser implementations. gtk-sharp-2.12.10/doc/en/Gtk/FileChooserError.xml0000644000175000001440000000511011345266756016340 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. These identify the various errors that can occur while calling functions. System.Enum GLib.GType(typeof(Gtk.FileChooserErrorGType)) Field Gtk.FileChooserError Indicates that a file does not exist. Field Gtk.FileChooserError Indicates a malformed filename. Field Gtk.FileChooserError Indicates a file already exists. gtk-sharp-2.12.10/doc/en/Gtk/PrintJob.xml0000644000175000001440000002334011345266756014660 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor System.Obsolete Native type value. Obsolete Protected Constructor. Do not use. Replaced by which registers native types automatically. Subclasses should chain to the IntPtr constructor passing and call CreateNativeObject instead of using this constructor. This constructor is provided for backward compatibility if you have manually registered a native value for your subclass. Constructor Native object pointer. Internal constructor This is not typically used by C# code. Exposed primarily for use by language bindings to wrap native object instances. Constructor Job title. Printer target. Print settings. Page setup. Public constructor. Instantiates a print job. Property GLib.GType GType Property. The native value. Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property GLib.Property("page-setup") Gtk.PageSetup PageSetup property. A . Property GLib.Property("printer") Gtk.Printer Printer property. A . The printer associated with the job. Method System.Void Completion callback delegate. Sends a job to a printer. When sending is complete, is invoked. Method System.Boolean Print source file. SetSourceFile method. If , an error occurred. Causes the print job to send an existing source document to the printer. Typically the file is in Postscript format, but on some platforms PDF may also be supported. Property GLib.Property("settings") Gtk.PrintSettings Settings property. The for the job. Property Gtk.PrintStatus Status property. a . Indicates the current print status of the job. Event GLib.Signal("status-changed") System.EventHandler StatusChanged event. Reports changes in print status. Only raised if is . Use to obtain the current status. Property GLib.Property("title") System.String Title property. The job title string, or if untitled. Property GLib.Property("track-print-status") System.Boolean TrackPrintStatus property. If , the job raises events to report status. Indicates if the job will raise events to report print progress. Print job class. Represents a job sent to a printer. Direct use of this class is only necessary when using the non-portable API. The property accesses the cairo surface onto which the pages should be drawn. When finished drawing, call to send the job to the printer. gtk-sharp-2.12.10/doc/en/Gtk/RecentChooserDefault.xml0000644000175000001440000003614711345266756017212 00000000000000 gtk-sharp 2.12.0.0 Gtk.VBox Gtk.RecentChooser Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.RecentInfo To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Event GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. System.Obsolete Property GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Property GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TreeModelForeachFunc.xml0000644000175000001440000000247611345266756017124 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. A delegate class for functions that can be run on every row of a . This class specifies the standard interface for functions used as parameters to . To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/Orientation.xml0000644000175000001440000000316211345266756015424 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration storing the current orientation. System.Enum GLib.GType(typeof(Gtk.OrientationGType)) Field Gtk.Orientation The horizontal orientation. Field Gtk.Orientation The vertical orientation. gtk-sharp-2.12.10/doc/en/Gtk/DragDropArgs.xml0000644000175000001440000000567611345266756015464 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The time the data was dropped. A Property System.Int32 The Y coordinate where the data was dropped. A Property System.Int32 The X coordinate where the data was dropped. A Property Gdk.DragContext The context of this drag. a gtk-sharp-2.12.10/doc/en/Gtk/ReadyArgs.xml0000644000175000001440000000276411345266756015021 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintContext The Print context of the current operation. A . Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/OnUrlArgs.xml0000644000175000001440000000326711345266756015013 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The URL to act on. A gtk-sharp-2.12.10/doc/en/Gtk/MoveCurrentArgs.xml0000644000175000001440000000346411345266756016224 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.MenuDirectionType The direction the menu cursor moved for this event. A gtk-sharp-2.12.10/doc/en/Gtk/UIManagerItemType.xml0000644000175000001440000001226311345266756016424 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used by to determine what UI element to create. System.Enum System.Flags Field Gtk.UIManagerItemType Pick the type of the UI element according to context. Field Gtk.UIManagerItemType Create a menubar. Field Gtk.UIManagerItemType Create a menu. Field Gtk.UIManagerItemType Create a toolbar. Field Gtk.UIManagerItemType Insert a placeholder. Field Gtk.UIManagerItemType Create a popup menu. Field Gtk.UIManagerItemType Create a menuitem. Field Gtk.UIManagerItemType Create a toolitem. Field Gtk.UIManagerItemType Create a separator. Field Gtk.UIManagerItemType Install an accelerator. gtk-sharp-2.12.10/doc/en/Gtk/Object.xml0000644000175000001440000004245311345266756014345 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for the Gtk object hierarchy. Base object for the Gtk object hierarchy. The difference between Gtk.Object and GLib. is a historical one, and it matters little in Gtk#. GLib.InitiallyUnowned Method System.Void Request all holders to the object to release the reference. This method is used to notify objects that might hold a reference to this object to release the reference. This invokes the method and triggers the event. The object is only destroyed if all the references to the object are released, this is just a mechanism to request that references be released. Method System.Void Removes the floating reference from a , if it exists; otherwise does nothing. See the overview documentation at the top of the page. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.IntPtr Helper property to associate information with an object. This is not very useful with the Gtk# binding as it is with the C binding. GLib.Property("user-data") System.Obsolete Event System.EventHandler Raised to signal that all references to this object should be removed. This event is triggered if someone has invoked the 's method. It is used to inform that all references to the object must be discarded at this point. GLib.Signal("destroy") Property System.IntPtr Diagnostic method to print the raw object and its reference count as debug information. a , the internal C data underlying this object. Method System.Void Invoked to request that references to the object be released. This method is invoked when someone has called the 's method. Any references to the object held should be released at this point. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . Constructor Internal. Internal constructor. Property System.Boolean Determines if the object reference is floating. a An object is floating until it is added to a container which claims ownership of the floating reference. Method System.Void Deprecated. Do not use in new code. a a a a Method System.Void Deprecated. Do not use. Method Gtk.Object Deprecated. Do not use. a Method System.Void Deprecated. Do not use. a a a Method System.IntPtr Deprecated. Do not use. a a Method System.Void Deprecated. Do not use. a Method System.Void Deprecated. Do not use. a Method System.Void Deprecated. Do not use. a a Method System.Void Deprecated. Do not use. a Method System.Void Deprecated. Do not use. a Method System.Void Deprecated. Do not use. a Method System.Void Deprecated. Do not use. a a a Method System.Void Deprecated. Do not use. a a Method System.IntPtr Deprecated. Do not use. a a Method System.Void Deprecated. Do not use. a gtk-sharp-2.12.10/doc/en/Gtk/CellLayoutImplementor.xml0000644000175000001440000001255511345266756017430 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.CellLayoutAdapter)) Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property Gtk.CellRenderer[] To be added. To be added. To be added. CellLayout implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/Menu.xml0000644000175000001440000005475211345266756014050 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A is a that implements a drop down menu. A is a that implements a drop down menu consisting of a list of objects which can be navigated and activated by the user to perform application functions. It is commonly dropped down by activating a in a or in another , it can also be popped up by activating a . Other composite widgets such as the can pop up a as well. using System; using Gtk; public class MenuApp { public static void Main (string[] args) { Application.Init(); Window win = new Window ("Menu Sample App"); win.DeleteEvent += new DeleteEventHandler (delete_cb); win.SetDefaultSize (200, 150); VBox box = new VBox (false, 2); MenuBar mb = new MenuBar (); Menu file_menu = new Menu (); MenuItem exit_item = new MenuItem("Exit"); exit_item.Activated += new EventHandler (exit_cb); file_menu.Append (exit_item); MenuItem file_item = new MenuItem("File"); file_item.Submenu = file_menu; mb.Append (file_item); box.PackStart(mb, false, false, 0); Button btn = new Button ("Yep, that's a menu"); box.PackStart(btn, true, true, 0); win.Add (box); win.ShowAll (); Application.Run (); } static void delete_cb (object o, DeleteEventArgs args) { Application.Quit (); } static void exit_cb (object o, EventArgs args) { Application.Quit (); } } Gtk.MenuShell System.Reflection.DefaultMember("Item") Method System.Void Detaches the menu from the widget to which it had been attached. This function will call the detacher, provided when the function was called. Method System.Void Removes the menu from the screen. Method System.Void Attaches the menu to the widget and provides a detacher. The that the menu will be attached to. The user supplied callback function that will be called when the menu calls . Attaches the menu to the widget and provides a callback function that will be invoked when the menu calls during its destruction. Method System.Void Displays a menu and makes it available for selection. This is a convenience overload that calls with some default arguments. Method System.Void Displays a menu and makes it available for selection. The menu shell containing the triggering menu item, or . The menu item whose activation triggered the popup, or . A user supplied function used to position the menu, or . The mouse button which was pressed to initiate the event. The time at which the activation event occurred. Applications can use this function to display context-sensitive menus, and will typically supply for the , , and parameters. The default menu positioning function will position the menu at the current mouse cursor position. The parameter should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, button should be zero(0). The parameter should be the time stamp of the event that initiated the popup. If such an event is not available, use instead. using System; using Gtk; class PopupSample { Window win; Menu menu; static void Main (string[] args) { new PopupSample (args); } PopupSample (string[] args) { Application.Init (); win = new Window ("Menu.Popup sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); menu = new Menu (); MenuItem hello = new MenuItem ("Hello"); hello.Activated += new EventHandler (OnHelloActivated); hello.Show (); menu.Append (hello); Label label = new Label ("Right Click me"); EventBox eventbox = new EventBox (); eventbox.ButtonPressEvent += new ButtonPressEventHandler (OnEventBoxPressed); eventbox.Add (label); win.Add (eventbox); win.ShowAll (); Application.Run (); } private void OnEventBoxPressed (object o, ButtonPressEventArgs args) { if (args.Event.button == 3) menu.Popup (null, null, null, 3, Gtk.Global.CurrentEventTime); } private void OnHelloActivated (object o, EventArgs args) { Console.WriteLine ("Hello Activated"); } private void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Method System.Void Obsolete. Replaced by . The menu shell containing the triggering menu item, or . The menu item whose activation triggered the popup, or . A user supplied function used to position the menu, or . Ignored. The mouse button which was pressed to initiate the event. The time at which the activation event occurred. Method System.Void Repositions the menu according to its position function. Method System.Void Moves a to a new position within the . The to move. The new position to place . Positions are numbered from 0 to n-1. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor A constructor. Property Gtk.Widget Returns the selected menu item from the menu. The that was last selected in the menu. If a selection has not yet been made, the first menu item is selected. This is used by the . Property System.String Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. void The main purpose of this function is to spare the programmer the inconvenience of having to call on each menu item that should support runtime user changable accelerators. Instead, by just calling on their parent, each menu item of this menu, that contains a label describing its purpose, automatically gets an accel path assigned. Property Gtk.Widget Returns the that the menu is attached to. The that the menu is attached to. Property System.Boolean Sets or obtains the tearoff state of the menu. Returns if the menu is currently torn off. A menu is normally displayed as drop down menu which persists as long as the menu is active. It can also be displayed as a tearoff menu which persists until it is closed or reattached. GLib.Property("tearoff-state") Property Gtk.AccelGroup Sets or obtains the which holds global accelerators for the menu. The associated with the menu. This accelerator group needs to also be added to all windows that this menu is being used in with , in order for those windows to support all the accelerators contained in this group. Property System.String Sets or obtains the title for the menu. The title of the menu, or if the menu has no title set on it. This string is owned by the widget and should not be modified or freed. The title is displayed when the menu is shown as a tearoff menu. Property System.String The title of this menu when it is torn off an object of type GLib.Property("tearoff-title") Property Gdk.Screen The physical screen this menu is placed on. a Method System.Void Selects the specified menu item within the menu. a This is used by the and should not be used by anyone else. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Int32 The number of the monitor on which the menu should be popped up. a Method System.Void Adds a new to a (table) menu. a , should be a a a a a The number of 'cells' that an item will occupy is specified by , , and . These each represent the leftmost, rightmost, uppermost and lower column and row numbers of the table. (Columns and rows are indexed from zero). Note that this function is not related to . Method GLib.List To be added a a To be added gtk-sharp-2.12.10/doc/en/Gtk/ButtonPressEventArgs.xml0000644000175000001440000000345011345266756017240 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventButton The button that was pressed. a gtk-sharp-2.12.10/doc/en/Gtk/MetricType.xml0000644000175000001440000000417511345266756015223 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used to determine which unit of measurement is currently being used. This enumeration is used by , , and . System.Enum GLib.GType(typeof(Gtk.MetricTypeGType)) Field Gtk.MetricType The pixel unit of measurement. Field Gtk.MetricType The inch unit of measurement. Field Gtk.MetricType The centimeter unit of measurement. gtk-sharp-2.12.10/doc/en/Gtk/ScreenChangedHandler.xml0000644000175000001440000000276611345266756017131 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ScreenChangedHandler instance to the event. The methods referenced by the ScreenChangedHandler instance are invoked whenever the event is raised, until the ScreenChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/WrapMode.xml0000644000175000001440000000563511345266756014656 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by TextTag. This enumeration is used by to describe the type of line wrapping. System.Enum GLib.GType(typeof(Gtk.WrapModeGType)) Field Gtk.WrapMode Do not wrap lines, just make the text area wider. Do not wrap lines, just make the text area wider. Field Gtk.WrapMode Wrap text, breaking lines anywhere the cursor can appear. Note this is between characters, usually, if you want to be technical, between graphemes, see . Field Gtk.WrapMode Wrap text, breaking lines in between words. Wrap text, breaking lines in between words. Field Gtk.WrapMode wrap text, breaking lines in between words, or if that is not enough, also between graphemes. gtk-sharp-2.12.10/doc/en/Gtk/RulerMetric.xml0000644000175000001440000000775411345266756015401 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Information about measurement units on objects. System.ValueType Field Gtk.RulerMetric An empty/default RulerMetric. Method Gtk.RulerMetric Default constructor. A , pointer to the underlying C object. A For internal use only. Field System.String The name of the units this ruler measures: one of Pixels, Inches, or Centimeters. Field System.String The abbreviations for this metric's units: "Pi" for pixels, "In" for inches, "Cn" for centimeters. "Cn" isn't a typo; that's how it's defined in Gtk+. See bugzilla.gnome.org bug 151944. Field System.Double The conversion factor between pixels and the given unit for the ruler. Field System.Double[] An array of possible scales for the ruler, dependent on the units chosen. Field System.Int32[] How many sub-units to break up each ruler unit into. gtk-sharp-2.12.10/doc/en/Gtk/PrintSettings.xml0000644000175000001440000005667211345266756015764 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method Gtk.PrintSettings To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property Gtk.PrintDuplex To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. To be added. Method Gtk.PageRange To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property Gtk.PageOrientation To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property Gtk.PageSet To be added. To be added. To be added. Property Gtk.PaperSize To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property Gtk.PrintPages To be added. To be added. To be added. Property Gtk.PrintQuality To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Double To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DestroyEventArgs.xml0000644000175000001440000000344011345266756016400 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event The event that triggered this window destruction. a gtk-sharp-2.12.10/doc/en/Gtk/SignalFunc.xml0000644000175000001440000000136611345266756015166 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Deprecated. Do not use. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeModelImplementor.xml0000644000175000001440000002167311345266756017234 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.TreeModelAdapter)) Property Gtk.TreeModelFlags To be added. To be added. To be added. Method GLib.GType To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Gtk.TreePath To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. TreeModel implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/ButtonsType.xml0000644000175000001440000000623311345266756015433 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by the Gtk.MessageDialog class. Gtk.ButtonsType defines prebuilt sets of buttons for a . If none of these choices are appropriate, simply use then call . System.Enum GLib.GType(typeof(Gtk.ButtonsTypeGType)) Field Gtk.ButtonsType Show no buttons at all Field Gtk.ButtonsType Show an OK button. Field Gtk.ButtonsType Show a Close button. Field Gtk.ButtonsType Show a Cancel button. Field Gtk.ButtonsType Show a set of Yes or No buttons. Field Gtk.ButtonsType Show a set of OK or Cancel buttons. gtk-sharp-2.12.10/doc/en/Gtk/TextPendingScroll.xml0000644000175000001440000000244011345266756016537 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Do not use. Do not use GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gtk/TagAddedArgs.xml0000644000175000001440000000336711345266756015412 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data for when a tag is added to text. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TextTag The tag that changed. A gtk-sharp-2.12.10/doc/en/Gtk/PostActivateArgs.xml0000644000175000001440000000444311345266756016357 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Action The action that was activated. a gtk-sharp-2.12.10/doc/en/Gtk/ConfigureEventArgs.xml0000644000175000001440000000356011345266756016673 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventConfigure The GDK configure event related to this event; information about the window size and position that changed. A gtk-sharp-2.12.10/doc/en/Gtk/OwnerChangeHandler.xml0000644000175000001440000000376711345266756016642 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OwnerChangeHandler instance to the event. The methods referenced by the OwnerChangeHandler instance are invoked whenever the event is raised, until the OwnerChangeHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/UnselectAllArgs.xml0000644000175000001440000000253211345266756016161 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/HPaned.xml0000644000175000001440000000606311345266756014273 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A container for two children, separated horizontally by a splitter bar. s are added to this container using the and methods. See the documentation of for more information. Gtk.Paned Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new container, split horizontally. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/ProximityOutEventArgs.xml0000644000175000001440000000351411345266756017445 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventProximity The proximity event that triggered this signal. A gtk-sharp-2.12.10/doc/en/Gtk/MoveSelectedArgs.xml0000644000175000001440000000227411345266756016330 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor To be added. To be added. Property System.Int32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/SelectCursorParentArgs.xml0000644000175000001440000000262211345266756017535 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/Assistant.xml0000644000175000001440000004133111345266756015102 00000000000000 gtk-sharp 2.12.0.0 Gtk.Window System.Reflection.DefaultMember("Item") Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Event GLib.Signal("apply") System.EventHandler To be added. To be added. Event GLib.Signal("cancel") System.EventHandler To be added. To be added. Event GLib.Signal("close") System.EventHandler To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property Gtk.AssistantPageFunc To be added. To be added. To be added. Method Gtk.Widget To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method Gdk.Pixbuf To be added. To be added. To be added. To be added. Method Gdk.Pixbuf To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gtk.AssistantPageType To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("prepare") Gtk.PrepareHandler To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/InputDialog.xml0000644000175000001440000001771011345266756015354 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Configure devices for the XInput extension. NOTE: this is considered too specialized/little-used for Gtk#, and will in the future be moved to some other package. If your application needs this , feel free to use it, as the does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the , and it will eventually move out of the Gtk# distribution. displays a which allows the user to configure XInput extension devices. For each device, they can control the mode of the device (disabled, screen-relative, or window-relative), the mapping of axes to coordinates, and the mapping of the devices macro keys to key press events. contains two s to which the application can connect; one for closing the , and one for saving the changes. No actions are bound to these by default. The changes that the user makes take effect immediately. Gtk.Dialog Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates an instance of Creates an instance of Event Gtk.DisableDeviceHandler Emitted when the user changes the mode of a device from a GDK_MODE_SCREEN or GDK_MODE_WINDOW to GDK_MODE_ENABLED. This signal is emitted when the user changes the mode of a device from a GDK_MODE_SCREEN or GDK_MODE_WINDOW to GDK_MODE_ENABLED. GLib.Signal("disable_device") Event Gtk.EnableDeviceHandler Emitted when the user changes the mode of a device from GDK_MODE_DISABLED to a GDK_MODE_SCREEN or GDK_MODE_WINDOW. This signal is emitted when the user changes the mode of a device from GDK_MODE_DISABLED to a GDK_MODE_SCREEN or GDK_MODE_WINDOW. GLib.Signal("enable_device") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.Button The save button in this dialog. a Property Gtk.Button The "close window" button in this dialog. a gtk-sharp-2.12.10/doc/en/Gtk/NotebookPage.xml0000644000175000001440000000266511345266756015515 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class has been deprecated. This class has been deprecated. The PageNum function that used to exist here is now GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gtk/ToolbarStyle.xml0000644000175000001440000000572511345266756015563 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by Toolbar This enumeration is used by to customize it's appearance. Note that setting the toolbar overrides the user's preferences for the default toolbar style. System.Enum GLib.GType(typeof(Gtk.ToolbarStyleGType)) Field Gtk.ToolbarStyle Buttons display only icons in the toolbar. Buttons display only icons in the toolbar. Field Gtk.ToolbarStyle Buttons display only text labels in the toolbar. Buttons display only text labels in the toolbar. Field Gtk.ToolbarStyle Buttons display text and icons in the toolbar. Buttons display text and icons in the toolbar. Field Gtk.ToolbarStyle Buttons display icons and text alongside each other, rather than vertically stacked. Buttons display icons and text alongside each other, rather than vertically stacked. gtk-sharp-2.12.10/doc/en/Gtk/PrinterOptionType.xml0000644000175000001440000000733311345266756016613 00000000000000 gtk-sharp 2.12.0.0 System.Enum Field Gtk.PrinterOptionType Alternative option. Field Gtk.PrinterOptionType A true/false option. Field Gtk.PrinterOptionType File save option. Field Gtk.PrinterOptionType A list option. Field Gtk.PrinterOptionType String option. Field Gtk.PrinterOptionType To be added. Field Gtk.PrinterOptionType To be added. Field Gtk.PrinterOptionType To be added. Field Gtk.PrinterOptionType To be added. Field Gtk.PrinterOptionType To be added. PrinterOptionType enumeration. gtk-sharp-2.12.10/doc/en/Gtk/RecentFilterFunc.xml0000644000175000001440000000162011345266756016330 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Boolean Filtering information. Recent Filter callback delegate. if the file should be displayed. Provides custom filtering. Added via . gtk-sharp-2.12.10/doc/en/Gtk/PreviewType.xml0000644000175000001440000000412511345266756015414 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Internal Enum for printing. Do not use. System.Enum GLib.GType(typeof(Gtk.PreviewTypeGType)) Field Gtk.PreviewType Internal. Do not use. Field Gtk.PreviewType Internal. Do not use. gtk-sharp-2.12.10/doc/en/Gtk/Drag.xml0000644000175000001440000011133611345266756014011 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Methods for controlling drag and drop handling. Gtk# has a rich set of methods for doing inter-process communication via the drag-and-drop metaphor. Gtk# can do drag-and-drop (DND) via multiple protocols. The currently supported protocols are the Xdnd and Motif protocols. As well as the methods listed here, applications may need to use some facilities provided for . Also, the Drag and Drop API makes use of events in the class. System.Object Method System.Void Clears information about a drop destinantion set with . A . The will no longer receive notification of drags. Method Gtk.Widget Determines the source for a drag. A (destination side) drag context. If the drag is occurring within a single application, a pointer to the source . Otherwise, . Method System.Void Sets this as a proxy for drops to another window. A . The window to which to foward drag events. The drag protocol which the accepts (You can use to determine this). If , send the same coordinates to the destination, because it is an embedded subwindow. Method System.Void Informs the drag sourcre that the drop is finished, and that the data of the drag will no longer be repaired. The drag context. A flag indicating whether the drop was successful. A flag indicating whether the source should delete the original data (this should be for a move). The timestamp from the event. Method System.Void Sets the target types that this can accept from drag and drop. A that's a drag destination. List of droppable targets, or for none. The must first be made into a drag destination with . Method Gdk.Atom Looks for a match between ->targets and the , returning the first matching target, otherwise returning GDK_NONE. Drag destination . Drag context. List of droppable targets, or to use . First target that the source offers and the dest can accept. or GDK_NONE. should usually be the return value from but some widgets may have different valid targets for different parts of the ; in that case, they will have to implement a drag_motion handler that passes the correct target list to this method. Method System.Boolean Checks to see if a mouse drag starting at (, ) and ending at (, ) has passed the GTK# drag threshold, and this should trigger the beginning of a drag-and-drog operation. A . X coordinate of a start of drag. Y coordinate of a start of drag. Current X coordinate. Current Y coordinate. if the drag threshold has been passed. Method System.Void Sets the icon that will be used for drags from a particular source to a stock icon. A . The ID of the stock icon to use. Method System.Void Removes a highlight set by from a . A . Method System.Void Draws a highlight around a . A to highlight. This will attach handlers to and , so the highlight will continue to be displayed until is called. Method System.Void Sets the icon that will be used for drags from a particular from a . A . The for the drag icon. GTK# retains a reference for and will release it when it is no longer needed. Method Gdk.DragContext Initates a drag on the source side. The source . The targets (data formats) in which the source can provide the data. A bitmask of the allowed drag actions for this drag. The button the user clicked to start the drag. The event that triggered the start of the drag. The context fot this drag. The method only needs to be used when the application is starting drags itself, and is not needed when is used. Method System.Void Sets the icon for a given drag from a stock ID. The context of the drag (this must be called with a context for the source side of a drag). The ID of the stock icon to use for the drag. The X offset within the icon of the hotspot. The Y offset within the icon of the hotspot. Method System.Void Obtains the data associated with a drag. The that will receive the event. The drag context. The target (form of the data) to retrieve. A timestamp for retrieving the data. This will generally be the time received in a or event. When the data is received or the retrieval fails, GTK# will emit a event. Failure of the retrieval is indicated by the length field of the signal parameter being negative. However, when is called implicitely because the was set, then the will not receive notification of failed drops. Method System.Void Sets as the icon for a given drag. The context for a drag (this must be called with a context for the source side of a drag). The colormap of the icon. The image data for the icon. The transparency mask for the icon. The X offset with of the hotspot. The Y offset with of the hotspot. GTK# retains references for the arguments, and will release them when they are no longer needed. In general, will be more convenient to use. Method System.Void Sets as the icon for a given drag. The context for a drag (this must be called with a context for the source side of a drag). The to use as the drag icon. The X offset within of the hotspot. The Y offset within of the hotspot. Method Gtk.TargetList Returns the list of targets this can accept from drag-and-drop. A . The , or if none. Method System.Void Undoes the effects of . A . Method System.Void Sets the icon that will be used for drags from a particular from a pixmap/mask. A . The colormap of the icon. The image data for the icon. The transparency mask for an image. GTK# retains references for the arguments, and will release them when they are no longer needed. Use instead. Method System.Void Changes the icon for a to a given . The context for a drag (this must be called with a context for the source side of a drag. A toplevel window to use as an icon. The X offset within of the hotspot. The Y offset within of the hotspot. GTK# will not destroy the icon, so if you don't want it to persist, you should connect to the event and destroy it yourself. Constructor A constructor. Method System.Void Sets the icon for a particular drag to the default icon. The context of the drag (this must be called with a context for the source side of a drag). Property Gdk.DragContext Obsolete. Replaced by System.Obsolete("Replaced by SetIconDefault(ctx)") Method System.Void Register a drop site and possibly add default behaviors. a a , which types of default drag behavior to use a , table of targets that can be accepted a , default behaviors Method System.Void Sets up a so that Gtk# will start a drag operation when the user clicks and drags on the . a The bitmask of buttons that can start the drag. The table of targets that the drag will support. the bitmask of possible actions for a drag from this . The must have a window. Method Gtk.TargetList Gets the list of targets this widget can provide for drag-and-drop. a a , or if none. Method System.Void Changes the target types that this widget offers for drag-and-drop. The widget must first be made into a drag source with gtk_drag_source_set(). a a Method System.Void Obsolete. a a a a a Old functionality: changes the default drag icon. GTK+ retains references for the arguments, and will release them when they are no longer needed. This function is obsolete. The default icon should now be changed via the stock system by changing the stock pixbuf for #GTK_STOCK_DND. Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void the source widget. the name of an Icon in the Icon theme. Sets a source icon by name from an Icon theme. Method System.Void The drag context. name of an Icon in the Icon theme. the x offset within the icon of the hotspot. the y offset within the icon of the hotspot. Sets the icon for a drag using a name from an Icon theme. Method System.Boolean a to test. Tests if a widget is set to raise drag motion events. if , the widget raises . Method System.Void the to configure. turns on motion events if . Sets the generic drag motion behavior for a widget. This method can be used to make a widget raise events despite its target settings and flags, allowing a widget to perform generic actions regardless of the source widget's target settings. gtk-sharp-2.12.10/doc/en/Gtk/PageOrientation.xml0000644000175000001440000000360411345266756016222 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PageOrientationGType)) Field Gtk.PageOrientation Landscape Orientation. Field Gtk.PageOrientation Reverse Portrait Orientation. Field Gtk.PageOrientation Reverse Landscape Orientation. Field Gtk.PageOrientation Portrait Orientation. Page Orientation enumeration. gtk-sharp-2.12.10/doc/en/Gtk/InsertAtCursorArgs.xml0000644000175000001440000000406411345266756016677 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The text that was inserted. A gtk-sharp-2.12.10/doc/en/Gtk/HierarchyChangedArgs.xml0000644000175000001440000000355411345266756017143 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The top-level widget which was previously the parent of the widget that raised the event. A gtk-sharp-2.12.10/doc/en/Gtk/ReadyEvent.xml0000644000175000001440000000162511345266756015201 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Delegate specifying a signature for functions that run whenever is invoked. See . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/AssistantPageFunc.xml0000644000175000001440000000134711345266756016516 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Int32 To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/HTMLStreamTypesFunc.xml0000644000175000001440000000170611345266756016714 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. A delegate for use with . To be added. System.Delegate System.String gtk-sharp-2.12.10/doc/en/Gtk/SelectionClearEventArgs.xml0000644000175000001440000000354411345266756017650 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventSelection The event that triggered the clearing of the selection. A gtk-sharp-2.12.10/doc/en/Gtk/DragDropHandler.xml0000644000175000001440000000264511345266756016136 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragDropHandler instance to the event. The methods referenced by the DragDropHandler instance are invoked whenever the event is raised, until the DragDropHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CursorOnMatchHandler.xml0000644000175000001440000000145611345266756017162 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DestroyNotify.xml0000644000175000001440000000174711345266756015762 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A delegate run by some callbacks before object destruction. Used in , , and anywhere else that a run-before-object-destruction routine is needed in a callback. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/LinkClickedHandler.xml0000644000175000001440000000270311345266756016603 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the LinkClickedHandler instance to the event. The methods referenced by the LinkClickedHandler instance are invoked whenever the event is raised, until the LinkClickedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ScrollAdjustmentsSetArgs.xml0000644000175000001440000000556711345266756020115 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Adjustment The vertical adjustment for the scrolling event. a Property Gtk.Adjustment The horizontal adjustment for the scrolling event. a gtk-sharp-2.12.10/doc/en/Gtk/RadioAction.xml0000644000175000001440000001631611345266756015332 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An action controlled by a radio button. Gtk.ToggleAction Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use. a , pointer to internal C data. Constructor Public constructor for general use. a , a unique name for the action a , the label to display on menu items and buttons a , a tooltip for this action a , the stock icon to use. a , the value that should return if this action is activated. Property GLib.GType The of this object. a Property GLib.SList The group this radio action belongs to. a GLib.Property("group") Property System.Int32 The value returned if this action is activated. a GLib.Property("value") Property System.Int32 This action's current value. a Should be equivalent to if this action is selected. GLib.Property("current-value") Event Gtk.ChangedHandler This event is raised whenever this radio button is toggled. GLib.Signal("changed") gtk-sharp-2.12.10/doc/en/Gtk/TagChangedArgs.xml0000644000175000001440000000434611345266756015740 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data for changing a tag. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether or not the size of the tag changed with this event. A , true if the size of the tag changed. Property Gtk.TextTag The tag that changed. A gtk-sharp-2.12.10/doc/en/Gtk/Key.xml0000644000175000001440000000463211345266756013664 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object for keys that are independent of keyboard focus--- global hotkeys, which execute functions. System.Object Method System.Void Remove a snooper with id a Method System.UInt32 Install a snooper function. a a , the snooper handler id. Code that uses this method should hold onto the return value, as it's necessary to disable the key. Constructor Default constructor. gtk-sharp-2.12.10/doc/en/Gtk/UnmapEventArgs.xml0000644000175000001440000000347511345266756016037 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event The uses this method to access the details of an event. a gtk-sharp-2.12.10/doc/en/Gtk/CursorMoveHandler.xml0000644000175000001440000000267011345266756016536 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CursorMoveHandler instance to the event. The methods referenced by the CursorMoveHandler instance are invoked whenever the event is raised, until the CursorMoveHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeIter.xml0000644000175000001440000001214711345266756014657 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The is the primary structure for accessing a tree row. Models are expected to put a unique integer in the field, and put model-specific data in the three fields. System.ValueType Field Gtk.TreeIter Makes a new TreeIter with empty/default values. Method Gtk.TreeIter Creates a new object. an object of type , a pointer to the underlying C object. an object of type This is usually called indirectly by other methods. Not for use by application developers. Method Gtk.TreeIter Copy the TreeIter by value. the copy of the Property GLib.GType GType Property. a Returns the native value for . Field System.Int32 A unique stamp to catch invalid iterators. Method GLib.Value To be added. To be added. To be added. To be added. Method Gtk.TreeIter To be added. To be added. To be added. To be added. Property System.IntPtr UserData property. Pointer value representing iter contents. Useful to implementors to set and retrieve content values for the iterator. Not generally useful for users. gtk-sharp-2.12.10/doc/en/Gtk/PreActivateArgs.xml0000644000175000001440000000444511345266756016162 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Action The action that's about to be activated. a gtk-sharp-2.12.10/doc/en/Gtk/OnCommandArgs.xml0000644000175000001440000000343511345266756015624 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.HTMLCommandType The kind of command that was issued to the HTML widget. A gtk-sharp-2.12.10/doc/en/Gtk/FocusTabArgs.xml0000644000175000001440000000335011345266756015453 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.NotebookTab The type of tab to focus on. A gtk-sharp-2.12.10/doc/en/Gtk/ConfigureEventHandler.xml0000644000175000001440000000274711345266756017362 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ConfigureEventHandler instance to the event. The methods referenced by the ConfigureEventHandler instance are invoked whenever the event is raised, until the ConfigureEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CycleHandleFocusArgs.xml0000644000175000001440000000346011345266756017122 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether or not to reverse the cycle direction. a gtk-sharp-2.12.10/doc/en/Gtk/Init.xml0000644000175000001440000000523611345266756014040 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object that gets invoked at the beginning of an application but before the application main loop starts. It's used largely for application setup--- for example, reading RC files. System.Object Method System.Void Registers a function to be called when the mainloop is started. a Constructor Default constructor Method System.Boolean Initializes Gtk# for operation, probes window system. The command line arguments passed in. Changed if any arguments were handled. True if the toolkit initialized correctly, false otherwise. Aside from the arguments, this function behaves in the same way as . By returning whether or not the toolkit initialized correctly, it allows the application to fall back to a non-GUI interface, should the developer be so inclined to write one. gtk-sharp-2.12.10/doc/en/Gtk/PrintBackend.xml0000644000175000001440000002775011345266756015506 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method Gtk.Printer To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method GLib.List To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("printer-added") Gtk.PrinterAddedHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Event GLib.Signal("printer-list-changed") System.EventHandler To be added. To be added. Event GLib.Signal("printer-list-done") System.EventHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. Event GLib.Signal("printer-removed") Gtk.PrinterRemovedHandler To be added. To be added. Event GLib.Signal("printer-status-changed") Gtk.PrinterStatusChangedHandler To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/MoveHandler.xml0000644000175000001440000000256611345266756015344 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveHandler instance to the event. The methods referenced by the MoveHandler instance are invoked whenever the event is raised, until the MoveHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SetBaseArgs.xml0000644000175000001440000000334011345266756015272 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The base URL for this HTML widget. A . gtk-sharp-2.12.10/doc/en/Gtk/AccelEditedHandler.xml0000644000175000001440000000241711345266756016557 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AccelEditedHandler instance to the event. The methods referenced by the AccelEditedHandler instance are invoked whenever the event is raised, until the AccelEditedHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/PopupMenuArgs.xml0000644000175000001440000000251011345266756015672 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/Fixed.xml0000644000175000001440000001730311345266756014172 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A container which allows you to position widgets at fixed coordinates The widget is a container which can place child widgets at fixed positions and with fixed sizes, given in pixels. performs no automatic layout management. For most applications, you should not use this container! It keeps you from having to learn about the other Gtk# containers, but it results in broken applications. With , the following things will result in truncated text, overlapping widgets, and other display bugs: Themes, which may change widget sizes.Fonts other than the one you used to write the app will of course change the size of widgets containing text; keep in mind that users may use a larger font because of difficulty reading the default, or they may be using Windows or the framebuffer port of GTK+, where different fonts are available.Translation of text into other languages changes its size. Also, display of non-English text will use a different font in many cases. In addition, the fixed widget can not properly be mirrored in right-to-left languages such as Hebrew and Arabic. i.e. normally Gtk# will flip the interface to put labels to the right of the thing they label, but it can not do that with . So your application will not be usable in right-to-left languages. Finally, fixed positioning makes it kind of annoying to add/remove GUI elements, since you have to reposition all the other elements. This is a long-term maintenance problem for your application. If you know none of these things are an issue for your application, and prefer the simplicity of , by all means use the widget. But you should be aware of the tradeoffs. Gtk.Container System.Reflection.DefaultMember("Item") Method System.Void Moves a child of a container to the given position. an object of type an object of type an object of type Moves a child of a container to the given position. Method System.Void Adds a widget to a container at the given position. an object of type an object of type an object of type Adds a widget to a container at the given position. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new object. Creates a new object. Property System.Boolean Determines if has a seperate an object of type Gets whether the has its own . Sets whether a widget is created with a separate or not. (By default, it will be created without a seperate ). This function must be called while the is not realized, for instance, immediately after the window is created. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/Calendar.xml0000644000175000001440000006031511345266756014645 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Display a Calendar and/or allow the user to select a date. With a Calendar widget, dates are presented to the user one month at a time. Additional information and decorations can be added to the Calendar by using the enumeration with the property. Days can be highlighted on the Calendar with or . The following example shows a method that creates a simple Calendar displaying day names, headings and week numbers. // Create a calendar with some simple display options public Calendar CreateCalendar () { Calendar cal = new Calendar (); cal.DisplayOptions = CalendarDisplayOptions.ShowHeading | CalendarDisplayOptions.ShowDayNames | CalendarDisplayOptions.ShowWeekNumbers; cal.DaySelected += new EventHandler(HandleDaySelected); return cal; } The following example shows a typical event handler that outputs the date when one is selected. // Typical event handler for capturing the selected date void HandleDaySelected (object obj, EventArgs args) { Calendar activatedCalendar = (Calendar) obj; Console.WriteLine (activatedCalendar.GetDate ().ToString ("yyyy/MM/dd")); } Gtk.Widget Method System.Boolean Removes a visual marker from the specified . A day number from 1 to 31. Visual markers are added to the Calendar with . Method System.Boolean Adds a visual marker to the specified . A day number from 1 to 31. Method System.Void Select a specified day on the displayed month. A day number from 1 to 31. A value of 0 for the will unselect the currently selected day. Method System.Void Stops the Calendar from visually updating. If used before a large number of graphical updates, (such as calls to ), this method may prevent flicker. Once a batch of updates has taken place, call to render them. Method System.Void Get the selected date. A variable to place the chosen year in. A variable to place the chosen month in. A variable to place the chosen day in. NOTE: That month number is ZERO based, (0-11), whereas the day is one based, (1-31). An alternative way to get the date is with the method. Method System.Void Removes the effects of calling . This draws all graphical updates to the Calendar that have happened since a . Method System.Void Removes all visual marks that have been added to dates. Method System.Boolean Shifts the Calendar to display the specified month. A zero-based month number. The year the month is in. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Calendar displaying the current month and having the current day selected Event System.EventHandler Raised when the current year of the Calendar is increased. This may happen when the user explicitly advances the year, or when advancing from December to January. GLib.Signal("next_year") Event System.EventHandler Raised when the user "double clicks" on a day. GLib.Signal("day_selected_double_click") Event System.EventHandler Raised when the current year of the Calendar is decreased. This may happen when the user explicitly advances the year, or when clicking 'back' from January to December. GLib.Signal("prev_year") Event System.EventHandler Raised when the current month changes. GLib.Signal("month_changed") Event System.EventHandler Raised when the month of the Calendar moves to the next one. GLib.Signal("next_month") Event System.EventHandler Raised when a day is selected on the Calendar. GLib.Signal("day_selected") Event System.EventHandler Raised when the Calendar moves to the previous month. GLib.Signal("prev_month") Method System.DateTime Get the selected date. A DateTime object containing the selected day, month and year. Selected date information can also be retrieved with the method. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.DateTime a DateTime that contains the current day for the Calendar widget a Setting the date fires Calendar changes events (Day, Month/Year) Property System.Int32 The selected day as a number between 1 and 31, or 0 to unselect the currently selected day. a GLib.Property("day") Property System.Boolean If , week numbers are displayed a GLib.Property("show-week-numbers") Property System.Boolean If , day names are displayed. a GLib.Property("show-day-names") Property System.Boolean If , a heading is displayed a GLib.Property("show-heading") Property System.Int32 The selected month as a number between 0 and 11. a GLib.Property("month") Property System.Int32 The selected year. a GLib.Property("year") Property System.Boolean If , the selected month can not be changed. a GLib.Property("no-month-change") Property Gtk.CalendarDisplayOptions Set the display options for this Calendar. One or more values from , combined using a bit-wise OR. This method allows fine control over which parts of the Calendar, such as day names, are displayed. The describe the choices in more detail. gtk-sharp-2.12.10/doc/en/Gtk/TrayIcon.xml0000644000175000001440000000563311345266756014666 00000000000000 gtk-sharp 2.12.0.0 Gtk.Plug Constructor System.Obsolete Native type value. Obsolete.. Do not use. Constructor Native instance pointer. Pseudo-Internal constructor. For use by language bindings. Constructor Protected constructor. Do not use this type. See instead. Property GLib.Property("orientation") Gtk.Orientation Orientation of icon. a . Property GLib.GType Native GType value. a . For use by language bindings. Private X11-only TrayIcon type. Use instead for a platform independent status icon. gtk-sharp-2.12.10/doc/en/Gtk/ShadowType.xml0000644000175000001440000000532011345266756015216 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to change the appearance of an outline typically provided by a . System.Enum GLib.GType(typeof(Gtk.ShadowTypeGType)) Field Gtk.ShadowType No outline. Field Gtk.ShadowType The outline is bevelled inwards. Field Gtk.ShadowType The outline is bevelled outwards like a button. Field Gtk.ShadowType The outline itself is an inward bevel, but the frame is an outward bevel. Field Gtk.ShadowType The outline itself is an outward bevel, but the frame is an inward bevel. gtk-sharp-2.12.10/doc/en/Gtk/RowCollapsedArgs.xml0000644000175000001440000000424511345266756016347 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreePath The path of the row that was expanded. A Property Gtk.TreeIter The row that was collapsed. A gtk-sharp-2.12.10/doc/en/Gtk/SurroundingDeletedArgs.xml0000644000175000001440000000434311345266756017556 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The number of characters that were deleted. A . Property System.Int32 The offset the characters were deleted near. A gtk-sharp-2.12.10/doc/en/Gtk/WindowKeysForeachFunc.xml0000644000175000001440000000247411345266756017345 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. Delegate class. TODO: There are no references to this class elsewhere in the doc; is it obsolete? System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ItemFactoryCallback1.xml0000644000175000001440000000226311345266756017056 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate function to be invoked by . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ResizeMode.xml0000644000175000001440000000444011345266756015177 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by Container This enumeration is used by to decide how resize behaves. System.Enum GLib.GType(typeof(Gtk.ResizeModeGType)) Field Gtk.ResizeMode Resize request is sent to the parent. Resize request is sent to the parent. Field Gtk.ResizeMode Queue resizes are sent to the widget. Queue resizes are sent to the widget. Field Gtk.ResizeMode Perform the resizes now. Perform the resizes now. gtk-sharp-2.12.10/doc/en/Gtk/Timeout.xml0000644000175000001440000001115011345266756014553 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Registers a method to be called periodically. System.Object System.Obsolete("Replaced by GLib.Timeout") Method System.UInt32 Registers a to be called periodically. number of miliseconds between function calls delegate that will be called until it return false a The will be called repeatedly after milliseconds until it returns at which point the is destroyed and will not be called again. The first execution of the callback will only occur after the has elapsed. In other words, it won't be executed right away after calling . Method System.UInt32 Registers a to be called periodically. a a a a a a The will be called repeatedly after milliseconds until it returns at which point the is destroyed and will not be called again. Method System.Void Removes the given timeout destroying all information about it. a Constructor Internal Constructor This should not be called directly by typical applications. gtk-sharp-2.12.10/doc/en/Gtk/NodeSelection.xml0000644000175000001440000002350311345266756015665 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Accessing and manipulates the selected rows of a . System.Object Method System.Boolean Tests if a specified node is currently selected. a a Method System.Boolean Tests if a specified path is currently selected. a a Method System.Void Selects all the nodes in the view. Method System.Void Selects a specified node in the view. a Method System.Void Selects a node by path. a Method System.Void Selects all the nodes in a specified range. a a Method System.Void Unselects all the nodes in the view. Method System.Void Unselects a specified node. a Method System.Void Unselects a specified node by path. a Method System.Void Unselects all the nodes in a specified range. a a Method System.Void Unselects all the nodes in a specified range. a a Property Gtk.SelectionMode Selection mode currently is use. a Property Gtk.NodeView The view associated with this selection object. a Property Gtk.ITreeNode[] The currently selected nodes. a Event System.EventHandler The currently selected row(s) changed. Property Gtk.ITreeNode The Multiple selection mode is in use. The selected node The currently selected node This property does not make sense in the Multiple selection mode. Therefore it will throw an exception when used under this mode. gtk-sharp-2.12.10/doc/en/Gtk/SelectCursorParentHandler.xml0000644000175000001440000000305711345266756020221 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectCursorParentHandler instance to the event. The methods referenced by the SelectCursorParentHandler instance are invoked whenever the event is raised, until the SelectCursorParentHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ReorderTabArgs.xml0000644000175000001440000000361511345266756016002 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.DirectionType To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/TreeView.xml0000644000175000001440000033364111345266756014673 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget for displaying both trees and lists. Widget that displays any object that implements the interface. To create a tree or list in GTK#, you need to use the interface, in conjunction with the widget. This widget is designed around a Model/View/Controller design and consists of four major parts: , the tree view widget , the view column. The cell renderers ( and others)., the model interface. The View is composed of the first three, while the last is the Model. One of the prime benefits of the MVC design is that multiple views can be created of a single model. For example, a model mapping the file system could be created for a file manager. Many views could be created to display various parts of the file system, but only one copy need be kept in memory. The purpose of the cell renderers is to provide extensibility to the widget and to allow multiple ways of rendering the same type of data. For example, consider how to render a boolean variable. Should you render it as a string of "True" or "False", "On" or "Off", or should you render it as a checkbox? A simple list: using System; using Gtk; public class TreeViewSample { public static void Main (string [] args) { Application.Init (); TreeStore store = new TreeStore (typeof (string), typeof (string)); for (int i=0; i < 5; i++) { TreeIter iter = store.AppendValues ("Demo " + i, "Data " + i); } Window win = new Window ("TreeView List Demo"); win.DeleteEvent += new DeleteEventHandler (delete_cb); win.SetDefaultSize (400,250); ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); TreeView tv = new TreeView (); tv.Model = store; tv.HeadersVisible = true; tv.AppendColumn ("Demo", new CellRendererText (), "text", 0); tv.AppendColumn ("Data", new CellRendererText (), "text", 1); sw.Add (tv); sw.Show (); win.ShowAll (); Application.Run (); } private static void delete_cb (System.Object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } A more advanced example: using System; using System.Reflection; using Gtk; public class TreeViewDemo { private static TreeStore store = null; private static Dialog dialog = null; private static Label dialog_label = null; public TreeViewDemo () { Application.Init (); PopulateStore (); Window win = new Window ("TreeView demo"); win.DeleteEvent += new DeleteEventHandler (DeleteCB); win.SetDefaultSize (640,480); ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); TreeView tv = new TreeView (store); tv.HeadersVisible = true; tv.AppendColumn ("Name", new CellRendererText (), "text", 0); tv.AppendColumn ("Type", new CellRendererText (), "text", 1); sw.Add (tv); dialog.Destroy (); dialog = null; win.ShowAll (); Application.Run (); } private static void ProcessType (TreeIter parent, System.Type t) { foreach (MemberInfo mi in t.GetMembers ()) { store.AppendValues (parent, mi.Name, mi.ToString ()); } } private static void ProcessAssembly (TreeIter parent, Assembly asm) { string asm_name = asm.GetName ().Name; foreach (System.Type t in asm.GetTypes ()) { UpdateDialog ("Loading from {0}:\n{1}", asm_name, t.ToString ()); TreeIter iter = store.AppendValues (parent, t.Name, t.ToString ()); ProcessType (iter, t); } } private static void PopulateStore () { if (store != null) return; store = new TreeStore (typeof (string), typeof (string)); foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies ()) { UpdateDialog ("Loading {0}", asm.GetName ().Name); TreeIter iter = store.AppendValues (asm.GetName ().Name, "Assembly"); ProcessAssembly (iter, asm); } } public static void Main (string[] args) { new TreeViewDemo (); } private static void DeleteCB (System.Object o, DeleteEventArgs args) { Application.Quit (); } private static void UpdateDialog (string format, params object[] args) { string text = String.Format (format, args); if (dialog == null) { dialog = new Dialog (); dialog.Title = "Loading data from assemblies..."; dialog.AddButton (Stock.Cancel, 1); dialog.Response += new ResponseHandler (ResponseCB); dialog.SetDefaultSize (480, 100); VBox vbox = dialog.VBox; HBox hbox = new HBox (false, 4); vbox.PackStart (hbox, true, true, 0); Gtk.Image icon = new Gtk.Image (Stock.DialogInfo, IconSize.Dialog); hbox.PackStart (icon, false, false, 0); dialog_label = new Label (text); hbox.PackStart (dialog_label, false, false, 0); dialog.ShowAll (); } else { dialog_label.Text = text; while (Application.EventsPending ()) Application.RunIteration (); } } private static void ResponseCB (object obj, ResponseArgs args) { Application.Quit (); System.Environment.Exit (0); } } For a example how to handle selection events, or to determine the currently selected row, see . Gtk.Container Method System.Int32 Removes from . an object of type an object of type Method System.Void Sets a user function for determining where a column may be dropped when dragged. an object of type ignored ignored This method is obsolete. New code should use the property. Property Gtk.TreeViewColumnDropFunc The function for determining where a column may be dropped when dragged. a This function is called on every column pair in turn at the beginning of a column drag to determine where a drop can take place. If the property is set to be , then reverts to the default behavior of allowing all columns to be dropped everywhere. Method System.Void Moves the alignments of the to the position specified by and . an object of type an object of type an object of type an object of type an object of type If is , then no horizontal scrolling occurs. Likewise, if is no vertical scrolling occurs. At a minimum, one of or need to be non-. determines where the row is placed, and determines where the column is placed. Both are expected to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means center. If is , then the alignment arguments are ignored, and the tree does the minimum amount of work to scroll the cell onto the screen. This means that the cell will be scrolled to the edge closest to its current position. If the cell is currently visible on the screen, nothing is done. This function only works if the model is set, and is a valid row on the model. If the model changes before the is realized, the centered path will be modified to reflect this change. Method Gdk.Pixmap This image is used for a drag icon. an object of type an object of type Creates a representation of the row at . Method System.Void Recursively collapses all visible and expanded nodes. Method System.Void Moves to be after to . an object of type an object of type If is , then is placed in the first position. Method System.Void Sets the current keyboard focus to be at , and selects it. an object of type an object of type an object of type This is useful when you want to focus the attention of the user on a particular row. If is not , then focus is given to the column specified by it. Additionally, if is specified, and is , then editing should be started in the specified cell. This function is often followed by in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized. Property Gdk.Rectangle Returns the currently-visible region of the tree view, in tree view coordinates. a Convert to widget coordinates with . Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree. Method System.Void Obsolete (and non-functional). Replaced by . an object of type Method System.Int32 This inserts the into the at . an object of type an object of type an object of type If is -1, then the is inserted at the end. Method System.Void Activates the cell determined by and . an object of type an object of type Method System.Boolean Returns if the node pointed to by is expanded. an object of type an object of type Method System.Void This function should almost never be used. It is meant for private use by ATK for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. an object of type ignored ignored It is meant for private use by Atk for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. Property Gtk.TreeDestroyCountFunc This property should almost never be used. It is meant for private use by ATK for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. a It is meant for private use by Atk for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. Method System.Void Sets the compare function for the interactive search capabilities. The to invoke. ignored ignored This method is obsolete. New code should use the property. Property Gtk.TreeViewSearchEqualFunc The compare function for the interactive search capabilities. a Method System.Void Disables the TreeView as a drag-and-drop destination. To be added. Method System.Int32 Appends to the list of columns. an object of type an object of type Method System.Void Sets the row that is highlighted for drag-and-drop feedback. an object of type , the path of the row to highlight, or null. an object of type , specifying whether to drop before, after, or into the row. Method System.Void Disables the TreeView as a drag source for automatic drag and drop actions. Method System.Boolean Collapses a row (hides its child rows, if they exist). an object of type an object of type Method System.Void Recursively expands all nodes. Method System.Void Calls the given function on all expanded rows. a to execute on every expanded row. Method System.Void Scrolls the such that the top-left corner of the visible area is , , where and are specified in tree window coordinates. an object of type an object of type The must be realized before this function is called. If it is not, you probably want to be using . Method Gtk.TreeViewColumn Gets the at the given position in the . an object of type an object of type Method System.Boolean Opens the row so its children are visible. an object of type an object of type an object of type Method System.Void Resizes all columns to their optimal width. Only works after the has been realized. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new object. This is the default constructor for Constructor Creates a new object. an object of type In this constructor the is set from . Property Gtk.TreeModel The model for the TreeView. an object of type GLib.Property("model") Property Gtk.TreeSelection Gets the associated with the TreeView. an object of type Property Gdk.Window The window that this TreeView renders to. an object of type This property is primarily used to confirm that events on the TreeView are executed within the correct window. Property System.Boolean Whether to display alternating, shaded rows in the . an object of type Setting to sets a hint to the theme engine to draw rows in alternating colors. This property tells GTK# that the user interface for your application requires users to read across tree rows and associate cells with one another. By default, GTK# will then render the tree with alternating row colors. Do not use it just because you prefer the appearance of the ruled tree; that's a question for the theme. Some themes will draw tree rows in alternating colors even when rules are turned off, and users who prefer that appearance all the time can choose those themes. You should set this property only as a semantic hint to the theme engine that your tree makes alternating colors useful from a functional standpoint (since it has lots of columns, generally). GLib.Property("rules-hint") Property System.Boolean View allows user to search through columns interactively. an object of type GLib.Property("enable-search") Property System.Boolean Show the column header buttons. an object of type GLib.Property("headers-visible") Property Gtk.TreeViewColumn Set the column for the expander column. an object of type GLib.Property("expander-column") Property System.Boolean Allows to reorder rows in the view (this enables the internal drag and drop of TreeView rows). an object of type GLib.Property("reorderable") Property Gtk.Adjustment Horizontal Adjustment for the widget. an object of type GLib.Property("hadjustment") Property System.Boolean Column headers respond to click events. a GLib.Property("headers-clickable") Property Gtk.Adjustment Vertical Adjustment for the widget. an object of type GLib.Property("vadjustment") Property System.Int32 Model column to search through when searching through code. an object of type GLib.Property("search-column") Event Gtk.ScrollAdjustmentsSetHandler Raised whenever the scrollbar adjustment units are set. GLib.Signal("set_scroll_adjustments") Event Gtk.RowExpandedHandler Raised whenever a row of the TreeView is expanded. GLib.Signal("row-expanded") Event Gtk.MoveCursorHandler Raised whenever the cursor is moved on this TreeView. GLib.Signal("move_cursor") Event Gtk.TestExpandRowHandler Raised when the widget wants to find out whether a row can be expanded or not. GLib.Signal("test-expand-row") Event Gtk.SelectCursorRowHandler Raised when the row the cursor is on is selected. GLib.Signal("select_cursor_row") Event Gtk.RowCollapsedHandler Raised whenever a row is collapsed. GLib.Signal("row-collapsed") Event System.EventHandler Raised when the columns of this tree change. GLib.Signal("columns-changed") Event Gtk.ExpandCollapseCursorRowHandler Raised when the row where the cursor is is expanded or collapsed. GLib.Signal("expand_collapse_cursor_row") Event Gtk.RowActivatedHandler Raised when a row is activated; see . This event is usually raised when the user doubleclicks a row. using System; using Gtk; class Selection { static void Main () { Application.Init (); Window win = new Window ("Row activated sample"); win.DeleteEvent += OnWinDelete; TreeView tv = new TreeView (); tv.AppendColumn ("Items", new CellRendererText (), "text", 0); ListStore store = new ListStore (typeof (string)); store.AppendValues ("item 1"); store.AppendValues ("item 2"); tv.Model = store; tv.RowActivated += OnRowActivate; win.Add (tv); win.ShowAll (); Application.Run (); } static void OnRowActivate (object o, RowActivatedArgs args) { Console.WriteLine("row {0} was doubleclicked", args.Path); } static void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } GLib.Signal("row_activated") Event Gtk.TestCollapseRowHandler Raised when the system wants to know whether a particular row can be collapsed. GLib.Signal("test-collapse-row") Event System.EventHandler Raised when the cursor changes (rows). using Gtk; using System; class MainClass { public static int Main (string[] args) { Application.Init (); Window win = new Window("TreeView Cursor Changed Example"); win.DeleteEvent += OnWindowDelete; TreeStore store = new TreeStore(typeof(string), typeof(string)); for (int i = 0; i < 5; i++) store.AppendValues("demo " + i, "data " + i); TreeView tv = new TreeView(); tv.HeadersVisible = true; tv.Selection.Mode = SelectionMode.Single; tv.AppendColumn("Demo", new CellRendererText(), "text", 0); tv.AppendColumn("Data", new CellRendererText(), "text", 1); tv.CursorChanged += OnCursorChanged; tv.Model = store; win.Add(tv); win.ShowAll(); Application.Run (); return 0; } static void OnWindowDelete(object obj, DeleteEventArgs args) { Application.Quit(); } static void OnCursorChanged(object obj, EventArgs e) { TreeSelection selection = (obj as TreeView).Selection; TreeModel model; TreeIter iter; // The iter will point to the selected row if(selection.GetSelected(out model, out iter)) Console.WriteLine("Path of selected row = {0}", model.GetPath(iter)); } } GLib.Signal("cursor-changed") Method System.Boolean Finds the path at the point (x, y), relative to widget coordinates. an object of type an object of type an object of type an object of type It is primarily for things like popup menus. If is non-, then it will be filled with the at that point. If is non-, then it will be filled with the at that point. This function is only meaningful if TreeView is realized. Method System.Void Converts widget coordinates to coordinates for the tree window (the full scrollable area of the tree). an object of type an object of type an object of type an object of type Event Gtk.ToggleCursorRowHandler Raised when the cursor toggles a row. (FIXME: explain in more detail.) GLib.Signal("toggle_cursor_row") Event Gtk.StartInteractiveSearchHandler Raised when the user begins a search of the tree. GLib.Signal("start_interactive_search") Event Gtk.SelectAllHandler Raised whenever all rows of the TreeView are selected. GLib.Signal("select_all") Event Gtk.SelectCursorParentHandler Raised when the parent row of the current row is selected. (FIXME: explain in more detail. GLib.Signal("select_cursor_parent") Event Gtk.UnselectAllHandler Raised whenever all rows of the TreeView are specifically deselected. GLib.Signal("unselect_all") Method Gtk.TreeViewColumn System.ParamArray Adds a with a specific column title and attributes. column title cell renderer attributes The appended This function is used to append a new subclass with specific attributes to the . The following code sample will append a new to an existing and use column 0 from the as the text to render. CellRendererText text = new CellRendererText (); tree_view.AppendColumn ("title", text, "text", 0); Method Gtk.TreeViewColumn Adds a new to the TreeView and returns it. a a a a This method actually creates the column, rather than relying on a column object to be passed in. There's an alternate invokation form if you'd like to pass in an existing column object. Method System.Void Sets the current keyboard focus to be on the given . This is useful for getting the user's attention to a particular row. a a a a If focus_column is not null, then focus is given to the column specified by it. If focus_column and focus_cell are not null, and focus_column contains 2 or more editable or activatable cells, then focus is given to the cell specified by focus_cell. Additionally, if focus_column is specified, and start_editing is null, then editing should be started in the specified cell. This function is often followed by(tree_view_obj) in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized. Method System.Void Expands the treeview so the Path specified is visible. to expand to. Method System.Void Gets information about the row that is highlighted for feedback. a to put the highlighted path into. a to put the drop position into. Method System.Boolean Determines the destination row for a given XY position. This is used by drag-and-drop operations to determine the target rows for the action. a , the X coordinate a , the Y coordinate a to put the resulting destination row into. a to indicate where to put the dragged object, relative to the returned by this method. a Method System.Void Converts tree coordinates to widget coordinates. Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree. a , the X coordinate of the tree location a , the Y coordinate of the tree location a , the X coordinate for the widget a , the Y coordinate for the widget Constructor TreeView constructor a Creates a with as its . System.Obsolete("Use NodeView with NodeStores") Method System.Void Allows the TreeView to be used as a source for drag-and-drop actions. a , the mask of the allowed buttons for starting a drag a [], a table of supported targets for dragging to a , what should be done with the dragged data. Method System.Void Turns this TreeView object into a destination for automatic drag-and-drop. a [], a table of targets this TreeView will support. a , a bitmap of possible actions for a drag to this target Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.TreeViewColumn[] A list of all the columns currently in this TreeView. a Method Gdk.Rectangle Fills the bounding rectangle in tree window coordinates for the cell at the row specified by and the column specified by . a a a If is , or points to a path not currently displayed, the y and height fields of the rectangle will be filled with 0. If is , the x and width fields will be filled with 0. The sum of all cell rects does not cover the entire tree; there are extra pixels in between rows, for example. This function is only valid if is realized. Method Gdk.Rectangle Fills the bounding rectangle in tree window coordinates for the cell at the row specified by and the column specified by . a a a If is , or points to a node not found in the tree, the y and height fields of the rectangle will be filled with 0. If is , the x and width fields will be filled with 0. The returned rectangle is equivalent to the passed to . These background areas tile to cover the entire tree window (except for the area used for header buttons). Contrast with the , returned by , which returns only the cell itself, excluding surrounding borders and the tree expander area. Method System.Boolean Finds the path at the point (x, y), relative to widget coordinates. a , an x coordinate a , a y coordinate a to fill with the path at the (x,y) coordinate. a to fill with the column at the (x,y) coordinate. a to fill with the x coordinate relative to the cell background. a to fill with the y coordinate relative to the cell background. a , true if a row exists at (x,y). x and y must come from an event on the tree_view only where the event's window is the same as the window this TreeView renders to. It is primarily for things like popup menus. If path is non-null, then it will be filled with the GtkTreePath at that point. This path should be freed with . If column is non-NULL, then it will be filled with the column at that point. cell_x and cell_y return the coordinates relative to the cell background (i.e. the background_area passed to ). This function is only meaningful if the TreeView object is realized. Method System.Boolean Finds the path at the point (x, y), relative to widget coordinates. a , an x coordinate a , a y coordinate a to fill with the path at the (x,y) coordinate. a to fill with the column at the (x,y) coordinate. a , true if a row exists at (x,y) This is an alternate invocation form which doesn't return coordinates for the position relative to a cell's background. Property System.Boolean Whether or not to assume all rows are the same height. a This is an optimization; set to for fastest performance. GLib.Property("fixed-height-mode") Method System.Int32 Convenience function that inserts a new column into the tree view with the given cell renderer and a to set cell renderer attributes (normally using data from the model). a , the position of the new column (-1 to append, positive numbers to insert) a , the column title a , the renderer object a , a function for presenting the data The number of columns in the tree view after the insertion. See also , . If the tree view has enabled, then must have its property set to be . Method System.Int32 System.ParamArray Convenience function that inserts a new column into the tree view with the given cell renderer and attribute bindings for the cell renderer. a , the position of the new column (-1 to append, positive numbers to insert) a , the column title a , the renderer object an array of attribute bindings The number of columns in the tree view after the insertion. Method Gtk.TreeViewColumn Adds a new to the TreeView and returns it. a a a a This method actually creates the column, rather than relying on a column object to be passed in. There's an alternate invokation form if you'd like to pass in an existing column object. Property System.Boolean To be added a To be added GLib.Property("hover-expand") Property System.Boolean Whether a row should be highlighted when the cursor is over it. a To be added GLib.Property("hover-selection") Property Gtk.TreeViewRowSeparatorFunc Callback function to indicate whether or not a given row of the tree view should be rendered as a separator. a Method System.Void returns a to the selected row, or if there is no current selection. returns the focused , or . Gets the currently selected row and focused column. Method System.Boolean returns a to the first visible row. returns a to the last visible row. Gets the visible rows of the view. if the start and end paths were set. Note: there may be invisible paths between the start and end paths returned. Property GLib.Property("show-expanders") System.Boolean Indicates if expanders are shown. defaults to . Property GLib.Property("level-indentation") System.Int32 Extra indentation amount for each level of the hierarchy. defaults to 0. Property GLib.Property("enable-grid-lines") Gtk.TreeViewGridLines Indicates which grid lines are drawn. a set of flags. Property GLib.Property("rubber-banding") System.Boolean Indicates if Rubberbanding multi-selection is supported. if , rubberbanding is active. Property GLib.Property("enable-tree-lines") System.Boolean Indicates if connecting lines are drawn for expanders. if , connecting lines are drawn. Property Gtk.Entry Identifies a custom search entry widget for the view. if , the default popup entry is used. This is useful for providing a fixed position search entry to the interface. Property Gtk.TreeViewSearchPositionFunc Delegate to use when positioning the search dialog for the view. a search position delegate. Property Gdk.Color This property contains the background color that is used for all even rows. a Property Gdk.Color This property contains the background color that is used for all odd rows. a The odd row color is only used when the property is set to true. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property GLib.Property("tooltip-column") System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/FontSelectionDialog.xml0000644000175000001440000001655411345266756017036 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A FontSelectionDialog is a widget that opens a window requesting the user to select a font The FontSelectionDialog widget displays a window listing the available fonts, styles and sizes, allowing the user to select a font. It effectively places a widget in a . Gtk.Dialog Method System.Boolean Sets the name of the font that is selected in this widget. The name of a system font to select. if was a valid font, otherwise. If this property is used to alter the widget's font name to a font that could not be found, the widget will retain its original font selection. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Create a new FontSelectionDialog A title that will appear in the window's title bar. Property System.String The name of the font that is selected in this widget The name of the currently selected font. Property System.String The text used to display a preview of the selected font. The text currently displaying the selected font. This property determines the exact string that is displayed in the 'preview area' of the FontSelectionDialog. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gdk.Font The font that was selected using the dialog. a System.Obsolete Property Gtk.Button The dialog's "Apply" button. a Property Gtk.Button The dialog's "Cancel" button. a Property Gtk.Button The dialog's "OK" button. a gtk-sharp-2.12.10/doc/en/Gtk/LeaveNotifyEventArgs.xml0000644000175000001440000000351711345266756017201 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventCrossing The underlying Gdk event that triggered the LeaveNotifyEvent. A gtk-sharp-2.12.10/doc/en/Gtk/PageSet.xml0000644000175000001440000000265511345266756014467 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PageSetGType)) Field Gtk.PageSet To be added. Field Gtk.PageSet To be added. Field Gtk.PageSet To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TagAppliedHandler.xml0000644000175000001440000000267711345266756016453 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TagAppliedHandler instance to the event. The methods referenced by the TagAppliedHandler instance are invoked whenever the event is raised, until the TagAppliedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SetBaseTargetHandler.xml0000644000175000001440000000273111345266756017125 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SetBaseTargetHandler instance to the event. The methods referenced by the SetBaseTargetHandler instance are invoked whenever the event is raised, until the SetBaseTargetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TextEventArgs.xml0000644000175000001440000000521511345266756015675 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property GLib.Object The object that triggered this event. a Property Gdk.Event The Gdk event related to the TextEvent. a Property Gtk.TextIter The location in the text where the event happened. a gtk-sharp-2.12.10/doc/en/Gtk/TreeViewColumnSizing.xml0000644000175000001440000000433011345266756017223 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The sizing method the column uses to determine its width. Please note that Autosize is inefficient for large views and can make columns appear choppy. System.Enum GLib.GType(typeof(Gtk.TreeViewColumnSizingGType)) Field Gtk.TreeViewColumnSizing Columns only get bigger in reaction to changes in the model. Field Gtk.TreeViewColumnSizing Columns resize to be the optimal size every time the model changes. Field Gtk.TreeViewColumnSizing Columns are a fixed numbers of pixels wide. gtk-sharp-2.12.10/doc/en/Gtk/SelectionNotifyEventHandler.xml0000644000175000001440000000305111345266756020544 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionNotifyEventHandler instance to the event. The methods referenced by the SelectionNotifyEventHandler instance are invoked whenever the event is raised, until the SelectionNotifyEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PackType.xml0000644000175000001440000000323311345266756014650 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents the packing location of children. (See: , , and ). System.Enum GLib.GType(typeof(Gtk.PackTypeGType)) Field Gtk.PackType The child is packed into the start of the box. Field Gtk.PackType The child is packed into the end of the box gtk-sharp-2.12.10/doc/en/Gtk/RowExpandedArgs.xml0000644000175000001440000000423411345266756016167 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreePath The path of the row that was expanded. A Property Gtk.TreeIter The row that was expanded. A gtk-sharp-2.12.10/doc/en/Gtk/FileFilter.xml0000644000175000001440000002267711345266756015172 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class sets up a filter to include or exclude particular kinds of files; useful in file selection dialogs. Simple example showing FileFilter within the FileChooserDialog example: public class MainWindow: Gtk.Window { protected virtual void OnBtnLoadFileClicked(object sender, System.EventArgs e) { Gtk.FileChooserDialog fc= new Gtk.FileChooserDialog("Choose the file to open", this, FileChooserAction.Open, Gtk.Stock.Cancel,ResponseType.Cancel, Gtk.Stock.Open,ResponseType.Accept); //filter begins here... FileFilter filter = new FileFilter(); filter.Name = "PNG and JPEG images"; filter.AddMimeType("image/png"); filter.AddPattern("*.png"); filter.AddMimeType("image/jpeg"); filter.AddPattern("*.jpg"); fc.AddFilter(filter); //second filter filter = new FileFilter(); filter.Name = "PNG Images (*.png)"; filter.AddMimeType("image/png"); filter.AddPattern("*.png"); fc.AddFilter(filter); //end filter code if (fc.Run() == (int)ResponseType.Accept) { System.Console.WriteLine } //Don't forget to call Destroy() or the FileChooserDialog window won't get closed. fc.Destroy(); } Gtk.Object Method System.Void Adds a rule allowing a given MIME type to a filter. a Method System.Void Adds a rule allowing a shell style glob to a filter. a Method System.Boolean Tests whether a file should be displayed according to this filter. a a , TRUE if the file should be displayed. The structure should include the fields returned from . This function will not typically be used by applications; it is intended principally for use in the implementation of . Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use only. a Constructor Creates a new file filter with no rules attached to it. A newly-created filter doesn't accept any files, so is not particularly useful until you add rules with , , or . Property GLib.GType The of this object. a Property System.String The human-readable name of the filter. a This is the string that will be displayed in the file selector user interface if there is a selectable list of filters. Property Gtk.FileFilterFlags Gets the fields that need to be filled in for the structure passed to . a , flags that list the needed fields when calling . This function will not typically be used by applications; it is intended principally for use in the implementation of . Method System.Void Adds a rule to a filter that allows files based on a custom callback function. a a The bitfield which is passed in provides information about what sorts of information that the filter function needs; this allows GTK+ to avoid retrieving expensive information when it isn't needed by the filter. Method System.Void To be added To be added gtk-sharp-2.12.10/doc/en/Gtk/ChildAttachedArgs.xml0000644000175000001440000000341311345266756016426 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The child widget that was attached. A gtk-sharp-2.12.10/doc/en/Gtk/ScreenChangedArgs.xml0000644000175000001440000000347111345266756016442 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Screen The screen where the widget was formerly located. a gtk-sharp-2.12.10/doc/en/Gtk/TargetEntry.xml0000644000175000001440000000746111345266756015407 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A potential target for a drag-and-drop operation; one row in a . System.ValueType Field Gtk.TargetEntry An empty/default TargetEntry. Method Gtk.TargetEntry Constructor. Not for use by developers. A , pointer to the underlying C object. A Constructor Constructor. a a a Field System.String The target type. Some common types include "STRING", "GTK_TREE_MODEL_ROW", "TEXT", "UTF8_STRING"; this is not an exhaustive list, and any given application may define its own targets. Field Gtk.TargetFlags The flags that constrain what can be dragged to this target. Field System.UInt32 A unique identifier for a target. gtk-sharp-2.12.10/doc/en/Gtk/Viewport.xml0000644000175000001440000002374711345266756014763 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A that allows a scrollable view of its child when added to a . To scroll correctly, a ordinarily requires explicit support from the that will be scrolled. However, a Viewport adds scrolling capabilities to an arbitrary child widget. For example, you can add a collection of widgets to a container. By simply placing the in a Viewport, you need only add the Viewport to a to visually scroll the contents of your Table. The "model" of this widget consists of horizontal and vertical objects. These do not need to be explicitly set to use the Viewport. Packing a child widget as demonstrated in the example, below, is all that is required. The appearance of the Viewport can be adjusted using the property. The following example creates a in a Viewport. When placed in a small , the widgets can be scrolled. namespace GtkSamples { using Gtk; using System; public class ViewportApp { public static ScrolledWindow CreateViewport() { ScrolledWindow scroller = new ScrolledWindow(); Viewport viewer = new Viewport(); Table widgets = new Table(1, 2, false); widgets.Attach(new Entry("This is example Entry 1"), 0, 1, 0, 1); widgets.Attach(new Entry("This is example Entry 2"), 1, 2, 0, 1); // Place the widgets in a Viewport, and the Viewport in a ScrolledWindow viewer.Add(widgets); scroller.Add(viewer); return scroller; } public static int Main (string[] args) { Application.Init (); Window win = new Window ("Viewport Tester"); win.SetDefaultSize (180, 50); win.DeleteEvent += new DeleteEventHandler (Window_Delete); ScrolledWindow scroller = CreateViewport(); win.Add (scroller); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } Gtk.Bin Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Viewport with the specified horizontal and vertical Adjustments. An to model horizontal viewing. An to model vertical viewing. Property Gtk.Adjustment Manage the horizontal model. The current state of the horizontal model GLib.Property("hadjustment") Property Gtk.Adjustment Manage the vertical model. The current state of the vertical model. GLib.Property("vadjustment") Property Gtk.ShadowType Manage the shadow style surrounding the Viewport contents. The current shadow style surrounding the child widget. GLib.Property("shadow-type") Event Gtk.ScrollAdjustmentsSetHandler This event is raised when the or properties are set. GLib.Signal("set_scroll_adjustments") Constructor The main way to create a Viewport. Horizontal and vertical objects are automatically created. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/SelectAllHandler.xml0000644000175000001440000000271411345266756016301 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectAllHandler instance to the event. The methods referenced by the SelectAllHandler instance are invoked whenever the event is raised, until the SelectAllHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SetFocusArgs.xml0000644000175000001440000000334511345266756015504 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The widget where the focus is being set. A gtk-sharp-2.12.10/doc/en/Gtk/SizeGroup.xml0000644000175000001440000002102311345266756015054 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Group widgets so they request the same size. A SizeGroup provides a mechanism for grouping a number of widgets together so they all request the same amount of space. This is typically useful when you want a column of widgets to have the same size, but you can't use a widget. Its use is effectively demonstrated by the Human Interface Guidelines of the Gnome project. In detail, the size requested for each widget in a SizeGroup is the maximum of the sizes that would have been requested for each widget in the SizeGroup without a SizeGroup. The of the size group determines whether this applies to the horizontal size, the vertical size, or both sizes. Note that SizeGroups only affect the amount of space requested, not the size that the widgets finally receive. If you want the widgets in a SizeGroup to actually be the same size, you need to pack them in such a way that they get the size they request and not more. For example, if you are packing your widgets into a table, you would not include the Fill flag. SizeGroup objects are referenced by each widget in the size group, so once you have added all widgets to a SizeGroup, you can drop the initial reference to the SizeGroup by calling . If the widgets in the SizeGroup are subsequently destroyed, then they will be removed from the SizeGroup and drop their references on the SizeGroup; when all widgets have been removed, the size group will be freed. Widgets can be part of multiple size groups; GTK will compute the horizontal size of a widget from the horizontal requisition of all widgets that can be reached from the widget by a chain of size groups of type or . Likewise, the vertical size is computed from the vertical requisition of all widgets that can be reached from the widget by a chain of size groups of type or . GLib.Object Method System.Void Places a widget in this SizeGroup A Widget whose size should be tied to widgets in a group. Method System.Void Removes a widget from this SizeGroup A Widget whose size should no longer be tied to the widgets in this group. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Create a new SizeGroup. The mode to indicate direction(s) that should have their sizes tied together. The direction that size is tied can be altered later using the property. Property Gtk.SizeGroupMode Sets a mode to determine which direction this SizeGroup controls. The current 'mode' that indicates the direction this SizeGroup ties together. The mode of the size group determines whether the widgets in the SizeGroup should all have the same or requisition, or should all have the same requisition in directions. GLib.Property("mode") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.Property("ignore-hidden") System.Boolean Indicates if hidden widgets are ignored when calculating size. if hidden widgets are to be ignored. Property Gtk.Widget[] The Widgets associated with the group. an array of widgets. gtk-sharp-2.12.10/doc/en/Gtk/VScale.xml0000644000175000001440000001102311345266756014301 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A vertical slider widget for selecting a value from a range. The VScale widget allows the user to select a value with a vertical slider. This widget and its model is manipulated using methods and properties in its super classes, and . Gtk.Scale Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new vertical slider based on the data in . The model to use for this VScale To create a vertical slider without explicit use of a , use the alternative constructor. Constructor Creates a new vertical slider without the need for an object. The minimum value that is accepted by this VScale. The maximum value that is accepted by this VScale. The value to adjust the VScale by when 'sliding'. Creates a new vertical slider that lets the user input a number between (and including) and . Each adjustment of the slider changes the value by , which must be non-zero. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/DragDataReceivedHandler.xml0000644000175000001440000000277511345266756017556 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragDataReceivedHandler instance to the event. The methods referenced by the DragDataReceivedHandler instance are invoked whenever the event is raised, until the DragDataReceivedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SelectionGetHandler.xml0000644000175000001440000000272111345266756017014 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionGetHandler instance to the event. The methods referenced by the SelectionGetHandler instance are invoked whenever the event is raised, until the SelectionGetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MoveHandleArgs.xml0000644000175000001440000000337711345266756016000 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.ScrollType The direction and units to scroll by. A gtk-sharp-2.12.10/doc/en/Gtk/VButtonBox.xml0000644000175000001440000001105711345266756015205 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A button box should be used to provide a consistent layout of buttons throughout your application. This box provides a way of laying out buttons vertically. The layout of buttons in this type of box is determined by the box's . Methods for manipulating button boxes are provided in the super classes, and . Gtk.ButtonBox Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The normal way to construct a vertical button box Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.ButtonBoxStyle The default layout style for vertical button boxes. a System.Obsolete Property System.Int32 The default spacing (in pixels) for vertical button boxes. a System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/ArrowType.xml0000644000175000001440000000511511345266756015065 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to indicate the direction in which a should point. System.Enum GLib.GType(typeof(Gtk.ArrowTypeGType)) Field Gtk.ArrowType Represents an upward pointing arrow. Field Gtk.ArrowType Represents an downward pointing arrow. Field Gtk.ArrowType Represents a left pointing arrow. Field Gtk.ArrowType Represents a right pointing arrow. Field Gtk.ArrowType Represents no arrow. gtk-sharp-2.12.10/doc/en/Gtk/IconTheme.xml0000644000175000001440000005462211345266756015013 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Looks up icons by name provides a facility for looking up icons by name and size. The main reason for using a name rather than simply providing a filename is to allow different icons to be used depending on what icon theme is selected by the user. The operation of icon themes on Linux and Unix follows the Icon Theme Specification. There is a default icon theme, named hicolor where applications should install their icons, but more additional application themes can be installed as operating system vendors and users choose. Named icons are similar to the Themeable Stock Images(3) facility, and the distinction between the two may be a bit confusing. A few things to keep in mind: Stock images usually are used in conjunction with Stock Items(3)., such as or . Named icons are easier to set up and therefore are more useful for new icons that an application wants to add, such as application icons or window icons. Stock images can only be loaded at the symbolic sizes defined by the enumeration, or by custom sizes defined by , while named icons are more flexible and any pixel size can be specified.Because stock images are closely tied to stock items, and thus to actions in the user interface, stock images may come in multiple variants for different widget states or writing directions. A good rule of thumb is that if there is a stock image for what you want to use, use it, otherwise use a named icon. It turns out that internally stock images are generally defined in terms of one or more named icons. (An example of the more than one case is icons that depend on writing direction; uses the two themed icons "gtk-stock-go-forward-ltr" and "gtk-stock-go-forward-rtl".) GLib.Object Method Gtk.IconTheme Gets the icon theme object associated with a a . A unique associated with the given screen. This icon theme is associated with the screen and can be used as long as the screen is open. If this function has not previously been called for the given screen, a new icon theme object will be created and associated with the screen. Icon theme objects are fairly expensive to create, so using this function is usually a better choice than calling than and setting the screen yourself; by using this function a single icon theme object will be shared between users. Method System.Int32 Returns an integer identifier for an error string. a Method System.Void Registers a built-in icon for icon theme lookups. a , the name of the icon to register a , the size at which to register the icon (different images can be registered for the same icon name at different sizes.) a that contains the image to use for . The idea of built-in icons is to allow an application or library that uses themed icons to function requiring files to be present in the file system. For instance, the default images for all of Gtk's stock icons are registered as built-icons. In general, if you use you should also install the icon in the icon theme, so that the icon is generally available. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Checks to see if the icon theme has changed; if it has, any currently cached information is discarded and will be reloaded next time the IconTheme is accessed. a , if the icon theme has changed and needed to be reloaded. Method System.Boolean Checks whether an icon theme includes an icon for a particular name. a , the name of an icon a , if the IconTheme includes an icon for . Method System.Void Prepends a directory to the search path. a , directory name to prepend to the icon path See . Method System.Void Appends a directory to the search path. a , directory name to append to the icon path See . Property System.String[] The current search path a , array of directories that are searched for icon themes When looking for an icon theme, Gtk will search for a subdirectory of one or more of the directories in this path with the same name as the icon theme. (Themes from multiple of the path elements are combined to allow themes to be extended by adding icons in the user's home directory.) In addition if an icon found is not found either in the current icon theme or the default icon theme, and an image file with the right name is found directly in one of the elements of path, then that image will be used for the icon name. (This is a legacy feature, and new icons should be put into the default icon theme, which is called DEFAULT_THEME_NAME, rather than directly on the icon path.) Method System.Void Deprecated method to set the current search path. a , array of directories that are searched for icon themes Replaced by the property. Method Gtk.IconInfo Looks up a named icon and returns a structure containing information such as the filename of the icon. a , the name of the icon to lookup a , desired icon size a , flags modifying the behavior of the icon lookup a containing information about the icon, or if the icon was not found. The icon can then be rendered into a pixbuf using . ( combines these two steps if all you need is the pixbuf.) Method Gdk.Pixbuf Looks up an icon in an icon theme, scales it to the given size and renders it into a pixbuf. a , the name of the icon to lookup a , the desired icon size. The resulting icon may not be exactly this size; see . a , flags modifying the behavior of the icon lookup a the rendered icon or if the icon is not found. This is a convenience function; if more details about the icon are needed, use followed by . Method System.String[] Lists the icons in the current icon theme. a , a string identifying a particular type of icon, or to list all icons. a holding the names of all the icons in the theme. Only a subset of the icons can be listed by providing a context string. The set of values for the context string is system dependent, but will typically include such values as 'apps' and 'mimetypes'. Constructor Internal constructor. a System.Obsolete Constructor Internal constructor. a Constructor Default constructor Icon theme objects are used to lookup up an icon by name in a particular icon theme. Usually, you will want to use or rather than creating a new icon theme object for scratch. Property Gtk.IconTheme Gets the icon theme for the default screen. a . A unique associated with the given screen. This icon theme is associated with the screen and can be used as long as the screen is open. See . Property GLib.GType GType Property. a Returns the native value for . Property Gdk.Screen Sets the screen for an icon theme a The screen is used to track the user's currently configured icon theme, which might be different for different screens. Property System.String Sets the name of the icon theme that the object uses overriding system configuration. a , name of icon theme to use instead of configured theme This cannot be used on the icon theme objects returned from . Property System.String The name of an icon that is representative of the current theme (for instance, to use when presenting a list of themes to the user.) a , the name of an example icon or . Event System.EventHandler Emitted when the current icon theme is switched or Gtk detects that a change has occurred in the contents of the current icon theme. GLib.Signal("changed") Method System.Int32[] Gets a list of the sizes for an Icon by name. a a An entry of -1 indicates a scalable version of the icon. Method Gtk.IconInfo To be added. To be added. To be added. To be added. To be added. To be added. Method System.String[] To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DragMotionHandler.xml0000644000175000001440000000267311345266756016500 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragMotionHandler instance to the event. The methods referenced by the DragMotionHandler instance are invoked whenever the event is raised, until the DragMotionHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrepareHandler.xml0000644000175000001440000000233311345266756016024 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PrepareHandler instance to the event. The methods referenced by the PrepareHandler instance are invoked whenever the event is raised, until the PrepareHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/CellEditableAdapter.xml0000644000175000001440000001453311345266756016747 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.CellEditable Constructor To be added. To be added. Constructor To be added. To be added. To be added. Event GLib.Signal("editing_done") System.EventHandler To be added. To be added. Method System.Void To be added. To be added. Method Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("remove_widget") System.EventHandler To be added. To be added. Property Gtk.CellEditableImplementor To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("remove_widget") System.EventHandler To be added. To be added. CellEditable interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/MapChangedArgs.xml0000644000175000001440000000633011345266756015735 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The path of the accelerator that changed a Property System.UInt32 The key value for the new accelerator a Property Gdk.ModifierType The modifier mask for the new accelerator a gtk-sharp-2.12.10/doc/en/Gtk/ChildAttachedHandler.xml0000644000175000001440000000273711345266756017117 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildAttachedHandler instance to the event. The methods referenced by the ChildAttachedHandler instance are invoked whenever the event is raised, until the ChildAttachedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeModelFilterModifyFunc.xml0000644000175000001440000000363611345266756020151 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. Delegate class for methods to modify a tree. Used primarily as a parameter for . See that method's documentation for more details. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ScaleButton.xml0000644000175000001440000001256111345266756015357 00000000000000 gtk-sharp 2.12.0.0 Gtk.Button Constructor To be added. To be added. To be added. To be added. To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.Property("adjustment") Gtk.Adjustment To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Property("icons") System.String[] To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property GLib.Property("size") Gtk.IconSize To be added. To be added. To be added. Property GLib.Property("value") System.Double To be added. To be added. To be added. Event GLib.Signal("value-changed") Gtk.ValueChangedHandler To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RowHasChildToggledHandler.xml0000644000175000001440000000373011345266756020105 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowHasChildToggledHandler instance to the event. The methods referenced by the RowHasChildToggledHandler instance are invoked whenever the event is raised, until the RowHasChildToggledHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ScrollStep.xml0000644000175000001440000000701611345266756015225 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. ScrollStep enum System.Enum GLib.GType(typeof(Gtk.ScrollStepGType)) Field Gtk.ScrollStep Steps Field Gtk.ScrollStep Pages Field Gtk.ScrollStep Ends Field Gtk.ScrollStep Horizontal Steps Field Gtk.ScrollStep Horizontal Pages Field Gtk.ScrollStep Horizontal Ends gtk-sharp-2.12.10/doc/en/Gtk/TooltipSetArgs.xml0000644000175000001440000000640411345266756016056 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Tooltips The tooltips group. a (XXX: should this be the entire tooltips group, or just the tooltip that was set?) Property System.String The public tooltip text that was set. a Property System.String The private/detail tooltip text that was set. a gtk-sharp-2.12.10/doc/en/Gtk/TreeViewSearchPositionFunc.xml0000644000175000001440000000207011345266756020347 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void The TreeView being searched. The Search Dialog to position. TreeView search position callback delegate. Attach this delegate using to provide a location for the search dialog displayed by a . gtk-sharp-2.12.10/doc/en/Gtk/TreeNodeAttribute.xml0000644000175000001440000000721111345266756016521 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute to specify tree node information of a class. This attribute can be applied to a class which implements the interface to provide additional information about the node type to the which will contain the nodes. In the following example, the class MyTreeNode is tagged as a tree node with 3 columns: [TreeNode(ColumnCount=3)] public class MyTreeNode : ITreeNode { ... } In the following example, the class MyListNode is tagged as a node with 2 columns and no child nodes: [TreeNode(ColumnCount=2, ListOnly=true)] public class MyListNode : ITreeNode { ... } System.Attribute System.AttributeUsage(System.AttributeTargets.Class) Constructor TreeNodeAttribute constructor Instantiates a Property System.Int32 ColumnCount named value. a Specifies the number of columns the node exposes. A should be added to each of the properties of the class which represent the individual column values. System.Obsolete("This is no longer needed; it gets detected by Gtk#") Property System.Boolean ListOnly named value. a Specifies if the node can have children. For list views, this tells the NodeStore that it is non-hierarchical and it can expose flags so that the NodeView doesn't include space for expanders in the column layout. gtk-sharp-2.12.10/doc/en/Gtk/MenuBar.xml0000644000175000001440000001220511345266756014460 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The MenuBar is a subclass of MenuShell which contains one to many MenuItem. The result is a standard menu bar which can hold many menu items. allows for a shadow type to be set for aesthetic purposes. using System; using Gtk; public class MenuApp { public static void Main (string[] args) { new MenuApp(); } public MenuApp(){ Application.Init(); Window win = new Window ("Menu Sample App"); MenuBar mb = new MenuBar (); Menu file_menu = new Menu (); MenuItem exit_item = new MenuItem("Exit"); exit_item.Activated += new EventHandler (on_exit_item_activate); file_menu.Append (exit_item); MenuItem file_item = new MenuItem("File"); file_item.Submenu = file_menu; mb.Append (file_item); win.Add (mb); win.ShowAll (); Application.Run (); } public void on_exit_item_activate(object o, EventArgs args) { Application.Quit (); } Gtk.MenuShell Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor A constructor. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.Property("pack-direction") Gtk.PackDirection Packing direction. a . Indicates how menu items are layed out on the menu bar. Property GLib.Property("child-pack-direction") Gtk.PackDirection Child packing direction. a . Indicates how child menu items are layed out on the menu bar's submenus. gtk-sharp-2.12.10/doc/en/Gtk/PrinterOptionWidget.xml0000644000175000001440000001167311345266756017117 00000000000000 gtk-sharp 2.12.0.0 Gtk.HBox Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Event GLib.Signal("changed") System.EventHandler To be added. To be added. Property Gtk.Widget To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. Property GLib.Property("source") Gtk.PrinterOption To be added. To be added. To be added. Property System.String To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Image.xml0000644000175000001440000010365411345266756014162 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. used to display an image. can be used as a container for a or a to get custom interfaces. cannot launch events, it is necessary to include it inside an for that purpose. Gtk.Misc Method System.Void Creates a displaying an . an object of type an object of type Creates a displaying an . Sample stock sizes are , . Instead of using this function, usually it is better to create a , put your in the , add the to the list of default factories with , and then use . This will allow themes to override the icon you ship with your application. Method System.Void Creates a widget displaying an image with a mask. an object of type an object of type Creates a widget displaying an image with a mask. A is a client-side image buffer in the pixel format of the current display. Method System.Void Creates a displaying a stock icon. an object of type an object of type Creates a displaying a stock icon. Sample stock icon names are , . Sample stock sizes are , . If the stock icon name is not known, a "broken image" icon will be displayed instead. You can register your own stock icon names, see and . Method System.Void Creates a widget displaying an image with a mask. an object of type an object of type Creates a widget displaying an image with a mask. A is a client-side image buffer in the pixel format of the current display. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default parameterless constructor. Constructor This constructor is used to create an instance of containing the passed to it. to be displayed by the Image. Constructor This constructor is used to create an instance of containing the image stored in the filename whose path is given by the 'filename' parameter. representing the path to the image file. Constructor This constructor is used to create an instance of containing the and using the passed to it. to be displayed by the Image. to be used by the Image. Constructor This constructor is used to create an instance of containing the passed to it, masked by the given . to be displayed by the Image. mask to be used. Constructor This constructor is used to create an instance of containing the passed to it. to be displayed by the Image. Constructor This constructor is used to create an instance of containing the passed to it, masked by the given . displayed by the Image. mask used by the Image. Constructor This constructor is used to create an instance of containing the represented by the passed to it and with the size represented by the passed. identifier for the . used by the Image. Property Gdk.Pixbuf Creates a displaying . an object of type Creates a displaying . Property Gdk.PixbufAnimation Get the animation for this image. an object of type Property Gdk.PixbufAnimation Causes the Image object to display the given animation (or display nothing, if you set the animation to ). an object of type Property System.String

Creates a new displaying the file If the file isn't found or can't be loaded, the resulting Image will display a "broken image" icon. This function never returns , it always returns a valid Image widget. If the file contains an animation, the image will contain an animation.

If you need to detect failures to load the file, use to load the file yourself, then create the Image from the pixbuf. (Or for animations, use ).

The storage type () of the returned image is not defined, it will be whatever is appropriate for displaying the file.

an object of type
Property System.String A stock item name, if this is a stock image. an object of type GLib.Property("stock") Property Gdk.Pixbuf Gets or sets the associated to the Image. that the Image contains. GLib.Property("pixbuf") Property System.Int32 The size (dimension on a side) for a square icon. an object of type GLib.Property("icon-size") Property System.String The file this image was loaded from. an object of type GLib.Property("file") Property Gtk.ImageType The type of representation being used by the to store image data. If the Image has no image data, the return value will be . an object of type GLib.Property("storage-type") Property Gtk.IconSet Gets or sets the associated to the Image. that the Image contains. GLib.Property("icon-set") Property Gdk.PixbufAnimation Gets or sets the associated to the Image. that the Image contains. GLib.Property("pixbuf-animation") Property Gdk.Pixmap Mask bitmap to use with or an object of type GLib.Property("mask") Property Gdk.Pixmap Gets or sets the associated to the Image. that the Image contains. GLib.Property("pixmap") Property Gdk.Image Gets or sets the associated with the Image. that the Image contains. GLib.Property("image") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void Same functionality as . a a Method System.Void Gets the and mask being displayed by the . a a The storage type of the image must be . or . (see ). Method System.Void Get the stock item name and size, if this is a stock image the stock item name the stock item size, a If the is displaying a stock image, this method can be used to retrieve the stock item name and the size. Method System.Void Get the icon set and size, if this image is using an icon set the the icon size, a If the is displaying an image from an icon set, this method can be used to retrieve the icon set and the size. Method System.Void Get the pixmap and mask for an image the the mask Method System.Void Get the image data and mask for an image the image data the mask Method Gtk.Image Loads an image from a resource file. the name of the resource a This load an image from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Constructor Loads an image from a . a This is equivalent to calling or and then creating an from the resulting pixbuf. Constructor Loads an image embedded in an assembly The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly This is equivalent to calling or and then creating an from the resulting pixbuf. Property System.String To be added a To be added GLib.Property("icon-name") Property System.Int32 To be added a To be added GLib.Property("pixel-size") Method Gtk.Image To be added a a a To be added Method System.Void To be added a a To be added Method System.Void To be added. To be added. To be added. To be added. Method System.Void Resets the image to be empty.
gtk-sharp-2.12.10/doc/en/Gtk/AccelGroup.xml0000644000175000001440000004076611345266756015170 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Groups of global keyboard accelerators for an entire GtkWindow A GtkAccelGroup represents a group of keyboard accelerators, typically attached to a toplevel (with ). Usually you won't need to create a directly; instead, when using , Gtk# automatically sets up the accelerators for your menus in the item factory's . Note that accelerators are different from mnemonics. Accelerators are shortcuts for activating a menu item; they appear alongside the menu item they are a shortcut for. For example "Ctrl+Q" might appear alongside the "Quit" menu item. Mnemonics are shortcuts for GUI elements such as text entries or buttons; they appear as underlined characters. . Menu items can have both accelerators and mnemonics, of course. GLib.Object Method Gtk.AccelGroup Finds the to which closure is connected. A GClosure () The to which is connected, or . Method System.Void Undoes the last call to on its object. Method System.Boolean Removes an accelerator previously installed through . The closure to remove from this accelerator group. if the closure was found and got disconnected Method System.Void Installs an accelerator in this group, using an accelerator path to look up the appropriate key and modifiers (see ). When the group is being activated in response to a call to , will be invoked if the accel_key and accel_mods from match the key and modifiers for the path. Path used for determining key and modifiers. Closure to be executed upon accelerator activation Method System.Boolean Removes an accelerator previously installed through . Key value of the accelerator. Modifier combination of the accelerator. if there was an accelerator which could be removed, otherwise. Method System.Void Locks the given accelerator group. Locking an accelerator group prevents the accelerators contained within it to be changed duringb runtime. Refer to 'gtk_accel_map_change_entry ()' about runtime accelerator changes. If called more than once, it remains locked until has been called an equivalent number of times. Method System.Void Installs an accelerator in this group. When accel_group is being activated in response to a call to , closure will be invoked if the accel_key and accel_mods from match those of this connection. The signature used for the closure is that of . Key value of the accelerator. Modifier combination of the accelerator. A flag mask to configure this accelerator. Closure to be executed upon accelerator activation. Note that, due to implementation details, a single closure can only be connected to one accelerator group. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default public constructor. Event Gtk.AccelChangedHandler GLib.Signal("accel_changed") Method Gtk.AccelKey Finds the first entry in an accelerator group for which returns TRUE and returns its . a for filtering the AccelGroup entries a , the first key matching the find function. It is owned by Gtk# and must not be freed. Method Gtk.AccelGroupEntry Queries an accelerator group for all entries matching and . Key value of the accelerator. Modifier combination of the accelerator. Location to return the number of entries found, or . An array of elements, or . Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Boolean Activates the accelerator. a a a a a Event Gtk.AccelActivateHandler GLib.Signal("accel_activate") Method System.Boolean Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.10/doc/en/Gtk/InsertionFontStyleChangedArgs.xml0000644000175000001440000000360511345266756021044 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.HTMLFontStyle The style that was set during the change. a gtk-sharp-2.12.10/doc/en/Gtk/RowDeletedHandler.xml0000644000175000001440000000356011345266756016467 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowDeletedHandler instance to the event. The methods referenced by the RowDeletedHandler instance are invoked whenever the event is raised, until the RowDeletedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SelectCursorRowArgs.xml0000644000175000001440000000353011345266756017052 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether or not to start editing the specified row. A , true if editing should start. gtk-sharp-2.12.10/doc/en/Gtk/HTMLParagraphAlignment.xml0000644000175000001440000000361411345266756017364 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration for representing the possible alignment of paragraphs. System.Enum Field Gtk.HTMLParagraphAlignment Aligned with a straight left margin. Field Gtk.HTMLParagraphAlignment Aligned with a straight right margin. Field Gtk.HTMLParagraphAlignment Aligned so that every line is centered. gtk-sharp-2.12.10/doc/en/Gtk/HTMLPrintCalcHeight.xml0000644000175000001440000000173711345266756016634 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/NoExposeEventHandler.xml0000644000175000001440000000273411345266756017175 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the NoExposeEventHandler instance to the event. The methods referenced by the NoExposeEventHandler instance are invoked whenever the event is raised, until the NoExposeEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CellRendererPixbuf.xml0000644000175000001440000002021711345266756016655 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Renders a Gtk.CellRenderer Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new This is the default constructor for . Property Gdk.Pixbuf for closed expander. an object of type GLib.Property("pixbuf-expander-closed") Property Gdk.Pixbuf The to render. an object of type GLib.Property("pixbuf") Property Gdk.Pixbuf for open expander. an object of type GLib.Property("pixbuf-expander-open") Property System.String Render detail to pass to the theme engine. a GLib.Property("stock-detail") Property System.String The stock ID of the stock icon to render. a GLib.Property("stock-id") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.UInt32 The size of the rendered icon. a GLib.Property("stock-size") Property GLib.Property("icon-name") System.String Name of the themed icon to display. a containing a name in an Icon theme. Property GLib.Property("follow-state") System.Boolean Determines state-based colorization of the Pixbuf. a indicating if the should be used for colorization of the Pixbuf. Defaults to . gtk-sharp-2.12.10/doc/en/Gtk/HSeparator.xml0000644000175000001440000000622711345266756015206 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The HSeparator widget is a horizontal separator, used to group the widgets within a window. The HSeparator widget is a horizontal separator, used to group the widgets within a window. It is not used as a separator within menus. To create a separator in a menu create an empty widget and add it to the menu with . Gtk.Separator Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/MoveCursorHandler.xml0000644000175000001440000000374411345266756016541 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveCursorHandler instance to the event. The methods referenced by the MoveCursorHandler instance are invoked whenever the event is raised, until the MoveCursorHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PageReorderedArgs.xml0000644000175000001440000000314011345266756016452 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public constructor. Property Gtk.Widget Reordered widget. a . Property System.UInt32 Index of reordered widget. a . Arguments for events. gtk-sharp-2.12.10/doc/en/Gtk/RecentInfo.xml0000644000175000001440000002613711345266756015174 00000000000000 gtk-sharp 2.12.0.0 GLib.Opaque Constructor To be added. To be added. To be added. Property System.DateTime To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Method Gdk.Pixbuf To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.String To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.DateTime To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.DateTime To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/PrintUnixDialog.xml0000644000175000001440000001617211345266756016216 00000000000000 gtk-sharp 2.12.0.0 Gtk.Dialog Constructor System.Obsolete Native type value. Obsolete Protected Constructor. Do not use. Replaced by which registers native types automatically. Subclasses should chain to the IntPtr constructor passing and call CreateNativeObject instead of using this constructor. This constructor is provided for backward compatibility if you have manually registered a native value for your subclass. Constructor Native object pointer. Internal constructor This is not typically used by C# code. Exposed primarily for use by language bindings to wrap native object instances. Constructor Window title. Transient parent window. Public constructor. Method System.Void The child widget. The tab label text. Adds a custom tab to the dialog. Property GLib.Property("current-page") System.Int32 CurrentPage tab index. An integer index of the selected tab. Property GLib.GType GType Property. Native value. Returns the native value for . Property Gtk.PrintCapabilities Manual capabilities supported. A set of supported by the application. Allows configuration of the supported printing capabilities for an application. Property GLib.Property("page-setup") Gtk.PageSetup PageSetup property. The specified . Property GLib.Property("print-settings") Gtk.PrintSettings PrintSettings property. Same as . Property GLib.Property("selected-printer") Gtk.Printer Selected printer property. The selected . Property Gtk.PrintSettings Settings property. The specified . Unix print dialog. This class implements a Print dialog for platforms which don't provide a native printing dialog. gtk-sharp-2.12.10/doc/en/Gtk/TagAddedHandler.xml0000644000175000001440000000265311345266756016070 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TagAddedHandler instance to the event. The methods referenced by the TagAddedHandler instance are invoked whenever the event is raised, until the TagAddedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/AdjustBoundsHandler.xml0000644000175000001440000000272011345266756017033 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AdjustBoundsHandler instance to the event. The methods referenced by the AdjustBoundsHandler instance are invoked whenever the event is raised, until the AdjustBoundsHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CustomWidgetApplyArgs.xml0000644000175000001440000000336011345266756017372 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The custom widget supplied to a event. a . Data should be read from the widget in response to this event, since it is not guaranteed to persist beyond this time. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/TreeSortableAdapter.xml0000644000175000001440000003046211345266756017030 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.TreeSortable Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. Property Gtk.TreeIterCompareFunc To be added. To be added. To be added. Method Gtk.TreeSortable To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("sort_column_changed") System.EventHandler To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property Gtk.TreeSortableImplementor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("sort_column_changed") System.EventHandler To be added. To be added. TreeSortable interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/TextView.xml0000644000175000001440000017624011345266756014720 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Widget that displays a using System; using Gtk; class TextViewSample { static void Main () { new TextViewSample (); } TextViewSample () { Application.Init (); Window win = new Window ("TextViewSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); win.SetDefaultSize (600,400); Gtk.TextView view; Gtk.TextBuffer buffer; view = new Gtk.TextView (); buffer = view.Buffer; buffer.Text = "Hello, this is some text"; win.Add (view); win.ShowAll (); Application.Run (); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Now you might put the view in a container and display it on the screen; when the user edits the text, events on the buffer will be emitted, such as , , and so on. Gtk.Container Method System.Void Converts specified buffer coordinates to coordinates for window a , except for x coordinate of the buffer y coordinate of the buffer return location for the window's x coordinate return location for the window's y coordinate Note that you can't convert coordinates for a nonexisting window (see . Method System.Int32 Gets the width of the specified border window. a window to return size from the width of the window Method System.Boolean Moves the given iter backward by one display (wrapped) line the given if was moved and is not on the end iterator Moves the given iter backward by one display (wrapped) line. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the . Method Gdk.Window Retrieves the corresponding to an area of the text view window to get a , or Retrieves the corresponding to an area of the text view; possible windows include the overall widget window, child windows on the left, right, top, bottom, and the window that displays the text buffer. Windows are and nonexistent if their width or height is 0, and are nonexistent before the widget has been realized. Method System.Void Sets the width of or , or the height of or . the window to affect the width or height of the window Automatically destroys the corresponding window if the size is set to 0, and creates the window if the size is set to non-zero. This function can only be used for the "border windows," it doesn't work with , , or . Method System.Boolean Moves the cursor to the currently visible region of the buffer if it isn't there already. if the cursor had to be moved Method System.Boolean Moves forward to the next display line end a if was moved and is not on the end iterator Moves the given iter forward to the next display line end. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the . Method System.Void Adds a child widget in the text buffer, at the given anchor any a in the current Method System.Boolean Moves the given backward to the next display line start the given if was moved and is not on the end iterator A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the . Method System.Boolean Moves the given forward by one display (wrapped) line the given if was moved and is not on the end iterator A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the . Method System.Void Gets the y coordinate of the top of the line containing , and the height of the line the given return location for the y coordinate return location for the height Gets the y coordinate of the top of the line containing iter, and the height of the line. The coordinate is a buffer coordinate; convert to window coordinates with . Method System.Void Scrolls the view so that is on the screen in the position indicated by and a given margin of screen size, the valid range is 0.0 to 0.5 whether to use alignment arguments (if , just get the mark onscreen) horizontal alignment of mark within visible area vertical alignment of mark within visible area An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If is , the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size . Method System.Boolean Determines whether iter is at the start of a display line the given if begins a wrapped line Determines whether iter is at the start of a display line. See for an explanation of display lines vs. paragraphs. Method Gtk.TextWindowType Used for finding out which window an event corresponds to a window type the window type Method System.Boolean Move the iterator a given number of characters visually, treating it as the strong cursor position the given the number of characters to move (negative moves left, positive moves right) if iter moved and is not on the end iterator Move the iterator a given number of characters visually, treating it as the strong cursor position. If count is positive, then the new strong cursor position will be count positions to the right of the old cursor position. If count is negative then the new strong cursor position will be count positions to the left of the old cursor position. In the presence of bidirection text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run. Method System.Boolean Moves within the buffer so that it's located within the currently-visible text area a if the mark moved (wasn't already onscreen) Method System.Boolean Scrolls the text view so that is on the screen in the position indicated by and the given margin of screen size, the valid range is 0.0 to 0.5 whether to use alignment arguments (if , just get the mark onscreen) horizontal alignment of mark within visible area vertical alignment of mark within visible area if scrolling occurred Scrolls the text view so that is on the screen in the position indicated by and . An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If is , the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size within_margin. NOTE: This function uses the currently-computed height of the lines in the text buffer. Note that line heights are computed in an idle handler; so this function may not have the desired effect if it's called before the height computations. To avoid oddness, consider using which saves a point to be scrolled to after line validation. Method System.Void Scrolls the text view the minimum distance such that is contained within the visible area of the widget a mark in the current Method System.Void Converts coordinates on the window to buffer coordinates a except x coordinate of the window y coordinate of the window return location for the buffer's x coordinate return location for the buffer's y coordinate Note that you can't convert coordinates for a nonexisting window (see . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new TextView If you don't set the before using the text view, an empty default buffer will be created for you. If you want to specify your own buffer, use . Constructor Creates a new TextView displaying a specified buffer. the buffer to be displayed Creates a new widget displaying the buffer. One buffer can be shared among many widgets. Property Gtk.TextAttributes The default text attributes a s Obtains a copy of the default text attributes. These are the attributes used for text unless a tag overrides them. You'd typically pass the default attributes in to in order to get the attributes in effect at a given text position. The return valuea is a copy owned by the caller of this function, and should be freed. Property Gtk.TextBuffer The displayed by the text view the current buffer that is displayed GLib.Property("buffer") Property System.Boolean Whether the insertion point is displayed whether the insertion point is visible Defaults to true. GLib.Property("cursor-visible") Property System.Int32 The default left margin The left margin. GLib.Property("left-margin") Property System.Int32 The default right margin the right margin GLib.Property("right-margin") Property System.Int32 The default number of blank pixels above paragraphs the number of pixels above paragraphs Tags in the may override the defaults. GLib.Property("pixels-above-lines") Property Gtk.Justification The default justification The default justification of paragraphs Tags in the may override the defaults. GLib.Property("justification") Property System.Int32 The default indentation for paragraphs The number of pixels of indentation. Tags in the may override the default. GLib.Property("indent") Property System.Boolean Whether the text can be modified by the user Whether or not the text can be edited by the user. Defaults to true. GLib.Property("editable") Property Gtk.WrapMode Whether to wrap lines never, at word boundaries, or at character boundaries. the of the text view GLib.Property("wrap-mode") Property Pango.TabArray Custom tabs for this text custom tabes for this text GLib.Property("tabs") Property System.Int32 The default number of pixels of blank space to put below paragraphs the blank space below paragraphs in pixels Tags in the may override this default. GLib.Property("pixels-below-lines") Property System.Int32 The default number of pixels of blank space to leave between display/wrapped lines within a paragraph default number of pixels of blank space between wrapped lines Tags in the may override this default. GLib.Property("pixels-inside-wrap") Event Gtk.ScrollAdjustmentsSetHandler Raised whenever the adjustment values for the scrollbars are set. GLib.Signal("set_scroll_adjustments") Event System.EventHandler Raised whenever an anchor (e.g. ) is set within the TextView. GLib.Signal("set_anchor") Event Gtk.MoveCursorHandler Raised whenever the cursor is moved. GLib.Signal("move_cursor") Event Gtk.PopulatePopupHandler Raised when the popup dialog on this object needs to be filled with data. GLib.Signal("populate_popup") Event Gtk.DeleteFromCursorHandler Raised when text is deleted from the cursor (usually by hitting Backspace or Delete). GLib.Signal("delete_from_cursor") Event System.EventHandler Raised when text is copied to the clipboard. GLib.Signal("copy_clipboard") Event Gtk.MoveFocusHandler Raised when the keyboard focus changes. GLib.Signal("move_focus") System.Obsolete("Replaced by keybinding signal on Gtk.Widget") Event Gtk.PageHorizontallyHandler Raised when the user scrolls horizontally in this widget. GLib.Signal("page_horizontally") Event System.EventHandler Raised whenever the insert/overwrite flag is toggled. GLib.Signal("toggle_overwrite") Event System.EventHandler Raised whenever a selection is cut to the clipboard. GLib.Signal("cut_clipboard") Event Gtk.InsertAtCursorHandler Raised whenever text is inserted at the cursor. GLib.Signal("insert_at_cursor") Event System.EventHandler Raised whenever text is pasted from the clipboard. GLib.Signal("paste_clipboard") Method System.Void This method should be fixed a a y coordinate return location for top coordinate of the line Gets the at the start of the line containing the coordinate . is in buffer coordinates, convert from window coordinates with . If non-, will be filled with the coordinate of the top edge of the line. Method System.Void Updates the position of a child child widget already added to the text view new X position in window coordinates new Y position in window coordinates Method System.Void Adds a child at fixed coordinates in one of the text widget's windows. a a a a The window must have non-zero size (see ). Note that the child coordinates are given relative to the in question, and that these coordinates have no sane relationship to scrolling. When placing a child in GTK_TEXT_WINDOW_WIDGET, scrolling is irrelevant, the child floats above all scrollable areas. But when placing a child in one of the scrollable windows (border windows or text window), you will need to compute the child's correct position in buffer coordinates any time scrolling occurs or buffer changes occur, and then call to update the child's position. Unfortunately there is no good way to detect that scrolling has occurred, using the current API; a possible hack would be to update all child positions when the scroll adjustments change or the text buffer changes. See bug 64518 on bugzilla.gnome.org for status of fixing this issue. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gtk.TextIter Retrieves the iterator at buffer coordinates and . x position, in buffer coordinates y position, in buffer coordinates a Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event, you have to convert those to buffer coordinates with . Method Gdk.Rectangle Gets a rectangle which roughly contains the character at iter. a a , which is the bounds of the character at The rectangle position is in buffer coordinates; use to convert these coordinates to coordinates for one of the windows in the text view. Property System.Boolean Whether Tab will result in a tab character being entered. a Defaults to true. GLib.Property("accepts-tab") Property System.Boolean Whether entered text overwrites existing contents. a Defaults to false. GLib.Property("overwrite") Property Gdk.Rectangle Returns the currently-visible region of the buffer, in buffer coordinates. a You can convert to window coordinates with . Event System.EventHandler To be added To be added GLib.Signal("backspace") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Int32 To be added a a a a To be added gtk-sharp-2.12.10/doc/en/Gtk/StartInteractiveSearchHandler.xml0000644000175000001440000000313311345266756021046 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StartInteractiveSearchHandler instance to the event. The methods referenced by the StartInteractiveSearchHandler instance are invoked whenever the event is raised, until the StartInteractiveSearchHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ComboBoxEntry.xml0000644000175000001440000001406611345266756015670 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A text entry field with a dropdown list Gtk.ComboBox Method Gtk.ComboBoxEntry Convenience function which constructs a new editable text combo box, which is a just displaying strings. a Constructor Internal constructor a System.Obsolete Constructor Internal constructor a Constructor Creates a new which has a as its child. Constructor Creates a new which has a as child and a list of strings as popup. a which holds the data. a which means the coluumn number (0 based) in the which contains the list of strings to display. Property GLib.GType GType Property. a Returns the native value for . Property System.Int32 the column in the model which the combobox is using to get the strings from. a GLib.Property("text-column") Constructor a list of strings for the dropdown list. Creates a combo entry from a list of entries. Property Gtk.Entry The combo box's child. The . gtk-sharp-2.12.10/doc/en/Gtk/StatusIcon.xml0000644000175000001440000005324711345266756015236 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor System.Obsolete A native type value. Obsolete constructor. Do not use. Constructor A native instance pointer. Public constructor. For use by language bindings to wrap native instances. Constructor Public constructor. Constructor Icon file name. Public constructor. Creates an instance using the specified icon file. Constructor An Icon pixbuf. Public constructor. Creates an instance using the specified icon pixbuf. Event GLib.Signal("activate") System.EventHandler Activate event. Raised when the user activates the status icon. This behavior is only provided on platforms that support it. Event GLib.Signal("size_changed") Gtk.SizeChangedHandler SizeChanged event. Raised when the icon size changes. Event GLib.Signal("popup_menu") Gtk.PopupMenuHandler PopupMenu event. Raised when the user brings up the context menu. Method Gtk.StatusIcon To be added. Creates a status icon with a named icon from the current theme. A . Method Gtk.StatusIcon To be added. Creates a status icon with a stock icon. A . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean The new size. Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Method System.Void Button pressed. Time button was pressed. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void A menu to position. Returns the x coordinate. Returns the y coordinate. Returns if the menu must be pushed in to be completely visible. Native handle of the StatusIcon for which the menu is being placed. Menu Positioning Callback function. Used with to position context menus. Method System.Boolean Do not use. Do not use. Do not use. Obsolete. Do not Use. if the operation succeeded. This method was incorrectly bound and is provided for backward compatibility. Use the overload with out Screen and out Rectangle parameters instead. Property GLib.Property("storage-type") Gtk.ImageType Image storage type. A . Property GLib.Property("size") System.Int32 Pixel size available for Icon. An integer pixel size. Property GLib.Property("pixbuf") Gdk.Pixbuf Display a Pixbuf Icon. A containing the desired icon. Property GLib.Property("visible") System.Boolean Indicates if the Icon is visible. To be added. Doesn't guarantee the icon can be seen by the user. See . Property GLib.Property("stock") System.String Display a stock Icon. A value, or other string registered as a stock id. Property GLib.Property("blinking") System.Boolean Indicates if the Icon is Blinking. If , the icon is blinking. Property GLib.Property("file") System.String Display an icon from a file. A string containing the filename path. Property GLib.Property("icon-name") System.String Display an icon from the current icon theme. An icon name from the current theme. If the IconTheme is changed, the icon is updated to the icon of the same name in the new theme. Property System.String Display an icon from a file. A string containing the filename path. Property System.Boolean Indicates if the icon is embedded in a notification area. if embedded. Property System.String Sets the Tooltip. A tooltip string. Property System.String Display an icon from the current icon theme. An icon name from the current theme. If the IconTheme is changed, the icon is updated to the icon of the same name in the new theme. Property Gdk.Pixbuf Display a Pixbuf Icon. A containing the desired icon. Property System.String Display a stock Icon. A value, or other string registered as a stock id. Property GLib.GType Native type value. a . Method System.Boolean Returns the screen containing the status icon. Returns the bounds of the status icon. Returns the orientation of the status icon. Get the Location and Orientation of the Icon. if the operation was successful. This information can be used to place popups like notification bubbles. Method System.Void The menu to present. The button provided by . The time provided by . Positions and displays a menu. This method provides an optimized alternative to calling directly, saving a some native/managed marshaling roundtrips. Property GLib.Property("embedded") System.Boolean To be added. To be added. To be added. Property GLib.Property("orientation") Gtk.Orientation To be added. To be added. To be added. Property GLib.Property("screen") Gdk.Screen To be added. To be added. To be added. Status Icon. A platform independent system tray icon. gtk-sharp-2.12.10/doc/en/Gtk/Clipboard.xml0000644000175000001440000007045111345266756015035 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object that stores clipboard data. The object represents a clipboard of data shared between different processes or between different widgets in the same process. Each clipboard is identified by a name encoded as a . (Conversion to and from strings can be done with and .) The default clipboard corresponds to the "CLIPBOARD" atom; another commonly used clipboard is the "PRIMARY" clipboard, which, in X, traditionally contains the currently selected text. To support having a number of different formats on the clipboard at the same time, the clipboard mechanism allows providing callbacks instead of the actual data. When you set the contents of the clipboard, you can either supply the data directly (eg, via the property), or you can supply a callback to be called at a later time when the data is needed (via or .) Providing a callback also avoids having to make copies of the data when it is not needed. and are quite similar; the choice between the two depends mostly on which is more convenient in a particular situation. The former is most useful when you want to have a blob of data with callbacks to convert it into the various data types that you advertise. When the clear_func you provided is called, you simply free the data blob. The latter is more useful when the contents of clipboard reflect the internal state of a (As an example, for the PRIMARY clipboard, when an entry widget provides the contents for the clipboar the contents are simply the text within the selected region.) If the contents change, the entry widget can call to update the timestamp for clipboard ownership, without having to worry about clear_func being called. Requesting the data from the clipboard is essentially asynchronous. If the contents of the clipboard are provided within the same process, then a direct function call will be made to retrieve the data, but if they are provided by another process, then the data needs to be retrieved from the other process, which may take some time. To avoid blocking the user interface, the call to request the selection, takes a callback that will be called when the contents are received (or when the request fails.) If you do not want to deal with providing a separate callback, you can also use . What this does is run the GLib main loop recursively waiting for the contents. This can simplify the code flow, but you still have to be aware that other callbacks in your program can be called while this recursive mainloop is running. Along with the functions to get the clipboard contents as an arbitrary data chunk, there are also functions to retrieve it as text, and . These functions take care of determining which formats are advertised by the clipboard provider, asking for the clipboard in the best available format and converting the results into the UTF-8 encoding. (The standard form for representing strings in Gtk#.) GLib.Object Method Gtk.Clipboard Returns the clipboard object for the given selection. an object of type an object of type See for complete details. Method System.Void Clears the contents of the clipboard. Generally this should only be called between the time you call or , and when the clear_func you supplied is called. Otherwise, the clipboard may be owned by someone else. Method System.Boolean Test to see if there is text available to be pasted. an object of type This is done by requesting the TARGETS atom and checking if it contains any of the names: STRING, TEXT, COMPOUND_TEXT, UTF8_STRING. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. This function is a little faster than calling since it does not need to retrieve the actual text. Method Gtk.SelectionData Requests the contents of the clipboard using the given target. an object of type an object of type This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. Method System.String Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. an object of type This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.Object The owner of the clipboard, if any; otherwise . an object of type If the clipboard contents callbacks were set with , and the or has not been subsequently called, it will return the owner set by . Property System.String Sets the contents of the clipboard to the given UTF-8 string. a Gtk# will make a copy of the text and take responsibility for responding for requests for the text, and for converting the text into the requested format. Method System.Void Deprecated method to set the contents of the clipboard. an object of type Replaced by the property. Property Gdk.Display The associated with the clipboard. a Method Gtk.Clipboard Returns the clipboard object for the given selection. a a a Cut/copy/paste menu items and keyboard shortcuts should use the default clipboard, returned by passing GDK_SELECTION_CLIPBOARD for selection. (GDK_NONE is supported as a synonym for GDK_SELECTION_CLIPBOARD for backwards compatibility reasons.) The currently-selected object or text should be provided on the clipboard identified by GDK_SELECTION_PRIMARY. Cut/copy/paste menu items conceptually copy the contents of the GDK_SELECTION_PRIMARY clipboard to the default clipboard, i.e. they copy the selection to what the user sees as the clipboard. (Passing GDK_NONE is the same as using gdk_atom_intern ("CLIPBOARD", ). See http://www.freedesktop.org/standards/clipboards.txt for a detailed discussion of the "CLIPBOARD" vs. "PRIMARY" selections under the X window system. On Win32 the GDK_SELECTION_PRIMARY clipboard is essentially ignored.) It is possible to have arbitrary named clipboards; if you do invent new clipboards, you should prefix the selection name with an underscore (because the ICCCM requires that nonstandard atoms are underscore-prefixed), and namespace it as well. For example, if your application called "Foo" has a special-purpose clipboard, you might call it "_FOO_SPECIAL_CLIPBOARD". Method System.Boolean Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested. a a a a Method System.Boolean Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested. a a a a a The difference between this function and is that a is passed in. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Requests the contents of clipboard as the given target. When the results of the result are later received the supplied callback will be called. a representing the form into which the clipboard-owning program should convert the selection. a , a function to call when the clipboard results are received. Method System.Void Fetch the clipboard's text and fire the function on it. a Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Proctected constructor. Method System.Boolean Returns a list of targets that are present on the clipboard, or if there aren't any targets available. a a a ,TRUE if any targets are present on the clipboard, otherwise FALSE. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. Method System.Void Requests the contents of the clipboard as list of supported targets. When the list is later received, will be called. a The "targets" parameter to will contain the resulting targets if the request succeeded, or if it failed. Added in GTK 2.4. Property Gdk.Pixbuf To be added a To be added Event Gtk.OwnerChangeHandler To be added To be added GLib.Signal("owner_change") Method Gdk.Pixbuf To be added a To be added Method System.Void To be added To be added Method System.Void To be added a a To be added Method System.Boolean To be added a a To be added Method System.Boolean To be added a To be added Method System.Void To be added a To be added Method System.Void An event describing the owner change. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean a . Tests if Rich Text is available for pasting. if , rich text is available. This method is slightly faster that since it doesn't retrieve the actual text. Uses the main loop, so events and timeouts may be dispatched during the wait. Method System.Byte[] To be added. To be added. Requests contents as Rich Text. a byte array holding the contents. Uses the main loop, so events and timeouts may be dispatched during the wait. Method System.Void a . callback to invoke when data is prepared. Requests the contents as Rich Text asynchronously. gtk-sharp-2.12.10/doc/en/Gtk/ItemActivatedArgs.xml0000644000175000001440000000443311345266756016473 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreePath To be added a To be added gtk-sharp-2.12.10/doc/en/Gtk/GotPageSizeHandler.xml0000644000175000001440000000241411345266756016607 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the GotPageSizeHandler instance to the event. The methods referenced by the GotPageSizeHandler instance are invoked whenever the event is raised, until the GotPageSizeHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/KeySnoopFunc.xml0000644000175000001440000000211411345266756015510 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. A function to be invoked by a global hot-key (a , regardless of keyboard focus. To be added. System.Delegate System.Int32 gtk-sharp-2.12.10/doc/en/Gtk/CommitArgs.xml0000644000175000001440000000332311345266756015175 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The string generated by a text entry. A gtk-sharp-2.12.10/doc/en/Gtk/PrinterOption.xml0000644000175000001440000001420211345266756015742 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("changed") System.EventHandler To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/VPaned.xml0000644000175000001440000000606211345266756014310 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A container for two children, separated vertically by a splitter bar. s are added to this container using the and methods. See the documentation of for more information. Gtk.Paned Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new container, split vertically. Property GLib.GType GType property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor from a subclass if you have manually registered a for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/HandleBox.xml0000644000175000001440000002530411345266756014777 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A container with a handle and a detachable child widget. The HandleBox widget allows a portion of a window to be "torn off". It is a widget that displays its child with a handle that the user can drag to create a separate floating window containing the child widget and the 'handle'. A thin ghost is drawn in the original location of the HandleBox. By dragging the separate window back to its original location, it can be reattached. When reattaching, the ghost and float window, must be aligned along one of the edges, the . This can either be specified by the application programmer explicitly, otherwise a reasonable default will be used, based on the . To make detaching and reattaching the HandleBox as minimally confusing as possible to the user, it is important to set the snap edge so that it does not move when the HandleBox is deattached. For instance, if the HandleBox is packed at the bottom of a , then when the HandleBox is detached, the bottom edge of the HandleBox's allocation will remain fixed as the height of the HandleBox shrinks, so the snap edge should be set to . The child of this widget is set using the method in . Gtk.Bin Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to create a HandleBox. Creates a new HandleBox, with the set to the . Property Gtk.PositionType Manage which edge a detached HandleBox must reattach to. The current edge that snapping works with. To ensure good usability, this edge should be set to a side of the HandleBox whose position or size will not be altered when the child is detached. GLib.Property("snap-edge") Property Gtk.ShadowType Manage the appearance of the surrounding the child widget. The current style of shadow in use. Property Gtk.PositionType Manage where the handle of this container is placed. The current position of the handle. Note: In western cultures, anything other than a handle for horizontal HandleBoxes, or a handle for vertical HandleBoxes, may seem strange to users. The reverse is likely to be true for cultures with languages that are written from right to left. GLib.Property("handle-position") Property Gtk.ShadowType Manage the appearance of the surrounding the child widget. The current style of shadow in use. GLib.Property("shadow") Event Gtk.ChildAttachedHandler This event is raised when the contents of the HandleBox are reattached to the main window. GLib.Signal("child_attached") Event Gtk.ChildDetachedHandler This event is raised when the contents of the handlebox are detached from the main window. GLib.Signal("child_detached") Property System.Boolean Whether to use the value from the snap_edge property or a value derived from handle_position. a GLib.Property("snap-edge-set") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/ValueChangedHandler.xml0000644000175000001440000000145011345266756016753 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DrawPageArgs.xml0000644000175000001440000000363011345266756015440 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintContext The Print context of the current operation. a . Property System.Int32 The page number to draw. An integer page number. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/TreeNodeRemovedHandler.xml0000644000175000001440000000243111345266756017454 00000000000000 gtk-sharp 2.12.0.0 To be added. To be added. To be added. TreeNodeRemovedHandler delegate Event handler for notification of the removal of a child node. The node is already removed when the event is raised, so points to the former position of in the child list of . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/EditedHandler.xml0000644000175000001440000000263111345266756015625 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EditedHandler instance to the event. The methods referenced by the EditedHandler instance are invoked whenever the event is raised, until the EditedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MapEventArgs.xml0000644000175000001440000000337211345266756015470 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event The Gdk event that triggered the map event. a gtk-sharp-2.12.10/doc/en/Gtk/ToolItem.xml0000644000175000001440000004604311345266756014672 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The base class of widgets that can be added to a . Current inheritors are: and . Gtk.Bin Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Sets the used in the toolbar overflow menu. a a The is used to identify the caller of this function and should also be used with . Method Gtk.Widget If matches the string passed to , return the corresponding . a a Custom subclasses of should use this function to update their menu item when the changes. That the s must match ensures that a will not inadvertently change a menu item that they did not create. Method System.Void Sets the object to be used for this tool item, the text to be displayed as tooltip on the item and the private text to be used. a a , the tooltip text for the item a , the private text Method Gtk.Widget Returns the that was last set by ; that is, the that is going to appear in the overflow menu. a Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use. Do not use. a , pointer to the underlying C object. Constructor Public constructor. Property GLib.GType The of this object. a Property System.Boolean Whether the toolbar item is visible when the toolbar is in a horizontal orientation. a GLib.Property("visible-horizontal") Property System.Boolean Whether the toolbar item is visible when the toolbar is in a vertical orientation. a GLib.Property("visible-vertical") Property System.Boolean Whether the toolbar item is considered important. a When TRUE, toolbar buttons show text when the toolbar is in mode. GLib.Property("is-important") Property Gtk.ToolbarStyle Sets some display styles for this toolbar; see for details. a Property Gtk.Orientation The orientation used for this tool item. See . a Property Gtk.IconSize The size of icons in this toolbar. See . a Property System.Boolean Whether this toolitem has a drag window. a When this is TRUE the toolitem can be used as a drag source through . When this toolitem has a drag window it will intercept all events, even those that would otherwise be sent to a child of the toolitem. Property Gtk.ReliefStyle Returns the relief style of this toolitem. See . a Custom subclasses of should call this function in the handler of the signal to find out the relief style of buttons. Property System.Boolean Whether this toolitem is allocated extra space when there is more room on the toolbar then needed for the items. a If true, the effect is that the item gets bigger when the toolbar gets bigger and smaller when the toolbar gets smaller. Property System.Boolean Whether this toolitem is to be allocated the same size as other homogeneous items. a If true, the effect is that all homogeneous items will have the same width as the widest of the items. Event System.EventHandler This signal is emitted when some property of the toolbar that the item is a child of changes. For custom subclasses of , the default handler of this signal uses the properties , , , and to find out what the toolbar should look like and change themselves accordingly. GLib.Signal("toolbar_reconfigured") Event Gtk.CreateMenuProxyHandler This event is raised when the toolbar is displaying an overflow menu and is trying to determine if toolitem should appear in the overflow menu. In response to this event, toolitems should either call the method specifying menu_item as None and return to indicate that the item should not appear in the overflow menu, OR call the method with a new menu item and return , OR return to indicate that the signal was not handled by the item. This means that the item will not appear in the overflow menu unless a later handler installs a menu item. The toolbar may cache the result of this signal. When the tool item changes how it will respond to this signal it must call the rebuild_menu() method to invalidate the cache and ensure that the toolbar rebuilds its overflow menu. TODO: figure out why there is no rebuild_menu in gtk# GLib.Signal("create_menu_proxy") Event Gtk.TooltipSetHandler This signal is emitted when the toolitem's tooltip changes. GLib.Signal("set_tooltip") Method System.Void To be added To be added gtk-sharp-2.12.10/doc/en/Gtk/AboutDialogActivateLinkFunc.xml0000644000175000001440000000406211345266756020436 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The in which the link was activated. To be added. The type of the method which is called when a URL or email link in an . The following example uses the built in to open links: void OpenLink (Gtk.AboutDialog dialog, string link) { Gnome.Url.Show(link); } Gtk.AboutDialog.SetUrlHook (new Gtk.AboutDialogActivateLinkFunc (OpenLink)); System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TagRemovedHandler.xml0000644000175000001440000000335611345266756016471 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TagRemovedHandler instance to the event. The methods referenced by the TagRemovedHandler instance are invoked whenever the event is raised, until the TagRemovedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MoveSliderHandler.xml0000644000175000001440000000267211345266756016505 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveSliderHandler instance to the event. The methods referenced by the MoveSliderHandler instance are invoked whenever the event is raised, until the MoveSliderHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Notebook+NotebookChild.xml0000644000175000001440000001316211345266756017432 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("tab-expand") System.Boolean The "expand" property of a tab's label if the page's label is set to "expand" See for more details. Property Gtk.ChildProperty("position") System.Int32 The page's position within the notebook. the position Property Gtk.ChildProperty("menu-label") System.String The page's menu label the label of the page in the notebook's pop-up menu Property Gtk.ChildProperty("tab-fill") System.Boolean The "fill" property of a tab's label if the page's label is set to "fill" See for more details. Property Gtk.ChildProperty("tab-pack") Gtk.PackType The pack type of a page's tab label the label's See for more details. Property Gtk.ChildProperty("tab-label") System.String The page's tab label the label Property Gtk.ChildProperty("reorderable") System.Boolean Indicates if tab is reorderable by user action. defaults to . Property Gtk.ChildProperty("detachable") System.Boolean Indicates if tab is detachable by the user. defaults to . A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/CommitHandler.xml0000644000175000001440000000262211345266756015657 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CommitHandler instance to the event. The methods referenced by the CommitHandler instance are invoked whenever the event is raised, until the CommitHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/BeginPrintHandler.xml0000644000175000001440000000240111345266756016463 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the BeginPrintHandler instance to the event. The methods referenced by the BeginPrintHandler instance are invoked whenever the event is raised, until the BeginPrintHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/Win32EmbedWidget.xml0000644000175000001440000000423111345266756016132 00000000000000 gtk-sharp 2.12.0.0 Gtk.Window Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/FileSelection+FSButton.xml0000644000175000001440000000333011345266756017353 00000000000000 gtk-sharp 2.12.0.0 Gtk.Button Property Gtk.FileSelection Returns the parent The parent This class is only used by s embedded inside a . From the , you can use this property to get back to the parent dialog box. Helper class for s embedded inside a This class is used as a wrapper around buttons embedded inside a . This class exposes an additional property, , which can be used to get back to the parent dialog. gtk-sharp-2.12.10/doc/en/Gtk/OnCommandHandler.xml0000644000175000001440000000265511345266756016310 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OnCommandHandler instance to the event. The methods referenced by the OnCommandHandler instance are invoked whenever the event is raised, until the OnCommandHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RadioActionEntry.xml0000644000175000001440000001764411345266756016361 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A struct containing all the info necessary for creating an The ActionEntry struct is C# "syntactic sugar", designed to make it easier for developers to add s to their code. Instead of creating a new object for each action, a developer can create an array of RadioActionEntry's and add them to an all at once using the method. System.ValueType Field System.String A unique name for the action. Field System.String The stock icon displayed in widgets representing this action. Field System.String The label used for menu items and buttons that activate this action. Field System.String A tooltip for this action. Field System.String The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator. Field System.Int32 Integer representing the value of the . Constructor Basic constructor. a a Constructor Public constructor with accelerator. a , a unique name for the action a , the stock icon to use. a , the label to display on menu items and buttons a ,the accelerator string (see notes below) a , a tooltip for this action The accelerator given should be in the format understood , or "" for no accelerator, or to use the stock accelerator Constructor Public constructor with accelerator and value. a , a unique name for the action a , the stock icon to use. a , the label to display on menu items and buttons a ,the accelerator string (see notes below) a , a tooltip for this action a , the value that should return if this action is activated. The accelerator given should be in the format understood , or "" for no accelerator, or to use the stock accelerator gtk-sharp-2.12.10/doc/en/Gtk/MenuToolButton.xml0000644000175000001440000001660211345266756016072 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.ToolButton Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void To be added a a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a a To be added Constructor To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Property Gtk.Widget To be added a To be added GLib.Property("menu") Event System.EventHandler To be added To be added GLib.Signal("show-menu") Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ConfirmOverwriteArgs.xml0000644000175000001440000000204011345266756017244 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. ConfirmOverwrite event arguments. When implementing a , you need to set the inherited property of this class with an appropriate value. gtk-sharp-2.12.10/doc/en/Gtk/ToggledHandler.xml0000644000175000001440000000264611345266756016022 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggledHandler instance to the event. The methods referenced by the ToggledHandler instance are invoked whenever the event is raised, until the ToggledHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/WidgetFlags.xml0000644000175000001440000003044011345266756015330 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Tells about certain properties of the . System.Enum GLib.GType(typeof(Gtk.WidgetFlagsGType)) System.Flags Field Gtk.WidgetFlags Widgets without a real parent, as there are s and s have this flag set throughout their lifetime. Toplevel widgets always contain their own . Field Gtk.WidgetFlags Indicative for a that does not provide its own . Visible action (e.g. drawing) is performed on the parent's . Field Gtk.WidgetFlags Set by , unset by . A realized has an associated . Field Gtk.WidgetFlags Set by , unset by . Only realized widgets can be mapped. It means that has been called on the widgets window(s). Field Gtk.WidgetFlags Set by , unset by . Implies that a will be mapped as soon as its parent is mapped. Implies that a will be mapped as soon as its parent is mapped. Field Gtk.WidgetFlags Set and unset by . The sensitivity of a determines whether it will receive certain events (e.g. button or key presses). One premise for the widgets sensitivity is to have this flag set. Field Gtk.WidgetFlags Set and unset by operations on the parents of the . This is the second premise for the widgets sensitivity. Once it has and set, its state is effectively sensitive. Field Gtk.WidgetFlags Determines whether a is able to handle focus grabs. Determines whether a is able to handle focus grabs. Field Gtk.WidgetFlags Set by for widgets that also have set. The flag will be unset once another widget grabs the focus. Field Gtk.WidgetFlags The is allowed to receive the default action via . The is allowed to receive the default action via . Field Gtk.WidgetFlags The currently is receiving the default action. The currently is receiving the default action. Field Gtk.WidgetFlags Set by gtk_grab_add(), unset by gtk_grab_remove(). It means that the widget is in the grab_widgets stack, and will be the preferred one for receiving events other than ones of cosmetic value. Field Gtk.WidgetFlags Indicates that the widgets style has been looked up through the rc mechanism. It does not imply that the actually had a style defined through the rc mechanism. Field Gtk.WidgetFlags Indicates that the is a composite child of its parent. See , . Field Gtk.WidgetFlags Unused since before GTK 1.2, will be removed in a future version. Field Gtk.WidgetFlags Set and unset by . Must be set on widgets whose window the application directly draws on, in order to keep GTK# from overwriting the drawn stuff. Field Gtk.WidgetFlags The when focused will receive the default action and have set even if there is a different widget set as default. The when focused will receive the default action and have set even if there is a different widget set as default. Field Gtk.WidgetFlags Set and unset by . Indicates that exposes done on the should be double-buffered. Indicates that exposes done on the should be double-buffered. Field Gtk.WidgetFlags Whether calls to ShowAll and HideAll will effect the widget. gtk-sharp-2.12.10/doc/en/Gtk/MenuDetachFunc.xml0000644000175000001440000000210311345266756015754 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. A delegate for a function that will be called when the user invokes . (TODO: examples.) System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ToggleHandleFocusHandler.xml0000644000175000001440000000300711345266756017762 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggleHandleFocusHandler instance to the event. The methods referenced by the ToggleHandleFocusHandler instance are invoked whenever the event is raised, until the ToggleHandleFocusHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrintQuality.xml0000644000175000001440000000344111345266756015576 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintQualityGType)) Field Gtk.PrintQuality Draft quality printing. Field Gtk.PrintQuality High quality printing. Field Gtk.PrintQuality Low quality printing. Field Gtk.PrintQuality Normal quality printing. Print quality enumeration. gtk-sharp-2.12.10/doc/en/Gtk/MessageDialog.xml0000644000175000001440000003221111345266756015632 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Convenient message window presents a with an image representing the (Error, Question, etc.) alongside some message text. It is available as a convenience. You could construct the equivalent of from without too much effort, but saves typing. The is displayed using , which automatically makes the modal and waits for the user to respond to it. returns when any in the is clicked or the is closed. After returns, you are responsible for hiding (using ) or destroying (using ) the dialog if you wish to do so. A simple message dialog MessageDialog md = new MessageDialog (parent_window, DialogFlags.DestroyWithParent, MessageType.Error, ButtonsType.Close, "Error loading file"); int result = md.Run (); md.Destroy(); A yes/no message dialog MessageDialog md = new MessageDialog (parent_window, DialogFlags.DestroyWithParent, MessageType.Question, ButtonsType.YesNo, "Are you sure you want to quit?"); ResponseType result = (ResponseType)md.Run (); if (result == ResponseType.Yes) Application.Quit(); else md.Destroy(); If you would like the to not be modal, set the property to . md.Modal = false; Gtk.Dialog Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor System.ParamArray Creates an instance of the dialog's parent (or ) the the type of message dialog to display the buttons to display the message format string optional arguments for Creates an instance of MessageDialog md = new MessageDialog (parent_window, Gtk.DialogFlags.DestroyWithParent, Gtk.MessageType.Error, Gtk.ButtonsType.Close, "Error loading file '{0}'", filename); Constructor System.ParamArray Creates an instance of the dialog's parent (or ) the the type of message dialog to display the buttons to display whether or not uses Pango markup the message format string optional arguments for Like the other constructor, but allows you to pass a non-marked-up string. Property Gtk.MessageType The of the an object of type The of the GLib.Property("message-type") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.String Markup for the message to display in the dialog. a Markup should be in Pango markup format. (TODO: check this.) Constructor To be added To be added Property GLib.Property("image") Gtk.Widget The image displayed in the MessageBox. a displayed in the image location. Property GLib.Property("use-markup") System.Boolean Indicates if Pango markup is handled in the primary text. if , markup is parsed. See for more info. Property GLib.Property("text") System.String The primary text displayed in the MessageBox. the primary text string. If the box has secondary text, this is displayed as the Title. Property GLib.Property("secondary-use-markup") System.Boolean Indicates if Pango markup is handled in the secondary text.. if , markup is parsed. See for more info. Property GLib.Property("secondary-text") System.String The secondary message for the MessageBox. defaults to . gtk-sharp-2.12.10/doc/en/Gtk/GammaCurve.xml0000644000175000001440000000733411345266756015165 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The widget is a variant of specifically for editing gamma curves, which are used in graphics applications such as the Gimp. The widget shows a curve which the user can edit with the mouse just like a widget. On the right of the curve it also displays 5 buttons, 3 of which change between the 3 curve modes (spline, linear and free), and the other 2 set the curve to a particular gamma value, or reset it to a straight line. NOTE: this widget is considered too specialized/little-used for GTK#, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK# distribution. Gtk.VBox Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/CreateCustomWidgetHandler.xml0000644000175000001440000000253111345266756020170 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CreateCustomWidgetHandler instance to the event. The methods referenced by the CreateCustomWidgetHandler instance are invoked whenever the event is raised, until the CreateCustomWidgetHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/ButtonReleaseEventArgs.xml0000644000175000001440000000347111345266756017527 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventButton The button that was released. a gtk-sharp-2.12.10/doc/en/Gtk/ReloadState.xml0000644000175000001440000000265211345266756015343 00000000000000 gtk-sharp 2.12.0.0 System.Enum Field Gtk.ReloadState Was Unmapped. Field Gtk.ReloadState Empty. Field Gtk.ReloadState Has Folder. Reload State enumeration. Do not use. This type is exposed as part of the FileChooser implementation internals. gtk-sharp-2.12.10/doc/en/Gtk/MotionNotifyEventArgs.xml0000644000175000001440000000352311345266756017407 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventMotion The underlying Gdk event that triggered this MotionNotifyEvent. A gtk-sharp-2.12.10/doc/en/Gtk/ScrollEventHandler.xml0000644000175000001440000000270611345266756016672 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ScrollEventHandler instance to the event. The methods referenced by the ScrollEventHandler instance are invoked whenever the event is raised, until the ScrollEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DeleteRangeHandler.xml0000644000175000001440000000271211345266756016606 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DeleteRangeHandler instance to the event. The methods referenced by the DeleteRangeHandler instance are invoked whenever the event is raised, until the DeleteRangeHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TextEventHandler.xml0000644000175000001440000000274211345266756016360 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TextEventHandler instance to the event. The methods referenced by the TextEventHandler instance are invoked whenever the event is raised, until the TextEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/AccelLabel.xml0000644000175000001440000001516011345266756015101 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget that displays an accelerator key on the right of the text. The widget is a subclass of that also displays an accelerator key on the right of the label text. The widget is commonly used in menus to show the keyboard shortcuts for commands. The accelerator key to display is not set explicitly instead, the displays the accelerators which have been added to a particular widget. This widget is set by calling . Gtk.Label Method System.Boolean Recreates the string representing the accelerator keys. Default, since the strings are updated this is not needed Recreates the string representing the accelerator keys. This should not be needed since the string is automatically updated whenever accelerators are added or removed from the associated widget. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates an accelerator label. The accelerator label. Property System.UInt32 Returns the width needed to display the accelerator key(s). The width needed to display the accelerator key(s) Returns the width needed to display the accelerator key(s). This is used by menus to align all of the widgets, and shouldn't be needed by applications. Property System.IntPtr Sets the closure to be monitored by this accelerator label. A Sets the closure to be monitored by this accelerator label. The closure must be connected to an accelerator group. See . GLib.Property("accel-closure") Property Gtk.Widget Fetches the widget monitored by this accelerator label. The object monitored by the accelerator label, or Fetches the widget monitored by this accelerator label. GLib.Property("accel-widget") Property GLib.GType The GLib Type assigned to this class. a Used internally. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/OnUrlHandler.xml0000644000175000001440000000260111345266756015463 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OnUrlHandler instance to the event. The methods referenced by the OnUrlHandler instance are invoked whenever the event is raised, until the OnUrlHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ActionGroup.xml0000644000175000001440000005244611345266756015374 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A group of actions Actions are organised into groups. An action group is essentially a map from names to objects. All actions that would make sense to use in a particular context should be in a single group. Multiple action groups may be used for a particular user interface. In fact, it is expected that most nontrivial applications will make use of multiple groups. For example, in an application that can edit multiple documents, one group holding global actions (e.g. quit, about, new), and one group per document holding actions that act on that document (eg. save, cut/copy/paste, etc). Each window's menus would be constructed from a combination of two action groups. Accelerators are handled by the Gtk accelerator map. All actions are assigned an accelerator path (which normally has the form <Actions>/group-name/action-name) and a shortcut is associated with this accelerator path. All menuitems and toolitems take on this accelerator path. The Gtk accelerator map code makes sure that the correct shortcut is displayed next to the menu item. GLib.Object System.Reflection.DefaultMember("Item") Method System.Void Removes an action object from the action group. a Method System.Void Adds an action object to the action group and sets up the accelerator. a a . The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator If accelerator is , attempts to use the accelerator associated with the stock_id of the action. Accel paths are set to <Actions>/group-name/action-name. Method Gtk.Action Looks up an action in the action group by name. a , the name of the action a , or if no action by that name exists Method System.Void Adds an action object to the action group. a Note that this function does not set up the accel path of the action, which can lead to problems if a user tries to modify the accelerator of a menuitem associated with the action. Therefore you must either set the accel path yourself with , or use . Constructor Internal constructor a System.Obsolete Constructor Internal constructor a Constructor Creates a new object. a , the name of the action group. The name of the action group is used when associating keybindings with the actions. Property GLib.GType GType Property. a Returns the native value for . Property System.Boolean The visibility of the ActionGroup a The constituent actions can only be logically visible (see ) if they are visible (see ) and their group is visible. GLib.Property("visible") Property System.Boolean The sensitivity of the ActionGroup a The constituent actions can only be logically sensitive (see ) if they are sensitive (see ) and their group is sensitive. GLib.Property("sensitive") Property System.String Gets the name of the action group. a GLib.Property("name") Property System.String Sets the translation domain and uses dgettext() for translating the label and tooltip of s added by . a Method System.Void Ease of use function for adding multiple s in a single call using the struct. a Method System.Void Ease of use function for adding multiple s in a single call using the struct. a Method System.Void Ease of use function for adding multiple s in a single call using the struct. a a a Method Gtk.Action[] Gets a list of the s in the . a Property Gtk.Action Returns the with the specified name. a a See for more info. Event Gtk.PreActivateHandler The PreActivate signal is emitted just before the action is activated. This is intended for applications to get notification just before any action is activated. GLib.Signal("pre_activate") Event Gtk.ConnectProxyHandler The ConnectProxy signal is emitted after connecting a proxy to an action in the group. This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar. GLib.Signal("connect_proxy") Event Gtk.DisconnectProxyHandler The DisconnectProxy signal is emitted after disconnecting a proxy from an action in the group. GLib.Signal("disconnect_proxy") Event Gtk.PostActivateHandler The PostActivate signal is emitted just after the action is activated. This is intended for applications to get notification just after any action is activated. GLib.Signal("post_activate") Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Property Gtk.TranslateFunc Function to be used for translating the label and tooltip of GtkActionGroupEntrys added by . a If you are using gettext(), it is enough to set the translation domain with . Method System.String Translates a string using the specified . A string. The translation of . This is mainly intended for language bindings. gtk-sharp-2.12.10/doc/en/Gtk/SortType.xml0000644000175000001440000000302211345266756014715 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determines the direction of a sort. System.Enum GLib.GType(typeof(Gtk.SortTypeGType)) Field Gtk.SortType Sorting is in ascending order. Field Gtk.SortType Sorting is in descending order. gtk-sharp-2.12.10/doc/en/Gtk/VSeparator.xml0000644000175000001440000000610111345266756015213 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The is a vertical separator, used to group the widgets within a window. The is a vertical separator, used to group the widgets within a window. It displays a vertical line with a shadow to make it appear sunken into the interface. Gtk.Separator Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/VolumeButton.xml0000644000175000001440000000312411345266756015572 00000000000000 gtk-sharp 2.12.0.0 Gtk.ScaleButton Constructor To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DragFailedArgs.xml0000644000175000001440000000314711345266756015733 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gdk.DragContext To be added. To be added. To be added. Property Gtk.DragResult To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/PropertyNotifyEventArgs.xml0000644000175000001440000000355111345266756017767 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventProperty The property that was changed. an object of type gtk-sharp-2.12.10/doc/en/Gtk/CreateWindowHandler.xml0000644000175000001440000000145111345266756017021 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/StyleSetHandler.xml0000644000175000001440000000264511345266756016210 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StyleSetHandler instance to the event. The methods referenced by the StyleSetHandler instance are invoked whenever the event is raised, until the StyleSetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Combo.xml0000644000175000001440000003341711345266756014176 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A text entry field with a dropdown list The widget consists of a single-line text entry field and a drop-down list. The drop-down list is displayed when the user clicks on a small arrow button to the right of the entry field. The drop-down list is a widget and can be accessed using the list member of the . List elements can contain arbitrary widgets, but if an element is not a plain label, then you must use the function. This sets the string which will be placed in the text entry field when the item is selected. By default, the user can step through the items in the list using the arrow (cursor) keys, though this behaviour can be turned off with = . Creating a widget with simple text items: using System; using Gtk; class ComboSample { Combo combo; static void Main () { new ComboSample (); } ComboSample () { Application.Init (); Window win = new Window ("ComboSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); string[] list = new string[] {"one", "two", "three"}; combo = new Combo (); combo.PopdownStrings = list; combo.DisableActivate (); combo.Entry.Activated += new EventHandler (OnEntryActivated); win.Add (combo); win.ShowAll (); Application.Run (); } void OnEntryActivated (object o, EventArgs args) { Console.WriteLine (combo.Entry.Text); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Gtk.HBox System.Obsolete Method System.Void Sets the string to place in the field when a particular list item is selected. an object of type an object of type This is not needed if the list item is a simple . Method System.Void Disables showing the popup list on the activate event. Stops the widget from showing the popup list when the emits the event, i.e. when the Return key is pressed. This may be useful if, for example, you want the Return key to close a dialog instead. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . This is the default contructor for Property Gtk.Button The asociated with the . an object of type Property Gtk.Entry The asociated with the . an object of type Property System.Boolean Does nothing. ---- REMOVE ---- See EnableArrowKeys. a Property System.Boolean Specifies if the arrow (cursor) keys can be used to step through the items in the list. See also EnableArrowKeys. if the arrow keys can be used to step through the items in the list. This is on by default. Property System.Boolean See a GLib.Property("enable-arrows-always") Property System.Boolean Specifies whether the value entered in the text entry field must match one of the values in the list. if the value entered must match one of the values in the list. If this is set then the user will not be able to perform any other action until a valid value has been entered. GLib.Property("value-in-list") Property System.Boolean Specifies if an empty field is acceptable. if an empty value is considered valid. GLib.Property("allow-empty") Property System.Boolean Specifies if the arrow (cursor) keys can be used to step through the items in the list. if the arrow keys can be used to step through the items in the list. This is by default. GLib.Property("enable-arrow-keys") Property System.Boolean Specifies whether the text entered into the field and the text in the list items is case sensitive. if the text in the list items is case sensitive. This may be useful, for example, when you have set true ValueInList to limit the values entered, but you are not worried about differences in case. GLib.Property("case-sensitive") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.String[] Property to set all of the items in the popup list. An array of strings. Method System.Void Whether entered values must already be present in the list. a a Property Gtk.Widget To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DragEndHandler.xml0000644000175000001440000000263211345266756015734 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragEndHandler instance to the event. The methods referenced by the DragEndHandler instance are invoked whenever the event is raised, until the DragEndHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Range.xml0000644000175000001440000003725511345266756014177 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for widgets that visualize an . This class provides helper methods and properties for manipulating concrete widgets like and . Gtk.Widget Method System.Void Sets the step and page sizes for this range. Value difference for step movements, (see below). Value difference for page movements, (see below). The size is used when the user clicks the arrows or moves with arrow keys. The size is used for example when moving via Page Up or Page Down keys. Method System.Void Sets the limits of this range. The minimum acceptable value for this range. The maximum acceptable value for this range. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Double Manage the value of this range. The current value of this range. Property System.Boolean Manage whether the control of this range is manipulated in the opposite direction. Whether visual control of the range is currently inverted. Setting this to causes a widget to move from right to left, instead of left to right. GLib.Property("inverted") Property Gtk.UpdateType Manage how often the value label is updated. The current update policy. GLib.Property("update-policy") Property Gtk.Adjustment Manipulate the underlying model of this range. The current underlying this range. GLib.Property("adjustment") Event Gtk.MoveSliderHandler Raised when the user moves a slider. GLib.Signal("move_slider") Event System.EventHandler Raised when the value in this range changes. Connect to this event with a standard to find out when the value changes. GLib.Signal("value_changed") Event Gtk.AdjustBoundsHandler Raised when the bounds of the range are adjusted. GLib.Signal("adjust_bounds") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Event Gtk.ChangeValueHandler To be added To be added GLib.Signal("change_value") Method System.Boolean Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Property GLib.Property("upper-stepper-sensitivity") Gtk.SensitivityType Sensitivity policy for the upper end of the Range's adjustment. the . Property GLib.Property("lower-stepper-sensitivity") Gtk.SensitivityType Sensitivity policy for the lower end of the Range's adjustment. the . Property GLib.Property("fill-level") System.Double To be added. To be added. To be added. Property GLib.Property("restrict-to-fill-level") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-fill-level") System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ImageIconNameData.xml0000644000175000001440000000660511345266756016364 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gtk.ImageIconNameData To be added To be added Field System.String To be added To be added Field System.UInt32 To be added To be added Method Gtk.ImageIconNameData To be added a a To be added Property Gdk.Pixbuf To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/VisibilityNotifyEventHandler.xml0000644000175000001440000000306411345266756020752 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the VisibilityNotifyEventHandler instance to the event. The methods referenced by the VisibilityNotifyEventHandler instance are invoked whenever the event is raised, until the VisibilityNotifyEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ChildDetachedArgs.xml0000644000175000001440000000341311345266756016412 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The child widget that was detached. A gtk-sharp-2.12.10/doc/en/Gtk/MenuEntry.xml0000644000175000001440000001007111345266756015054 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Class for use with in generating menus. See for more details. FIXME: see bugzilla.ximian.com #70887, which directly concerns this API. System.ValueType Field Gtk.MenuEntry An empty menu entry. Field System.String The path of this menu item. For example, "/File/_Open", where the "O" should be a mnemonic underline. Field System.String An accelerator key sequence Method Gtk.MenuEntry For internal use only. Do not use. a , pointer to the underlying C object. a Property Gtk.Widget To be added. To be added. To be added. Property Gtk.MenuCallback To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Separator.xml0000644000175000001440000000563011345266756015073 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The widget is an abstract class, used only for deriving the subclasses and . Gtk.Widget Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. gtk-sharp-2.12.10/doc/en/Gtk/CellRendererToggle.xml0000644000175000001440000002067311345266756016647 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Renders a or a This Class is a implementation that can render a checkbox in your columns. It is important to note that the will not change the corresponding bool field in your itself - you'll need to provide a handler, as shown in the following code snippet: private TreeStore store; void SetupTreeView () { store = new TreeStore (typeof (string), typeof(bool)); // populate store.. TreeView tv = new TreeView (store); tv.HeadersVisible = true; tv.AppendColumn ("Name", new CellRendererText (), "text", 0); CellRendererToggle crt = new CellRendererToggle(); crt.Activatable = true; crt.Toggled += crt_toggled; tv.AppendColumn ("CheckMe", crt, "active", 1); // add the TreeView to some window... } void crt_toggled(object o, ToggledArgs args) { TreeIter iter; if (store.GetIter (out iter, new TreePath(args.Path))) { bool old = (bool) store.GetValue(iter,1); store.SetValue(iter,1,!old); } } Gtk.CellRenderer Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . The default constructor. Property System.Boolean The can be activated. an object of type GLib.Property("activatable") Property System.Boolean The toggle state of the . an object of type GLib.Property("active") Property System.Boolean Draw the as a . an object of type GLib.Property("radio") Event Gtk.ToggledHandler Emitted when the cell is clicked. GLib.Signal("toggled") Property System.Boolean The inconsistent state of the button. a GLib.Property("inconsistent") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.Property("indicator-size") System.Int32 Size of check or radio indicator. defaults to 12. gtk-sharp-2.12.10/doc/en/Gtk/Settings.xml0000644000175000001440000003355711345266756014744 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Maintains application settings for objects attached to a toplevel. See GLib.Object Method System.Void Sets up the property parser for reading Rc files. A , pointer to the underlying C object (TODO: explain) A Method System.Void Installs a property. A , pointer to an unmanaged C property object. Method System.Void Sets a property whose content is a . A A A Method System.Void Sets a property whose value is a . A A Method System.Void Sets a property whose value is a . A A A Method System.Void Sets a property whose value is a . A A A Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gtk.Settings Returns a default settings object. A Method Gtk.Settings Gets the settings for . a a Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Boolean True if the cursor should blink, false if it should not blink. a Property System.Int32 Blink interval in milliseconds for the cursor. a Property System.Int32 Number of pixels the cursor can move before dragging. a Property System.Int32 Maximum interval between clicks for a mouse action to be considered a double-click. Measured in milliseconds. a Property System.String A font name. a Property System.String A string representing possible sizes for icons for different UI components. a This may look something like "(gtk-menu=16,16;gtk-button=20,20 [...])". Property System.String The name of the key theme RC file to load. a Property System.String Keybinding to activate the menu bar. a Defaults to F10. Property System.Boolean Whether two cursors should be displayed for mixed left-to-right and right-to-left text. a Property System.String Name of the theme RC file to load. a Constructor Default constructor. Property System.Obsolete("Removed from C API, returns IntPtr.Zero") System.IntPtr Hashtable to map names to colors. A pointer to a native GHashtable. gtk-sharp-2.12.10/doc/en/Gtk/Ruler.xml0000644000175000001440000002300711345266756014222 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A base class for ruler widgets. The Ruler widget is a base class for horizontal and vertical rulers. Rulers are used to show the mouse pointer's location in a window. Within the ruler a small triangle indicates the location of the mouse relative to the horizontal or vertical ruler. Concrete classes are and for horizontal and vertical rulers, respectively. With this class, you can adjust the unit type and the range of values that a ruler displays. Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. Gtk.Widget Method System.Void Draws tickmarks on the ruler. Method System.Void Draws the mouse position mark on the ruler. Method System.Void Sets the range information. The lower value to display on the Ruler. The upper value to display on the Ruler. The current position of the mouse aligned with this Ruler. A , the maximum size of the ruler. Method System.Void Gets the range information. A for the lower value to display on the Ruler. A for the upper value to display on the Ruler. A for the current position of the mouse aligned with this Ruler. A , the maximum size of the ruler. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gtk.MetricType Manage the measurement unit that is displayed. The current units in use. If this property is not explicitly set, the default for a ruler is . GLib.Property("metric") Property System.Double The upper value to display on the ruler. A GLib.Property("upper") Property System.Double The position of the mouse mark on the ruler. A GLib.Property("position") Property System.Double The maximum size of the ruler. A GLib.Property("max-size") Property System.Double The lower limit of the ruler. A GLib.Property("lower") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. gtk-sharp-2.12.10/doc/en/Gtk/InputHandler.xml0000644000175000001440000000261011345266756015523 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the InputHandler instance to the event. The methods referenced by the InputHandler instance are invoked whenever the event is raised, until the InputHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TextPushedHandler.xml0000644000175000001440000000226611345266756016530 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. An event that is raised when messages are pushed onto the message stack of a . This event passes data to its handlers with the class. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ChildDetachedHandler.xml0000644000175000001440000000273711345266756017103 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildDetachedHandler instance to the event. The methods referenced by the ChildDetachedHandler instance are invoked whenever the event is raised, until the ChildDetachedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrintError.xml0000644000175000001440000000350011345266756015233 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintErrorGType)) Field Gtk.PrintError General error. Field Gtk.PrintError Internal error occurred. Field Gtk.PrintError Out of memory. Field Gtk.PrintError Invalid File. Print error enumeration. gtk-sharp-2.12.10/doc/en/Gtk/WidgetEventAfterHandler.xml0000644000175000001440000000405311345266756017636 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the WidgetEventAfterHandler instance to the event. The methods referenced by the WidgetEventAfterHandler instance are invoked whenever the event is raised, until the WidgetEventAfterHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SizeChangedArgs.xml0000644000175000001440000000276211345266756016137 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The new icon size. an integer representing the icon size. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/DeleteRangeArgs.xml0000644000175000001440000000431111345266756016122 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data for deleting a range of text. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TextIter The end of the text range to delete. A Property Gtk.TextIter The beginning of the text range to delete. A gtk-sharp-2.12.10/doc/en/Gtk/StateChangedHandler.xml0000644000175000001440000000272111345266756016761 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StateChangedHandler instance to the event. The methods referenced by the StateChangedHandler instance are invoked whenever the event is raised, until the StateChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CurrentParagraphIndentationChangedArgs.xml0000644000175000001440000000372211345266756022667 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The new indentation level of the paragraph. An integer, the new indentation level. gtk-sharp-2.12.10/doc/en/Gtk/ChangedHandler.xml0000644000175000001440000000371511345266756015764 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChangedHandler instance to the event. The methods referenced by the ChangedHandler instance are invoked whenever the event is raised, until the ChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SubmenuDirection.xml0000644000175000001440000000405611345266756016413 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration for direction of submenus. System.Enum GLib.GType(typeof(Gtk.SubmenuDirectionGType)) Field Gtk.SubmenuDirection Left direction. Field Gtk.SubmenuDirection Right direction. gtk-sharp-2.12.10/doc/en/Gtk/FileChooserAction.xml0000644000175000001440000000643011345266756016472 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes whether a is being used to open existing files or to save to a possibly new file. System.Enum GLib.GType(typeof(Gtk.FileChooserActionGType)) Field Gtk.FileChooserAction Indicates open mode. The file chooser will only let the user pick an existing file. Field Gtk.FileChooserAction Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename. Field Gtk.FileChooserAction Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder. Field Gtk.FileChooserAction Indicates a mode for creating a new folder. The file chooser will let the user name an existing or new folder. gtk-sharp-2.12.10/doc/en/Gtk/PageSetupUnixDialog.xml0000644000175000001440000000637111345266756017017 00000000000000 gtk-sharp 2.12.0.0 Gtk.Dialog Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property Gtk.PageSetup To be added. To be added. To be added. Property Gtk.PrintSettings To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/IconViewDropPosition.xml0000644000175000001440000000477711345266756017243 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.IconViewDropPositionGType)) Field Gtk.IconViewDropPosition Drops above the item. Field Gtk.IconViewDropPosition Drops below the item. Field Gtk.IconViewDropPosition Drop to the left of the item. Field Gtk.IconViewDropPosition No drops allowed. Field Gtk.IconViewDropPosition Drops to the right of the item. Field Gtk.IconViewDropPosition Drops into the item. IconView Drop locations. gtk-sharp-2.12.10/doc/en/Gtk/ActionEntry.xml0000644000175000001440000001577111345266756015401 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A struct containing all the info necessary for creating an The ActionEntry struct is C# "syntactic sugar", designed to make it easier for developers to add s to their code. Instead of creating a new object for each action, a developer can create an array of ActionEntry's and add them to an all at once using the method. System.ValueType Field System.String A unique name for the action. Field System.String The stock icon displayed in widgets representing this action. Field System.String The label used for menu items and buttons that activate this action. Field System.String A tooltip for this action. Field System.String The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator. Field System.EventHandler EventHandler to be called when the action is triggered. Constructor Public constructor. a , a unique name a , a stock icon Constructor Public constructor. a , a unique name a , a stock icon a , a handler to run when the action is activated Constructor Public constructor. a , a unique name a , a stock icon a , label text a , an accelerator sequence a , tooltip text a , a handler to run when the action is activated gtk-sharp-2.12.10/doc/en/Gtk/ScrollAdjustmentsSetHandler.xml0000644000175000001440000000416411345266756020566 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the ScrollAdjustmentsSetHandler instance to the event. The methods referenced by the ScrollAdjustmentsSetHandler instance are invoked whenever the event is raised, until the ScrollAdjustmentsSetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MapEventHandler.xml0000644000175000001440000000264511345266756016153 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MapEventHandler instance to the event. The methods referenced by the MapEventHandler instance are invoked whenever the event is raised, until the MapEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/QueryTooltipHandler.xml0000644000175000001440000000145111345266756017106 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/FileFilterFunc.xml0000644000175000001440000000305611345266756015774 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. Delegate class for ; see that method's documentation for more details. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/SelectPageHandler.xml0000644000175000001440000000267511345266756016453 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectPageHandler instance to the event. The methods referenced by the SelectPageHandler instance are invoked whenever the event is raised, until the SelectPageHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeViewColumnDropFunc.xml0000644000175000001440000000302211345266756017475 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. A delegate type to specify a function signature for saying where a dragged column may be dropped. See for more details on how this delegate should be used. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/LinkButton.xml0000644000175000001440000000760411345266756015227 00000000000000 gtk-sharp 2.12.0.0 Gtk.Button Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method Gtk.LinkButtonUriFunc To be added. To be added. To be added. To be added. Property GLib.Property("uri") System.String To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/StateType.xml0000644000175000001440000000737711345266756015067 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used to indicate the visual state of a . This enumeration is used to indicate the current state of a widget; the state determines how the widget is draw. This enumeration is also used to identify different colors in a for drawing, so states can be used for subparts of a widget as well as entire widgets. System.Enum GLib.GType(typeof(Gtk.StateTypeGType)) Field Gtk.StateType State during normal operation. State during normal operation. Field Gtk.StateType State of a currently active widget, such as a depressed button. State of a currently active widget, such as a depressed button. Field Gtk.StateType State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. Field Gtk.StateType State of a selected item, such the selected row in a list. State of a selected item, such the selected row in a list. Field Gtk.StateType State indicating that the widget is unresponsive to user actions. State indicating that the widget is unresponsive to user actions. gtk-sharp-2.12.10/doc/en/Gtk/ScrollHandler.xml0000644000175000001440000000261411345266756015666 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ScrollHandler instance to the event. The methods referenced by the ScrollHandler instance are invoked whenever the event is raised, until the ScrollHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RowExpandedHandler.xml0000644000175000001440000000271011345266756016645 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowExpandedHandler instance to the event. The methods referenced by the RowExpandedHandler instance are invoked whenever the event is raised, until the RowExpandedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/AccelMapForeach.xml0000644000175000001440000000265011345266756016067 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. To be added. A delegate for running over each entry in an accelerator. See . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RowsReorderedHandler.xml0000644000175000001440000000362711345266756017223 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowsReorderedHandler instance to the event. The methods referenced by the RowsReorderedHandler instance are invoked whenever the event is raised, until the RowsReorderedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/FocusedArgs.xml0000644000175000001440000000341111345266756015333 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.DirectionType How the focus on this widget behaves. gtk-sharp-2.12.10/doc/en/Gtk/Quit.xml0000644000175000001440000001257611345266756014064 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Object to encapsulate code for running at the end of program execution. System.Object Method System.Void Removes a quit handler by its identifier. a Method System.UInt32 Registers a function to be called when an instance of the mainloop is left. a a a Method System.UInt32 Registers a function to be called when an instance of the mainloop is left. a a a a a a In comparison to this function adds the possibility to pass a marshaller and a function to be called when the quit handler is freed. The former can be used to run interpreted code instead of a compiled function while the latter can be used to free the information stored in data. Method System.Void Removes a quit handler identified by its field. a Method System.Void Trigger destruction of in case the mainloop at level is quit. a a Constructor Default Constructor gtk-sharp-2.12.10/doc/en/Gtk/CellRendererAccelMode.xml0000644000175000001440000000243011345266756017231 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.CellRendererAccelModeGType)) Field Gtk.CellRendererAccelMode Other accelerators are supported. Field Gtk.CellRendererAccelMode Gtk accelerators are supported. Cell Renderer Accelerator Mode enumeration. gtk-sharp-2.12.10/doc/en/Gtk/HTMLClassProperties.xml0000644000175000001440000000253511345266756016743 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A properties class for . Internal. Do not use. GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gtk/StockItem.xml0000644000175000001440000001457311345266756015043 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Contains information about a related object. Each stock ID can be associated with a , which contains the user-visible label, keyboard accelerator, and translation domain of the menu or toolbar item; and/or with an icon stored in a . See for more information on stock icons. The connection between a and stock icons is purely conventional (by virtue of using the same stock ID); it is possible to register a stock item but no icon, and vice versa. System.ValueType Field Gtk.StockItem An empty Method Gtk.StockItem Returns a new using the given . an object of type an object of type This is not typically used by user code. Method System.Void Frees the memory used by this object. Method Gtk.StockItem Makes a copy of the current . an object of type Field System.String The identifying name of the . Field System.String User-visible label. Field Gdk.ModifierType Sets the modifier, if any, for this object's accelerator. See for eligible keys and mouse button values. Field System.UInt32 Keyboard accelerator. Field System.String Specifies the translation domain for this item, for use in globalization. Constructor Public constructor a a a a a gtk-sharp-2.12.10/doc/en/Gtk/ToggleToolButton.xml0000644000175000001440000001273611345266756016413 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A base class for toolbar buttons that behave like toggles. Gtk.ToolButton Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use. a , pointer to underlying C object. Constructor Public constructor. Constructor Public constructor for use with stock items. a , the id of a stock item whose icon and label you want to use Property GLib.GType The of this object. a Property System.Boolean The current state of the toggle button. a , true if button is pressed in and false if it is raised. GLib.Property("active") Event System.EventHandler Emitted whenever the toggle button changes state. GLib.Signal("toggled") gtk-sharp-2.12.10/doc/en/Gtk/MnemonicHash.xml0000644000175000001440000000325611345266756015506 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.10/doc/en/Gtk/HelpShownHandler.xml0000644000175000001440000000266011345266756016340 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the HelpShownHandler instance to the event. The methods referenced by the HelpShownHandler instance are invoked whenever the event is raised, until the HelpShownHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ButtonBoxStyle.xml0000644000175000001440000000651511345266756016103 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to dictate the style that a uses to layout the buttons it contains. (See also: and ). System.Enum GLib.GType(typeof(Gtk.ButtonBoxStyleGType)) Field Gtk.ButtonBoxStyle Default packing. Field Gtk.ButtonBoxStyle Buttons are evenly spread across the ButtonBox. Field Gtk.ButtonBoxStyle Buttons are placed at the edges of the ButtonBox. Field Gtk.ButtonBoxStyle Buttons are grouped towards the start of box, (on the left for a , or the top for a ). Field Gtk.ButtonBoxStyle Buttons are grouped towards the end of a box, (on the right for a , or the bottom for a ). Field Gtk.ButtonBoxStyle To be added. gtk-sharp-2.12.10/doc/en/Gtk/EntryCompletion.xml0000644000175000001440000006755311345266756016302 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This object allows a widget to suggest possible completions of a string which has been partially entered. The partially-entered string is also referred to as a "key". using System; using Gtk; public class DemoEntryCompletion : Window { static void Main () { Application.Init (); new DemoEntryCompletion (); Application.Run (); } public DemoEntryCompletion () : base ("Demo Entry Completion") { this.BorderWidth = 10; this.Resizable = false; VBox vbox = new VBox (); Label label = new Label ("Completion demo, try writing <b>total</b> or </b>gnome</b> for example."); label.UseMarkup = true; vbox.PackStart (label, false, true, 0); Entry entry = new Entry (); entry.Completion = new EntryCompletion (); entry.Completion.Model = CreateCompletionModel (); entry.Completion.TextColumn = 0; vbox.PackStart (entry, false, true, 0); this.Add (vbox); this.ShowAll (); } TreeModel CreateCompletionModel () { ListStore store = new ListStore (typeof (string)); store.AppendValues ("GNOME"); store.AppendValues ("total"); store.AppendValues ("totally"); return store; } } GLib.Object Gtk.CellLayout Method System.Void This method is called whenever an action is activated. a Method System.Boolean This method is called whenever the user selects one of the suggested matches. a , the model the match was selected from a , the row the user picked a Method System.Void Inserts an action in the completion's action item list at position with markup . a a Method System.Void Inserts an action in the completion's action item list at position with text . a a If you want the item to have markup, use . Method System.Void Requests a completion operation, or in other words a refiltering of the current list with completions, using the current key. The completion list view will be updated accordingly. Method System.Void Deletes the action at from the action list for this completion. a Method System.Void Reinserts into the completion list at . a a Method System.Void Adds the to the end of the entry-completion widget. a a If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method System.Void Packs the into the beginning of the entry-completion widget. a a If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method System.Void Adds an attribute mapping to the list in this entry-completion widget. a a , parameter on to be set from the value a , column of the model to get a value from. The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Method System.Void Clears all existing attributes previously set with . a Method System.Void Clears the completion. Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use only. a Constructor Constructor for general use. Property GLib.GType GType Property. a Returns the native value for . Property System.Int32 Minimum string length for enabling completion. a Requires the length of the search key for this completion to be at least a certain length. This is useful for long lists, where completing using a small key takes a lot of time and will come up with meaningless results anyway (ie, a too large dataset). GLib.Property("minimum-key-length") Property System.Int32 Setting this property generates a completion list with just strings. a Setting this convenience property will set up the completion to have a list displaying all (and just) strings in the completion list, and to get those strings from a particular column number in the model of the completion object. GLib.Property("text-column") Property Gtk.Widget Returns the entry widget this completion object has been attached to. a Event Gtk.ActionActivatedHandler Event triggered when a particular action is activated. GLib.Signal("action_activated") Event Gtk.MatchSelectedHandler Event triggered when the user selects a match. GLib.Signal("match_selected") Method System.Void Sets up a data function for this layout. a a The data function is used instead of the standard attributes mapping for setting the column value, and should set the value of the layout's cell renderer(s) as appropriate. may be to remove an older one. Property Gtk.TreeModel Tree data model. a GLib.Property("model") Method System.Void System.ParamArray Sets the attribute to model column bindings for a renderer. a a The array should be pairs of attribute names and column indexes. Property Gtk.EntryCompletionMatchFunc The matching function a The match function is used to determine if a row should or should not be in the completion list. Property System.Boolean To be added a To be added GLib.Property("inline-completion") Property System.Boolean To be added a To be added GLib.Property("popup-completion") Event Gtk.PrefixInsertedHandler To be added To be added GLib.Signal("insert_prefix") Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void To be added To be added Property GLib.Property("popup-single-match") System.Boolean Controls if popup is displayed on a single match. if popup is displayed on single matches. Set this to for inline completion. Property GLib.Property("popup-set-width") System.Boolean Controls if the popup is sized to the same width as the entry. if popup size is same as entry size. Property Gtk.CellRenderer[] To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Event GLib.Signal("cursor_on_match") Gtk.CursorOnMatchHandler To be added. To be added. Property GLib.Property("inline-selection") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ButtonPressEventHandler.xml0000644000175000001440000000227511345266756017725 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Represents a method that will handle a button press event The events is provided an value that contains the event data (). System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/FocusOutEventHandler.xml0000644000175000001440000000273411345266756017204 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusOutEventHandler instance to the event. The methods referenced by the FocusOutEventHandler instance are invoked whenever the event is raised, until the FocusOutEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RecentChooserProp.xml0000644000175000001440000001011511345266756016531 00000000000000 gtk-sharp 2.12.0.0 System.Enum Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. Field Gtk.RecentChooserProp To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TextTag.xml0000644000175000001440000014250711345266756014520 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A tag that can be applied to text in a Tags should be in the for a given before using them with that buffer. is the best way to create tags. GLib.Object Method System.Boolean Fires a signal on this Gtk.TextTag. a , the object that received the event. a , the event to fire a , the location where the event was received A , true if the event was handled. TODO: show an example. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new the name of the tag, or if it's an anonymous tag Property System.Int32 The tag's priority The priority of the current tag Sets the priority of a . Valid priorities are start at 0 and go to one less than . Each tag in a table has a unique priority; setting the priority of one tag shifts the priorities of all the other tags in the table to maintain a unique priority for each tag. Higher priority tags win if two tags both set the same text attribute. When adding a tag to a tag table, it will be assigned the highest priority in the table by default; so normally the precedence of a set of tags is the order in which they were added to the table, or created with ), which adds the tag to the buffer's table automatically. Property System.Boolean Whether to strike through the text Whether to strike through the text GLib.Property("strikethrough") Property System.Boolean Whether this text is hidden. Whether or not this text is hidden GLib.Property("invisible") Property Gdk.Pixmap Bitmap to use as a mask when drawing the text foreground. a bitmap GLib.Property("foreground-stipple") Property System.Int32 Offset of text above the baseline Offset of the text above the baseline Offset of text above the baseline (below the baseline if rise is negative) in pixels. GLib.Property("rise") Property System.Int32 Width of the right margin Width of the right margin GLib.Property("right-margin") Property System.String Name of the font family The name of the font family Name of the font family, e.g. Sans, Helvetica, Times, Monospace. GLib.Property("family") Property System.String Font description the font description as a string Font description as a string, e.g. "Sans Italic 12". GLib.Property("font") Property Pango.Stretch Font stretch font stretch GLib.Property("stretch") Property System.Boolean Whether the text can be modified by the user whether the text can be modified by the user GLib.Property("editable") Property Gtk.Justification Text justification the justification of the current text Left, right, or center justification. GLib.Property("justification") Property System.Int32 Pixels of blank space between wrapped lines in a paragraph An integer GLib.Property("pixels-inside-wrap") Property System.Int32 Pixels of blank space below paragraphs. Pixels of blank space below paragraphs. GLib.Property("pixels-below-lines") Property Gdk.Pixmap Bitmap to use as a mask when drawing the text background. The background bitmap GLib.Property("background-stipple") Property System.Int32 Width of the left margin in pixels. The width of the margin GLib.Property("left-margin") Property System.Double Font size in points. The font size GLib.Property("size-points") Property Gtk.TextDirection Text direction, e.g. right-to-left or left-to-right. The text direction GLib.Property("direction") Property System.Int32 Pixels of blank space above paragraphs. The blank space above the paragraphs in pixels GLib.Property("pixels-above-lines") Property Gtk.WrapMode Whether to wrap lines never, at word boundaries, or at character boundaries. a GLib.Property("wrap-mode") Property System.String The name of this tag The name of this name, or if it's an anonymous tag GLib.Property("name") Property System.Int32 Amount to indent the paragraph, in pixels The indent of the paragraph GLib.Property("indent") Property System.String Foreground color the foreground color GLib.Property("foreground") Property Gdk.Color Background color as a (possibly unallocated) . The background color GLib.Property("background-gdk") Property Gdk.Color Foreground color as a (possibly unallocated) . The foreground color GLib.Property("foreground-gdk") Property Pango.TabArray Custom tabs for this text. the custom tabs for this text GLib.Property("tabs") Property Pango.Underline Style of underline for this text. The underline style for this text GLib.Property("underline") Property System.Double Font size as a scale factor relative to the default font size The font size as a scale factor This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as . GLib.Property("scale") Property System.String The language of the text The ISO code of the language of this text GLib.Property("language") Property System.Int32 Font size The font size in Pango units GLib.Property("size") Property Pango.Style Font style the font style of this text GLib.Property("style") Property Pango.Variant Font variant The font variant of this text GLib.Property("variant") Property System.String Background color GLib.Property("background") Property Pango.FontDescription The FontDescription for the tag. a GLib.Property("font-desc") Property System.Boolean Whether the background color fills the entire line height or only the height of the tagged characters. Whether the background color fills the entire line height or only the height of the tagged characters. GLib.Property("background-full-height") Property Pango.Weight Font weight as an integer. a see predefined values in ; for example, . Allowed values: >= 0 Default value: 400 Event Gtk.TextEventHandler Raised whenever this text tag explicitly fires an event; general-purpose event. GLib.Signal("event") Property GLib.GType GType Property. a Returns the native value for . Method System.Boolean Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.Property("weight_set") System.Boolean Indicates if the Weight property holds a value. if the property is set. Property GLib.Property("pixels_above_lines_set") System.Boolean Indicates if the PixelsAboveLines property holds a value. if the property is set. Property GLib.Property("variant_set") System.Boolean Indicates if the Variant property holds a value. if the property is set. Property GLib.Property("background_full_height_set") System.Boolean Indicates if the BackgroundFullHeight property holds a value. if the property is set. Property GLib.Property("rise_set") System.Boolean Indicates if the Rise property holds a value. if the property is set. Property GLib.Property("style_set") System.Boolean Indicates if the Style property holds a value. if the property is set. Property GLib.Property("tabs_set") System.Boolean Indicates if the Tabs property holds a value. if the property is set. Property GLib.Property("wrap_mode_set") System.Boolean Indicates if the WrapMode property holds a value. if the property is set. Property GLib.Property("family_set") System.Boolean Indicates if the Family property holds a value. if the property is set. Property GLib.Property("left_margin_set") System.Boolean Indicates if the LeftMargin property holds a value. if the property is set. Property GLib.Property("strikethrough_set") System.Boolean Indicates if the Strikethrough property holds a value. if the property is set. Property GLib.Property("editable_set") System.Boolean Indicates if the Editable property holds a value. if the property is set. Property GLib.Property("scale_set") System.Boolean Indicates if the Scale property holds a value. if the property is set. Property GLib.Property("stretch_set") System.Boolean Indicates if the Stretch property holds a value. if the property is set. Property GLib.Property("size_set") System.Boolean Indicates if the Size property holds a value. if the property is set. Property GLib.Property("pixels_below_lines_set") System.Boolean Indicates if the PixelsBelowLines property holds a value. if the property is set. Property GLib.Property("foreground_set") System.Boolean Indicates if the Foreground property holds a value. if the property is set. Property GLib.Property("background_set") System.Boolean Indicates if the Background property holds a value. if the property is set. Property GLib.Property("right_margin_set") System.Boolean Indicates if the RightMargin property holds a value. if the property is set. Property GLib.Property("underline_set") System.Boolean Indicates if the Underline property holds a value. if the property is set. Property GLib.Property("language_set") System.Boolean Indicates if the Language property holds a value. if the property is set. Property GLib.Property("justification_set") System.Boolean Indicates if the Justification property holds a value. if the property is set. Property GLib.Property("pixels_inside_wrap_set") System.Boolean Indicates if the PixelsInsideWrap property holds a value. if the property is set. Property GLib.Property("background_stipple_set") System.Boolean Indicates if the BackgroundStipple property holds a value. if the property is set. Property GLib.Property("indent_set") System.Boolean Indicates if the Indent property holds a value. if the property is set. Property GLib.Property("foreground_stipple_set") System.Boolean Indicates if the ForegroundStipple property holds a value. if the property is set. Property GLib.Property("invisible_set") System.Boolean Indicates if the Invisible property holds a value. if the property is set. Property GLib.Property("paragraph-background-gdk") Gdk.Color Paragraph background color as a . a . The color returned may be unallocated. Property GLib.Property("paragraph-background") System.String Paragraph background color. Background color as a . Property GLib.Property("accumulative-margin") System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/IMContext.xml0000644000175000001440000005023411345266756015005 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A base class for input method contexts. GLib.Object Method System.Void Notify the input method that the widget to which this input context corresponds has gained focus. The input method may, for example, change the displayed feedback to reflect this change. Method System.Void Notify the input method that the widget to which this input context corresponds has lost focus. The input method may, for example, change the displayed feedback or reset the contexts state to reflect this change. Method System.Boolean Asks the widget that the input context is attached to to delete characters around the cursor position by emitting the signal. a a a , if the signal was handled. Note that and are in characters not in bytes, which differs from the usage other places in . In order to use this function, you should first call to get the current context, and call this function immediately afterwards to make sure that you know what you are deleting. You should also account for the fact that even if the signal was handled, the input context might not have deleted all the characters that were requested to be deleted. This function is used by an input method that wants to make subsitutions in the existing text in response to new input. It is not useful for applications. Method System.Boolean Allow an input method to handle a . a representing a key press. if the keypress was handled. If the method returns , no further processing should be done for . Method System.Void Resets the state of the input method. Call this method if, for example, a change in cursor position has occurred. The reset clears any existing pre-edit state. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gdk.Window Set the client window for the input context; this is the in which the input appears. a The client window is used in order to correctly position status windows. It may also be used for purposes internal to the input method. Property Gdk.Rectangle Notify the input method that a change in cursor position has been made. a The location is relative to the client window. Property System.Boolean Whether the IM context should use the preedit string to display feedback. a If is (default is ), then the IM context may use some other method to display feedback, such as displaying it in a child of the root window. Event System.EventHandler Event raised when the preedit string is changed. GLib.Signal("preedit_changed") Event System.EventHandler Event raised when pre-editing is started. GLib.Signal("preedit_start") Event Gtk.SurroundingDeletedHandler Event raised when the input method needs to delete the context text. GLib.Signal("delete_surrounding") Event Gtk.CommitHandler Commit text event. The event is emitted when the input method has processed all the keystrokes for an individual text element, including pre-edit keystrokes. The resulting text is located in GLib.Signal("commit") Event Gtk.RetrieveSurroundingHandler Event raised when the input method requires the context surrounding the cursor. GLib.Signal("retrieve_surrounding") Event System.EventHandler Event raised when pre-editing is completed. GLib.Signal("preedit_end") Method System.Void Sets surrounding context around the insertion point and preedit string. a a This function is expected to be called in response to the event, and it will likely have no effect if called at other times. Method System.Boolean Gets the context around the insertion point. a a a Input methods typically want context in order to constrain input text based on existing text; this is important for languages such as Thai where only some sequences of characters are allowed. This function is implemented by emitting the event on the input method; in response to this signal, a widget should provide as much context as is available, up to an entire paragraph, by calling . Note that there is no obligation for a widget to respond to the signal, so input methods must be prepared to function without context. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void a , a location to store , the retrieved string. a , location to store the retrieved attribute list. To be added. Retrieve the current preedit string for the input context and a list of attributes to apply to the string. This string should be displayed inserted at the insertion point. Constructor Protected Constructor. gtk-sharp-2.12.10/doc/en/Gtk/Draw.xml0000644000175000001440000010506411345266756014032 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A class for drawing various shapes; mostly obsolete. System.Object Method System.Void Obsolete. Do not use. a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a Method System.Void Obsolete. Do not use. a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a Method System.Void Obsolete. Do not use. a a a a a a Method System.Void Obsolete. Do not use. a a a a a a a a a Method System.Void Draws a text caret on at . * a a a , rectangle to which the output is clipped, or if the output should not be clipped a location where to draw the cursor (.Width is ignored) a , whether the cursor should be the primary cursor color. a , whether the cursor is left-to-right or right-to-left. Should never be . a , to draw a directional arrow on the cursor. Should be unless the cursor is split. This is not a style function but merely a convenience function for drawing the standard cursor shape. Constructor Public constructor. gtk-sharp-2.12.10/doc/en/Gtk/TextBufferTargetInfo.xml0000644000175000001440000000305011345266756017166 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.TextBufferTargetInfoGType)) Field Gtk.TextBufferTargetInfo To be added. Field Gtk.TextBufferTargetInfo To be added. Field Gtk.TextBufferTargetInfo To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DragDataReceivedArgs.xml0000644000175000001440000000756611345266756017100 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The time the data was received by the destination widget. A Property System.UInt32 For internal use. a Property Gtk.SelectionData The data from the drag-and-drop selection that was dropped as part of the event. a object. Property System.Int32 The Y coordinate where the data was dropped. An integer. Property System.Int32 The X coordinate where the data was dropped. An integer. Property Gdk.DragContext The context of this drag. a gtk-sharp-2.12.10/doc/en/Gtk/PrinterOptionSetFunc.xml0000644000175000001440000000145311345266756017236 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Printer option. Printer option setting callback delegate. Used only be backend code. Exposed for use by managed backend implementations. gtk-sharp-2.12.10/doc/en/Gtk/CellLayoutDataFunc.xml0000644000175000001440000000402611345266756016614 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A . A whose value is to be set. The model. A indicating the row to set the value for. Delegate class used as an argument for ; see that method's documentation for usage details. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PageRange.xml0000644000175000001440000000404511345266756014763 00000000000000 gtk-sharp 2.12.0.0 System.ValueType Field System.Int32 Start page. Field System.Int32 End page. Field Gtk.PageRange An Empty range. Method Gtk.PageRange A native struct pointer. Creates a managed range from a native range. A managed structure. Normally only used by language bindings. Page range structure. gtk-sharp-2.12.10/doc/en/Gtk/HScale.xml0000644000175000001440000001103711345266756014270 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A horizontal slider widget for selecting a value from a range. The HScale widget allows the user to select a value with a horizontal slider. This widget and its model is manipulated using methods and properties in its super classes, and . Gtk.Scale Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new horizontal slider based on the data in . The model to use for this HScale To create a horizontal slider without explicit use of a , use the alternative constructor. Constructor Creates a new horizontal slider without the need for an object. The minimum value that is accepted by this HScale. The maximum value that is accepted by this HScale. The value to adjust the HScale by when 'sliding'. Creates a new horizontal slider that lets the user input a number between (and including) and . Each adjustment of the slider changes the value by , which must be non-zero. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/AttachOptions.xml0000644000175000001440000000427511345266756015717 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Denotes the expansion properties that a will have when it (or its parent) is resized. System.Enum GLib.GType(typeof(Gtk.AttachOptionsGType)) System.Flags Field Gtk.AttachOptions The should expand to take up any extra space in its container that has been allocated. Field Gtk.AttachOptions The should shrink when possible. Field Gtk.AttachOptions The should fill the space allocated to it. gtk-sharp-2.12.10/doc/en/Gtk/RetrieveSurroundingArgs.xml0000644000175000001440000000263311345266756017775 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/RadioMenuItem.xml0000644000175000001440000001614311345266756015636 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A radio-style control (pick one of a list of options) for a menu. Gtk.CheckMenuItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor A , the group this item belongs to A , this item's label. Property GLib.SList The group the menu item is inside. A GLib.Property("group") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Basic constructor. a Event System.EventHandler Emitted when the group of radio menu items that a radio button belongs to changes. This is emitted when a radio button switches from being alone to being part of a group of 2 or more menu items, or vice-versa, and when a buttton is moved from one group of 2 or more menu items to a different one, but not when the composition of the group that a button belongs to changes. GLib.Signal("group-changed") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Basic constructor. a , group the menu item is inside (XXX: this type looks wrong) Constructor Constructor with support for mnemonic labels. a , group the menu item is inside (XXX: this type looks wrong) a the text of the button, with an underscore in front of the mnemonic character gtk-sharp-2.12.10/doc/en/Gtk/AddedHandler.xml0000644000175000001440000000260711345266756015433 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AddedHandler instance to the event. The methods referenced by the AddedHandler instance are invoked whenever the event is raised, until the AddedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/InsertionColorChangedHandler.xml0000644000175000001440000000306111345266756020650 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the InsertionColorChangedHandler instance to the event. The methods referenced by the InsertionColorChangedHandler instance are invoked whenever the event is raised, until the InsertionColorChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Item.xml0000644000175000001440000002135111345266756014027 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Abstract base class for , and . The widget is an abstract base class for , and . Gtk.Bin Method System.Void Emits the event on the given item. Emits the event on the given item. Method System.Void Emits the event on the given item. Emits the event on the given item. Method System.Void Emits the event on the given item. Emits the event on the given item. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Event System.EventHandler Emitted when the is deselected. Emitted when the is deselected. GLib.Signal("deselect") Event System.EventHandler Emitted when the is selected. Emitted when the is selected. GLib.Signal("select") Event System.EventHandler Emitted when the is toggled. Emitted when the is toggled. GLib.Signal("toggle") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Constructor Method System.Void Deletes all widgets constructed from the specified path. a , a factory path to prepend to . May be if starts with a factory path. a , a path gtk-sharp-2.12.10/doc/en/Gtk/PrintOperationResult.xml0000644000175000001440000000351511345266756017307 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintOperationResultGType)) Field Gtk.PrintOperationResult To be added. Field Gtk.PrintOperationResult To be added. Field Gtk.PrintOperationResult To be added. Field Gtk.PrintOperationResult To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/OrientationChangedArgs.xml0000644000175000001440000000351511345266756017515 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Orientation The new orientation of the toolbar. A . gtk-sharp-2.12.10/doc/en/Gtk/TextDirection.xml0000644000175000001440000000411211345266756015712 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used to indicate the reading direction of a . See to change the text direction of a widget. System.Enum GLib.GType(typeof(Gtk.TextDirectionGType)) Field Gtk.TextDirection No specific text direction; will be used. Field Gtk.TextDirection Left to right. Field Gtk.TextDirection Right to left. gtk-sharp-2.12.10/doc/en/Gtk/PreviewHandler.xml0000644000175000001440000000234011345266756016045 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PreviewHandler instance to the event. The methods referenced by the PreviewHandler instance are invoked whenever the event is raised, until the PreviewHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/DisconnectProxyHandler.xml0000644000175000001440000000404311345266756017561 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DisconnectProxyHandler instance to the event. The methods referenced by the DisconnectProxyHandler instance are invoked whenever the event is raised, until the DisconnectProxyHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RecentSortType.xml0000644000175000001440000000341111345266756016060 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.RecentSortTypeGType)) Field Gtk.RecentSortType To be added. Field Gtk.RecentSortType To be added. Field Gtk.RecentSortType To be added. Field Gtk.RecentSortType To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Button.xml0000644000175000001440000006314711345266756014415 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget that creates a signal when clicked on. The widget is generally used to attach to a function that is called when the button is pressed. The widget can hold any valid child widget. That is, it can hold most any other standard . The most commonly used child is the . using Gtk; using System; public class ButtonApp { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Button Tester"); win.SetDefaultSize (200, 150); win.DeleteEvent += new DeleteEventHandler (Window_Delete); Button btn = new Button ("Click Me"); btn.Clicked += new EventHandler (btn_click); win.Add (btn); win.ShowAll (); Application.Run (); return 0; } static void btn_click (object obj, EventArgs args) { Console.WriteLine ("Button Clicked"); } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } Gtk.Bin Property System.Boolean Whether the should use a . Gets a value indicating if the uses a . It is possible to create a from , which is recommended for consistency in apps. They also provide a and a key shortcut. GLib.Property("use-stock") Property System.Boolean Indicates if a mnemonic is associated with the . Gets a value indicating if the uses underline or not. GLib.Property("use-underline") Property Gtk.ReliefStyle The for the . An instance of that represents the relief style of the . GLib.Property("relief") Property System.String The text of the in the . The contained by the . If you want the Label to have a mnemonic you need to set to . GLib.Property("label") Event System.EventHandler Event launched when the is activated. GLib.Signal("activate") Event System.EventHandler Event launched when the is clicked. GLib.Signal("clicked") Event System.EventHandler Event launched when the cursor leaves the area. GLib.Signal("leave") Event System.EventHandler Event launched when the is pressed. GLib.Signal("pressed") Event System.EventHandler Event launched when the is released. GLib.Signal("released") Event System.EventHandler Event launched when the cursor enters the area. GLib.Signal("enter") Method Gtk.Button Creates a widget with a child containing the given text. The text you want the to hold. The newly created widget. Method System.Void Emits a signal to the given . Emits a signal to the given . Method System.Void Emits a signal to the given . Emits a signal to the given . Method System.Void Emits a signal to the given . Emits a signal to the given . Method System.Void Emits a signal to the given . Emits a signal to the given . Method System.Void Emits a signal to the given . Emits a signal to the given . Constructor Default parameterless constructor. This is the default constructor for the class. Constructor Internal constructor an object of type This is not typically used by C# code. Property System.Boolean Whether or not the cursor is inside the button. a , true if the cursor is inside the button. Method Gtk.Button Creates a labeled . a a Constructor that creates a labeled . The label shows the string passed as parameter. Constructor Creates a new containing the image and text from a stock item. a The valid names of Stock items can be found in the class. If is unknown, then it will be treated as a simple label. This for example creates a stock OK button. It sets a localized label, a standard icon (choosed from your GTK theme), and the appropriate keyboard accelerator: Button b = new Button (Stock.Ok); Property GLib.GType GType Property. a Returns the native value for . Method GLib.GType Returns the kind of action this button does. a There are four possible options: "ignored", "selects", "drags", and "expands". Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Constructs a button containing a specified Child widget. a child Property System.Boolean Whether the button grabs focus when it is clicked with the mouse. a GLib.Property("focus-on-click") Property System.Single If the child of the button is a or , this property can be used to control its horizontal alignment. a ; 0.0 is left aligned, 1.0 is right aligned. GLib.Property("xalign") Property System.Single If the child of the button is a or , this property can be used to control its vertical alignment. a ; 0.0 is top aligned, 1.0 is bottom aligned. GLib.Property("yalign") Method System.Void Gets the alignment of the child in the button. a to put the horizontal alignment in a to put the vertical alignment in A convenience method; shouldn't be Method System.Void Sets the alignment of the child. a , the horizontal position of the child; 0.0 is left aligned, 1.0 is right aligned. a , the vertical position of the child; 0.0 is top aligned, 1.0 is bottom aligned. This has no effect unless the button's child is a or . Property Gtk.Widget Child widget to appear next to the button text. A . GLib.Property("image") Property GLib.Property("image-position") Gtk.PositionType Position of the image relative to the text. a . gtk-sharp-2.12.10/doc/en/Gtk/TextInsertedHandler.xml0000644000175000001440000000360211345266756017050 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextInsertedHandler instance to the event. The methods referenced by the TextInsertedHandler instance are invoked whenever the event is raised, until the TextInsertedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RecentManager.xml0000644000175000001440000002544211345266756015651 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Event GLib.Signal("changed") System.EventHandler To be added. To be added. Property Gtk.RecentManager To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Property GLib.Property("filename") System.String To be added. To be added. To be added. Method Gtk.RecentManager To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method Gtk.RecentInfo To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property Gdk.Screen To be added. To be added. To be added. System.Obsolete Property GLib.Property("size") System.Int32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Main.xml0000644000175000001440000001240211345266756014012 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Main loop event processing class. Like all GUI toolkits, GTK+ uses an event-driven programming model. When the user is doing nothing, GTK+ sits in the main loop and waits for input. If the user performs some action - say, a mouse click - then the main loop "wakes up" and delivers an event to GTK+. GTK+ forwards the event to one or more widgets. When widgets receive an event, they frequently emit one or more signals. Signals notify your program that "something interesting happened" by invoking functions you've connected to the signal with g_signal_connect(). Functions connected to a signal are often termed callbacks. When your callbacks are invoked, you would typically take some action - for example, when an Open button is clicked you might display a GtkFileSelectionDialog. After a callback finishes, GTK+ will return to the main loop and await more user input. System.Object Method System.Boolean Runs one iteration of the main loop. if you want Gtk# to block if no events are pending. Returns if the method was invoked to terminate the innermost loop. Runs a single iteration of the mainloop. If no events are available either return or block dependent on the value of blocking. Method System.UInt32 Returns the current main loop level. The nesting level of the current main loop. Asks for the current nesting level of the main loop. This can be useful when calling the method. Method System.Boolean Runs an iteration of the main loop: blocks until an event is received. if the method was called to terminate the innermost main loop. Runs a single iteration of the main loop. If no events are waiting to be processed Gtk# will block until the next event is noticed. If you don't want to block look at or check if any events are pending with first. Method System.Void Processes a single Gdk Event. An event to process (normally) passed by GDK. Processes a single GDK event. This is public only to allow filtering of events between GDK and GTK+. You will not usually need to call this function directly. Method System.Void Terminates the innermost main loop. This terminates the innermost main loop. Constructor Public constructor. gtk-sharp-2.12.10/doc/en/Gtk/ProgressBarOrientation.xml0000644000175000001440000000603111345266756017574 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration representing possible orientations and growth directions for the visible . An enumeration representing possible orientations and growth directions for the visible . System.Enum GLib.GType(typeof(Gtk.ProgressBarOrientationGType)) Field Gtk.ProgressBarOrientation A horizontal growing from left to right. A horizontal growing from left to right. Field Gtk.ProgressBarOrientation A horizontal growing from right to left. A horizontal growing from right to left. Field Gtk.ProgressBarOrientation A vertical growing from bottom to top. A vertical growing from bottom to top. Field Gtk.ProgressBarOrientation A vertical growing from top to bottom. A vertical growing from top to bottom. gtk-sharp-2.12.10/doc/en/Gtk/TreeViewColumn.xml0000644000175000001440000010427311345266756016046 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A visible column in a widget. Gtk.Object Gtk.CellLayout Method System.Boolean Whether to display the column. an object of type Method System.Void Sets the cell renderer based on the and . an object of type an object of type an object of type an object of type That is, for every attribute mapping in , it will get a value from the set column on the , and use that value to set the attribute on the cell renderer. This is used primarily by the . Method System.Void Emit the clicked event on the column. Method System.Void Sets the to use for the column. an object of type an object of type an object of type an object of type This function is used instead of the standard attributes mapping for setting the column value, and should set the value of the as appropriate. may be to remove an older one. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new object. Property System.Int32 The column that the model sorts on when this column is selected for sorting. an object of type Property System.Int32 The number of pixels to place between s packed into the column. an object of type GLib.Property("spacing") Property System.Boolean The visibility of the . an object of type GLib.Property("visible") Property System.Boolean Whether the column can be reordered by the end user dragging the header. an object of type GLib.Property("reorderable") Property System.Int32 Maximum allowed width of the column. an object of type GLib.Property("max-width") Property System.Int32 Current width of the column. an object of type GLib.Property("width") Property System.Boolean Whether to show a sort indicator. an object of type GLib.Property("sort-indicator") Property Gtk.TreeViewColumnSizing Resize mode of the column. an object of type GLib.Property("sizing") Property Gtk.SortType Sort direction the sort indicator should indicate. an object of type GLib.Property("sort-order") Property System.Int32 Minimum allowed width of the column. an object of type GLib.Property("min-width") Property System.Single X Alignment of the column header text or widget. an object of type GLib.Property("alignment") Property System.String Title to appear in column header. an object of type GLib.Property("title") Property Gtk.Widget Widget to put in column header button instead of column title. an object of type GLib.Property("widget") Property System.Boolean Whether the header can be clicked. an object of type GLib.Property("clickable") Property System.Int32 Current fixed width of the column. an object of type GLib.Property("fixed-width") Property System.Boolean Whether column is user-resizable. an object of type GLib.Property("resizable") Event System.EventHandler Emitted when the column is clicked. GLib.Signal("clicked") Method System.Void Sets the to use for a renderer. a a This function is used instead of the standard attributes mapping for setting the column value, and should set the value of the as appropriate. may be to remove an older one. Method System.Void Sets the current keyboard focus to be at , if the column contains 2 or more editable and activatable cells. a Constructor Creates a new a a a Constructor System.ParamArray Creates a new a a a Method System.Boolean Obtains the horizontal position and size of a cell in a column. a a a a If the cell is not found in the column, and are not changed and is returned. Method System.Void Obtains the width and height needed to render the column. a a a a a This is used primarily by the . Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.CellRenderer[] Returns a list of all the s in the column, in no particular order. An array of s. Property System.Boolean Whether this column gets share of extra width allocated to the widget. a GLib.Property("expand") Method System.Void Re-inserts at . a a The given cell must already be packed into the layout for this method to work properly. Method System.Void Adds the to end of the column. an object of type an object of type If expand is , then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is . Method System.Void Packs the cell into the beginning of the column. an object of type an object of type If expand is , then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is . Method System.Void Adds an mapping to the list in . an object of type an object of type an object of type The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Method System.Void Clears all existing attributes. an object of type Method System.Void Unsets all the mappings on all renderers on the . Method System.Void Set the data func used to set cell renderer attributes. a a Method System.Void System.ParamArray Sets the attribute to model column bindings for a renderer. a a The array should consist of pairs of attribute name and column index. Method System.Void Sets the to use for a renderer. a a This function is used instead of the standard attributes mapping for setting the column value, and should set the value of the as appropriate. may be to remove an older one. Method System.Void Flags the column and its cell renderers for size renegotiation. Property Gtk.CellRenderer[] Cells property. An array of cell renderers packed in the column. Property Gtk.Widget Tree View property. The tree view owning the column. gtk-sharp-2.12.10/doc/en/Gtk/PrintBackendError.xml0000644000175000001440000000155711345266756016515 00000000000000 gtk-sharp 2.12.0.0 System.Enum Field Gtk.PrintBackendError Generic error. Print backend error enumeration. Not typically useful to user code. Exposed for managed backend implementations. gtk-sharp-2.12.10/doc/en/Gtk/RecentAction.xml0000644000175000001440000004050111345266756015505 00000000000000 gtk-sharp 2.12.0.0 Gtk.Action Gtk.RecentChooser Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.RecentInfo To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Event GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-numbers") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Property GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Container.xml0000644000175000001440000010021611345266756015051 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for widgets which contain other widgets A Gtk# user interface is constructed by nesting widgets inside widgets. widgets are the inner nodes in the resulting tree of widgets: they contain other widgets. So, for example, you might have a containing a containing a . If you wanted an image instead of a textual label inside the frame, you might replace the widget with a widget. There are two major kinds of widgets in Gtk#. Both are subclasses of the abstract base class. The first type of widget has a single child widget and derives from . These containers are decorators, which add some kind of functionality to the child. For example, a makes its child into a clickable button; a draws a frame around its child and a places its child widget inside a top-level . The second type of can have more than one child; its purpose is to manage layout. This means that these containers assign sizes and positions to their children. For example, a arranges its children in a horizontal row, and a arranges the widgets it contains in a two-dimensional grid. To fulfill its task, a layout must negotiate the size requirements with its parent and its children. This negotiation is carried out in two phases, size requisition and size allocation. Gtk.Widget System.Collections.IEnumerable System.Reflection.DefaultMember("Item") Method System.Void Attempts to resize this container. Method System.Void Gets the values of one or more child properties for child and container. an object of type an object of type an object of type Gets the values of one or more child properties for child and container. Method System.Void Adds a to the . an object of type Typically used for simple containers such as , , or ; for more complicated layout containers such as or , this function will pick default packing parameters that may not be correct. So consider functions such as and as an alternative to in those cases. A may be added to only one at a time; you can not place the same widget inside two different containers. Method System.Void Removes a from the . an object of type must be inside . Method System.Void Removes a focus chain. Removes a focus chain explicitly set with . Method System.Void Tries to resize the child widgets of this container. Method System.Void Sets a child property of a . a child of this the child property name the value to set to You will not normally need to use this method; Gtk# automatically generates child property accessors for all subclasses. Method GLib.Value Gets a child property of a . a child of this the child property name You will not normally need to use this method; Gtk# automatically generates child property accessors for all subclasses. To be added. Method System.Void Send synthetic expose events to all children that do not have their own . an object of type an object of type When a receives an expose event, it must send synthetic expose events to all children that do not have their own s. This function provides a convenient way of doing this. A , when it receives an expose event, calls once for each child, passing in the event the received. takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event. In most cases, a can either simply inherit the expose implementation from , or do some drawing and then chain to the expose implementation from . Method System.Void Sets one or more child properties for child and . an object of type an object of type an object of type Sets one or more child properties for child and . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gtk.Adjustment The vertical focus adjustment. an object of type Property Gtk.Adjustment The horizontal focus adjustment. an object of type Property Gtk.Widget Moves the focus to a particular child widget or finds the last-focused widget. an object of type Property System.Boolean The redraw-reallocation flag. Containers requesting reallocation redraws get automatically redrawn if any of their children changed allocation. an object of type Property Gtk.Widget A child widget for this container. an object of type GLib.Property("child") Property Gtk.ResizeMode How this container behaves when resized. an object of type GLib.Property("resize-mode") Property System.UInt32 This container's border width. A GLib.Property("border-width") Event Gtk.AddedHandler Raised when a child widget is added to the container via . Note that this event is raised only when (or its C equivalent) is called. It is not a generic widget-added notification. For example, calling will not result in this event firing. GLib.Signal("add") Event Gtk.FocusChildSetHandler Raised when the focus moves to a child widget of this container. GLib.Signal("set-focus-child") Event Gtk.RemovedHandler Raised when a child widget is removed from this container Note that this event is raised only when (or its C equivalent) is called. If a subclass defines additional methods for removing widgets, then calling those methods will not result in this event being raised. GLib.Signal("remove") Event System.EventHandler Raised when this container's resizability is queried. GLib.Signal("check_resize") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Invokes a callback function on each child of this container, including children that are considered "internal" (implementation details of the container). "Internal" children generally weren't added by the user of the container but were added by the container implementation itself. a Most applications should use instead of this method. Method System.Void Invokes a callback function on each non-internal child of this container. See for more details on internal children. a Most applications should use this method instead of . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.Widget[] Obtains an array of the container's (non-internal) children. An array of non-internal children. Returns the container's non-internal children; that is, generally, the children that were explicitly added to the container by the application, as opposed to those widgets that are internal implementation details of the container. If you simply want to do a loop on the container's children, you do not need to use the Children property. Just do: foreach (Widget w in myContainer) { // Do something with w } Method System.Collections.IEnumerator Returns an for the container's children a implements , so you can iterate through its children like this: foreach (Widget w in myContainer) { // Do something with w } Property System.Collections.IEnumerable Allows you to enumerate all of the container's children. an Enumerates all of the container's children, including those widgets that are internal implementation details of the container. Property Gtk.Widget[] Sets or obtains a focus chain of the container, overriding the one computed automatically by Gtk#. An array of . In principle each in the chain should be a descendant of the , but this is not enforced by this method, since it is allowed to set the focus chain before you pack the widgets, or have a widget in the chain that is not always packed. The necessary checks are done when the focus chain is actually traversed. If no focus chain has been explicitly set, gtk# computes the focus chain based on the positions of the children. in that case, gtk# stores in focusable_widgets and returns . Constructor Protected constructor for chaining by descendant classes. Method System.Void Run a given callback for every object inside this container. a , whether to include "internal" children when running the callback. a Deprecated: overload instead. Method System.Void Run a given callback for every object inside this container. a , whether to include "internal" children when running the callback. a Overload this in subclasses of Gtk.Container to implement the and methods. Method GLib.GType Returns the type of children supported by this container. a If you override this in a derived container class, you must not call base.ChildType() from the overridden method. Property Gtk.Container+ContainerChild Access for child properties a child of this container a The base type is not very useful; you will normally need to cast it to a subclass of the appropriate type. gtk-sharp-2.12.10/doc/en/Gtk/WidgetEventArgs.xml0000644000175000001440000000350611345266756016175 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event The uses this method to access the details of an event. a gtk-sharp-2.12.10/doc/en/Gtk/CalendarDisplayOptions.xml0000644000175000001440000000640111345266756017543 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents different styles and display options for a . System.Enum GLib.GType(typeof(Gtk.CalendarDisplayOptionsGType)) System.Flags Field Gtk.CalendarDisplayOptions Specifies that the month and year should be displayed. Field Gtk.CalendarDisplayOptions Specifies that three letter day descriptions should be present. In English these are, 'Mon', 'Tue', etc... Field Gtk.CalendarDisplayOptions Prevents the user from switching months with the calendar. If retrieving a date from the user, this restricts them to only select a date from the displayed month. Field Gtk.CalendarDisplayOptions Displays each week numbers of the current year, down the left side of the calendar. Field Gtk.CalendarDisplayOptions Starts the calendar week on Monday, instead of the default Sunday. gtk-sharp-2.12.10/doc/en/Gtk/Bin.xml0000644000175000001440000001355011345266756013643 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A container with just one child. A Bin widget is a with just one child. It is used to create subclasses, since it provides common code needed for handling a single child . Many GTK+ widgets are subclasses of Bin, including , , , , and . To place a child widget inside this container, use the standard method. For the widget to be useful, it should participate in size negotiation and size allocation using the events and . Sample follows. using System; using Gtk; // // A simple Bin class: a simple container that adds padding. // class MyPadder : Bin { int pad = 50; Widget child; public MyPadder () { // To track our child widget. Added += new AddedHandler (MyAdded); // Participate in size negotiation SizeRequested += new SizeRequestedHandler (OnSizeRequested); SizeAllocated += new SizeAllocatedHandler (OnSizeAllocated); } // // Invoked to query our size // void OnSizeRequested (object o, SizeRequestedArgs args) { if (child != null){ int width = args.Requisition.Width; int height = args.Requisition.Height; child.GetSizeRequest (out width, out height); if (width == -1 || height == -1) width = height = 80; SetSizeRequest (width + pad * 2, height + pad * 2); } } // // Invoked to propagate our size // void OnSizeAllocated (object o, SizeAllocatedArgs args) { if (child != null){ Gdk.Rectangle mine = args.Allocation; Gdk.Rectangle his = mine; his.X += pad; his.Y += pad; his.Width -= pad * 2; his.Height -= pad * 2; child.SizeAllocate (his); } } // // Public property of the Padding widget // public int Pad { get { return pad; } set { pad = value; QueueResize (); } } void MyAdded (object o, AddedArgs args) { child = args.Widget; } } class Y { static void Main () { Application.Init (); Window w = new Window ("Hello"); MyPadder x = new MyPadder (); x.Pad = 100; Button b = new Button ("Hola"); w.Add (x); x.Add (b); w.ShowAll (); Application.Run (); } } Gtk.Container Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Chain to this constructor if you have not manually registered a native value for your subclass. Property Gtk.Widget Accesses the one and only child widget of this Bin object. a gtk-sharp-2.12.10/doc/en/Gtk/CheckButton.xml0000644000175000001440000001225111345266756015341 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A places a discrete next to a widget. A places a discrete next to a widget, usually a . See for more information about toggle/check buttons. using System; using Gtk; class CheckButtonSample { CheckButton cb; static void Main () { new CheckButtonSample (); } CheckButtonSample () { Application.Init (); Window win = new Window ("CheckButtonSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (true, 1); win.Add (vbox); cb = new CheckButton ("Checked"); cb.Toggled += new EventHandler (OnCheckToggled); vbox.Add (cb); win.ShowAll (); Application.Run (); } void OnCheckToggled (object obj, EventArgs args) { if (cb.Label == "Checked") { cb.Label = "Unchecked"; } else { cb.Label = "Checked"; } } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Gtk.ToggleButton Method Gtk.CheckButton Creates a new object with a label to the right of it. The label displayed to the right of the . The newly created . Creates a new object with a to the right of it Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor Constructor Constructor A string for the . Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/InsertionFontStyleChangedHandler.xml0000644000175000001440000000313511345266756021523 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the InsertionFontStyleChangedHandler instance to the event. The methods referenced by the InsertionFontStyleChangedHandler instance are invoked whenever the event is raised, until the InsertionFontStyleChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TextPoppedHandler.xml0000644000175000001440000000226611345266756016527 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. An event that is raised when messages are popped from the message stack of a . This event passes data to its handlers with the class. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MoveSelectedHandler.xml0000644000175000001440000000145111345266756017005 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/FocusChildSetArgs.xml0000644000175000001440000000340611345266756016446 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The widget being focused on. A gtk-sharp-2.12.10/doc/en/Gtk/DragResult.xml0000644000175000001440000000456111345266756015211 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.DragResultGType)) Field Gtk.DragResult To be added. Field Gtk.DragResult To be added. Field Gtk.DragResult To be added. Field Gtk.DragResult To be added. Field Gtk.DragResult To be added. Field Gtk.DragResult To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/BuilderError.xml0000644000175000001440000000540211345266756015530 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.BuilderErrorGType)) Field Gtk.BuilderError To be added. Field Gtk.BuilderError To be added. Field Gtk.BuilderError To be added. Field Gtk.BuilderError To be added. Field Gtk.BuilderError To be added. Field Gtk.BuilderError To be added. Field Gtk.BuilderError To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DisableDeviceHandler.xml0000644000175000001440000000274111345266756017114 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DisableDeviceHandler instance to the event. The methods referenced by the DisableDeviceHandler instance are invoked whenever the event is raised, until the DisableDeviceHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ReliefStyle.xml0000644000175000001440000000370311345266756015361 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This enumeration provides the possible values for the relief style for a . System.Enum GLib.GType(typeof(Gtk.ReliefStyleGType)) Field Gtk.ReliefStyle Value for a normal relief style. Field Gtk.ReliefStyle Value for a partial relief style. Field Gtk.ReliefStyle Value for a not using relief. gtk-sharp-2.12.10/doc/en/Gtk/NodeView.xml0000644000175000001440000000755111345266756014657 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Tree and List view. Gtk.TreeView Constructor Constructs a new view for a given . a Property Gtk.NodeStore The store containing the view's data. a Property Gtk.NodeSelection Used to obtain and manipulate the currently selected node(s). a Method Gtk.TreeViewColumn Adds a column to the view using a data callback delegate. a a a a Constructor Public Constructor. gtk-sharp-2.12.10/doc/en/Gtk/ParentSetArgs.xml0000644000175000001440000000343011345266756015651 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget Returns the widget that was the parent of this widget previously. A gtk-sharp-2.12.10/doc/en/Gtk/ClipboardTargetsReceivedFunc.xml0000644000175000001440000000347111345266756020650 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate class for ; called with a list of possible targets for clipboard data. See that method's documentation for more details. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CurrentParagraphStyleChangedArgs.xml0000644000175000001440000000364411345266756021516 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.HTMLParagraphStyle The new style that was set. a gtk-sharp-2.12.10/doc/en/Gtk/SelectAllArgs.xml0000644000175000001440000000251211345266756015614 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/HTMLBeginFlags.xml0000644000175000001440000000641511345266756015623 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Flags for how to begin processing a chunk of HTML. Mostly for internal use. System.Enum System.Flags Field Gtk.HTMLBeginFlags To be added. Field Gtk.HTMLBeginFlags To be added. Field Gtk.HTMLBeginFlags To be added. Field Gtk.HTMLBeginFlags To be added. Field Gtk.HTMLBeginFlags To be added. Field Gtk.HTMLBeginFlags To be added. Field Gtk.HTMLBeginFlags To be added. Field Gtk.HTMLBeginFlags To be added. gtk-sharp-2.12.10/doc/en/Gtk/BuilderConnectFunc.xml0000644000175000001440000000246011345266756016645 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Tree.xml0000644000175000001440000000665411345266756014041 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A tree . is deprecated and unsupported. It is known to be buggy. To use it, you must define the symbol prior to includng the Gtk# header files. Use instead. The widget is a container that shows users a list of items, in a tree format complete withbranches and leafnodes. Branches can be expanded to show their child items, or collapsed to hide them. System.Object Method System.Boolean Deprecated. a a a a Constructor Deprecated. Method System.Boolean Gets row information from a Drag Selection. a a a a gtk-sharp-2.12.10/doc/en/Gtk/TextPushedArgs.xml0000644000175000001440000000401711345266756016043 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Passes data to handlers of events. GLib.SignalArgs Constructor Creates a new object that encapsulates the data that has been pushed onto a message stack. Property System.String Retrieve the text that was 'pushed'. The string added to the top of the Statusbar's message stack Property System.UInt32 Retrieve the context identifier for the message that was added. An integer context ID. gtk-sharp-2.12.10/doc/en/Gtk/RadioToolButton.xml0000644000175000001440000001423111345266756016220 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A radio-button control for a toolbar. Gtk.ToggleToolButton Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use only. a , pointer to underlying C object Constructor Constructor with support for button groups. a , an existing radio button group, or if you are creating a new group Constructor Constructor for stock buttons with groups. a , an existing radio button group, or if you are creating a new group a , the ID for a stock item to use for an icon and label. Constructor Create a new button in the same group as another. a , a button in the same group as the one to be created.. Constructor Create a new button in the same group as another from a stock item. a , a button in the same group as the one to be created. a , the ID of the stock item to use for an icon and label. Property GLib.GType The of this object. a Property GLib.SList The radio button group this button belongs to. a GLib.Property("group") gtk-sharp-2.12.10/doc/en/Gtk/MatchType.xml0000644000175000001440000000703311345266756015030 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Deprecated. Do not use. System.Enum GLib.GType(typeof(Gtk.MatchTypeGType)) Field Gtk.MatchType Deprecated. Do not use. Field Gtk.MatchType Deprecated. Do not use. Field Gtk.MatchType Deprecated. Do not use. Field Gtk.MatchType Deprecated. Do not use. Field Gtk.MatchType Deprecated. Do not use. Field Gtk.MatchType Deprecated. Do not use. gtk-sharp-2.12.10/doc/en/Gtk/PrintCapabilities.xml0000644000175000001440000000706111345266756016541 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintCapabilitiesGType)) System.Flags Field Gtk.PrintCapabilities Collation is supported. Field Gtk.PrintCapabilities Multiple copy printing is supported. Field Gtk.PrintCapabilities Sends documents in PDF format. Field Gtk.PrintCapabilities Sends documents in Postscript format. Field Gtk.PrintCapabilities Supports partial document printing. Field Gtk.PrintCapabilities Preview is supported. Field Gtk.PrintCapabilities Reverse is supported. Field Gtk.PrintCapabilities Scaled printing is supported. Field Gtk.PrintCapabilities To be added. PrintCapabilites enumeration. gtk-sharp-2.12.10/doc/en/Gtk/MatchSelectedArgs.xml0000644000175000001440000000545511345266756016462 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreeModel The tree model that contains the selected match. a Property Gtk.TreeIter An iterator to point at the selected match within the model. a gtk-sharp-2.12.10/doc/en/Gtk/DragLeaveHandler.xml0000644000175000001440000000266011345266756016263 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragLeaveHandler instance to the event. The methods referenced by the DragLeaveHandler instance are invoked whenever the event is raised, until the DragLeaveHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/GrabBrokenEventArgs.xml0000644000175000001440000000233311345266756016763 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public constructor. Property Gdk.EventGrabBroken The corresponding native event. a . GrabBroken event args. gtk-sharp-2.12.10/doc/en/Gtk/NoExposeEventArgs.xml0000644000175000001440000000354511345266756016515 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event The which triggered the . a gtk-sharp-2.12.10/doc/en/Gtk/RedirectHandler.xml0000644000175000001440000000264211345266756016172 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RedirectHandler instance to the event. The methods referenced by the RedirectHandler instance are invoked whenever the event is raised, until the RedirectHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RcProperty.xml0000644000175000001440000002016511345266756015244 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. For internal use only. Do not use. GTK+ allows style properties to be attached to styles. Because style properties can be loaded in from configuration files, theme authors can change the look and feel of the UI without writing their own theme engine code. System.ValueType Field Gtk.RcProperty Initialize a new, empty object. Method Gtk.RcProperty Constructor for internal use. An object of type 'IntPtr', a pointer to the underlying C object. A new . Intended only for internal use; not for general developer use. Field System.Int32 The type of this property. Field System.Int32 The name of the property. Field System.String The origin/source of the property. Should be "filename:linenumber" for RC files, or something like "XProperty" for other sources. Field GLib.Value The value of the property. Method System.Boolean a a a a Method System.Boolean Internal. Do not use. a a a a Method System.Boolean Internal. Do not use. a a a a Method System.Boolean Internal. Do not use. a a a a Method System.Boolean Internal. Do not use. a a a a gtk-sharp-2.12.10/doc/en/Gtk/CellLayout.xml0000644000175000001440000002106111345266756015204 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Manages layout for table cells. GLib.IWrapper Method System.Void Re-inserts at . a a Note that has already to be packed into the cell layout for this to function properly. Method System.Void Adds the to the end of the cell layout. a a , TRUE if is to be given extra space allocated to this cell layout. If is FALSE, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which is TRUE. Method System.Void Packs into the beginning of the cell layout. a a , TRUE if is to be given extra space allocated to this cell layout. If is FALSE, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which is TRUE. Method System.Void Adds an attribute mapping to the list for this cell layout. a a a The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Method System.Void Clears all existing attributes previously set with . a Method System.Void Unsets all the mappings on all renderers for this cell layout. Method System.Void Sets up a data function for this layout. a a The data function is used instead of the standard attributes mapping for setting the column value, and should set the value of the layout's cell renderer(s) as appropriate. may be to remove an older one. Method System.Void Sets the attribute to model column bindings for a renderer. a a The array should consist of pairs of attribute names and column indices. Property Gtk.CellRenderer[] To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/EditableImplementor.xml0000644000175000001440000001072511345266756017061 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.EditableAdapter)) Method System.Void To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Editable implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/StartInteractiveSearchArgs.xml0000644000175000001440000000266211345266756020373 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/UpdateType.xml0000644000175000001440000000475611345266756015227 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Provides a method of indicating how 'updates' should occur. The purpose of this type is most easily explained in the context of its use. , a base class for slider widgets such as , uses an UpdateType to determine how often to update a text value when the user is dragging a slider bar around. System.Enum GLib.GType(typeof(Gtk.UpdateTypeGType)) Field Gtk.UpdateType Indicates that updates should occur as soon as possible. Field Gtk.UpdateType Indicates that updates are not urgent. This typically indicates that a whole group of updates can be done at once when a user action has finished. Field Gtk.UpdateType Indicates that updates should happen as often as possible, but a delay between an action and its update, is allowed. gtk-sharp-2.12.10/doc/en/Gtk/PageRemovedArgs.xml0000644000175000001440000000311111345266756016136 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public constructor. Property Gtk.Widget Widget removed. a . Property System.UInt32 Index of removed page. a . Arguments for . gtk-sharp-2.12.10/doc/en/Gtk/TargetPair.xml0000644000175000001440000000652711345266756015203 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Do not use. System.ValueType Field Gtk.TargetPair An empty target. Method Gtk.TargetPair Constructor for internal use only. a , pointer to the underlying C structure. a Property Gdk.Atom Do not use. a System.Obsolete("Replaced by Target property.") Field System.UInt32 Do not use. Field System.UInt32 Do not use. Property Gdk.Atom To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ReorderTabHandler.xml0000644000175000001440000000237311345266756016463 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ReorderTabHandler instance to the event. The methods referenced by the ReorderTabHandler instance are invoked whenever the event is raised, until the ReorderTabHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/PrintOperation.xml0000644000175000001440000006500111345266756016106 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Gtk.PrintOperationPreview Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.Property("allow-async") System.Boolean To be added. To be added. To be added. Event GLib.Signal("begin-print") Gtk.BeginPrintHandler To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("create-custom-widget") Gtk.CreateCustomWidgetHandler To be added. To be added. Property GLib.Property("current-page") System.Int32 To be added. To be added. To be added. Property GLib.Property("custom-tab-label") System.String To be added. To be added. To be added. Event GLib.Signal("custom-widget-apply") Gtk.CustomWidgetApplyHandler To be added. To be added. Property GLib.Property("default-page-setup") Gtk.PageSetup To be added. To be added. To be added. Event GLib.Signal("done") Gtk.DoneHandler To be added. To be added. Event GLib.Signal("draw-page") Gtk.DrawPageHandler To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("end-print") Gtk.EndPrintHandler To be added. To be added. Property GLib.Property("export-filename") System.String To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("got-page-size") Gtk.GotPageSizeHandler To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("job-name") System.String To be added. To be added. To be added. Property GLib.Property("n-pages") System.Int32 To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method Gtk.Widget To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("paginate") Gtk.PaginateHandler To be added. To be added. Event GLib.Signal("preview") Gtk.PreviewHandler To be added. To be added. Property GLib.Property("print-settings") Gtk.PrintSettings To be added. To be added. To be added. Event GLib.Signal("ready") Gtk.ReadyHandler To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("request-page-setup") Gtk.RequestPageSetupHandler To be added. To be added. Method Gtk.PrintOperationResult To be added. To be added. To be added. To be added. To be added. Property GLib.Property("show-progress") System.Boolean To be added. To be added. To be added. Property GLib.Property("status") Gtk.PrintStatus To be added. To be added. To be added. Event GLib.Signal("status-changed") System.EventHandler To be added. To be added. Property GLib.Property("status-string") System.String To be added. To be added. To be added. Property GLib.Property("track-print-status") System.Boolean To be added. To be added. To be added. Property GLib.Property("unit") Gtk.Unit To be added. To be added. To be added. Property GLib.Property("use-full-page") System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ChangeCurrentPageArgs.xml0000644000175000001440000000346111345266756017275 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The offset of the notebook page to display. A gtk-sharp-2.12.10/doc/en/Gtk/DragDataDeleteHandler.xml0000644000175000001440000000274711345266756017231 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragDataDeleteHandler instance to the event. The methods referenced by the DragDataDeleteHandler instance are invoked whenever the event is raised, until the DragDataDeleteHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/EnableDeviceHandler.xml0000644000175000001440000000272611345266756016742 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EnableDeviceHandler instance to the event. The methods referenced by the EnableDeviceHandler instance are invoked whenever the event is raised, until the EnableDeviceHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeViewMappingFunc.xml0000644000175000001440000000231211345266756017007 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. A delegate to specify the signature of a function to be called on a set of rows that are expanded. See for when and how a function of this shape gets called. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DrawPrintArgs.xml0000644000175000001440000000343111345266756015657 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintContext The print context currently in use. a gtk-sharp-2.12.10/doc/en/Gtk/SwitchPageHandler.xml0000644000175000001440000000267511345266756016475 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SwitchPageHandler instance to the event. The methods referenced by the SwitchPageHandler instance are invoked whenever the event is raised, until the SwitchPageHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ScrollChildArgs.xml0000644000175000001440000000433611345266756016154 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether the scrolling is horizontal or not (i.e., vertical). A Property Gtk.ScrollType The desired behavior for the scrolling action. A gtk-sharp-2.12.10/doc/en/Gtk/ActivateCursorItemArgs.xml0000644000175000001440000000361711345266756017530 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/ItemFactory.xml0000644000175000001440000006446211345266756015371 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A factory for menus. To use this class, make an array of objects which describe a menu, then invoke to generate the menu. Gtk.Object System.Obsolete Method System.String If has been created by an item factory, returns the full path to it. A . The full path to if it has been created by an item factory, otherwise. This value is owned by GTK+ and must not be modified or freed. The full path of a is the concatenation of the factory path specified in with the path specified in the from which the was created. Method Gtk.ItemFactory Obtains the item factory from which a was created. A . The item factory from which was created, or . Method System.IntPtr Obtains the which was passed to . A . associated with the item factory from which was created, or if wasn't created by an item factory. This data is available until the menu is popped down again. Method System.Void Installs an accelerator for in , that causes the activate event to be emitted it the accelerator is activated. Widget to install an accelerator on. The full path for the . The accelerator group to install the accelerator in. Key value of the accelerator. Modifier combination of the acelerator. This method can be used to make widgets participate in the accel saving/restoring functionality provided by and , even if they haven't been created by an item factory. The recommended API for this purpose are the and ; don't use in new code, since it is likely to be removed in the future. Method System.Void Deletes the menu items which were created from the entries by the given item factory. The length of . An array of s. Method Gtk.Widget Obtains the menu item which correponds to . A (TODO: where is this enumerated?) A Method System.Void Deletes the menu item which was created from by the given item factory. A . Method System.Void Creates an item for . The to create an item for. Data passed to the callback method of . 1 if the callback method of is of type , 2 if it is of type . Method Gtk.Widget Obtains the which corresponds to . A (TODO: where is this enumerated?) A Method Gtk.Widget Obtains the menu item which corresponds to . The path to the menu item. The menu item for the given path, or if doesn't lead to a menu item. If the corresponding to is a menu item which opens a submenum, then the item is returned. If you are interested in the submenum, use instead. Method System.Void Deletes the menu item which was created for by the given item factory. A path. Method System.IntPtr Obtains the which was passed to . associated. This data is available until the menu is popped down again. Method System.Void Creates the menu items from the . The length of . An array of s whose members must be of type . Data passed to the callback methods of all entries. Method Gtk.Widget Obtains the which corresponds to . The path to the . The for the given path, or if doesn't lead to a . If the corresponding to is a menu item which opens a submenu, then the submenu is returned. If you are interested in the menu item, use instead. Method System.Void Sets a method to be used for translating the path elements before they are displayed. The delegate to be used to traslate path elements. ignored ignored This method is obsolete. New code should use the property instead. Property Gtk.TranslateFunc The method to be used for translating the path elements before they are displayed. a Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Method System.Void Pops up the menu constructed form the item factory at (, ). Data available for callbacks while the menu is posted. A to be called on when the menu is unposted. The x position. The y position. The mouse button which was pressed to initiate the popup. The time at which the activation event ocurred. Callbacks can access the while the menu is posted via and . The should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, should be 0. The should be the time stamp of the event that initiated the popup. If such a event is not available, use instead. The operation of the and the is the same as the and for . Method System.Void Pops up the menu constructed from the item factory at (, ). The x position. The y position. The mouse button which was pressed to initiate the popup. The time at which the activation event ocurred. The should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, should be 0. The should be the time stamp of the event that initiated the popup. If such a event is not available, use instead. The operation of the and the is the same as the and for . Property GLib.GType GType Property. a Returns the native value for . Method System.Void Initializes a The kind of menu to create; can be , , or the factory path of the new item factory, a string of the form "<name>" a to which the accelerators for the menu items will be added, or null to create a new one Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Basic constructor. The kind of menu to create; can be , , or the factory path of the new item factory, a string of the form "<name>" a to which the accelerators for the menu items will be added, or null to create a new one Constructor Protected constructor. Method Gtk.ItemFactory Finds an item factory which has been constructed using the "<name>" prefix of as the path argument building a new item factory. a a , or Method System.Void Creates menu items from a set of entries. a , the number of entries an array of objects Method System.Void Creates menu items from entries. a , the number of menu items a , a list of information about menu items a , pointer to data that should be passed to the callback functions of all entries a FIXME: See bugzilla 70887. gtk-sharp-2.12.10/doc/en/Gtk/AccelActivateHandler.xml0000644000175000001440000000407211345266756017120 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A containing the object that sent the event. A object containing information about the accelerator that was activated, including the key value and modifiiers. This type of method is used for handling events. A delegate of this type can be attached to a to monitor the activation of events via , however this is typically unneccessary, as most accelerators are bound directly to a widget and signal. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CreateCustomWidgetArgs.xml0000644000175000001440000000254311345266756017512 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Event data. The event invokes delegates which pass event data via this class. If you set the to a in an event handler, the specified widget will be added to a custom tab in the print dialog. gtk-sharp-2.12.10/doc/en/Gtk/RecentChooserDialog.xml0000644000175000001440000003677011345266756017027 00000000000000 gtk-sharp 2.12.0.0 Gtk.Dialog Gtk.RecentChooser Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.RecentInfo To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Event GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. System.Obsolete Property GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Property GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ObjectRequestedArgs.xml0000644000175000001440000000322011345266756017031 00000000000000 gtkhtml-sharp 3.16.0.0 Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.HTMLEmbedded To be added a gtk-sharp-2.12.10/doc/en/Gtk/DeleteEventArgs.xml0000644000175000001440000000403111345266756016146 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. 's RetVal is a boolean. To keep a from closing, set 's .RetVal to true. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event The event that triggered this window's deletion. a gtk-sharp-2.12.10/doc/en/Gtk/DragEndArgs.xml0000644000175000001440000000334111345266756015251 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.DragContext The context of this drag. a gtk-sharp-2.12.10/doc/en/Gtk/HTMLEditorAPI.xml0000644000175000001440000000340611345266756015377 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Hooks for an HTML editor. Currently unsupported in Gtk#. See . System.ValueType Field Gtk.HTMLEditorAPI An empty object. Method Gtk.HTMLEditorAPI Default constructor. A , pointer to the underlying C object. A gtk-sharp-2.12.10/doc/en/Gtk/Callback.xml0000644000175000001440000000172611345266756014631 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. A delegate that can be run over a series of widgets. Invoked by and . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MnemonicActivatedArgs.xml0000644000175000001440000000351111345266756017336 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether or not the mnemonic group acts as a loop. A boolean, true if the group cycles. gtk-sharp-2.12.10/doc/en/Gtk/CurrentParagraphIndentationChangedHandler.xml0000644000175000001440000000330011345266756023340 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CurrentParagraphIndentationChangedHandler instance to the event. The methods referenced by the CurrentParagraphIndentationChangedHandler instance are invoked whenever the event is raised, until the CurrentParagraphIndentationChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PageAddedArgs.xml0000644000175000001440000000310211345266756015536 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public constructor. Property Gtk.Widget The added widget. a . Property System.UInt32 The index of the added page. a . Args for . gtk-sharp-2.12.10/doc/en/Gtk/Fixed+FixedChild.xml0000644000175000001440000000330011345266756016161 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("x") System.Int32 The child's X coordinate The child's X coordinate Property Gtk.ChildProperty("y") System.Int32 The child's Y coordinate The child's Y coordinate A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/PrinterAddedHandler.xml0000644000175000001440000000242511345266756016775 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PrinterAddedHandler instance to the event. The methods referenced by the PrinterAddedHandler instance are invoked whenever the event is raised, until the PrinterAddedHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/HTMLCursorSkipType.xml0000644000175000001440000000512011345266756016560 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Units for allowing the HTML widget's cursor to skip. System.Enum Field Gtk.HTMLCursorSkipType Skip units should be counted in characters. Field Gtk.HTMLCursorSkipType Skip units should be counted in words. Field Gtk.HTMLCursorSkipType Skip units should be counted in pages. Field Gtk.HTMLCursorSkipType Skip units should encompass the whole document. Use for skipping to the beginning or end of the document. Field Gtk.HTMLCursorSkipType To be added. gtk-sharp-2.12.10/doc/en/Gtk/SubmitArgs.xml0000644000175000001440000000511711345266756015213 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The text encoding to use for submitting the form. A Property System.String The URL to submit the form data to. A Property System.String The HTTP method to use for submitting. A Usually GET, POST, or PUT. gtk-sharp-2.12.10/doc/en/Gtk/SideType.xml0000644000175000001440000000542611345266756014664 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.SideType is deprecated and should not be used in newly-written code. System.Enum GLib.GType(typeof(Gtk.SideTypeGType)) Field Gtk.SideType SideTop Field Gtk.SideType SideBottom Field Gtk.SideType SideLeft Field Gtk.SideType SideRight gtk-sharp-2.12.10/doc/en/Gtk/ChildAnchorInsertedHandler.xml0000644000175000001440000000304211345266756020300 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildAnchorInsertedHandler instance to the event. The methods referenced by the ChildAnchorInsertedHandler instance are invoked whenever the event is raised, until the ChildAnchorInsertedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/IMMulticontext.xml0000644000175000001440000000707111345266756016061 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An input method context object that manages the use of multiple input method contexts for a widget Gtk.IMContext Method System.Void Add menu items for various available input methods to a menu; the menuitems, when selected, will switch the input method for the context and the global default input method. a Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Basic constructor. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/Arrow.xml0000644000175000001440000001407311345266756014226 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Produces an Arrow pointing in one of four cardinal directions. Arrow should be used to draw simple arrows that need to point in one of the four cardinal directions ( , , , or ). The style of the arrow can be one of the following: , , , and . Note that these directions and style types may be ammended in versions of Gtk to come. Arrow will fill any space alloted to it, but since it is inherited from , it can be padded and/or aligned, fill exactly the space the programmer desires. The direction or style of an arrow can be changed after creation by using . Gtk.Misc Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor A valid ArrowType. A valid ShadowType. Property Gtk.ShadowType Used to change the appearance of an outline typically provided by a Frame. Returns a new ShadowType. Changes the appearance of an outline typically provided by a . The shadow types are: , , , and . GLib.Property("shadow-type") Property Gtk.ArrowType Used to change the direction of an Arrow. A new Arrow. Changes the direction of an Arrow. The cardinal directions are: , , and . GLib.Property("arrow-type") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/Box+BoxChild.xml0000644000175000001440000001013111345266756015343 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("pack-type") Gtk.PackType The child's pack type (start or end) a See for more details about child properties. Property Gtk.ChildProperty("padding") System.UInt32 The child's padding the padding See for more details about child properties. Property Gtk.ChildProperty("fill") System.Boolean The "fill" property for the child the child's "fill" property See for more details about child properties. Property Gtk.ChildProperty("expand") System.Boolean The "expand" property for the child the child's "expand" property See for more details about child properties. Property Gtk.ChildProperty("position") System.Int32 The child's position in the The Child's position. The child's position in the parent reflects the order it was added in. Children with lower position values appear closer to the end they were packed onto. Children with higher position values appear closer to the center, or the opposite end. A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/PrefixInsertedArgs.xml0000644000175000001440000000445211345266756016704 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String To be added a To be added gtk-sharp-2.12.10/doc/en/Gtk/SpinButton.xml0000644000175000001440000005776411345266756015257 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Retrieve an integer or floating-point number from the user. A SpinButton is an ideal way to allow the user to enter a numeric value. Rather than having to directly type a number into an , a SpinButton allows the user to click on one of two arrows to increment or decrement the displayed value. A value can still be typed in, with the added benefit that it can be checked to ensure it is within a given range. To precisely configure a SpinButton, an is used. Though it is not mandatory, its use allows fine control over the 'spinning' properties of the SpinButton. A SpinButton is typically created by setting up an and passing that to the SpinButton's constructor. The value entered by a user can then be retrieved using either the property or the property. The following demonstrates how to get an integer from a SpinButton: // Creates a window with a spin button public void CreateSpinButton() { Window window = new Window(); window.BorderWidth = 5; // Create a spin button for percentage values. SpinButton spinner = new SpinButton(0f, 100f, 1f); spinner.ValueChanged += new EventHandler(OutputValue); window.Add(spinner); window.ShowAll(); } // Handles ValueChanged events and writes to the console private void OutputValue(object source, System.EventArgs args) { SpinButton spinner = source as SpinButton; System.Console.WriteLine("Current value is: " + spinner.ValueAsInt); } Gtk.Entry Method System.Void Changes the value of the SpinButton by . A direction that indicates if the SpinButton should be incremented or decremented. The amount to adjust the SpinButton by. Method System.Void Find out the minimum and maximum allowed input values. The minimum value that can be accepted. The maximum value that can be accepted. Method System.Void Configures various properties of the SpinButton. An optional to configure certain properties, null otherwise. The value to adjust the SpinButton by when one of its arrows are clicked. The number of decimal places to display. An is used to configure a variety of the properties for a SpinButton. See the documentation for the members for more information. Method System.Void Forces the SpinButton to update its value Method System.Void Sets the step and page increments. The amount to change the spin button by when the user clicks with button 1, (usually the left mouse button). The amount to change the spin button by when the user clicks with button 2, (usually the middle mouse button). Changing the values with this method alters how quickly the SpinButton's value changes when its arrows are activated. Method System.Void Alters the minimum and maximum allowable values. The minimum value that can be entered. The maximum value that can be entered. Method System.Void Retrieve the current step and page increments. Outputs the value that a spin button is changed by when the user clicks with button 1, (usually the left mouse button). Outputs the value that a spin button is changed by when the user clicks with button 2, (usually the middle mouse button). Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new SpinButton based on the specified . A A A Constructor Creates a SpinButton without the need for a manually created . Minimum allowable value. Maximum allowable value. The value to alter the SpinButton by when a is carried out on it. The default value of the new SpinButton is initially set to . The default page increment is set to 10 * . The visible precision of the spin button is equivalent to the precision of . Property System.Int32 Retrieve the current value as an integer. The value of the SpinButton with integer precision. Property System.Boolean Manage whether or not the SpinButton accepts non-numeric input. Whether the SpinButton currently accepts only numeric input. GLib.Property("numeric") Property System.Double The acceleration rate when user holds down a button. A GLib.Property("climb-rate") Property System.Boolean Manage whether a SpinButton's value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. Whether this SpinButton wraps its maximum/minimum values when spinning. If this property is set to , then when the user tries to change the value in a SpinButton, (usually by clicking one of the arrows), the next value after the maximum will wrap to the minimum. Alternatively, if this property is set to , then trying to increase the value of the SpinButton when it is at the maximum value, will have no effect. Likewise when trying to decrement the value at its minimum. GLib.Property("wrap") Property System.Double The current value of the SpinButton. The current value of the SpinButton. The value of the SpinButton is limited by the precision set with the property. GLib.Property("value") Property System.UInt32 Manage the precision that this SpinButton's value is displayed with. The maximum number of digits that the SpinButton will currently display. Up to 20 digit precision is allowed. GLib.Property("digits") Property System.Boolean Manage whether values are corrected to the nearest step increment when a SpinButton is activated with an invalid value. if values are snapped to the nearest step, otherwise. GLib.Property("snap-to-ticks") Property Gtk.SpinButtonUpdatePolicy The policy for how to update this SpinButton when its value changes. A GLib.Property("update-policy") Property Gtk.Adjustment The lower/upper/step range of this widget's values. A GLib.Property("adjustment") Event Gtk.OutputHandler Raised when this widget outputs its value. GLib.Signal("output") Event System.EventHandler This event is raised after the SpinButton's value changes. GLib.Signal("value_changed") Event Gtk.InputHandler Raised when the user inputs a new value. GLib.Signal("input") Event Gtk.ChangeValueHandler Raised in order to change the button's value. GLib.Signal("change_value") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Int32 Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Int32 Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Event GLib.Signal("wrapped") System.EventHandler Raised when the value wraps from min to max, or max to min. Method System.Void Default handler for event. gtk-sharp-2.12.10/doc/en/Gtk/ActivateCurrentHandler.xml0000644000175000001440000000276511345266756017542 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ActivateCurrentHandler instance to the event. The methods referenced by the ActivateCurrentHandler instance are invoked whenever the event is raised, until the ActivateCurrentHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DragDataGetArgs.xml0000644000175000001440000000600411345266756016053 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The time this data was gotten from the source widget. A Property System.UInt32 For internal use. A Property Gtk.SelectionData The data that's selected and dragged. a Property Gdk.DragContext The context of this drag. a gtk-sharp-2.12.10/doc/en/Gtk/Accelerator.xml0000644000175000001440000001420511345266756015355 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An accelerator. TODO: explain the relationship between this class and . System.Object Method System.Boolean Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. For example, keyval plus is valid; this is a "Ctrl+a" accelerator. However, you can't use the keyval as an accelerator. a , see for useful values a a Method System.String Converts an accelerator keyval and modifier mask into a string parseable by . For example, if you pass in and , this function returns "<Control>q". a a a In Gtk+, the return value must be freed by the caller, but not in Gtk#. Constructor Basic constructor. Property Gdk.ModifierType A mask to specify the default modifier key(s). a Method System.Void Parses a string representing an accelerator. The format looks like "<Control>a" or "<Shift><Alt>F1" or "<Release>z" (the last one is for key release). The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "<Ctl>" and "<Ctrl>". a a , thekey to map to. a to fill with data. If the parse fails, and will be set to 0 (zero). Method System.String Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user. A representing the accelerator keyval. A representing the accelerator modifier mask. A newly-allocated string representing the accelerator. gtk-sharp-2.12.10/doc/en/Gtk/PrinterAddedArgs.xml0000644000175000001440000000300011345266756016302 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Printer The sdded printer. a . Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/WindowGroup.xml0000644000175000001440000001041311345266756015412 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Limit the effect of grabs Grabs added with gtk_grab_add() only affect s within the same . GLib.Object Method System.Void Adds a to the an object of type Adds a to the . Method System.Void Removes a from the an object of type Removes a from the Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates an instance of . Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/TextPoppedArgs.xml0000644000175000001440000000402511345266756016041 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Passes data to handlers of events. GLib.SignalArgs Constructor Creates a new object that encapsulates the data that has been popped from a message stack. Property System.String Retrieve the text that was 'popped'. The string removed from the top of the Statusbar's message stack Property System.UInt32 Retrieve the context identifier for the message that was removed. An integer context ID. gtk-sharp-2.12.10/doc/en/Gtk/LeaveNotifyEventHandler.xml0000644000175000001440000000277511345266756017667 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the LeaveNotifyEventHandler instance to the event. The methods referenced by the LeaveNotifyEventHandler instance are invoked whenever the event is raised, until the LeaveNotifyEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CornerType.xml0000644000175000001440000000511511345266756015223 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Specifies which corner a child widget should be placed in when packed into a . This is effectively the opposite of where the scroll bars are placed. This is effectively the opposite of where the scroll bars are placed. System.Enum GLib.GType(typeof(Gtk.CornerTypeGType)) Field Gtk.CornerType Place the scrollbars on the right and bottom of the widget (default behaviour). Field Gtk.CornerType Place the scrollbars on the top and right of the widget. Field Gtk.CornerType Place the scrollbars on the left and bottom of the widget. Field Gtk.CornerType Place the scrollbars on the top and left of the widget. gtk-sharp-2.12.10/doc/en/Gtk/ToggleActionEntry.xml0000644000175000001440000002210611345266756016531 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A struct containing all the info necessary for creating an The ActionEntry struct is C# "syntactic sugar", designed to make it easier for developers to add s to their code. Instead of creating a new object for each action, a developer can create an array of ToggleActionEntry's and add them to an all at once using the method. System.ValueType Field System.String A unique name for the action. Field System.String The stock icon displayed in widgets representing this action. Field System.String The label used for menu items and buttons that activate this action. Field System.String A tooltip for this action. Field System.String The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator. Field System.EventHandler EventHandler to be called when the action is triggered. Field System.Boolean Boolean value indicating whether the initial state of the ToggleAction is "on" or "off". Constructor Public constructor a , a unique name for the action a , the stock icon to display in widgets representing the action Constructor Public constructor a , a unique name for the action a , the stock icon to display in widgets representing the action a , a method to call when the toggle action is activated Constructor Public constructor a , a unique name for the action a , the stock icon to display in widgets representing the action a , a method to call when the toggle action is activated a , if the toggle action is currently checked Constructor Public constructor a , a unique name for the action a , the stock icon to display in widgets representing the action a , the label displayed in menu items and on buttons a , the accelerator key sequence for the action a , a tooltip for the action a , a method to call when the toggle action is activated a , if the toggle action is currently checked gtk-sharp-2.12.10/doc/en/Gtk/RecentChooserError.xml0000644000175000001440000000234711345266756016712 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.RecentChooserErrorGType)) Field Gtk.RecentChooserError To be added. Field Gtk.RecentChooserError To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ReadyHandler.xml0000644000175000001440000000231211345266756015467 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ReadyHandler instance to the event. The methods referenced by the ReadyHandler instance are invoked whenever the event is raised, until the ReadyHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/WidgetEventHandler.xml0000644000175000001440000000276711345266756016666 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the WidgetEventHandler instance to the event. The methods referenced by the WidgetEventHandler instance are invoked whenever the event is raised, until the WidgetEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrintJobCompleteFunc.xml0000644000175000001440000000211711345266756017164 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void A print job. Unused. Pointer to a native GError, or if no errors occur. Print job completion callback delegate. Invoked by when sending has completed. gtk-sharp-2.12.10/doc/en/Gtk/Scale.xml0000644000175000001440000002103511345266756014157 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A base class for the concrete slider widgets; and . A Scale is a slider control used to select a numeric value. Specific manipulation can be done with methods and properties on its base class, . To set the value of a scale, you would normally use the property. To detect changes to the value, connect an event handler to the event. Gtk.Range Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gtk.PositionType Manage the position of the value, relative to the slider. Where the value is currently being drawn. Note: This property is only meaningful if a value is being drawn. To ensure a value is drawn, use the property. GLib.Property("value-pos") Property System.Boolean Manage whether a label is displayed to show the current value. Whether the value is currently being displayed. Use the property to alter the position of displayed value. GLib.Property("draw-value") Property System.Int32 Manage the number of decimal places for this slider. The number of decimal places currently being displayed. GLib.Property("digits") Event Gtk.FormatValueHandler Allows the format of the displayed value to be altered. Note: The signature of this event handler is currently incorrect. GLib.Signal("format_value") Property GLib.GType GType Property. a Returns the native value for . Method System.String Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Property Pango.Layout Gets the used to display the scale. a Method System.Void Obtains the coordinates where the scale will draw the representing the text in the scale. a , location to store X offset of layout a , location to store Y offset of layout Remember that when working with Pango you need to convert to and from pixels using PANGO_PIXELS() or . If is , the return values are undefined. gtk-sharp-2.12.10/doc/en/Gtk/ToolbarChildType.xml0000644000175000001440000000561611345266756016347 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Set the type of new elements that are added to a . is used to set the type of new elements that are added to a . System.Enum GLib.GType(typeof(Gtk.ToolbarChildTypeGType)) Field Gtk.ToolbarChildType Add blank space to the toolbar. Field Gtk.ToolbarChildType Add buttons to the toolbar. Field Gtk.ToolbarChildType Add toggle buttons to the toolbar. Field Gtk.ToolbarChildType Add radio buttons to the toolbar. Field Gtk.ToolbarChildType Add widgets to the toolbar. gtk-sharp-2.12.10/doc/en/Gtk/FileChooserConfirmation.xml0000644000175000001440000000316511345266756017707 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.FileChooserConfirmationGType)) Field Gtk.FileChooserConfirmation Accepts the filename. Field Gtk.FileChooserConfirmation Requires re-selection. Field Gtk.FileChooserConfirmation Requests built-in confirmation code. File Chooser Confirmation results. gtk-sharp-2.12.10/doc/en/Gtk/ConfirmOverwriteHandler.xml0000644000175000001440000000200011345266756017721 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void the sender of the event. arguments for the event. Handler for ConfirmOverwrite events. Implementors must set a result to the property of . gtk-sharp-2.12.10/doc/en/Gtk/DrawGdkArgs.xml0000644000175000001440000000571211345266756015274 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Pixmap The pixmap to draw a Property Gdk.GC The graphics context a Property System.Int32 An additional argument. a Property System.Int32 A second additional argument. a gtk-sharp-2.12.10/doc/en/Gtk/TextMark.xml0000644000175000001440000002017511345266756014673 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A is like a bookmark in a text buffer; it preserves a position in the text. A GtkTextMark is like a bookmark in a text buffer; it preserves a position in the text. You can convert the mark to an iterator using . Unlike iterators, marks remain valid across buffer mutations, because their behavior is defined when text is inserted or deleted. When text containing a mark is deleted, the mark remains in the position originally occupied by the deleted text. When text is inserted at a mark, a mark with left gravity will be moved to the beginning of the newly-inserted text, and a mark with right gravity will be moved to the end. Marks optionally have names; these can be convenient to avoid passing the object around. Marks are typically created using the function. GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.String The name of the mark Returns the name of the mark and if it's an anonymous mark GLib.Property("name") Property System.Boolean Whether or not the mark has been removed Returns if the mark has been removed from its buffer. Returns if the mark has been removed from its buffer with . Marks can't be used once they are deleted. Property System.Boolean Whether or not the mark has left gravity if the mark has left gravity, otherwise. "left" and "right" here refer to logical direction (left is the toward the start of the buffer); in some languages such as Hebrew the logically-leftmost text is not actually on the left when displayed. GLib.Property("left-gravity") Property System.Boolean The visibility of the mark if the mark is visible (i.e. a cursor is displayed for it) The insertion point is normally visible, i.e. you can see it as a vertical bar. Also, the text widget uses a visible mark to indicate where a drop will occur when dragging-and-dropping text. Most other marks are not visible. Marks are not visible by default. Property Gtk.TextBuffer Gets the buffer where this mark is located The buffer where this mark is applied is returned if the mark has been deleted. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Default constructor Constructor To be added. To be added. Public constructor. To be added. gtk-sharp-2.12.10/doc/en/Gtk/MapChangedHandler.xml0000644000175000001440000000375311345266756016424 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MapChangedHandler instance to the event. The methods referenced by the MapChangedHandler instance are invoked whenever the event is raised, until the MapChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Accel.xml0000644000175000001440000003453511345266756014150 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Accel Class Loadable keyboard accelerator specifications and groups. System.Object Method System.Void Loops over the entries in the accelerator. The data to be passed into . A function to be executed for each accel map entry which is not filtered out. Loops over the entries in the accelerator whose accel path doesn't match any of the filters added with , and exectutes on each. The signature of is that of , the changed parameter indicates wheather this accelerator was changed during runtime (thus, would need saving during an accelerator map dump). Method System.Void Parses through a file previously saved with for accelerator specifications, and propagates them accordingly. A file containing accelerator specifications. Method System.Boolean Finds the first accelerator in any . An usually a , on which to activate the accelerator. An accelerator keyval from a key event. A keyboard state mask from a key event. A returns if the accelerator was handled, and otherwise. Finds the first accelerator in any attached to that matches and , and activates that accelerator. Method System.Boolean Changes the and currently associated with . A valid accelerator path. An new accelerator key. A new accelerator modifier. A returns if other accelerators may be deleted upon conflicts. A that returns if the accelerator can be changed, and otherwise. Due to conflicts with other accelerators, a change may not always be possible, indicates wheather other accelerators may be deleted to resolve such conflicts. A changed will only occur if all conflicts could be resolved (which might not be the case if conflicting accelerators are locked). Method System.Boolean Looks up the accelerator entry for and fills in . A valid accelerator path. An accelerator key to be filled in (optional). A returns if is known, and otherwise. Method System.Void Filedescriptor variant of . An valid readable file descriptor. Note that the file descriptor will not be closed by this function. Method System.Void Registers a new accelerator with the global accelerator map. A valid accelerator path. An accelerator key. A accelerator modifier. This function should only be called once per with the canonical and for this path. To change the accelerator during runtime programatically, use . The accelerator path must consist of "<WINDOWTYPE>/Category1/Category2/.../Action", where <WINDOWTYPE> should be a unique application-specific indentifier, that corresponds to the kind of window the accelerator is being used in, e.g. "Gimp-Image", "Abiword-Document" or "Gnumeric-Settings". The Category1/.../Action portion is most appropriately chosen by the action the accelerator triggers, i.e. for accelerators on menu items, choose the items's menu path, e.g. "File/Save As", "Image/View/Zoom" or "Edit/Select All". So a valid accelerator path may look like this: "<Gimp-Toolbox>/File/Dialogs/ToolOptions..". Method System.Void Filedescriptor variant of . An valid writeable file descriptor. Note that the file descriptor will not be closed by this function. Method System.Void Loops over all the entries in the accelerator map, and executes on each. An data to be passed into the . An function to be exacuted for each accel map entry. The signature of is that of , the changed parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an accelerator map dump). Method System.Void Adds a filter to the global list of accel path filters. A pattern. Accel map entries whose accel path matches one of the filters are skipped by . This function is intended for gtk-sharp modules that create their own menus but don't want them to be saved into the applications accelerator map dump. Method System.Void Saves current accelerator specifications. A file to contain accelerator specifications. Saves current accelerator specifications (accelerator path, key, modifiers to . The file is written in a format suitable to be read back in by . Constructor Method Gtk.AccelGroup[] Gets a list of all accel groups which are attached to . An usually a . An list of all accel groups which are attached to . gtk-sharp-2.12.10/doc/en/Gtk/TextSearchFlags.xml0000644000175000001440000000316511345266756016163 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Flags for searching text. System.Enum GLib.GType(typeof(Gtk.TextSearchFlagsGType)) System.Flags Field Gtk.TextSearchFlags search only in visible sections Field Gtk.TextSearchFlags search only the text gtk-sharp-2.12.10/doc/en/Gtk/PixbufInsertedArgs.xml0000644000175000001440000000440711345266756016704 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Pixbuf The pixbuf object which was inserted. an object of type Property Gtk.TextIter The position at which the pixbuf was inserted. an object of type gtk-sharp-2.12.10/doc/en/Gtk/AboutDialog.xml0000644000175000001440000006041711345266756015331 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class extends , providing a dialog to show information about a program. The offers a simple way to display information about a program like its logo, name, copyright, website and license. It is also possible to give credits to the authors, documenters, translators and artists who have worked on the program. An about dialog is typically opened when the user selects the About option from the Help menu. All parts of the dialog are optional. About dialogs often contain links and email addresses. supports this by offering global hooks, which are called when the user clicks on a link or email address, see and . Email addresses in the authors, documenters and artists properties are recognized by looking for <user@host>, URLs are recognized by looking for http://url, with url extending to the next space, tab or line break. The following example creates and shows a from both assembly attributes and stored values. using Gtk; using System.Reflection; [assembly:AssemblyTitleAttribute ("About Dialog Example")] [assembly:AssemblyVersionAttribute ("1.0.0.0")] [assembly:AssemblyDescriptionAttribute ( "An example of the Gtk# AboutDialog using assembly attributes.")] [assembly:AssemblyCopyrightAttribute("Copyright 2007 Brian Nickel")] static public class AboutDialogExample { public static void Main () { Application.Init (); AboutDialog dialog = new AboutDialog (); Assembly asm = Assembly.GetExecutingAssembly (); dialog.Name = (asm.GetCustomAttributes ( typeof (AssemblyTitleAttribute), false) [0] as AssemblyTitleAttribute).Title; dialog.Version = asm.GetName ().Version.ToString (); dialog.Comments = (asm.GetCustomAttributes ( typeof (AssemblyDescriptionAttribute), false) [0] as AssemblyDescriptionAttribute).Description; dialog.Copyright = (asm.GetCustomAttributes ( typeof (AssemblyCopyrightAttribute), false) [0] as AssemblyCopyrightAttribute).Copyright; dialog.License = license; dialog.Authors = authors; dialog.Run (); } private static string [] authors = new string [] { "Brian Nickel <name@domain.ext>", "Rupert T. Monkey <name@domain.ext>" }; private static string license = @"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."; } Gtk.Dialog Constructor Constructs and initializes a new instance of for a specified native GLib type. A object containing the native GLib type for the new instance. Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Constructs and initializes a new instance of using an existing unmanaged object as its base. A pointing to the raw object to be managed by the new instance. This is not typically used by managed code. It is primarily used for enclosing an existing object, created by unmanaged code, in a managed wrapper. Constructor Constructs and initializes a new instance of for the executing assembly. With no properties set, the window will display only the name of the executing assembly. Property GLib.GType Gets the GLib type of the current instance. A value representing the native GLib type of . The value is used internally by the GLib type management system. Property System.String Gets and sets the license text of the program. A object containing the license text to display with the current instance. This string is displayed in a text view in a secondary dialog, therefore it is fine to use a long multi-paragraph text. Note that by default the text is not wrapped in the text view, thus it must contain the intended linebreaks. GLib.Property("license") Property System.String Gets and sets the name of the program. A object containing the name of the program. The default value is the name of the executing assembly. This may be in the format "MyApplication.exe", "/path/to/MyApplication.exe", or "C:\Path\To\MyApplication.exe" depending on how the assembly was executed and on what platform. GLib.Property("program-name") System.Obsolete("Use ProgramName instead") Property System.String Gets and sets copyright information for the program. A object containing copyright information for the program. The copyright text appears below the text and above the link on the dialog. If unset, not copyright text will appear. GLib.Property("copyright") Property System.String Gets and sets credits for the translation of the program. A object containing credits for the translation of the program. This string should be marked as translatable. Each string may contain email addresses and URLs, which will be displayed as links. See the remarks on for more details. GLib.Property("translator-credits") Property System.String Gets and sets the name of the logo icon to display above the program name in the dialog. A object containing the name of the logo icon to display above the program name in the dialog. If set, this property overrides the property. The name should be equal to the name of the program, without any sort of extension, eg. "monodoc". The dialog will use that name to load an icon by trying the following: The current icon theme, eg. "/usr/share/icons/Tango/48x48/apps/monodoc.png". The pixmap directory, eg. "/usr/share/pixmaps/monodoc.png" The broken image icon. GLib.Property("logo-icon-name") Property System.String Gets and sets the text label to display for the link to . A containing the text label to display for the link to . This value is used to provide a user friendly link to the website, for example "Visit home page." or "AppName website". If not set, the link defaults to the URL specified in the property. GLib.Property("website-label") Property Gdk.Pixbuf Gets and sets a logo to display above the program name in the dialog. A object containing a logo to display above the program name in the dialog. The prefered way to set the logo is through . If this is not set, it defaults to . GLib.Property("logo") Property System.String Gets and sets the URL of the program's website. A containing the URL of the program's website. The value should be a string starting with "http://". If set, the link is displayed at the bottom of the dialog, however if has not been used, the URL will appear as plain text and not be clickable. may be used to provide a plain-text label for the link. GLib.Property("website") Property System.String Gets and sets a comment about the program to appear immediately below the program name in the dialog. A object containing a comment, description, or subtitle for the program. If unset, no comment text is displayed. This string is displayed in a label in the main dialog, thus it should be a short explanation of the main purpose of the program, not a detailed list of features. GLib.Property("comments") Property System.String Get and set the version of the program. A object containing the version of the program. The most appropriate value to put here would be the assembly version, but any string is valid, eg "2.0.0.1", "2.5.3", "2.0 RC1", etc. GLib.Property("version") Method Gtk.AboutDialogActivateLinkFunc Installs a global function to be called whenever the user activates an email link in an about dialog. A delegate to be called when an email link is activated. The delegate that was previously used as the email hook. If no hook is set, email addresses will appear in the dialogs as standard non-clickable text. The following example uses the built in to open emails: Gtk.AboutDialog.SetEmailHook(delegate(Gtk.AboutDialog dialog, string email) { Gnome.Url.Show("mailto:" + email); }); Method Gtk.AboutDialogActivateLinkFunc Installs a global function to be called whenever the user activates a URL link in an about dialog. A to be called when a URL link is activated. The delegate that was the previous used as the URL hook. If no hook is set, the will in the dialogs appear as standard non-clickable text. The following example uses the built in to open links: Gtk.AboutDialog.SetUrlHook(delegate(Gtk.AboutDialog dialog, string link) { Gnome.Url.Show(link); }); Property GLib.Property("documenters") System.String[] Gets and sets the list of people who contributed documentation to the program. A containing the list of people who contributed documentation to the program. Each string may contain email addresses and URLs, which will be displayed as links. See the remarks on for more details. Property GLib.Property("authors") System.String[] Gets and sets the list of people who authored the program. A containing the list of people who authored the program. Each string may contain email addresses and URLs, which will be displayed as links. See the remarks on for more details. Property GLib.Property("artists") System.String[] Gets and sets the list of people who contributed artwork to the program. A containing the list of people who contributed artwork to the program. Each string may contain email addresses and URLs, which will be displayed as links. See the remarks on for more details. Property GLib.Property("wrap-license") System.Boolean Gets and sets whether the text in the is to be automatically wrapped. If , the text is auto-wrapped. Otherwise long lines of text will extend past the edge of the frame and a horizontal scroll bar will appear. By default, this option is set to . Most standard licenses, as will be found in the LICENSE file of a package, are already manually wrapped and auto-wrapping is unneccessary an unwanted. Property GLib.Property("program-name") System.String Program Name property. The name of the program. gtk-sharp-2.12.10/doc/en/Gtk/ToggleSizeAllocatedHandler.xml0000644000175000001440000000304011345266756020307 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggleSizeAllocatedHandler instance to the event. The methods referenced by the ToggleSizeAllocatedHandler instance are invoked whenever the event is raised, until the ToggleSizeAllocatedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeModelSort.xml0000644000175000001440000016370411345266756015672 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A class that makes an underlying sortable. GLib.Object Gtk.TreeDragSource Gtk.TreeModel Gtk.TreeSortable Method System.Int32 Returns the number of children the object's iterator has. An integer. As a special case, if iter is , then the number of toplevel nodes is returned. Method System.Boolean Returns the rows of this tree. A to fill with the rows of this tree. A , true if this tree has children, false otherwise. The underlying C call supports the specification of arbitrary parent rows to return children of, but the C# bindings assume that the root node is always the parent. Method System.Void Fires a event. Designed to be called by routines that change the sort of the tree. Method System.Void Sets which column is to be used to sort the data in the tree. A , the sort column index. A , the kind of sort to use Method System.Void Sets a function to sort a particular column. A , the index of the column to be sorted A , the function to use for sorting ignored ignored This overload is obsolete. The two parameter overload is preferred for new code. Method System.Void Sets a function that should be used to be sort columns by default if not otherwise specified by . A , the function to use for sorting ignored ignored This method is obsolete. The property is preferred for new code. Property Gtk.TreeIterCompareFunc The function to sort columns not otherwise specified by . a This property is meant to be used together with . Method System.Void Emits a signal for the row in . A pointing to the changed row. A pointing to the changed row. Method System.Void Run on every row in the TreeModel. A Method System.Boolean Gets the first iterator in the tree (the one at the path "0") and returns . an object of type an object of type Returns if the tree is empty. Method System.Void Emits the event. an object of type an object of type This should be called by models after the child state of a node changes. Method Gtk.TreePath Gets the of . an object of type an object of type Method System.Boolean Returns if iter has children, otherwise. an object of type an object of type Method System.Void Lets the tree ref the node. an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching models know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its referenced state. Method System.Int32 Returns the number of children that has. an object of type an object of type As a special case, if is , then the number of toplevel nodes is returned. Method System.Void Emits the event. an object of type , path of the inserted row. an object of type , points to the inserted row. Method System.Void Emits the event. an object of type This should be called by models after a row has been removed. The location pointed to by should be the location that the row previously was at. It may not be a valid location anymore. Method System.Void Gets the values of child properties for the row pointed to by . an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Method System.Void Lets the tree unref the node. an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreferenced. Method Gtk.TreePath Converts to a path on the child model of this TreeModelSort object. (In other words, points to a location within this objectable.) A A new that points to the same location as in the model that's not sorted. May also return if the does not point to a location in the child model. Method System.Void * This function should almost never be called. It clears the TreeModelSort object of any cached iterators that haven't been reffed with . This might be useful if the child model being sorted is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid. Method System.Void Clear the default sort function. Method Gtk.TreePath Converts to a path relative to . That is, points to a path in the child model. The returned path will point to the same row in the sorted model. If isn't a valid path on the child model, then is returned. A A Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor. A , the child model for the new object. FIXME: needs more explanation. Property System.Int32 The number of columns supported by the object. An integer count of the columns. Property Gtk.TreeModelFlags Returns a set of flags supported by this interface. The flags are a bitwise combination of . a The flags supported should not change during the lifecycle of the tree model. Event System.EventHandler Raised when the sort column is changed. GLib.Signal("sort_column_changed") Event Gtk.RowHasChildToggledHandler Raised when the child state of a row is toggled. GLib.Signal("row_has_child_toggled") Event Gtk.RowInsertedHandler Raised when a new row is inserted into the tree. GLib.Signal("row_inserted") Event Gtk.RowDeletedHandler Raised when a row is deleted from the tree. GLib.Signal("row_deleted") Event Gtk.RowChangedHandler Raised when a tree row is changed. GLib.Signal("row_changed") Event Gtk.RowsReorderedHandler Raised when rows are reordered or moved around. GLib.Signal("rows_reordered") Method System.Boolean Sets to be the child of the root node, using the given index. an object of type an object of type an object of type In this case, the nth root node is set. Method System.Boolean Sets to be the child of , using the given index. an object of type an object of type an object of type an object of type The first index is 0. If is too big, or has no children, is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method System.Boolean Gets the at . an object of type an object of type an object of type Otherwise, is left invalid and is returned. Method System.Boolean Sets to point to the first child of . an object of type an object of type an object of type If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called. Method System.Boolean Sets to a valid iterator pointing to . an object of type an object of type an object of type Method System.Boolean Sets to be the parent of . an object of type an object of type an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method System.String Generates a string representation of the path of . a a This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Method System.Boolean Tests whether is a valid iterator for this TreeModel. a a Method System.Boolean Returns the index of the column currently being used to sort the model data. a , an integer to put the results in a , an object to put the type of sort into a Method System.Void Sets the value of column in the row pointed to by to if the value is a boolean. a a a Method System.Void Sets the value of column in the row pointed to by to if the value is a . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a To be added. Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a Method Gtk.TreeIter System.ParamArray Add the list of objects in to the model; there should be enough objects to fill one row of the model. a a Method System.Object Gets the value stored in column of the row pointed to by . a a a Property System.Boolean Return whether this TreeModel has a default sort function or not. a , true if a default sort function exists. See to set a default sort function. Property GLib.GType GType Property. a Returns the native value for . Method GLib.GType Returns the type of the column at the given index. a , the column number. a Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gtk.TreeIter Returns the row in the TreeModel that corresponds to the row pointed to by . a a Method Gtk.TreeIter Returns an iter that points to the row pointed to by . a a Method System.Int32 Sends out a event. a that points to the row whose children have been reordered. a that points to the row whose children have been reordered. a , pointer to an array of integers with the new indices of the children. Method System.Void Gets the value stored in column of the row pointed to by and stores it in a a a Method System.Boolean Sets to point to the node following it at the current level. an object of type an object of type If there is no next iter, is returned and iter is set to be invalid. Method System.Boolean This method asks the source row for the dragged data to delete itself, because that data has been moved elsewhere. a , the path of the row that was dragged a This method returns FALSE if the deletion fails because path no longer exists, or for some other model-specific reason. Method System.Boolean Checks to see whether a given row can be used as a source for a drag-and-drop operation. a , the row being checked a , TRUE if the row is draggable. If the object does not implement this method, the row is assumed to be draggable. Method System.Boolean Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. a a object to fill with data A ; true if data of the required type was provided. Property Gtk.TreeModel Tree data model. a GLib.Property("model") Method System.Void Sets a function to sort a particular column. A , the index of the column to be sorted A , the function to use for sorting This method is meant to be used together with . Method System.Void Path to the reordered parent node. Iter corresponding to the reordered parent node. An array of the old indices. Default handler for the RowsReordered event. gtk-sharp-2.12.10/doc/en/Gtk/IconThemeError.xml0000644000175000001440000000422111345266756016013 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Error codes for operations. System.Enum GLib.GType(typeof(Gtk.IconThemeErrorGType)) Field Gtk.IconThemeError The icon specified does not exist in the theme Field Gtk.IconThemeError An unspecified error occurred. gtk-sharp-2.12.10/doc/en/Gtk/WindowStateEventHandler.xml0000644000175000001440000000277511345266756017712 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the WindowStateEventHandler instance to the event. The methods referenced by the WindowStateEventHandler instance are invoked whenever the event is raised, until the WindowStateEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Style.xml0000644000175000001440000023641711345266756014244 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Methods for drawing widget parts. GLib.Object Method Gdk.Color Gets the foreground color for a particular state A , the state being considered A Method Gdk.Color Sets the background of to the background color or pixmap specified by style for the state. A , the state being considered A color to be used for the background. Method Gdk.GC Gets the graphics context for the background of . a a , the graphics context Method Gdk.GC Gets the graphics context for the foreground of . a a , the graphics context Method System.Void Sets the default background. A A (TODO: explain) A A A , X coordinate of the upper left corner A , Y coordinate of the upper left corner A , width of the area A , height of the area TODO: explain this, as the underlying GTK+ isn't very well-commented either Method System.Void Set the background of to the color or pixmap specified by this style for . A A Method System.Void Detaches this style from the window it's attached to. Method Gdk.Pixbuf Renders the icon specified by at the given according to the given parameters and returns the result in a pixbuf. A A A A A A A TODO: needs an example. Method Gtk.Style Copy this style object to a new style object. A , a duplicate of this style. Method Gtk.IconSet Gets the icon set for the given . A A Method Gtk.Style Attaches a style to a window; this process allocates the colors and creates the GCs (graphics components) for the style - it specializes it to a particular visual and colormap. The process may involve the creation of a new style if the style has already been attached to a window with a different style and colormap. , the window to attach the style to Either , or a newly-created . If the style is newly created, the style parameter will be dereferenced, and the new style will have a reference count belonging to the caller. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Public constructor Property Pango.FontDescription The font description used for a widget. a Property System.Int32 The Y thickness, which is used for vertical padding. A Property System.Int32 The X thickness, which is used for horizontal padding. An integer. (FIXME: xthickness and ythickness could be better documented.) Property Gdk.Color[] The foreground colors A Property Gdk.Color[] The background colors. A Property Gdk.Color Black. A Property Gdk.Color White. A Property Gdk.GC[] Gets the graphics context objects for the background. A Property Gdk.GC[] Gets the graphics context objects for the foreground. A Property Gdk.GC Gets a white graphics context. A Property Gdk.GC Gets a black graphics context. A Method System.Void Sets the graphics context for the foreground. a , the state of the widget to set the style for a Method System.Void Sets the graphics context for the background. a , the state of the widget to set the style for a Method Gdk.GC Returns the base graphics context for the widget. a , the state of the widget to get the GC for a Method System.Void Sets the graphics context for the background. a , the state of the widget to set the GC for a Method Gdk.GC Returns the graphics context for the widget's text. a , the state of the widget to get the GC for a Method System.Void Sets the graphics context for text. a , the state of the widget to set the GC for a Method System.Void Draws a box on the screen with the given parameters. a a a a a a a a a a a Method System.Void Draws a check button indicator in the given rectangle on with the given parameters. a a a a a a a a a a a Method System.Void Draws a resize grip in the given rectangle on using the given parameters. a a a a a a a a a a a Method System.Void Draws a layout on the screen using the given parameters. a a a a a a a a a a Use this routine to paint a on the screen. This method is convenient mechanism to draw the text on the screen because it contains a clipping rectangle. Method System.Void Draws a radio button indicator in the given rectangle on with the given parameters. a a a a a a a a a a a Method System.Void Draws a slider widget with the given parameters. a a a a a a a a a a a a Method System.Void Draws a diamond in the given rectangle on using the given parameters. a a a a a a a a a a a Method System.Void Draws a shadow around the given rectangle in using the given style and state and shadow type. a a a a a a a a a a a Method System.Void Draws a vertical line from (, ) to (, ) in using the given style and state. a a a a a a a a a Method System.Void Draws an option menu tab (i.e. the up and down pointing arrows) in the given rectangle on using the given parameters. a a a a a a a a a a a Method System.Void Draws a focus indicator around the given rectangle on using the given style. a a a a a a a a a a Method System.Void Draws a shadow gap around the given widget using the given parameters. a a a a a a a a a a a a a a Method System.Void Draws an extension for the given widget in the given style. a a a a a a a a a a a a Method System.Void Draws a flat box on with the given parameters. a a a a a a a a a a a Method System.Void Draw a handle graphic for the given widget using the given parameters. a a a a a a a a a a a a Method System.Void Draw an arrow at (, ) using the given parameters. a a a a a a a a a a a a a Method System.Void Draws a horizontal line from (, ) to (, ) in using the given style and state. a a a a a a a a a Method System.Void Draws a gap around a box using the given parameters. a a a a a a a a a a a a a a Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gdk.Color[] The colors to use for text. a Property Gdk.Color[] The base color set. a Method Gdk.Color Returns the color for text in the given state. a a Method Gdk.Color Returns the base color for the given state. a a Method System.Void Paints an expander using the style specified. a a a a a a a a a Method System.Void Paint a polygon. a a a a a a a a a Method Gdk.GC Returns the graphics context for anti-aliased text. a , the state of the widget to get the GC for a Method System.Void Set the graphics context for anti-aliased text. a , the state of the widget to set the GC for a Method Gdk.GC Returns a graphics context for light-colored drawing a , the state of the widget to get the GC for a Method System.Void Set the graphics context for light-colored drawing a , the state of the widget to set the GC for a Method Gdk.GC Returns a graphics context for dark-colored drawing a , the state of the widget to get the GC for a Method System.Void Set the graphics context for dark-colored drawing a , the state of the widget to set the GC for a Method Gdk.GC Returns a graphics context for medium-colored drawing a , the state of the widget to get the GC for a Method System.Void Set the graphics context for medium-colored drawing a , the state of the widget to set the GC for a Property Gdk.Font Deprecated. a The to use for a given style. This is deprecated and should not be used in new code. New code should use instead. System.Obsolete Event System.EventHandler Event raised when the aspects of the style specific to a particular colormap and depth are being cleaned up. A connection to this signal can be useful if a widget wants to cache objects like a as object data on . This signal provides a convenient place to free such cached objects. GLib.Signal("unrealize") Event System.EventHandler Event triggered when the style has been initialized for a particular colormap and depth. Connecting to this signal is probably seldom useful since most of the time applications and widgets only deal with styles that have been already realized. GLib.Signal("realize") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method Gtk.Style Deprecated. Do not use. a Method System.Void Deprecated. Do not use. Property System.Int32 The "xthickness" value of the style. a This value is used for various horizontal padding values in Gtk. Property System.Int32 The "ythickness" value of the style. a This value is used for various vertical padding values in Gtk. Property Pango.FontDescription The value for the style. a Property Gdk.Color[] Light colors indexed by state. a Property Gdk.Color[] Mid colors indexed by state. a Property Gdk.Color[] Dark colors indexed by state. a Method Gdk.Color Gets the light color for a given state. a a Method Gdk.Color Gets the mid color for a given state. a a Method Gdk.Color Gets the dark color for a given state. a a Property Gdk.Pixmap[] Gets an array of background pixmaps. a Method Gdk.Pixmap Get the background pixmap for a given state. a a Method System.Void Sets the background pixmap for a given state. a a Method System.Boolean name of color to lookup. location to put color. Looks up a color by name.. if , is filled in. gtk-sharp-2.12.10/doc/en/Gtk/ResponseArgs.xml0000644000175000001440000000343611345266756015550 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.ResponseType The response type the user gave for this dialog. a gtk-sharp-2.12.10/doc/en/Gtk/ValueChangedArgs.xml0000644000175000001440000000227111345266756016274 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor To be added. To be added. Property System.Double To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Notebook.xml0000644000175000001440000015554711345266756014730 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Notebook widget container. The Notebook widget is a whose children are pages that can be switched between using tabs along the edge. Tabs are typically widgets, but can be any other widget. There are many configuration options for Notebooks. Among other things, you can choose on which edge the tabs appear (The property), whether, if there are too many tabs to fit the notebook should be made bigger or scrolling arrows added (The property), and whether there will be a popup menu allowing the users to switch pages (The property). Notebooks without tabs, can be used as containers to quickly switch between different groups of information to reduce any flicker caused by widget relayout by the application. using System; using Gtk; class NotebookSample { static void Main () { new NotebookSample (); } NotebookSample () { Application.Init (); Window win = new Window ("NotebookSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); win.SetDefaultSize (400, 400); Notebook nb = new Notebook (); for (int i = 0; i < 5; i ++) { string label = String.Format ("Page {0}", i+1); nb.AppendPage (new Button (label), new Label (label)); } win.Add (nb); win.ShowAll (); Application.Run (); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } (FIXME: all methods in this class should specify types in their param elements, and this doc needs a good proofreading.) Gtk.Container System.Reflection.DefaultMember("Item") Method System.String Returns the label caption for the Notebookpage containing the given widget. The widget in the page. The text of the tab label, or if the widget does not have a tab label other than the default tab label, or the tab label page is not a . Returns the tab label text for the page child. is returned if the child widget is not in the notebook or if no tab label has specifically been set for the . Method System.String Returns the label caption for the menu of the notebookpage containing the given widget. The child widget in the page The text of the menu label, or if the widget does not have a menu label other than the default menu label, or the menu label page is not a . Retrieves the text of the menu label for the page containing . Method System.Void Enables the page-selection popup. Enables the popup menu: if the user clicks with the right mouse button on the bookmarks, a menu with all the pages will be popped up. Method System.Void Sets the label for the page containing a widget The child widget whose label will be changed The new caption for the tab. Creates a new label and sets it as the tab label for the page containing . Method System.Void Switches to the previous page. Switches to the previous page. Nothing happens if the current page is the first page. Method System.Void Enables the page-selection popup. Disables the popup menu. Inverse operation of Method System.Void Removes a page. The page number to remove starting from zero. You can use minus one to remove the last page. Removes a page from the notebook given its index in the notebook. Method Gtk.Widget Returns the label for the menu of the notebookpage containing the given widget. The child widget in the page. The , or null if the page does not have a menu label other than the default menu label. the label of a menu doesn't have to be a . it can be any Method System.Void Changes the position of a widget in the notebook. The widget to move. The new position, or -1 to move to the end Reorders the page containing , so that it appears in position position. If position is greater than or equal to the number of children in the list or negative, will be moved to the end of the list. Method Gtk.Widget Returns the for the Notebook page containing the given widget. The child widget in the page. The label, or null if the page does not have a tab label other than the default tab label. the label of a menu doesn't have to be a . it can be any Method Gtk.Widget Returns the notebookpage with the given index. the zero-based index of the page to return. use -1 for the last page. returns the with the given index. Method System.Void sets the text of a menu label of a page. the page. the text of the label. Method System.Void Switches to the next page. Switches to the next page. Nothing happens if the current page is the last page. Method System.Void Sets the menu label of a page. the page the to use as menu label. use null to get the same label as the tab label, this only works if the tab label is a Method System.Void Sets the packing of the tab label of a page. a page. sets true to expand the label. sets true to fill to fill the allocated area. sets of the label. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new object. This is the default constructor for . Property System.Int32 Sets or obtains the index of the curent page. Returns the index of the current page . The index (starting from 0) of the current page in the notebook. If the notebook has no pages, then -1 will be returned. Property System.Boolean Indicates if scroll arrows are added if there are too many tabs. Returns true if arrows are added and false if not. Default is false. GLib.Property("scrollable") Property System.Boolean Indicates if the tabs are shown. Returns true if the tabs are shown and false if not. Default value is true. GLib.Property("show-tabs") Property System.Boolean Indicates if the border is shown. Returns true if the border is shown and false if not. Default value is true. GLib.Property("show-border") Property System.UInt32 Sets or obtains the width of the horizontal border around the tabs. Returns the horizontal width of the border. Default value is 2. GLib.Property("tab-hborder") System.Obsolete Property System.Boolean Indicates if all the tabs have the same size. Returns a boolean to indicate if the tabs have the same size or not. True if the tabs have the same size and false if not. Default is false. GLib.Property("homogeneous") System.Obsolete Property System.UInt32 Sets or obtains the width of the vertical border around the tabs. Returns the vertical width of the border. Default value is 2. GLib.Property("tab-vborder") System.Obsolete Property System.UInt32 Sets the width of the border around the tabs.. Default value is 2. This is a easy the change and at the same time. Use those properties to read the width. GLib.Property("tab-border") System.Obsolete Property System.Int32 Sets or obtains the index of the curent page. Returns the index of the curent page. use instead. GLib.Property("page") Property Gtk.PositionType Sets or obtains The position of the tabs. the of this notebook. default is top. GLib.Property("tab-pos") Property System.Boolean Indicates if the popup menu is enabled. Returns true if the popup menu is enabled and false if not. if true and the user clicks with the right mouse button on the tabs, a menu with all the pages will be popped up. GLib.Property("enable-popup") Event Gtk.SelectPageHandler Raised when a page of the notebook is selected. GLib.Signal("select_page") Event Gtk.SwitchPageHandler Signaled when the page changes This signal is raised when the page is changed either by the user or programatically. GLib.Signal("switch_page") Event Gtk.MoveFocusOutHandler Signaled when Focus is being moved out. This event is raised before the focus is removed from the current widget GLib.Signal("move_focus_out") Event Gtk.ChangeCurrentPageHandler Signaled when a request is made to change the current page This event is raised when a request is made to change the current page in the notebook. GLib.Signal("change_current_page") Event Gtk.FocusTabHandler Signaled when a Tab is focused This event is raised when a tab has been focused. GLib.Signal("focus_tab") Method System.Void Sets the label for the page containing a widget the page the to use as label. use null for the default label. Property System.Int32 returns the amount of pages in this notebook. the amount of pages in the notebook. Property Gtk.Widget Obtains the widget that represents the current page. The object in the current page. This property uses and together to provide a quicker way of getting the current page widget. Method System.Void Query the packing attributes for the tab label of the page containing child. the page. indicates if expand is true or false. indicates if fill is true or false. returns to which is used. Property GLib.GType GType Property. a Returns the native value for . Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 Returns the page number that a child exists on. to look for. Page number that the widget exists on, -1 if the widget isn't in the notebook. This function returns -1 if the is not a direct child of the notebook. Property System.Boolean Whether tabs should have homogeneous sizes. a System.Obsolete Method System.Int32 prepends a page, with a custom popup-label. the to use as contents of the page. the to use as tab label. use null to use the default label. the to use as menu label. use null to get the same label as the tab label, this only works if the tab label is a a Don't forget to call the Show method on the widget or else the new page will not be shown. Method System.Int32 prepends a page. a t use as content of the page. the to use as the tab label. use null to use the default label. a Don't forget to call the Show method on the widget or else the new page will not be shown. Method System.Int32 Insert a page into notebook at the given position, with a custom popup-label. The to use as th content of the page. the to use as a label. use null for the default label. the to use as menu label. use null to get the same label as the tab label, this only works if the tab label is a the zero-based position to insert the page. use -1 make it the last page. a Don't forget to call the Show method on the widget or else the new page will not be shown. Method System.Int32 Inserts a page into the notebook at the given position. The to use as the contents of the page. The to be used as the label for the page, or to use the default label, 'page N'. The index (starting at 0) at which to insert the page, or -1 to append the page after all other pages. a Insert a page into the notebook at the given position. Don't forget to call the Show method on the widget or else the new page will not be shown. Method System.Int32 Appends a page, with a custom popup-label. The to use as the contents of the page. The to be used as the label for the page, or to use the default label, 'page N'. The widget to use as a label for the page-switch menu, if its enabled. If is passed, and is a or , then the menu label will be a newly created label with the same text as ; If is not a , must be specified if the page-switch menu is to be used. a Appends a page to notebook, specifying the widget to use as the label in the popup menu. Don't forget to call the Show method on the widget or else the new page will not be shown. Method System.Int32 Appends a page. The to use as the contents of the page. The to be used as the label for the page, or to use the default label, 'page N'. A specifying the index (starting from 0) of the appended page in the notebook, or -1 if the method fails. Appends a page to notebook. The tab widget is the and the content is . Don't forget to call the Show method on the widget or else the new page will not be shown. Event GLib.Signal("page_removed") Gtk.PageRemovedHandler Raised when a notebook page is removed. Event GLib.Signal("page_added") Gtk.PageAddedHandler Raised when a notebook page is added. Event GLib.Signal("page_reordered") Gtk.PageReorderedHandler Raised when a notebook page is reordered. Event GLib.Signal("reorder_tab") Gtk.ReorderTabHandler Raised when a tab is reordered. Method System.Void removed page. index of removed page. Default handler for event. Method System.Void added page. index of added page. Default handler for event. Method System.Void reordered page. index of reordered page. Default handler for event. Method System.Void To be added. To be added. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void child to update. if , the child is detachable. Sets a child's detachable property. Method System.Boolean child page. Gets the tab reorder property of a child. if , the child is reorderable. Method System.Void child page. if , the child is reorderable. Sets the tab reorder property of a child. Method System.Boolean To be added. Gets the detachable property of a child.. if , the child is detachable. Property GLib.Property("group-id") System.Obsolete System.Int32 Group ID for tab drag and drop. default value is -1. Property Gtk.NotebookWindowCreationFunc Sets a delegate to create windows for detached tabs. a . Event GLib.Signal("create_window") Gtk.CreateWindowHandler To be added. To be added. Property GLib.Property("group") System.IntPtr To be added. To be added. To be added. Method Gtk.Notebook To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RecentChooserAdapter.xml0000644000175000001440000006301411345266756017177 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.RecentChooser Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.RecentInfo To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Property GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method Gtk.RecentChooser To be added. To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Event GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. System.Obsolete Property GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Property GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.RecentChooserImplementor To be added. To be added. To be added. Event GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property System.Obsolete System.Boolean To be added. To be added. To be added. Property GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Property GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. RecentChooser interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/WidgetHelpType.xml0000644000175000001440000000342611345266756016032 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The type of help to display when the event is raised. System.Enum GLib.GType(typeof(Gtk.WidgetHelpTypeGType)) Field Gtk.WidgetHelpType This value shows the short name of the tooltip--- the hover text. Field Gtk.WidgetHelpType This field holds longer or more detailed help text; so named because it's often used by the "What's this?" help function in many applications. gtk-sharp-2.12.10/doc/en/Gtk/ScrollArgs.xml0000644000175000001440000000515611345266756015211 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Single The position of the scroller. a Property Gtk.ScrollType What kind of scrolling happened in this event. A Property Gtk.Orientation The orientation of the scroller in question, horizontal or vertical. A gtk-sharp-2.12.10/doc/en/Gtk/Paned.xml0000644000175000001440000005232411345266756014164 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for containers that have two children separated by an adjustable pane. This class provides methods for manipulating a panel with 2 child widgets, separated by a splitter. The concrete widgets that extend from this class are for a vertical splitter, and for a horizontal splitter. A paned widget draws a separator between the two child widgets that the user can drag to adjust the division. Each child widget has two options that can be set, and , (set with the and methods). If resize is , then when the Paned is resized, the respective child will expand or shrink along with the paned widget. If shrink is , then the respective child can be made smaller than it's requisition by the user. Setting shrink to allows the application to set a minimum size. If resize is for both children, then this exhibits exactly the same behaviour as if resize is for both children. The application can set the position of the slider as if it were set by the user with the property. public Widget GetExampleFrame() { HPaned splitter = new HPaned(); Frame frame1 = new Frame("Example frame1"); Frame frame2 = new Frame("Example frame2"); splitter.Pack1(frame1, true, false); splitter.Pack2(frame2, false, false); splitter.ShowAll(); return splitter; } Gtk.Container System.Reflection.DefaultMember("Item") Method System.Void Packs a child widget into the second part of the Paned container, (the bottom or right panes). A widget for this container to manage. Whether this child should expand when the Paned widget is resized. Whether this child can be made smaller than its default size by the user. Method System.Void Packs a child widget into the first part of the Paned container, (the top or left panes). A widget for this container to manage. Whether this child should expand when the Paned widget is resized. Whether this child can be made smaller than its default size by the user. Method System.Void Adds a child widget into the second part of the Paned container, (the bottom or right panes), with default packing settings. A widget for this container to manage. This is the same as calling with resize set to and shrink set to . Method System.Void Adds a child widget into the first part of the Paned container, (the top or left panes), with default packing settings. A widget for this container to manage. This is the same as calling with resize set to and shrink set to . Method System.Void Determines the position of the pane separator based on the size and shrinkability of the widget's children. A A A Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gtk.Widget An accessor to the second child widget of this container The child widget added with or . Property Gtk.Widget An accessor to the first child widget of this container The child widget added with or . Property System.Int32 Manage the position of the splitter bar that separates the 2 child widgets. The current position ofh GLib.Property("position") Property System.Boolean Whether the position property (related to and ) should be used. an object of type GLib.Property("position-set") Event Gtk.CycleHandleFocusHandler Emitted when paned has the focus and one of the tab key combinations are pressed. This signal is emitted when paned has the focus and any of the Tab, Ctrl-Tab, Shift-Tab or Ctrl-Shift-Tab keys combinations are pressed. Tab and Ctrl-Tab set reversed to while Shift-Tab and Ctrl-Shift-Tab set reversed to . GLib.Signal("cycle_handle_focus") Event Gtk.MoveHandleHandler Emitted when paned has the focus and the separator is moved. GLib.Signal("move_handle") Event Gtk.CancelPositionHandler Emitted when the Esc key is pressed while paned has the focus. GLib.Signal("cancel_position") Event Gtk.AcceptPositionHandler Emitted when the paned has focus This signal is emitted when paned has the focus and any of the Return, Enter, Space keys are pressed. This will also cause the child widget with the focus to be activated. GLib.Signal("accept_position") Event Gtk.ToggleHandleFocusHandler Emitted when paned has the focus and F8 is pressed to give the focus to or take the focus from the separator handle. GLib.Signal("toggle_handle_focus") Event Gtk.CycleChildFocusHandler Emitted when F6 or Shift-F6 is pressed while paned has the focus. GLib.Signal("cycle_child_focus") Property GLib.GType GType Property. a Returns the native value for . Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Default constructor. Property System.Int32 The largest possible value for the position property. This property is derived from the size and shrinkability of the widget's children. a GLib.Property("max-position") Property System.Int32 The smallest possible value for the position property. This property is derived from the size and shrinkability of the widget's children. a GLib.Property("min-position") gtk-sharp-2.12.10/doc/en/Gtk/DoneHandler.xml0000644000175000001440000000227711345266756015322 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DoneHandler instance to the event. The methods referenced by the DoneHandler instance are invoked whenever the event is raised, until the DoneHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/Grab.xml0000644000175000001440000000563211345266756014010 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Grab methods allow you to limit the keyboard and mouse interaction to a particular widget or window. System.Object Method System.Void Makes the specified widget the currently grabbed widget. This means that interaction with other widgets in the same application is blocked and mouse as well as keyboard events are delivered to this widget. The that grabs keyboard and pointer events. Method System.Void Removes the grab from the given widget. You have to pair calls to and . The which gives up the grab. Constructor Don't use. Property Gtk.Widget Queries the current grab of the default window group. A which currently has the grab or if no grab is active. gtk-sharp-2.12.10/doc/en/Gtk/TitleChangedArgs.xml0000644000175000001440000000337011345266756016302 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String Holds the new title for the window. the new title. gtk-sharp-2.12.10/doc/en/Gtk/TitleChangedHandler.xml0000644000175000001440000000271611345266756016766 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TitleChangedHandler instance to the event. The methods referenced by the TitleChangedHandler instance are invoked whenever the event is raised, until the TitleChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ScrollEventArgs.xml0000644000175000001440000000340611345266756016207 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventScroll The scrolling event that happened. a gtk-sharp-2.12.10/doc/en/Gtk/DragFailedHandler.xml0000644000175000001440000000143711345266756016414 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Menu+MenuChild.xml0000644000175000001440000000617511345266756015710 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("bottom-attach") System.Int32 The row that the bottom of the menu item is attached to. the row See for more details Property Gtk.ChildProperty("top-attach") System.Int32 The row that the top of the menu item is attached to. the row See for more details Property Gtk.ChildProperty("left-attach") System.Int32 The column that the left side of the menu item is attached to. the column See for more details Property Gtk.ChildProperty("right-attach") System.Int32 The column that the right side of the menu item is attached to. the column See for more details A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/ToggleHandleFocusArgs.xml0000644000175000001440000000260711345266756017306 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/Icon.xml0000644000175000001440000001700311345266756014020 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Methods for handling icon properties. System.Object Method System.Void Registers as another name for . An alias for . An existing icon size. Calling with as argument will return . Method Gtk.IconSize Looks up the icon size associated with . The name to look up. The icon size with the given name. Method Gtk.IconSize Registers a new icon size. Name of the icon size. The icon width. The icon height. Integer value representing the size. Along the same lines as . Returns integer value for the size. Method System.String Obtains the canonical name of the given icon size. A . The name of the given icon size. The returned string is statically allocated and should not be freed. Constructor A constructor. Method System.Boolean Obtains the pixel size of a semantic icon size, possibly modified by user preferences fot the default . An icon size. Location to store icon width. Location to store icon height. if was a valid size. Normally size would be , , etc. This method is not normally needed, is the usual way to get an icon for rendering, then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by , because themes are free to render the pixbuf however they like, including changing the usual size. Method System.Boolean Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular . A object, used to determine which set of user preferences to use. An icon size. Location to store icon width. Location to store icon height. if was a valid size. Normally size would be , , etc. This method is not normally needed, is the usual way to get an icon for rendering, then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by , because themes are free to render the pixbuf however they like, including changing the usual size. gtk-sharp-2.12.10/doc/en/Gtk/ProgressBarStyle.xml0000644000175000001440000000371111345266756016403 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration representing the styles for drawing the . An enumeration representing the styles for drawing the . System.Enum GLib.GType(typeof(Gtk.ProgressBarStyleGType)) Field Gtk.ProgressBarStyle The grows in a smooth, continuous manner. The grows in a smooth, continuous manner. Field Gtk.ProgressBarStyle The grows in discrete, visible blocks. The grows in discrete, visible blocks. gtk-sharp-2.12.10/doc/en/Gtk/CancelPositionArgs.xml0000644000175000001440000000255711345266756016667 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/ToggleSizeAllocatedArgs.xml0000644000175000001440000000347211345266756017637 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The size that was allocated. A gtk-sharp-2.12.10/doc/en/Gtk/MoveFocusArgs.xml0000644000175000001440000000434711345266756015662 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.DirectionType The direction to move the focus. a System.Obsolete("Events using this type were replaced by Gtk.Widget keybinding signal") gtk-sharp-2.12.10/doc/en/Gtk/MoveFocusOutHandler.xml0000644000175000001440000000340611345266756017026 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveFocusOutHandler instance to the event. The methods referenced by the MoveFocusOutHandler instance are invoked whenever the event is raised, until the MoveFocusOutHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PageHorizontallyHandler.xml0000644000175000001440000000277711345266756017735 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PageHorizontallyHandler instance to the event. The methods referenced by the PageHorizontallyHandler instance are invoked whenever the event is raised, until the PageHorizontallyHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DisconnectProxyArgs.xml0000644000175000001440000000544011345266756017102 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Action The action being disconnected from a proxy. a Property Gtk.Widget The proxy from which an action is being disconnected. a gtk-sharp-2.12.10/doc/en/Gtk/RowCollapsedHandler.xml0000644000175000001440000000272311345266756017027 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowCollapsedHandler instance to the event. The methods referenced by the RowCollapsedHandler instance are invoked whenever the event is raised, until the RowCollapsedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/AccelGroupEntry.xml0000644000175000001440000000532011345266756016175 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. One item within a . System.ValueType Field Gtk.AccelGroupEntry An empty . Method Gtk.AccelGroupEntry Internal constructor; do not use. , pointer to the underlying C object. a Field Gtk.AccelKey The key for this accelerator. Field System.Int32 A containing an integer/string mapping for the path to accelerate. See the notes for for details on the formatting of the path string. gtk-sharp-2.12.10/doc/en/Gtk/DragLeaveArgs.xml0000644000175000001440000000420211345266756015574 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The time of the event. A Property Gdk.DragContext The context of this drag. a gtk-sharp-2.12.10/doc/en/Gtk/IconLookupFlags.xml0000644000175000001440000000661411345266756016175 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to specify options for System.Enum GLib.GType(typeof(Gtk.IconLookupFlagsGType)) System.Flags Field Gtk.IconLookupFlags Never return SVG icons, even if gdk-pixbuf supports them. Cannot be used together with . Field Gtk.IconLookupFlags Return SVG icons, even if gdk-pixbuf does not support them. Cannot be used together with . Field Gtk.IconLookupFlags When passed to includes builtin icons as well as files. For a builtin icon, returns and you need to call . Field Gtk.IconLookupFlags To be added. gtk-sharp-2.12.10/doc/en/Gtk/CellRendererState.xml0000644000175000001440000000552511345266756016505 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Tells how a cell is to be rendered. System.Enum GLib.GType(typeof(Gtk.CellRendererStateGType)) System.Flags Field Gtk.CellRendererState The cell is currently selected, and probably has a selection colored background to render to. Field Gtk.CellRendererState The mouse is hovering over the cell. Field Gtk.CellRendererState The cell is drawn in an insensitive manner. Field Gtk.CellRendererState The cell is in a sorted row. Field Gtk.CellRendererState The cell currently has the keyboard focus. gtk-sharp-2.12.10/doc/en/Gtk/PrinterStatusChangedArgs.xml0000644000175000001440000000310411345266756020043 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Printer The updated printer. A . Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/ButtonBox.xml0000644000175000001440000002403211345266756015054 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. ButtonBox is a container for laying out widgets. A button box should be used to provide a consistent layout of buttons throughout your application. Specific button boxes are for horizontal groups of buttons, and for vertical button groups. Gtk.Box System.Reflection.DefaultMember("Item") Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gtk.ButtonBoxStyle Alter the way the buttons in this box are arranged. The style that the child widgets are currently arranged in. See for more information about the styles of button boxes. Property Gtk.ButtonBoxStyle See GLib.Property("layout-style") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Default parameterless constructor. This is the default constructor for the class. Method System.Void Gets the internal padding of the child widgets. a , the horizontal value a , the vertical value Method System.Void Sets the minimum width and height of this button box's child widgets. a a Method System.Void Sets the internal padding of the child widgets. a , the horizontal value a , the vertical value Method System.Void Sets the minimum width and height of this button box's child widgets. a a Method System.Boolean Returns whether should appear in a secondary group of children. a a Method System.Void Sets whether should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog. a a : if , the appears in a secondary group of the button box. This group appears after the other children if the style is , or , and before the the other children if the style is %GTK_BUTTONBOX_END. For horizontal button boxes, the definition of before/after depends on direction of the widget (see ). If the style is or , then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. gtk-sharp-2.12.10/doc/en/Gtk/ProximityInEventHandler.xml0000644000175000001440000000277511345266756017735 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ProximityInEventHandler instance to the event. The methods referenced by the ProximityInEventHandler instance are invoked whenever the event is raised, until the ProximityInEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ProximityOutEventHandler.xml0000644000175000001440000000301011345266756020115 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ProximityOutEventHandler instance to the event. The methods referenced by the ProximityOutEventHandler instance are invoked whenever the event is raised, until the ProximityOutEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/WindowStateEventArgs.xml0000644000175000001440000000357711345266756017232 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventWindowState The uses this method to access the details of an event. a gtk-sharp-2.12.10/doc/en/Gtk/CancelPositionHandler.xml0000644000175000001440000000274611345266756017350 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CancelPositionHandler instance to the event. The methods referenced by the CancelPositionHandler instance are invoked whenever the event is raised, until the CancelPositionHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/FocusOutEventArgs.xml0000644000175000001440000000341411345266756016517 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventFocus The change in keyboard focus. a gtk-sharp-2.12.10/doc/en/Gtk/DisableDeviceArgs.xml0000644000175000001440000000340111345266756016425 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Device The device to enable. A gtk-sharp-2.12.10/doc/en/Gtk/GrabNotifyArgs.xml0000644000175000001440000000343511345266756016015 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Returns whether or not the Grab object was actually grabbed. A object. gtk-sharp-2.12.10/doc/en/Gtk/Selection.xml0000644000175000001440000002233411345266756015060 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Object to represent a selection. System.Object Method System.Void Add targets for this widget. a a a a Method System.Void Remove all targets registered for the given selection for the widget. a a representing the selection. Method System.Void Removes all handlers and unsets ownership of all selections for a widget. Called when widget is being destroyed. a Method System.Boolean The default handler for the event. Instead of calling this function, chain up from your . Calling this function from any other context is illegal. a a a , true if the event was handled, otherwise false This function will be deprecated in future versions of GTK+ and GTK#. Method System.Boolean Request the contents of a selection. When received, a event will be generated. a , the requesting widget a , the selection to get a , the form of the information ("STRING" for example) (TODO: elaborate possible options) a , the time the request is being made a , true if the request succeeded, false if it couldn't be processed. Method System.Void Add the specified target to the list of supported targets for this selection. a , the widget for which this target applies a , the selection data a a TODO: this could be better-explained. Method System.Boolean Claims ownership of a given selection for a particular widget, or if is , release ownership of the selection. a or a representing the selection to claim. a , a timestamp to use in claiming the selection. a , true if the operation succeeded. Method System.Boolean Claims ownership of a given selection on a given display for a particular widget, or if is , release ownership of the selection. a , the display where the selection is set. a or a representing the selection to claim. a , a timestamp to use in claiming the selection. a , true if the operation succeeded. Constructor Public constructor. gtk-sharp-2.12.10/doc/en/Gtk/EditableAdapter.xml0000644000175000001440000003231311345266756016143 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.Editable Constructor To be added. To be added. Constructor To be added. To be added. To be added. Event GLib.Signal("changed") System.EventHandler To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. To be added. Method Gtk.Editable To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Event GLib.Signal("delete_text") Gtk.TextDeletedHandler To be added. To be added. Event GLib.Signal("insert_text") Gtk.TextInsertedHandler To be added. To be added. Property Gtk.EditableImplementor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Event GLib.Signal("delete_text") Gtk.TextDeletedHandler To be added. To be added. Event GLib.Signal("insert_text") Gtk.TextInsertedHandler To be added. To be added. Editable interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/RowActivatedArgs.xml0000644000175000001440000000434411345266756016345 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreeViewColumn The column that was clicked on as part of the row activation event. A Property Gtk.TreePath The path of the row that was activated. A gtk-sharp-2.12.10/doc/en/Gtk/DeleteType.xml0000644000175000001440000001062211345266756015174 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by TextView This enumeration is used by to see decide how delete behaves. System.Enum GLib.GType(typeof(Gtk.DeleteTypeGType)) Field Gtk.DeleteType Delete the character that is highlighted by the cursor. Delete the character that is highlighted by the cursor. Field Gtk.DeleteType Delete until the end of a word Delete only the portion of the word to the left/right of cursor if we're in the middle of a word. Field Gtk.DeleteType Delete the whole line. Field Gtk.DeleteType Delete all the whitespace before the cursor. Delete all the whitespace before the cursor. Field Gtk.DeleteType Delete words. Field Gtk.DeleteType Delete lines from the display (i.e., not lines as measured by carriage returns.) Field Gtk.DeleteType Delete from the cursor to the end of the line. Field Gtk.DeleteType Delete to the end of the paragraph. gtk-sharp-2.12.10/doc/en/Gtk/AccelCanActivateHandler.xml0000644000175000001440000000323011345266756017535 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Delegate for determining whether an accelerator can activate a particular widget; see System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrintContext.xml0000644000175000001440000001476511345266756015605 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property Cairo.Context To be added. To be added. To be added. Method Pango.Context To be added. To be added. To be added. Method Pango.Layout To be added. To be added. To be added. Property System.Double To be added. To be added. To be added. Property System.Double To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property System.Double To be added. To be added. To be added. Property Gtk.PageSetup To be added. To be added. To be added. Property Pango.FontMap To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Property System.Double To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DragBeginArgs.xml0000644000175000001440000000336111345266756015571 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.DragContext The context of this drag. a gtk-sharp-2.12.10/doc/en/Gtk/SelectionGetArgs.xml0000644000175000001440000000521711345266756016336 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The time this selection was gotten from the source widget. A Property System.UInt32 An enumerator to identify the specific target for this selection. A Property Gtk.SelectionData The data from the selection. a gtk-sharp-2.12.10/doc/en/Gtk/ScrolledWindow.xml0000644000175000001440000004555311345266756016102 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Adds scrollbars to its child widget. GtkScrolledWindow is a subclass: it's a container the accepts a single child widget. GtkScrolledWindow adds scrollbars to the child widget and optionally draws a beveled frame around the child widget. The scrolled window can work in two ways. Some widgets have native scrolling support; these widgets have "slots" for objects. Widgets with native scroll support include , , and . The position of the scrollbars is controlled by the scroll adjustments. See for the properties in an adjustment - for , used by , the property represents the position of the scrollbar, which must be between the and - . The property represents the size of the visible scrollable area. The and properties are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key). Gtk.Bin Method System.Void Used to add children without native scrolling capabilities. A Used to add children without native scrolling capabilities. This is simply a convenience function; it is equivalent to adding the unscrollable child to a viewport, then adding the viewport to the scrolled window. If a child has native scrolling, use instead of this function. The viewport scrolls the child by moving its , and takes the size of the child to be the size of its toplevel . This will be very wrong for most widgets that support native scrolling; for example, if you add a widget such as with a viewport, the whole widget will scroll, including the column headings. Thus, widgets with native scrolling support should not be used with the proxy. A widget supports scrolling natively if the set_scroll_adjustments_signal field in GtkWidgetClass is non-zero, i.e. has been filled in with a valid signal identifier. Method System.Void Sets the scrollbar policy for the horizontal and vertical scrollbars. Policy for horizontal bar. Policy for vertical bar. Sets the scrollbar policy for the horizontal and vertical scrollbars. The policy determines when the scrollbar should appear; it is a value from the enumeration. If , the scrollbar is always present; if , the scrollbar is never present; if , the scrollbar is present only if needed (that is, if the slider part of the bar would be smaller than the trough - the display is larger than the page size). Method System.Void Retrieves the current policy values for the horizontal and vertical scrollbars. Location to store the policy for the horizontal scrollbar. Location to store the policy for the horizontal scrollbar. Retrieves the current policy values for the horizontal and vertical scrollbars. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new scrolled window. Horizontal adjustment. Vertical adjustment. Creates a new scrolled window. The two arguments are the scrolled window's adjustments; these will be shared with the scrollbars and the child widget to keep the bars in sync with the child. Usually you want to pass for the adjustments, which will cause the scrolled window to create them for you. Constructor Basic constructor. Property Gtk.CornerType Determines the location of the child widget with respect to the scrollbars. Determines the location of the child widget with respect to the scrollbars. The default is , meaning the child is in the top left, with the scrollbars underneath and to the right. Other values in are , , and . Property Gtk.PolicyType When the horizontal scrollbar is displayed. A GLib.Property("hscrollbar-policy") Property Gtk.Adjustment Sets the for the horizontal scrollbar. The horizontal GtkAdjustment. GLib.Property("hadjustment") Property Gtk.PolicyType When the vertical scrollbar is displayed. A GLib.Property("vscrollbar-policy") Property Gtk.Adjustment Sets or Gets the for the vertical scrollbar. The vertical GtkAdjustment. GLib.Property("vadjustment") Property Gtk.ShadowType Gets the shadow type of the scrolled window. The current shadow type. GLib.Property("shadow-type") Property Gtk.CornerType Where the contents are located with respect to the scrollbars. A GLib.Property("window-placement") Event Gtk.ScrollChildHandler Raised when the child widget is scrolled. GLib.Signal("scroll_child") Event Gtk.MoveFocusOutHandler Raised when the focus moves out of the scrolled window. GLib.Signal("move_focus_out") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.Widget Vertical Scrollbar. the vertical if it exists, or . Property Gtk.Widget Horizontal Scrollbar. the horizontal if it exists, or . Method System.Void Disables explicit window placement. Property GLib.Property("window-placement-set") System.Boolean Indicates if an explicit placement is set. if , explicit placement is enabled. gtk-sharp-2.12.10/doc/en/Gtk/RowInsertedArgs.xml0000644000175000001440000000516211345266756016215 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreeIter The row that was inserted. A that points to the inserted row. Property Gtk.TreePath The path of the row that was inserted. a gtk-sharp-2.12.10/doc/en/Gtk/HTMLPrintDrawFunc.xml0000644000175000001440000000222411345266756016342 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ToggleAction.xml0000644000175000001440000001541211345266756015511 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An action which can be toggled between two states Gtk.Action Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Fires the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor Public constructor. a , a unique name for the action a , the label displayed in menu items and on buttons a , a tooltip for the action a , the stock icon to display in widgets representing the action Property GLib.GType GType Property. a Returns the native value for . Property System.Boolean Whether the action should have proxies like a radio action. a GLib.Property("draw-as-radio") Property System.Boolean Sets the checked state on the toggle action. a , if checked GLib.Property("active") Event System.EventHandler Event raised when the toggle is changed. GLib.Signal("toggled") gtk-sharp-2.12.10/doc/en/Gtk/TreeModel.xml0000644000175000001440000011120011345266756015002 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The tree interface used by The interface defines a generic tree interface for use by the widget. It is an abstract interface, and is designed to be usable with any appropriate data structure. The programmer just has to implement this interface on their own data type for it to be viewable by a widget. The model is represented as a hierarchical tree of strongly-typed, columned data. In other words, the model can be seen as a tree where every node has different values depending on which column is being queried. The types are homogeneous per column across all nodes. It is important to note that this interface only provides a way of examining a model and observing changes. The implementation of each individual model decides how and if changes are made. In order to make life simpler for programmers who do not need to write their own specialized model, two generic models are provided - the and the . To use these, the developer simply pushes data into these models as necessary. These models provide the data structure as well as all appropriate tree interfaces. As a result, implementing drag and drop, sorting, and storing data is trivial. For the vast majority of trees and lists, these two models are sufficient. Models are accessed on a node/column level of granularity. One can query for the value of a model at a certain node and a certain column on that node. There are two structures used to reference a particular node in a model. They are the and the . Most of the interface consists of operations on a . A path is essentially a potential node. It is a location on a model that may or may not actually correspond to a node on a specific model. The struct can be converted into either an array of unsigned integers or a string. The string form is a list of numbers separated by a colon. Each number refers to the offset at that level. Thus, the path "0" refers to the root node and the path "2:4" refers to the fifth child of the third node. By contrast, a is a reference to a specific node on a specific model. It is a generic struct with an integer and three generic pointers. These are filled in by the model in a model-specific way. One can convert a path to an iterator by calling . These iterators are the primary way of accessing a model and are similar to the iterators used by . The model interface defines a set of operations using them for navigating the model. It is expected that models fill in the iterator with private data. For example, the model, which is internally a simple linked list, stores a list node in one of the pointers. The stores an array and an offset in two of the pointers. Additionally, there is an integer field. This field is generally filled with a unique stamp per model. This stamp is for catching errors resulting from using invalid iterators with a model. The lifecycle of an iterator can be a little confusing at first. Iterators are expected to always be valid for as long as the model is unchanged (and does not emit a signal). Additionally, some models guarantee that an iterator is valid for as long as the node it refers to is valid (most notably the and ). Although generally uninteresting, as one always has to allow for the case where iterators do not persist beyond a signal, some very important performance enhancements were made in the sort model. As a result, the flag was added to indicate this behavior. GLib.IWrapper Method System.Int32 Returns the number of children that the has. an object of type As a special case, if iter is , then the number of toplevel nodes is returned. Method System.Boolean Sets the TreeIter object pointed to by to point to the first child of this tree. an object of type an object of type , true if the iter has been set to the first child. Method System.Void Emits the signal. an object of type an object of type Method System.Void Calls on each node in model in a depth-first fashion. an object of type If func returns , then the tree ceases to be walked, and this method returns. Method System.Boolean Gets the first iterator in the tree (the one at the path "0") and returns . an object of type an object of type Returns if the tree is empty. Method System.Void Emits the event. an object of type an object of type This should be called by models after the child state of a node changes. Method Gtk.TreePath Gets the of . an object of type an object of type Method System.Boolean Returns if has children, otherwise. an object of type an object of type Method System.Void Lets the tree ref the node. an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching models know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its referenced state. Method System.Int32 Returns the number of children that has. an object of type an object of type As a special case, if is , then the number of toplevel nodes is returned. Method System.Void Emits the event. an object of type , path of the inserted row. an object of type , points to the inserted row. Method System.Void Emits the event. an object of type This should be called by models after a row has been removed. The location pointed to by should be the location that the row previously was at. It may not be a valid location anymore. Method System.Void Gets the values of child properties for the row pointed to by . an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Method System.Void Lets the tree unref the node. an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreferenced. Property System.Int32 Returns the number of columns supported by the . an object of type Property Gtk.TreeModelFlags Returns a set of flags supported by this interface. an object of type The flags are a bitwise combination of . The flags supported should not change during the lifecycle of the . Event Gtk.RowHasChildToggledHandler Emitted when a child of a row is toggled. Event Gtk.RowInsertedHandler Emitted when a row has been inserted into the model. Event Gtk.RowDeletedHandler Emitted when a row is deleted. Event Gtk.RowChangedHandler Emitted when a row has changed. Event Gtk.RowsReorderedHandler Emitted when a row is re-ordered Method System.Boolean Sets to be the child of the root node, using the given index. an object of type an object of type an object of type In this case, the nth root node is set. Method System.Boolean Sets to be the child of , using the given index. an object of type an object of type an object of type an object of type The first index is 0. If is too big, or has no children, is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method System.Boolean Gets the at . an object of type an object of type an object of type Otherwise, is left invalid and is returned. Method System.Boolean Sets to point to the first child of . an object of type an object of type an object of type If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called. Method System.Boolean Sets to a valid iterator pointing to . an object of type an object of type an object of type Method System.Boolean Sets to be the parent of . an object of type an object of type an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method System.String Generates a string representation of the path of . a a This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Method System.Void Sets the value of column in the row pointed to by to if the value is a boolean. a a a Method System.Void Sets the value of column in the row pointed to by to if the value is a . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a To be added. Method System.Void Sets the value of column in the row pointed to by to if the value is an . a a a Method System.Object Gets the value stored in column of the row pointed to by . a a a Method GLib.GType Returns the type of the column at the given index. a , the column number. a Method System.Int32 Sends out a event. a that points to the row whose children have been reordered. a that points to the row whose children have been reordered. a , pointer to an array of integers with the new indices of the children. Method System.Void Gets the value stored in column of the row pointed to by and stores it in a a a Method System.Boolean Sets to point to the node following it at the current level. an object of type an object of type If there is no next iter, is returned and iter is set to be invalid. gtk-sharp-2.12.10/doc/en/Gtk/ChangeValueHandler.xml0000644000175000001440000000271211345266756016611 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChangeValueHandler instance to the event. The methods referenced by the ChangeValueHandler instance are invoked whenever the event is raised, until the ChangeValueHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/HTMLCommandType.xml0000644000175000001440000017400411345266756016042 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration of commands that knows how to respond to. System.Enum Field Gtk.HTMLCommandType Undo the last command Field Gtk.HTMLCommandType Redo the last un-done command. Field Gtk.HTMLCommandType Copy the current selection. Field Gtk.HTMLCommandType Copy the current selection and make further selection impossible. Field Gtk.HTMLCommandType Cut the current selection. Field Gtk.HTMLCommandType Paste the current clipboard contents. Field Gtk.HTMLCommandType Cut the current line to the clipboard. Field Gtk.HTMLCommandType Insert a new paragraph at the cursor location. Field Gtk.HTMLCommandType Insert a tab character. Field Gtk.HTMLCommandType Insert a rule line. Field Gtk.HTMLCommandType Insert parameters for a rule line. Field Gtk.HTMLCommandType Insert parameters for an image. Field Gtk.HTMLCommandType Add a new tab or increase the current indent level. Field Gtk.HTMLCommandType Insert a new tab or go to the next table in a cell. Field Gtk.HTMLCommandType Create a new link. Field Gtk.HTMLCommandType Remove an existing link. Field Gtk.HTMLCommandType Delete text. Field Gtk.HTMLCommandType Delete the character before the cursor. Field Gtk.HTMLCommandType Delete the character before the cursor or remove an indent level. Field Gtk.HTMLCommandType Go into selection mode. Field Gtk.HTMLCommandType Disable selections. Field Gtk.HTMLCommandType Make text bold. Field Gtk.HTMLCommandType Make text non-bold. Field Gtk.HTMLCommandType Toggle the bold style for a character or region. Field Gtk.HTMLCommandType Make text italic. Field Gtk.HTMLCommandType Make text non-italic. Field Gtk.HTMLCommandType Toggle the italic attribute for a character or block of text. Field Gtk.HTMLCommandType Make text underlined. Field Gtk.HTMLCommandType Make text non-underlined. Field Gtk.HTMLCommandType Toggle the underline attribute on a character or block of text. Field Gtk.HTMLCommandType Strike out text. Field Gtk.HTMLCommandType Remove strikeouts from text. Field Gtk.HTMLCommandType Toggle the strikeout attribute on a character or block of text. Field Gtk.HTMLCommandType Sets text to the smallest size. Field Gtk.HTMLCommandType Sets text to the second-smallest size. Field Gtk.HTMLCommandType Sets text to normal size. Field Gtk.HTMLCommandType Sets text to a medium-large size. Field Gtk.HTMLCommandType Sets text to a large size. Field Gtk.HTMLCommandType Sets text to a very large size. Field Gtk.HTMLCommandType Sets text to the largest possible size. Field Gtk.HTMLCommandType Makes text one size larger. Field Gtk.HTMLCommandType Makes text one size smaller. Field Gtk.HTMLCommandType Left-aligns text. Field Gtk.HTMLCommandType Center-aligns text. Field Gtk.HTMLCommandType Right-aligns text. Field Gtk.HTMLCommandType Clears indent values on text. Field Gtk.HTMLCommandType Indents text one level. Field Gtk.HTMLCommandType Indents text one level or moves it to the next cell in a table. Field Gtk.HTMLCommandType De-indents text. Field Gtk.HTMLCommandType Goes to the previous cell in a table. Field Gtk.HTMLCommandType Indents an entire paragraph. Field Gtk.HTMLCommandType Adds a new linebreak and re-flows text appropriately. Field Gtk.HTMLCommandType Adds a new space and re-flows text appropriately. Field Gtk.HTMLCommandType Sets the style of this paragraph to normal. Field Gtk.HTMLCommandType Sets this paragraph to be an HTML H1 element. Field Gtk.HTMLCommandType Sets this paragraph to be an HTML H2 element. Field Gtk.HTMLCommandType Sets this paragraph to be an HTML H3 element. Field Gtk.HTMLCommandType Sets this paragraph to be an HTML H4 element. Field Gtk.HTMLCommandType Sets this paragraph to be an HTML H5 element. Field Gtk.HTMLCommandType Sets this paragraph to be an HTML H6 element. Field Gtk.HTMLCommandType Sets this paragraph to be an HTML <address> element. Field Gtk.HTMLCommandType Sets this paragraph to be preformatted (i.e. fixed-width with carriage returns being significant). Field Gtk.HTMLCommandType Sets this paragraph to be an HTML <LI> item. Field Gtk.HTMLCommandType Sets this paragraph to be part of a sequentially-Roman-numeral-numbered list. Field Gtk.HTMLCommandType Sets this paragraph to be part of a sequentially-numbered list. Field Gtk.HTMLCommandType Sets this paragraph to be part of a sequentially-alphabetically-numbered list ("a. Item one; b. Item two; c. Item three.") Field Gtk.HTMLCommandType Extends the current selection up. Field Gtk.HTMLCommandType Extends the current selection down. Field Gtk.HTMLCommandType Extends the current selection to the left. Field Gtk.HTMLCommandType Extends the current selection to the right. Field Gtk.HTMLCommandType Extends the current selection by one page upwards. Field Gtk.HTMLCommandType Extends the current selection by one page downwards. Field Gtk.HTMLCommandType Extends the current selection to the beginning of the line. Field Gtk.HTMLCommandType Extends the current selection to the end of the line. Field Gtk.HTMLCommandType Extend the selection to the beginning of the document. Field Gtk.HTMLCommandType Extend the selection to the end of the document. Field Gtk.HTMLCommandType Extend the selection to include the previous word. Field Gtk.HTMLCommandType Extend the selection to include the next word. Field Gtk.HTMLCommandType Capitalize the current word. Field Gtk.HTMLCommandType Turns this word into all-upper-case. Field Gtk.HTMLCommandType Turns this word into all-lower-case. Field Gtk.HTMLCommandType Suggest a spelling for the current (misspelled) word. Field Gtk.HTMLCommandType Add this word to the user's personal spellchecker dictionary. Field Gtk.HTMLCommandType Add this word to the spellchecker dictionary for this session, so that it doesn't show up as misspelled. Field Gtk.HTMLCommandType Search the widget for a given term. Field Gtk.HTMLCommandType Incremental search forward. Field Gtk.HTMLCommandType Incremental search backward. Field Gtk.HTMLCommandType Search the text using a regular expression. Field Gtk.HTMLCommandType Move focus forward one widget. Field Gtk.HTMLCommandType Move focus backward one widget. Field Gtk.HTMLCommandType Popup the context menu. Field Gtk.HTMLCommandType Pop up the properties dialog. Field Gtk.HTMLCommandType Move the cursor forward. Field Gtk.HTMLCommandType Move the cursor backward. Field Gtk.HTMLCommandType Insert a table with empty text, one row, and one column. Field Gtk.HTMLCommandType Insert a table column after the current one. Field Gtk.HTMLCommandType Insert a table column before the current one. Field Gtk.HTMLCommandType Insert a table row after the current one. Field Gtk.HTMLCommandType Insert a table row before the current one. Field Gtk.HTMLCommandType Delete a table column. Field Gtk.HTMLCommandType Delete a row from the current table. Field Gtk.HTMLCommandType Widen/increase the COLSPAN attribute for a table cell. Field Gtk.HTMLCommandType Narrow/decrease the COLSPAN attribute for a table cell. Field Gtk.HTMLCommandType Increase the ROWSPAN attribute for a table cell. Field Gtk.HTMLCommandType Decrease the ROWSPAN attribute for a table cell. Field Gtk.HTMLCommandType Join this table cell with one to its left. Field Gtk.HTMLCommandType Join this table cell with one to its right. Field Gtk.HTMLCommandType Join this table cell with one above it. Field Gtk.HTMLCommandType Join this table cell with one below it. Field Gtk.HTMLCommandType Make the borders of this table wider. Field Gtk.HTMLCommandType Make the borders of this table narrower. Field Gtk.HTMLCommandType Make the borders of this table zero. Field Gtk.HTMLCommandType Set the default color of text. Field Gtk.HTMLCommandType Select the current word. Field Gtk.HTMLCommandType Select the current line. Field Gtk.HTMLCommandType Select the current paragraph. Field Gtk.HTMLCommandType Select a paragraph or more. Field Gtk.HTMLCommandType Select all of this document. Field Gtk.HTMLCommandType Save the cursor's current position to the cursor position stack. Field Gtk.HTMLCommandType Restores a cursor position that was saved to the cursor position stack. Field Gtk.HTMLCommandType Move the cursor to the beginning of the document. Field Gtk.HTMLCommandType Move the cursor to the end of the document. Field Gtk.HTMLCommandType Stops the widget from redrawing. Field Gtk.HTMLCommandType Allows the widget to redraw. Field Gtk.HTMLCommandType Magnify the text. Field Gtk.HTMLCommandType Make the text display size smaller. Field Gtk.HTMLCommandType Reset the zoom level to normal size text. Field Gtk.HTMLCommandType Increase the spacing between table cells. Field Gtk.HTMLCommandType Decrease the spacing between table cells. Field Gtk.HTMLCommandType Make the spacing between table cells zero. Field Gtk.HTMLCommandType Increase the padding between table cells. Field Gtk.HTMLCommandType Decrease the padding between table cells. Field Gtk.HTMLCommandType Set the padding between table cells to zero. Field Gtk.HTMLCommandType Delete an entire table. Field Gtk.HTMLCommandType Delete a row from a table. Field Gtk.HTMLCommandType Delete a column from a table. Field Gtk.HTMLCommandType Clear the contents of a table cell. Field Gtk.HTMLCommandType Grab the keyboard focus. Field Gtk.HTMLCommandType Deletes a word. Field Gtk.HTMLCommandType Deletes the word before the cursor. Field Gtk.HTMLCommandType Apply a certain color to a text selection. Field Gtk.HTMLCommandType Turn data-saving on. Field Gtk.HTMLCommandType Turn data-saving off. Field Gtk.HTMLCommandType Whether this data has been saved since the last change. Field Gtk.HTMLCommandType Whether this data has been saved since the last change. Field Gtk.HTMLCommandType Go to the beginning of the document. Field Gtk.HTMLCommandType Go to the end of the document. Field Gtk.HTMLCommandType Increase the COLSPAN value of a table cell. Field Gtk.HTMLCommandType Increase the ROWSPAN value of a table cell. Field Gtk.HTMLCommandType Decrease the COLSPAN attribute of a cell. Field Gtk.HTMLCommandType Decrease the ROWSPAN attribute of a cell. Field Gtk.HTMLCommandType To be added. Field Gtk.HTMLCommandType To be added. Field Gtk.HTMLCommandType To be added. Field Gtk.HTMLCommandType To be added. Field Gtk.HTMLCommandType To be added. Field Gtk.HTMLCommandType To be added. Field Gtk.HTMLCommandType To be added. gtk-sharp-2.12.10/doc/en/Gtk/TreeDragDestImplementor.xml0000644000175000001440000000436011345266756017663 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.TreeDragDestAdapter)) Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. TreeDragDest implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/SubmitHandler.xml0000644000175000001440000000261411345266756015673 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SubmitHandler instance to the event. The methods referenced by the SubmitHandler instance are invoked whenever the event is raised, until the SubmitHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ToggleSizeRequestedArgs.xml0000644000175000001440000000347111345266756017707 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The requested toggle size a gtk-sharp-2.12.10/doc/en/Gtk/RemovedArgs.xml0000644000175000001440000000335211345266756015350 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The widget that was removed from this container. A gtk-sharp-2.12.10/doc/en/Gtk/ObjectInsertedHandler.xml0000644000175000001440000000147211345266756017335 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RecentData.xml0000644000175000001440000000744611345266756015154 00000000000000 gtk-sharp 2.12.0.0 System.ValueType Field System.String To be added. To be added. Field System.String To be added. To be added. Field System.String To be added. To be added. Field System.String To be added. To be added. Field System.String To be added. To be added. Field System.Boolean To be added. To be added. Field System.String To be added. To be added. Method Gtk.RecentData To be added. To be added. To be added. To be added. Field Gtk.RecentData To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/AccelKey.xml0000644000175000001440000001027611345266756014615 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A class for holding information about a key that gets used as an accelerator. System.ValueType Field Gtk.AccelKey Make a new AccelKey object that has no global object key. Method Gtk.AccelKey Make a new AccelKey object with the object key specified by . an An object of type Field Gdk.ModifierType A mask of the modifier keys that are relevant for this AccelKey. Property Gtk.AccelFlags The flags for this AccelKey that determine whether will display it. a Field Gdk.Key The main keyboard key to use for this AccelKey. Useful values are enumerated in . Constructor Public constructor. a enumerated in a enumerated in , the modifiers (shift, ctrl, etc) that apply for this AccelKey a enumerated in for whether this AccelKey should be displayed in the menu gtk-sharp-2.12.10/doc/en/Gtk/SetBaseHandler.xml0000644000175000001440000000262711345266756015762 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SetBaseHandler instance to the event. The methods referenced by the SetBaseHandler instance are invoked whenever the event is raised, until the SetBaseHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TestExpandRowHandler.xml0000644000175000001440000000273611345266756017204 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TestExpandRowHandler instance to the event. The methods referenced by the TestExpandRowHandler instance are invoked whenever the event is raised, until the TestExpandRowHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Frame.xml0000644000175000001440000002021311345266756014157 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A with a decorative frame and optional . This widget draws a frame around whatever it contains, so is often used to visually group a set of widgets together. If present, a label is drawn in a gap in the top side of the frame. The position of the label can be controlled with . Gtk.Bin Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Create a new frame with a label in the top left corner. The text to appear as this frame's label This creates a new frame with a widget in the top left corner, displaying the text passed in as . Constructor Create a new frame with no label Property Gtk.Widget Manage the widget that acts as a frame's . The current in use as this Frame's label. Despite its name, this property does not have to set a widget as its label. Because of the way that Gtk containers work, you may add an arbitrary widget as the label for this frame. However, a genuine is recommended for consistency with other applications. GLib.Property("label-widget") Property System.Single Set the vertical alignment of the . The existing vertical alignment of this Frame's label GLib.Property("label-yalign") Property System.Single Set the horizontal alignment of the . The existing horizontal alignment of this Frame's label GLib.Property("label-xalign") Property Gtk.ShadowType Manage the appearance of this frame's border. The current shadow style that this Frame is rendered with. GLib.Property("shadow-type") Property System.String The string that is visible as the Frame's label The text of a label if is a , null otherwise. GLib.Property("label") Property Gtk.ShadowType Manage the appearance of this frame's border. The current shadow style that this Frame is rendered with. GLib.Property("shadow") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/Plug.xml0000644000175000001440000002164511345266756014046 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Toplevel for embedding into other processes. Together with , provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a widget and, passes the ID of that widgets window to the other process, which then creates a with that window ID. Any widgets contained in the then will appear inside the first applications window. Gtk.Window Method System.Void Finish the initialization of for a given identified by socket_id. an object of type Finish the initialization of for a given identified by socket_id which is currently displayed on display. This method will generally only be used by classes deriving from . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new widget inside the identified by socket_id. an object of type Creates a new widget inside the identified by socket_id. If socket_id is 0, the is left "unplugged" and can later be plugged into a by . Property System.UInt32 Gets the window ID of a widget. an object of type Gets the window ID of a widget, which can then be used to embed this window inside another window, for instance with . Event System.EventHandler Raised when the plug window is reparented to the socket window. GLib.Signal("embedded") Method System.Void Finish the initialization of the plug identified by which is currently displayed on . a a This method will generally only be used by derived classes. Constructor Public constructor. a a , the ID of the socket to connect to on . Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Property GLib.Property("embedded") System.Boolean IsEmbedded property. If , the plus is embedded in a socket. gtk-sharp-2.12.10/doc/en/Gtk/RadioButton.xml0000644000175000001440000001667611345266756015401 00000000000000 gtk-sharp 2.12.0.0 A choice from multiple buttons in a group. A single radio button performs the same basic function as a , as its position in the object hierarchy reflects. It is only when multiple radio buttons are grouped together that they become a different user interface component in their own right. Every radio button is a member of some group of radio buttons. When one is selected, all other radio buttons in the same group are deselected. A is one way of giving the user a choice from many options. Radio button widgets are created with , if this is the first radio button in a group. In subsequent calls, the group you wish to add this button to should be passed as an argument. Gtk.CheckButton Constructor Internal constructor a System.Obsolete Constructor Internal constructor a , pointer to the underlying C object. Not for general developer use. Constructor Creates a new instance. a Constructor Creates a new instance. a Creates a new in its own group. Constructor To be added. a Creates a new instance. Creates a RadioButton with the specified label and adds the newly created RadioButton to the same group as the RadioButton specified as the group parameter. // Example of creating two radio buttons in the same greoup RadioButton radioButton1; RadioButton radioButton2; // create first radio button allowing it to create it's own RadioButton Group radioButton1 = new RadioButton("Single Radio Button in it's own group"); // create second radio button. supply first radio button so that this one can be added // to the first radio button's group radioButton2 = new RadioButton(radioButton1, "Second radio button in the same group as radioButton1"); Property GLib.GType GType Property. a Returns the native value for . Property GLib.SList sets and obtains a linked list with all the radio buttons in the same group. a with all the radio buttons in the same group as this radio button. Event System.EventHandler Emitted when the group of radio buttons that a radio button belongs to changes. This is emitted when a radio button switches from being alone to being part of a group of 2 or more buttons, or vice-versa, and when a buttton is moved from one group of 2 or more buttons to a different one, but not when the composition of the group that a button belongs to changes. GLib.Signal("group-changed") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.10/doc/en/Gtk/AccelEditedArgs.xml0000644000175000001440000000550011345266756016072 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String Path to the row of the edited cell. A string containing the path. Property System.UInt32 The new accelerator key value. An unsigned int representing the key value. Property Gdk.ModifierType The new modifier mask. a containing the new mask. Property System.UInt32 The keycode of the new accelerator. An unsigned int representing the keycode. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/SizeChangedHandler.xml0000644000175000001440000000241011345266756016606 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SizeChangedHandler instance to the event. The methods referenced by the SizeChangedHandler instance are invoked whenever the event is raised, until the SizeChangedHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/StateChangedArgs.xml0000644000175000001440000000345211345266756016302 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.StateType The prior state of the widget before it was changed. A gtk-sharp-2.12.10/doc/en/Gtk/SensitivityType.xml0000644000175000001440000000274311345266756016331 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.SensitivityTypeGType)) Field Gtk.SensitivityType To be added. Field Gtk.SensitivityType To be added. Field Gtk.SensitivityType To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ImageMenuItem.xml0000644000175000001440000001331711345266756015622 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A with an icon. is a which has an icon next to the text label. Note that the user can disable display of menu icons, so make sure to still fill in the text label. //How to add MenuBar with a Quit stock MenuItem ... Window win; //if your class derive from Window then call this. istead of win. MenuBar menuBar ... AccelGroup grup = new AccelGroup (); win.AddAccelGroup(grup); menuFile = new Menu (); ImageMenuItem quit_item = new ImageMenuItem(Stock.Quit, group); quit_item.AddAccelerator("activate", grup, new AccelKey( Gdk.Key.q, Gdk.ModifierType.ControlMask, AccelFlags.Visible)); //OnMenuFileQuit is the Method runned when the event is trigged quit_item.Activated += new EventHandler (OnMenuFileQuit); menuFile.Append(quit_item); MenuItem file_item = new MenuItem("_File"); file_item.Submenu = menuFile; menuBar.Append(file_item); Gtk.MenuItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . Constructor Creates a new containing the image and text from a stock item. an object of type an object of type Constructor Creates a new containing a label. an object of type Property Gtk.Widget Child widget to appear next to the menu text. an object of type GLib.Property("image") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/HelpShownArgs.xml0000644000175000001440000000340011345266756015650 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.WidgetHelpType The type of help to be shown. a gtk-sharp-2.12.10/doc/en/Gtk/PrinterOptionSet.xml0000644000175000001440000002140311345266756016417 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete Native type value. Obsolete Protected Constructor. Do not use. Replaced by which registers native types automatically. Subclasses should chain to the IntPtr constructor passing and call CreateNativeObject instead of using this constructor. This constructor is provided for backward compatibility if you have manually registered a native value for your subclass. Constructor Native object pointer. Internal constructor This is not typically used by C# code. Exposed primarily for use by language bindings to wrap native object instances. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Event GLib.Signal("changed") System.EventHandler To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.GType GType Property. The native value. Returns the native value for . Method System.Void To be added. To be added. To be added. To be added. Method Gtk.PrinterOption To be added. To be added. To be added. To be added. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void To be added. To be added. To be added. Printer option set class. Not typically useful to user code. Exposed for use by managed PrintBackend implementations. gtk-sharp-2.12.10/doc/en/Gtk/ToggleCursorRowHandler.xml0000644000175000001440000000301611345266756017534 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggleCursorRowHandler instance to the event. The methods referenced by the ToggleCursorRowHandler instance are invoked whenever the event is raised, until the ToggleCursorRowHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SizeAllocatedHandler.xml0000644000175000001440000000273411345266756017156 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SizeAllocatedHandler instance to the event. The methods referenced by the SizeAllocatedHandler instance are invoked whenever the event is raised, until the SizeAllocatedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/KeyPressEventArgs.xml0000644000175000001440000000341211345266756016513 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventKey The keypress event that happened. a gtk-sharp-2.12.10/doc/en/Gtk/TreeModelFlags.xml0000644000175000001440000000362211345266756015767 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. These flags indicate various properties of a . These flags are returned through the property and must be static for the lifetime of the object. System.Enum GLib.GType(typeof(Gtk.TreeModelFlagsGType)) System.Flags Field Gtk.TreeModelFlags If set, iterators survive all signals emitted by the tree. Field Gtk.TreeModelFlags If set, the model is a list only and never has children. gtk-sharp-2.12.10/doc/en/Gtk/CurrentParagraphAlignmentChangedArgs.xml0000644000175000001440000000373611345266756022336 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.HTMLParagraphAlignment The new alignment of the paragraph. a gtk-sharp-2.12.10/doc/en/Gtk/CellRendererCombo.xml0000644000175000001440000001457411345266756016470 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Renders a combobox in a cell renders text in a cell like from which it is derived. But while offers a simple entry to edit the text, offers a or widget to edit the text. The values to display in the combo box are taken from the tree model specified in the model property. The combo cell renderer takes care of adding a text cell renderer to the combo box and sets it to display the column specified by its text-column property. Further cell renderers can be added in a handler for the editing-started signal. Gtk.CellRendererText Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor Default constructor Property GLib.GType GType Property. a Returns the native value for . Property System.Int32 Specifies the model column which holds the possible values for the combo box. a this refers to the model specified in the model property, not the model backing the tree view to which this cell renderer is attached. automatically adds a text cell renderer for this column to its combo box. GLib.Property("text-column") Property Gtk.TreeModel Holds a tree model containing the possible values for the combo box. a Use the property to specify the column holding the values. GLib.Property("model") Property System.Boolean Whether to use an entry. a If , the cell renderer will include an entry and allow to enter values other than the ones in the popup list. GLib.Property("has-entry") gtk-sharp-2.12.10/doc/en/Gtk/SetFocusHandler.xml0000644000175000001440000000264511345266756016167 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SetFocusHandler instance to the event. The methods referenced by the SetFocusHandler instance are invoked whenever the event is raised, until the SetFocusHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ScrollType.xml0000644000175000001440000002202411345266756015227 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by ScrolledWindow and Range. This enumeration is used by and to decide how scrolling behaves. System.Enum GLib.GType(typeof(Gtk.ScrollTypeGType)) Field Gtk.ScrollType The default setting. Indicates that the scrollbar's slider is not moved. The default setting. Indicates that the scrollbar's slider is not moved. Field Gtk.ScrollType Sets the scrollbar's slider to the position described in the accompanying float parameter. The range of values are 0 to 1, with the halfway point being 0.5. Field Gtk.ScrollType Sets the scrollbar's slider back one step increment from its current position. The value of the step increment is taken from the underlying in the scrollbar. Field Gtk.ScrollType Sets the scrollbar's slider forward one step increment from its current position. The value of the step increment is taken from the underlying in the scrollbar. Field Gtk.ScrollType Sets the scrollbar's slider back one page increment from its current position. The value of the step increment is taken from the underlying in the scrollbar. Field Gtk.ScrollType Sets the scrollbar's slider forward one page increment from its current position. The value of the step increment is taken from the underlying in the scrollbar. Field Gtk.ScrollType Move the scroller a step up. Field Gtk.ScrollType Move the scroller a step down. Field Gtk.ScrollType Move the slider a page up. Field Gtk.ScrollType Move the slider a page down. Field Gtk.ScrollType Sets the scrollbar's slider back one step increment to the left from its current position. Sets the scrollbar's slider back one step increment to the left from its current position. Field Gtk.ScrollType Sets the scrollbar's slider forward one step increment to the right from its current position. Sets the scrollbar's slider forward one step increment to the right from its current position. Field Gtk.ScrollType Sets the scrollbar's slider back one page increment to the left from its current position. Sets the scrollbar's slider back one page increment to the left from its current position. Field Gtk.ScrollType Sets the scrollbar's slider forward one page increment to the right from its current position. Sets the scrollbar's slider forward one page increment to the right from its current position. Field Gtk.ScrollType Sets the scrollbar's slider to the beginning of the scrollbar. Sets the scrollbar's slider to the beginning of the scrollbar. Field Gtk.ScrollType Sets the scrollbar's slider to the end of the scrollbar. Sets the scrollbar's slider to the end of the scrollbar. gtk-sharp-2.12.10/doc/en/Gtk/HTMLStreamCloseFunc.xml0000644000175000001440000000211211345266756016645 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. A delegate for use with . Meant to be used for closing the stream. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RowActivatedHandler.xml0000644000175000001440000000272311345266756017025 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowActivatedHandler instance to the event. The methods referenced by the RowActivatedHandler instance are invoked whenever the event is raised, until the RowActivatedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeStore.xml0000644000175000001440000025653711345266756015065 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A tree-like data structure that can be used with the The object is a list model for use with a widget. It implements the interface, and consequentialy, can use all of the methods available there. It also implements the interface so it can be sorted by the view. Finally, it also implements the tree drag and drop interfaces. GLib.Object Gtk.TreeDragDest Gtk.TreeDragSource Gtk.TreeModel Gtk.TreeSortable Method System.Int32 Returns the number of children that the has. an object of type As a special case, if iter is , then the number of toplevel nodes is returned. Method System.Boolean Sets the TreeIter object pointed to by the iter param to point to the first child of this tree. an object of type an object of type Method System.Void Prepends a new row to the . an object of type It will prepend a row to the top level. will be changed to point to this new row. The row will be empty after this method is called. To fill in values, you need to call . Method System.Void Appends a new row to the . an object of type It will append a row to the top level. will be changed to point to this new row. The row will be empty after this method is called. To fill in values, you need to call . Method System.Void Fires a event. Designed to be called by routines that change the sort of the tree. Method System.Void Sets which column is to be used to sort the data in the tree. A , the sort column index. A , the kind of sort to use Method System.Void Sets a function that should be used to be sort a particular column. A , the index of the column to be sorted A , the function to use for sorting ignored ignored This overload is obsolete. The two parameter is preferred for new code. Method System.Void Sets a function that should be used to be sort columns by default if not otherwise specified by . A , the function to use for sorting ignored ignored This method is obsolete. The property is preferred for new code. Property Gtk.TreeIterCompareFunc The function that should be used to be sort columns by default if not otherwise specified by . a This property is meant to be used together with . Method System.Boolean Tests whether can be dropped on . a , potential drop destination a , potential data to be dropped. a , true if drop is allowed Method System.Boolean Drags data received into this object. A , the destination path of the drag A , the data that was dragged A boolean, true if the data was successfully received. Method System.Boolean Method used when this TreeStore is part of a source widget for a drag-and-drop operation; gets the data that was dragged from the associated widget. a A A , true if the operation succeeded. Method System.Boolean Returns whether or not a given row can be dragged. a A boolean, true if the row is draggable. Method System.Boolean When this TreeStore is the data source for a drag operation and the drag operation is a move, this method runs to delete the data after the data has been received by the target widget. A , the path of the data to delete. A , true if the operation succeeds. Method System.Void Emits the event. an object of type an object of type Method System.Void Calls on each node in model in a depth-first fashion. an object of type If func returns , then the tree ceases to be walked, and this method returns. Method System.Boolean Gets the first iterator in the tree (the one at the path "0") and returns . an object of type an object of type Returns if the tree is empty. Method System.Void Emits the event. an object of type an object of type Method Gtk.TreePath Gets the of . an object of type an object of type Method System.Boolean Returns if iter has children, otherwise. an object of type an object of type Method System.Void Lets the tree ref the node. an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching model know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its referenced state. Method System.Int32 Returns the number of children that has. an object of type an object of type As a special case, if is , then the number of toplevel nodes is returned. Method System.Void Emits the event. an object of type an object of type Method System.Void Emits the event. an object of type This should be called by models after a row has been removed. The location pointed to by should be the location that the row previously was at. It may not be a valid location anymore. Method System.Void Gets the values of child properties for the row pointed to by . an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Method System.Void Lets the tree unref the node. an object of type This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreferenced. Method System.Void Removes all rows from the Method System.Void Sets the values of child properties for the row pointed to by . an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Method System.Boolean Returns if is an ancestor of . an object of type an object of type an object of type That is, is the parent (or grandparent or great-grandparent) of . Method System.Void Sets the data in the cell specified by and . an object of type an object of type an object of type The type of value must be convertible to the type of the column. Method System.Int32 Returns the depth of . an object of type an object of type This will be 0 for anything on the root level, 1 for anything down a level, etc. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Int32 Returns the number of columns supported by the . an object of type Property Gtk.TreeModelFlags Returns a set of flags supported by this . an object of type The flags are a bitwise combination of . The flags supported should not change during the lifecycle of the . Event System.EventHandler Emitted when the sort column of the has changed. GLib.Signal("sort_column_changed") Event Gtk.RowHasChildToggledHandler Emitted when a child of a row is toggled. GLib.Signal("row_has_child_toggled") Event Gtk.RowInsertedHandler Emitted when a row is inserted into the . GLib.Signal("row_inserted") Event Gtk.RowDeletedHandler Emitted when a row is deleted from the . GLib.Signal("row_deleted") Event Gtk.RowChangedHandler Emitted when a row is in the is changed. GLib.Signal("row_changed") Event Gtk.RowsReorderedHandler Emitted when the rows of the are re-ordered. GLib.Signal("rows_reordered") Method System.Boolean Sets to be the child of the root node, using the given index. an object of type an object of type an object of type In this case, the nth root node is set. Method System.Void Inserts a new row after . an object of type an object of type If is , then the row will be prepended to the children of its parent. If parent and sibling are , then the row will be prepended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional. Method System.Void Inserts a new row before . an object of type an object of type If is , then the row will be appended to the children of its parent. If parent and sibling are , then the row will be appended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional. Method System.Void Creates a new row at . an object of type an object of type If parent is not , then the row will be made a child of parent. Otherwise, the row will be created at the toplevel. If is larger than the number of rows at that level, then the new row will be inserted to the end of the list. will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call . Method System.Boolean Sets to be the child of , using the given index. an object of type an object of type an object of type an object of type The first index is 0. If is too big, or has no children, is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method System.Boolean Gets the at . an object of type an object of type an object of type Otherwise, is left invalid and is returned. path_string "0" represent the first node, "1" the second, and so on. path_string "0:0" represent the first child of the first node, "0:1" the second child of the first node, and so on. Method System.Boolean Sets to point to the first child of . an object of type an object of type an object of type If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called. Method System.Boolean Sets to a valid iterator pointing to . an object of type an object of type an object of type Method System.Boolean Sets to be the parent of . an object of type an object of type an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method Gtk.TreeIter System.ParamArray Appends a new row to the . a with the data for the row. a Method Gtk.TreeIter Appends a new row to the . a with the data for the row. a Method Gtk.TreeIter System.ParamArray Appends a new row to the . the parent row to attach the new row under. a with the data for the row. a To append the new row to the toplevel, use the Method Gtk.TreeIter Appends a new row to the . the parent row to attach the new row under. a with the data for the row. a To append the new row to the toplevel, use the Method System.String Marshals the given into a path string. a a Method System.Void Move the row pointed to by to the position after . If is , will be moved to point to the start of the list. a a This only works in unsorted stores. Method System.Void Swaps rows a and b in the store. a a This is only works in unsorted stores. Method System.Void Move the row pointed to by to the position before . If is , will be moved to point to the end of the list. a a This only works in unsorted stores. Method System.Boolean Test whether is valid for this TreeStore. a a , true if is valid. WARNING: this method is slow and is only intended for debugging/testing purposes. Constructor System.ParamArray Creates a new instance. a Treestore store; store = new TreeStore (typeof (int), typeof (string)); Method System.Boolean Report on which column is currently being used to sort this TreeStore. a , gets filled with the column number that's currently used for sorting a , the current type of sort (ascending or descending) a , false if the default sort column for this TreeStore is being used, true if some other sort column is being used. Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be a . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be a . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be an . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be a . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be an Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be an . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be an . Method System.Object Gets a value at row and column . a a a Property System.Boolean Find out whether this TreeStore has a default sort function. a , true if there is a default sort function. To set a default sort function, use . Property GLib.GType GType Property. a Returns the native value for . Property GLib.GType[] To be added a To be added Method System.Void Deprecated method to set what types go in each column of a TreeStore. a See Method GLib.GType Gets the type of data stored in column number . a , the column to check a Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor System.ParamArray Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. Method System.Boolean Removes a row from the store. a a After being removed, is set to be the next valid row, or invalidated if it pointed to the last row in the store. Method System.Int32 To be added. Reorders the TreeStore. a . (FIXME: Does this binding work?) Method Gtk.TreeIter To be added. a Inserts a new row at position . a pointing to the new row. If is larger than the number of rows on the list, then the new row will be appended to the list. The row will be empty before this function is called. To set the value of the new row, use . Method Gtk.TreeIter To be added. Adds a new row to the beginning of the tree. a pointing to the new row. The row will be empty before this function is called. To set the value of the new row, use . Method Gtk.TreeIter Inserts a new row before . a a a If is , then the row will be appended to the children of its parent. If parent and sibling are , then the row will be appended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional. Method Gtk.TreeIter Inserts a new row after . a a a If is , then the row will be prepended to the children of its parent. If parent and sibling are , then the row will be prepended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional. Method Gtk.TreeIter Appends a new row to the . a a If parent is , then the row will be prepended to the toplevel. Method System.Int32 Emits the event. a a a Method System.Void Gets the value of row of column and puts it in . a a a Method System.Boolean Sets to point to the node following it at the current level. an object of type an object of type If there is no next iter, is returned and iter is set to be invalid. Constructor Protected constructor. Method Gtk.TreeIter Appends a root node to the store. a Method Gtk.TreeIter Appends a child to an existing node. a a Method Gtk.TreeIter Inserts a child of an existing node. a a a Method Gtk.TreeIter Inserts a root node. a a Method Gtk.TreeIter Prepends a child of an existing node. a a Method Gtk.TreeIter Prepends a root node. a Method Gtk.TreeIter Inserts a root node before a sibling. a a Method Gtk.TreeIter Inserts a child of an existing node before a sibling. a a a Method Gtk.TreeIter Inserts a root node after a sibling. a a Method Gtk.TreeIter Inserts a child of an existing node after a sibling. a a a Method System.Void Sets a function that should be used to be sort a particular column. A , the index of the column to be sorted A , the function to use for sorting This method is meant to be used together with Method System.Void Path to the reordered parent node. Iter corresponding to the reordered parent node. An array of the old indices. Default handler for the RowsReordered event. Method Gtk.TreeIter System.ParamArray Iter of the node to insert into. Insert position. An array of column values. Inserts a child row into a node with values. An iter pointing to the added row. The column values provided should be in column order. Method Gtk.TreeIter System.ParamArray Insert position. An array of column values. Inserts a row into the Root node of the store with values. An iter pointing to the added row. The column values provided should be in column order. Method System.Void System.ParamArray Update position. An array of column values to set. Sets the column values of a given row. gtk-sharp-2.12.10/doc/en/Gtk/TextTagTable.xml0000644000175000001440000002361111345266756015462 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A tag table defines a set of tags A tag table defines a set of tags that can be used together. Each buffer has one tag table associated with it; only tags from that tag table can be used with the buffer. A single tag table can be shared between multiple buffers, however. GLib.Object Method System.Void Remove a tag from the table. the tag to be removed Method System.Void Add a tag to the table. The tag is assigned the highest priority in the table. the tag to be added Add a tag to the table. The tag is assigned the highest priority in the table. must not be in a tag table already, and may not have the same name as an already-added tag. Method Gtk.TextTag Finds a by its name the name of a tag The tag, or if none by that name is in the table. Method System.Void Calls func on each tag in table a Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor Property System.Int32 The size of the table The number of the tags in this table Event Gtk.TagRemovedHandler Emitted when a tag is removed from the table GLib.Signal("tag_removed") Event Gtk.TagChangedHandler Emitted when a tag in the table is changed GLib.Signal("tag_changed") Event Gtk.TagAddedHandler Emitted when a tag is added to the table GLib.Signal("tag_added") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/RecentChooserWidget.xml0000644000175000001440000003766511345266756017057 00000000000000 gtk-sharp 2.12.0.0 Gtk.VBox Gtk.RecentChooser Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.RecentInfo To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Event GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. System.Obsolete Property GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Property GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/EndPrintArgs.xml0000644000175000001440000000301411345266756015465 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintContext The Print Context of the current operation. A . Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/TreeNodeAddedHandler.xml0000644000175000001440000000174611345266756017064 00000000000000 gtk-sharp 2.12.0.0 To be added. To be added. TreeNodeAddedHandler delegate Event handler for notification of the addition of a to node . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/NotebookWindowCreationFunc.xml0000644000175000001440000000204511345266756020401 00000000000000 gtk-sharp 2.12.0.0 System.Delegate Gtk.Notebook To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/MarkSetHandler.xml0000644000175000001440000000263611345266756016002 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MarkSetHandler instance to the event. The methods referenced by the MarkSetHandler instance are invoked whenever the event is raised, until the MarkSetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ConnectProxyHandler.xml0000644000175000001440000000400211345266756017054 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ConnectProxyHandler instance to the event. The methods referenced by the ConnectProxyHandler instance are invoked whenever the event is raised, until the ConnectProxyHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/NodeCellDataFunc.xml0000644000175000001440000000327211345266756016226 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Callback type to initialize a cell renderers attributes. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RcPropertyParser.xml0000644000175000001440000000226011345266756016415 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate class for parsing property values in RC files. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/RowChangedArgs.xml0000644000175000001440000000515011345266756015766 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreeIter The row that was inserted. A that points to the inserted row. Property Gtk.TreePath The path of the row that was inserted. a gtk-sharp-2.12.10/doc/en/Gtk/KeyReleaseEventArgs.xml0000644000175000001440000000343711345266756017006 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventKey The key-release event that happened. a gtk-sharp-2.12.10/doc/en/Gtk/PageRemovedHandler.xml0000644000175000001440000000150611345266756016625 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void sender. event arguments. Event handler for events. gtk-sharp-2.12.10/doc/en/Gtk/ItemFactoryEntry.xml0000644000175000001440000001131211345266756016375 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Class intended for use with . FIXME: see bugzilla.ximian.com #70887, which directly concerns this API. System.ValueType Field Gtk.ItemFactoryEntry Empty entry. Method Gtk.ItemFactoryEntry For internal use only. Do not use. a , pointer to the underlying C data. a Field System.String The path of the item. For example, "/File/_Open", where the "O" should be a mnemonic underline. Field System.String The accelerator key for this item. For example, "<control>O". Field System.UInt32 A callback function to run when this item is activated. NOTE: The API doesn't support the actual code here. Field System.String Type of item to add. Possible values: "<Title>" creates a title item, "<Item>" creates a simple item, "<ImageItem>" creates an item holding an image, "<StockItem>" creates an item holding a stock image, "<CheckItem>" creates a check item, "<ToggleItem>" creates a toggle item, "<RadioItem>" creates a radio item, <path> for the path of a radio item to link against, "<Separator>" creates a separator, "<Tearoff>" creates a tearoff separator, "<Branch>" creates an item to hold sub items, "<LastBranch>" creates a right justified item to hold sub items. Property Gtk.ItemFactoryCallback To be added. To be added. To be added. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/TreeDragDest.xml0000644000175000001440000000623011345266756015445 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An interface to represent the rows of a tree when something is drag-and-dropped onto them. GLib.IWrapper Method System.Boolean To be added. a , the data to drop Determines whether a drop is possible before the given , at the same depth as . i.e., can we drop the data in at that location. does not have to exist; the return value will almost certainly be FALSE if the parent of doesn't exist, though. A boolean for whether the drop is possible. Method System.Boolean To be added. a , the data to drop Asks the TreeDragDest to insert a row before the given , deriving the contents of the row from the given . A boolean for whether the row was dropped successfully. If dest_path is outside the tree so that inserting before it is impossible, FALSE will be returned. Also, FALSE may be returned if the new row cannot be created for some model-specific reason. Should robustly handle a destination path no longer found in the model. gtk-sharp-2.12.10/doc/en/Gtk/AccelActivateArgs.xml0000644000175000001440000001052311345266756016435 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class extends with information about an activated accelerator. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Constructs and initializes a new instance of with the default values. When manually evoking an delegate, this constructor is used create the second argument. Property GLib.Object Gets the object on which the accelerator was activated. A containing the object on which the accelerator was activated. Property System.UInt32 Gets the key value that was used to activate the accelerator. A containing the key value that was used to activate the accelerator. This value represents a specific non-modifier key on the keyboard. A key combination may include a standard key and modifier keys, for example Ctrl-S. Check for the modifiers that were applied. Property Gdk.ModifierType Gets the mouse and keyboard modifier combination that was used to activate the accelerator. A bitwise combined containing the mouse and keyboard modifier combination that was used to activate the accelerator. Modifiers can include Ctrl, Shift, Alt, Meta keys (Windows, Apple), and mouse buttons. These are items that by themselves my perform no task, but when combined, often with , represent an accelerator. For example, Ctrl-S, Ctrl-Alt-Del, Ctrl-Left Mouse Button, or Apple-Control-Reset. gtk-sharp-2.12.10/doc/en/Gtk/PreviewArgs.xml0000644000175000001440000000462611345266756015375 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintOperationPreview The Print Preview operation. A . Property Gtk.PrintContext The Print Context for the preview operation. A . Property Gtk.Window The Parent widget for the Preview display. A , or . Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/FocusInEventHandler.xml0000644000175000001440000000272111345266756016777 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusInEventHandler instance to the event. The methods referenced by the FocusInEventHandler instance are invoked whenever the event is raised, until the FocusInEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ExposeEventArgs.xml0000644000175000001440000000342311345266756016213 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventExpose The event that caused the widget to be exposed. A gtk-sharp-2.12.10/doc/en/Gtk/TextChildAnchor.xml0000644000175000001440000001031411345266756016151 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A spot in the buffer where child widgets can be "anchored" (inserted inline, as if they were characters). The anchor can have multiple widgets anchored, to allow for multiple views. GLib.Object Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new TextChildAnchor To create a new , you can also use the factory method from the class. Property System.Boolean Determines whether the child anchor has been deleted from the buffer. if the child anchor has been deleted from its buffer Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.Widget[] Gets a list of all widgets anchored at this child anchor. An array of widgets anchored. gtk-sharp-2.12.10/doc/en/Gtk/UrlRequestedArgs.xml0000644000175000001440000000425711345266756016400 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.HTMLStream An object for the HTML from the URL as it opens. a Property System.String The URL that was requested. A string containing the URL. gtk-sharp-2.12.10/doc/en/Gtk/EnterNotifyEventArgs.xml0000644000175000001440000000352011345266756017214 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventCrossing The underlying Gdk event that triggered this EnterNotifyEvent. A gtk-sharp-2.12.10/doc/en/Gtk/ClipboardClearFunc.xml0000644000175000001440000000164311345266756016615 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. Delegate for a function to run when the clipboard is cleared. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DeleteFromCursorArgs.xml0000644000175000001440000000506011345266756017171 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 How many units of the specified to delete. a Property Gtk.DeleteType The kind/length of text to delete. gtk-sharp-2.12.10/doc/en/Gtk/TreeSelection.xml0000644000175000001440000005656611345266756015716 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The selection object for . TreeSelection provides a single class for managing selection information on the List/Tree widget. A TreeSelection object is automatically created when a new widget is created and is inherently tied to it. A TreeSelection cannot exist independently of a . Selection information is retrieved from the with the property. TreeSelection can check the selection status of the tree, as well as select and deselect individual rows. Selection is done completely on the view. As a result, multiple views of the same model can have completely different selections. Additionally, you cannot change the selection of a row that is not currently displayed by the view without expanding its parents first. One of the important things to remember when monitoring the selection of a view is that the event is mostly a hint. For example, it may only fire once when a range of rows is selected. It may also fire when nothing has happened, such as when is called on a row that is already selected. using System; using Gtk; class Selection { static void Main () { Application.Init (); Window win = new Window ("TreeSelection sample"); win.DeleteEvent += OnWinDelete; TreeView tv = new TreeView (); tv.AppendColumn ("Items", new CellRendererText (), "text", 0); ListStore store = new ListStore (typeof (string)); store.AppendValues ("item 1"); store.AppendValues ("item 2"); tv.Model = store; tv.Selection.Changed += OnSelectionChanged; win.Add (tv); win.ShowAll (); Application.Run (); } static void OnSelectionChanged (object o, EventArgs args) { TreeIter iter; TreeModel model; if (((TreeSelection)o).GetSelected (out model, out iter)) { string val = (string) model.GetValue (iter, 0); Console.WriteLine ("{0} was selected", val); } } static void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } GLib.Object Method System.Void Selects the specified row that represents. A row to be selected. Method System.Boolean Determines whether a has been selected in this . The path to a node whose selected status should be checked. if is selected, otherwise. Method System.Void Deselects the specified position in the tree. The tree position that should be deselected. See also, and . using System; using Gtk; class TreeSelectionSample { Label selected; static void Main () { Application.Init (); new TreeSelectionSample (); Application.Run (); } TreeSelectionSample () { Window win = new Window ("TreeView selection sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); HBox hbox = new HBox (false, 0); TreeView tv = new TreeView (); tv.Selection.Changed += new EventHandler (OnSelectionChanged); tv.AppendColumn ("items", new CellRendererText (), "text", 0); TreeStore store = new TreeStore (typeof (string)); for (int i = 0; i < 10; i++) { store.AppendValues ("item " + i.ToString ()); } tv.Model = store; hbox.PackStart (tv); selected = new Label (); hbox.PackStart (selected); win.Add (hbox); win.ShowAll (); } void OnSelectionChanged (object o, EventArgs args) { TreeSelection ts = (TreeSelection) o; TreeIter iter; TreeModel model; ts.GetSelected (out model, out iter); selected.Text = (string) model.GetValue (iter, 0); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Method System.Boolean Determine if the iter is selected. The tree location to check if the tree node specified by is selected, otherwise. See also . Method System.Void Selects every node in this . The must be set to for this method to work. Method System.Void Deselects the tree node that refers to. A node in the tree. See also . Method System.Void Selects all the nodes that appear between and . The first node to select on the tree. The last node to select on the tree. Method System.Void Sets all nodes in the as unselected. Method System.Void Invokes the delegate passed in by for each selected row in the . The delegate that should be called for each selected row. This method is useful when the of this TreeSelection is set to . It is currently the only way to access selection information for multiple rows. See the class overview for an example on how to effectively use this method for selection tracking. Method System.Void Add a hook into selection and unselection. A delegate to invoke before a node is (un)selected. ignored ignored This method is obsolete. New code should use the property. Property Gtk.TreeSelectionFunc A hook into selection and unselection a If set, is called before any node is selected or unselected, giving some control over which nodes are selected. The select function should return if the state of the node may be toggled, and if the state of the node should be left unchanged. Method System.Void Selects the specified . Indicates which row to select. See also and . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property Gtk.SelectionMode Manages the way rows can be selected. The current mode dictating selection behaviour. Rows may be deselected by changing this property. For example, if rows are selected and the mode is changed to or . Property System.IntPtr Get the data associated with the that has been setup for this . The raw data that was set when was called. Property Gtk.TreeView Get the that this is associated with. The that this is tied to. A object can only be retrieved from a . That is done with its property. Event System.EventHandler Raised when the selection (may have) changed. This event is mostly a hint. It may only be raised once when a range of rows are selected, and it may occasionally be raised when nothing has happened. GLib.Signal("changed") Method System.Void Unselects everything between one path and another. to begin range. to end range. Method System.Int32 Get the number of selected rows. The number of selected rows Method System.Boolean Get information about the currently selected node. A convenient accessor to the that this TreeSelection's is associated with. The position that was selected. if a row was selected. This method will not work if the TreeSelection has been set to . In that case you should use . Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gtk.TreePath[] Returns an array of s representing the selected rows. The model the is bound to. Selected rows in an array of s Constructor Protected constructor. Method Gtk.TreePath[] Returns an array of s representing the selected rows. Selected rows in an array of s Method System.Boolean The position that was selected. Gets information about the currently selected node. if a row is selected. This convenience method doesnt require an out . It is useful in the case that you already have a copy of the TreeModel. gtk-sharp-2.12.10/doc/en/Gtk/OrientationChangedHandler.xml0000644000175000001440000000302411345266756020171 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OrientationChangedHandler instance to the event. The methods referenced by the OrientationChangedHandler instance are invoked whenever the event is raised, until the OrientationChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/AccelChangedArgs.xml0000644000175000001440000000530211345266756016225 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.IntPtr A pointer to the underlying C data of the accelerator that was changed. A Property Gdk.ModifierType Gets the state of the Shift, Control, Alt, and other modifier keys and mouse buttons. An object of type Property System.UInt32 Gets the key value for the accelerator event. An integer. gtk-sharp-2.12.10/doc/en/Gtk/TextBuffer.xml0000644000175000001440000027701511345266756015221 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class stores formatted text for display in a . The relationship between and objects is not necessarily one-to-one. All views must contain a buffer, but a buffer does not have to be assigned a view, and one buffer may be used by multiple views. In the following example, a single object is shared between two widgets. using Gtk; public class TextBufferExample { public static void Main () { // Initialize GTK. Application.Init (); // Create a containing window. Window window = new Window ("TextBuffer Example"); window.DeleteEvent += OnDelete; window.SetDefaultSize (400, 300); // Create a buffer and vertical panes for the views. TextBuffer buffer = new TextBuffer (new TextTagTable ()); VPaned paned = new VPaned (); // Create a text view for the buffer, make it scrollable, and // add it to the first pane. TextView view1 = new TextView (buffer); ScrolledWindow scrolled_window1 = new ScrolledWindow (); scrolled_window1.Add (view1); paned.Add1 (scrolled_window1); // Create a second text view for the buffer, make it scrollable, // and add it to the second pane. TextView view2 = new TextView (buffer); ScrolledWindow scrolled_window2 = new ScrolledWindow (); scrolled_window2.Add (view2); paned.Add2 (scrolled_window2); // Add the panes to the window and show it. window.Add (paned); window.ShowAll (); // Run the application. Application.Run (); } // Quit when the window is closed. static void OnDelete (object o, DeleteEventArgs e) { Application.Quit (); } } GLib.Object Method System.Void Clears the contents of the buffer Method System.Void Deletes the mark named ; the mark must exist. the name of a mark in buffer See for more details. Method System.Void Retrieves the first and last iterators in the buffer, i.e. the entire buffer. A object to store the location of the beginning of the buffer. A object to store the location of the end of the buffer. Method System.Void Fires the events and removes all occurrences of from the given range the to remove the beginning of the range the end of the range Fires the event. The default handler for the signal removes all occurrences of tag from the given range. and . Method System.Void Removes all tags in the range between and . The beginning of the range The end of the range Removes all tags in the range between start and end. Be careful with this function; it could remove tags added in code unrelated to the code you are currently writing. That is, calling this method is probably a bad idea if you have two or more unrelated code sections that add tags. Method Gtk.TextMark Returns the mark named name in buffer buffer, or if no such mark exists in the buffer. the name of a mark Returns the mark named name in buffer buffer, or if no such mark exists in the buffer. Method System.Void Should be paired with a call to . See for an explanation. Method System.Void Inserts a child widget anchor into the text buffer. location to insert the anchor a . Inserts a child widget anchor into the text buffer at . The anchor will be counted as one character in character counts, and when obtaining the buffer contents as a string, will be represented by the Unicode "object replacement character" 0xFFFC. Note that the "slice" variants for obtaining portions of the buffer as a string include this character for pixbufs, but the "text" variants do not. e.g. see and ). Consider as a more convenient alternative to this function. The buffer will add a reference to the anchor, so you can unref it after insertion. Method System.Boolean Returns if some text is selected the location of the beginning of the selection the location of the end of the selection Returns if the selection has nonzero length Returns if some text is selected; and sets the bounds of the selection in and (if the selection has length 0, then start and end are filled in with the same value). and will be in ascending order. If and are , then they are not filled in, but the return value still indicates whether text is selected. Method System.Void Called to indicate that the buffer operations between here and a call to are part of a single user-visible operation. The operations between and can then be grouped when creating an undo stack. maintains a count of calls to that have not been closed with a call to , and emits and signals only for the outermost pair of calls. This allows you to build user actions from other user actions. The "interactive" buffer mutation functions, such as , automatically call begin/end user action around the buffer operations they perform, so there is no need to add extra calls if you user action consists solely of a single call to one of those functions. Method System.Void Pastes the contents of a clipboard at the insertion point, or at . the to paste from the location to insert pasted text, or for at the cursor whether the buffer is editable by default Pastes the contents of a clipboard at the insertion point, or at . (Note: pasting is asynchronous, that is, we will ask for the paste data and return, and at some point later after the main loop runs, the paste data will be inserted.) Method System.Void a . To be added. Moves mark to the new location . Moves mark to the new location where. Fires the event as notification of the move. Method System.String Returns the text from to . the start of a range the end of the range whether to include invisible text a string containing the text from to Returns the text in the range from to . Excludes undisplayed text (text marked with tags that set the invisibility attribute) if is . The returned string includes a 0xFFFC character whenever the buffer contains embedded images, so byte and character indexes into the returned string do correspond to byte and character indexes into the buffer. Contrast with . Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the buffer. Method Gtk.TextChildAnchor This is a convenience function which simply creates a child anchor with and inserts it into the buffer with . the location in the buffer the created child anchor This is a convenience function which simply creates a child anchor with and inserts it into the buffer with . The new anchor is owned by the buffer; no reference count is returned to the caller of . Method System.Void Fires the events on buffer. a the beginning of the range to be tagged the end of the range to be tagged The default handler for the signal applies tag to the given range. and do not have to be in order. Method System.Void Copies text, tags, and pixbufs between and and inserts the copy at . a position in buffer a position in the source a position in the source Copies text, tags, and pixbufs between and (the order does not matter) and inserts the copy at . Used instead of simply getting/inserting text because it preserves images and tags. If and are in a different buffer from buffer, the two buffers must share the same tag table. This method is implemented with the and events. Method System.Void Calls on the buffer's tag table to get a , then calls the name of the tag the beginning of the buffer to be untagged the end of the buffer to be untagged Method System.Boolean Deletes the currently-selected text whether the deletion is caused by user interaction whether the buffer is editable by default whether there was a non-empty selection to delete Deletes the range between the "insert" and "selection_bound" marks, that is, the currently-selected text. If is , the editability of the selection will be considered (users can't delete uneditable text). Method System.Boolean Deletes all editable text in the given range. the beginning of range to delete the end of the range to delete whether the buffer is editable by default whether some text was actually deleted Deletes all editable text in the given range. Calls for each editable sub-range of and . and are revalidated to point to the location of the last deleted range, or left untouched if no text was deleted. Method System.Void Removes a added with . an object of type Method System.Void Deletes text between and . a position in the buffer a position in the buffer Deletes text between and . The order of the two is not actually relevant, as they will be reordered. This function actually fires off the event, and the default handler of that signal deletes the text. Because the buffer is modified, all outstanding iterators become invalid after calling this function; however, and will be re-initialized to point to the location where text was deleted. Method System.Void Moves the "insert" and "selection_bound" marks simultaneously. where to put the cursor This function moves the "insert" and "selection_bound" marks simultaneously. If you move them to the same place in two steps with , you will temporarily select a region in between their old and new locations, which can be pretty inefficient since the temporarily-selected region will force stuff to be recalculated. This function moves them as a unit, which can be optimized. Method System.Void Adds to the list of clipboards in which the selection contents of buffer are available. an object of type In most cases, clipboard will be the of type for a view of buffer. Method System.Void Deletes mark, so that it is no longer located anywhere in the buffer. a in the buffer to be deleted. Deletes mark, so that it is no longer located anywhere in the buffer. There is no way to undelete a mark. will return after this function has been called on a mark; indicates that a mark no longer belongs to a buffer. The event will be raised as notification after the mark is deleted. Method Gtk.TextMark name for mark, or . To be added. whether the mark has left gravity Creates a mark at position . a new object Creates a mark at position . If is , the mark is anonymous; otherwise, the mark can be retrieved by name using . If a mark has left gravity, and text is inserted at the current location of the mark, the mark will be moved to the left of the newly-inserted text. If the mark has right gravity (ie. = ), the mark will end up on the right of newly-inserted text. The standard left-to-right cursor is a mark with right gravity (when you type, the cursor stays on the right side of the text you are typing). Fires the event as notification of the initial placement of the mark. Method System.Void Copies the buffer's selected text to the given . The to copy the text to. Copying a 's selected text: void Copy (Gtk.TextView view) { Gtk.TextBuffer buffer = view.Buffer; Gtk.Clipboard board = Clipboard.Get (Gdk.Selection.Clipboard); buffer.CopyClipboard (board); } Method System.Void the name of the mark To be added. Moves the mark named (which must exist) to location . It is possible to use built-in marks to implement a "Select All" method on a buffer (e.g. ). private void SelectAll (TextBuffer buffer) { buffer.MoveMark ("insert", buffer.StartIter); buffer.MoveMark ("selection_bound", buffer.EndIter); } See for more details. Method System.Boolean Same as , but does nothing if the insertion point is not editable. a position in buffer a position in the source a position in the source whether the text is editable at if no tags enclosing iter affect editability if an insertion was possible at Same as , but does nothing if the insertion point is not editable. The parameter indicates whether the text is editable at if no tags enclosing iter affect editability. Typically the result of is appropriate here. Method System.String Returns the text from a specified range the beginning of the specified range the end of the specified range whether to include invisible text a string containing the text from the specified range Returns the text in the range specified by and . Excludes undisplayed text (text marked with tags that set the invisibility attribute) if is . Does not include characters representing embedded images, so byte and character indexes into the returned string do not correspond to byte and character indexes into the buffer. Contrast this with . Method System.Void Fires the event on buffer. The default handler for the signal applies tag to the given range. the name of the tag the location of the beginning of the range the location of the end of the range The order for and is not important. Method System.Void Inserts an image into the text buffer at . The location to insert the image The image to be inserted Inserts an image into the text buffer at . The image will be counted as one character in character counts, and when obtaining the buffer contents as a string, will be represented by the Unicode "object replacement character" 0xFFFC. Note that the "slice" variants for obtaining portions of the buffer as a string include this character for pixbufs, but the "text" variants do not. e.g. see and . Method System.Void Copies the currently-selected text to a clipboard, then deletes said text if it is editable. an object of type an object of type Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new text buffer. a tag table, or to create a new one Property System.String The complete contents of the buffer The contents of the current buffer GLib.Property("text") Property System.Int32 Obtains the number of lines in the buffer. The number of lines in the buffer The results of this method is cached, so this is very fast. Property Gtk.TextIter The end of the buffer The location of the end of the buffer Property System.Boolean Whether or not the buffer has been modified if the buffer has been modified, otherwise. Whenever the buffer is saved to disk, set this property to . When the buffer is modified, it will automatically toggled to . Whenever this property is changed, the event is raised. Property Gtk.TextTagTable The tag table of the current buffer The current of the buffer GLib.Property("tag-table") Property Gtk.TextMark Returns the mark that represents the selection bound. a Returns the mark that represents the selection bound. Equivalent to calling to get the mark named "selection_bound", but very slightly more efficient, and involves less typing. The currently-selected text in buffer is the region between the "selection_bound" and "insert" marks. If "selection_bound" and "insert" are in the same place, then there is no current selection. is another convenient function for handling the selection, if you just want to know whether there is a selection and what its bounds are. Property Gtk.TextMark Returns the mark that represents the cursor (insertion point). The mark of the insert point. This is equivelant to calling for the mark named "insert". Property System.Int32 The number of characters in the buffer The number of characters in the buffer The result of this method is cached, so it is very fast. Property Gtk.TextIter The location of the beginning of the buffer The location of the beginning of the buffer This is the equivelant to calling to get the iter at character offset 0. Event System.EventHandler Emitted when a UserAction ends on the buffer. GLib.Signal("end_user_action") Event Gtk.TagRemovedHandler Emitted when a tag is removed from the buffer. GLib.Signal("remove_tag") Event System.EventHandler Emitted when a UserAction is begun on the buffer. GLib.Signal("begin_user_action") Event Gtk.MarkSetHandler Emitted when a mark is set in the buffer. GLib.Signal("mark_set") Event Gtk.TagAppliedHandler Emitted when a tag is applied to the buffer. GLib.Signal("apply_tag") Event Gtk.ChildAnchorInsertedHandler Emitted when a ChildAnchor has been inserted in the buffer. GLib.Signal("insert_child_anchor") Event Gtk.MarkDeletedHandler Emitted when a mark has been deleted from the buffer. GLib.Signal("mark_deleted") Event Gtk.DeleteRangeHandler Emitted when a range of text has been deleted from the buffer. GLib.Signal("delete_range") Event Gtk.PixbufInsertedHandler Emitted when a Pixbuf is inserted into the buffer. GLib.Signal("insert_pixbuf") Event System.EventHandler Emitted when the text in the buffer has been changed. GLib.Signal("changed") Event Gtk.InsertTextHandler Emitted when text is inserted into the buffer. GLib.Signal("insert_text") Event System.EventHandler Emitted when the Modified status of the buffer is changed. GLib.Signal("modified_changed") Method Gtk.TextIter Returns the location at a particular character offset The requested character offset The location at Method System.Void Insert text into the current cursor position The text to be inserted The event is raised when a call to this method is made. Method System.Void Insert text at a specific point The location for to be inserted The text to be inserted Method System.Boolean Insert text at cursor position if the location is editable The text to be inserted The default editability of the buffer Whether or not was inserted See for more details. Method System.Boolean Insert text if the cursor is at an editable point in the buffer a location in the buffer the text to be inserted the default editability of buffer whether text was actually inserted Similar to , but the insertion will not occur if is at a non-editable location in the buffer. Usually you want to prevent insertions at ineditable locations if the insertion results from a user action (is interactive). indicates the editability of text that does not have a tag affecting editability applied to it. Typically the result of is appropriate here. Method System.Void Set the contents of the buffer The new contents of the buffer This is equivelant to using the setter of the property. Method System.Void Pastes the contents of a clipboard at the insertion point. a Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gtk.TextIter Gets the location of a specific point. a a The location at the location specified by and . Method Gtk.TextIter Gets the location of a particular line. The specified line number. The location at the beginning fo the line as specified by . Method Gtk.TextIter Gets the location of the specified mark. The specified mark. The location of . Method Gtk.TextIter Gets the location of the specific anchor. A at the current buffer. The location at . Method Gtk.TextIter Obtains an iterator pointing to within the given line. A line number for the current buffer, counting from 0. The byte index from start of line. The location as specified by and . must be the start of a UTF-8 character, and must not be beyond the end of the line. Note bytes, not characters; UTF-8 may encode one character as multiple bytes. Method System.Void System.ParamArray Inserts into buffer at , applying the list of to the newly-inserted text. location to insert the text text to insert tags to apply to Equivalent to calling , then on the inserted text; It is just a convenience function. Method System.Void System.ParamArray Inserts into buffer at , applying the list of tags with names to the newly-inserted text. location to insert the text text to insert names of the tags to apply to Equivalent to calling , then on the inserted text; It is just a convenience function. Method System.Void This function moves the and marks simultaneously. a a If you move them in two steps with , you will temporarily select a region in between their old and new locations, which can be pretty inefficient since the temporarily-selected region will force stuff to be recalculated. This function moves them as a unit, which can be optimized. Method System.Boolean To be added a a a a To be added Method System.Void System.ParamArray To be added. To be added. To be added. Inserts text with tag information. The overload is obsolete, replace by the ref TextIter overload. Method System.Void To be added. To be added. Inserts text. The overload is obsolete, replace by the ref TextIter overload. Method System.Void To be added. To be added. To be added. Inserts a range of text. This overload is obsolete, replaced by ref TextIter overloads since the iters passed in are updated by the caller. Method System.Void To be added. To be added. Delete text between two iterators. This overload is obsolete, replaced by ref TextIter overloads since the iters passed in are updated by the caller. Method System.Void format to unregister. Removes a Serialization format from the registry. Method Gdk.Atom name of tagset, or . Registers TextBuffer's internal serialization format. The newly registered format's mime type. Method Gdk.Atom A MIME type target. Serialization formatter for the specified . Registers a serialization formatter for a given MIME type. Method Gdk.Atom name of tagset, or . Registers TextBuffer's internal serialization format. The newly registered format's mime type. Method Gdk.Atom a MIME type target. Serialization formatter for the specified . Registers a deserialization handler for a given MIME type. an atom representing the MIME type. Method System.Void format Atom for a MIME type. Removes a registered MIME type handler from the buffer. Method System.Boolean a MIME type Atom. Determines if tag creation is supported for a MIME type deserializer. if , tag creation is supported. Method System.Void a MIME type Atom. a . Enables or disables arbitrary tag creation. In most cases, you don't want to do this, as it will put arbitrary tags in the buffer. Property GLib.Property("cursor-position") System.Int32 Position of the insert mark. a representing the offset to the cursor from the beginning of the buffer. Property GLib.Property("paste-target-list") Gtk.TargetList Obtains the paste TargetList. a . Property GLib.Property("has-selection") System.Boolean Indicates presence of a selection. if , there is text selected currently. Property GLib.Property("copy-target-list") Gtk.TargetList Obtains the copy TargetList. a . Method System.Boolean buffer to deserialize content. MIME type format. insertion point. serialized data. length of serialized data. Deserialize content. a . Method System.Byte[] buffer containing text to serialize. MIME type format. beginning of desired text. end of desired text. Serializes a range of text. the serialized data stream. Property Gdk.Atom[] The supported MIME type formats for deserialization. an array of MIME type Atoms. Property Gdk.Atom[] The supported MIME type formats for Serialization. an array of MIME type Atoms. Method System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/FocusTabHandler.xml0000644000175000001440000000264711345266756016144 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusTabHandler instance to the event. The methods referenced by the FocusTabHandler instance are invoked whenever the event is raised, until the FocusTabHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Target.xml0000644000175000001440000000415711345266756014364 00000000000000 gtk-sharp 2.12.0.0 System.Object Constructor To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method Gtk.TargetEntry To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Entry.xml0000644000175000001440000015116411345266756014240 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An Entry is a single-line text entry widget. This widget should be used to retrieve small amounts of text from the user. A fairly large set of key bindings are supported by default. If the entered text is longer than the allocation of the widget, the widget will scroll so that the cursor position is visible. See also the widget for displaying and editing large amounts of text. using System; using Gtk; class EntrySample { Entry entry; static void Main () { new EntrySample (); } EntrySample () { Application.Init (); Window win = new Window ("EntrySample"); win.SetDefaultSize (200, 150); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (false, 1); win.Add (vbox); entry = new Entry ("hello world"); entry.Editable = true; entry.Visibility = true; vbox.Add (entry); CheckButton editable = new CheckButton ("Editable"); editable.Toggled += new EventHandler (OnEditableToggled); editable.Active = true; vbox.Add (editable); CheckButton visibility = new CheckButton ("Visibility"); visibility.Toggled += new EventHandler (OnVisibilityToggled); visibility.Active = true; vbox.Add (visibility); win.ShowAll (); Application.Run (); } void OnEditableToggled (object obj, EventArgs args) { entry.Editable = !entry.Editable; } void OnVisibilityToggled (object obj, EventArgs args) { entry.Visibility = !entry.Visibility; } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Gtk.Widget Gtk.CellEditable Gtk.Editable Method System.Int32 Add arbitrary text to the entry. the text to add The number of characters added. Use this method to insert a string at the current CursorPosition. Method System.Void Specific implementation of Gtk.CellEditable.StartEditing for the Entry widget. Method System.Void Specific implementation of Gtk.CellEditable.FinishEditing for the Entry widget. Method System.Void Specific implementation of Gtk.CellEditable.RemoveWidget for the Entry widget. Method System.Void Specific implementation of Gtk.Editable.SelectRegion for the Entry widget. Method System.String Specific implementation of Gtk.Editable.GetChars for the Entry widget. The index of the first character to get, (zero-indexed). The index of the character to retrieve up to. A string representing the characters from , up to, but not including . If is negative, then the the characters retrieved will be those characters from to the end of the text. Method System.Void Specific implementation of Gtk.Editable.DeleteText for the Entry widget. Method System.Void Specific implementation of Gtk.Editable.CopyClipboard for the Entry widget. Method System.Void Specific implementation of Gtk.Editable.DeleteSelection for the Entry widget. Deletes the currently selected text from the Entry. Method System.Boolean Get the the positions of the start and end of the current selection, if there is one. output variable for the character index of the selection start output variable for the character index of the end of the selection if there is a selection, otherwise. Method System.Void Copies any selected text to the clipboard and deletes it from the entry. Method System.Void Causes the contents of the clipboard to be pasted into the Entry at the current cursor position. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Construct a new entry widget Property System.Boolean Implements the concrete version of Gtk.Editable.IsEditable, to determine if the text of the Entry can be edited. true if the Entry is editable, false otherwise. Property System.Int32 The position of the cursor. the current cursor position The cursor is displayed before the character with the given (base 0) index in the widget. The value must be less than or equal to the number of characters in the widget. A value of -1 indicates that the position should be set after the last character in the entry. Note that this position is in characters, not in bytes. Property Pango.Layout Get the object used by this Entry for text layout. The Pango.Layout used to render the text of this entry. This property is read only. Property System.Boolean Determine whether to display characters entered, or whether to mask them. true if characters are being displayed, false if they are being masked. This property should be used to create entry widgets for sensitive data such as passwords. GLib.Property("visibility") Property System.Int32 The maximum number of characters that can be placed in this Entry. The maximum number of characters that can currently be set in this Entry. This property can be useful for ensuring no more than a specific number of characters are put in an entry. GLib.Property("max-length") Property System.Int32 The position of the cursor in the text of the Entry. The current character of the cursor. Use this property to manipulate the position of the cursor - it is displayed before the character with the given (base 0) index in the widget. The value must be less than or equal to the number of characters in the widget. A value of -1 indicates that the position should be set after the last character in the entry. Note that this position is in characters, not in bytes. GLib.Property("cursor-position") Property System.Int32 The length of the selected text. The number of selected characters. GLib.Property("selection-bound") Property System.String Manipulate the current text contents of an Entry. The current text in an Entry. GLib.Property("text") Property System.Int32 Number of pixels the entry scrolled off the screen to the left. A GLib.Property("scroll-offset") Property System.Int32 Changes the size request of the entry to be about the right size for characters. The number of characters requested. Note that it changes the size request, the size can still be affected by how you pack the widget into containers. If n_chars is -1, the size reverts to the default entry size. GLib.Property("width-chars") Property System.Boolean Whether or not this Entry is editable. if this entry can be edited, otherwise. Set this property to false if you need to stop input into an Entry widget. For displaying textual data, it is more normal to use a instead. System.Obsolete("Replaced by IsEditable property") Property System.Boolean Determine whether to activate the 'default widget' in the window when the return key is pressed. if the default button will be activated, false otherwise. If the value is , pressing Enter in the entry will activate the default widget for the window containing the entry. This usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons. (For experts: if the value is , the entry calls on the containing the entry, in the default handler for the event). GLib.Property("activates-default") Property System.Boolean Whether or not this Entry should be surrounded by a 3D frame. if a frame surrounds this Entry, otherwise Unless there is a very specific reason for doing so, this property is best left to its default to ensure consistency in Entry widgets across applications. GLib.Property("has-frame") Event System.EventHandler Implements the WidgetRemoved method of the interface. This will effectively destroy the Entry. GLib.Signal("remove_widget") Event System.EventHandler Implements the EditingDone method of the interface. GLib.Signal("editing_done") Event Gtk.TextInsertedHandler Connect to this event to be notified when text is inserted into the Entry. GLib.Signal("insert_text") Event Gtk.TextDeletedHandler Connect to this event to be notified when text is deleted from the Entry. GLib.Signal("delete_text") Event System.EventHandler When the contents of the Entry change, this event is raised. GLib.Signal("changed") Event Gtk.MoveCursorHandler Connect to this event handler to be notified when the cursor of an Entry moves. Data pertaining to this event is passed with a . GLib.Signal("move_cursor") Event System.EventHandler Connect to this event to be notified when the user 'cuts' a selection in the Entry. Connect to this event with a standard . GLib.Signal("cut_clipboard") Event System.EventHandler Connect to this event to be notified when the user hits 'return'. Connect to this event with a standard . GLib.Signal("activate") Event Gtk.DeleteFromCursorHandler Connect to this event to find out when text is deleted from the Entry by the user. Data pertaining to this event is encapsulated in a . GLib.Signal("delete_from_cursor") Event System.EventHandler Connect to this event to be notified when the clipboard contents are pasted into this Entry. Connect to this event with a standard . GLib.Signal("paste_clipboard") Event System.EventHandler Connect to this event to be notified when the contents of the Entry are copied to the clipboard. Connect to this event with a standard . GLib.Signal("copy_clipboard") Event Gtk.PopulatePopupHandler Raised when the popup handler needs to be filled with data. Data pertaining to this event is encapsulated in a . GLib.Signal("populate_popup") Event System.EventHandler Connect to this event to discover when the Overwrite state has been changed by the user. This is usually done by pressing the 'Insert' key on a keyboard. Connect to this event with a standard . GLib.Signal("toggle_overwrite") Event Gtk.InsertAtCursorHandler Connect to this event to discover when text is inserted at the cursor position - usually when the user types something in. Data pertaining to this event is encapsulated in an . GLib.Signal("insert_at_cursor") Method System.Void Add text to the entry just before . A A Constructor Public constructor. A Method System.Void Obtains the position of the PangoLayout used to render text in the entry, in widget coordinates. X offset output of the layout. Y offset output of the layout. Useful if you want to line up the text in an entry with some other text, e.g. when using the entry to implement editable cells in a sheet widget. - Also useful to convert mouse events into coordinates inside the PangoLayout, e.g. to take some action if some part of the entry text is clicked. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Single The horizontal alignment, from 0 (left) to 1 (right). a Reversed for RTL layouts. Allowed values: [0,1] Default value: 0 GLib.Property("xalign") Property System.Single The alignment for the contents of the entry a This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry. The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts Property Gtk.EntryCompletion The auxiliary completion object a All further configuration of the completion mechanism is done on completion using the API. Method System.Void Prepends the given text to the contents of the widget. a Method System.Void Appends the given text to the contents of the widget. a Constructor Creates a new with the given maximum length. a , the maximum length of the entry, or 0 for no maximum. the existence of this function is inconsistent with the rest of the Gtk API. The normal setup would be to just require the user to make an extra call to instead. It is not expected that this function will be removed, but it would be better practice not to use it. Property System.Char The character to display when is a The is the character displayed in the entry in place of the actual characters of when is . The default invisible character is an asterisk ('*'). If you set this to 0, then no characters will be displayed at all. GLib.Property("invisible-char") Event System.EventHandler To be added To be added GLib.Signal("backspace") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Property GLib.Property("truncate-multiline") System.Boolean Indicates if pasted text is truncated to the first line. Defaults to . Property Gtk.Adjustment To be added. To be added. To be added. Property GLib.Property("shadow-type") Gtk.ShadowType To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/DrawPrintHandler.xml0000644000175000001440000000274611345266756016350 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DrawPrintHandler instance to the event. The methods referenced by the DrawPrintHandler instance are invoked whenever the event is raised, until the DrawPrintHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Container+CallbackInvoker.xml0000644000175000001440000000214111345266756020075 00000000000000 gtk-sharp 2.12.0.0 System.ValueType Method System.Void To be added. Invoke the contained delegate. This should not typically be used by application code. An class to invoke callback methods; mostly internal. Used by . gtk-sharp-2.12.10/doc/en/Gtk/TreeDestroyCountFunc.xml0000644000175000001440000000235311345266756017230 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate class for use by . Almost never used; see that method's docs to find out why you might want to use it. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeDragSourceAdapter.xml0000644000175000001440000001206411345266756017311 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.TreeDragSource Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method Gtk.TreeDragSource To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property Gtk.TreeDragSourceImplementor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. TreeDragSource interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/ToggledArgs.xml0000644000175000001440000000336011345266756015333 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The object path of the toggle that was changed. a gtk-sharp-2.12.10/doc/en/Gtk/ClipboardTextReceivedFunc.xml0000644000175000001440000000230511345266756020156 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. A containing the clipboard's text. Delegate for a function to be called when an application receives text from the clipboard. If the clipboard is empty, text will be null. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/FontButton.xml0000644000175000001440000003060011345266756015230 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class extends , providing an simple button for font selection. The FontButton is a button which displays the currently selected font and allows to open a font selection dialog to change the font. It is suitable widget for selecting a font in a preference dialog. Gtk.Button Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Constructs and initializes a new instance of for a specified native GLib type. A object containing the native GLib type for the new instance. Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Constructs and initializes a new instance of using an existing unmanaged object as its base. A pointing to the raw object to be managed by the new instance. This is not typically used by managed code. It is primarily used for enclosing an existing object, created by unmanaged code, in a managed wrapper. Constructor Constructs and initializes a new instance of with the default font. To specify the default font on creation, use . Constructor Constructs and initializes a new instance of with a specified initial font. A object containing the name of the initial font to use in the new instance. The value of is in the same format as described in the remarks on . Property GLib.GType Gets the GLib type of the current instance. A value representing the native GLib type of . The value is used internally by the GLib type management system. Property System.Boolean Gets and sets whether or not to show the font size in the button. A . If , the font size will be displayed in the button. For a more WYSIWYG way to show the selected size, see the property. GLib.Property("show-size") Property System.Boolean If this property is set to , the label will be drawn in the selected font size. A . If , the button label will be displayed using the selected font size. Otherwise in the default system font size. GLib.Property("use-size") Property System.String Gets and sets the name of the currently selected font, including the style and size. A object containing the name of the currently selected font, including the style and font. The font name contains the name, style, and size. For example, "Bistream Vera Serif Bold Italic 24". If the style is not specified, "Regular" is assumed, and if the size is not specified, "0" is assumed. Default Value: "Sans 12". This value is identical to the one that would be used by and . GLib.Property("font-name") Property System.Boolean Gets and sets whether or not button label should be displayed using the selected font. A . If , the button label will be displayed using the selected font. Otherwise in the default system font. Default Value: GLib.Property("use-font") Property System.String Gets and sets the title used for the created by the currrent instance. A object containing the title used for the created by the currrent instance. Default Value: "Pick a Font" or a translated version. GLib.Property("title") Property System.Boolean Gets and sets whether or not the font style will be shown with the font name in the button. A . If , the font style will be displayed along with the name of the selected font, unless the style is "Regular". Default Value: GLib.Property("show-style") Event System.EventHandler This event is raised when the user closes the child after making a change. Child classes should override instead of adding a handler to this event. GLib.Signal("font-set") Method System.Boolean Sets or updates the font displayed in the child . A object containing the name of the font to display in the child . The return value of if the font selection dialog exists, otherwise . gtk-sharp-2.12.10/doc/en/Gtk/CellRendererMode.xml0000644000175000001440000000421311345266756016302 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Identifies how the user can interact with a particular cell. System.Enum GLib.GType(typeof(Gtk.CellRendererModeGType)) Field Gtk.CellRendererMode The cell is just for display and cannot be interacted with. Note that this does not mean that the row being drawn can not be selected, for example. Just that a particular element of it cannot be individually modified. Field Gtk.CellRendererMode The cell can be clicked. Field Gtk.CellRendererMode The cell can be edited or otherwise modified. gtk-sharp-2.12.10/doc/en/Gtk/PrintWin32Devnames.xml0000644000175000001440000000637111345266756016540 00000000000000 gtk-sharp 2.12.0.0 System.ValueType Field System.String Do not use. Do not use. Field System.String Do not use. Do not use. Field System.Int32 Do not use. Do not use. Method System.Void Do not use. Do not use. Method Gtk.PrintWin32Devnames Do not use. Do not use. Do not use. Do not use. Field System.String Do not use. Do not use. Field Gtk.PrintWin32Devnames Do not use. Do not use. Internal structure. Do not use. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/VRuler.xml0000644000175000001440000000663111345266756014354 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A vertical ruler. This ruler is used to show the vertical location of the mouse in the window and to display the vertical size of the window in the specified units. The available units of measurement are , and . The default is . A vertical ruler is typically used along the left or right edge of another widget such as a . Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. Gtk.Ruler Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new vertical Ruler. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/Tooltip.xml0000644000175000001440000001233411345266756014564 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property Gtk.Widget To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property Gdk.Pixbuf To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property Gdk.Rectangle To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/AssistantPageType.xml0000644000175000001440000000414711345266756016545 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.AssistantPageTypeGType)) Field Gtk.AssistantPageType To be added. Field Gtk.AssistantPageType To be added. Field Gtk.AssistantPageType To be added. Field Gtk.AssistantPageType To be added. Field Gtk.AssistantPageType To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/IMContextSimple.xml0000644000175000001440000001005111345266756016150 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An input method context supporting table-based input methods. Gtk.IMContext Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Public constructor. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.UInt16 Adds an additional table to search to the input context. a a a Each row of the table consists of key symbols followed by two interpreted as the high and low words of a Unicode value. Tables are searched starting from the last added. The table must be sorted in dictionary order on the numeric value of the key symbol fields. (Values beyond the length of the sequence should be zero.) gtk-sharp-2.12.10/doc/en/Gtk/CellLayoutAdapter.xml0000644000175000001440000002656411345266756016522 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.CellLayout Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method Gtk.CellLayout To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void System.ParamArray To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property Gtk.CellRenderer[] To be added. To be added. To be added. Property Gtk.CellLayoutImplementor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void System.ParamArray To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. CellLayout interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/ActionActivatedArgs.xml0000644000175000001440000000476211345266756017017 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The index of the action that was triggered. a See and for more context about the index property. gtk-sharp-2.12.10/doc/en/Gtk/Targets.xml0000644000175000001440000000733411345266756014547 00000000000000 gtk-sharp 2.12.0.0 System.Object Constructor To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Rc.xml0000644000175000001440000003754711345266756013513 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Object for rc-file handling--- for example, ~/.gtkrc--- and application style and default setting. Rc files can be used to set the colors of just about any widget, and they can also be used to tile pixmaps onto the background of some widgets. System.Object Method Gtk.Style Finds all matching RC styles for a given widget, composites them together, and then creates a representing the composite appearance. a a (GTK+ actually keeps a cache of previously created styles, so a new style may not be created.) Method System.Void Parses an rc file into the internal data structure. a , the file to parse. Method System.String Searches for a theme engine in the GTK+ search path. This function is not useful for applications and should not be used. a a Method System.Void Parses resource information directly from a string. a to parse. Method System.Boolean If the modification time on any previously read file for the given has changed, discard all style information and then reread all previously read RC files. a a , force reload whether or not anything changed if TRUE a , TRUE if the files were re-read. Method System.Void Adds a file to the list of files to be parsed at the end of . a , the filename to add to the parse list If is not absolute, it is searched in the current directory. Method System.Boolean If the modification time on any previously read file for the default has changed, discard all style information and then reread all previously read RC files. a , TRUE if files were re-read. Constructor Public constructor; generates a new RC parser. Property System.String Returns the name a directory in which GTK# looks for theme engines. a Unlike the underlying GTK+ function, the return value of this method is a string, not a directory handle that must be freed later. (FIXME: the GTK+ docs point at the "GTK_PATH" section of "Running GTK applications", which is very detailed and may or may not need included here.) Property System.String Returns the standard directory in which themes should be installed. (GTK+ does not actually use this directory itself.) a Unlike the underlying GTK+ function, the return value of this method is a string, not a directory handle that must be freed later. Property System.String The path to the IM module file specified by the RC file. This may be overridden by the GTK_IM_MODULE_FILE environment variable. a (FIXME: does this apply for Gtk# too?) In standard Gtk+ applications, the GTK_IM_MODULE_FILE environment variable overrides the im_module_file specified in the RC files, which in turn overrides the default value sysconfdir/gtk-2.0/gtk.immodules (sysconfdir is the sysconfdir specified when GTK+ was configured, usually /usr/local/etc.) Property System.String Obtains the path in which to look for IM modules. a (FIXME: "See the documentation of the GTK_PATH environment variable for more details about looking up modules.") This function is useful solely for utilities supplied with GTK+ and should not be used by applications under normal circumstances. Property System.String The current list of RC files that will be parsed at the end of . a , a list of filenames. Unlike the underlying GTK+ function, this function's return string does not use memory owned by the application. Method Gtk.Style Creates up a from styles defined in a RC file by providing the raw components used in matching. This function may be useful when creating pseudo-widgets that should be themed like widgets but don't actually have corresponding GTK# widgets. An example of this would be items inside a GNOME canvas widget. a a , the widget path to use when looking up the style, or if no matching against the widget path should be done a , the class path to use when looking up the style, or if no matching against the class path should be done. a , a type that will be used along with parent types of this type when matching against class styles, or G_TYPE_NONE a ,a style created by matching with the supplied paths, or if nothing matching was specified and the default style should be used. The returned value is owned by GTK+ as part of an internal cache, so you must call g_object_ref() on the returned value if you want to keep a reference to it. (FIXME: what's the GTK# equivalent of g_object_ref()?) Method System.Void Adds a that will be looked up by a match against the widget's class pathname. a , the style to use for widgets matching a , the pattern to match This is equivalent to a "widget_class PATTERN style STYLE" statement in a RC file. Method System.Void Adds a that will be looked up by a match against the widget's pathname. a , the style to use for widgets matching a , the pattern to match This is equivalent to a "widget PATTERN style STYLE" statement in a RC file. Method System.Void Deprecated. Do not use. a a Method System.Void Recomputes the styles for all widgets that use a particular object. a There is one GtkSettings object per ; see This method is useful when some global parameter has changed that affects the appearance of all widgets, because when a widget gets a new style, it will both redraw and recompute any cached information about its appearance. As an example, it is used when the default font size set by the operating system changes. Note that this function doesn't affect widgets that have a style set explicitly on them with . gtk-sharp-2.12.10/doc/en/Gtk/InsertTextHandler.xml0000644000175000001440000000267711345266756016552 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the InsertTextHandler instance to the event. The methods referenced by the InsertTextHandler instance are invoked whenever the event is raised, until the InsertTextHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SelectionRequestEventHandler.xml0000644000175000001440000000306411345266756020730 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionRequestEventHandler instance to the event. The methods referenced by the SelectionRequestEventHandler instance are invoked whenever the event is raised, until the SelectionRequestEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PositionType.xml0000644000175000001440000000507711345266756015606 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Indicates a position for placement or layout. A PositionType is used to place widgets, usually relative to other widgets or other parts of the same widget. For example, the position of a handle in a , or the position of tabs in a . System.Enum GLib.GType(typeof(Gtk.PositionTypeGType)) Field Gtk.PositionType The relevant item should be placed on the left. Field Gtk.PositionType The relevant item should be placed on the right. Field Gtk.PositionType The relevant item should be placed at the top. Field Gtk.PositionType The relevant item should be placed at the bottom. gtk-sharp-2.12.10/doc/en/Gtk/MoveSliderArgs.xml0000644000175000001440000000342611345266756016022 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.ScrollType The kind of scrolling that was done in the triggering event. A gtk-sharp-2.12.10/doc/en/Gtk/HBox.xml0000644000175000001440000001235311345266756013773 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An HBox is a specific type of for packing widgets horizontally. using System; using Gtk; class HBoxTester { static void Main () { Application.Init (); Window myWindow = new Window ("HBox Widget"); HBox myBox = new HBox (false, 4); //Add some buttons to the horizontal box AddButton (myBox); AddButton (myBox); //Add the box to a Window container myWindow.Add (myBox); myWindow.ShowAll (); Application.Run (); } static void AddButton (HBox box) { box.PackStart (new Button ("Button"), true, false, 0); } } Imports System Imports Gtk Class HBoxTester Shared Sub Main () Application.Init () Dim myWindow As New Window ("HBox Widget") Dim myBox As New HBox (False, 0) ' Add the box to a Window container myWindow.Add (myBox) myWindow.SetDefaultSize (250, 40) ' Add some buttons to the box HBoxTester.AddButton (myBox) HBoxTester.AddButton (myBox) HBoxTester.AddButton (myBox) myWindow.ShowAll () Application.Run () End Sub Shared Sub AddButton (ByVal box As HBox) box.PackStart (New Button ("Button"), True, False, 0) End Sub End Class Other ways of laying out widgets include using a vertical box, (see ), a table, (see ), button boxes, etc. Useful methods for manipulating boxes can be found in the superclass for HBox, . Gtk.Box Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to create a new HBox. If , all widgets in the box are forced to be equally sized. The number of pixels to place between each widget in the box. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Default constructor. gtk-sharp-2.12.10/doc/en/Gtk/TranslateFunc.xml0000644000175000001440000000176611345266756015712 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. Delegate used by to translate path elements before they are displayed. TODO: Add an example here. To be added. System.Delegate System.String gtk-sharp-2.12.10/doc/en/Gtk/TreeNodeValueAttribute.xml0000644000175000001440000000464711345266756017530 00000000000000 gtk-sharp 2.12.0.0 >Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An attribute to identify a property as a tree node column value. This attribute is applied to a property of a tree node class to indicate that the property holds a column value of the node. In the following example, the Frombulator property is tagged as Column 2 of the node which implements it: [TreeNodeValue(Column=2)] public string Frombulator { get { return frombulator; } } System.Attribute System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple=true) Constructor TreeNodeValueAttribute constructor Instantiates a Property System.Int32 Column named value a The column number of the value which is exposed by the property this marks. gtk-sharp-2.12.10/doc/en/Gtk/Toolbar.xml0000644000175000001440000011232611345266756014536 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Create bars of buttons and other widgets. A is created with a call to . Buttons with text and/or images are added with , , and . Any of , , or an arbitrary widget can be added to the toolbar with , , and . Widgets can be visibly grouped by adding gaps between widgets using , , and . Gtk.Container System.Reflection.DefaultMember("Item") Method System.Void Deprecated. Adds a new space to the beginning of the toolbar. Method System.Void Unsets a toolbar style set with . Unsets a toolbar style set with , so that user preferences will be used to determine the toolbar style. Method System.Void Unsets toolbar icon size set with . Method System.Void Deprecated. a to add to the toolbar. The tooltip for the element. Used for context-sensitive help about this toolbar element. The number of widgets to insert this widget after. Inserts a widget in the toolbar at the given position. Method System.Void Deprecated. A to add to the toolbar. The tooltip for the element. Used for context-sensitive help about this toolbar element. Adds a widget to the end of the given toolbar. Method System.Void Deprecated. Adds a new space to the end of the toolbar. Method System.Void Deprecated. The index of the space to remove. Removes a space from the specified position. Method System.Void Deprecated. a to add to the toolbar. The tooltip for the element. Used for context-sensitive help about this toolbar element. Adds a widget to the beginning of the given toolbar. Method System.Void Deprecated. Do not use. The number of widgets after which a space should be inserted. Inserts a new space in the toolbar at the specified position. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new toolbar. Property Gtk.IconSize This function sets the size of stock icons in the toolbar. You can call it both before you add the icons and after they have been added. The size you set will override user preferences for the default icon size. The icon size for the toolbar. GLib.Property("icon-size") Property System.Boolean Sets if the tooltips of a toolbar should be active or not. Whether tooltips are enabled. GLib.Property("tooltips") Property Gtk.ToolbarStyle Alters the view of toolbar to display either icons only, text only, or both. The current style of toolbar. GLib.Property("toolbar-style") Property Gtk.Orientation Sets the of the toolbar to either or . The orientation of the toolbar. GLib.Property("orientation") Event Gtk.StyleChangedHandler Used if you wish to perform an action when the orientation of a toolbar is changed. GLib.Signal("style-changed") Event Gtk.OrientationChangedHandler Used if you wish to perform an action when ever the style of a toolbar is adjusted. For example, this would be a useful signal to connect to if you want to display more items on the toolbar when it is in icon-only mode; each item takes less space on the bar. GLib.Signal("orientation-changed") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method Gtk.Widget This method is deprecated and should not be used in new code. Adds a new button to the beginning of the toolbar (left or top, depending on toolbar orientation). If type == , widget is used as the new element. If type == , widget is used to determine the radio group for the new element. In all other cases, widget must be NULL. a , the type of widget to add a , the widget itself a , a label for the widget a , simple tooltip text a , context-sensitive detailed help a , the icon to use for this widget a , a callback function to use when the new widget is touched. a To be added. Method Gtk.Widget This method is deprecated and should not be used in new code. Adds a new button to the beginning of the toolbar (left or top, depending on toolbar orientation). If type == , widget is used as the new element. If type == , widget is used to determine the radio group for the new element. In all other cases, widget must be NULL. a , the type of widget to add a , the widget itself a , a label for the widget a , simple tooltip text a , context-sensitive detailed help a , the icon to use for this widget a , a callback function to use when the new widget is touched. a , data to pass to the callback. a , the number of toolbar widgets to insert this element after. a , the new toolbar element. Method Gtk.Widget Deprecated. a a a a a a Method Gtk.Widget Deprecated. a a a a a a a Method Gtk.Widget Deprecated. a a a a a a a a Method Gtk.Widget Deprecated. a a a a a a Method Gtk.Widget Deprecated. a a a a a a a a Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Boolean Whether to show an arrow if the toolbar doesn't fit. a GLib.Property("show-arrow") Property Gtk.ReliefStyle The relief style of buttons on the toolbar. a Property System.Int32 The number of items on the toolbar. a Event Gtk.PopupContextMenuHandler Emitted when the user right-clicks the toolbar or uses the keybinding to display a popup menu. Application developers should handle this signal if they want to display a context menu on the toolbar. GLib.Signal("popup_context_menu") Method System.Boolean Default handler for the event. a a a a Override this method in a subclass to provide a default handler for the event. Method Gtk.ToolItem Returns the th item on the toolbar, or if the toolbar does not contain an th item. a a Method System.Void Insert a into the toolbar at position . a a If is 0 the item is prepended to the start of the toolbar. If is negative, the item is appended to the end of the toolbar. Method System.Int32 Returns the position of on the toolbar, starting from 0. a a It is an error if is not a child of the toolbar. Method System.Int32 Returns the position corresponding to the indicated point on the toolbar. a a a This is useful when dragging items to the toolbar: this function returns the position a new item should be inserted. and are in toolbar coordinates. Property System.Int32 The number of items in the toolbar. The number of itesm. Method Gtk.Widget Deprecated a a a a a a Replaced by ToolItem API. Method System.Void To be added a a To be added Property GLib.Property("icon-size-set") System.Boolean Indicates if an Icon size is set. a . gtk-sharp-2.12.10/doc/en/Gtk/AnchorType.xml0000644000175000001440000001661311345266756015212 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A type to indicate an anchor position. Anchors are used to ensure that items, (such as a , or ), are anchored to their container from a certain direction. System.Enum GLib.GType(typeof(Gtk.AnchorTypeGType)) Field Gtk.AnchorType Indicates that an item should be centrally anchored. Field Gtk.AnchorType Indicates that an item should be anchored to the north. Field Gtk.AnchorType Indicates that an item should be anchored to the north west. Field Gtk.AnchorType Indicates that an item should be anchored to the north east. Field Gtk.AnchorType Indicates that an item should be anchored to the south. Field Gtk.AnchorType Indicates that an item should be anchored to the south west. Field Gtk.AnchorType Indicates that an item should be anchored to the south east. Field Gtk.AnchorType Indicates that an item should be anchored to the left. Field Gtk.AnchorType Indicates that an item should be anchored to the right. Field Gtk.AnchorType An alias for the value. Field Gtk.AnchorType An alias for the value. Field Gtk.AnchorType An alias for the value. Field Gtk.AnchorType An alias for the value. Field Gtk.AnchorType An alias for the value. Field Gtk.AnchorType An alias for the value. Field Gtk.AnchorType An alias for the value. Field Gtk.AnchorType An alias for the value. gtk-sharp-2.12.10/doc/en/Gtk/RowChangedHandler.xml0000644000175000001440000000356011345266756016452 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowChangedHandler instance to the event. The methods referenced by the RowChangedHandler instance are invoked whenever the event is raised, until the RowChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ProgressBar.xml0000644000175000001440000003707411345266756015373 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget which indicates progress visually. The is typically used to display the progress of a long running operation. It provides a visual clue that processing is underway. The can be used in two different modes: percentage mode and activity mode. When an application can determine how much work needs to take place (e.g. read a fixed number of bytes from a file) and can monitor its progress, it can use the in percentage mode and the user sees a growing bar indicating the percentage of the work that has been completed. In this mode, the application is required to set periodically to update the progress bar. When an application has no accurate way of knowing the amount of work to do, it can use the in activity mode, which shows activity by a block moving back and forth within the progress area. In this mode, the application is required to call perodically to update the progress bar. There is quite a bit of flexibility provided to control the appearance of the . Functions are provided to control the orientation of the bar, optional text can be displayed along with the bar, and the step size used in activity mode can be set. The following example show how percentage mode works using System; using Gtk; namespace TestGtkAlone { public class TestProgress { static Gtk.ProgressBar PBar; static void Main() { Gtk.Application.Init(); Gtk.Window WinPBar = new Window("Test Progress bar - Percentage mode"); Gtk.HBox HContainer = new Gtk.HBox(false, 2); PBar = new ProgressBar(); Gtk.Button ButtonStart = new Gtk.Button("Start Progress"); HContainer.Add(PBar); HContainer.Add(ButtonStart); ButtonStart.Clicked += new EventHandler(ButtonStart_Clicked); WinPBar.Add(HContainer); WinPBar.ShowAll(); Gtk.Application.Run(); } public static void ButtonStart_Clicked(object sender, EventArgs args) { PBar.Adjustment.Lower = 0; PBar.Adjustment.Upper = 1000; while (PBar.Adjustment.Value < PBar.Adjustment.Upper) { PBar.Adjustment.Value+=1; } } } } Gtk.Widget Method System.Void Indicates an unknown amount of progress has been made Indicates that some progress has been made, but you don't know how much. This causes the to enter "activity mode," where a block bounces back and forth. Each call to causes the block to move by a little bit (the amount of movement per pulse is determined by ). Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . Creates a new . Property Gtk.Adjustment Details about the increments used in updating the ProgressBar. an object of type GLib.Property("adjustment") Property System.UInt32 The number of blocks that the is divided into. an object of type The number of blocks that the is divided into when the style is discrete. GLib.Property("discrete-blocks") System.Obsolete Property System.String The text displayed superimposed on the . an object of type The text displayed superimposed on the , if any, otherwise . The return value is a reference to the text, not a copy of it, so will become invalid if you change the text in the . GLib.Property("text") Property Gtk.ProgressBarOrientation The current orientation. an object of type The current orientation. GLib.Property("orientation") Property System.UInt32 The step value used when the is in activity mode. an object of type The step value used when the is in activity mode. The step is the amount by which the progress is incremented each iteration. GLib.Property("activity-step") System.Obsolete Property System.Double The current fraction of the task that has been completed. an object of type The current fraction of the task that has been completed. GLib.Property("fraction") Property System.UInt32 The number of blocks used when the is in activity mode. an object of type The number of blocks used when the is in activity mode. Larger numbers make the visible block smaller. GLib.Property("activity-blocks") System.Obsolete Property Gtk.ProgressBarStyle The style for drawing the . an object of type The style for drawing the . Continuous - The grows in a smooth, continuous manner. Discrete - The grows in discrete, visible blocks. GLib.Property("bar-style") System.Obsolete Property System.Double The fraction of total length to move the bouncing block for each call to . an object of type The fraction of total length to move the bouncing block for each call to . GLib.Property("pulse-step") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void Update the progress bar with a new percentage-done. It's marked as obsolete - it's better to use a , the percentage completed this bar should display. Constructor Public constructor. a Property Pango.EllipsizeMode To be added a To be added GLib.Property("ellipsize") gtk-sharp-2.12.10/doc/en/Gtk/CreateMenuProxyArgs.xml0000644000175000001440000000356711345266756017051 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/Box.xml0000644000175000001440000003226211345266756013664 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A Box is a Gtk container that holds an arbitrary number of widgets. This means its sole purpose is to provide layout, size and spacing for other widgets. A Box is a rectangular area organized into either a single row or a single column of child widgets, depending upon whether the box is horizontally or vertically oriented, respectively. A Box is abstract - specific layout containers are provided in its sub classes, including a horizontal box, (), a vertical box (), and button boxes, (). Widgets that are 'packed' into a box are considered to be the children of the box, and the box controls their layout. Properties such as control the layout of all the children in the box, whereas specific packing settings can be applied to each child individually, such as . Gtk.Container System.Reflection.DefaultMember("Item") Method System.Void Change the packing properties of a child that is currently in this box. The child widget whose layout should be adjusted If , the child widget will expand to use as much space as it is given. If , the child widget will request as much space as is available. The size (in pixels) of a border to place around the specified child widget. Whether this child widget should be packed from the beginning of the box, (eg. the left, or the top), or from the end, (eg. the right or the bottom) It is more common to set any specific packing requirements on child widgets when they are initially added to the box. This can be done using and . Method System.Void Add a widget to the 'end' of a box with default packing settings. The child widget to add to the box. The 'end' of a box is the right hand side in a and the bottom in a . Method System.Void Add a widget to the 'start' of a box with default packing settings. The child widget to add to the box. The 'start' of a box is the left hand side in a and the top in a . Method System.Void Add a widget to the 'start' of a box with the specified packing properties. A widget to pack into the box. If , the child widget will expand to use as much space as it is given. If , the child widget will request as much space as is available. The size (in pixels) of a border to place around the specified child widget. To add a widget to the start of a box with default packing, use Method System.Void Add a widget to the 'end' of a box with the specified packing properties. A widget to pack into the box. If , the child widget will expand to use as much space as it is given. If , the child widget will request as much space as is available. The size (in pixels) of a border to place around the specified child widget. To add a widget to the end of a box with default packing, use Method System.Void Alters the position of a child widget that has already been packed into a Box. A widget that has already been packed into this box. The new position for this widget, indexed from zero. If negative, the will be placed at the end of the box. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Int32 Adjust the spacing between child widgets. The current pixel spacing between child widgets GLib.Property("spacing") Property System.Boolean Set the size of all child widgets to be the same if child widgets size themselves equally, false otherwise. GLib.Property("homogeneous") Method System.Void Returns information about how is packed into . the of the child to query. a , the returned value of the expand field in the BoxChild object. a , the returned value of the fill field in the BoxChild object. a , the retuned value of the padding field in the BoxChild object. a , the returned value of the pack field in the BoxChild object. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. gtk-sharp-2.12.10/doc/en/Gtk/Input.xml0000644000175000001440000000660611345266756014236 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Input-handling code for the main loop of programs. System.Object Method System.UInt32 Registers a function to be called when a condition becomes true on a file descriptor. an , a file descriptor. an , the condition. an , the function to call. a , the marshaller to use instead of the function (if non-null). a , callback data passed to the function. a , the callback function to call with "data" when the input handler is removed, or null. a , a unique id for the event source; to be used with . Method System.Void Removes the function with the given id. a identifying the function to remove, provided by . Constructor Basic constructor. gtk-sharp-2.12.10/doc/en/Gtk/TreeModelFilterVisibleFunc.xml0000644000175000001440000000345611345266756020317 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Delegate class for methods run when part of a tree is made visible. Used primarily as a parameter for . Delegates should return TRUE if the given row should be visible and FALSE otherwise. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/MoveCursorArgs.xml0000644000175000001440000000532111345266756016051 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 How many steps the cursor moved. A Property Gtk.MovementStep The kind of movement being counted in this event. A gtk-sharp-2.12.10/doc/en/Gtk/PopupMenuHandler.xml0000644000175000001440000000266011345266756016361 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PopupMenuHandler instance to the event. The methods referenced by the PopupMenuHandler instance are invoked whenever the event is raised, until the PopupMenuHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrintDuplex.xml0000644000175000001440000000274711345266756015417 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintDuplexGType)) Field Gtk.PrintDuplex To be added. Field Gtk.PrintDuplex To be added. Field Gtk.PrintDuplex To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RequestPageSetupArgs.xml0000644000175000001440000000467711345266756017230 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintContext The Print context of the current operation. A . Property System.Int32 The Page number to be setup. An integer page number. Property Gtk.PageSetup The page setup. A . Changes to the setup are only in effect for the duration of the page. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/IframeCreatedHandler.xml0000644000175000001440000000273111345266756017123 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the IframeCreatedHandler instance to the event. The methods referenced by the IframeCreatedHandler instance are invoked whenever the event is raised, until the IframeCreatedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CellRendererText.xml0000644000175000001440000005603611345266756016354 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Renders text in a cell Used to add text to a . Gtk.CellRenderer Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . The default constructor. Property System.Int32 Sets the height of a renderer to explicitly be determined by the . an object of type Property System.Int32 Font size. an object of type GLib.Property("size") Property System.Double Font scaling factor. an object of type GLib.Property("scale") Property System.String Foreground color as a string. an object of type GLib.Property("foreground") Property System.Boolean Whether to strike through the text. an object of type GLib.Property("strikethrough") Property Pango.FontDescription The font description as a an object of type GLib.Property("font-desc") Property System.String Font description as a . an object of type GLib.Property("font") Property System.Double Font size in points. an object of type GLib.Property("size-points") Property System.Int32 Offset of text above the baseline (below the baseline if rise is negative). an object of type GLib.Property("rise") Property System.String Text to render. an object of type GLib.Property("text") Property System.Int32 Font weight. an object of type GLib.Property("weight") Property System.String Background color as a . an object of type GLib.Property("background") Property System.Boolean Whether the text can be modified by the user. an object of type GLib.Property("editable") Property Pango.Variant Font variant. an object of type GLib.Property("variant") Property Gdk.Color Background color as a . an object of type GLib.Property("background-gdk") Property System.String Name of the font family, e.g. Sans, Helvetica, Times, Monospace. an object of type GLib.Property("family") Property Pango.AttrList A list of style attributes to apply to the text of the renderer. an object of type GLib.Property("attributes") Property Pango.Stretch Font stretch. an object of type GLib.Property("stretch") Property System.String Marked up text to render. an object of type GLib.Property("markup") Property Pango.Style Font style. an object of type GLib.Property("style") Property Pango.Underline Style of underline for this text. an object of type GLib.Property("underline") Property Gdk.Color Foreground color as a . an object of type GLib.Property("foreground-gdk") Event Gtk.EditedHandler Emitted when the cell is edited. GLib.Signal("edited") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Boolean Whether or not to keep all text in a single paragraph. a GLib.Property("single-paragraph-mode") Property System.String The language this text is in, as an ISO code. a Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it. GLib.Property("language") Property Pango.EllipsizeMode Specifies the preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string. A . Setting it to turns off ellipsizing. See the property for another way of making the text fit in a given width. GLib.Property("ellipsize") Property System.Int32 The desired width of the cell, in characters. A that is equal or greater than -1. If this property is set to -1, the width will be calculated automatically, otherwise the cell will request either 3 characters or the property value, whichever is greater. It's default value is -1. GLib.Property("width-chars") Property GLib.Property("wrap-width") System.Int32 The width at which text is wrapped. a width >= -1, where -1 denotes no wrapping. Property GLib.Property("wrap-mode") Pango.WrapMode Wrapping mode. a indicating how text is wrapped. Defaults to . Property GLib.Property("alignment") Pango.Alignment Identifies the Alignment of text within the renderer. a . gtk-sharp-2.12.10/doc/en/Gtk/HTMLPrintCallback.xml0000644000175000001440000000301611345266756016325 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. To be added. To be added. Delegate for printing page framing elements. Used to print headers and footers in . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CellRendererProgress.xml0000644000175000001440000001605311345266756017227 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Renders numbers as progress bars Gtk.CellRenderer Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor Default constructor Property GLib.GType GType Property. a Returns the native value for . Property System.String Determines the label which will be drawn over the progress bar. a Setting this property to causes the default label to be displayed. Setting this property to an empty string causes no label to be displayed. GLib.Property("text") Property System.Int32 Determines the percentage to which the progress bar will be "filled in". a Allowed values are between 0 and 100. GLib.Property("value") Property GLib.Property("orientation") Gtk.ProgressBarOrientation To be added. To be added. To be added. Property GLib.Property("pulse") System.Int32 To be added. To be added. To be added. Property GLib.Property("text-xalign") System.Single To be added. To be added. To be added. Property GLib.Property("text-yalign") System.Single To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/PageHorizontallyArgs.xml0000644000175000001440000000447311345266756017247 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether a selection is currently in progress that should be extended by the horizontal-page action. A , true if a selection is in progress. Property System.Int32 How many pages to move horizontally. A gtk-sharp-2.12.10/doc/en/Gtk/PaperSize.xml0000644000175000001440000002565011345266756015041 00000000000000 gtk-sharp 2.12.0.0 GLib.Opaque Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. To be added. To be added. Constructor To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Gtk.PaperSize To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method Gtk.PaperSize[] To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/AddWidgetArgs.xml0000644000175000001440000000444611345266756015610 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The widget (menubar or toolbar) that was added to the UI. a gtk-sharp-2.12.10/doc/en/Gtk/ActivateCurrentArgs.xml0000644000175000001440000000345711345266756017060 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether to hide the current menu item or not. a gtk-sharp-2.12.10/doc/en/Gtk/TreeSelectionFunc.xml0000644000175000001440000000320411345266756016507 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. A delegate for specifying the shape of functions passed as parameters to . This function will get called on select and unselect of widget text. It should return if the state of the tree node may be toggled and if the state of the node should not be changed. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/UnselectAllHandler.xml0000644000175000001440000000274211345266756016645 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the UnselectAllHandler instance to the event. The methods referenced by the UnselectAllHandler instance are invoked whenever the event is raised, until the UnselectAllHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/NodeStore.xml0000644000175000001440000001667411345266756015047 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A store for that provides data from an arbitrary class. It is simpler to use than the . This class provides a simple mechanism of implementing the Model required by the . [TreeNode (ColumnCount=2)] class DemoNode { string name; string email; public DemoNode (string name, string email) { this.name = name; this.email = email; } [TreeNodeValue (Column=0)] public string Name { get { return name; } } [TreeNodeValue (Column=1)] public string EMail { get { return email; } } } class Demo { NodeStore store; void PopulateStore () { NodeStore store = new NodeStore (typeof (DemoNode)); DemoNode my_node = new DemoNode ("Miguel de Icaza", "miguel@ximian.com"); store.AddNode (my_node); } Iteration: In new versions of Gtk# (2.0 and up) this class implements the interface, so code can be written like this: void DumpColumnValues (NodeStore store, int col) { foreach (object[] row in store) Console.WriteLine ("Value of column {0} is {1}", col, row [col]); } GLib.Object System.Collections.IEnumerable Method System.Void Appends the node to the root level of the tree a Adds to the end of the list of root level nodes. Method System.Void Inserts the node into the root level of the tree a the position to insert it at Adds to the list of root level nodes before the node currently at . Method Gtk.ITreeNode Returns a node given a . The path to look up. Looks up the node corresponding to and returns it, or null if the node cannot be found. To be added. Method System.Void Removes a node from the store. a Removes from the list of root level nodes. Constructor NodeStore constructor a Creates a for nodes of the specified . The type provided in must implement . Property GLib.GType Native type value. a Method System.Collections.IEnumerator Gets an enumerator for the root nodes. a Children of root nodes are not enumerated. You must traverse them independently. Method System.Void Removes all nodes from the store. gtk-sharp-2.12.10/doc/en/Gtk/PrintOperationPreview.xml0000644000175000001440000000533011345266756017447 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper Method System.Void To be added. To be added. Event Gtk.GotPageSizeHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Event Gtk.ReadyHandler To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TextWindow.xml0000644000175000001440000000250511345266756015245 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A basic window type that contains text. FIXME: this class may be for internal use only. GLib.Opaque Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.10/doc/en/Gtk/MenuShell.xml0000644000175000001440000004333711345266756015035 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A GtkMenuShell is the abstract base class used to derive the GtkMenu and GtkMenuBar subclasses. A is a container of objects arranged in a list which can be navigated, selected, and activated by the user to perform application functions. A can have a submenu associated with it, allowing for nested hierarchical menus. Gtk.Container Method System.Void Adds a new to the beginning of the menu shell's item list. The to add. Activates the menu item within the menu shell. Adds a new to the beginning of the menu shell's item list. Method System.Void Deactivates the menu shell. Typically this results in the menu shell being erased from the screen. Method System.Void Activates the menu item within the menu shell. The to activate. If , force the deactivation of the menu shell after the menu item is activated. Activates the menu item within the menu shell. Method System.Void Adds a new to the menu shell's item list at the position indicated by . The to add. The position in the item list where is added. Positions are numbered from 0 to n-1. Adds a new to the menu shell's item list at the position indicated by position. Method System.Void Deselects the currently selected item from the menu shell, if any. Deselects the currently selected item from the menu shell, if any. Method System.Void Adds a new to the end of the menu shell's item list. The to add. Adds a new to the end of the menu shell's item list. Method System.Void Selects the menu item from the menu shell. The to select. Selects the menu item from the menu shell. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Event Gtk.ActivateCurrentHandler An action signal that activates the current menu item within the menu shell. GLib.Signal("activate_current") Event Gtk.MoveCurrentHandler An action signal which moves the current menu item in the direction specified by . GLib.Signal("move_current") Event System.EventHandler This signal is emitted when a selection has been completed within a menu shell. GLib.Signal("selection-done") Event System.EventHandler This signal is emitted when a menu shell is deactivated. GLib.Signal("deactivate") Method System.Void Select the first visible or selectable child of the menu shell; don't select tearoff items unless the only item is a tearoff item. a If is true, search for the first selectable menu item, otherwise select nothing if the first item isn't sensitive. This should be false if the menu is being popped up initially. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Event System.EventHandler An action signal which cancels the selection within the menu shell.Causes the signal to be emitted. GLib.Signal("cancel") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Emits the Canceled event. Property GLib.Property("take-focus") System.Boolean Indicates if the keyboard focus should be grabbed when active. if the keyboard focus is taken when active. By default, this is true. Setting to false can have unexpected side effects and in general should only be done with menus that don't contain mnemonics. Event GLib.Signal("move_selected") Gtk.MoveSelectedHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Layout+LayoutChild.xml0000644000175000001440000000331111345266756016617 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("x") System.Int32 X coordinate of the child the child's X coordinate Property Gtk.ChildProperty("y") System.Int32 Y coordinate of the child the child's Y coordinate A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/Accessible.xml0000644000175000001440000000677211345266756015200 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This class requests instances for the UI components that provide useful information to the user. Atk.Object Method System.Void This method specifies the callback function to be called when the corresponding to a is destroyed. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Chain to this constructor if you have not registered a native value for your subclass. gtk-sharp-2.12.10/doc/en/Gtk/PlugRemovedHandler.xml0000644000175000001440000000270611345266756016663 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PlugRemovedHandler instance to the event. The methods referenced by the PlugRemovedHandler instance are invoked whenever the event is raised, until the PlugRemovedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SeparatorToolItem.xml0000644000175000001440000000742211345266756016551 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Separator object for toolbars. Gtk.ToolItem Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use only. a , pointer to underlying C object. Constructor Public constructor. Property GLib.GType The of this object. a Property System.Boolean Returns whether this object is drawn as a line (true), or just blank (false). a GLib.Property("draw") gtk-sharp-2.12.10/doc/en/Gtk/PageReorderedHandler.xml0000644000175000001440000000152211345266756017135 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Sender. Event arguments. Event Handler for events. gtk-sharp-2.12.10/doc/en/Gtk/TreeCellDataFunc.xml0000644000175000001440000000271711345266756016243 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. A delegate for methods that handle tree cell data. Methods with this shape are used to specify how to fill in tree data; see for example for one place where this class is used as a parameter. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/StyleSetArgs.xml0000644000175000001440000000336611345266756015530 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Style The style that was in use before this style. A gtk-sharp-2.12.10/doc/en/Gtk/SizeGroupMode.xml0000644000175000001440000000506511345266756015671 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Determine the direction that is affected by a . The mode of the determines the directions in which the affects the requested sizes of its component widgets. System.Enum GLib.GType(typeof(Gtk.SizeGroupModeGType)) Field Gtk.SizeGroupMode Has no effect on widget size requisitions. Field Gtk.SizeGroupMode Affects widget size requisitions horizontally. Field Gtk.SizeGroupMode Affects widget size requisitions vertically. Field Gtk.SizeGroupMode Affects widget size requisitions both horizontally and vertically. gtk-sharp-2.12.10/doc/en/Gtk/EntryCompletionMatchFunc.xml0000644000175000001440000000347611345266756020065 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Delegate class for callback methods; used by . See that method's documentation for details. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/SettingsValue.xml0000644000175000001440000000473511345266756015735 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Data for . System.ValueType Field Gtk.SettingsValue An empty value. Method Gtk.SettingsValue Constructor. A , pointer to the underlying C object. A Not for general developer use. Field System.String The source of this data (usually an rcfile). Field GLib.Value The data value. gtk-sharp-2.12.10/doc/en/Gtk/DrawGdkHandler.xml0000644000175000001440000000272011345266756015751 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DrawGdkHandler instance to the event. The methods referenced by the DrawGdkHandler instance are invoked whenever the event is raised, until the DrawGdkHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/IconSource.xml0000644000175000001440000003521211345266756015203 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A GtkIconSource contains a (or image filename) that serves as the base image for one or more of the icons in a , along with a specification for which icons in the icon set will be based on that pixbuf or image file. An icon set contains a set of icons that represent the same logical concept in different states, different global text directions, and different sizes. A contains a (or image filename) that serves as the base image for one or more of the icons in a , along with a specification for which icons in the icon set will be based on that pixbuf or image file. An icon set contains a set of icons that represent the same logical concept in different states, different global text directions, and different sizes. So for example a web browser's "Back to Previous Page" icon might point in a different direction in Hebrew and in English; it might look different when insensitive; and it might change size depending on toolbar mode (small/large icons). So a single icon set would contain all those variants of the icon. contains a list of from which it can derive specific icon variants in the set. In the simplest case, contains one source pixbuf from which it derives all variants. The constructor handles this case; if you only have one source pixbuf, just use that function. If you want to use a different base pixbuf for different icon variants, you create multiple icon sources, mark which variants they'll be used to create, and add them to the icon set with . By default, the icon source has all parameters wildcarded. That is, the icon source will be used as the base icon for any desired text direction, widget state, or icon size. GLib.Opaque Method Gtk.IconSource Creates a copy of the current ; mostly useful for language bindings. a new GtkIconSource that is a copy of the current one Method System.Void Frees a dynamically-allocated icon source, along with its filename, size, and pixbuf fields. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . Property System.Boolean If the widget state is wildcarded, this source can be used as the base image for an icon in any . Whether or not the widget is wildcarded. If the widget state is wildcarded, this source can be used as the base image for an icon in any . If the widget state is not wildcarded, then the state the source applies to should be set with and the icon source will only be used with that specific state. prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. will normally transform wildcarded source images to produce an appropriate icon for a given state, for example lightening an image on prelight, but will not modify source images that match exactly. Property System.Boolean If the icon size is wildcarded, this source can be used as the base image for an icon of any size. If the size is not wildcarded, then the size the source applies to should be set with and the icon source will only be used with that specific size. Whether the size is wildcarded or not If the icon size is wildcarded, this source can be used as the base image for an icon of any size. If the size is not wildcarded, then the size the source applies to should be set with and the icon source will only be used with that specific size. prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. will normally scale wildcarded source images to produce an appropriate icon at a given size, but will not change the size of source images that match exactly. Property Gdk.Pixbuf The base image used when creating icon variants of a the source pixbuf, or if none is set. If an icon source has both a filename and a pixbuf set, the pixbuf will take priority. Property Gtk.TextDirection The text direction this icon source applies to. Obtains the text direction this icon source applies to. The return value is only useful/meaningful if the text direction is not wildcarded. Setting the text direction on an icon source makes no difference if the text direction is wildcarded. Therefore, you should usually set the property to un-wildcard it in addition to calling this function. Property Gtk.IconSize The icon size this icon source is intended to be used with. Obtains the icon size this source applies to. The return value is only useful/meaningful if the icon size is not wildcarded. Setting the icon size on an icon source makes no difference if the size is wildcarded. Therefore, you should usually set the property to un-wildcard it in addition to calling this function. Property Gtk.StateType The widget state this icon source applies to. Obtains the widget state this icon source applies to. The return value is only useful/meaningful if the widget state is not wildcarded. Setting the widget state on an icon source makes no difference if the state is wildcarded. Therefore, you should usually set the propertyto un-wildcard it in addition to calling this function. Property System.Boolean If the text direction is wildcarded, this source can be used as the base image for an icon in any . Whether the text direction is wildcarded or not If the text direction is wildcarded, this source can be used as the base image for an icon in any . If the text direction is not wildcarded, then the text direction the icon source applies to should be set with , and the icon source will only be used with that text direction. prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. Property System.String Retrieves the source filename, or if none is set. Retrieves the source filename, or if none is set. The filename is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source. Property GLib.GType GType Property. a Returns the native value for . Property System.String The name of an icon to look up in the current icon theme to use as a base image when creating icon variants for #GtkIconSet a gtk-sharp-2.12.10/doc/en/Gtk/HTMLFontStyle.xml0000644000175000001440000001511311345266756015544 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration of possible font styles within a widget. System.Enum System.Flags Field Gtk.HTMLFontStyle The default style. Field Gtk.HTMLFontStyle The smallest text size. Field Gtk.HTMLFontStyle A small text size. Field Gtk.HTMLFontStyle A medium-small text size. Field Gtk.HTMLFontStyle A medium text size. Field Gtk.HTMLFontStyle A medium-large text size. Field Gtk.HTMLFontStyle A large text size. Field Gtk.HTMLFontStyle The largest text size. Field Gtk.HTMLFontStyle A mask for changing font sizes. FIXME: explain this. Field Gtk.HTMLFontStyle An italic style. Field Gtk.HTMLFontStyle An italic style. Field Gtk.HTMLFontStyle An underlined style. Field Gtk.HTMLFontStyle A strikeout style. Field Gtk.HTMLFontStyle A fixed-width style. Field Gtk.HTMLFontStyle A subscript style. Field Gtk.HTMLFontStyle A superscript style. gtk-sharp-2.12.10/doc/en/Gtk/HSV.xml0000644000175000001440000002437411345266756013601 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A color selector based on hue, saturation, and value. TODO: add an example. Gtk.Widget Method System.Void Set the basic size of the hue ring. A A Method System.Void Sets the color displayed in the widget. A , the hue A , the saturation A , the value Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor. Event System.EventHandler Raised when the color of this widget changes. GLib.Signal("changed") Event Gtk.MoveHandler Raised when this widget is moved. GLib.Signal("move") Method System.Void Converts a HSV value to a RGB (red-green-blue) triplet. a , the hue a , the saturation a , the value a , red component a , blue component a , green component Method System.Void Gets the current color indicated by this widget. a a a Method System.Void Gets the current size of this widget. a to fill with the hue ring size. a to fill with the width of the hue ring. Property System.Boolean An HSV color selector is "adjusting" if multiple rapid changes are being made to its value, for example, when the user is adjusting the value with the mouse. This property tells whether the HSV color selector is being adjusted or not. a Returns true if clients can ignore changes to the color value, since they may be transitory, or false if they should consider the color value status to be final. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/FocusChildSetHandler.xml0000644000175000001440000000273711345266756017135 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusChildSetHandler instance to the event. The methods referenced by the FocusChildSetHandler instance are invoked whenever the event is raised, until the FocusChildSetHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/LinkButtonUriFunc.xml0000644000175000001440000000145111345266756016515 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ObjectDeleteArgs.xml0000644000175000001440000000307411345266756016301 00000000000000 gtkhtml-sharp 3.16.0.0 GLib.SignalArgs Constructor To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/HierarchyChangedHandler.xml0000644000175000001440000000277511345266756017630 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the HierarchyChangedHandler instance to the event. The methods referenced by the HierarchyChangedHandler instance are invoked whenever the event is raised, until the HierarchyChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ResponseHandler.xml0000644000175000001440000000264511345266756016232 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ResponseHandler instance to the event. The methods referenced by the ResponseHandler instance are invoked whenever the event is raised, until the ResponseHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Window.xml0000644000175000001440000030323211345266756014401 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Toplevel which can contain other widgets. using System; using Gtk; class WindowTester { static void Main () { Application.Init (); Window myWindow = new Window ("This is a window"); myWindow.DeleteEvent += OnDelete; myWindow.SetDefaultSize (200, 200); //Put a button in the Window Button button = new Button ("Click"); myWindow.Add (button); myWindow.ShowAll (); Application.Run (); } static void OnDelete (object o, DeleteEventArgs e) { Application.Quit (); } } Toplevel which can contain other widgets. Gtk.Bin Method System.Void Starts moving a . Mouse button that initiated the drag. X position where the user clicked to initiate the drag, in root window coordinates. Y position where the user clicked to initiate the drag. Timestamp from the click event that initiated the drag. This method is used if an application has window movement grips. When GDK can support it, the window movement will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window movement, potentially not all that well, depending on the windowing system. Method System.Void Retrieves the dimensions of the frame window for this toplevel. Location to store the width of the frame at the left, or . Location to store the height of the frame at the top, or . Location to store the width of the frame at the returns, or . Location to store the height of the frame at the bottom, or . It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See to get the standard window border extents.) See also , . Note: this is a special-purpose method intended for the framebuffer port; see . Method System.Void Asks to iconify (i.e. minimize) the specified . Note that you shouldn't assume the is definitely iconified afterward, because other entities (e.g. the user or window manager) could deiconify it again, or there may not be a window manager in which case iconification isn't possible, etc. But normally the will end up iconified. Just do not write code that crashes if not. You can track iconification via the event on . Method System.Void Asks to unstick , which means that it will appear on only one of the user's desktops. Note that you shouldn't assume the is definitely unstuck afterward, because other entities (e.g. the user or window manager) could stick it again. But normally the will end up stuck. Just do not write code that crashes if not. You can track stickiness via the event on . Method System.Void Asks to unmaximize . Note that you shouldn't assume the is definitely unmaximized afterward, because other entities (e.g. the user or window manager) could maximize it again, and not all window managers honor requests to unmaximize. But normally the will end up unmaximized. Just don't write code that crashes if not. You can track maximization via the event on Method System.Void Obtains the current size of . Return location for width, or . Return location for height, or . If is not onscreen, it returns the size GTK# will suggest to the window manager for the initial window size (but this is not reliably the same as the size the window manager will actually select). The size obtained by is the last size received in a GdkEventConfigure, that is, GTK# uses its locally-stored size, rather than querying the X server for the size. As a result, if you call then immediately call , the size would not have taken effect yet. After the window manager processes the resize request, GTK# receives notification that the size has changed via a configure event, and the size of the gets updated. Note 1: Nearly any use of this method creates a race condition, because the size of the may change between the time that you get the size and the time that you perform some action assuming that size is the current size. To avoid race conditions, connect to on the and adjust your size-dependent state to match the size delivered in the GdkEventConfigure. The following example will print the height and width of a called myWindow to the console. int height =0; int width = 0; myWindow.GetSize(out width , out height); Console.WriteLine("Width: {0}, Height: {1}" , width , height); Method System.Void Gets the default size of the . Location to store the default width, or . Location to store the default height, or . A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the will be used. Method System.Void Resizes the as if the user had done so, obeying geometry constraints. Width in pixels to resize the to. Height in pixels to resize the to. The default geometry constraint is that windows may not be smaller than their size request; to override this constraint, call to set the 's request to a smaller value. If is called before showing a for the first time, it overrides any default size set with . Windows may not be resized smaller than 1 by 1 pixels. Method System.Boolean Activates the current focused within the . if a got activated. Method System.Boolean Parses a standard X Window System geometry string. if string was parsed successfully. does work on all GTK# ports including Win32 but is primarily intended for an X environment. If either a size or a position can be extracted from the geometry string, returns and calls and/or to resize/move the . If returns , it will also set the and/or hints indicating to the window manager that the size/position of the was user-specified. This causes most window managers to honor the geometry. Note that for to work as expected, it has to be called when the has its "final" size, i.e. after calling on the contents and on the . Method System.Void Reverses the effects of . A . Method System.Void Asks to stick , which means that it will appear on all user desktops. Note that you shouldn't assume the is definitely stuck afterward, because other entities (e.g. the user or window manager) could unstick it again, and some window managers do not support sticking windows. But normally the will end up stuck. Just don't write code that crashes if not. You can track stickiness via the event on GtkWidget. It's permitted to call this method before showing a . Method System.Void For windows with frames (see ) this method can be used to change the size of the frame border. The width of the left border. The height of the top border. The width of the right border. The height of the bottom border. Note: this is a special-purpose method intended for the framebuffer port; see . It will have no effect on the window border drawn by the window manager, which is the normal case when using the X Window system. Method System.Void Adds a mnemonic to this . The mnemonic. The that gets activated by the mnemonic. Method System.Void Starts resizing a . Position of the resize control. Mouse button that initiated the drag. X position where the user clicked to initiate the drag, in root window coordinates. Y position where the user clicked to initiate the drag Timestamp from the click event that initiated the drag. This method is used if an application has window resizing controls. When GDK can support it, the resize will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window resizing, potentially not all that well, depending on the windowing system. Method System.Void This method returns the position you need to pass to to keep in its current position. Return location for X coordinate of gravity-determined reference point. Return location for Y coordinate of gravity-determined reference point. If you haven't changed the window gravity, its gravity will be . This means that gets the position of the top-left corner of the window manager frame for the . sets the position of this same top-left corner. is not 100% reliable because the X Window System does not specify a way to obtain the geometry of the decorations placed on a by the window manager. Thus GTK# is using a "best guess" that works with most window managers. Moreover, nearly all window managers are historically broken with respect to their handling of window gravity. So moving a to its current position as returned by tends to result in moving the slightly. Window managers are slowly getting better over time. If a has gravity the window manager frame is not relevant, and thus will always produce accurate results. However you can't use static gravity to do things like place a in a corner of the screen, because static gravity ignores the window manager decorations. If you are saving and restoring your application's positions, you should know that it's impossible for applications to do this without getting it somewhat wrong because applications do not have sufficient knowledge of window manager state. The Correct Mechanism is to support the session management protocol (see the "GnomeClient" object in the GNOME libraries for example) and allow the window manager to save your sizes and positions. Method System.Void Asks to deiconify (i.e. unminimize) the specified . Note that you shouldn't assume the is definitely deiconified afterward, because other entities (e.g. the user or window manager) could iconify it again before your code which assumes deiconification gets to run. You can track iconification via the event on GtkWidget. Method System.Boolean Activates the targets associated with the mnemonic. The mnemonic. The modifiers. if the activation is done. Method System.Boolean Activates the default for the . if a is activated. That is unless the current focused has been configured to receive the default (see ) action in which case the case the focused is activated. Method System.Void Asks to maximize , so that it becomes full-screen. Note that you shouldn't assume the is definitely maximized afterward, because other entities (e.g. the user or window manager) could unmaximize it again, and not all window managers support maximization. But normally the will end up maximized. Just don't write code that crashes if not. You can track maximization via the event on . It's permitted to call this method before showing a , in which case the will be maximized when it appears onscreen initially. Method System.Void Removes a mnemonic from this . The mnemonic. The that gets activated by the mnemonic. Method System.Void Adds an X id number to the list of embedded windows. an object of type This is an advanced feature and is not used by typical code. The method adds the specified XID to a list of embedded windows that is maintained as object data on the Window object. This list is used for things like querying X rc settings. Method System.Void It sets the X Window System "class" and "name" hints for a . (Don't use this method.) Window name hint. Window class hint. According to the ICCCM, you should always set these to the same value for all windows in an application, and GTK# sets them to that value by default, so calling this method is sort of pointless. However, you may want to call on each in your application, for the benefit of the session manager. Setting the role allows the window manager to restore window positions when loading a saved session. Method System.Void Removes an X id number to the list of embedded windows. an object of type This is an advanced feature and is not used by typical code. The method removess the specified XID to a list of embedded windows that is maintained as object data on the Window object. This list is used for things like querying X rc settings. Method System.Void Sets the default size of an object, with the specified width and height arguments. Width in pixels, or -1 to unset the default width. Height in pixels, or -1 to unset the default height. If the 's "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the ( can be used to set these explicitly), the default size will be clamped to the nearest permitted size. Unlike which sets a size request for a and thus would keep users from shrinking the , this method only sets the initial size, just as if the user had resized the themselves. Users can still shrink the again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the ). For more control over a 's initial size and how resizing works, investigate . For some uses, is a more appropriate method. changes the current size of the , rather than the size to be used on initial display. always affects the itself, not the geometry widget. The default size of a only affects the first time a is shown; if a is hidden and re-shown, it will remember the size it had prior to hiding, rather than using the default size. Method System.Void Presents a to the user. This may mean raising the in the stacking order, deiconifying it, moving it to the current desktop, and/or giving it the keyboard focus, possibly dependent on the user's platform, window manager, and preferences. If is hidden, this method calls as well. This method should be used when the user tries to open a that's already open. Say for example the preferences dialog is currently open, and the user chooses Preferences from the menu a second time; use to move the already-open dialog where the user can see it. Method System.Void Hides , then reshows it, resetting the default size and position of the . Used by GUI builders only. Method System.Void Asks the window manager to move to the given position. X coordinate to move to. Y coordinate to move to. Window managers are free to ignore this; most window managers ignore requests for initial window positions (instead using a user-defined placement algorithm) and honor requests after the has already been shown. Note: the position is the position of the gravity-determined reference point for the . The gravity determines two things: first, the location of the reference point in root coordinates; and second, which point on the is positioned at the reference point. By default the gravity is so the reference point is simply the x, y supplied to . The top-left corner of the decorations (aka window frame or border) will be placed at , . Therefore, to position a at the top left of the screen, you want to use the default gravity (which is ) and move the to 0,0. To position a at the bottom right corner of the screen, you would set , which means that the reference point is at x + the width and y + the height, and the bottom-right corner of the window border will be placed at that reference point. Method System.Void Sets the position constraint for a . A position constraint. Is is used for placing the in some area, depending on the constraint. Method System.Void Associate with . A . Such that calling on will activate accelerators in . Method System.Void This method sets up hints about how a can be resized by the user. Widget the geometry hints will be applied to. Struct containing geometry information. Mask indicating which struct fields should be paid attention to. You can set a minimum and maximum size; allowed resize increments (e.g. for xterm, you can only resize by the size of a character); aspect ratios; and more. See . Constructor Internal constructor. Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Window object, based on the . A . Creates a new Window object, wich can be of type TopLevel ( most of the cases ) or PopUp. Take care with the use of PopUp type, since it is not controlled by the window manager. Constructor Creates a new TopLevel Window object, with as the title. A string. Creates a new TopLevel Window object, using as the title. You get the same if you use the public Window ( Gtk.WindowType type ) constructor and later set the string Title property. Property Gtk.Widget Sets or unsets the default for a about. A . The default is the widget that's activated when the user presses Enter in a dialog (for example). When setting (rather than unsetting) the default it's generally easier to call on the . Before making a default , you must set the flag on the you'd like to make the default. Property System.Boolean If this function is called on a with setting of , before it is realized or showed, it will have a "frame" around widget->window, accessible in window->frame. Or it access the "frame" exterior to widget->window. if a frame has been added to the via . Using the event you can receive all events targeted at the frame. This method is used by the linux-fb port to implement managed windows, but it could concievably be used by X-programs that want to do their own window decorations. Note: This is a special-purpose method for the framebuffer port, this causes GTK# to draw its own window border. For most applications you want instead, which tells the window manager whether to draw the window border. Property Gdk.Gravity Sets or obtains the meaning of coordinates passed to . A window gravity. The default window gravity is which is typically "do what you mean". See and . GLib.Property("gravity") Property Gdk.ModifierType Sets or obtains the mnemonic modifier for this . The modifier mask used to activate mnemonics on this . Property Gdk.WindowTypeHint Sets or obtains the type hint for . The type hint for . By setting the type hint for the , you allow the window manager to decorate and handle the in a way which is suitable to the function of the in your application. This property should be called before the becomes visible. GLib.Property("type-hint") Property Gtk.Window Sets or obtains the transient parent window. Dialog windows should be transient for the main they were spawned from, this allows windows managers to e.g. keep the dialog on top of the main , or center the dialog over the main . On Windows(tm), this function will and put the child on top of the parent, much as the would have done in X. GLib.Property("transient-for") Property Gtk.Widget Sets a to be the focus widget for the if it is not the current focus widget, and its focusable, or retrieves the current focused within the . The currently focused , or if there is none. To set the focus to a particular in the toplevel, it is usually more convenient to use . Note: when retrieving the current focused is the that would have the focus if the toplevel focused; if the toplevel is not focused then will not be for the . Property System.String Sets or obtains the role of the . The role of the if set, or . The returned is owned by the widget and must not be modified or freed. This property is only useful on X11, not with other GTK# targets. In combination with the title, the role allows a window manager to identify "the same" when an application is restarted. So for example you might set the "toolbox" role on your app's toolbox , so that when the user restarts their session, the session manager can put the toolbox back in the same place. If a already has a unique title, you don't need to set the role, since the WM can use the title to identigy the when restoring the session. GLib.Property("role") Property System.Boolean Sets or obtains whether the has been set to have decorations. if the has been set to have decorations. With this property you control if a will be decorated or not. By default, windows are decorated with a title bar and resize controls. Some window managers allow to disable these decorations, creating a borderless Window. If you set this property as false, Gtk# will try to convince the window manager not to decorate the . GLib.Property("decorated") Property System.Boolean Sets or obtains whether a will be resizable by the user or not. if the user can resize the . By default, the are resizable, so you can change the size of them. But if you set this property to false, the user won't be able to change the size of them. GLib.Property("resizable") Property Gtk.WindowPosition Property used for setting/getting the position. The position. See also . This property will alow you to define where a should be displayed on the screen. Position values are described in the definition. GLib.Property("window-position") Property System.Int32 Property used for setting or obtaining the default height of a . The default height of the . This property will allow you to define the default height for your . It only define the default one, so if the is resized, it won't be able to do anything. GLib.Property("default-height") Property System.Boolean Sets or obtains whether the transient parent of will also destroy itself an object of type This is useful for dialogs that shouldn't persist beyond the livefime of the main they're associated with, for example. GLib.Property("destroy-with-parent") Property System.Boolean Sets or obtains the modal status of . if the is set to be modal and establishes a grab when shown. Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent. There are two status: modal () and non-modal (). GLib.Property("modal") Property System.Boolean Sets or obtains if the can be resized to a larger size by the user. if the can be resized. GLib.Property("allow-grow") Property System.String Property used for setting the title. The title of the , or if none has been set explicitely. The returned string is owned by the and must not be modified or freed. This property will allow you to set the title. The title of a will be displayed in its title bar. Since the title bar is rendered by the window managers on X Window System, the way it appears will depend on the user preferences. This title should help the users to distinguish a from others opened. A good title will have the application name an the actual document, for example. GLib.Property("title") Property Gtk.WindowType The type of . The type. See also . GLib.Property("type") Property System.Int32 Property used for setting or obtaining the default width of a . The default width of the . This property will allow you to define the default width for . It only define the default one, so if the is resized, it won't be able to do anything. GLib.Property("default-width") Property Gdk.Pixbuf Property used for setting the icon for a . The default icon for . GLib.Property("icon") Property System.Boolean Sets or obtains if the has no mininum size. if the has no minimum size. Setting this to is 99% of the time a bad idea. GLib.Property("allow-shrink") Event System.EventHandler KeysChanged event. This event is emited when the or mnemonic associated with the is changed. GLib.Signal("keys_changed") Event Gtk.MoveFocusHandler MoveFocus event. This event is emited when the focus is moved from one child to another. GLib.Signal("move_focus") System.Obsolete("Replaced by Keybinding signal on Gtk.Widget") Event Gtk.SetFocusHandler SetFocus event. This event is emited when the focused widget is set. GLib.Signal("set_focus") Event System.EventHandler DefaultActivated event. This event is emited when the keybinding for default widget activation is triggered. GLib.Signal("activate_default") Event System.EventHandler FocusActivated event. This event is emited when the keybinding for focused widget activation is triggered. GLib.Signal("activate_focus") Event Gtk.FrameEventHandler FrameEvent event. This event is emited when has been set to true and an event occurs on the resulting frame. GLib.Signal("frame_event") Property System.Boolean Property used for setting the automatic startup notification. if set to automatically do startup notification. By default, after showing the first for each , GTK# calls . Use this property to disable the automatic startup notification. You might do this if your first is a splash screen, and you want to delay notification until after your real main has been shown, for example. In that example, you would disable startup notification temporarily, show your splash screen, then re-enable it so that showing the main would automatically result in notification. Property Gdk.Screen Sets or obtains the where the is displayed. A . If the is already mapped, it will be unmapped, and then remapped on the new screen. GLib.Property("screen") Property System.Boolean Whether the toplevel is the current active . if the is the toplevel. GLib.Property("is-active") Property System.Boolean Whether the input focus is within this . if the has the input focus. GLib.Property("has-toplevel-focus") Property System.Boolean Whether the should not be in the pager. if the should not be in the pager. GLib.Property("skip-pager-hint") Property System.Boolean Whether the should not be in the taskbar. if the should not be in the taskbar. GLib.Property("skip-taskbar-hint") Method System.Boolean Sets an icon to be used as fallback for windows that haven't had called on them from a file on disk. Location of icon file. if setting the icon succeded. Method System.Void Asks to place in the fullscreen state. Note that you shouldn't assume the is definitely full screen afterward, because other entities (e.g. the user or window manager) could unfullscreen it again, and not all window managers honor requests to fullscreen windows. But normally the will end up restored to its normal state. Just don't write code that crashes if not. You can track the fullscreen state via the event on . Method System.Boolean Sets the icon for . Location of icon file. if setting the icon succeded. This method is equivalent to calling with pixbuf created by loading the image from . Method System.Void Asks to toggle off the fullscreen state for . Note that you shouldn't assume the is definitely not full screen afterward, because other entities (e.g. the user or window manager) could fullscreen it again, and not all window managers honor requests to unfullscreen windows. But normally the will end up restored to its normal state. Just don't write code that crashes if not. You can track the fullscreen state via the event on . Property GLib.GType GType Property a Returns the native GObject type for . Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected constructor. a Chain to this constructor if you have manually registered a native GType for your subclass. System.Obsolete Property Gdk.Pixbuf[] Sets or obtains the icon list to be used as fallback for windows that haven't had called on them to set up a window-specific icon list. An array of icons list. This method allows you to set up the icon for all windows in your app at once. Property Gdk.Pixbuf[] Sets or obtains the list of icons representing a . An array of s. The icon is used when is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts. allows you to pass the same icon in several hand-drawn sizes. The list should contain the natural sizes your icon is available in; that is, don't scale the image before passing it to GTK#. Scaling is postponed unitl the last minute, when the desired final size is known, to allow best quality. By passing several sizes, you may improve the final image quality of the icon, by reducing or eliminating automatic image scaling. Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them). Note that transient windows (those who have been set transient for another using will inherit their icon from their transient parent. So there's no need to explicity set the icon on transient windows. When retrieving the list is copied, but the reference count on each won't be incremented. Method Gtk.Window[] Returns a list of all existing toplevel windows. An array of toplevel widgets. The widgets in the list are not individually referenced. Property Gdk.Size Sets or obtains the default size of . a A value of -1 for the size indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the will be used. If the 's "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the ( can be used to set these explicitly), the default size will be clamped to the nearest permitted size. Unlike , which sets a size request for a and thus would keep users from shrinking the , this method only sets the initial size, just as if the user had resized the themselves. Users can still shrink the again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the ). For more control over a 's initial size and how resizing works, read . For some uses, is a more appropriate method. changes the current size of the , rather than the size to be used on initial display. always affects the itself, not the geometry widget. The default size of a only affects the first time a is shown; if a is hidden and re-shown, it will remember the size it had prior to hiding, rather than using the default size. Windows can't actually be 0x0 in size, they must be at least 1x1, but passing 0 is OK, resulting in a 1x1 default size. Property Gdk.Pixbuf Sets an icon to be used as fallback for windows that have not had called on them from a pixbuf. a Property System.Boolean Windows may set a hint asking the desktop environment not to receive the input focus. a to let this window receive input focus GLib.Property("accept-focus") Property System.Boolean Asks to keep window below, so that it stays in bottom. a Note that you should not assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it below, and not all window managers support putting windows below. But normally the window will be kept below. Just do not write code that crashes if not. It is permitted to call this function before showing a window, in which case the window will be kept below when it appears onscreen initially. You can track the below state via event. Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs. Property System.Boolean Asks to keep window above, so that it stays on top. a Note that you should not assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it above, and not all window managers support putting windows below. But normally the window will be kept above. Just do not write code that crashes if not. It is permitted to call this function before showing a window, in which case the window will be kept above when it appears onscreen initially. You can track the below state via event. Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs. Method System.Boolean Activates mnemonics and accelerators for this window. a a This is normally called by the default KeyPressEvent handler for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window. Method System.Void Changes how a toplevel window deals with its size request and user resize attempts. a a a The first policy is the default, that is, by default windows are designed to be resized by users. is deprecated and should not be used in newly-written code. Use instead. If set to , the allow_grow parameter allows the user to expand the window beyond the size request of its child widgets. If allow_grow is , be sure to check that your child widgets work properly as the window is resized. A toplevel window will always change size to ensure its child widgets receive their requested size. This means that if you add child widgets, the toplevel window will expand to contain them. However, normally the toplevel will not shrink to fit the size request of its children if it's too large; the auto_shrink parameter causes the window to shrink when child widgets have too much space. auto_shrink is normally used with the second of the two window policies mentioned above. That is, set auto_shrink to if you want the window to have a fixed, always-optimal size determined by your program. Note that auto_shrink does not do anything if allow_shrink and allow_grow are both set to . Neither of the two suggested window policies set the allow_shrink parameter to . If allow_shrink is , the user can shrink the window so that its children do not receive their full size request; this is basically a bad thing, because most widgets will look wrong if this happens. Furthermore Gtk has a tendency to re-expand the window if size is recalculated for any reason. The upshot is that allow_shrink should always be set to . Sometimes when you think you want to use allow_shrink, the real problem is that some specific child widget is requesting too much space, so the user can't shrink the window sufficiently. Perhaps you are calling gtk_widget_set_size_request() on a child widget, and forcing its size request to be too large. Instead of setting the child's usize, consider using gtk_window_set_default_size() so that the child gets a larger allocation than it requests. Method System.Boolean Propagate a key press or release event to the focus widget and up the focus container chain until a widget handles . a a This is normally called by the default KeyPressEvent and KeyReleaseEvent handlers for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window. Property System.String To be added a To be added Property System.String To be added a To be added GLib.Property("icon-name") Property System.Boolean To be added a To be added GLib.Property("focus-on-map") Method System.Void a timestamp from a user event. Present with a user action timestamp. If you need to Present a window without a timestamp, use . Property GLib.Property("urgency-hint") System.Boolean Urgency Hint. if the hint should be set on the window. This hint notifies the desktop environment to draw the user's attention to the window for urgent action. Property GLib.Property("deletable") System.Boolean Indicates if the window has a close button. if , a close button is displayed. Property Gtk.WindowGroup Gets the Group the window is associated with. a . Property GLib.Property("opacity") System.Double Opacity property. Range from 0.0 to 1.0. Only valid when compositing is supported. Property GLib.Property("startup-id") System.String To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/LinkClickedArgs.xml0000644000175000001440000000336111345266756016123 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The URL the user clicked on. A gtk-sharp-2.12.10/doc/en/Gtk/AccelGroupActivate.xml0000644000175000001440000000254211345266756016637 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. A delegate to activate all the accelerators in a given . To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/SettingsPropertyValue.xml0000644000175000001440000000250511345266756017473 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A value for a property. GLib.Opaque Constructor Constructor. a , a pointer to the underlying C object. This is not for general developer use; it's mostly internal. gtk-sharp-2.12.10/doc/en/Gtk/EndPrintHandler.xml0000644000175000001440000000235311345266756016153 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EndPrintHandler instance to the event. The methods referenced by the EndPrintHandler instance are invoked whenever the event is raised, until the EndPrintHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/SizeRequestedHandler.xml0000644000175000001440000000273411345266756017227 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SizeRequestedHandler instance to the event. The methods referenced by the SizeRequestedHandler instance are invoked whenever the event is raised, until the SizeRequestedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Expander.xml0000644000175000001440000003054311345266756014702 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A container which can hide its child A allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a . Normally you use an expander as you would use any other descendant of ; you create the child widget and use to add it to the expander. When the expander is toggled, it will take care of showing and hiding the child automatically. using System; using Gtk; class DemoExpander : Gtk.Window { static void Main () { Application.Init (); new DemoExpander (); Application.Run (); } DemoExpander () : base ("Demo Expander") { this.BorderWidth = 10; this.DeleteEvent += new DeleteEventHandler (OnWindowDelete); VBox vbox = new VBox (); vbox.PackStart (new Label ("Expander demo. Click on the triangle for details."), false, true, 3); Expander expander = new Expander ("Details"); expander.Add (new Label ("Details can be shown or hidden.")); vbox.PackStart (expander, false, true, 3); this.Add (vbox); this.ShowAll (); } void OnWindowDelete (object sender, DeleteEventArgs a) { Application.Quit (); } } Special Usage There there are situations in which you may prefer to show and hide the expanded widget yourself, such as when you want to actually create the widget at expansion time. In this case, create a but do not add a child to it. The expander widget has which can be used to monitor its expansion state. using System; using Gtk; class DemoExpander : Gtk.Window { static void Main () { Application.Init (); new DemoExpander (); Application.Run (); } DemoExpander () : base ("Demo Expander") { this.BorderWidth = 10; this.DeleteEvent += new DeleteEventHandler (OnWindowDelete); VBox vbox = new VBox (); vbox.PackStart (new Label ("Expander demo. Click on the triangle for details."), false, true, 3); Expander expander = new Expander ("Details"); expander.Activated += new EventHandler (OnExpanded); vbox.PackStart (expander, false, true, 3); this.Add (vbox); this.ShowAll (); } void OnExpanded (object sender, EventArgs a) { Expander expander = sender as Expander; if (expander.Child == null) { expander.Add (new Label ("Details can be shown or hidden.")); expander.ShowAll (); } } void OnWindowDelete (object sender, DeleteEventArgs a) { Application.Quit (); } } Gtk.Bin Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Internal constructor a System.Obsolete Constructor Internal constructor a Constructor Creates a new expander with as its label. a Property GLib.GType GType Property. a Returns the native value for . Property System.String The text of the label of the expander. a If the label text has not been set the return value will be . Setting the label will also clear any previously set labels. GLib.Property("label") Property System.Boolean Whether the text of the label contains markup in Pango's text markup language. a , if the label's text should be parsed for markup GLib.Property("use-markup") Property System.Int32 Space to put between the label and the child. a Allowed values: >= 0 Default value: 0 GLib.Property("spacing") Property System.Boolean The state of the expander. a Returns if the child widget is revealed. GLib.Property("expanded") Property System.Boolean Whether an embedded underline in the expander label indicates a mnemonic. a , if underlines in the text indicate mnemonics GLib.Property("use-underline") Property Gtk.Widget The label widget for the expander. the label , or if there is none. This is the widget that will appear embedded alongside the expander arrow. GLib.Property("label-widget") Event System.EventHandler Emitted when the expander is toggled. GLib.Signal("activate") Method Gtk.Expander Public constructor. a a gtk-sharp-2.12.10/doc/en/Gtk/Socket.xml0000644000175000001440000002477611345266756014377 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Container for widgets from other processes. Together with , provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a widget and, passes the window ID of that widget to the other process, which then creates a with that window ID. Any widgets contained in the then will appear inside the first applications window. The window ID of the is obtained by using . Before using this function, the socket must have been realized, and therefore, have been added to its parent. Gtk.Socket socket = new Gtk.Socket; socket.Show (); parent.Add (socket); Console.WriteLine ("The ID of the sockets window is {0}", socket.Id); Note that if you pass the window ID of the socket to another process that will create a plug in the socket, you must make sure that the socket widget is not destroyed until that plug is created. Violating this rule will cause unpredictable consequences, the most likely consequence being that the plug will appear as a separate toplevel window. You can check if the plug has been created by examining the plug_window field of the structure. If this field is non-, then the plug has been successfully created inside of the socket. When Gtk# is notified that the embedded window has been destroyed, then it will destroy the socket as well. You should always, therefore, be prepared for your sockets to be destroyed at any time when the main event loop is running. The communication between a and a follows the XEmbed protocol. This protocol has also been implemented in other toolkits, e.g. Qt, allowing the same level of integration when embedding a Qt widget in GTK or vice versa. A socket can also be used to swallow arbitrary pre-existing top-level windows using , though the integration when this is done will not be as close as between a and a . Gtk.Container Method System.Void Adds an XEMBED client, such as a , to the . an object of type The client may be in the same process or in a different process. To embed a in a , you can either create the with , call to get the window ID of the plug, and then pass that to the , or you can call to get the window ID for the socket, and call passing in that ID. The must have already be added into a toplevel window before you can make this call. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default constructor Property System.UInt32 The window ID of a widget. an object of type This can be used to create a client embedded inside the socket, for instance with . The must have already be added into a toplevel window before you can make this call. Event System.EventHandler This event is emitted when a client is successfully added to the socket. GLib.Signal("plug_added") Event Gtk.PlugRemovedHandler This event is emitted when a client is removed from the socket. The default action is to destroy the widget, so if you want to reuse it you must add a signal handler that returns . GLib.Signal("plug_removed") Property GLib.GType GType Property. a Returns the native value for . Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void Reparents a pre-existing toplevel window into a . a , the window ID of an existing toplevel window. This is meant to embed clients that do not know about embedding into a , however doing so is inherently unreliable, and using this function is not recommended. The must have already been added into a toplevel window before you can make this call. gtk-sharp-2.12.10/doc/en/Gtk/MnemonicHashForeach.xml0000644000175000001440000000303011345266756016764 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ToggleCursorRowArgs.xml0000644000175000001440000000257211345266756017061 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/SpinType.xml0000644000175000001440000001002211345266756014675 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a type of spin, used by . A 'spin' is a change of a 's value based on this enumerated type. System.Enum GLib.GType(typeof(Gtk.SpinTypeGType)) Field Gtk.SpinType Spin a forwards by the step value from the SpinButton's . Field Gtk.SpinType Spin a backwards by the step value from the SpinButton's . Field Gtk.SpinType Spin a forwards by the page value from the SpinButton's . Field Gtk.SpinType Spin a backwards by the page value from the SpinButton's . Field Gtk.SpinType Spin a to its minimum possible value from the SpinButton's . Field Gtk.SpinType Spin a to its maximum possible value from the SpinButton's . Field Gtk.SpinType The programmer must specify the exact amount to spin the . gtk-sharp-2.12.10/doc/en/Gtk/AccelClearedHandler.xml0000644000175000001440000000243211345266756016715 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AccelClearedHandler instance to the event. The methods referenced by the AccelClearedHandler instance are invoked whenever the event is raised, until the AccelClearedHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/KeyPressEventHandler.xml0000644000175000001440000000273411345266756017202 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the KeyPressEventHandler instance to the event. The methods referenced by the KeyPressEventHandler instance are invoked whenever the event is raised, until the KeyPressEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/StockManager.xml0000644000175000001440000001260611345266756015512 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. this class manages the s System.Object Method System.Void Registers each of the stock items in . If an item already exists with the same stock ID as one of the , the old item gets replaced. The stock items are copied, so GTK+ does not hold any pointer into and can be freed. an array of Constructor Do not use. Do not use Method System.Void Obsolete, do not use. a a Method System.Boolean Finds a stock item by stock_id. a a a See also Method System.Boolean Finds a stock item by stock_id. a a a Method System.Void Adds a stock item. a a This signature is obsolete, but preserved for backward compatibility. Use the single parameter overload for new code. Method System.Void Adds a stock item. a gtk-sharp-2.12.10/doc/en/Gtk/SelectionRequestEventArgs.xml0000644000175000001440000000356611345266756020256 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventSelection The event which triggered this callback. A gtk-sharp-2.12.10/doc/en/Gtk/CycleChildFocusHandler.xml0000644000175000001440000000276111345266756017436 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CycleChildFocusHandler instance to the event. The methods referenced by the CycleChildFocusHandler instance are invoked whenever the event is raised, until the CycleChildFocusHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CreateWindowArgs.xml0000644000175000001440000000366711345266756016353 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gtk.Widget To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TextAppearance.xml0000644000175000001440000001420311345266756016033 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This is used by for color and position details about text. System.ValueType Field Gtk.TextAppearance A default/empty TextAppearance. Method Gtk.TextAppearance Internal constructor; not for developer use. an , pointer to the underlying C object a new Property Gdk.Pixmap A stipple (dotted) pattern for the foreground color. a System.Obsolete("Replaced by FgStipple property.") Property Gdk.Pixmap A stipple (dotted) pattern for the background color. a System.Obsolete("Replaced by BgStipple property.") Field Gdk.Color The background color of this text. Field Gdk.Color The foreground color of this text. Field System.Int32 Offset of text in pixels above the baseline (if positive) or below the baseline (if negative). Property Pango.Underline Style of underlining for this text. To be added. Property System.Boolean Whether or not the text should be struck-through. a Property Gdk.Pixmap To be added. To be added. To be added. Property Gdk.Pixmap To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Toolbar+ToolbarChild.xml0000644000175000001440000000357111345266756017101 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("homogeneous") System.Boolean Whether or not the child should be the same size as other (homogeneous) items a Property Gtk.ChildProperty("expand") System.Boolean Whether or not the child should receive extra space as the toolbar grows. a A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/HTMLSaveReceiverFn.xml0000644000175000001440000000222711345266756016466 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. A delegate to receive HTML content from . In most cases, a delegate of this form probably saves HTML to a file, prints it, or similar. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/PrepareArgs.xml0000644000175000001440000000275511345266756015353 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Widget The current Page. The to be prepared before showing. Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/FormatValueArgs.xml0000644000175000001440000000336011345266756016173 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Double The value to be formatted. A gtk-sharp-2.12.10/doc/en/Gtk/Paned+PanedChild.xml0000644000175000001440000000400311345266756016142 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("shrink") System.Boolean Whether or not the child can be shrunk to less than its if the pane can be adjusted to make the child smaller than its Property Gtk.ChildProperty("resize") System.Boolean Whether or not the child resizes with the parent if the child should be resized as the parent is resized A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/TagAppliedArgs.xml0000644000175000001440000000523111345266756015757 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TextIter Gets the last character in the range this tag was applied to. A Property Gtk.TextIter Gets the first character in the range this tag was applied to. A Property Gtk.TextTag Gets the tag that was applied to the text. gtk-sharp-2.12.10/doc/en/Gtk/ChangeValueArgs.xml0000644000175000001440000000343711345266756016135 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.ScrollType The type of incrementation or decrementation to perform. A gtk-sharp-2.12.10/doc/en/Gtk/ProximityInEventArgs.xml0000644000175000001440000000350411345266756017243 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventProximity The proximity event that triggered this signal. A gtk-sharp-2.12.10/doc/en/Gtk/BindingAttribute.xml0000644000175000001440000001223311345266756016366 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Registers a key binding for a class. System.Attribute System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true) Constructor System.ParamArray Constructs a Binding attribute with no key modifier. a key value name of the instance method to call. an array containing the parameters to pass to the handler. Constructor System.ParamArray Constructs a Binding attribute for a key and modifier. a key value a modifier type, like ctrl or shift name of the instance method to call. an array containing the parameters to pass to the handler. Property Gdk.Key The key value a Property Gdk.ModifierType The key modifier, such as ctrl or shift. a Property System.String The name of the instance method to call on activation. a Property System.Object[] An Array of parameters to pass to the Handler. a gtk-sharp-2.12.10/doc/en/Gtk/Scrollbar.xml0000644000175000001440000000547111345266756015061 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for and . Gtk.Range Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Default constructor. gtk-sharp-2.12.10/doc/en/Gtk/SizeAllocatedArgs.xml0000644000175000001440000000345711345266756016500 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Rectangle The actual rectangle that was allocated for the widget. A gtk-sharp-2.12.10/doc/en/Gtk/InsertionColorChangedArgs.xml0000644000175000001440000000355011345266756020172 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Color The color under the insertion point after the change. The new color, a gtk-sharp-2.12.10/doc/en/Gtk/DirectionChangedHandler.xml0000644000175000001440000000277511345266756017632 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DirectionChangedHandler instance to the event. The methods referenced by the DirectionChangedHandler instance are invoked whenever the event is raised, until the DirectionChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Print.xml0000644000175000001440000000667611345266756014242 00000000000000 gtk-sharp 2.12.0.0 System.Object Constructor Do Not Use. Class has only static methods. Method Gtk.PageSetup Transient parent window for the dialog, or . An existing Page Setup, or . Print settings. Runs the Page Setup Dialog. The user specified Page Setup. For a non-blocking dialog, use . Method System.Int32 Obtains the print operation error quark. The error quark used for print operation errors. Method System.Void Transient parent window for the dialog, or . An existing Page Setup, or . Print settings. Done notification callback. Runs the Page Setup Dialog Asynchronously. To block program execution until the dialog is dismissed, use . Global Printing methods. gtk-sharp-2.12.10/doc/en/Gtk/CurrentParagraphAlignmentChangedHandler.xml0000644000175000001440000000325211345266756023010 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CurrentParagraphAlignmentChangedHandler instance to the event. The methods referenced by the CurrentParagraphAlignmentChangedHandler instance are invoked whenever the event is raised, until the CurrentParagraphAlignmentChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ClipboardReceivedFunc.xml0000644000175000001440000000213311345266756017310 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Delegate that specifies the shape of methods that run when the clipboard receives data. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/GrabBrokenEventHandler.xml0000644000175000001440000000150511345266756017444 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void sender of the event. args related to the event. GrabBrokenEvent handler. gtk-sharp-2.12.10/doc/en/Gtk/IconInfo.xml0000644000175000001440000002411211345266756014633 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Contains information found when looking up an icon in an icon theme. GLib.Opaque Method System.Boolean Fetches the set of attach points for an icon. a a a , if there are any attach points for the icon. An attach point is a location in the icon that can be used as anchor points for attaching emblems or overlays to the icon. Method System.Void Free a and associated information Method System.Boolean Gets the coordinates of a rectangle within the icon that can be used for display of information such as a preview of the contents of a text file. a in which to store embedded rectangle coordinates; coordinates are only stored when this function returns . a , if the icon has an embedded rectangle See for further information about the coordinate system. Method Gdk.Pixbuf Renders an icon previously looked up in an icon theme using a , the rendered icon The size will be based on the size passed to . Note that the resulting pixbuf may not be exactly this size; an icon theme may have icons that differ slightly from their nominal sizes, and in addition Gtk will avoid scaling icons that it considers sufficiently close to the requested size or for which the source image would have to be scaled up too far. (This maintains sharpness.) Method Gtk.IconInfo Make a copy of a . a Constructor Internal constructor a Property GLib.GType GType Property. a Returns the native value for . Property System.String Gets the filename for the icon. a , the filename for the icon, or If the flag was passed to , there may be no filename if a builtin icon is returned; in this case, you should use . Property System.String Gets the display name for an icon. a , the display name for the icon or , if the icon does not have a specified display name. A display name is a string to be used in place of the icon name in a user visible context like a list of icons. Property Gdk.Pixbuf Gets the built-in image for this icon, if any. a , the built-in image pixbuf, or . To allow Gtk to use built in icon images, you must pass the to . Property System.Int32 Gets the base size for the icon. a , the base size, or 0, if no base size is known for the icon. The base size is a size for the icon that was specified by the icon theme creator. This may be different than the actual size of image; an example of this is small emblem icons that can be attached to a larger icon. These icons will be given the same base size as the larger icons to which they are attached. Property System.Boolean Sets whether the coordinates returned by and should be returned in their original form as specified in the icon theme, instead of scaled appropriately for the pixbuf returned by . a Raw coordinates are somewhat strange; they are specified to be with respect to the unscaled pixmap for PNG and XPM icons, but for SVG icons, they are in a 1000x1000 coordinate space that is scaled to the final size of the icon. You can determine if the icon is an SVG icon by using , and seeing if it is non- and ends in '.svg'. This function is provided primarily to allow compatibility wrappers for older API's, and is not expected to be useful for applications. gtk-sharp-2.12.10/doc/en/Gtk/PageAddedHandler.xml0000644000175000001440000000147211345266756016227 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void sender. event arguments. Event handler for events. gtk-sharp-2.12.10/doc/en/Gtk/ChangeCurrentPageHandler.xml0000644000175000001440000000301211345266756017746 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChangeCurrentPageHandler instance to the event. The methods referenced by the ChangeCurrentPageHandler instance are invoked whenever the event is raised, until the ChangeCurrentPageHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/FileFilterInfo.xml0000644000175000001440000001063411345266756015774 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Used to pass information about files to . System.ValueType Field Gtk.FileFilterInfo An empty FileFilterInfo Field Gtk.FileFilterFlags Flags indicating which of the fields are filled. Field System.String The filename of the file being tested Field System.String The URI for the file being tested Field System.String The string that will be used to display the file in the file chooser Field System.String The mime type of the file Method Gtk.FileFilterInfo Public constructor. a a XXX: the API here needs adjusting, as this shouldn't require an IntPtr parameter. gtk-sharp-2.12.10/doc/en/Gtk/MarkDeletedArgs.xml0000644000175000001440000000336711345266756016136 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TextMark The mark that was deleted. A gtk-sharp-2.12.10/doc/en/Gtk/MenuDirectionType.xml0000644000175000001440000000463511345266756016546 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by MenuShell. An enumeration used by that represents directional movements within a menu. System.Enum GLib.GType(typeof(Gtk.MenuDirectionTypeGType)) Field Gtk.MenuDirectionType To the parent menu shell. Field Gtk.MenuDirectionType To the submenu, if any, associated with the item. Field Gtk.MenuDirectionType To the next menu item. Field Gtk.MenuDirectionType To the previous menu item. gtk-sharp-2.12.10/doc/en/Gtk/ITreeNode.xml0000644000175000001440000001314311345266756014747 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Tree Node navigation and update notification interface Implement this interface for types which expose tree node information. Types which implement this interface can be used to instantiate a for a System.Reflection.DefaultMember("Item") Method System.Int32 IndexOf method a a Returns the position of the specified child object in the list of children. If the child is not found, the returned value should be less than 0, typically -1. Property System.Int32 ID property a Read-only. Represents a unique identifier for the object as a positive integer. This value is used by the as a hash value and must uniquely identify the object. Property System.Int32 ChildCount property a Read-only. Indicates the number of children of this Property Gtk.ITreeNode Child indexer a a Returns the child at position in the list of children of this Event System.EventHandler Changed event Emited when the tree-related contents of the node have changed. Event Gtk.TreeNodeAddedHandler ChildAdded event Emited when a child is added to the . Event Gtk.TreeNodeRemovedHandler ChildRemoved event Emited when a child is removed from the . Property Gtk.ITreeNode Parent property a Read-only, The parent for this or if the node is a root . gtk-sharp-2.12.10/doc/en/Gtk/RecentManagerError.xml0000644000175000001440000000535611345266756016665 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.RecentManagerErrorGType)) Field Gtk.RecentManagerError To be added. Field Gtk.RecentManagerError To be added. Field Gtk.RecentManagerError To be added. Field Gtk.RecentManagerError To be added. Field Gtk.RecentManagerError To be added. Field Gtk.RecentManagerError To be added. Field Gtk.RecentManagerError To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/FontSelection.xml0000644000175000001440000001601611345266756015707 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A FontSelection is a widget that allows the user to select a font. The FontSelection widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the widget to provide a box for selecting fonts. Filters can be used to limit the fonts shown. There are 2 filters in the FontSelection - a base filter and a user filter. The base filter can not be changed by the user, so this can be used when the user must choose from the restricted set of fonts (e.g. for a terminal-type application you may want to force the user to select a fixed-width font). The user filter can be changed or reset by the user, by using the 'Reset Filter' button or changing the options on the 'Filter' page of the widget. Gtk.VBox Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to construct a new FontSelection Creates a new FontSelection widget that allows the user to select from the available fonts. Property System.String Manage the name of the font that is selected in this widget. The name of the currently selected font. If this property is used to alter the widget's font name to a font that could not be found, the widget will retain its original font selection. See also , which returns a value indicating whether or not the new font name was found. GLib.Property("font-name") Property System.String The text used to display a preview of the selected font. The text currently displaying the selected font. This property determines the exact string that is displayed in the 'preview area' of the FontSelection. GLib.Property("preview-text") Property Gdk.Font Get the that is currently selected. A Gdk font object representing the selected font, or null if no font is selected. GLib.Property("font") System.Obsolete Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Boolean Set the current font selection the name of the font to be selected if the font was found and selected This can be used instead of setting property if you need to know whether or not was valid. gtk-sharp-2.12.10/doc/en/Gtk/Label.xml0000644000175000001440000007730311345266756014160 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget that displays a small to medium amount of text This widget displays a small to medium amount of text, it is the widget used by other widgets, such as and for displaying text. Labels may contain mnemonics; mnemonics are underlined characters in the label, used for keyboard navigation. To provide the mnemonic, put an underscore before the mnemonic character, such as "_File". Gtk.Misc Method System.Void Selects a range of characters in the label, if the label is selectable. start offset (in characters not bytes) end offset (in characters not bytes) Selects a range of characters in the label, if the label is selectable. See . If the label is not selectable, this function has no effect. If or are -1, then the end of the label will be substituted. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new label with the given text inside it. You can pass to get an empty label widget. The text of the label. Pass for no text. Creates a new label with the given text inside it. You can pass to get an empty label widget. If contains an underscore, the property is automatically set to . Property System.String Sets the text of the label Sets the text of the label. If characters in are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using . To be added. Property System.String Parses str which is marked up with the Pango text markup language a GtkLabel Parses which is marked up with the Pango text markup language, setting the text of the label and attribute list based on the parse results. Property System.Boolean Toggles line wrapping within the GtkLabel widget. if the lines of the label are automatically wrapped. Property System.String The text within the widget. a When setting the text within the widget, it overwrites any text that was there before. Property Pango.Layout Gets the used to display the label. the for this label Gets the used to display the label. The layout is useful to e.g. convert text positions to pixel positions, in combination with . The returned layout is owned by the label so need not be freed by the caller. Property System.String Parses which is marked up with the Pango text markup language, setting the text of the label and attribute list based on the parse results. a new label widget Parses which is marked up with the Pango text markup language, setting the text of the label and attribute list based on the parse results. If characters in the string are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using . Property System.Boolean Toggle whether or not the label allow the user to select text from the label, for copy-and-paste. if the label is selectable, and if not. GLib.Property("selectable") Property Gtk.Justification The alignment of the lines in the text of the label relative to each other The justification of the label Sets the alignment of the lines in the text of the label relative to each other. is the default value when the widget is first created with . If you instead want to set the alignment of the label as a whole, set instead. This has no effect on labels containing only a single line. GLib.Property("justify") Property System.Int32 The current position of the insertion cursor in characters. The current position of the insertion cursor in characters GLib.Property("cursor-position") Property System.Int32 The position of the opposite end of the selection from the cursor in characters. The position of the opposite end of the selection from the cursor in characters. GLib.Property("selection-bound") Property Gtk.Widget The widget to be activated when the label's mnemonic key is pressed. The widget to be activated when the label's mnemonic key is pressed. GLib.Property("mnemonic-widget") Property System.String The text from a label widget including any embedded underlines indicating mnemonics and Pango markup. The text of the label widget. You can include markup tags to change your text appearance. See for more information. GLib.Property("label") Property System.String A string with _ characters in positions correspond to characters in the text to underline. To be added. GLib.Property("pattern") Property System.UInt32 The mnemonic accelerator key for this label. The mnemonic accelerator key for this label. GLib.Property("mnemonic-keyval") Property System.Boolean Whether lines should be wrapped if the text becomes too wide. whether lines should be wrapped GLib.Property("wrap") Property System.Boolean Whether an underline in the text indicates the next character should be used for the mnemonic accelerator key. Whether an underline in the text indicates the next character should be used for the mnemonic accelerator key. GLib.Property("use-underline") Property System.Boolean Whether the label's text is interpreted as marked up with the Pango text markup language ( more information at http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html ). if the label's text should be parsed for markup Here are a few examples of the markup you can use: TagDescription<b>Bold<big>Makes font relatively larger<i>Italic<s>Strikethrough<sub>Subscript<sup>Superscript<small>Makes font relatively smaller<tt>Monospace font<u>Underline Gtk.Label label = new Gtk.Label(); label.LabelProp = "The brown <u>fox</u> etc. and the <big>lazy</big> dog"; label.UseMarkup = true; GLib.Property("use-markup") Property Pango.AttrList The attribute list set on the label. the attribute list set on the label This function does not reflect attributes that come from the labels markup (see ). If you want to get the effective attributes for the label, use on the label's property. GLib.Property("attributes") Event Gtk.MoveCursorHandler Emitted when the cursor is moved. GLib.Signal("move_cursor") Event Gtk.PopulatePopupHandler Emitted when a right-click pop-up menu is displayed GLib.Signal("populate_popup") Event System.EventHandler Emitted when text is copied to the clipboard. GLib.Signal("copy_clipboard") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Constructor Internal constructor a This is not typically used by C# code. System.Obsolete Method Gtk.Label Basic constructor. a a Constructor Creates a new without text. Method System.UInt32 Deprecated. a a Checks the string passed as the parameter for underscores, and then underlines the characters following the underscores. It will take the first underlined character in a label and return it as a lower-case accelerator key, e.g. _Save will return the accelerator key value for "s". Method System.Void Deprecated; do not use in new code. a Gets the current string of text within the Label object and writes it to . It does not make a copy of this string so you must not write to it. Property System.Double To be added a To be added GLib.Property("angle") Property System.Boolean To be added a To be added GLib.Property("single-line-mode") Property Pango.EllipsizeMode To be added a To be added GLib.Property("ellipsize") Property System.Int32 To be added a To be added GLib.Property("width-chars") Property System.Int32 To be added a To be added GLib.Property("max-width-chars") Method System.Void To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property Pango.WrapMode Indicates the wrap mode for the label. a . GLib.Property("wrap-mode") gtk-sharp-2.12.10/doc/en/Gtk/UrlRequestedHandler.xml0000644000175000001440000000271611345266756017057 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the UrlRequestedHandler instance to the event. The methods referenced by the UrlRequestedHandler instance are invoked whenever the event is raised, until the UrlRequestedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/AccelCanActivateArgs.xml0000644000175000001440000000403211345266756017055 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Object to encapsulate arguments to a . GLib.SignalArgs Constructor Public constructor. Property System.UInt32 An identifier for a particular signal. a gtk-sharp-2.12.10/doc/en/Gtk/Bindings.xml0000644000175000001440000000456311345266756014674 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Key bindings for individual widgets. System.Object Method System.Boolean Looks up key bindings for to find one matching , and if one was found, activates it. a a a Constructor Public constructor. gtk-sharp-2.12.10/doc/en/Gtk/RetrieveSurroundingHandler.xml0000644000175000001440000000340211345266756020451 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RetrieveSurroundingHandler instance to the event. The methods referenced by the RetrieveSurroundingHandler instance are invoked whenever the event is raised, until the RetrieveSurroundingHandler is removed from the event. Handlers of this class should set the input method surrounding context by calling . The method returns %TRUE if the signal was handled by the callback. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TextCharPredicate.xml0000644000175000001440000000210511345266756016470 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. A delegate to be run over each character of a text buffer. Used by and . Generally, it's a search function of some sort. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/SeparatorMenuItem.xml0000644000175000001440000000643611345266756016544 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A separator used in menus. A separator used in menus. The is a used to group items within a . It displays a horizontal line with a shadow to make it appear sunken into the interface. Gtk.MenuItem Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . Creates a new . Gtk.SeparatorMenuItem smi = new Gtk.SeparatorMenuItem (); Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/SetBaseTargetArgs.xml0000644000175000001440000000341311345266756016442 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The base target URL being set. A gtk-sharp-2.12.10/doc/en/Gtk/FocusInEventArgs.xml0000644000175000001440000000337111345266756016320 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventFocus The focus event. A gtk-sharp-2.12.10/doc/en/Gtk/MoveHandleHandler.xml0000644000175000001440000000267211345266756016456 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveHandleHandler instance to the event. The methods referenced by the MoveHandleHandler instance are invoked whenever the event is raised, until the MoveHandleHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/StyleChangedHandler.xml0000644000175000001440000000272211345266756017002 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StyleChangedHandler instance to the event. The methods referenced by the StyleChangedHandler instance are invoked whenever the event is raised, until the StyleChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/WindowType.xml0000644000175000001440000000513011345266756015237 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The type of A can be one of these types. Most things you would consider a "window" should have type ; windows with this type are managed by the window manager and have a frame by default (call to toggle the frame). Windows with type are ignored by the window manager; window manager keybindings will not work on them, the window manager will not decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization). is used to implement widgets such as or tooltips that you normally do not think of as windows per se. Nearly all windows should be . In particular, do not use just to turn off the window borders; use for instead. System.Enum GLib.GType(typeof(Gtk.WindowTypeGType)) Field Gtk.WindowType A regular window, such as a dialog. Field Gtk.WindowType A special window such as a tooltip. gtk-sharp-2.12.10/doc/en/Gtk/SizeRequestedArgs.xml0000644000175000001440000000410511345266756016540 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Requisition The width and height this widget would like to have. A Requisition req = args.Requisition; req.Width = 100; req.Height = 200; // NB: You must assign the value back to args.Requisition args.Requisition = req; gtk-sharp-2.12.10/doc/en/Gtk/Invisible.xml0000644000175000001440000001015411345266756015054 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The widget is used for reliable pointer grabs and selection handling in the code for drag-and-drop. Used internally in GTK+, and is probably not useful for application developers. Gtk.Widget Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor. Property Gdk.Screen The screen this widget is attached to. a GLib.Property("screen") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Public Constructor a Used to create a new for a specific . gtk-sharp-2.12.10/doc/en/Gtk/PrintSettingsFunc.xml0000644000175000001440000000143311345266756016561 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/TreePath.xml0000644000175000001440000002632311345266756014651 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Represents a particular node of a . A TreePath can be converted into either an array of unsigned integers or a string. The string form is a list of numbers separated by a colon. Each number refers to the offset at that level. Thus, the path "0" refers to the root node and the path "2:4" refers to the fifth child of the third node. GLib.Opaque Method Gtk.TreePath Creates a new GtkTreePath. an object of type The string representation of this path is "0". Method Gtk.TreePath Copies a TreePath into a new TreePath object. an object of type , the new copy Method System.Boolean Tests whether this TreePath is a descendant of a particular TreePath. an object of type , the potential ancestor to test an object of type , true if this TreePath is the other TreePath's descendant. Method System.Boolean Tests whether this TreePath is an ancestor of a given TreePath an object of type , the potential descendant an object of type , returns true if this TreePath is an ancestor of the given TreePath. Method System.Void Changes this TreePath object to refer to its own first child. FIXME: make sure this is right. Method System.Int32 Compares two paths. If this path appears before b in a tree, then -1 is returned. If the parameter path appears before this path, then 1 is returned. If the two nodes are equal, then 0 is returned. an object of type , the path to compare an object of type Method System.Void Disposes of the TreePath object and any resources it was using. Method System.Void Moves the TreePath to point to the next node at the current depth. Method System.Boolean Moves the TreePath to point to the previous node at the current depth, if it exists. an object of type , true if the path has a previous node and the move was made successfully. Method System.Boolean Moves the TreePath to point to its parent node, if it has a parent. an object of type , true if the path has a previous node and the move was made successfully. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Constructor; builds an empty TreePath. Constructor Creates a new object. an object of type The is expressed in the form "3:2:5". The toplevel or root path would thus be "0". Property System.Int32 Returns the current depth of the TreePath. an object of type Method System.Void Prepends a new index to a path. As a result, the depth of the path is increased. a , the index to prepend Method System.Void Appends a new index to a path. As a result, the depth of the path is increased. a , the index to append Property System.Int32[] Returns the current indices of the TreePath. This is an array of integers, each representing a node in a tree. This value should not be freed. a Property GLib.GType GType Property. a Returns the native value for . Constructor Creates a path for a set of indices. a gtk-sharp-2.12.10/doc/en/Gtk/IconSet.xml0000644000175000001440000002316411345266756014501 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A represents a single icon in various sizes and widget states. A represents a single icon in various sizes and widget states. It can provide a for a given size and state on request, and automatically caches some of the rendered objects. GLib.Opaque Method Gdk.Pixbuf Renders an icon using a associated with widget, or The text direction The widget state The size of the icon widget that will display the icon, or detail to pass to the theme engine, or a to be displayed Renders an icon using . In most cases, is better, since it automatically provides most of the arguments from the current widget settings. This function never returns ; if the icon can't be rendered (perhaps because an image file fails to load), a default "missing image" icon will be returned instead. Method Gtk.IconSet Copy the IconSet by value. a copy of the current IconSet Method System.Void Adds an IconSource to the current IconSet. an object of type Icon sets have a list of , which they use as base icons for rendering icons in different states and sizes. Icons are scaled, made to look insensitive, etc. in , but needs base images to work with. The base images and when to use them are described by a . This function copies , so you can reuse the same source immediately without affecting the icon set. An example of when you'd use this function: a web browser's "Back to Previous Page" icon might point in a different direction in Hebrew and in English; it might look different when insensitive; and it might change size depending on toolbar mode (small/large icons). So a single icon set would contain all those variants of the icon, and you might add a separate source for each one. You should nearly always add a "default" icon source with all fields wildcarded, which will be used as a fallback if no more specific source matches. always prefers more specific icon sources to more generic icon sources. The order in which you add the sources to the icon set does not matter. This constructor creates a new icon set with a default icon source based on the given pixbuf. Method Gtk.IconSet Increments the reference count. the IconSet with the incremented reference count Method System.Void Decrements the reference count Decrements the reference count, and frees memory if the reference count reaches 0. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . A represents a single icon in various sizes and widget states. It can provide a for a given size and state on request, and automatically caches some of the rendered objects. Constructor Creates a new with as the default/fallback source image. a Property Gtk.IconSize[] The available icon sizes on this system. a Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.10/doc/en/Gtk/CycleChildFocusArgs.xml0000644000175000001440000000347711345266756016762 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether the focus cycle should be reversed or not. A , true if reversed. gtk-sharp-2.12.10/doc/en/Gtk/PrintStatus.xml0000644000175000001440000000666111345266756015440 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintStatusGType)) Field Gtk.PrintStatus Printing has finished. Field Gtk.PrintStatus Printing was aborted. Field Gtk.PrintStatus Pages are being rendered. Field Gtk.PrintStatus Printing has not started. Field Gtk.PrintStatus Job sent to printer, but has not printed. Field Gtk.PrintStatus Problem occurred during printing. Field Gtk.PrintStatus BeginPrint event has raised. During pagination. Field Gtk.PrintStatus Printer is processing job. Field Gtk.PrintStatus Job is being sent to the printer. PrintStatus enumeration. gtk-sharp-2.12.10/doc/en/Gtk/ScrollChildHandler.xml0000644000175000001440000000271611345266756016635 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ScrollChildHandler instance to the event. The methods referenced by the ScrollChildHandler instance are invoked whenever the event is raised, until the ScrollChildHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/RecentChooser.xml0000644000175000001440000002633111345266756015677 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper Method System.Void To be added. To be added. To be added. Property Gtk.RecentInfo To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property Gtk.RecentFilter To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Event System.EventHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Property System.Int32 To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Event System.EventHandler To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Property Gtk.RecentSortType To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RecentChooserImplementor.xml0000644000175000001440000001425411345266756020114 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.RecentChooserAdapter)) Method System.Void To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property GLib.List To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property Gtk.RecentManager To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. RecentChooser implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/MovementStep.xml0000644000175000001440000001155211345266756015561 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by to decide how the cursor will move. System.Enum GLib.GType(typeof(Gtk.MovementStepGType)) Field Gtk.MovementStep The cursor will move by forward/back graphemes. Field Gtk.MovementStep The cursor will move by left/right graphemes. Field Gtk.MovementStep The cursor will move by forward/back words. Field Gtk.MovementStep The cursor will move up/down lines (wrapped lines). Field Gtk.MovementStep The cursor will move up/down lines (wrapped lines). Field Gtk.MovementStep The cursor will move up/down paragraphs (newline-ended lines). Field Gtk.MovementStep The cursor will move to either end of a paragraph. Field Gtk.MovementStep The cursor will move by pages. Field Gtk.MovementStep The cursor will move to the end of the buffer. Field Gtk.MovementStep The cursor will move horizontally by pages. gtk-sharp-2.12.10/doc/en/Gtk/TestExpandRowArgs.xml0000644000175000001440000000430611345266756016516 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreePath The path of the row being tested for expandability. A Property Gtk.TreeIter The row being tested for expandability. A gtk-sharp-2.12.10/doc/en/Gtk/AccelGroupFindFunc.xml0000644000175000001440000000214711345266756016574 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. A delegate to locate a particular accelerator. See . To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/ChildNotifiedArgs.xml0000644000175000001440000000342611345266756016456 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.IntPtr For internal use. A , pointer to the underlying C object. gtk-sharp-2.12.10/doc/en/Gtk/PageSetupDoneFunc.xml0000644000175000001440000000156111345266756016451 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void The completed page setup. Page Setup Done callback delegate. Pass an instance of this delegate to to receive notification of asynchronous page setup completion. gtk-sharp-2.12.10/doc/en/Gtk/PaginateArgs.xml0000644000175000001440000000301411345266756015472 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.PrintContext The Print Context of the current operation. A . Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/MessageType.xml0000644000175000001440000000521711345266756015362 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An enumeration used by Gtk.MessageDialog. This enumeration defines the type of message being displayed in the dialog. System.Enum GLib.GType(typeof(Gtk.MessageTypeGType)) Field Gtk.MessageType An informational message. Field Gtk.MessageType A nonfatal warning message. Field Gtk.MessageType A question requiring a choice. Field Gtk.MessageType A fatal error message. Field Gtk.MessageType Any other message. gtk-sharp-2.12.10/doc/en/Gtk/CreateMenuProxyHandler.xml0000644000175000001440000000404211345266756017517 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CreateMenuProxyHandler instance to the event. The methods referenced by the CreateMenuProxyHandler instance are invoked whenever the event is raised, until the CreateMenuProxyHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CycleHandleFocusHandler.xml0000644000175000001440000000277411345266756017612 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CycleHandleFocusHandler instance to the event. The methods referenced by the CycleHandleFocusHandler instance are invoked whenever the event is raised, until the CycleHandleFocusHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DrawPageHandler.xml0000644000175000001440000000235311345266756016122 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DrawPageHandler instance to the event. The methods referenced by the DrawPageHandler instance are invoked whenever the event is raised, until the DrawPageHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/Editable.xml0000644000175000001440000002406111345266756014643 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Interface for text-editing widgets. GLib.IWrapper Method System.Void Selects a region of text. An integer, the start of the selected region. An integer, the end of the selected region. The characters that are selected are those characters at positions from up to, but not including . If is negative, then the the characters selected will be those characters from to the end of the text. Method System.String Retrieves a sequence of characters. The characters that are retrieved are those characters at positions from up to, but not including . If is negative, then the the characters retrieved will be those characters from to the end of the text. An integer; the start position An integer; the end position The characters between and (but not including) . Method System.Void Deletes a sequence of characters. The characters that are deleted are those characters at positions from up to, but not including . If is negative, then the the characters deleted will be those characters from to the end of the text. An integer; the start position An integer; the end position Method System.Void Causes the characters in the current selection to be copied to the clipboard. Method System.Void Causes the characters in the current selection to be deleted. Method System.Boolean Gets the current selection bounds, if there is a selection An IntPtr to store the start position in. An IntPtr to store the end position in. Boolean, TRUE if there is a selection. Method System.Void Causes the characters in the current selection to be copied to the clipboard and then deleted from the widget. Method System.Void Causes the contents of the clipboard to be pasted into the given widget at the current cursor position. Property System.Boolean Whether or not the user can edit the text in the editable widget or not. A boolean; TRUE if the user can edit the text. Property System.Int32 The current cursor position. An integer position for the cursor. Event Gtk.TextInsertedHandler Raised whenever the user inserts text. The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with gtk_signal_emit_stop(), it is possible to modify the inserted text, or prevent it from being inserted entirely. (FIXME: Need Gtk# equivalent for gtk_signal_emit_stop().) Event Gtk.TextDeletedHandler Raised whenever the user deletes text. The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with gtk_signal_emit_stop(), it is possible to modify the inserted text, or prevent it from being inserted entirely. The and parameters are interpreted as for (FIXME: need equivalent for gtk_signal_emit_stop().) Event System.EventHandler Raised when the user has changed the contents of the widget. Method System.Void Inserts at . A string to insert. A pointer to the position within the Editable object for inserting the string. gtk-sharp-2.12.10/doc/en/Gtk/PlugRemovedArgs.xml0000644000175000001440000000253011345266756016175 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.10/doc/en/Gtk/InsertAtCursorHandler.xml0000644000175000001440000000342511345266756017360 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the InsertAtCursorHandler instance to the event. The methods referenced by the InsertAtCursorHandler instance are invoked whenever the event is raised, until the InsertAtCursorHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TagRemovedArgs.xml0000644000175000001440000000405611345266756016006 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data for when a tag is removed. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TextTag The tag that changed. A gtk-sharp-2.12.10/doc/en/Gtk/ResponseType.xml0000644000175000001440000001400311345266756015565 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. This enumeration contains the response signals that are emitted by a . When a button in a is pressed, a response signal is emitted with a response ID. While positive responses are entirely user-defined, the enumeration (all the members have values less than zero) could be also be used instead for convience. System.Enum GLib.GType(typeof(Gtk.ResponseTypeGType)) Field Gtk.ResponseType This is returned if a response widget has no response ID, or has been programmatically hidden or destroyed. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field Gtk.ResponseType This is returned when the dialog is deleted. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field Gtk.ResponseType Convenience response type to be used in the constructors of the class. gtk-sharp-2.12.10/doc/en/Gtk/SelectPageArgs.xml0000644000175000001440000000341711345266756015765 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether or not to move the focus to the selected page. A gtk-sharp-2.12.10/doc/en/Gtk/FileChooserButton.xml0000644000175000001440000010516211345266756016532 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A button to launch a file selection dialog The FileChooserButton is a widget that lets the user select a file. It implements the interface. Visually, it is a file name with a button to bring up a . The user can then use that dialog to change the file associated with that button. This widget does not support setting the "select-multiple" property to TRUE. The GtkFileChooserButton will ellipsize the label, and thus will thus request little horizontal space. To give the button more space, you should call , set , or pack the button in such a way that other interface elements give space to the widget. Gtk.HBox Gtk.FileChooser Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor Creates a FileChooserButton. a a To be added Constructor Creates a FileChooserButton with a specific backend. a a a To be added Constructor Creates a FileChooserButton which uses a specific widget as it's file-picking window. a . dialog must be a (or subclass) which implements the interface and must not have = . To be added Property GLib.GType GType Property. a Returns the native value for . Property System.String To be added a To be added GLib.Property("title") Property System.Int32 The width of the entry and label inside the button, in characters. a To be added GLib.Property("width-chars") Event GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Event GLib.Signal("file-activated") System.EventHandler To be added. To be added. Event GLib.Signal("update-preview") System.EventHandler To be added. To be added. Event GLib.Signal("current-folder-changed") System.EventHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property System.String To be added. To be added. To be added. Property Gtk.Widget To be added. To be added. To be added. GLib.Property("extra-widget") Property System.String To be added. To be added. To be added. Property System.Boolean Indicates if Hidden files and directories should be visible. To be added. GLib.Property("show-hidden") Property Gtk.FileFilter To be added. To be added. To be added. GLib.Property("filter") Property System.Boolean To be added. To be added. To be added. GLib.Property("local-only") Property System.Boolean To be added. To be added. To be added. GLib.Property("preview-widget-active") Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. GLib.Property("use-preview-label") Property System.String To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. GLib.Property("select-multiple") Property Gtk.Widget To be added. To be added. To be added. GLib.Property("preview-widget") Property Gtk.FileChooserAction To be added. To be added. To be added. GLib.Property("action") Property System.String To be added. To be added. To be added. Property System.String[] To be added. To be added. To be added. Property Gtk.FileFilter[] To be added. To be added. To be added. Property System.String[] To be added. To be added. To be added. Property System.String[] To be added. To be added. To be added. Property System.String[] To be added. To be added. To be added. Event GLib.Signal("confirm-overwrite") Gtk.ConfirmOverwriteHandler Indicates a file overwrite has been requested. This event is raised when the user has selected a file name that already exists and the file chooser is in mode. Most applications just need to turn on the property and they will automatically get a stock confirmation dialog. Applications which need to customize this behavior should do that, and also connect to this event. A connected to this event must set to the value indicating the action to take. If the handler determines that the user wants to select a different filename, it should return . If it determines that the user is satisfied with his choice of file name, it should return . On the other hand, if it determines that the stock confirmation dialog should be used, it should return . Method Gtk.FileChooserConfirmation Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Property GLib.Property("do-overwrite-confirmation") System.Boolean Enables Overwrite Confirmation in the dialog. if confirmation should be performed. Property GLib.Property("focus-on-click") System.Boolean Controls if focus is grabbed on button clicks. defaults to . It can be useful to not take focus when embedded in toolbars for example, so that focus stays with the previous control. Event GLib.Signal("file-set") System.EventHandler To be added. To be added. Method System.Void To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/ClipboardImageReceivedFunc.xml0000644000175000001440000000307111345266756020255 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeViewGridLines.xml0000644000175000001440000000354011345266756016464 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.TreeViewGridLinesGType)) Field Gtk.TreeViewGridLines Horizontal grid lines. Field Gtk.TreeViewGridLines Vertical grid lines. Field Gtk.TreeViewGridLines Vertical and Horizontal grid lines. Field Gtk.TreeViewGridLines No grid lines. TreeView Grid Lines enumeration. gtk-sharp-2.12.10/doc/en/Gtk/CellEditableImplementor.xml0000644000175000001440000000245611345266756017663 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.CellEditableAdapter)) Method System.Void To be added. To be added. To be added. CellEditable implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/PageSetup.xml0000644000175000001440000002712711345266756015035 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method Gtk.PageSetup To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Method System.Double To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property Gtk.PageOrientation To be added. To be added. To be added. Property Gtk.PaperSize To be added. To be added. To be added. Property Gtk.PaperSize To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/PrintOperationPreviewImplementor.xml0000644000175000001440000000441611345266756021667 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.PrintOperationPreviewAdapter)) Method System.Void To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. PrintOperationPreview implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/FrameEventArgs.xml0000644000175000001440000000336311345266756016005 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Event The Gdk event related to this FrameEvent. A gtk-sharp-2.12.10/doc/en/Gtk/RowInsertedHandler.xml0000644000175000001440000000357511345266756016704 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowInsertedHandler instance to the event. The methods referenced by the RowInsertedHandler instance are invoked whenever the event is raised, until the RowInsertedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DragDataDeleteArgs.xml0000644000175000001440000000343111345266756016537 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.DragContext The context of this drag. a gtk-sharp-2.12.10/doc/en/Gtk/AdjustBoundsArgs.xml0000644000175000001440000000341711345266756016356 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Double The new value for the bounds of the range. A . gtk-sharp-2.12.10/doc/en/Gtk/MenuCallback.xml0000644000175000001440000000262111345266756015451 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. Do not use. Do not use. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ColorSelectionChangePaletteFunc.xml0000644000175000001440000000216011345266756021313 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. Delegate to specify function signature for methods that change the color palette in a . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/InputArgs.xml0000644000175000001440000000327611345266756015053 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Double The new value a gtk-sharp-2.12.10/doc/en/Gtk/DrawingArea.xml0000644000175000001440000001446411345266756015324 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The widget is used for creating custom user interface elements. The widget is used for creating custom user interface elements. It's essentially a blank widget; you can draw on ->window. After creating a drawing area, the application may want to connect to: 1) Mouse and button press signals to respond to input from the user. (Use to enable events you wish to receive). 2) The signal to take any necessary actions when the widget is instantiated on a particular display. (Create GDK resources in response to this signal.) 3) The signal to take any necessary actions when the widget changes size. 4) The signal to handle redrawing the contents of the widget. Expose events are normally delivered when a drawing area first comes onscreen, or when it's covered by another window and then uncovered (exposed). You can also force an expose event by adding to the "damage region" of the drawing area's window; and are equally good ways to do this. You'll then get an expose event for the invalid region. See also for drawing a . using System; using Gtk; using Pango; class LayoutSample : DrawingArea { Pango.Layout layout; static void Main () { Application.Init (); new LayoutSample (); Application.Run (); } LayoutSample () { Window win = new Window ("Layout sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += OnWinDelete; this.Realized += OnRealized; this.ExposeEvent += OnExposed; win.Add (this); win.ShowAll (); } void OnExposed (object o, ExposeEventArgs args) { this.GdkWindow.DrawLayout (this.Style.TextGC (StateType.Normal), 100, 150, layout); } void OnRealized (object o, EventArgs args) { layout = new Pango.Layout (this.PangoContext); layout.Wrap = Pango.WrapMode.Word; layout.FontDescription = FontDescription.FromString ("Tahoma 16"); layout.SetMarkup ("Hello Pango.Layout"); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Gtk.Widget Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Default Constructor. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void Sets the size of the drawing area. a a gtk-sharp-2.12.10/doc/en/Gtk/MatchSelectedHandler.xml0000644000175000001440000000402311345266756017131 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MatchSelectedHandler instance to the event. The methods referenced by the MatchSelectedHandler instance are invoked whenever the event is raised, until the MatchSelectedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ChildAnchorInsertedArgs.xml0000644000175000001440000000437511345266756017631 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TextChildAnchor The anchor that was inserted. A Property Gtk.TextIter The position where the anchor was inserted. A gtk-sharp-2.12.10/doc/en/Gtk/GrabNotifyHandler.xml0000644000175000001440000000267311345266756016501 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the GrabNotifyHandler instance to the event. The methods referenced by the GrabNotifyHandler instance are invoked whenever the event is raised, until the GrabNotifyHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Function.xml0000644000175000001440000000146611345266756014723 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A delegate for representing a function with a boolean return value. To be added. System.Delegate System.Boolean gtk-sharp-2.12.10/doc/en/Gtk/DetailsAcquiredHandler.xml0000644000175000001440000000246111345266756017473 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DetailsAcquiredHandler instance to the event. The methods referenced by the DetailsAcquiredHandler instance are invoked whenever the event is raised, until the DetailsAcquiredHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/ComboBox.xml0000644000175000001440000010207211345266756014641 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget used to choose from a list of items. using System; using Gtk; class ComboBoxSample { static void Main () { new ComboBoxSample (); } ComboBoxSample () { Application.Init (); Window win = new Window ("ComboBoxSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); ComboBox combo = ComboBox.NewText (); for (int i = 0; i < 5; i ++) combo.AppendText ("item " + i); combo.Changed += new EventHandler (OnComboBoxChanged); win.Add (combo); win.ShowAll (); Application.Run (); } void OnComboBoxChanged (object o, EventArgs args) { ComboBox combo = o as ComboBox; if (o == null) return; TreeIter iter; if (combo.GetActiveIter (out iter)) Console.WriteLine ((string) combo.Model.GetValue (iter, 0)); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Gtk.Bin Gtk.CellEditable Gtk.CellLayout Method Gtk.ComboBox Convenience function which constructs a new text combo box, which is a just displaying strings. a If you use this function to create a text combo box, you should only manipulate its data source with the following convenience functions: , , and . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Inserts at in the list of strings stored in . An index to insert . a to insert You can only use this function with combo boxes constructed with . Method System.Void Prepends to the list of strings stored in the . a You can only use this function with combo boxes constructed with . Method System.Void Pops up the menu or dropdown list of . This function is mostly intended for use by accessibility technologies; applications should have little use for it. Method System.Void Removes text at in the list of strings stored in . a You can only use this function with combo boxes constructed with . Method System.Boolean Gets the iter that points to the current active item, if it exists. a a , if it exists. Method System.Void Sets the current active item to be the one referenced by iter. a Method System.Void Hides the menu or dropdown list of this . This function is mostly intended for use by accessibility technologies; applications should have little use for it. Method System.Void Appends to the list of strings stored in . a You can only use this function with combo boxes constructed with . Method System.Void Re-inserts at . a a Note that has already to be packed into the combo box for this to function properly. i Method System.Void Adds the to the end of the combo box. a a If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method System.Void Packs the into the beginning of the combo box. a a If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method System.Void Adds an attribute mapping to the list in this combo box. a a , parameter on to be set from the value a , column of the model to get a value from. The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Method System.Void Clears all existing attributes previously set with . a Method System.Void Unsets all the mappings on all renderers for this combo box. Method System.Void Sets a data function to use for the combo box. a a The data function is used instead of the standard attributes mapping for setting the column value, and should set the value of the cell renderer as appropriate. may be to remove an older one. Constructor Internal constructor a System.Obsolete Constructor Internal constructor a Constructor Default constructor Gtk.ComboBox cb = new ComboBox(); cb.Clear(); CellRendererText cell = new CellRendererText(); cb.PackStart(cell, false); cb.AddAttribute(cell, "text", 0); ListStore store = new ListStore(typeof (string)); cb.Model = store; store.AppendValues ("Hello"); store.AppendValues ("Gtk"); store.AppendValues ("ComboBox"); Constructor Creates a new that uses a Property GLib.GType GType Property a Returns the native GLib.GType value for Combo. Property System.Int32 Wrap width for laying out the items in a grid. a Allowed values: >= 0 Default value: 0 GLib.Property("wrap-width") Property System.Int32 The column with column span information. a The column span column contains integers which indicate how many columns an item should span. GLib.Property("column-span-column") Property System.Int32 The index of the currently active item. a -1 if there is no active item. GLib.Property("active") Property System.Int32 The column with row span information a The row span column contains integers which indicate how many rows an item should span. GLib.Property("row-span-column") Property Gtk.TreeModel The which is acting as data source for the . a Will unset a previously set model (if applicable). If model is , then it will unset the model. setting the model does not clear the cell renderers, you have to call yourself if you need to set up different cell renderers for the new model. GLib.Property("model") Event System.EventHandler Emitted when the selected item is changed. GLib.Signal("changed") Method System.Void System.ParamArray Sets the attribute to column bindings for a renderer. a a The array should consist of pairs of attribute name and column indexes. Property System.Boolean To be added a To be added GLib.Property("has-frame") Property System.Boolean To be added a To be added GLib.Property("add-tearoffs") Property System.Boolean Sets or gets whether the combo box will grab focus when it is clicked with the mouse. a Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application. GLib.Property("focus-on-click") Property Atk.Object To be added a To be added Property System.String The currently active string in . a if no active item is selected. You can only use this function with combo boxes constructed with . Event System.EventHandler To be added To be added GLib.Signal("editing_done") Event System.EventHandler To be added To be added GLib.Signal("remove_widget") Property Gtk.TreeViewRowSeparatorFunc Callback function to indicate whether or not a given row of the combo box should be rendered as a separator. a Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void To be added a To be added Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor A list of string values for the combo entries. Creates a Combo box from a list of values. Property GLib.Property("tearoff-title") System.String A title to display when the popup is torn off. defaults to . Property GLib.Property("popup-shown") System.Boolean Indicates if the popup is currently visible. if the popup is visible. Property Gtk.CellRenderer[] To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RowDeletedArgs.xml0000644000175000001440000000425411345266756016007 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TreePath The path of the row that was inserted. a gtk-sharp-2.12.10/doc/en/Gtk/SelectionClearEventHandler.xml0000644000175000001440000000303611345266756020325 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionClearEventHandler instance to the event. The methods referenced by the SelectionClearEventHandler instance are invoked whenever the event is raised, until the SelectionClearEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TreeSortableImplementor.xml0000644000175000001440000001047011345266756017740 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.TreeSortableAdapter)) Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. TreeSortable implementor interface. The implementable portion of the interface. gtk-sharp-2.12.10/doc/en/Gtk/MoveArgs.xml0000644000175000001440000000334011345266756014652 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.DirectionType The direction to move the HSV controller's control. A gtk-sharp-2.12.10/doc/en/Gtk/Layout.xml0000644000175000001440000003114411345266756014407 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Infinite scrollable area containing child widgets and/or custom drawing is similar to in that it is a "blank slate" and does not do anything but paint a blank background by default. It is different in that it supports scrolling natively (you can add it to a ), and it can contain child widgets, since it is a . However, if you are just going to draw, a is a better choice, since it has lower overhead. Gtk.Container System.Reflection.DefaultMember("Item") Method System.Void Gets the size of the scrollbar area for the . an object of type an object of type Method System.Void Sets the size of the scrollable area for the . an object of type an object of type Method System.Void Moves a current child of to a new position. an object of type an object of type an object of type Method System.Void Adds to the , at position (, ). an object of type an object of type an object of type becomes the new parent container of . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new object. an object of type an object of type Property System.UInt32 The width of the layout. an object of type GLib.Property("width") Property Gtk.Adjustment The for the horizontal position. an object of type GLib.Property("hadjustment") Property Gtk.Adjustment The for the vertical position. an object of type GLib.Property("vadjustment") Property System.UInt32 The height of the layout. an object of type GLib.Property("height") Event Gtk.ScrollAdjustmentsSetHandler Raised whenever the scroll adjustment units are set for this widget. GLib.Signal("set_scroll_adjustments") Property Gdk.Window The window object for this layout widget. a Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void Deprecated. Do not use. Method System.Void Deprecated. Do not use. gtk-sharp-2.12.10/doc/en/Gtk/RecentChooserMenu.xml0000644000175000001440000003764711345266756016540 00000000000000 gtk-sharp 2.12.0.0 Gtk.Menu Gtk.RecentChooser Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.RecentInfo To be added. To be added. To be added. Property System.String To be added. To be added. To be added. Property GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method System.String To be added. To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Event GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property GLib.List To be added. To be added. To be added. Property GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method GLib.SList To be added. To be added. To be added. Property GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Event GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Property GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property System.Boolean To be added. To be added. To be added. System.Obsolete Property GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property Gtk.RecentSortFunc To be added. To be added. To be added. Property GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/RowsReorderedArgs.xml0000644000175000001440000000753111345266756016540 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The following events invoke delegates which pass event data via this class: GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The new order of the rows. A FIXME: shouldn't this be an array? System.Obsolete("Replaced by NewChildOrder property") Property Gtk.TreeIter Gets a pointer to the whose rows have been reordered. A Property Gtk.TreePath A path for the whose rows have been reordered. A Property System.Int32[] New Child Order list. an array of old position indices. The value of the nth array element contains the old index of the current nth child. gtk-sharp-2.12.10/doc/en/Gtk/IconView.xml0000644000175000001440000015554111345266756014665 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget which displays a list of icons in a grid provides an alternative view on a list model. It displays the model as a grid of icons with labels. Like , it allows to select one or multiple items (depending on the selection mode, see ). In addition to selection with the arrow keys, supports rubberband selection, which is controlled by dragging the pointer. using System; using System.IO; using Gtk; public class DemoIconView : Window { const int COL_PATH = 0; const int COL_DISPLAY_NAME = 1; const int COL_PIXBUF = 2; const int COL_IS_DIRECTORY = 3; DirectoryInfo parent = new DirectoryInfo ("/"); Gdk.Pixbuf dirIcon, fileIcon; ListStore store; ToolButton upButton; static void Main () { Application.Init (); new DemoIconView (); Application.Run (); } public DemoIconView () : base ("Gtk.IconView demo") { SetDefaultSize (650, 400); DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (false, 0); Add (vbox); Toolbar toolbar = new Toolbar (); vbox.PackStart (toolbar, false, false, 0); upButton = new ToolButton (Stock.GoUp); upButton.IsImportant = true; upButton.Sensitive = false; toolbar.Insert (upButton, -1); ToolButton homeButton = new ToolButton (Stock.Home); homeButton.IsImportant = true; toolbar.Insert (homeButton, -1); fileIcon = GetIcon ("gnome-fs-regular"); dirIcon = GetIcon ("gnome-fs-directory"); ScrolledWindow sw = new ScrolledWindow (); sw.ShadowType = ShadowType.EtchedIn; sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (sw, true, true, 0); // Create the store and fill it with the contents of '/' store = CreateStore (); FillStore (); IconView iconView = new IconView (store); iconView.SelectionMode = SelectionMode.Multiple; upButton.Clicked += OnUpClicked; homeButton.Clicked += OnHomeClicked; iconView.TextColumn = COL_DISPLAY_NAME; iconView.PixbufColumn = COL_PIXBUF; iconView.ItemActivated += new ItemActivatedHandler (OnItemActivated); sw.Add (iconView); iconView.GrabFocus (); ShowAll (); } Gdk.Pixbuf GetIcon (string name) { return Gtk.IconTheme.Default.LoadIcon (name, 48, (IconLookupFlags) 0); } ListStore CreateStore () { // path, name, pixbuf, is_dir ListStore store = new ListStore (typeof (string), typeof (string), typeof (Gdk.Pixbuf), typeof (bool)); // Set sort column and function store.DefaultSortFunc = SortFunc; store.SetSortColumnId (COL_DISPLAY_NAME, SortType.Ascending); return store; } void FillStore () { // first clear the store store.Clear (); // Now go through the directory and extract all the file information if (!parent.Exists) return; foreach (DirectoryInfo di in parent.GetDirectories ()) { if (!di.Name.StartsWith (".")) store.AppendValues (di.FullName, di.Name, dirIcon, true); } foreach (FileInfo file in parent.GetFiles ()) { if (!file.Name.StartsWith (".")) store.AppendValues (file.FullName, file.Name, fileIcon, false); } } int SortFunc (TreeModel model, TreeIter a, TreeIter b) { // sorts folders before files bool a_is_dir = (bool) model.GetValue (a, COL_IS_DIRECTORY); bool b_is_dir = (bool) model.GetValue (b, COL_IS_DIRECTORY); string a_name = (string) model.GetValue (a, COL_DISPLAY_NAME); string b_name = (string) model.GetValue (b, COL_DISPLAY_NAME); if (!a_is_dir && b_is_dir) return 1; else if (a_is_dir && !b_is_dir) return -1; else return String.Compare (a_name, b_name); } void OnHomeClicked (object sender, EventArgs a) { parent = new DirectoryInfo (Environment.GetFolderPath (Environment.SpecialFolder.Personal)); FillStore (); upButton.Sensitive = true; } void OnItemActivated (object sender, ItemActivatedArgs a) { TreeIter iter; store.GetIter (out iter, a.Path); string path = (string) store.GetValue (iter, COL_PATH); bool isDir = (bool) store.GetValue (iter, COL_IS_DIRECTORY); if (!isDir) return; // Replace parent with path and re-fill the model parent = new DirectoryInfo (path); FillStore (); // Sensitize the up button upButton.Sensitive = true; } void OnUpClicked (object sender, EventArgs a) { parent = parent.Parent; FillStore (); upButton.Sensitive = (parent.FullName == "/" ? false : true); } void OnWinDelete (object sender, DeleteEventArgs a) { Application.Quit (); a.RetVal = true; } } Gtk.Container Gtk.CellLayout Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Unselects all the icons. Method System.Void Calls a function for each selected icon. a Note that the model or selection cannot be modified from within this function. Method System.Void Unselects the row at . a Method System.Void Selects all the icons. The IconView must has its selection mode set to . Method System.Boolean Returns if the icon pointed to by is currently selected. a a If does not point to a valid location, is returned. Method Gtk.TreePath To be added a a a To be added Method System.Void Activates the item determined by . a Method System.Void Selects the row at . a Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor Default constructor Constructor Create a new IconView with a model. a Property GLib.GType GType Property. a Returns the native value for . Property Gtk.SelectionMode Specifies the selection mode of icon view. a If the mode is , rubberband selection is enabled, for the other modes, only keyboard selection is possible. GLib.Property("selection-mode") Property System.Int32 The columns property contains the number of the columns in which the items should be displayed. a If it is -1, the number of columns will be chosen automatically to fill the available area. GLib.Property("columns") Property System.Int32 Space which is inserted at the edges of the icon view. a Default value is 6. GLib.Property("margin") Property Gtk.Orientation How the text and icon of each item are positioned relative to each other. a Default value is GLib.Property("orientation") Property System.Int32 The width used for each item. a GLib.Property("item-width") Property System.Int32 Contains the number of the model column containing the texts which are displayed. a The text column must be of type . If this property and the MarkupColumn property are both set to -1, no text is displayed. GLib.Property("text-column") Property System.Int32 Space which is inserted between cells of an item. a To be added GLib.Property("spacing") Property System.Int32 Contains the number of the model column containing the pixbufs which are displayed a The pixbuf column must be of type . Setting this property to -1 turns off the display of pixbufs. GLib.Property("pixbuf-column") Property System.Int32 Space which is inserted between grid rows. a Default value is 6. GLib.Property("row-spacing") Property System.Int32 Space which is inserted between grid column. a Default value is 6. GLib.Property("column-spacing") Property System.Int32 Contains the number of the model column containing markup information to be displayed. a The markup column must be of type . If this property and the TextColumn property are both set to column numbers, it overrides the text column. If both are set to -1, no texts are displayed. GLib.Property("markup-column") Property Gtk.TreeModel The model for the icon view. a GLib.Property("model") Property Gtk.TreePath[] Creates a list of paths of all selected items. a Event System.EventHandler Emitted when the current selection changes. To be added GLib.Signal("selection-changed") Event System.EventHandler Emitted when UnselectAll () is called. GLib.Signal("unselect_all") Event Gtk.ItemActivatedHandler Emitted when an item is activated. GLib.Signal("item_activated") Event System.EventHandler Emitted when SelectAll () is called. GLib.Signal("select_all") Event System.EventHandler To be added GLib.Signal("toggle_cursor_item") Event Gtk.MoveCursorHandler To be added GLib.Signal("move_cursor") Event Gtk.ActivateCursorItemHandler To be added To be added GLib.Signal("activate_cursor_item") Event System.EventHandler To be added GLib.Signal("select_cursor_item") Method System.Boolean The cursor path. The currently focused cell. Gets the path and cell of the current cursor location. if the cursor is set. The will be if the cursor is not currently set. The will be if no cell has focus. Method Gdk.Pixmap a to an item in the view. Creates a pixmap representation of an item. a representation of the item at . Method System.Void Unsets the view as a Drag destination. Reverses the effects of . Method System.Boolean The first visible item. The last visible item. Gets the visible range of items in the view. if the start and end paths were set. There may be invisible paths between the start and end paths. Method System.Boolean x coordinate of position. y coordinate of position. returns a for the item. returns a . Determines the destination item at a position. if there is an item at the position. Method System.Boolean x position in widget coordinates. y position in widget coordinates. returns a representing the item at the position. returns a representing the cell at the position. Obtains the item and cell at a given position. if there is an item at the position. Extends on by additionally returning a cell renderer at the specified position. Method System.Void The item to highlight, or . Indicates where to drop relative to the item. Sets up drag feedback for an item. Method System.Void Unsets the view as a drag source. Reverses the effects of . Method System.Void the item to select. the cell to focus, or . indicates if the cell should be placed in edit mode. Selects an item and sets keyboard focus to a cell. Normally followed by a call to . Property GLib.Property("reorderable") System.Boolean Indicates whether the list can be reordered via Drag and Drop. to allow reordering. Method System.Void buttons allowed to start drag. an array of items supported. drag actions supported from the view. Enables the view as a Drag source. Method System.Void an array of items supported. drop actions supported by the view. Enables the view as a Drop destination. Method System.Void returns a for the highlighted item, or . returns the relative drop information for the highlighted item. Gets Drag information for the currently highlighted item. Method System.Void a of the item to be made visible by scrolling. Scrolls the view to make an item visible. The minimum amount of scrolling will be done to make the item visible. To control the item's final position within the visible part of the widget, use the other overload of this method. Method System.Void a of the item to be made visible by scrolling. a value between 0.0 and 1.0. a value between 0.0 and 1.0. Scrolls the view to make an item visible. Using row_align of 0.5 and col_align of 0.5 will try to center the item in the visible part of the widget. Method System.Void a of the view. a , or to remove an existing delegate. Sets the Cell Data delegate for a renderer. The Cell data func is an alternative to binding attributes to model columns. The delegate is invoked any time the cell is renderer and it should set up all the appropriate renderer information. Method System.Void a of the view. Clears attribute bindings for a cell renderer. Method System.Void Clears attribute bindings and removes all renderers. Method System.Void a of the view. an attribute name on . the model column index to bind to . Binds a model column to an Attribute of a Cell Renderer. Method System.Void a to add to the view. indicates if the should expand to available space. Packs a renderer at the end of a cell. Method System.Void a of the view. desired index within the list of renderers. Moves a renderer to a position in the list of renderers. Method System.Void a to add to the view. indicates if the should expand to available space. Packs a renderer to the beginning of the cell. Method System.Void System.ParamArray a of the view. an array of name/value pairs. Set the attributes of a given Cell Renderer. Property Gtk.CellRenderer[] To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Property GLib.Property("tooltip-column") System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/CellRendererSpin.xml0000644000175000001440000001014511345266756016330 00000000000000 gtk-sharp 2.12.0.0 Gtk.CellRendererText Constructor System.Obsolete Native type. Internal constuctor. Do not use. Constructor To be added. Internal constructor. Typically only used by language bindings to wrap native objects. Constructor Public constructor. Property GLib.Property("adjustment") Gtk.Adjustment Adjustment data. Must be non-null for the cell to be editable. Contains the range information for the cell. Property GLib.Property("digits") System.UInt32 Number of decimal places to display. An integer between 0 and 20, default value is 0. Property GLib.Property("climb-rate") System.Double Climb rate. Defaults to 0, must be greater than or equal to 0. Provides the acceleration rate for when the button is held down. Property GLib.GType Native type value. A containing the native type value. Cell renderer with Spin Button editing capability. gtk-sharp-2.12.10/doc/en/Gtk/ConnectProxyArgs.xml0000644000175000001440000000537611345266756016412 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Action The action being connected to a proxy. a Property Gtk.Widget The proxy to which an action is being connected. a gtk-sharp-2.12.10/doc/en/Gtk/Arg.xml0000644000175000001440000000613111345266756013641 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Do not use. This class's C version is only used internally by gtkobject.c. System.ValueType Field Gtk.Arg Do not use. Field GLib.GType Do not use. Field System.String Do not use. Field System.String Do not use. Method Gtk.Arg Do not use. a a System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/TagChangedHandler.xml0000644000175000001440000000270111345266756016412 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TagChangedHandler instance to the event. The methods referenced by the TagChangedHandler instance are invoked whenever the event is raised, until the TagChangedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TextDeletedHandler.xml0000644000175000001440000000356511345266756016651 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextDeletedHandler instance to the event. The methods referenced by the TextDeletedHandler instance are invoked whenever the event is raised, until the TextDeletedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrintPages.xml0000644000175000001440000000273711345266756015214 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintPagesGType)) Field Gtk.PrintPages Print all pages. Field Gtk.PrintPages Print the current page. Field Gtk.PrintPages Print a range of pages. PrintPages enumeration. gtk-sharp-2.12.10/doc/en/Gtk/ColorSelectionDialog.xml0000644000175000001440000001235611345266756017202 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A standard dialog box for selecting a color. The ColorSelectionDialog provides a standard which allows the user to select a color much like the provides a standard dialog for file selection. Gtk.Dialog Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to construct a new color selector. A title that will appear in the window's title bar. Property Gtk.Button A button for providing help with this dialog A standard . Property Gtk.Button A button for cancelling this dialog A standard . Property Gtk.Button A button to confirm use of the selected color. A standard . Property Gtk.ColorSelection An accessor to the actual ColorSelection widget. The ColorSelection component of this . All color-related functions are available using the methods on this property, such as . Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/CellRenderer.xml0000644000175000001440000007340611345266756015507 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. An object for rendering a single cell on a The is a base class of a set of objects used for rendering a cell to a . These objects are used primarily by the widget, though they are not tied to them in any specific way. It is worth noting that is not a and cannot be treated as such. The primary use of a is for drawing a certain graphical elements on a . Typically, one is used to draw many cells on the screen. To this extent, it is not expected that a keep any permanent state around. Instead, any state is set just prior to use. Then, the cell is measured using . Finally, the cell is rendered in the correct location using . There are a number of rules that must be followed when writing a new . First and foremost, it is important that a certain set of properties will always yield a of the same size, barring a change. The also has a number of generic properties that are expected to be honored by all children. Gtk.Object Method System.Void Invokes the virtual render function of the . an object of type an object of type an object of type an object of type an object of type an object of type The three passed-in rectangles are areas of . Most renderers will draw within ; includes the blank space around the cell, and also the area containing the tree expander; so the rectangles for all cells tile to cover the entire window. is a clip rectangle. Method System.Void Sets the renderer size to be explicit, independent of the properties set. an object of type an object of type Method System.Boolean Passes an activate event to the for possible processing. an object of type an object of type an object of type an object of type an object of type an object of type an object of type Some s may use events; for example, toggles when it gets a mouse click. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Int32 The fixed height. an object of type GLib.Property("height") Property System.Boolean Display the cell. an object of type GLib.Property("visible") Property System.Single The x-align. an object of type GLib.Property("xalign") Property System.Int32 The fixed width. an object of type GLib.Property("width") Property System.Single The y-align. an object of type GLib.Property("yalign") Property System.Boolean Row has children. an object of type GLib.Property("is-expander") Property System.UInt32 The ypad. an object of type GLib.Property("ypad") Property System.UInt32 The xpad. an object of type GLib.Property("xpad") Property System.Boolean Row is an expander row, and is expanded. an object of type GLib.Property("is-expanded") Property Gtk.CellRendererMode Editable mode of the CellRenderer. an object of type GLib.Property("mode") Property Gdk.Color Cell background color as a . a GLib.Property("cell-background-gdk") Property System.String Cell background color as a . a GLib.Property("cell-background") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Protected constructor. Method System.Void Obtains the and needed to render the cell. a a a a a a Used by view widgets to determine the appropriate size for the passed to gtk_cell_renderer_render(). If is not , fills in the x and y offsets (if set) of the cell relative to this location. Please note that the values set in and , as well as those in and are inclusive of the xpad and ypad properties. Method System.Void Invokes the virtual render function of the . The three passed-in rectangles are areas of window. Most renderers will draw within ; the xalign, yalign, xpad, and ypad fields of the should be honored with respect to . includes the blank space around the cell, and also the area containing the tree expander; so the rectangles for all cells tile to cover the entire window. is a clip rectangle. a to render to a , the widget that owns a , entire cell area (including tree expanders and maybe padding on the sides) a , area normally rendered by a cell renderer a , area that needs updating a , flags that affect rendering Method Gtk.CellEditable Passes an activate event to the for possible processing. a a a a a a a Some cell renderers may use events; for example, toggles when it gets a mouse click. The following example illustrates a CellRenderText derived class that implements auto-completion in the entry widget. public class CellRendererCompletion : CellRendererText { public delegate ListStore CompletionStoreNeededDelegate(TreeView tree, out int textColumn); // Delegate that is called to obtain a ListStore that contains entries // for the column being editted. TreeView.GetCursor(out path, out column) // can be used to determine the column being editted. public static CompletionStoreNeededDelegate CompletionStoreNeededEventHandler; // Required constructor that may be called by the framework. public CellRendererCompletion(System.IntPtr raw) : base(raw) { } public CellRendererCompletion() { } public override CellEditable StartEditing(Gdk.Event evnt, Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, CellRendererState flags) { // get the entry widget Entry entry = base.StartEditing (evnt, widget, path, background_area, cell_area, flags) as Gtk.Entry; // make it auto-complete TreeView treeview = widget as TreeView; int textColumn = 0; entry.Completion = new EntryCompletion(); entry.Completion.Model = CreateCompletionModel(treeview, out textColumn); entry.Completion.TextColumn = textColumn; return entry; } // Gets the ListStore that contains the auto-complete entries // to be shown when editting this cell. Typical use might use // TreeView.GetCursor(out path, out column) to get the column name // being editted to build an appropriate list. private static TreeModel CreateCompletionModel(TreeView treeview, out int textColumn) { textColumn = 0; if (CompletionStoreNeededEventHandler != null) return CompletionStoreNeededEventHandler(treeview, out textColumn); return null; } } Event System.EventHandler This event is raised when the user cancels the process of editing a cell. For example, an editable cell renderer could be written to cancel editing when the user presses Escape. GLib.Signal("editing-canceled") Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Causes the cell renderer to fire an event. This function is for use only by implementations of cell renderers that need to notify the client program that an editing process was canceled and the changes were not committed. Property System.Boolean Display the cell sensitive. A . The default value is . GLib.Property("sensitive") Event Gtk.EditingStartedHandler This signal gets emitted when a cell starts to be edited. The intended use of this signal is to do special setup on editable cell, e.g. adding a or setting up additional columns in a . Note that GTK# doesn't guarantee that cell renderers will continue to use the same kind of widget for editing in future releases, therefore you should check the type of the cell before doing any specifi setup. GLib.Signal("editing-started") Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Informs the cell renderer that the editing is stopped. a If is , the cell renderer will emit the event. This method should be called by cell renderer implementations in response to the event of . Method System.Void Location to fill in with the fixed width of the widget, or . Location to fill in with the fixed height of the widget, or . Fills in and with the appropriate size. gtk-sharp-2.12.10/doc/en/Gtk/Table.xml0000644000175000001440000004210611345266756014161 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pack widgets in grid/table patterns. The Table widget allows a programmer to arrange widgets in rows and columns, making it easy to align many widgets adjacent to each other, horizontally and vertically. Tables are created with a specific size - the number of rows and columns. This can be changed dynamically with the method. Widgets are packed into the table with methods. The layout of a table can be altered by setting the spacing between rows and columns. This is done with the and properties, respectively. The spacing of individual cells can be adjusted with and . The following shows how to create a table with three widgets: public Widget MakeTableTester() { // Create a table with 2 rows and 1 column Table tableLayout = new Table(2, 1, false); Label longLabel = new Label("This is a label that spans at least two Entry widgets"); // Attach the label over the entire first row tableLayout.Attach(longLabel, 0, 2, 0, 1); // Attach an entry to each cell in the second row tableLayout.Attach(new Entry(), 0, 1, 1, 2); tableLayout.Attach(new Entry(), 1, 2, 1, 2); tableLayout.ShowAll(); return tableLayout; } Gtk.Container System.Reflection.DefaultMember("Item") Method System.Void Sets the spacing around a specified column. A zero-indexed column number to adjust the spacing of. The number of pixels on each side of the . To adjust the spacing between all columns, use the property. Method System.UInt32 The spacing currently set for a given column. A zero-indexed column number to retrieve spacing information from. The number of pixels of spacing assigned to the specified . Method System.Void Sets the spacing around a specified row. A zero-indexed row number to adjust the spacing of. The number of pixels on each side of the . To adjust the spacing between all rows, use the property. Method System.UInt32 The spacing currently set for a given row. A zero-indexed row number to retrieve spacing information from. The number of pixels of spacing assigned to the specified . Method System.Void Resizes the table so that the specified number of and are available for widget packing. The new number of rows this table should allow. The new number of columns this table should allow. Method System.Void Packs a widget into the table. The to add. The column number to attach the left side of to. The column number to attach the right side of to. The row number to attach the top of to. The row number to attach the bottom of to. The horizontal packing options for this . The vertical packing options for this . The number of pixels of padding to add to the left and right of . The number of pixels of padding to add to the top and bottom of . You can pack widgets into the Table using default packing and padding with the convenience method. Child widgets can span as many table cells as they wish, allowing the programmer to create complex grids of Widgets. Method System.Void The widget to be attached to the table The column number to attach the left side of to. The column number to attach the right side of to. The row number to attach the top of to. The row number to attach the bottom of to. Packs a widget into the table with default packing options. To pack widgets into the table with more control over size and padding, use the alternative method. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new Table widget. The number of rows in this table. The number of columns in this table. If homogeneous is TRUE, the table boxes (cells) are resized to the size of the largest widget in the table. If homogeneous is FALSE, the size of a table boxes is dictated by the tallest widget in its same row, and the widest widget in its column (i.e. all cells are the same). The size of the table can be altered after its creation using the method. Property System.UInt32 Retrieve the spacing that gets placed between newly added rows by default. Spacing between rows that will be added, in pixels. Property System.UInt32 The default number of pixels between columns. A . Property System.UInt32 The number of pixels between columns if it isn't the default value. A . GLib.Property("column-spacing") Property System.UInt32 Manage the number of columns in this Table. The number of columns this table currently has. GLib.Property("n-columns") Property System.Boolean Manage whether all cells must be of equal size. if all cells are currently equally sized, otherwise. GLib.Property("homogeneous") Property System.UInt32 The space between table rows. . GLib.Property("row-spacing") Property System.UInt32 Manage the number of rows in this Table. The number of rows this table currently has. GLib.Property("n-rows") Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/HTMLFontStyleShift.xml0000644000175000001440000000642611345266756016551 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration for how HTML font styles can be changed. System.Enum Field Gtk.HTMLFontStyleShift Bold font style. Field Gtk.HTMLFontStyleShift Italic font style. Field Gtk.HTMLFontStyleShift Underlined font style. Field Gtk.HTMLFontStyleShift Strikeout font style. Field Gtk.HTMLFontStyleShift Fixed-width font style. Field Gtk.HTMLFontStyleShift Subscript font style. Field Gtk.HTMLFontStyleShift Superscript font style. gtk-sharp-2.12.10/doc/en/Gtk/Table+TableChild.xml0000644000175000001440000001250211345266756016145 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild Property Gtk.ChildProperty("bottom-attach") System.UInt32 The table row that the bottom of this child is attached to the row Property Gtk.ChildProperty("top-attach") System.UInt32 The table row that the top of this child is attached to the row Property Gtk.ChildProperty("left-attach") System.UInt32 The table column that the left side of this child is attached to the column Property Gtk.ChildProperty("right-attach") System.UInt32 The table column that the right side of this child is attached to the column Property Gtk.ChildProperty("y-padding") System.UInt32 The vertical padding for this child the padding Property Gtk.ChildProperty("y-options") Gtk.AttachOptions The child's vertical attachment options the Property Gtk.ChildProperty("x-padding") System.UInt32 The horizontal padding for this child the padding Property Gtk.ChildProperty("x-options") Gtk.AttachOptions The child's vertical attachment options the A child of a , used to interact with its container child properties. gtk-sharp-2.12.10/doc/en/Gtk/Unit.xml0000644000175000001440000000326011345266756014047 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.UnitGType)) Field Gtk.Unit Inch units. Field Gtk.Unit Millimeter units. Field Gtk.Unit Pixel units. Field Gtk.Unit Point units. Unit enumeration. gtk-sharp-2.12.10/doc/en/Gtk/ImageType.xml0000644000175000001440000001201511345266756015012 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Describes the image data representation used by a . Describes the image data representation used by a . If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the returns , then you can get but not . For empty images, you can request any storage type (from any of the "get" properties), but they will all return values. System.Enum GLib.GType(typeof(Gtk.ImageTypeGType)) Field Gtk.ImageType There is no image displayed by the . There is no image displayed by the . Field Gtk.ImageType The contains a . The contains a . Field Gtk.ImageType The contains a . The contains a . Field Gtk.ImageType The contains a . The contains a . Field Gtk.ImageType The contains a stock icon name. The contains a stock icon name. Field Gtk.ImageType The contains a . The contains a . Field Gtk.ImageType The contains a . The contains a . Field Gtk.ImageType To be added To be added gtk-sharp-2.12.10/doc/en/Gtk/ColorSelection.xml0000644000175000001440000002544111345266756016061 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget for selecting a color. The ColorSelection consists of a color wheel and number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity. It is found on the standard color selection dialog box, . This widget displays the 'selected' color as well as the previously selected color. Gtk.VBox Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to create a new ColorSelection Property System.UInt16 Get the alpha value of the previous color The previous alpha value - an integer between 0 and 65535. It may be confusing for a user if this property is set with no interaction from them. Property Gdk.Color Manage the current color of the ColorSelection. The currently selected color in this ColorSelection. GLib.Property("current-color") Property System.Boolean Manage whether or not the ColorSelection displays a palette. if a palette is currently part of the ColorSelection, otherwise. GLib.Property("has-palette") Property System.Boolean Manage whether or not opacity is part of the ColorSelection. if the user can edit opacity, otherwise. GLib.Property("has-opacity-control") Property System.UInt16 Manage the current alpha value of the ColorSelection. The existing opacity of this ColorSelection. GLib.Property("current-alpha") Event System.EventHandler This event is raised when the current color changes in the ColorSelection. GLib.Signal("color_changed") Property Gdk.Color The color that was selected before the current one. a Method Gdk.Color[] Parses a color palette string; the string is a colon-separated list of color names readable by A palette string to parse An array of objects. Method System.String Encodes a palette as a string; useful for persistent storage. An array of objects. A string encoding of the palette. Property System.Boolean The current state of the ColorSelection if the user is currently dragging a color around, if the selection has stopped. Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.UpdateType Deprecated. Do not use. a Before it was deprecated, this property set the policy controlling when ColorChanged signals are emitted. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/FocusedHandler.xml0000644000175000001440000000263211345266756016020 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusedHandler instance to the event. The methods referenced by the FocusedHandler instance are invoked whenever the event is raised, until the FocusedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrintOperationPreviewAdapter.xml0000644000175000001440000001545111345266756020755 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter Gtk.PrintOperationPreview Constructor To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. Method Gtk.PrintOperationPreview To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("got-page-size") Gtk.GotPageSizeHandler To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Event GLib.Signal("ready") Gtk.ReadyHandler To be added. To be added. Method System.Void To be added. To be added. To be added. Property Gtk.PrintOperationPreviewImplementor To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. Event GLib.Signal("ready") Gtk.ReadyHandler To be added. To be added. Method System.Void To be added. To be added. To be added. PrintOperationPreview interface adapter. Adapts a implementation to expose the complete interface API. gtk-sharp-2.12.10/doc/en/Gtk/UIManager.xml0000644000175000001440000006365711345266756014760 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Constructs menus and toolbars from an XML description A constructs a user interface (menus and toolbars) from one or more UI definitions, which reference actions from one or more action groups. TODO: all the xml stuff UI Merging The most remarkable feature of GtkUIManager is that it can overlay a set of menuitems and toolitems over another one, and demerge them later. Merging is done based on the names of the XML elements. Each element is identified by a path which consists of the names of its anchestors, separated by slashes. For example, the menuitem named "Left" in the example above has the path /ui/menubar/JustifyMenu/Left and the toolitem with the same name has path /ui/toolbar1/JustifyToolItems/Left. Accelerators Every action has an accelerator path. Accelerators are installed together with menuitem proxies, but they can also be explicitly added with <accelerator> elements in the UI definition. This makes it possible to have accelerators for actions even if they have no visible proxies. Smart Separators The separators created by GtkUIManager are "smart", i.e. they do not show up in the UI unless they end up between two visible menu or tool items. Separators which are located at the very beginning or end of the menu or toolbar containing them, or multiple separators next to each other, are hidden. This is a useful feature, since the merging of UI elements from multiple sources can make it hard or impossible to determine in advance whether a separator will end up in such an unfortunate position. Empty Menus Submenus pose similar problems to separators inconnection with merging. It is impossible to know in advance whether they will end up empty after merging. GtkUIManager offers two ways to treat empty submenus: make them disappear by hiding the menu item they're attached toadd an insensitive "Empty" item The behaviour is chosen based on the "is_important" property of the action to which the submenu is associated. GLib.Object Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void emoves an action group from the list of action groups a Method Gtk.Widget Looks up a widget by following a path. a a found by following the path, or if no widget was found. The path consists of the names specified in the XML description of the UI. separated by '/'. Elements which do not have a name or action attribute in the XML (e.g. <popup>) can be addressed by their XML element name (e.g. "popup"). The root element ("/ui") can be omitted in the path. The widget found by following a path that ends in a <menu> element is the menuitem to which the menu is attached, not the menu itself. Method System.UInt32 Parses a string containing a UI definition and merges it with the current contents. a to parse a . The merge id for the merged UI. The merge id can be used to unmerge the UI with . If an error occurred, the return value is 0. An enclosing <ui> element is added if it is missing. Method System.Void Makes sure that all pending updates to the UI have been completed. This may occasionally be necessary, since updates the UI in an idle function. Method System.Void Adds a UI element to the current contents. a , the merge id for the merged UI a a , the name for the added UI element a , the name of the action to be proxied, or to add a separator a . the type of UI element to add. a . If , the UI element is added before its siblings, otherwise it is added after its siblings. If type is , Gtk inserts a menuitem, toolitem or separator if such an element can be inserted at the place determined by path. Otherwise type must indicate an element that can be inserted at the place determined by path. Method System.Void Unmerges the content identified by . a from when the ui was added. Method System.Void Inserts an action group into the list of action groups associated with this UIManager a to be inserted a , the position at which the group will be inserted. Actions in earlier groups hide actions with the same name in later groups. Method System.UInt32 Parses a file containing a UI definition and merges it with the current contents. a , the name of the file to parse a . The merge id for the merged UI. The merge id can be used to unmerge the UI with . If an error occurred, the return value is 0. Method Gtk.Action Looks up an action by following a path. a a whose proxy widget is found by following the path, or if no widget was found. See for more information about paths. Method System.UInt32 Adds a UI element to the current contents from an embedded resource. a a Constructor Internal constructor a System.Obsolete Constructor Internal constructor a Constructor Default constructor Property GLib.GType GType Property. a Returns the native value for . Property System.String The UI represented in XML. a GLib.Property("ui") Property System.Boolean Sets the "add_tearoffs" property, which controls whether menus generated by this will have tearoff menu items. a , whether tearoff menu items are added Note that this only affects regular menus. Generated popup menus never have tearoff menu items. GLib.Property("add-tearoffs") Property Gtk.AccelGroup The associated with this UIManager a Event System.EventHandler The "actions-changed" signal is emitted whenever the set of actions changes. GLib.Signal("actions_changed") Event Gtk.PreActivateHandler The PreActivate signal is emitted just before the action is activated. This is intended for applications to get notification just before any action is activated. GLib.Signal("pre_activate") Event Gtk.AddWidgetHandler The AddWidget signal is emitted for each generated menubar and toolbar. It is not emitted for generated popup menus, which can be obtained by . GLib.Signal("add_widget") Event Gtk.ConnectProxyHandler The ConnectProxy signal is emitted after connecting a proxy to an action in the group. This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar. GLib.Signal("connect_proxy") Event Gtk.DisconnectProxyHandler The DisconnectProxy signal is emitted after disconnecting a proxy from an action in the group. GLib.Signal("disconnect_proxy") Event Gtk.PostActivateHandler The PostActivate signal is emitted just after the action is activated. This is intended for applications to get notification just after any action is activated. GLib.Signal("post_activate") Method System.UInt32 Returns an unused merge id, suitable for use with . a Property Gtk.ActionGroup[] The list of action groups associated with this UIManager. a Method Gtk.Widget[] Obtains a list of all toplevel widgets of the requested types. a a Allowed types are , and . gtk-sharp-2.12.10/doc/en/Gtk/ClientEventHandler.xml0000644000175000001440000000270611345266756016652 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ClientEventHandler instance to the event. The methods referenced by the ClientEventHandler instance are invoked whenever the event is raised, until the ClientEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PropertyNotifyEventHandler.xml0000644000175000001440000000303611345266756020446 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PropertyNotifyEventHandler instance to the event. The methods referenced by the PropertyNotifyEventHandler instance are invoked whenever the event is raised, until the PropertyNotifyEventHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ExpandCollapseCursorRowArgs.xml0000644000175000001440000000536211345266756020542 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Boolean Whether or not to open all children of this cursor row. A Property System.Boolean Whether to expand (true) or collapse(false) the row. A Property System.Boolean Whether or not this cursor row is a logical row. A TODO: explain. gtk-sharp-2.12.10/doc/en/Gtk/ListStore.xml0000644000175000001440000022111311345266756015057 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. The ListStore is a columned list data structure to be used with widget. Iteration: In new versions of Gtk# (2.0 and up) this class implements the interface, so code can be written like this: void DumpColumnValues (ListStore store, int col) { foreach (object[] row in store) Console.WriteLine ("Value of column {0} is {2}", col, row [col]); } GLib.Object Gtk.TreeDragDest Gtk.TreeDragSource Gtk.TreeModel Gtk.TreeSortable System.Collections.IEnumerable Method System.Int32 Returns the number of children that the toplevel node has. Is used to retrieve the number of rows in the . an object of type , the number of children of . As a special case, if is , then the number of toplevel nodes is returned. Method System.Boolean Sets to point to the first child of . an object of type an object of type , , if has been set to the first child. If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called. If is returns the first node, equivalent to gtk_tree_model_get_iter_first (tree_model, iter); Method System.Void Emits a event. Method System.Void Sets the column number to sort by. A , the column number to sort by. A Method System.Void Sets a sort function to be used for the column . A for the column number. A ignored ignored This overload is obsolete. The two parameter overload is preferred for new code. Method System.Void Set the function that will be used by default to sort columns. A ignored ignored This method is obsolete. The property is preferred for new code. Property Gtk.TreeIterCompareFunc The function that will be used by default to sort columns. a Method System.Boolean Returns true if the row at can have dropped on it. A A A boolean. Method System.Boolean Drags data received into this object. A , the destination path of the drag A , the data that was dragged A boolean, true if the data was successfully received. Method System.Boolean Method used when this ListStore is part of a source widget for a drag-and-drop operation; gets the data that was dragged from the associated widget. a A A , true if the operation succeeded. Method System.Boolean Returns whether or not a given row can be dragged. a A boolean, true if the row is draggable. Method System.Boolean When this ListStore is the data source for a drag operation and the drag operation is a move, this method runs to delete the data after the data has been received by the target widget. A , the path of the data to delete. A , true if the operation succeeds. Method System.Void Fires a event. Call this after changing a row so that the view widget for this ListStore will update. a a Method System.Void Runs a method on every row of a ListStore. A to run over every row. Method System.Boolean Initializes with the first iterator in the ListStore (the top item). A to reset A , true if the operation is successful, false if the ListStore is empty. Method System.Void Emits a event. This is meant to be called whenever the child state of a node changes. a to pass to the event a to pass to the event This is mandated by the , but it shouldn't get used much for ListStores because they don't generally have child nodes. Method Gtk.TreePath Turns a specified by into a . a a Method System.Boolean Tests whether a given row has a child node. a A , always false for ListStores. This is mandated by Method System.Void Lets the ListStore reference the row pointed to by . a This function is primarily meant as a way for views to let caching model know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its reffed state. Method System.Int32 Returns the number of children that has. If is null, as in the case of all ListStore objects, this will return the number of top-level items. a a FIXME: Why does ListStore.custom call gtk_tree_model_iter_n_children? Method System.Void Fires a event. a to pass to the event. a see cref="T:Gtk.TreeIter" /> to pass to the event. Method System.Void Fires a event. a to pass to the event. Method System.Void Gets the values of child properties for the row pointed to by . an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Method System.Void Lets the ListStore unref the row at . a This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreffed. Method System.Void Removes all data from the store. Method System.Void Sets the values of child properties for the row pointed to by . an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Method System.Void Sets the value of the specified column in the row pointed by . a a , the column number a The type of specified column must be a . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Int32 The number of columns in this ListStore. A Property Gtk.TreeModelFlags The flags for this ListStore. A Flags are about the shape of this object's data; see the class documentation for more details. Event System.EventHandler Raised when the sorting column has changed. GLib.Signal("sort_column_changed") Event Gtk.RowHasChildToggledHandler Raised when the display of a given row's children is toggled. GLib.Signal("row_has_child_toggled") Event Gtk.RowInsertedHandler Raised when a row of data is inserted. GLib.Signal("row_inserted") Event Gtk.RowDeletedHandler Raised when a row is deleted. GLib.Signal("row_deleted") Event Gtk.RowChangedHandler Raised when a row has changed. GLib.Signal("row_changed") Event Gtk.RowsReorderedHandler Raised when the order of rows has changed. GLib.Signal("rows_reordered") Method System.Boolean Sets to be the child of this ListStore, using the given index. The first index is 0. If is too big, or this ListStore has no rows, is set to an invalid iterator and false is returned. For ListStore objects, the th root node is set, since they don't have a tree-like structure. a a a , true if has an th child. This is a custom binding for Gtk# which assumes that the current object is the parent. An alternate invocation form that parallels the C API is available. Method System.Boolean a To be added. a Sets to be the child of , using the given index. The first index is 0. If is too big, or has no children, is set to an invalid iterator and false is returned. will remain a valid node after this function has been called. As a special case, if is , then the th root node is set. a , true if has an th child. This invocation form is closer to the underlying C API, but it's probably less useful for most C# purposes. Method System.Boolean Marshals a path string into a object that points to a row in this tree. a to be set by this method A path string A , true if this string is a valid path for this ListStore. Method System.Boolean , an object that will be set to point to the first child. a , the parent row. A , true if has children. In general, this will return false, as ListStore isn't tree-shaped. However, if is , will return the list itself, since they're all children of the root. Method System.Boolean Gets an iterator object for the given . a to set to point to the row. a A , true if the row exists Method System.Boolean Gets the parent row of . a to set to point to the row. a , the child row whose parent we want to get A , true if the parent exists. Since ListStore objects aren't tree-shaped, this will always return false. Method Gtk.TreeIter System.ParamArray Appends a new row to the ListStore and puts the objects in in it. a list , one item for each column of a row. a pointing to the new row Method Gtk.TreeIter Appends a new row to the ListStore and puts the contents of in it. a with as many elements as the ListStore has columns. a pointing to the new row Method System.String Marshals the given into a path string. a a Method System.Void Move the row pointed to by to the position after . If is , will be moved to point to the start of the list. a a This only works in unsorted stores. Method System.Void Swaps rows a and b in the store. a a This is only works in unsorted stores. Method System.Void Move the row pointed to by to the position before . If is , will be moved to point to the end of the list. a a This only works in unsorted stores. Method System.Boolean Test whether is valid for this ListStore. a a , true if is valid. WARNING: this method is slow and is only intended for debugging/testing purposes. Constructor System.ParamArray Creates a new store. The columns' type specified by the argument. a ListStore ls = new ListStore (typeof (string), typeof (int), typeof (double)); ... The above example creates a new three columns list store. The types of the columns are , , and . Method System.Boolean Report on which column is currently being used to sort this ListStore. a , gets filled with the column number that's currently used for sorting a , the current type of sort (ascending or descending) a , false if the default sort column for this ListStore is being used, true if some other sort column is being used. Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be a . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be a . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be an . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be a . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be an Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be an . Method System.Void Sets the value of the specified column in the row pointed by iter. a a a The type of specified column must be an . Method System.Object Gets the data from row of column . a , the row to look in a , the column number to look in a Property System.Boolean Find out whether this ListStore has a default sort function. a , true if there is a default sort function. To set a default sort function, use the property. Property GLib.GType GType Property. a Returns the native value for . Property GLib.GType[] The types in each column of a ListStore. a This property is meant primarily for classes that inherit from , and should only be used when constructing a new . It will not function after a row has been added or after a method on the interface has been called. Method System.Void Deprecated method to set what types go in each column of a ListStore. a See Method GLib.GType Gets the type of data stored in column number . a , the column to check a Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor System.ParamArray Default constructor. a Method System.Int32 Reorders the ListStore. a . (FIXME: Does this binding work?) Method Gtk.TreeIter Inserts a new row at position . a a pointing to the new row. If is larger than the number of rows on the list, then the new row will be appended to the list. The row will be empty before this function is called. To set the value of the new row, use . Method Gtk.TreeIter Adds a new row to the beginning of the list. a pointing to the new row. The row will be empty before this function is called. To set the value of the new row, use . Method Gtk.TreeIter Inserts a new row before . If is null, then the row will be appended to the end of the list. a , the row to insert before a that points to the new row The row will be empty before this function is called. To set the value of the new row, use . Method Gtk.TreeIter Inserts a new row after . If is null, then the row will be appended to the end of the list. a , the row to insert before a that points to the new row The row will be empty before this function is called. To set the value of the new row, use . Method Gtk.TreeIter Appends a new row to the ListStore. a that points to the new row. The row will be empty before this function is called. To set the value of the new row, use . Method System.Int32 Fires a event. a , pointer to the row whose children have been reordered a , pointer to the row whose children have been reordered a This is part of the implementation of . It should be called by other class methods that reorder rows so that the proper events are raised. (FIXME: since lists don't have parents/children, how does this get used in practice? There should be an example here.) Method System.Boolean Removes a row from the store. a a After being removed, is set to be the next valid row, or invalidated if it pointed to the last row in the store. Method System.Void Gets the value of row of column and puts it in . a a a Method System.Boolean Advances to the next row. a a for whether the operation succeeded. Constructor Protected constructor. Method System.Void Sets a sort function to be used for the column . A for the column number. A Method System.Int32 To be added a a a a a To be added Method System.Collections.IEnumerator Returns a for the current instance. The enumerated items are object arrays containing the column values for each row. A enumerating items of type []. If the elements of the current instance are modified while an enumeration is in progress, a call to or throws . Method System.Void Path to the reordered parent node. Iter corresponding to the reordered parent node. An array of the old indices. Default handler for the RowsReordered event. Method Gtk.TreeIter System.ParamArray Insert position. An array of column values to set. Inserts a row into the store at a given position with column values. An iter pointing to the inserted row. The values provided should be in column order. Method System.Void System.ParamArray Update position. An array of column values to set. Sets the column values for a given row. The values provided must be in column order. gtk-sharp-2.12.10/doc/en/Gtk/SelectionReceivedArgs.xml0000644000175000001440000000437511345266756017351 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.UInt32 The time this selection was received from the source widget. A Property Gtk.SelectionData The data from the selection. a gtk-sharp-2.12.10/doc/en/Gtk/MarkSetArgs.xml0000644000175000001440000000422611345266756015316 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TextMark The mark that was deleted. A Property Gtk.TextIter The position within the text where the marker was set. A gtk-sharp-2.12.10/doc/en/Gtk/EnableDeviceArgs.xml0000644000175000001440000000337111345266756016256 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.Device The device to enable. A gtk-sharp-2.12.10/doc/en/Gtk/VBox.xml0000644000175000001440000001346011345266756014011 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A VBox is a specific type of for packing widgets vertically. using System; using Gtk; class VBoxTester { static void Main () { Application.Init (); Window myWindow = new Window ("VBox Widget"); myWindow.SetDefaultSize (250, 100); VBox myBox = new VBox (false, 4); //Add the box to a Window container myWindow.Add (myBox); // Add some buttons to the container VBoxTester.AddButton (myBox); VBoxTester.AddButton (myBox); VBoxTester.AddButton (myBox); myWindow.ShowAll (); Application.Run (); } static void AddButton (VBox box) { box.PackStart (new Button ("Button"), true, false, 0); } } Imports System Imports Gtk Class VBoxTester Shared Sub Main () Application.Init () Dim myWindow As New Window ("VBox Widget") Dim myBox As New VBox (False, 0) ' Add the box to a Window container myWindow.Add (myBox) myWindow.SetDefaultSize (250, 100) ' Add some buttons to the box VBoxTester.AddButton (myBox) VBoxTester.AddButton (myBox) VBoxTester.AddButton (myBox) myWindow.ShowAll () Application.Run () End Sub Shared Sub AddButton (ByVal box As VBox) box.PackStart (New Button ("Button"), True, False, 0) End Sub End Class Other ways of laying out widgets include using a horizontal box, (see ), a table, (see ), button boxes, etc. Useful methods for manipulating boxes can be found in the superclass for HBox, . Here is a simple example of the class' usage: using System; using Gtk; class VBoxTester { static void Main () { Application.Init (); Window myWindow = new Window ("VBox Widget"); VBox myBox = new VBox (false, 4); //Add the box to a Window container myWindow.Add (myBox); myWindow.ShowAll (); Application.Run (); } static void AddButton (VBox box) { box.PackStart (new Button ("Button"), true, false, 0); } } Gtk.Box Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to create a new VBox If , all widgets in the box are forced to be equally sized. The number of pixels to place between each widget in the box. Property GLib.GType GType property. a Returns the native GObject type for . Constructor Protected constructor. a Chain to this constructor from subclasses when you manually register a for your subclass. System.Obsolete Constructor VBox Constructor. Instantiates a object using default values for the spacing and homogeneous attributes. gtk-sharp-2.12.10/doc/en/Gtk/HTML.xml0000644000175000001440000024345411345266756013707 00000000000000 gtkhtml-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Lightweight HTML rendering widget. is a lightweight HTML rendering widget, as well as as simple graphical HTML editor. Developers can also use it as a widget container (). It is an easy way for viewing HTML documents in your application and for layout UI of your application throught HTML. does not have support for CSS or JavaScript. The following sample is a very minimal web browser. using System; using System.Net; using System.IO; using Gtk; namespace HtmlTest { class HtmlTest { HTML html; Entry entry; string currentUrl; static void Main (string[] args) { new HtmlTest(); } HtmlTest() { Application.Init (); Window win = new Window ("HtmlTest"); win.SetDefaultSize (800, 600); win.DeleteEvent += new DeleteEventHandler (OnWindowDelete); VBox vbox = new VBox (false, 1); win.Add (vbox); HBox hbox = new HBox (false, 1); Label label = new Label ("Address:"); entry = new Entry (""); entry.Activated += new EventHandler (OnEntryActivated); Button button = new Button ("Go!"); button.Clicked += new EventHandler (OnButtonClicked); hbox.PackStart (label, false, false, 1); hbox.PackStart (entry, true, true, 1); hbox.PackStart (button, false, false, 1); vbox.PackStart (hbox, false, false, 1); ScrolledWindow sw = new ScrolledWindow (); sw.VscrollbarPolicy = PolicyType.Always; sw.HscrollbarPolicy = PolicyType.Always; vbox.PackStart(sw, true, true, 1); html = new HTML (); html.LinkClicked += new LinkClickedHandler (OnLinkClicked); sw.Add (html); win.ShowAll(); Application.Run (); } void OnWindowDelete (object obj, DeleteEventArgs args) { Application.Quit(); } void OnButtonClicked (object obj, EventArgs args) { currentUrl = entry.Text.Trim(); LoadHtml (currentUrl); } void OnEntryActivated (object obj, EventArgs args) { OnButtonClicked (obj, args); } void OnLinkClicked (object obj, LinkClickedArgs args) { string newUrl; // decide absolute or relative if (args.Url.StartsWith("http://")) newUrl = args.Url; else newUrl = currentUrl + args.Url; try { LoadHtml (newUrl); } catch { } currentUrl = newUrl; } void LoadHtml (string URL) { HttpWebRequest web_request = (HttpWebRequest) WebRequest.Create (URL); HttpWebResponse web_response = (HttpWebResponse) web_request.GetResponse (); Stream stream = web_response.GetResponseStream (); byte [] buffer = new byte [8192]; HTMLStream html_stream = html.Begin (); int count; while ((count = stream.Read (buffer, 0, 8192)) != 0){ html_stream.Write (buffer, count); } html.End (html_stream, HTMLStreamStatus.Ok); } } } Gtk.Layout Method System.Void Constructs an instance of a Gtk.HTML widget A derivative object. This is a low-level routine, and should only be used to initialize an instance of a derivative class. Method System.IntPtr Locates an object whose id is provided The id assigned to an object in the HTML stream An IntPtr to the internal HTMLObject Method System.Boolean Sends HTML out from the widget. a , a content type. an object of type a , true if the export happened successfully, false if otherwise. Method System.Void Copies the selection to the clipboard. Copies the selection into the clipboard. Method System.Void Selects the word under the cursor. This routine selects the word under the cursor. Method System.Void Changes the font style by adjusting flags from bold to regular or vice-versa. For a full list of possible flags, see . a Method System.Void Selects a paragraph. Method System.Void Resets the magnification of the text to 100% (normal). Method System.Void Writes bytes of content from to . a a a Method System.Void Undoes the last operation. If the widget is Editable, this undoes the last operation. Method System.Void Cuts the selection into the clipboard. If the widget is editable, this cuts the selection into the clipboard; Otherwise it just copies the selection into the clipboard. Method System.String Computes url from widget base url. The new component of the url. The new base-relative url. Method System.Void This method is designed to be called after the style, indentation, or other font attributes of an editable HTML widget have changed. When this is called, it will trigger the emission of signals for paragraphs whose indentation or style has changed. Method Gtk.HTMLStream Starts incremental content updating. A handle to push content. Use the Begin method to push new HTML content into the widget. The content type is expected to be in the format defined by , which by default is "html/text; charset=utf-8". using System; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML (); w.Add (html); w.ShowAll (); HTMLStream s = html.Begin (); string line; while ((line = Console.ReadLine ()) != null) s.Write (line); html.End (s, HTMLStreamStatus.Ok); Application.Run (); } } Compile and run: mcs sample.cs -pkg:gtkhtml-sharp echo "<html> <body>Hello <b>World</b></body> </html>" | mono sample.exe Method System.Void Sets up internal references to all images. FIXME: verify this. Method System.Void Paste clipboard contents into editor Whether to paste as a citation. If the widget is in editing mode (see ), the contents of the clipboard are pasted into the HTML editor. If the value of is true, then the contents are pasted as a citation. Method System.Void Set up an empty widget. Method System.Void Ends incremental updating The to close. The representing the state of the stream when closed. Closes the represented by and notifies the HTML widget that it should not expect any more content from that stream. using System; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML (); w.Add (html); w.ShowAll (); HTMLStream s = html.Begin (); string line; while ((line = Console.ReadLine ()) != null) s.Write (line); html.End (s, HTMLStreamStatus.Ok); Application.Run (); } } Compile and run: mcs sample.cs -pkg:gtkhtml-sharp echo "<html> <body>Hello <b>World</b></body> </html>" | mono sample.exe Method System.Void Redoes the last Undone operation If the widget is editable, this redoes the last undone operation. Method System.Void Adds HTML to the end of the HTML currently being rendered by the widget. an object of type Method System.Void Selects the line the cursor is currently on. Method System.Void Removes an indent level. Method System.Void Selects all the contents. Selects all of the contents of the HTML widget. Method Gtk.HTMLStream Begins processing HTML. an object of type an object of type an object of type an object of type Method System.Void Enables or disables debugging features. an object of type , true for enabled, false for disabled Method System.Boolean Makes the edit cursor visible. a , true if the operation was a success. Method System.Void Unsupported in Gtk#. Installs hooks for the editor. an object of type an object of type This API is currently not supported. Method System.Void To be added. an object of type Method System.Void Zooms in. Zooms in the view. Method System.Void Inserts HTML into the existing HTML of the widget. an object of type Method System.Void Sets the font style for the widget. an object of type an object of type Method System.Void Unrefs an image. an object of type (TODO: explain refcounting for images.) Method System.Void Refs an image. an object of type Method System.Boolean Jumps to an anchor by name, making it visible. The anchor to locate. if the anchor is found. Scroll the document display to show the HTML anchor requested. Method System.Void Preloads the image at the URL a , an image URL. Method System.Int32 To be added an object of type an object of type an object of type an object of type an object of type Method System.Void Unrefs images. Method System.Boolean Invokes a delegate function to save the HTML. a an object of type , whether the operation succeeded. Method Gtk.HTMLStream Starts incremental content updating. With a specific content type. The content type for the data to be streamed. A handle to push content. Use the Begin method to push new HTML content into the widget. The content type has to be specified (like this for example: "html/text; charset=utf-8"). using System; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML (); w.Add (html); w.ShowAll (); HTMLStream s = html.Begin ("text/html; charset=utf-8"); string line; while ((line = Console.ReadLine ()) != null) s.Write (line); html.End (s, HTMLStreamStatus.Ok); Application.Run (); } } Compile and run: mcs sample.cs -pkg:gtkhtml-sharp echo "<html> <body>Hello <b>World</b></body> </html>" | mono sample.exe Method System.Void Set whether selection is allowed in this widget. an object of type , true if selection is allowed. Method System.Void Drops all the undo information. Drops all the Undo and Redo information from the widget. Method System.Void To be added Method System.Void Zooms out. Zooms out the view. Method System.Boolean Execute a command on the widget. an object of type , one of the values named in . an object of type for whether the command succeeded. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates an empty widget. It creates an empty widget. The returned widget is empty, and defaults to not be editable. Property System.Boolean Whether the contents can be edited. if the contents are editable, otherwise. Whether this instance can be used as an HTML editor. Note: must be called before this can be set = . GLib.Property("editable") Property System.UInt32 The indentation level of a paragraph. an object of type Property System.String The base URL of this document. an object of type Property System.String The title of this HTML document. an object of type GLib.Property("title") Property System.String The default content type. an object of type Property Gtk.HTMLParagraphStyle The style of a paragraph. an object of type Property System.Boolean To be added an object of type Property System.Double The current widget magnification level. an object of type Property Gtk.HTMLParagraphAlignment The alignment of text (right, left, center) an object of type Property System.Boolean Whether to allow framesets in this widget. an object of type Event Gtk.InsertionFontStyleChangedHandler Raised when the font style under the cursor is changed. GLib.Signal("insertion_font_style_changed") Event Gtk.TitleChangedHandler Occurs when the title changes in HTML This event is raised when the HTML parser encounters the <title> tag on the HTML stream. To get the title, use the property. GLib.Signal("title_changed") Event Gtk.SetBaseHandler Raised when the base URL of the document is changed. GLib.Signal("set_base") Event System.EventHandler Raised when the size of text is changed. GLib.Signal("size_changed") Event Gtk.CurrentParagraphStyleChangedHandler Raised when the text style of this paragraph is changed. GLib.Signal("current_paragraph_style_changed") Event System.EventHandler Raised after a webpage is finished loading. GLib.Signal("load_done") Event Gtk.CursorMoveHandler Occurs when the cursor moves. This event is raised when the widget is in editing mode and the cursor has moved. GLib.Signal("cursor_move") Event Gtk.OnCommandHandler Raised when a command is issued to the widget. GLib.Signal("command") Event Gtk.UrlRequestedHandler Occurs when a url is Requested This event is raised when an URL is requested (typically an image). The following example shows how a simple HTML source that requests an image (hello.png). If the file is found, then it will be streamed into the HTML widget. The model allows for data to be delivered as it comes, and when the data has all arrived, the End method can be invoked on the html stream provided by the . using System; using System.IO; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML (); html.UrlRequested += new UrlRequestedHandler (LoadFromDisk); w.Add (html); w.ShowAll (); HTMLStream s = html.Begin (); s.Write ("<html><body>My image: <img src=\"hello.png\"></body></html>"); html.End (s, HTMLStreamStatus.Ok); Application.Run (); } static void LoadFromDisk (object sender, UrlRequestedArgs args) { try { FileStream s = File.OpenRead (args.Url); byte [] buffer = new byte [8192]; int n; while ((n = s.Read (buffer, 0, 8192)) != 0) { args.Handle.Write (buffer, n); } args.Handle.Close (HTMLStreamStatus.Ok); } catch { // Ignore errors. } } } Make sure there is a "hello.png" file in your directory to see it, otherwise the sample will show the "broken image link" image. mcs sample.cs -pkg:gtkhtml-sharp mono sample.exe GLib.Signal("url_requested") Event Gtk.IframeCreatedHandler Raised after an IFRAME is created. GLib.Signal("iframe_created") Event Gtk.ScrollHandler Raised when the widget is scrolled. GLib.Signal("scroll") Event Gtk.CurrentParagraphIndentationChangedHandler Raised when the indent level of the current paragraph is changed. GLib.Signal("current_paragraph_indentation_changed") Event Gtk.CurrentParagraphAlignmentChangedHandler Raised when the alignment of the current paragraph is changed. GLib.Signal("current_paragraph_alignment_changed") Event Gtk.InsertionColorChangedHandler Raised when the text color to insert is changed. GLib.Signal("insertion_color_changed") Event Gtk.LinkClickedHandler Occurs when the user clicks on a hyperlink This event is raised when the user clicks on a hyperlink in the HTML widget. using System; using System.IO; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML ("<html><body>Click <a href=\"http://www.go-mono.com\">me</a>"); html.LinkClicked += new LinkClickedHandler (OnLinkClicked); w.Add (html); w.ShowAll (); Application.Run (); } static void OnLinkClicked (object o, LinkClickedArgs args) { Console.WriteLine ("The link clicked url is: " + args.Url); } } mcs sample.cs -pkg:gtkhtml-sharp mono sample.exe Click on the "me" link to see the message on the console. GLib.Signal("link_clicked") Event Gtk.SubmitHandler Raised when a form submit button is clicked. GLib.Signal("submit") Event Gtk.RedirectHandler Raised when an HTTP redirect is received. GLib.Signal("redirect") Event Gtk.OnUrlHandler Occurs when the user hovers over a hyper-link. This event is raised when the mouse pointer hovers over a hyper link or leaves a link. In the former case the value of is the link target, and in the later the empty string. using System; using System.IO; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML ("<html><body>Click <a href=\"http://www.go-mono.com\">me</a>"); html.OnUrl += new OnUrlHandler (OnUrl); w.Add (html); w.ShowAll (); Application.Run (); } static void OnUrl (object o, OnUrlArgs args) { Console.WriteLine ("The mouse is over: " + args.Url); } } mcs sample.cs -pkg:gtkhtml-sharp mono sample.exe Hover in and out of the link to see the effects on the console. GLib.Signal("on_url") Event Gtk.SetBaseTargetHandler Raised when the base URL target is changed. GLib.Signal("set_base_target") Method System.Void Load a string into the HTML viewing widget. The string to load. Constructor A constructor. an object of type (FIXME: check this) Property System.String The base URL of the document. A containing the URL. GLib.Property("document_base") Property System.String To be added an object of type GLib.Property("target_base") Property System.Boolean Whether magic links (auto-recognizing URLs and making them clickable) is activated. a Property System.Boolean Whether magic smileys (automatically recognizing smileys and turning them into small graphics) is activated. a Property System.Boolean To be added a Property System.Boolean Whether or not to check spelling inline by indicating misspelled words. a Method System.Void Adds a header and footer to the HTML and prints it using . a a a a , a header generation routine a , a footer generation routine Method System.Void To be added a Method System.Void Prints this document using . a Method System.Int32 Gets the number of pages this HTML would print to given a context with the given header and footer heights. a a a a Event Gtk.ObjectRequestedHandler To be added GLib.Signal("object_requested") Property System.Boolean Whether the widget has an Undo option or not. a Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.IntPtr Sets the indentation level for the widget. a Method System.Void Default handler for the event. a a Override this method in a subclass to provide a default handler for the event. Method System.Void Writes bytes of content from to . a a a Use the overload with ulong size for 64 bit deployments. gtk-sharp-2.12.10/doc/en/Gtk/Global.xml0000644000175000001440000003506011345266756014333 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Global API elements for This class contains all the methods which are not directly attributable to a specific type. System.Object Method System.Void Disables automatic user locale usage. Only use this if you want to set a specific locale for your program other than the default user locale, or if you want to set different values for different locale categories. Most applications will not need to use this. Method Gtk.Widget Gets the widget associated with an event. a the that originally received , or . Method System.String Check if a version is compatible with the currently loaded Gtk library. a a a if the version is supported, or an error string describing the mismatch. This is typically only used by modules which want to check if they are compatible with the currently loaded version of Gtk+. Method System.Void Propagate an event from one widget to another. to propagate event to. to propagate. This function should be rarely used, look into event handler overriding instead. Method System.Boolean Activates a registered key binding. the to activate bindings on. a representing the key value to activate. a representing any Ctrl, Meta, or Shift modifiers to the key value. a indicating whether a binding was activated. Method System.String Sets the current locale according to the application environment. a corresponding to the locale set. This is equivalent to the C standard library call - setlocale (LC_ALL, ""), but also takes care of setup of the windowing environment used by . automatically does this, so it is not normally necessary for applications to call this method. Constructor Do not use. There are no instance members for this class. This constructor will be marked Obsolete and possibly removed in future versions. Property Pango.Language The current default language for this application. a This value can change during the life of a program, and is based on the current locale. It contains information such as the text direction of the current language. Property Gdk.Event Obtains a copy of the event currently being processed by Gtk#. a For example, if you get a event from , the current event will be the that triggered the signal. If there is no current event, the function returns . Property System.UInt32 Returns a representing the unix time of the current event. Returns the unix time for the current event. None. Method System.Void Converts a Red/Green/Blue color value to a Hue/Saturation/Value color value. the red component of the color as a the green component of the color as a the blue component of the color as a the resulting hue of the color as a the resulting saturation of the color as a the resulting value of the color as a Method System.Boolean Gets the state field of the current event. a to store the state in if one exists. if there is a current and it has a state field, otherwise . Property System.Boolean Checks if any events are pending. a This can be used to update the GUI and invoke timeouts etc. while doing some time intensive computation. /* computation going on */ ... while (Gtk.Global.EventsPending) { Gtk.Application.RunIteration (); } ... /* computation continued */ Method System.Void Deprecated. Do not use. a a a , a state a , a clip rectangle a , the widget a , a style detail a , Y origin a , Y origin a , the string to draw Draws a text string on with the given parameters. Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a To be added gtk-sharp-2.12.10/doc/en/Gtk/SubmenuPlacement.xml0000644000175000001440000000413111345266756016375 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Enumeration for placement of submenus. System.Enum GLib.GType(typeof(Gtk.SubmenuPlacementGType)) Field Gtk.SubmenuPlacement Place submenu top-to-bottom. Field Gtk.SubmenuPlacement Place submenu left-to-right. gtk-sharp-2.12.10/doc/en/Gtk/HButtonBox.xml0000644000175000001440000001110011345266756015154 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A button box should be used to provide a consistent layout of buttons throughout your application. This box provides a way of laying out buttons horizontally. The specific layout of buttons in this type of box is determined by the box's . Methods for manipulating button boxes are provided in the super classes, and . Gtk.ButtonBox Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The normal way to construct a horizontal button box Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property Gtk.ButtonBoxStyle The default layout style for horizontal button boxes. a System.Obsolete Property System.Int32 The default spacing (in pixels) for horizontal button boxes. a System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/DeleteFromCursorHandler.xml0000644000175000001440000000345511345266756017660 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the DeleteFromCursorHandler instance to the event. The methods referenced by the DeleteFromCursorHandler instance are invoked whenever the event is raised, until the DeleteFromCursorHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/MoveFocusHandler.xml0000644000175000001440000000333211345266756016334 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveFocusHandler instance to the event. The methods referenced by the MoveFocusHandler instance are invoked whenever the event is raised, until the MoveFocusHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/CursorOnMatchArgs.xml0000644000175000001440000000312311345266756016472 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gtk.TreeIter To be added. To be added. To be added. Property Gtk.TreeModel To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/EventBox.xml0000644000175000001440000001273211345266756014666 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A widget used to catch events for widgets which do not have their own window. The widget is a subclass of which also has its own window. It is useful since it allows you to catch events for widgets which do not have their own window. using Gtk; using Gdk; using System; public class eventbox { static void delete_event (object obj, DeleteEventArgs args) { Application.Quit(); } static void exitbutton_event (object obj, ButtonPressEventArgs args) { Application.Quit(); } public static void Main (string[] args) { Gtk.Window window; EventBox eventbox; Label label; Application.Init(); window = new Gtk.Window ("Eventbox"); window.DeleteEvent += new DeleteEventHandler (delete_event); window.BorderWidth = 10; eventbox = new EventBox (); window.Add (eventbox); eventbox.Show(); label = new Label ("Click here to quit"); eventbox.Add(label); label.Show(); label.SetSizeRequest(110, 20); eventbox.ButtonPressEvent += new ButtonPressEventHandler (exitbutton_event); eventbox.Realize(); window.Show(); Application.Run(); } } Gtk.Bin Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new . Creates a new . EventBox eb = new EventBox(); Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.Boolean Whether the event-trapping window of the eventbox is above the window of the child widget as opposed to below it. a GLib.Property("above-child") Property System.Boolean Whether the event box is visible, as opposed to invisible and only used to trap events. a GLib.Property("visible-window") gtk-sharp-2.12.10/doc/en/Gtk/ClientEventArgs.xml0000644000175000001440000000343511345266756016171 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventClient Get the event that was received from another application. A gtk-sharp-2.12.10/doc/en/Gtk/OutputHandler.xml0000644000175000001440000000262311345266756015730 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OutputHandler instance to the event. The methods referenced by the OutputHandler instance are invoked whenever the event is raised, until the OutputHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SelectionReceivedHandler.xml0000644000175000001440000000301011345266756020013 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionReceivedHandler instance to the event. The methods referenced by the SelectionReceivedHandler instance are invoked whenever the event is raised, until the SelectionReceivedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/PrinterRemovedArgs.xml0000644000175000001440000000302411345266756016710 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.Printer The removed printer. A . Event data. The event invokes delegates which pass event data via this class. gtk-sharp-2.12.10/doc/en/Gtk/RequestPageSetupHandler.xml0000644000175000001440000000250311345266756017673 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RequestPageSetupHandler instance to the event. The methods referenced by the RequestPageSetupHandler instance are invoked whenever the event is raised, until the RequestPageSetupHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/TextBufferSerializeFunc.xml0000644000175000001440000000237411345266756017677 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Byte To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Container+ContainerChild.xml0000644000175000001440000000532411345266756017737 00000000000000 gtk-sharp 2.12.0.0 System.Object Constructor To be added. To be added. To be added. To be added. Field Gtk.Container Protected internal data; the parent container. Field Gtk.Widget Protected internal data; the child widget. Property Gtk.Container The parent container. a Property Gtk.Widget The child widget. a A mixin class for expressing the relation between a container widget and its child widget(s). gtk-sharp-2.12.10/doc/en/Gtk/Stock.xml0000644000175000001440000013606311345266756014223 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Prebuilt common menu/toolbar items and corresponding icons Stock items represent commonly-used menu or toolbar items such as "Open" or "Exit". Each stock item is identified by a stock ID; stock IDs are just strings, but properties such as Gtk.Stock.Open are provided to avoid typing mistakes in the strings. Applications can register their own stock items in addition to those built-in to Gtk#. Each stock ID can be associated with a , which contains the user-visible label, keyboard accelerator, and translation domain of the menu or toolbar item; and/or with an icon stored in a . See for more information on stock icons. The connection between a and stock icons is purely conventional (by virtue of using the same stock ID); it is possible to register a stock item but no icon, and vice versa. System.Object Constructor Default constructor. Property System.String The "Zoom Out" item. an object of type Property System.String The "Zoom In" item. an object of type Property System.String The "Zoom to Fit" item. an object of type Property System.String The "Zoom 100%" item. an object of type Property System.String The "Yes" item. an object of type Property System.String The "Undo" item. an object of type Property System.String The "Underline" item. an object of type Property System.String The "Undelete" item. an object of type Property System.String The "Strikethrough" item. an object of type Property System.String The "Stop" item. an object of type Property System.String The "Spell Check" item. an object of type Property System.String The "Descending" item. an object of type Property System.String The "Ascending" item. an object of type Property System.String The "Font" item. an object of type Property System.String The "Color" item. an object of type Property System.String The "Save As" item. an object of type Property System.String The "Save" item. Tan object of type Property System.String The "Revert" item. an object of type Property System.String The "Remove" item. an object of type Property System.String The "Refresh" item. an object of type Property System.String The "Redo" item. an object of type Property System.String The "Quit" item. an object of type Property System.String The "Properties" item. an object of type Property System.String The "Print Preview" item. an object of type Property System.String The "Print" item. an object of type Property System.String The "Preferences" item. an object of type Property System.String The "Paste" item. an object of type Property System.String The "Open" item. an object of type Property System.String The "OK" item. an object of type Property System.String The "No" item. an object of type Property System.String The "New" item. an object of type Property System.String The "Missing Image" item. an object of type Property System.String The "Right" item. an object of type Property System.String The "Left" item. an object of type Property System.String The "Fill" item. an object of type Property System.String The "Center" item. an object of type Property System.String The "Jump to" item. an object of type Property System.String The "Italic" item. an object of type Property System.String The "Index" item. an object of type Property System.String The "Home" item. an object of type Property System.String The "Help" item. an object of type Property System.String The "Up" item. an object of type Property System.String The "Forward" item. an object of type Property System.String The "Down" item. an object of type Property System.String The "Back" item. an object of type Property System.String The "Top" item. an object of type Property System.String The "Last" item. an object of type Property System.String The "First" item. an object of type Property System.String The "Bottom" item. an object of type Property System.String The "Floppy" item. an object of type Property System.String The "Find and Replace" item. an object of type Property System.String The "Find" item. an object of type Property System.String The "Execute" item. an object of type Property System.String The "Drag-And-Drop multiple" icon. an object of type Property System.String The "Drag-And-Drop" icon. an object of type Property System.String The "Warning" item. an object of type Property System.String The "Question" item. an object of type Property System.String The "Info" item. an object of type Property System.String The "Error" item. an object of type Property System.String The "Delete" item. an object of type Property System.String The "Cut" item. an object of type Property System.String The "Copy" item. an object of type Property System.String The "Convert" item. an object of type Property System.String The "Close" item. an object of type Property System.String The "Clear" item. an object of type Property System.String The "CD-Rom" item. an object of type Property System.String The "Cancel" item. an object of type Property System.String The "Bold" item. an object of type Property System.String The "Apply" item. an object of type Property System.String The "Add" item. an object of type Property System.String The "Color Picker" item. a Method System.String[] Returns an array which lists all the names of the stock items. a with the names of the stock items. Property System.String The "Harddisk" item. a Property System.String The "Indent" item. a Property System.String The "Network" item. a Property System.String The "Unindent" item. a Method Gtk.StockItem Looks up a the StockId of the to return. the with ID if it exists, or otherwise. Property System.String About stock item a Property System.String Connect stock item. a Property System.String Directory stock item. a Property System.String Disconnect stock item. a Property System.String Edit stock item. a Property System.String File stock item. a Property System.String Media forward stock item. a Property System.String Media next stock item. a Property System.String Media pause stock item. a Property System.String Media play stock item. a Property System.String Media previous stock item. a Property System.String Media record stock item. a Property System.String Media rewind stock item. a Property System.String Media stop stock item. a Property System.String Fullscreen stock item. the stock string. Property System.String Info stock item. the stock string. Property System.String LeaveFullscreen stock item. the stock string. Property System.String Landscape orientation stock item. the stock string. Property System.String Portrait orientation stock item. the stock string. Property System.String Reverse landscape orientation stock item. the stock string. Property System.String Reverse portrait orientation stock item. the stock string. Property System.String SelectAll stock item. the stock string. Property System.String DialogAuthentication stock item. the stock string. Property System.String Discard stock item. the stock string. gtk-sharp-2.12.10/doc/en/Gtk/PostActivateHandler.xml0000644000175000001440000000400211345266756017027 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PostActivateHandler instance to the event. The methods referenced by the PostActivateHandler instance are invoked whenever the event is raised, until the PostActivateHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/FileChooserWidget.xml0000644000175000001440000011740311345266756016503 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Widget to allow the selection of files from a directory. is a widget suitable for selecting files. It is the main building block of a . Most applications will only need to use the latter; you can use GtkFileChooserWidget as part of a larger window if you have special needs. Note that does not have any methods of its own. Instead, you should use the functions that work on a . Gtk.VBox Gtk.FileChooser Method System.Boolean Sets the current folder for the chooser from an URI. a , the URI to use a , true if the folder could be changed successfully, false otherwise The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method System.Void Unselects all the files in the current folder of a file chooser. Method System.Boolean Sets as the current filename for the file chooser; If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . a a , true if both the folder could be changed and the file was selected successfully, false otherwise. This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Method System.Boolean Removes a folder URI from a file chooser's list of shortcut folders. a a See also . Method System.Boolean Adds a folder URI to be displayed with the shortcut folders in a file chooser. a a , true if the folder could be added successfully, false otherwise. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "file:///usr/share/mydrawprogram/Clipart" folder to the volume list. Method System.Void Selects all the files in the current folder of a file chooser. Method System.Boolean Selects the file at . If the URI doesn't refer to a file in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder that's part of . a a , true if both the folder could be changed and the URI was selected successfully, false otherwise. Method System.Void Removes from the list of filters that the user can select between. a Method System.Boolean Adds a folder to be displayed with the shortcut folders in a file chooser. a a Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "/usr/share/mydrawprogram/Clipart" folder to the volume list. Method System.Boolean Selects a filename. a a If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . Method System.Void Unselects a currently selected filename. a If the filename is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method System.Void Adds to the list of filters that the user can select between. a When a filter is selected, only files that are passed by that filter are displayed. Method System.Boolean Removes a folder from a file chooser's list of shortcut folders. a a See also . Method System.Void Unselects the file referred to by . a If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method System.Boolean Sets the current folder for the file chooser from a local filename. a a The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method System.Boolean Sets the file referred to by as the current file for the the file chooser. a a , true if both the folder could be changed and the URI was selected successfully, false otherwise. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected constructor. a System.Obsolete Constructor Constructor for internal use. a , pointer to underlying C object Constructor Public constructor. a , the action this chooser will perform Constructor Public constructor. a , the action this widget should perform a , the filesystem back-end to use. Property GLib.GType The for this object. a Property System.String The file chooser's current folder, if set from a URI. a Property Gtk.Widget An application-supplied widget to provide extra options to the user. a GLib.Property("extra-widget") Property System.String Property to represent the current name in the file selector, as if entered by the user. a Note that the name passed in here is a UTF-8 string rather than a filename. This function is meant for such uses as a suggested name in a "Save As..." dialog. Property Gtk.FileFilter The currently-applied file filter. a GLib.Property("filter") Property System.Boolean Sets whether only local files can be selected in the file selector. a If true (the default), then the selected file are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in , like , rather than the URI functions like . GLib.Property("local-only") Property System.Boolean Sets whether the preview widget set by should be shown for the current filename. a When this property is set to false, the file chooser may display an internally generated preview of the current file or it may display no preview at all. GLib.Property("preview-widget-active") Property System.String Internal function; gets the filename that should be previewed in a custom preview. a Not for general programmer use. Property System.String The URI for the currently selected file in the file selector. a If multiple files are selected, one of the filenames will be returned at random. If the file chooser is in folder mode, this function returns the selected folder. Property System.Boolean Sets whether the file chooser should display a stock label with the name of the file that is being previewed; the default is true. a Applications that want to draw the whole preview area themselves should set this to false and display the name themselves in their preview widget. GLib.Property("use-preview-label") Property System.String The current filename selected by the file chooser. a Property System.String The URI that should be previewed in a custom preview widget. a Property System.Boolean Sets whether multiple files can be selected in the file selector. a This is only relevant if the action is set to be or . It cannot be set with either of the folder actions. GLib.Property("select-multiple") Property Gtk.Widget An application-supplied widget to use to display a custom preview of the currently selected file. a To implement a preview, after setting the preview widget, you connect to the signal, and check or on each change. If you can display a preview of the new file, update your widget and set the preview active using Otherwise, set the preview inactive. When there is no application-supplied preview widget, or the application-supplied preview widget is not active, the file chooser may display an internally generated preview of the current file or it may display no preview at all. GLib.Property("preview-widget") Property Gtk.FileChooserAction Sets the type of operation that that the chooser is performing; the user interface is adapted to suit the selected action. a For example, an option to create a new folder might be shown if the action is but not if the action is . GLib.Property("action") Property System.String The current folder for the file chooser, when the chooser has selected a local filename. a Property System.String[] The filenames selected by this widget. a Property System.String[] The URIs selected by this widget. a Property Gtk.FileFilter[] The filters currently in use by this widget for patterns of files to display. a Property System.String[] The shortcut folders currently in use for this widget. a Property System.String[] The shortcut URIs currently allowed for this widget. a Event System.EventHandler This event is raised every time the selected file changes. GLib.Signal("selection-changed") Event System.EventHandler This signal is emitted when the user "activates" a file in the file chooser. This event can happen by double-clicking on a file in the file list, or by pressing Enter. Normally you do not need to connect to this signal. It is used internally by the file chooser code to know when to activate the default button in the dialog. GLib.Signal("file-activated") Event System.EventHandler This signal is emitted when the preview in a file chooser should be regenerated. For example, this can happen when the currently selected file changes. You should use this signal if you want your file chooser to have a preview widget. Once you have installed a preview widget with , you should update it when this signal is emitted. You can use the properties or to get the name of the file to preview. Your widget may not be able to preview all kinds of files; your callback must set to inform the file chooser about whether the preview was generated successfully or not. TODO: insert example from gtkfilechooser-preview in gtk+ docs. GLib.Signal("update-preview") Event System.EventHandler Event raised when the chooser changes the folder it's looking at. GLib.Signal("current-folder-changed") Property System.Boolean To be added a To be added GLib.Property("show-hidden") Event GLib.Signal("confirm-overwrite") Gtk.ConfirmOverwriteHandler Indicates a file overwrite has been requested. This event is raised when the user has selected a file name that already exists and the file chooser is in mode. Most applications just need to turn on the property and they will automatically get a stock confirmation dialog. Applications which need to customize this behavior should do that, and also connect to this event. A connected to this event must set to the value indicating the action to take. If the handler determines that the user wants to select a different filename, it should return . If it determines that the user is satisfied with his choice of file name, it should return . On the other hand, if it determines that the stock confirmation dialog should be used, it should return . Method Gtk.FileChooserConfirmation Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Property GLib.Property("do-overwrite-confirmation") System.Boolean Enables Overwrite Confirmation in the widget. is if confirmation should be performed. gtk-sharp-2.12.10/doc/en/Gtk/ExpandCollapseCursorRowHandler.xml0000644000175000001440000000311411345266756021214 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ExpandCollapseCursorRowHandler instance to the event. The methods referenced by the ExpandCollapseCursorRowHandler instance are invoked whenever the event is raised, until the ExpandCollapseCursorRowHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Gc.xml0000644000175000001440000000512511345266756013463 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A shell around ; represents a graphics context. TODO: add examples. System.Object Method System.Void Releases the that is passed in. a Method Gdk.GC Returns a with the specified values. a a a a a Constructor Basic constructor. gtk-sharp-2.12.10/doc/en/Gtk/PrinterStatusChangedHandler.xml0000644000175000001440000000255511345266756020535 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PrinterStatusChangedHandler instance to the event. The methods referenced by the PrinterStatusChangedHandler instance are invoked whenever the event is raised, until the PrinterStatusChangedHandler is removed from the event. gtk-sharp-2.12.10/doc/en/Gtk/DragBeginHandler.xml0000644000175000001440000000266011345266756016253 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragBeginHandler instance to the event. The methods referenced by the DragBeginHandler instance are invoked whenever the event is raised, until the DragBeginHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/DirectionChangedArgs.xml0000644000175000001440000000352511345266756017143 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gtk.TextDirection The direction of the text before the event. A gtk-sharp-2.12.10/doc/en/Gtk/SelectionNotifyEventArgs.xml0000644000175000001440000000355611345266756020075 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gdk.EventSelection The event which triggered this callback. A gtk-sharp-2.12.10/doc/en/Gtk/MenuPositionFunc.xml0000644000175000001440000000244711345266756016403 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. To be added. A delegate function for positioning a popup menu. Gets invoked by . System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ObjectDeleteHandler.xml0000644000175000001440000000146011345266756016757 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.10/doc/en/Gtk/Clipboard+RichTextReceivedFunc.xml0000644000175000001440000000213111345266756021034 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void the sending clipboard. format of the contents. the contents as rich text. Clipboard RichTextReceived Callback Delegate. Provides the clipboard contents as rich text. See . gtk-sharp-2.12.10/doc/en/Gtk/EditingStartedHandler.xml0000644000175000001440000000403311345266756017337 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EditingStartedHandler instance to the event. The methods referenced by the EditingStartedHandler instance are invoked whenever the event is raised, until the EditingStartedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/TestCollapseRowHandler.xml0000644000175000001440000000276411345266756017530 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TestCollapseRowHandler instance to the event. The methods referenced by the TestCollapseRowHandler instance are invoked whenever the event is raised, until the TestCollapseRowHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/EditedArgs.xml0000644000175000001440000000416711345266756015152 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.String The new text for the cell. A Property System.String The path string of the edited cell. A gtk-sharp-2.12.10/doc/en/Gtk/ItemFactoryCallback.xml0000644000175000001440000000152011345266756016770 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Delegate function to be invoked by . TODO: offer an example. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/Tooltips.xml0000644000175000001440000002341211345266756014746 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Add Tooltips to your widgets. Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time. They are especially helpful for adding more verbose descriptions of things such as in a toolbar. An individual tooltip belongs to a group of tooltips. A group is created by calling the constructor . Every tooltip in the group can then be turned off with and on with . To assign a tip to a particular , is used. Note: Tooltips can only be set on widgets which have their own X window. To add a tooltip to a that does not have its own , place the widget inside a and add a tooltip to that instead. The default appearance of all tooltips in a program is determined by the current Gtk theme that the user has selected. using Gtk; class ToolTipsExample { static void Main() { Application.Init(); Window win = new Window("Tooltips"); Button load_button, save_button; HBox hbox; Tooltips button_bar_tips; button_bar_tips = new Tooltips (); // Create the buttons and pack them into a Gtk.HBox hbox = new HBox (true, 2); win.Add(hbox); load_button = new Button ("Load a file"); hbox.Add(load_button); save_button = new Button ("Save a file"); hbox.Add(save_button); // Add the tips button_bar_tips.SetTip (load_button, "Load a new document into this window", "longer explanation"); button_bar_tips.SetTip (save_button, "Saves the current document to a file", "longer explanation"); win.ShowAll(); Application.Run(); } } Gtk.Object Method System.Void Allows the user to see your tooltips as they navigate your application. Allows the user to see your tooltips as they navigate your application. Method System.Void Causes all tooltips in the tooltips group to become inactive. Causes all tooltips in the tooltips group to become inactive. Any widgets that have tips associated with that group will no longer display their tips until they are enabled again with . Method System.Void Ensures that the window used for displaying the given tooltip is created. Ensures that the window used for displaying the given tooltip is created. (Applications should never have to call this function, since Gtk# takes care of this.) Method System.Void Adds a tooltip containing the specified message to the specified . an object of type an object of type an object of type Adds a tooltip containing the specified message to the specified . Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates an empty group of tooltips. Creates an empty group of tooltips. This function initializes a structure. Without at least one such structure, you can not add individual tips to your application. Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.UInt32 Number of milliseconds of mouse-hover before tooltips pop up. a Method System.Boolean Determines the tooltips and the widget they belong to from the window in which they are displayed. a a a a This function is mostly intended for use by accessibility technologies; applications should have little use for it. System.Obsolete gtk-sharp-2.12.10/doc/en/Gtk/PixbufInsertedHandler.xml0000644000175000001440000000275311345266756017367 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PixbufInsertedHandler instance to the event. The methods referenced by the PixbufInsertedHandler instance are invoked whenever the event is raised, until the PixbufInsertedHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/ColorSelectionChangePaletteWithScreenFunc.xml0000644000175000001440000000236411345266756023315 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added. Do not use. TODO: Not called by any other class; confirm that this code is necessary. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/SelectCursorRowHandler.xml0000644000175000001440000000276411345266756017543 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectCursorRowHandler instance to the event. The methods referenced by the SelectCursorRowHandler instance are invoked whenever the event is raised, until the SelectCursorRowHandler is removed from the event. System.Delegate System.Void gtk-sharp-2.12.10/doc/en/Gtk/InsertTextArgs.xml0000644000175000001440000000506011345266756016056 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Event data. The event invokes delegates which pass event data via this class. GLib.SignalArgs Constructor Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property System.Int32 The length of the inserted text. A Property System.String The text that was inserted. A Property Gtk.TextIter The location where the text was inserted. A gtk-sharp-2.12.10/doc/Makefile.am0000644000175000001440000000345011136513342013274 00000000000000ASSEMBLIES = \ glib-sharp.dll \ pango-sharp.dll \ atk-sharp.dll \ gdk-sharp.dll \ gtk-sharp.dll \ glade-sharp.dll \ gnome-vfs-sharp.dll \ art-sharp.dll \ gnome-sharp.dll \ gconf-sharp.dll \ gconf-sharp-peditors.dll \ gtkhtml-sharp.dll \ rsvg-sharp.dll \ vte-sharp.dll \ gtk-dotnet.dll UPDATE_ASSEMBLIES = $(addprefix -assembly:lib/, $(ASSEMBLIES)) UPDATER = $(MONODOCER) -path:en -pretty $(UPDATE_ASSEMBLIES) if ENABLE_MONODOC SOURCESDIR=$(prefix)/lib/monodoc/sources TARGETS=gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.source else SOURCESDIR=$(datadir) TARGETS= endif monodocdir=$(SOURCESDIR) monodoc_DATA=$(TARGETS) assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.tree: gtk-sharp-docs.zip gtk-sharp-docs.zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml $(MDASSEMBLER) --ecma $(srcdir)/en -o gtk-sharp-docs get-assemblies: echo "assumes gnome-sharp and gtk-sharp checkouts in same parent" mkdir -p lib cp $(top_builddir)/*/*.dll lib cp $(top_builddir)/*/*.dll.config lib cp $(top_builddir)/../gnome-sharp/*/*.dll lib cp $(top_builddir)/../gnome-sharp/*/*.dll.config lib cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll lib cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll.config lib update: get-assemblies $(UPDATER) update-delete: get-assemblies $(UPDATER) --delete CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib EXTRA_DIST = \ gtk-sharp-docs.source NAMESPACES=GLib Pango Atk Gdk Gtk Gtk.DotNet Glade Art Gnome.Vfs Gnome GConf GConf.PropertyEditors Rsvg Vte dist-hook: mkdir -p $(distdir)/en cp $(srcdir)/en/*.xml $(distdir)/en/ for i in $(NAMESPACES); do \ mkdir -p $(distdir)/en/$$i; \ cp $(srcdir)/en/$$i/*.xml $(distdir)/en/$$i; \ done push: scp gtk-sharp-docs* root@www.go-mono.com:/usr/lib/monodoc/sources/ gtk-sharp-2.12.10/doc/gtk-sharp-docs.source0000644000175000001440000000030311131212550015272 00000000000000 gtk-sharp-2.12.10/doc/README0000644000175000001440000000123111131157045012112 00000000000000Compiling and installing the Gtk# Documentation Compile and install monodoc cd monodoc/ ./autogen.sh --prefix=/usr/local make make install Compile the documentation for gtk-sharp cd gtk-sharp/doc make assemble cp gtk-sharp-docs.* `pkg-config monodoc --variable=sourcesdir` If things are fine, you should have in the Monodoc sources directory the following files: gtk-sharp-docs.source gtk-sharp-docs.tree gtk-sharp-docs.zip netdocs.source netdocs.tree netdocs.zip Start monodoc, by typing `monodoc' If it doesn't run, please change the paths in the makefile and point ASSEMBLER and BROWSER to where you put your assembler.exe and browser.exe. gtk-sharp-2.12.10/doc/Makefile.in0000644000175000001440000003154711345266364013330 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = doc DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ ChangeLog ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(monodocdir)" monodocDATA_INSTALL = $(INSTALL_DATA) DATA = $(monodoc_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ASSEMBLIES = \ glib-sharp.dll \ pango-sharp.dll \ atk-sharp.dll \ gdk-sharp.dll \ gtk-sharp.dll \ glade-sharp.dll \ gnome-vfs-sharp.dll \ art-sharp.dll \ gnome-sharp.dll \ gconf-sharp.dll \ gconf-sharp-peditors.dll \ gtkhtml-sharp.dll \ rsvg-sharp.dll \ vte-sharp.dll \ gtk-dotnet.dll UPDATE_ASSEMBLIES = $(addprefix -assembly:lib/, $(ASSEMBLIES)) UPDATER = $(MONODOCER) -path:en -pretty $(UPDATE_ASSEMBLIES) @ENABLE_MONODOC_FALSE@SOURCESDIR = $(datadir) @ENABLE_MONODOC_TRUE@SOURCESDIR = $(prefix)/lib/monodoc/sources @ENABLE_MONODOC_FALSE@TARGETS = @ENABLE_MONODOC_TRUE@TARGETS = gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.source monodocdir = $(SOURCESDIR) monodoc_DATA = $(TARGETS) CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib EXTRA_DIST = \ gtk-sharp-docs.source NAMESPACES = GLib Pango Atk Gdk Gtk Gtk.DotNet Glade Art Gnome.Vfs Gnome GConf GConf.PropertyEditors Rsvg Vte all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-monodocDATA: $(monodoc_DATA) @$(NORMAL_INSTALL) test -z "$(monodocdir)" || $(MKDIR_P) "$(DESTDIR)$(monodocdir)" @list='$(monodoc_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(monodocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(monodocdir)/$$f'"; \ $(monodocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(monodocdir)/$$f"; \ done uninstall-monodocDATA: @$(NORMAL_UNINSTALL) @list='$(monodoc_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(monodocdir)/$$f'"; \ rm -f "$(DESTDIR)$(monodocdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(monodocdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-monodocDATA install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-monodocDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ dist-hook distclean distclean-generic distclean-libtool \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-monodocDATA install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am uninstall uninstall-am uninstall-monodocDATA assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.tree: gtk-sharp-docs.zip gtk-sharp-docs.zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml $(MDASSEMBLER) --ecma $(srcdir)/en -o gtk-sharp-docs get-assemblies: echo "assumes gnome-sharp and gtk-sharp checkouts in same parent" mkdir -p lib cp $(top_builddir)/*/*.dll lib cp $(top_builddir)/*/*.dll.config lib cp $(top_builddir)/../gnome-sharp/*/*.dll lib cp $(top_builddir)/../gnome-sharp/*/*.dll.config lib cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll lib cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll.config lib update: get-assemblies $(UPDATER) update-delete: get-assemblies $(UPDATER) --delete dist-hook: mkdir -p $(distdir)/en cp $(srcdir)/en/*.xml $(distdir)/en/ for i in $(NAMESPACES); do \ mkdir -p $(distdir)/en/$$i; \ cp $(srcdir)/en/$$i/*.xml $(distdir)/en/$$i; \ done push: scp gtk-sharp-docs* root@www.go-mono.com:/usr/lib/monodoc/sources/ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/doc/ChangeLog0000644000175000001440000023346211131157045013021 000000000000002008-03-17 Mike Kestner * en/Gtk/HBox.xml: * en/Gtk/VBox.xml: move example tag outside summary. 2006-08-09 Alp Toker * GLib/Thread.xml: * Gdk/Threads.xml: Explain proper thread awareness init. 2006-03-23 Hector E. Gomez Morales * en/Gtk/Button.xml * en/Gtk/CellRendererText.xml * en/Gtk/CellLayoutDataFunc.xml * en/Gtk/CellRenderer.xml: Docs. 2006-03-22 Hector E. Gomez Morales * en/Gtk/AboutDialogActivateLinkFunc.xml * en/Gtk/Accelerator.xml * en/Gtk/AccelGroup.xml * en/Gtk/Action.xml * en/Gtk/ActionGroup.xml * en/Gtk/Application.xml: Docs. 2006-03-01 Hector E. Gomez Morales * en/Gdk/PixbufRotation.xml * en/Gdk/Pixbuf.xml * en/Gdk/PixbufSaveFunc.xml: Docs. 2005-08-28 Ben Maurer * Makefile.am (gtk-sharp-docs.zip gtk-sharp-docs.tree): Use mdassembler. * en/Gtk/NodeSelection.xml: Docs 2005-08-14 John Luke * en/Gtk/IconView.xml: add iconview example based on GtkDemo code 2005-08-09 Dan Winship * en/index.xml: remove gda/gnomedb docs * en/Gda: * en/Gda.xml: * en/GnomeDb: * en/GnomeDb.xml: gone 2005-07-19 John Luke * en/Gtk/TreeModelFilter.xml: add an example 2005-06-22 Mike Kestner * gen-vm-docs.cs : some monodocer formatting changes and attr lookup enhancements. 2005-06-16 Mike Kestner * en/*/*.xml : run the versionator to add since elements for 2.6. 2005-06-16 Mike Kestner * en/*/*.xml : run the versionator to add since elements for 2.4. 2005-06-10 Dan Winship * en/Gnome/App.xml (AppId): * en/Gnome/AppBar.xml (Interactivity, HasProgress, HasStatus): * en/Gtk/MessageDialog.xml (MessageType): now read-write 2005-06-06 Dan Winship * en/Gdk/PangoRenderer.xml: update return type of GetDefault 2005-06-01 Dan Winship * en/GLib/Value.xml: document the new string[] methods (and all of the previously-undocumented explicit cast operators). * en/Gtk/AboutDialog.xml: document Authors, Artists, Documenters. 2005-05-24 Dan Winship * en/Gdk/PixdataType.xml: * en/Gnome/PaperSelectorFlags.xml: * en/Gnome/PrintDialogFlags.xml: * en/Gnome/PrintDialogRangeFlags.xml: * en/Gnome/PrintUnitBase.xml: Regen, adding FlagsAttribute * en/index.xml * en/Gtk/ArgFlags.xml * en/Gtk/RcTokenType.xml: remove removed types 2005-05-23 Mike Kestner * Makefile.am : add an update-delete target for --delete. * en/*/*.xml : update-delete. 2005-05-23 Mike Kestner * Makefile.am : switch to monodocer * updater : kill * en/*/*.xml : enormo-diff from monodocer first run without --delete. 2005-05-07 John Luke * en/Pango/FontsetForeachFunc.xml: * en/Pango/Matrix.xml: * en/Pango/FcDecoder.xml: * en/Pango/FcDecoderFindFunc.xml: * en/Pango/Renderer.xml: * en/Pango/AttrDataCopyFunc.xml: * en/Pango/EllipsizeMode.xml: * en/Pango/RenderPart.xml: doc some of these 2005-05-04 John Luke * en/Gtk/AboutDialog.xml: doc * en/Gtk/CellRendererCombo.xml: doc * en/Gtk/CellRendererProgress.xml: doc * en/Gtk/IconView.xml: doc 2005-05-04 Dan Winship * en/GLib/GType.xml: update, and remove a bunch of examples of how not to derive types any more... * en/GLib/GTypeAttribute.xml: add 2005-05-04 Dan Winship * updater/updater.cs (GetFieldVisibility, GetMethodVisibility): return "protected" for "protected internal" members (rather than returning null and causing them to be ignored). * en/Gtk/BoxChild.xml: * en/Gtk/ButtonBoxChild.xml: * en/Gtk/FixedChild.xml: * en/Gtk/LayoutChild.xml: * en/Gtk/MenuChild.xml: * en/Gtk/NotebookChild.xml: * en/Gtk/PanedChild.xml: * en/Gtk/TableChild.xml: * en/Gtk/ToolbarChild.xml: document constructors 2005-05-03 Dan Winship * document new callback properties / deprecate some old callback-setting methods * updater/updater.cs (Update): close the writer when we're done. (Compare): don't write "updates" to a file if its FullName is wrong. 2005-04-24 Dan Winship * en/Pango/Attribute.xml, etc: document new Attribute stuff. 2005-04-21 Dan Winship * en/GLib/Marshaller.xml: update * en/Gtk/ModuleDisplayInitFunc.xml: * en/Gtk/ModuleInitFunc.xml: gone 2005-04-22 John Luke * en/*/*.xml: run gen*.exe to fill in some docs on the new gtk, atk, gdk, and pango stuff for 2.6 2005-04-08 Dan Winship * en/Gtk/Container.xml: document new children stuff 2005-04-04 Dan Winship * en/Pango/Scale.xml: update 2005-04-01 Dan Winship * en/Gdk/Pixbuf.xml: * en/Gdk/PixbufAnimation.xml: * en/Gdk/PixbufLoader.xml: * en/Gtk/Image.xml: document new/updated stream/resource constructors 2005-03-15 Dan Winship * en/Gtk/NodeStore.xml (AddNode): * en/Gtk/TreeNode.xml (AddChild): I, for one, welcome our new insert overloads. * en/Gtk/TreeNodeRemovedHandler.xml: add "child" arg 2005-02-23 Dan Winship * en/GnomeDb/EditorClass.xml: gone * en/Gtk/AccelActivateArgs.xml: * en/Gtk/AccelActivateHandler.xml: * en/Gtk/AccelGroup.xml: * en/Gtk/AccelMap.xml: * en/Gtk/ActionGroup.xml: * en/Gtk/MapChangedArgs.xml: * en/Gtk/MapChangedHandler.xml: * en/Gtk/Widget.xml: * en/Gtk/WidgetEventAfterArgs.xml: * en/Gtk/WidgetEventAfterHandler.xml: document newly exposed signals, args, handlers * en/Gda/*xml: rototilled by parser changes 2005-02-18 Mike Kestner * en/Gtk/ClipboardGetFunc.xml : fix param list. 2005-02-15 Dan Winship * updater/updater.cs (Compare): handle BaseType changes (Generate, AddTypeSignature): fix spelling of "delegate" * en/*: regenerate to update BaseType nodes 2005-02-11 Dan Winship * en/Gtk/Widget.xml (StyleGetValist, StyleGetProperty): update 2005-02-07 Ben Maurer * en/Gdk/Point.xml, en/Gdk/Rectangle.xml: Document new members. 2005-01-28 Dan Winship * en/GLib/NotifyArgs.xml: * en/GLib/NotifyHandler.xml: * en/GLib/Object.xml (AddNotification, RemoveNotification): document 2005-01-18 Dan Winship * en/GLib/Marshaller.xml (StringFormat): document * en/Gtk/MessageDialog.xml: update ctors 2005-01-07 Shane Landrum * en/Glade/*: Cleaned up some parameters, added docs. 2005-01-07 Shane Landrum * en/Gnome/*: Cleaned up some sections to include links to the types they use; edited sections. 2005-01-07 Shane Landrum * en/GConf/ChangeSet.xml * en/GConf/NoSuchKeyException.xml * en/GConf/NotifyEventArgs.xml * en/GConf/ClientBase.xml * en/GConf/NotifyFuncNative.xml * en/GConf/Client.xml: Cleaned up and added docs. 2005-01-06 Dan Winship * en/Gtk/StockManager.xml: resurrect and update 2005-01-05 Shane Landrum * en/Gtk/XEmbedMessageType.xml * en/Gtk/TargetPair.xml : Marked "Do not use." * en/Gtk/ToggleAction.xml * en/Gtk/Socket.xml * en/Gtk/Style.xml * en/Gtk/ToggleActionEntry.xml * en/Gtk/VButtonBox.xml: Added docs. 2005-01-05 Shane Landrum * en/Gtk/SignalFunc.xml * en/Gtk/Signal.xml * en/Gtk/RcProperty.xml * en/Gtk/PrintFunc.xml * en/Gtk/PreviewType.xml: Marked "Do not use." * en/Gtk/RadioAction.xml * en/Gtk/Toolbar.xml * en/Gtk/Rc.xml: Added docs. 2005-01-05 Shane Landrum * en/Gtk/*ImageData.xml: Removed, see bugzilla.ximian.com #70894. * en/Gtk/ListStore.xml * en/Gtk/MessageDialog.xml * en/Gtk/Main.xml * en/Gtk/Layout.xml * en/Gtk/NodeStore.xml * en/Gtk/Label.xml * en/Gtk/MatchType.xml * en/Gtk/Object.xml: Added docs. 2005-01-05 Shane Landrum * en/Gtk/Item.xml * en/Gtk/Input.xml * en/Gtk/ToolItem.xml * en/Gtk/UIManager.xml: Added docs. * en/Gtk/IMStatusStyle.xml * en/Gtk/IMPreeditStyle.xml * en/Gtk/IMContextInfo.xml: Marked "do not use" pending resolution of bug 71021. 2005-01-04 Shane Landrum * en/Gtk/ScreenChangedArgs.xml * en/Gtk/PropertyNotifyEventArgs.xml * en/Gtk/PreActivateArgs.xml * en/Gtk/PopupContextMenuArgs.xml * en/Gtk/PostActivateArgs.xml * en/Gtk/PathClickedArgs.xml * en/Gtk/NoExposeEventArgs.xml * en/Gtk/PixbufInsertedArgs.xml: Documented event args. 2005-01-04 Shane Landrum * en/Gtk/Image.xml * en/Gtk/RetrieveSurroundingArgs.xml * en/Gtk/IMMulticontext.xml * en/Gtk/FileInfo.xml * en/Gtk/FileInfoType.xml * en/Gtk/IMStatusStyle.xml * en/Gtk/RetrieveSurroundingHandler.xml * en/Gtk/IMPreeditStyle.xml: Added docs. 2005-01-03 Shane Landrum * en/Gtk/IMContextSimple.xml * en/Gtk/IMContext.xml * en/Gtk/IMContextInfo.xml: Added docs. 2005-01-03 Shane Landrum * en/Gtk/HButtonBox.xml * en/Gtk/Global.xml * en/Gtk/FontButton.xml: Add docs. 2005-01-03 Mike Kestner * en/Gtk/TreeNodeAttribute.xml : document ListOnly and add example. 2005-01-03 Shane Landrum * en/Gtk/DrawingArea.xml * en/Gtk/Expander.xml * en/Gtk/ComboBox.xml * en/Gtk/Style.xml * en/Gtk/EntryCompletion.xml * en/Gtk/EventBox.xml: Added docs; turned some @param to . 2005-01-03 Shane Landrum * en/Gtk/DrawGdkArgs.xml * en/Gtk/ContainerChild.xml * en/Gtk/DestroyNotify.xml * en/Gtk/Draw.xml * en/Gtk/CellViewMenuItem.xml * en/Gtk/CellView.xml * en/Gtk/Callback.xml * en/Gtk/Container.xml: Added docs. 2005-01-02 Shane Landrum * en/Gtk/ComboBox.xml: Doc edits. * en/Gtk/ContainerChild.xml * en/Gtk/Drag.xml * en/Gtk/Draw.xml * en/Gtk/CellViewMenuItem.xml * en/Gtk/DisconnectProxyArgs.xml * en/Gtk/CellView.xml * en/Gtk/Container.xml: added docs. 2005-01-02 Shane Landrum * en/Gtk/ComboBox.xml * en/Gtk/CellViewMenuItem.xml * en/Gtk/CellView.xml * en/Gtk/CellRendererSepText.xml * en/Gtk/ConnectProxyArgs.xml * en/Gtk/Combo.xml * en/Gtk/CellRendererText.xml * en/Gtk/CheckMenuItem.xml: Added docs. 2004-12-31 Shane Landrum * en/Gtk/Button.xml * en/Gtk/Calendar.xml * en/Gtk/ButtonBox.xml * en/Gtk/Bindings.xml * en/Gtk/CellRenderer.xml: Added docs. 2004-12-31 Shane Landrum * en/Gtk/ArgFlags.xml * en/Gtk/Arg.xml: Added "Do not use" marks. * en/Gtk/Action.xml * en/Gtk/AddWidgetArgs.xml * en/Gtk/Alignment.xml * en/Gtk/AccelGroup.xml: Added docs 2004-12-31 Shane Landrum * en/Gtk/FileSystem.xml: Wording tweak. * en/Gtk/ActionGroup.xml * en/Gtk/Action.xml * en/Gtk/ActionEntry.xml * en/Gtk/AccelGroup.xml * en/Gtk/AccelMap.xml: Added docs. 2004-12-31 Shane Landrum * en/Gtk/FileSystem.xml * en/Gtk/FileSystemUnix.xml * en/Gtk/FileSystemVolume.xml * en/Gtk/FileSystemWin32.xml: Filesystem docs. * en/Gtk/FilesAddedHandler.xml * en/Gtk/FilesChangedHandler.xml * en/Gtk/FilesRemovedHandler.xml: Handler docs. * en/Gtk/FileInfoType.xml * en/Gtk/FileSystemError.xml: Docs for some enums. 2004-12-30 Shane Landrum * en/Gtk/FileSystem.xml * en/Gtk/FileInfo.xml * en/Gtk/FileInfoType.xml * en/Gtk/FileSystemUnix.xml * en/Gtk/FileSystemVolume.xml * en/Gtk/FileSystemWin32.xml * en/Gtk/FileFilterInfo.xml: Docs for filesystem-handling classes. 2004-12-30 Shane Landrum * en/Gtk/IconSource.xml * en/Gtk/IconThemeFile.xml * en/Gtk/IconThemeFileParseError.xml * en/Gtk/IconThemeFileSectionFunc.xml * en/Gtk/IconTheme.xml * en/Gtk/IconThemeFileLineFunc.xml: Docs for icon-theme classes. 2004-12-30 Shane Landrum * en/Gtk/Scale.xml * en/Gtk/Paned.xml * en/Gtk/ProgressBar.xml * en/Gtk/Plug.xml * en/Gtk/MovementStep.xml: Docs, some for 2.4 changes. 2004-12-30 Shane Landrum * en/Gtk/FilesAddedArgs.xml * en/Gtk/FilePath.xml * en/Gtk/FilesRemovedArgs.xml * en/Gtk/FileFolder.xml * en/Gtk/FilesChangedArgs.xml: Filesystem-handling docs. * en/Gtk/ObjectRequestedArgs.xml * en/Gtk/MatchSelectedArgs.xml * en/Gtk/ChangedArgs.xml * en/Gtk/ActionActivatedArgs.xml: Event data docs. 2004-12-30 Mike Kestner * en/Gtk/IterFactoryEntry.xml : fix a make assemble breakage. * en/Gtk/TreeView.xml : docs for new InsertColumn overloads. 2004-12-30 Shane Landrum * en/Gtk/ItemFactory.xml * en/Gtk/MenuShell.xml * en/Gtk/MenuEntry.xml * en/Gtk/Menu.xml * en/Gtk/ItemFactoryEntry.xml * en/Gtk/MenuCallback.xml: Docs for menus and menu creation. * en/Gtk/Notebook.xml: Docs for a 2.4 change. 2004-12-30 Shane Landrum * en/Gtk/TreeViewColumn.xml * en/Gtk/TreeStore.xml * en/Gtk/TreeView.xml * en/Gtk/TreeRowReference.xml * en/Gtk/TreeModelFilter.xml: Add docs 2004-12-29 John Luke * gen-intptr-ctor-docs.cs: docs for Type (IntPtr) ctor * gen-gtype-ctor-docs.cs: docs for Type (GType) ctor * gen-finalize-docs.cs: docs Finalize methods * gen-gtype-docs.cs: docs GType properties, based off of gen-vm-docs.cs * en/*.xml: run these 4 tools for all the assemblies 2004-12-29 Shane Landrum * en/Gtk/FileChooserEmbed.xml * en/Gtk/FileChooserDialog.xml * en/Gtk/FileChooserWidget.xml * en/Gtk/FileFilter.xml * en/Gtk/FileFilterFlags.xml * en/Gtk/FileChooser.xml: file chooser and filter docs. 2004-12-28 Jeroen Zwartepoorte * en/Gnome.Vfs/*.xml: more docs. 2004-12-28 Jeroen Zwartepoorte * en/Gnome.Vfs/*.xml: remove docs for files that no longer exist. 2004-12-27 Jeroen Zwartepoorte * en/Gnome.Vfs.xml: * en/Gnome.Vfs/*.xml: major doc commit (more to follow). 2004-12-23 Mike Kestner * en/GLib/ClassInitializerAttribute.xml : doc new attr. * en/Gtk/BindingAttribute.xml : doc new attr. 2004-12-22 Dan Winship Update for changes from automatic field generation. * en/Gdk/Colormap.xml (Size): New read-only property. * en/Gdk/Image.xml (Bpp, Bpl, Depth, ByteOrder, BitsPerPixel, Width, Visual, Type, Height): New read-only properties * en/Gtk/FileSelection.xml (MainVBox): New read-only property * en/Gtk/FontSelectionDialog.xml (ApplyButton, CancelButton, OkButton): New read-only properties. * en/Gtk/RcStyle.xml (Name, Xthickness, Ythickness, FontDesc): New read-only properties. * en/Gtk/Style.xml (Xthickness, Ythickness, FontDesc): New read-only properties. * en/Gtk/Toolbar.xml (NumChildren): New read-only property. * en/Gtk/Widget.xml (Requisition): New read-write property. * en/Gnome/App.xml (Contents, Statusbar): Now read-write rather than write-only (Name, Prefix, AccelGroup): New read-only properties. * en/Gnome/DateEdit.xml (InitialTime): Fixed to use DateTime rather than ulong. * en/Gnome/Druid.xml (FinishButton, NextButton, HelpButton, BackButton, CancelButton): New read-only properties. * en/Gnome/DruidPageEdge.xml (BgColor, Title, TextboxColor, TextColor, LogoBgColor, Watermark, TopWatermark, TitleColor, Logo, Text): Now read-write rather than write-only. (Position): New read-only property. * en/Gnome/DruidPageStandard.xml (ContentsBackground, TitleForeground, LogoBackground, Background): Now read-write rather than write-only. (VBox): New read-only property. * en/Gnome/FontPicker.xml (Font): Fixed to use Gdk.Font rather than IntPtr. 2004-12-22 Dan Winship * en/Gtk/Decorated.xml: * en/Gtk/FileChooserDefault.xml: * en/Gtk/FileChooserEntry.xml: * en/Gtk/FileChooserProp.xml: * en/Gtk/PathBar.xml: * en/Gtk/RBNode.xml: * en/Gtk/RBTree.xml: * en/Gtk/RBTreeTraverseFunc.xml: * en/Gtk/RBTreeView.xml: * en/Gtk/Text.xml: * en/Gtk/TextBTree.xml: * en/Gtk/TextCounter.xml: * en/Gtk/TextLineSegment.xml: * en/Gtk/TextLineSegmentClass.xml: * en/Gtk/TextLogAttrCache.xml: * en/Gtk/TextMarkBody.xml: * en/Gtk/TextSegCheckFunc.xml: * en/Gtk/TextSegCleanupFunc.xml: * en/Gtk/TextSegDeleteFunc.xml: * en/Gtk/TextSegLineChangeFunc.xml: * en/Gtk/TextSegSplitFunc.xml: * en/Gtk/TextTagInfo.xml: * en/Gtk/TextToggleBody.xml: * en/Gtk/TextUtilCharChosenFunc.xml: gone * en/Gtk/ThemeEngine.xml: mostly gone 2004-12-21 Mike Kestner * *.xml : fix some bad enum value docs. 2004-12-21 Dan Winship * en/Gtk/CheckMenuItem.xml (EmitToggled): document * en/Gnome/PixmapEntry.xml (GnomeEntry, GtkEntry): gone (sort of) * updater/updater.cs: remove unused vars 2004-12-21 Jeroen Zwartepoorte * en/Gnome.Vfs.xml: * en/Gnome.Vfs/*.xml: Start documenting Gnome.Vfs. 2004-12-21 Jeroen Zwartepoorte * en/Gnome.Vfs/*.xml : updater run for recent changes. Remove obsolete ModuleCallback*[In|Out].xml files. 2004-12-20 John Luke * en/Gtk/Widget.xml: finish * en/Gtk/Window.xml: finish * en/Gtk/*.xml: random stuff, mostly enums 2004-12-20 John Luke * en/Gtk/CellView.xml: doc most of this * en/Gtk/EntryCompletion.xml: add an example from GtkDemo 2004-12-20 Dan Winship * en/Gtk/TextCharPredicate.xml: update signature... this is usable now * en/Atk/NoOpObject.xml (GetCharacterAtOffset): * en/Atk/Text.xml (GetCharacterAtOffset): * en/Gtk/Entry.xml (InvisibleChar): * en/Pango/Global.xml (UnicharDirection, ScriptForUnichar): * en/Vte/Terminal.xml (IsWordChar): * en/Vte/TerminalAccessible.xml (GetCharacterAtOffset): document newly-wrapped methods 2004-12-20 Dan Winship * en/Gtk/StockManager.xml: gone * en/Gtk/Stock.xml (Lookup): document here 2004-12-20 Mike Kestner * en/Gnome.Vfs/*.xml : updater run for recent changes. 2004-12-17 Shane Landrum * en/Gtk/Tooltips.xml * en/Gtk/ToggleToolButton.xml * en/Gtk/ToolItem.xml * en/Gtk/ToolbarChildType.xml * en/Gtk/SeparatorToolItem.xml * en/Gtk/TooltipSetArgs.xml: Docs for tooltips and toolbar tools. 2004-12-17 Dan Winship * en/Gnome/FontPicker.xml (SetFontName): * en/Gnome/IconEntry.xml (SetFilename): * en/GnomeDb/Combo.xml (SetModel): * en/GnomeDb/List.xml (SetModel): * en/Gtk/Combo.xml (SetValueInList): * en/Gtk/FontButton.xml (SetFontName): * en/Gtk/FontSelection.xml (SetFontName): * en/Gtk/Image.xml (GetStock, GetIconSet, GetPixmap, GetImage): * en/Gtk/Table.xml (SetRowSpacing, GetRowSpacing): Newly-visible methods * en/Gnome/Entry.xml (OnTextInserted): * en/Gnome/FileEntry.xml (OnTextInserted): belatedly update for previous change 2004-12-17 Shane Landrum * en/Gtk/FontSelectionDialog.xml: Doc 1 property * en/Gtk/TargetEntry.xml * en/Gtk/TargetPair.xml * en/Gtk/SelectionData.xml * en/Gtk/SelectionGetArgs.xml * en/Gtk/SelectionNotifyEventArgs.xml * en/Gtk/SelectionRequestEventArgs.xml: Docs for selection-related and DND code. * en/Gtk/Stock.xml: Doc some new items for 2.4 * en/Gtk/ToolButton.xml: Add docs 2004-12-17 Shane Landrum * en/Gtk/RadioAction.xml * en/Gtk/RadioActionEntry.xml * en/Gtk/RadioButton.xml * en/Gtk/RadioMenuItem.xml * en/Gtk/RadioToolButton.xml: Add docs 2004-12-16 Dan Winship * en/Gtk/InputArgs.xml (NewValue): * en/Gtk/ToggleSizeRequestedArgs.xml (Requisition): now write-only rather than read-only * en/Gtk/SizeRequestedArgs.xml (Requisition): * en/Gtk/TextInsertedArgs.xml (Position): now read-write * en/Gtk/Entry.xml (OnTextInserted): "position" is now "ref" rather than "out" * en/Gtk/RowsReorderedArgs.xml (NewOrder): changed, but still broken 2004-12-16 Dan Winship * en/Art/AlphaGamma.xml: * en/Gtk/TextAttributes.xml (Refcount): * en/Pango/GlyphString.xml (Space): these are now private * en/Gda/XqlItem.xml: * en/Glade/SignalInfo.xml: * en/Gnome.Vfs/ModuleCallbackSaveAuthenticationIn.xml: * en/Gnome.Vfs/ModuleCallbackFullAuthenticationIn.xml: * en/Gnome.Vfs/ModuleCallbackFillAuthenticationIn.xml: rename Objekt to Object. * en/Atk/KeyEventStruct.xml: rename Str1ng to String 2004-12-15 John Luke * *.xml: run gen-vm-docs.exe and gen-handlerargs.exe on everything 2004-12-15 John Luke * en/Atk/LinkSelectedArgs.xml * en/Atk/StateSet.xml * en/Atk/TextRange.xml * en/Atk/HyperLink.xml * en/Atk/TextRectangle.xml * en/Atk/NoOpObject.xml * en/Atk/LinkSelectedHandler.xml * en/Atk/StateManager.xml * en/Atk/TextClipType.xml * en/Gtk/FileChooserAction.xml * en/Gtk/FileChooserError.xml: add docs 2004-12-15 John Luke * en/Pango/FcFont.xml: * en/Pango/FcFontMap.xml: * en/Pango/Script.xml: * en/Pango/ScriptIter.xml: doc'em 2004-12-14 Shane Landrum * en/Gtk/FileChooser.xml: Added full docs. * en/Gtk/FileChooserDialog.xml * en/Gtk/FileChooserEmbed.xml * en/Gtk/FileChooserAction.xml * en/Gtk/FileChooserWidget.xml * en/Gtk/FileChooserEntry.xml * en/Gtk/FileChooserDefault.xml * en/Gtk/FileChooserError.xml * en/Gtk/FileChooserProp.xml: Began working on docs. 2004-12-14 Shane Landrum * en/Gtk/TextTagInfo.xml * en/Gtk/TextToggleBody.xml * en/Gtk/TextLineSegmentClass.xml * en/Gtk/TextPendingScroll.xml * en/Gtk/TextView.xml * en/Gtk/TextLineSegment.xml: Changed "to be added" to "do not use" * en/Gtk/TextIter.xml * en/Gtk/TextBuffer.xml : Added docs for remaining TBA items. 2004-12-12 Shane Landrum * en/Gtk/ToolItem.xml * en/Gtk/Toolbar.xml: Expanded docs for toolbar-related classes. * en/Gtk/SubmenuDirection.xml * en/Gtk/SubmenuPlacement.xml: Docced submenu enums. 2004-12-09 Mike Kestner * en/Gtk/HTML*.xml : size_t marshaling updates. 2004-12-08 John Luke * en/Gtk/IconLookupFlags.xml * en/Gtk/IconInfo.xml * en/Gtk/IconTheme.xml * en/Gtk/IconThemeError.xml: doc these 2004-12-08 Mike Kestner * en/Art/Affine.xml : some s/int/bool changes. * en/Gtk/Expander.xml : a ctor the updater added. 2004-12-06 John Luke * en/Gtk/ComboBoxEntry.xml: doc it * en/Gtk/Entry.xml: doc a few missing things * en/Gtk/*.xml: run gen-handlerargs-docs.exe for gtk-sharp.dll and gen-vm-docs.exe 2004-12-06 Shane Landrum * en/Gtk/AccelCanActivateHandler.xml * en/Gtk/Widget.xml * en/Gtk/AccelCanActivateArgs.xml: Added docs for accelerator-related signals and handlers. 2004-12-05 John Luke * en/Gtk/Expander.xml: doc it 2004-12-03 Dan Winship * en/Gtk/TextBuffer.xml: * en/Gtk/TextView.xml: update for TextIter pass-by-ref changes * en/Gdk/Bitmap.xml: gone * en/Gdk/GC.xml: * en/Gdk/PangoAttrStipple.xml: * en/Gdk/Pixbuf.xml: * en/Gdk/Pixmap.xml: * en/Gdk/Window.xml: * en/Gtk/Drag.xml: * en/Gtk/Image.xml: * en/Gtk/TextAppearance.xml: * en/Gtk/Widget.xml: update for Gdk.Bitmap -> Gdk.Pixmap aliasing 2004-12-02 Shane Landrum * en/Gtk/EntryCompletionMatchFunc.xml * en/Gtk/EntryCompletion.xml * en/Gtk/CellLayout.xml * en/Gtk/CellLayoutDataFunc.xml * en/Gtk/Clipboard.xml * en/Gtk/ClipboardTargetsReceivedFunc.xml * en/Gtk/FileFilter.xml * en/Gtk/FileFilterFlags.xml * en/Gtk/FileFilterFunc.xml: Doc some delegate classes and the methods that use them; mostly functionality new to 2.4. * en/Gtk/RBTreeTraverseFunc.xml * en/Gtk/TextSegLineChangeFunc.xml * en/Gtk/TextSegSplitFunc.xml * en/Gtk/TextSegCheckFunc.xml * en/Gtk/TextUtilCharChosenFunc.xml * en/Gtk/TextSegCleanupFunc.xml * en/Gtk/TextSegDeleteFunc.xml * en/Gtk/IconThemeFileLineFunc.xml: Removed extraneous TBAs. 2004-11-30 John Luke * en/Gtk/FileChooserAction.xml: * en/Gtk/FileChooserError.xml: * en/Gtk/ComboBox.xml: doc some stuff 2004-11-30 Shane Landrum * en/Gtk/ColorSelection.xml: Documented deprecated UpdatePolicy prop. * en/Gtk/ColorButton.xml: Added docs. * en/Gtk/TreeModel.xml * en/Gtk/TreeModelFilter.xml * en/Gtk/TreeModelFilterModifyFunc.xml * en/Gtk/TreeModelFilterVisibleFunc.xml * en/Gtk/TreeModelSort.xml: Added and elaborated docs for filtering tree models, in compliance with GTK 2.4. 2004-11-26 Jeroen Zwartepoorte * doc/en/Gtk/ActionEntry.xml: * doc/en/Gtk/ActionGroup.xml: * doc/en/Gtk/RadioActionEntry.xml: * doc/en/Gtk/ToggleActionEntry.xml: * doc/en/Gtk/UIManager.xml: New ActionEntry related structs & methods. 2004-11-18 Dan Winship * en/Gtk/: update for container child property change 2004-11-16 Dan Winship * en/GLib/Value.xml: document new constructors 2004-11-15 Dan Winship * en/Gtk/Container.xml (FocusChild): Has a getter now too. (Added): Clarify that this only means "Gtk.Container.Add was called", and doesn't get fired when you call Gtk.Box.PackStart, etc 2004-11-15 Mike Kestner * en/Gtk/ColorSelection.xml : remove newly hidden deprecated methods. * en/*/*.xml : add some stubs for new DestroyNotify methods. 2004-11-09 John Luke * en/Gtk/Action.xml: * en/Gtk/ActionGroup.xml: * en/Gtk/UIManagerItemType.xml: * en/Gtk/UIManager.xml: doc 2004-11-09 Dan Winship * en/GLib/Object.xml: * en/Gtk/Widget.xml: update for CreateNativeObject changes 2004-11-08 Dan Winship * en/Gtk/Box.xml: * en/Gtk/ButtonBox.xml: * en/Gtk/Container.xml: * en/Gtk/Fixed.xml: * en/Gtk/Layout.xml: * en/Gtk/Menu.xml: * en/Gtk/Notebook.xml: * en/Gtk/Paned.xml: * en/Gtk/Table.xml: * en/Gtk/Toolbar.xml: document container child properties 2004-11-05 Mike Kestner * Makefile.am : copy assemblies into updater so they don't have to be installed to run the updater. * updater/updater.cs : fix for recent corlib bugfix. Thanks to Dan Winship for identifying the solution. 2004-10-28 Dan Winship * en/Gdk/Pixbuf.xml * en/Gdk/Pixmap.xml * en/Gdk/Window.xml * en/Gtk/Style.xml * en/Gtk/TargetList.xml: Update to match API fixes 2004-10-11 Shane Landrum * en/Gdk/AreaUpdatedArgs.xml * en/Gdk/SizePreparedArgs.xml: Delegate class docs. 2004-10-11 Shane Landrum * en/Gdk/Pixbuf.xml * en/Gdk/PixbufAlphaMode.xml * en/Gdk/PixbufAniAnim.xml * en/Gdk/PixbufAniAnimIter.xml * en/Gdk/PixbufDestroyNotify.xml * en/Gdk/PixbufError.xml * en/Gdk/PixbufFormat.xml * en/Gdk/PixbufFrame.xml: Miscellaneous docs for pixbuf classes. 2004-09-25 Shane Landrum * en/Gdk/Drawable.xml * en/Gdk/Pixbuf.xml * en/Gdk/PixbufAlphaMode.xml * en/Gdk/PixbufAniAnim.xml * en/Gdk/PixbufAniAnimIter.xml * en/Gdk/PixbufAnimation.xml * en/Gdk/PixbufAnimationIter.xml: Docs for pixbufs and animations. A first pass; see FIXME marks for some API that may need adjustment. 2004-09-23 Mike Kestner * en/Gtk/Widget.xml : docs for new OnSetScrollAdjustments VM. 2004-09-20 Shane Landrum * en/Gdk/FilterFunc.xml * en/Gdk/Point.xml * en/Gdk/Region.xml * en/Gdk/Rgb.xml * en/Gdk/RgbCmap.xml : Added docs for Gdk classes. 2004-09-20 Shane Landrum * en/Gtk/FileSelection.xml * en/Gtk/MapEventArgs.xml * en/Gtk/ModuleDisplayInitFunc.xml * en/Gtk/ModuleInitFunc.xml * en/Gtk/MotionNotifyEventArgs.xml * en/Gtk/TargetPair.xml * en/Gtk/TextCounter.xml * en/Gtk/TextPendingScroll.xml * en/Gtk/TextUtilCharChosenFunc.xml * en/Gtk/TextWindowType.xml * en/Gtk/ThreadNotify.xml * en/Gtk/ToggleSizeAllocatedArgs.xml * en/Gtk/ToggleSizeRequestedArgs.xml * en/Gtk/Widget.xml : Added and updated docs. 2004-09-20 Shane Landrum * en/Gdk/Window.xml : Added docs from GDK source. 2004-09-13 Shane Landrum * en/Gtk/Accelerator.xml * en/Gtk/Arg.xml * en/Gtk/CallbackInvoker.xml * en/Gtk/CellRendererState.xml * en/Gtk/ColorSelectionButton.xml * en/Gtk/Combo.xml * en/Gtk/Container.xml * en/Gtk/Decorated.xml * en/Gtk/Dialog.xml * en/Gtk/Drag.xml * en/Gtk/FSButton.xml * en/Gtk/FileSelection.xml * en/Gtk/Function.xml * en/Gtk/Gc.xml * en/Gtk/Grab.xml * en/Gtk/HandleBox.xml * en/Gtk/Input.xml * en/Gtk/InputDialog.xml * en/Gtk/Widget.xml * en/Gtk/Window.xml: Miscellaneous class docs. 2004-09-13 Shane Landrum * en/Gtk/ClipboardClearFunc.xml * en/Gtk/ClipboardGetFunc.xml * en/Gtk/ClipboardTextReceivedFunc.xml * en/Gtk/ColorSelectionChangePaletteWithScreenFunc.xml: Callback docs. 2004-09-13 Shane Landrum * en/Gtk/Image.xml * en/Gtk/ImageAnimationData.xml * en/Gtk/ImageImageData.xml * en/Gtk/ImagePixbufData.xml * en/Gtk/ImagePixmapData.xml * en/Gtk/ImageStockData.xml: Image-related class docs. * en/Gtk/ItemFactory.xml * en/Gtk/ItemFactoryCallback.xml * en/Gtk/ItemFactoryCallback1.xml * en/Gtk/ItemFactoryEntry.xml: ItemFactory-related class docs. 2004-09-13 Shane Landrum * en/Gtk/IMContext.xml * en/Gtk/IMContextInfo.xml * en/Gtk/IMContextSimple.xml * en/Gtk/IMMulticontext.xml * en/Gtk/IMPreeditStyle.xml * en/Gtk/IMStatusStyle.xml: Input-method-related classes. 2004-09-13 Shane Landrum * en/Gtk/ChildNotifiedArgs.xml * en/Gtk/ClientEventArgs.xml * en/Gtk/CommitArgs.xml * en/Gtk/DeleteEventArgs.xml * en/Gtk/DestroyEventArgs.xml * en/Gtk/DragDataGetArgs.xml * en/Gtk/DragDataReceivedArgs.xml * en/Gtk/DrawGdkArgs.xml * en/Gtk/ExpandCollapseCursorRowArgs.xml * en/Gtk/GrabNotifyArgs.xml * en/Gtk/InputArgs.xml: Docs for event data classes. 2004-09-13 Shane Landrum * en/Gtk/HTMLBeginFlags.xml * en/Gtk/HTMLCommandType.xml * en/Gtk/HTMLEditorEventType.xml * en/Gtk/HTMLEmbedded.xml * en/Gtk/HTMLEtchStyle.xml * en/Gtk/HTMLStream.xml: Docs for HTML-related classes. 2004-09-09 Mike Kestner * en/Gdk/*.xml: api updates. 2004-09-06 Shane Landrum * en/Gtk/Adjustment.xml * en/Gtk/Callback.xml * en/Gtk/Clipboard.xml * en/Gtk/Quit.xml * en/Gtk/ReadyEvent.xml * en/Gtk/ImageStockData.xml * en/Gtk/MovementStep.xml * en/Gtk/RulerMetric.xml * en/Gtk/Selection.xml * en/Gtk/ThreadNotify.xml: Docs for assorted helper classes. 2004-09-06 Shane Landrum * en/Gtk/ProgressBar.xml * en/Gtk/RadioButton.xml * en/Gtk/RadioMenuItem.xml * en/Gtk/Scrollbar.xml : Docs for assorted widgets. 2004-09-06 Shane Landrum * en/Gtk/HTML.xml * en/Gtk/HTMLCommandType.xml * en/Gtk/HTMLCursorSkipType.xml : Docs related to HTML widgets. * en/Gtk/Button.xml * en/Gtk/Widget.xml * en/Gtk/Style.xml * en/Gtk/Container.xml : Docs for major components. 2004-09-06 Shane Landrum * en/Gtk/CommitArgs.xml * en/Gtk/ConfigureEventArgs.xml * en/Gtk/CursorMoveArgs.xml * en/Gtk/CycleChildFocusArgs.xml * en/Gtk/DeleteRangeArgs.xml * en/Gtk/DirectionChangedArgs.xml * en/Gtk/DrawPrintArgs.xml * en/Gtk/EnterNotifyEventArgs.xml * en/Gtk/FocusChildSetArgs.xml * en/Gtk/FocusTabArgs.xml * en/Gtk/FormatValueArgs.xml * en/Gtk/FrameEventArgs.xml * en/Gtk/HierarchyChangedArgs.xml * en/Gtk/LeaveNotifyEventArgs.xml * en/Gtk/MoveArgs.xml * en/Gtk/MoveCurrentArgs.xml * en/Gtk/MoveCursorArgs.xml * en/Gtk/MoveFocusArgs.xml * en/Gtk/MoveHandleArgs.xml * en/Gtk/OnCommandArgs.xml * en/Gtk/PageHorizontallyArgs.xml * en/Gtk/ParentSetArgs.xml * en/Gtk/ScrollChildArgs.xml * en/Gtk/SubmitArgs.xml * en/Gtk/TextEventArgs.xml : Event data docs. 2004-09-04 Mike Kestner * Makefile.am : use the ENABLE* ACSUBSTs in make update. 2004-09-03 Mike Kestner * en/Gdk/Pixmap.cs : updates to sigs of FromXpm* methods. * en/Gtk/Init.cs : fix Check and remove AbiCheck. * en/Gtk/Invisible.cs : add ctor. * en/Gtk/NodeStore.cs : add GType prop. 2004-09-02 Mike Kestner * updater/* : rework of duncan's updater from monodoc that doesn't cause so many whitespace issues and removes a few other annoyances. 2004-08-29 Shane Landrum * en/Gtk/Dialog.xml * en/Gtk/HBox.xml * en/Gtk/Image.xml * en/Gtk/Init.xml * en/Gtk/Invisible.xml * en/Gtk/Misc.xml * en/Gtk/NotebookTab.xml * en/Gtk/Paned.xml * en/Gtk/Quit.xml * en/Gtk/RedirectArgs.xml * en/Gtk/RulerMetric.xml * en/Gtk/Scale.xml * en/Gtk/ScrolledWindow.xml * en/Gtk/Selection.xml * en/Gtk/SelectionData.xml * en/Gtk/TargetEntry.xml * en/Gtk/TargetList.xml * en/Gtk/TargetPair.xml * en/Gtk/TextLogAttrCache.xml: Miscellaneous docs. * ChangeLog: fixes for 2 prior commit logs. 2004-08-29 Shane Landrum * en/Gtk/Key.xml * en/Gtk/KeySnoopFunc.xml: Docs for global hotkeys. * en/Gtk/Range.xml * en/Gtk/MoveSliderArgs.xml: Docs for number ranges. * en/Gtk/Entry.xml * en/Gtk/Label.xml: Small texty widgets docs. 2004-08-29 Shane Landrum * en/Gtk/Menu.xml * en/Gtk/MenuDetachFunc.xml * en/Gtk/MenuItem.xml * en/Gtk/MenuPositionFunc.xml * en/Gtk/MenuShell.xml: Docs for menu-related classes. 2004-08-29 Shane Landrum * en/Gtk/TextSegCheckFunc.xml * en/Gtk/TextSegCleanupFunc.xml * en/Gtk/TextSegDeleteFunc.xml * en/Gtk/TextSegLineChangeFunc.xml * en/Gtk/TextSegSplitFunc.xml * en/Gtk/TextLineSegment.xml * en/Gtk/TextLineSegmentClass.xml: Marked 'do not use', pending an answer on #64410. 2004-08-29 Shane Landrum * MarkDeletedArgs.xml * MarkSetArgs.xml * OrientationChangedArgs.xml * SelectionClearEventArgs.xml * SetBaseTargetArgs.xml * SetFocusArgs.xml * StateChangedArgs.xml * SwitchPageArgs.xml * TextEventArgs.xml: Event data. 2004-08-29 Shane Landrum * HTML.xml * HTMLBeginFlags.xml * HTMLClassProperties.xml * HTMLCommandType.xml * HTMLEditorAPI.xml * HTMLEditorEventType.xml * HTMLFontStyleShift.xml * HTMLParagraphStyle.xml * HTMLPrintCallback.xml * HTMLStream.xml * HTMLStreamCloseFunc.xml * HTMLStreamStatus.xml * HTMLStreamTypesFunc.xml * HTMLStreamWriteFunc.xml: Documented HTML widget and related classes. 2004-08-28 Shane Landrum * en/Gtk/HSV.xml: Added docs for color selector. * en/Gtk/ProximityInEventArgs.xml * en/Gtk/ProximityOutEventArgs.xml * en/Gtk/Widget.xml: Docs for proximity events and other events. * en/Gtk/SizeAllocatedArgs.xml * en/Gtk/SizeRequestedArgs.xml * en/Gtk/Requisition.xml: Docs for widget size requests. * en/Gdk/Rectangle.xml: Added docs. * en/Gtk/CursorMoveArgs.xml * en/Gtk/RemovedArgs.xml * en/Gtk/SelectPageArgs.xml * en/Gtk/SetBaseArgs.xml * en/Gtk/ResponseArgs.xml * en/Gtk/StyleSetArgs.xml: Event data. * en/Gtk/Settings.xml: Added docs. * en/Gtk/Table.xml: Added docs. * en/Gtk/ThemeEngine.xml: Added docs. * en/Gtk/StockManager.xml: Added docs, flagged some API that needs review. 2004-08-28 Shane Landrum * en/Gtk/Widget.xml: Added docs. * en/Gtk/ExposeEventArgs.xml * en/Gtk/AddedArgs.xml * en/Gtk/ActivateCurrentArgs.xml * en/Gtk/AdjustBoundsArgs.xml * en/Gtk/ChangeCurrentPageArgs.xml * en/Gtk/ChangeValueArgs.xml * en/Gtk/ChildAnchorInsertedArgs.xml * en/Gtk/ChildAttachedArgs.xml * en/Gtk/ChildDetachedArgs.xml * en/Gtk/ConfigureEventArgs.xml * en/Gtk/CycleHandleFocusArgs.xml * en/Gtk/EditedArgs.xml * en/Gtk/EnableDeviceArgs.xml * en/Gtk/DisableDeviceArgs.xml * en/Gtk/FocusedArgs.xml * en/Gtk/LinkClickedArgs.xml * en/Gtk/ExpandCollapseCursorRow.xml * en/Gtk/FocusInEventArgs.xml * en/Gtk/MoveFocusOutArgs.xml * en/Gtk/OnUrlArgs.xml: Event data. 2004-08-28 Shane Landrum * en/Gtk/TranslateFunc.xml: delegate docs. * en/Gtk/Settings*.xml: settings classes docs, first pass. * en/Gtk/Separator.xml: Documented protected constructor. * en/Gtk/StockItem.xml: Documented translation domain. * en/Gtk/Ruler.xml: Documented Ruler class. * en/Gtk/SpinButton.xml: Documented SpinButton class. * en/Gtk/TextMarkBody.xml: Internal class, do not use. * en/Gtk/Submenu.xml: Documented submenus. * en/Gtk/ItemFactory.xml * en/Gtk/WindowKeysForeachFunc.xml * en/Gtk/SurroundingDeletedArgs.xml: Added docs. 2004-08-27 Shane Landrum * en/Gtk/Style.xml: bugfixes, more docs. * en/Gtk/TextBTree.xml: internal class, do not use. * en/Gtk/Accel*.xml: Accelerator-related docs. * en/Gtk/CurrentParagraphAlignmentChangedArgs.xml * en/Gtk/CurrentParagraphStyleChangedArgs.xml: Event data docs. 2004-08-27 Shane Landrum * en/Gtk/WindowKeysForeachFunc.xml * en/Gtk/Accessibility.xml * en/Gtk/CallbackMarshal.xml * en/Gtk/ColorSelectionChangePaletteFunc.xml * en/Gtk/ColorSelectionDialog.xml * en/Gtk/Container.xml * en/Gtk/DestroyNotify.xml * en/Gtk/IconSet.xml * en/Gtk/ScrollAdjustmentsSetArgs.xml * en/Gtk/ScrollType.xml * en/Gtk/MoveFocusArgs.xml : Miscellaneous docs. * en/Gtk/RB*.xml : Internal classes. Do not use. * en/Gtk/Style*.xml : Began documenting style-related classes. 2004-08-27 Shane Landrum * en/Gtk/TagAddedArgs.xml * en/Gtk/TagAppliedArgs.xml * en/Gtk/TagChangedArgs.xml * en/Gtk/TagRemovedArgs.xml : Docs for event data classes. 2004-08-26 Shane Landrum * en/Gtk/TreeModelSort.xml * en/Gtk/TreeView.xml: XML fixes. * en/Gtk/TextWindow.xml: Added docs. * en/Gtk/TextIter.xml: Elaborated existing docs. * en/Gtk/TextCharPredicate: Delegate for TextIter; docs. * en/Gtk/TextTagTableForeach.xml: Added docs. * en/Gtk/InsertTextArgs.xml: Event arguments. * en/Gtk/TextTag.xml: Added docs. * en/Gtk/TextCounter.xml: Internal class. Do not use. * en/Gtk/TextToggleBody.xml: Internal class. Do not use. * en/Gtk/TextTagInfo.xml: Internal class. Do not use. 2004-08-24 Shane Landrum * en/Gtk/TreeView.xml: * en/Gtk/TreeModel.xml: * en/Gtk/TreeModelSort.xml: * en/Gtk/TreeSortable.xml: * en/Gtk/ListStore.xml: Added docs for list/tree classes; made them consistent across similar classes. * en/Gtk/TreeRowReference.xml: Marked internal-only. 2004-08-24 Mike Kestner * en/Gdk/Drawable.xml : add DrawPolygon overload and doc both. * en/Gdk/Pixbuf.xml : add RenderThresholdAlpha overload docs. * en/Gtk/Style.xml : fix signature of PaintPolygon. 2004-08-22 Shane Landrum * en/Gtk/RowActivatedArgs.xml * en/Gtk/RowCollapsedArgs.xml * en/Gtk/RowExpandedArgs.xml * en/Gtk/TestCollapseRowArgs.xml * en/Gtk/TestExpandRowArgs.xml: Event argument delegate docs. * en/Gtk/TreeView.xml: Event docs. * en/Gtk/TreeViewColumnDropFunc.xml * en/Gtk/TreeViewMappingFunc.xml * en/Gtk/TreeViewSearchEqualFunc.xml: delegate docs for TreeView 2004-08-20 Mike Kestner * en/Atk/Relation.xml : update ctor to new sig. 2004-08-19 Shane Landrum * en/Gtk/DeleteFromCursorArgs.xml * en/Gtk/DeleteType.xml: Docs for deletion from text widgets. * en/Gtk/Widget.xml: Added some event docs. * en/Gtk/PopulatePopupArgs.xml: Event data for text widget popups. * en/Gtk/TextView.xml: Docs for some events. * en/Gtk/HTML.xml: Minor wording change, thanks to Ben Maurer. * en/Gtk/Notebook.xml: Documented an event, minor style edits. 2004-08-19 Shane Landrum * en/Gtk/ClipboardReceivedFunc.xml: Added docs for classes related to drag and drop. * en/Gtk/SelectionData.xml: Added docs for DND selection data. * en/Gtk/SelectionGetArgs.xml: Event data for selection get events. * en/Gtk/SelectionReceivedArgs.xml: Event data for selection receive events. 2004-08-19 Shane Landrum Docs for tree-related classes: * en/Gtk/TreeView.xml * en/Gtk/TreeSelection.xml * en/Gtk/TreeSelectionForeachFunc.xml: Added docs for tree operations. * en/Gtk/RowsReorderedArgs.xml: Event data for list/tree datamodels. * en/Gtk/SelectCursorRowArgs.xml: Event data for TreeView event. * en/Gtk/TreeSelection.xml: Cleanup of extraneous TBA. 2004-08-19 Shane Landrum * en/Gtk/RowHasChildToggledArgs.xml * en/Gtk/RowInsertedArgs.xml * en/Gtk/RowChangedArgs.xml * en/Gtk/RowDeletedArgs.xml: Docs for event argument classes related to ListStore. * en/Gtk/ListStore.xml: minor wording fixes. 2004-08-18 Shane Landrum * en/Gtk/ListStore.xml: Added docs. 2004-08-13 Shane Landrum * DragBeginArgs.xml * DragDataDeleteArgs.xml * DragDataGetArgs.xml * DragDataReceivedArgs.xml * DragDropArgs.xml * DragEndArgs.xml * DragLeaveArgs.xml * DragMotionArgs.xml: Filled in event properties. 2004-08-13 Shane Landrum * en/Gtk/Widget.xml: Filled in some event information, removed a lot of extraneous "To be added" in remarks fields 2004-08-13 Shane Landrum * en/Gtk/TextAppearance.xml * en/Gtk/TextAttributes.xml: Classes to control text presentation. 2004-08-13 Shane Landrum * en/Gtk/TreeCellDataFunc.xml * en/Gtk/TreeDataList.xml * en/Gtk/TreeDestroyCountFunc.xml * en/Gtk/TreeIter.xml * en/Gtk/TreeIterCompareFunc.xml * en/Gtk/TreeModel.xml * en/Gtk/TreeModelForeachFunc.xml * en/Gtk/TreeSelectionFunc.xml * en/Gtk/TreeSortable.xml * en/Gtk/TreeView.xml: Various updates to tree object docs. 2004-08-13 Shane Landrum * en/Gtk/*Args.xml: Documented many handler arguments classes. 2004-08-13 Shane Landrum * en/Gtk/HTML.xml * en/Gtk/HTMLCommandType.xml * en/Gtk/HTMLFontStyle.xml * en/Gtk/HTMLParagraphAlignment.xml * en/Gtk/HTMLSaveReceiverFn.xml: documented HTML widget classes. 2004-08-08 Hector E. Gomez Morales * en/Gtk/AccelGroup.xml * en/Gtk/AccelGroupEntry.xml * en/Gtk/AccelKey.xml * en/Gtk/RcProperty.xml * en/Gtk/TreeDragSource.xml: Fixed errors in tags, make assemble now works. 2004-08-05 Shane Landrum * en/Gtk/Rc*: Filled in all "to be added" for RC-file subsystem. * en/Gtk/Accel*: Added docs about accelerator keys. 2004-08-04 Shane Landrum * en/Gtk/*: docs for many tree-related methods, assorted others. 2004-08-01 Shane Landrum * en/Pango/*: Filled in all "To be added"; cleaned up existing docs and made them more consistent. 2004-07-27 John Luke some GLib and Atk docs 2004-07-21 John Luke * en/Gtk/TextView.xml: * en/Gtk/TextIter.xml: documented the rest 2004-07-16 John Luke * en/Pango/*: doc'ed some more pango stuff 2004-07-11 John Luke * en/Vte*: some Vte docs * en/Pango/Context.xml: doc'ed 2004-07-07 Jasper Van Putten * en/Gtk/*.xml : docs for Notebook and RadioButton. 2004-07-06 Peter Johanson * en/Gnome/*.xml : docs for ColorPicker. 2004-07-02 Mike Kestner * en/GLib/*.xml : more glib docs. 2004-07-02 Mike Kestner * en/GLib/*.xml : docs for Boxed, ConnectBeforeAttribute, and DefaultSignalHandlerAttribute. 2004-07-02 Peter Johanson * en/Art/*.xml : docs for some Art API. 2004-06-29 Mike Kestner * en/Gdk/Key.xml : script fill summary tags. There isn't a lot of valuable information to be added here, so we're just using the member name + " key value" for the summary. 2004-06-29 Mike Kestner * en/*/*.xml : remove To be added from enum since they aren't rendered. Monodoc needs to be enhanced to render if they are there, but we should normally put enum member docs in the summary, not remarks. 2004-06-24 Mike Kestner * en/Gtk/Global.xml : finish. there's a lot of crap in there. * en/Gtk/IMContext.xml : docs for FilterKeypress ctors Reset and Commit. 2004-06-24 Mike Kestner * en/Pango/Layout.xml : document IndexToPosition. 2004-06-24 Mike Kestner * en/GLib/Timeout.xml : finish the class and Add docs. 2004-06-24 Mike Kestner * en/*/*.xml : add back the enumtype Value__ fields with "Do not use" docs. Monodoc doesn't show these nodes as fields, but needs them for non-int enums. 2004-06-24 Mike Kestner * en/*/*.xml : kill all the dead files where types have been removed. Mark several gtkhtml types as being in gtkhtml-sharp, not gtk-sharp. Another 601 dead TBAs. 2004-06-24 Mike Kestner * en/*/*.xml : document event args classes and ctors via script-fu. Knocks off another 944 TBAs. 2004-06-24 Jamin Philip Gray * en/Gdk/EventButton.xml : documented members. 2004-06-23 Mike Kestner * en/*/*.xml : document event handler delegates via script-fu. 400 TBAs. 2004-06-21 Mike Kestner * en/*/*.xml : document ctor(GType) members via script-fu. 476 TBAs. 2004-06-21 Mike Kestner * en/*/*.xml : document GType props via script-fu. 620 TBAs killed. 2004-06-19 Larry Ewing * en/Gnome/CanvasItem.xml: update the documentation no that the binding has been fixed. * en/Gdk/Pixdata.xml: fixup the Pixdata docs now that the binding is fixed. 2004-06-19 John Luke * en/Gtk/*.xml: fix examples so they compile, are children of so they are editable and spaced right, and some miscellaneous fixes and updates 2004-06-17 Mike Kestner * en/Gtk/Window.xml : document remaining TBAs. 2004-06-17 Mike Kestner * scan-deprecations.cs : kill value__ fields of enum types too. * en/*/*.xml : remove value__ fields from enum types. 400 more tba's. 2004-06-15 Mike Kestner * en/*/*.xml : generated summary and remarks for all the On* virtual default handler methods. 700 more To be addeds gone. 2004-06-14 Mike Kestner * en/*/*.xml : run updater to 0.98 API. 2004-06-01 Mike Kestner * en/*/*.xml : run updater to fix Rgb method sigs. And LayoutLine. 2004-06-07 Jeroen Zwartepoorte * en/Gtk/Widget.xml: Documented the FocusLineWidth and Flags properties. 2004-06-01 Mike Kestner * en/*/*.xml : run updater to add new protected ctor () 's. 2004-06-01 Mike Kestner * en/Gtk/Widget.xml : move existing docs to new method sig. 2004-05-31 Mike Kestner * en/Gdk/Rectangle.xml : docs for newly changed Isect and Union. * en/Gdk/WindowClass.xml : move existing docs to new member names. * en/Gtk/Widget.xml : run updater for Flags prop addition. 2004-05-28 Mike Kestner * Makefile.am : fix disthook * en/*Sharp.xml : kill * en/* : run updater again for the TreeModel API change. 2004-05-28 Mike Kestner * en/* : put back all the real docs the updater tossed. 2004-05-28 Mike Kestner * en/* : run updater. fix a few *Sharp copy/pastisms. 2004-05-27 Mike Kestner * en/* : run updater 2004-04-27 John Luke * en/Gdk/Threads.xml: document * en/Gtk/TargetFlags.xml: document * en/Gtk/TreeSelection.xml: add example * en/Pango/Layout.xml: add example of drawing text to a Layout 2004-04-12 Mike Kestner * en/GLib/Object.xml : some more docs for the Raw property. 2004-03-17 Alex Combas * en/Gtk/Accel.xml: Full doc. 2004-03-08 Hector E. Gomez Morales * en/Art/Global.xml * en/Art/Render.xml * en/Art/Rgb.xml * en/Art/Rgba.xml * en/Art/Uta.xml * en/Gda/Command.xml * en/Gda/Field.xml * en/Gda/FieldAtributes,xml * en/Gda/Parameter.xml * en/Gdk/*.xml * en/Glade/XML.xml * en/Pango/Analysis.xml * en/Pango/AttrIterator.xml * en/Pango/Context.xml * en/Pango/EngineLang.xml * en/Pango/EngineShape.xml * en/Pango/FontFamily.xml * en/Pango/FontMap.xml * en/Pango/FontMetrics.xml * en/Pango/Global.xml * en/Pango/GlyphItem.xml * en/Pango/GlyphString.xml * en/Pango/Layout.xml * en/Pango/LayoutLine.xml: Updated and/or removed various nodes. 2004-03-05 Hector E. Gomez Morales * en/* : Created TODO files for every namespace (except *Sharp namespaces). 2004-02-29 Hector E. Gomez Morales * Changelog: Corrected bogus year dates. * en/Gtk/TODO: updated TODO list. * en/Atk/EditableText.xml * en/Atk/Free.xml * en/Atk/NoOpObject.xml * en/Atk/Object.xml * en/Atk/StateSet.xml * en/Gnome/CanvasProxy.xml * en/Gnome/CanvasRichText.xml * en/Gnome/Config.xml * en/Gnome/DateEdit.xml * en/Gnome/Entry.xml * en/Gnome/FileEntry.xml * en/Gnome/Font.xml * en/Gnome/FontFamily.xml * en/Gnome/GlyphList.xml * en/Gnome/IconList.xml * en/Gnome/IconTheme.xml * en/Gnome/Pgl.xml * en/Gtk/Combo.xml * en/Gtk/ListStore.xml * en/Gtk/RadioMenuItem.xml * en/Gtk/StockItem.xml * en/Gtk/StockManager.xml * en/Gtk/TextBuffer.xml * en/Gtk/TextIter.xml * en/Gtk/TextView.xml * en/Gtk/TooltipsData.xml * en/Gtk/TreeModelSort.xml * en/Gtk/TreeStore.xml * en/Gtk/TreeView.xml * en/Gtk/Widget.xml * en/Gtk/Window.xml: Restored and/or removed various nodes. * en/Gtk/Accel.xml: Removed deprecated GroupsFromObject Method. * en/Gtk/Application: Removed deprecated CurrentEvent Property. * en/Gtk/Container.xml: FocusChain and Children update. * en/Gtk/DeleteEventArgs.xml: Removed deprecated Event Property. * en/Gtk/DestroyEventArgs.xml: Removed deprecated Event Property. * en/Gtk/MenuItem.xml: ToggleSizeRequest update. * en/Gtk/IMContext.xml: Removed deprecated GetPreeditString Method. * en/Gtk/IMContextSimple.xml: Removed deprecated AddTable Method. * en/Gtk/Init.xml: Removed deprecated AbiCheck Method * en/Gtk/MapEventArgs.xml: Removed deprecated Event Property. * en/Gtk/MenuItem.xml: Removed deprecated ToggleSizeRequest Method. * en/Gtk/NoExposeEventArgs.xml: Removed deprecated Event Property. * en/Gtk/SelectionData.xml: Removed deprecated Set Method. * en/Gtk/TextChildAnchor.xml: Widget update. * en/Gtk/TreeIter.xml: Stamp update. * en/Gtk/TreeModel.xml: EmitRowsReordered update. * en/Gtk/TreeRowReference.xml: Removed deprecated Reordered Method. * en/Gtk/TreeSelection.xml: Removed deprecated GetSelectedRows Method. * en/Gtk/TreeViewColumn.xml: Removed deprecated CellRenders Property. * en/Gtk/UnmapEventArgs.xml: Removed deprecated Event Property. 2004-02-26 Mike Kestner * scan-deprecations.cs : little xpath tool to inspect deprecates. 2004-02-26 Mike Kestner * Vte/Gnome/Gtk : add some new doc files. 2004-02-26 Mike Kestner * All: run updater and kill stubbed deprecates 2004-02-26 Mike Kestner * Atk/Gdk/Gtk : add some new doc files. 2004-02-26 Mike Kestner * Pango/*.xml : run updater and kill stubbed deprecates * Atk/*.xml : run updater and kill stubbed deprecates * Gdk/*.xml : run updater and kill stubbed deprecates * Gtk/*.xml : run updater and kill stubbed deprecates 2004-02-25 Mike Kestner * All: update events to new handler namespaces. 2004-02-25 Mike Kestner * en/GLibSharp.xml : Update Summary. * en/GtkSharp.xml : Update Summary. 2004-02-25 Mike Kestner * en/*.xml : remove toplevel xml files for killed *Sharp namespaces. 2004-02-25 Mike Kestner * */*Handler.xml : move all signal delegates from *Sharp to base namespaces. 2004-02-25 Mike Kestner * GtkSharp/*Delegate.xml : kill. * GtkSharp/*Signal.xml : kill. 2004-02-25 Mike Kestner * GtkSharp/*Native.xml : kill. 2004-02-25 Mike Kestner * */*Wrapper.xml : kill all. These are internal classes. 2004-02-25 Mike Kestner * All: move all signal args from *Sharp to base namespaces. 2004-01-13 Peter Williams * en/Gtk/Application.xml: Update Init, InitCheck functions for new progname argument. Fix a paste-o in the docs for InitCheck. 2004-01-13 John Luke * en/Gtk/TreeSelection.xml: add example 2004-01-12 Hector E. Gomez Morales * en/Gtk/Ctree.xml * en/Gtk/Style.xml * en/Gtk/Tree.xml: First draft. * en/Gtk/TODO: updated. * en/Gtk/Widget.xml: Documented the remaining methods and properties. * en/Gtk/Window.xml: Documented all methods excepts the overloads and all the properties. 2004-01-11 John Luke * en/Gtk/RadioButton.xml: * en/Gtk/Notebook.xml: * en/Gtk/NotebookPage.xml: * en/GConf/ClientBase.xml: update for recent cvs changes 2004-01-08 John Luke * */*/.xml: run updater * en/Gtk/TreView.xml: correct GetRowExpanded docs * en/Gtk/RadioButton.xml: documented 2003-12-22 John Luke * en/GLib/GType.xml: * en/GLib/DefaultSignalHandlerAttribute.xml: added * */*/.xml: run updater 2003-12-08 John Luke * en/Art/Rgba.xml: update * en/Gnome/FileEntry.xml: * en/Gnome/Druid.xml: * en/Gnome/DruidPage.xml: * en/Gnome/DruidPageEdge.xml: * en/Gnome/DruidPageStandard.xml: documented 2003-12-04 John Luke * All: run updater 2003-11-22 John Luke * en/Gnome/Print.xml: add example 2003-11-18 John Luke * en/Gnome/CanvasPixbuf.xml: correct HeightInPixels from Sebastian 2003-11-18 Peter Williams * en/Gtk/NodeStore.xml: Document new GetNode functions. 2003-11-17 John Luke * en/Gtk/Socket.xml: documented 2003-11-16 John Luke * en/Gdk/Atom.xml: documented * en/Gtk/Clipboard.xml: documented * en/Gtk/Stock.xml: documented * en/Gtk/StockItem.xml: documented 2003-11-12 John Luke * en/Gtk/Quit.xml: documented * en/Gtk/TooltipsData.xml: documented * en/Gtk/TODO: update * en/Gtk/ToolbarSpaceStyle.xml: documented 2003-11-05 Mike Kestner * en/Gtk/NodeStore.xml : documented 2003-11-05 Mike Kestner * en/Gtk/TreeNode.xml : documented * en/Gtk/TreeView.xml : documented NodeStore ctor. 2003-11-05 Mike Kestner * en/Gtk/ITreeNode.xml : documented * en/Gtk/TreeNodeAddedHandler.xml : documented * en/Gtk/TreeNodeRemovedHandler.xml : documented 2003-11-05 Mike Kestner * en/Gtk/TreeNodeAttribute.xml : documented * en/Gtk/TreeNodeValueAttribute.xml : documented 2003-11-04 John Luke * en/*/*.xml: run updater 2003-10-27 John Luke * en/*/*.xml: run updater 2003-10-22 Hector E. Gomez Morales * en/Gtk/Drag.xml: fix some typos and errors. * en/Gtk/Window.xml: Almost done, some properties and events missing. * en/Gtk/WidgetFlags.xml: fix some errors. * en/Gtk/TODO: update missing list. 2003-10-14 Martin Willemoes Hansen * en/AtkSharp.xml: Added * en/GLibSharp.xml: Added * en/GdaSharp.xml: Added * en/GdkSharp.xml: Added * en/GladeSharp.xml: Added * en/GnomeDbSharp.xml: Added * en/GnomeSharp.xml: Added * en/GtkSharp.xml: Added * en/PangoSharp.xml: Added * en/GConf/ChangeSet.xml: Documented finalize * en/GConf/NotifyEventHandler.xml: Fixed ecma-style compliance * en/GConf.PropertyEditors.xml: Added * Makefile: checks if any changes are made to en/*.xml 2003-10-13 John Luke * en/*/*.xml: fix finalize signature (override not virtual) 2003-10-12 John Luke * en/Gtk/HTML.xml: call begin before Editable = true, update links, normalize * makefile: add gtkhtml to update dirs * en/Gnome/PaperSelectorFlags.xml * en/Gnome/PrintButtons.xml * en/Gnome/PrintDialogFlags.xml * en/Gnome/PrintDialogRangeFlags.xml * en/GtkSharp/TextEventArgs.xml * en/GtkSharp/TextEventHandler.xml * en/GtkSharp/WidgetEventArgs.xml * en/GtkSharp/WidgetEventHandler.xml: add these * en/*/*.xml: run updater * en/Gtk/MessageDialog.xml: * en/Gtk/Menu.xml: * en/Gtk/AccelLabel.xml: * en/Gtk/Alignment.xml: remove IWrapper duplicates 2003-10-09 John Luke * en/Gnome/About.xml: add note about destroy on close event 2003-10-05 John Luke * en/Gtk/TreeStore.xml: * en/Gtk/TreeModel.xml: first pass through these two monsters 2003-10-04 Hector E. Gomez Morales * en/Gtk/Icon.xml * en/Gtk/ItemFactory.xml: Full docs. * en/Gtk/TODO: Added file with list of missing Gtk docs. 2003-10-03 John Luke * en/Gnome/Popup.xml: documented w/ simple example * en/Gtk.Menu.xml: popup example and parameter fix 2003-09-25 Hector E. Gomez Morales * en/Gtk/Accessible.xml * en/Gtk/CellEditable.xml * en/Gtk/Drag.xml: Full docs. * en/Gtk/Widget.xml: Fixes and some updates. * en/Gtk/WidgetFlags.xml: Full doc. * en/Gtk/Window.xml: Fixes and some updates, still missing to document the properties. 2003-09-23 John Luke * en/Art.xml: * en/Gda.xml: * en/GnomeDb.xml: add descriptions 2003-09-20 Hector E. Gomez Morales * en/Gtk/Window.xml: Nearly all methods documented. * en/Gtk/Widget.xml: SizeRequest method documented. 2003-09-20 John Luke * en/Gnome/AppBar.xml: documented * en/Gnome/App.xml: half documented * en/Gnome/Entry.xml: half documented * en/Gnome/Window.xml: add some info 2003-09-17 John Luke * en/*/*.xml: run the updater Add Art, Gda, and GnomeDb docs 2003-09-13 John Luke * en/Gtk/TreePath.xml: add info for ctor (string path) 2003-09-09 Duncan Mak * en/Glade: Update the docs to include new helper functions in Glade.XML. Also do some XML normalization. x 2003-09-04 John Luke * en/Gtk/TextBuffer.xml: fix some typos 2003-08-29 John Luke * en/GLib/*.xml: update, transfer info from inline comments * en/GtkSharp/SignalArgs.xml: transfer info from inline comments * en/GtkSharp/ObjectManager.xml: transfer info from inline comments * en/GtkSharp/SignalCallback.xml: transfer info from inline comments 2003-08-25 John Luke * en/Gtk/Layout.xml: mostly documented * en/Gtk/Timeout.xml: documented 2003-08-18 John Luke * en/Gnome/Help.xml: documented * en/Gnome/CanvasText.xml: add example from monkeyguide 2003-08-09 John Luke * en/Gtk/Entry.xml: add example 2003-08-06 John Luke * en/Gtk/Notebook.xml: add example, see references * en/Gtk/Statusbar.xml: add example 2003-08-06 Xavier Amado * /en/Gtk/Notebook.xml: documented the CurrentPageWidget property 2003-08-04 Martin Willemoes Hansen * /en/Gnome/InteractFunction.xml: * /en/Gnome/ModuleClassInitHook.xml: * /en/Gnome/ModuleHook.xml: * /en/Gnome/ModuleInitHook.xml: * /en/Gnome/TriggerActionFunction.xml: * /en/Gnome/UISignalConnectFunc.xml: documented 2003-08-03 Martin Willemoes Hansen * /en/Gnome/ClientState.xml: * /en/Gnome/FileDomain.xml: * /en/Gnome/HelpError.xml: * /en/Gnome/PreferencesType.xml: * /en/Gnome/TriggerType.xml: * /en/Gnome/URLError.xml: documented 2003-08-02 Martin Willemoes Hansen * /en/Gnome/UIPixmapType.xml: * /en/Gnome/UIInfoConfigurableTypes.xml: * /en/Gnome/IconListMode.xml: * /en/Gnome/FontPickerMode.xml: * /en/Gnome/DateEditFlags.xml: * /en/Gnome/ClientFlags.xml: * /en/Gnome/DialogType.xml: * /en/Gnome/EdgePosition.xml: * /en/Gnome/InteractStyle.xml: * /en/Gnome/RestartStyle.xml: * /en/Gnome/SaveStyle.xml: * /en/Gnome/UIInfoType.xml: documented 2003-08-01 Martin Willemoes Hansen * /en/Gtk/MessageDialog.xml: Fixed remark. 2003-08-01 John Luke * en/*.xml: use C#-style names, ex Gdk instead of GDK * en/Gtk/TreeView.xml: add some info * en/Gtk/MessageDialog.xml: clean up 2003-07-31 John Luke * en/Gtk/TreeIter.xml: documented except Zero, Copy, and Free * en/Gtk/TreeViewColumn.xml: documented 2003-07-30 Duncan Mak * en/Gnome/CanvasShape.xml: documented. 2003-07-30 Duncan Mak * en/Gdk/EventNoExpose.xml: * en/Gdk/EventButton.xml: Added hyperlinks. 2003-07-30 Duncan Mak * en/Gnome/CanvasWidget.xml: * en/Gnome/CanvasRect.xml: * en/Gnome/CanvasRE.xml: * en/Gnome/CanvasPolygon.xml: * en/Gnome/CanvasPixbuf.xml: * en/Gnome/CanvasLine.xml: * en/Gnome/CanvasItem.xml: * en/Gnome/CanvasGroup.xml: * en/Gnome/CanvasEllipse.xml: * en/Gnome/CanvasClipgroup.xml: * en/Gnome/CanvasBpath.xml: * en/Gnome/Canvas.xml: fully documented. 2003-07-29 Duncan Mak * en/Gtk/Label.xml: Finished documentation for the Gtk.Label class. 2003-07-28 Duncan Mak * en/Glade/XML.xml: Added some documentation. 2003-07-27 John Luke * en/Gtk/CheckButton.xml: add small example, update * en/Gtk/Combo.xml: add example, update * en/Gtk/TreeModelFlags.xml: * en/Gtk/RcFlags.xml: more documentation from Jonathan Kessler . 2003-07-26 Duncan Mak * en/Gtk/Orientation.xml: * en/Gtk/MetricType.xml: * en/Gtk/ObjectFlags.xml: more documentation from Jonathan Kessler . 2003-07-25 Duncan Mak * en/Gtk/DestDefaults.xml: more documentation from Jonathan Kessler . * en/Gtk/TreeViewColumnSizing.xml: added documentation from Jonathan Kessler . 2003-07-24 John Luke * en/Rsvg.xml: add summary page * en/GConf.xml: add summary page 2003-07-22 John Luke * en/Rsvg: add directory * en/Rsvg/*.xml: add initial docs * en/Rsvg/Tool.xml: add example * en/Gtk/Menu.xml: add example 2003-07-22 Duncan Mak * en/Gtk/FSButton.xml: Removed the constructor, per the custom file update and added documentation. 2003-07-20 John Luke * en/Gtk/FileSelection.xml: update and add example 2003-07-19 John Luke * en/Gtk/OptionMenu.xml: documented 2003-07-18 John Luke * en/Gtk/TreeView.xml: add TreeViewDemo example * en/Pango/Weight.xml: remove trailing "n" 2003-07-18 Duncan Mak * en/Pango/Alignment.xml: * en/Pango/AttrTyoe.xml: * en/Pango/CoverageLevel.xml: * en/Pango/Direction.xml: * en/Pango/FontMask.xml: * en/Pango/OTTableType.xml: * en/Pango/Stretch.xml: * en/Pango/Style.xml: * en/Pango/TabAlign.xml: * en/Pango/Underline.xml: * en/Pango/Variant.xml: * en/Pango/Weight.xml: * en/Pango/WrapMode.xml: All enumerations in Pango are documented. 2003-07-17 John Luke * en/Gtk/CellRendererMode.xml: documented * en/Gtk/CellRendererState.xml: documented * en/Gtk/CellRenderer.xml: documented * en/Gtk/ImageMenuItem.xml: documented 2003-07-17 Duncan Mak * Fixed another off-by-one error in the enums from the last commit. I'm such a doofus. Also added the new enums that were missing from last night's commit. 2003-07-17 Duncan Mak * Added new documentation files for the new classes, and fixed the off-by-one enum member name bug that was introduced in the previous commit. 2003-07-16 John Luke * en/Gtk/CellRendererText.xml: documented, except one event and method * en/Gtk/CellRendererToggle.xml: documented * en/Gtk/CellRendererPixbuf.xml: documented * en/GConf/Client.xml: documented * en/Gnome/About.xml: documented 2003-07-16 Duncan Mak * All enumerations: Fixed the TypeSignature and MemberSignature in all documentation files for Enumerations. 2003-07-15 Duncan Mak * en/Gtk/ItemFactory.xml: Rename GetItemByAction and GetWidgetByAction to GetItem and GetWidget, to reflect metadata changes. * en/Gtk/TextBuffer.xml: Remove all references to *ByName methods, as they are now all overrides. * en/Gtk/HTML.xml: Update to use the new Begin overloads, since bug #46427 is fixed. 2003-07-14 Duncan Mak * en/Gtk/TextView.xml: all documented except for events. * en/Gtk/TextTag.xml: added the missing properties. 2003-07-13 Duncan Mak * en/Gtk/TextTag.xml: * en/Gtk/TextTagTable.xml: * en/Gtk/TextMark.xml: * en/Gtk/TextChildAnchor.xml: documented. 2003-07-12 Duncan Mak * en/Gtk/TextBuffer.xml: all documented except for events. 2003-07-07 Duncan Mak * en/Gtk/TearoffMenuItem.xml: documented. 2003-07-08 John Luke * en/Gtk/Fixed.xml: * en/Gtk/Image.xml: * en/Gtk/ToggleButton.xml: * en/Gtk/Frame.xml * en/Gtk/HBox.xml: small fixes 2003-07-04 John Luke * en/Gtk/Dialog.xml: fixes * en/Gtk/Application.xml: add example, fix methods 2003-07-04 Duncan Mak * en/Gtk/AccelGroup.xml: revert parts of my last patch, as some of the links do not resolve due to bug #38538. * en/Gtk/Button.xml (NewFromLabel): (NewFromStock): documented. * en/Gtk/Frame.xml (GetLabelAlign): documented. * en/Gtk/IconFactory.xml: * en/Gtk/IconSet.xml: * en/Gtk/IconSize.xml: * en/Gtk/IconSource.xml: documented. * en/Gtk/Paned.xml: added documentation for the events. * en/Gtk/ResponseType.xml: documented. 2003-07-03 John Luke * en/Gtk/Container.xml: add first draft 2003-07-02 John Luke * en/Gtk/TreeSelection.xml: fix method signatures, small updates 2003-06-30 Duncan Mak * en/Gtk/AccelGroup.xml: Added some more hyperlinks to the existing text. 2003-06-26 John Luke * en/Gtk/TreeView.xml: update example, paramater references * en/Gtk/Toolbar.xml: update and fix methods 2003-06-23 John Luke * en/Gtk/WindowGroup.xml: add some info * en/Gtk/WindowPosition.xml: update * en/Gtk/WindowType.xml: don't use contractions * en/Gtk/ToolbarChildType.xml: add first draft * en/Gtk/SortType.xml: update * en/Gtk/SizeGroupMode.xml: update * en/Gtk/ShadowType.xml: update * en/Gtk/PolicyType.xml: update * en/Gtk/PackType.xml: update * en/Gtk/Justification.xml: update * en/Gtk/CurveType.xml: update * en/Gtk/AttachOptions.xml: update 2003-06-15 John Luke * en/Gtk/Dialog.xml: add more info, add example * en/Gtk/DialogFlags: add first draft 2003-06-13 John Luke * en/Gtk/ProgressBarStyle.xml * en/Gtk/ProgressBarOrientation.xml * en/Gtk/ImageType.xml: add first drafts 2003-06-12 Hector E. Gomez Morales * en/Gtk/Window.xml: first draft. 2003-06-12 John Luke * en/Gtk/Image.xml: add parameter and returns references, Methods * en/Gtk/Window.xml: add parameter and returns references * en/Gtk/TreeView.xml: add RulesHint * en/Gtk/Stock.xml: add returns references * en/Gtk/Plug.xml: add first draft 2003-06-06 John Luke * en/GConf/*.xml: add * en/GConf.PropertyEditors/*.xml: add 2003-06-03 John Luke * README: update instructions to compile and install docs 2003-06-01 Lee Mallabone * en/*Sharp/bool*.xml: Remove more internal signal classes. * en/*Sharp/*Native.xml: Remove non-public signal classes. 2003-05-30 John Luke * en/Gtk/ToggleButton.xml: Fix typo, bulleted list. * en/Gtk/Progress.xml: Fix typo. * en/Gtk/Tooltips.xml: Fix method signature. * en/Gtk/Button.xml: Add some info. * en/Gtk/MessageDialog.xml: Add first draft * en/Gtk/InputDialog: Add first draft 2003-05-29 Lee Mallabone * en/*Sharp/*.xml: Remove the internal void*.xml signal docs. 2003-05-21 Lee Mallabone * en/Gtk/*.xml: Remove some private bits of Gtk assembly. * en/Gtk/Button.xml: Result of running the updater. * en/Gtk/SizeGroup*.xml: First draft of docs for GtkSizeGroup. 2003-05-20 Hector E. Gomez Morales * en/Gtk/Menu.xml:add first draft. 2003-05-19 John Luke * en/Gtk/SeparatorMenuItem.xml: * en/Gtk/Item.xml: Add first drafts. 2003-05-15 Martin Willemoes Hansen * en/Gnome.xml: Added * en/GLib.xml: Added 2003-05-14 John Luke * en/Gtk/Progress.xml: * en/Gtk/ProgressBar.xml: Add first drafts, without examples. * en/Gtk/EventBox.xml: * en/Gtk/Fixed.xml: * en/Gtk/ToggleButton.xml: * en/Gtk/Tooltips.xml: Add myself as maintainer 2003-05-09 John Luke * en/Gtk/ToolTips.xml: Add first draft, example. 2003-05-08 Lee Mallabone * en/Gtk/*.xml: * en/GtkSharp/*.xml: Changes as a result of "updating" the XML files to correspond to the latest actual API. Widget.xml is the only file to not process yet. 2003-05-02 Duncan Mak * en/Gtk/EventBox.xml: * en/Gtk/Fixed.xml: Add more updates from John Luke . 2003-05-01 Duncan Mak * en/Gtk/ToggleButton.xml: Add updates from John Luke . 2003-04-24 Pedro Martínez Juliá * en/Gtk/Combo.xml: Edit document. Ready to validate. There are a few TODO attributes but I think that will not be documented. 2003-04-22 Hector E. Gomez Morales * en/Gtk/AccelGroup.xml * en/Gtk/AccelLabel.xml * en/Gtk/Entry.xml * en/Gtk/HScrollbar.xml * en/Gtk/Label.xml * en/Gtk/MenuItem.xml * en/Gtk/MenuShell.xml * en/Gtk/Misc.xml * en/Gtk/ScrolledWindow.xml * en/Gtk/Toolbar.xml * en/Gtk/VScrollbar.xml * en/Gtk/Widget.xml: Changed the incorrect tag to the correct one and some small fixes. 2003-04-15 Miguel de Icaza * en/Glade/WidgetAttribute.cs: Add docs. 2003-04-14 Lee Mallabone * en/Gtk/Adjustment.xml: Add sane docs to ClampPage, based on the original C docs and comments from Miguel. * en/Gtk/Viewport1.cs, en/Gtk/Viewport.xml: Add a full sample, it's ignored by the browser at the moment. 2003-04-13 Lee Mallabone * en/Gtk/TreeSelection.xml: First draft. 2003-04-11 Hector E. Gomez Morales * en/Gtk/GammeCurve.xml * en/Gtk/MenuBar.xml * en/Gtk/MenuItem.xml * en/Gtk/Widget.xml * en/Gtk/WidgetFlags.xml: Got half of the properties of Widget only left the boolean ones. Minor docs and typos. 2003-04-04 Duncan Mak * en/Gtk/Label.xml: Add first draft of Label docs. 2003-03-28 Lee Mallabone * en/Gtk/Calendar.xml: Second draft. 2003-03-27 Lee Mallabone * en/Gtk/Viewport.xml: First draft, includes custom constructor. 2003-03-25 Duncan Mak * makefile: new overwrite family of targets. Use these for removing deprecated nodes, instead of just leaving them tagged with an attribute. 2003-03-25 Lee Mallabone * en/Gtk/Calendar.xml: First draft docs, still need a little work. 2003-03-24 Lee Mallabone * en/Gtk/HRuler.xml: * en/Gtk/VRuler.xml: * en/Gtk/Ruler.xml: New docs and tweaks. 2003-03-22 Lee Mallabone * en/Gtk/HRuler.xml: Short docs, simple API. 2003-03-21 Lee Mallabone * en/Gtk/Adjustment.xml: First draft; good docs for ClampPage missing. * en/Gtk/CalendarDisplayOptions.xml: * en/Gtk/AnchorType.xml: Simple docs for these enums. 2003-03-16 Hector E. Gomez Morales * en/Gtk/MenuShell.xml * en/Gtk/MenuDirectionType.xml: Documented. 2003-03-15 Lee Mallabone * en/Gtk/Bin.xml: * en/Gtk/Alignment.xml: First drafts. 2003-03-12 Lee Mallabone * en/Gtk/PositionType.xml: * en/Gtk/HandleBox.xml: First draft docs. 2003-03-11 Lee Mallabone * en/Gtk/Range.xml: First draft. 2003-03-09 Hector E. Gomez Morales * en/Gtk/Widget.xml:First draft: all methods documented. * en/Gtk/WidgetFlags.xml:Documented. 2003-03-09 Lee Mallabone * en/Gtk/Scale.xml: * en/Gtk/[VH]Scale.xml: Simple documentation for Scale widgets. 2003-03-08 Miguel de Icaza * en/GLib/IdleHandler.xml: Documented. * en/GLib/List.xml: Documented. * en/GLib/Idle.xml: Documented. 2003-03-08 Lee Mallabone * en/Gtk/Table.xml: First draft of table docs. Have left spacing properties as todo items until I sort the API - it's a bit of a mess. 2003-03-08 Duncan Mak * en/*/*.xml: Removed all the Deprecated nodes now. 2003-03-06 Hector E. Gomez Morales * en/Gtk/AccelFlags.xml * en/Gtk/ScrollType.xml: Update and first draft. 2003-03-06 Duncan Mak * en/*/*.xml: Updated all the docs to match the new API. All the nodes that no longer have a corresponding member in the type are now marked as deprecated. We'll have to wait for Miguel to implement this in the browser to stop displaying them. All gtype constructors have been regenerated, because of the 'uint' to 'GLib.Type' change. However, this patch will preserve (well, it was regenerated) the customized text for those GType constructors. A lot of the 'Finalized' methods are also now marked as deprecated, because the classes implement 'Dispose' instead. This is a possible place for customized scripts to generate template documentation, similar to the GType property and GType constructors. 2003-03-05 Lee Mallabone * en/Gtk/Statusbar.xml: * en/GtkSharp/TextP*.xml: Statusbar docs for widget and relevant event handlers. 2003-03-05 Duncan Mak * en/Gtk/Curve.xml * en/Gtk/DrawingArea.xml: More from Hector. 2003-03-04 Lee Mallabone * en/Gtk/*Paned.xml: First draft at Paned docs. 2003-03-02 Lee Mallabone * en/Gtk/SpinButtonUpdatePolicy.xml: * en/Gtk/SpinType.xml: * en/Gtk/SpinButton.xml: First draft of things SpinButton related. 2003-03-01 Peter Williams * en/Gdk/GC.xml: Minor markup / grammar fixes. 2003-02-28 Lee Mallabone * en/Gtk/Invisible.xml: * en/Gtk/Separator.xml: * en/Gtk/VSeparator.xml: * en/Gtk/GammaCurve: Hector's latest. * en/Gtk/Frame.xml: complete docs exluding dubious API calls. * en/Gtk/MenuItem: document a couple of skeleton methods * en/Gtk: Some corrections for wrong use of 'langword'. 2003-02-27 Martin Willemoes Hansen * en/Gtk/TreeModel.xml: Fixed GetValue method signature 2003-02-25 Lee Mallabone * en/Gtk/AspectFrame.xml: full doc, based on C docs. * en/Gtk/FileSelection.xml: first draft * en/Gtk/ColorSelection.xml: first draft, incorrect API left undocumented and reported as bug #38672. * en/Gtk/ColorSelectionDialog.xml: full doc. * en/Gtk/CheckMenuItem.xml: full doc, based on C docs. * en/Gtk/UpdateType.xml: simple docs for a simple enum. 2003-02-25 Duncan Mak * en/Gtk/WrapMode.xml: From Hector. * en/Gtk/ButtonsType.xml: * en/Gtk/MessageType.xml: Can't sleep, wrote (cut-n-pasted) some documentation for some enums. 2003-02-25 Lee Mallabone * en/Gtk/FontSelection.xml: * en/Gtk/FontSelectionDialog.xml: docs for Font widgets 2003-02-24 Kevin Breit * en/Gtk/ArrowType.xml: Fixed a tag mismatch error that caused it to break compile. 2003-02-24 Duncan Mak * makefile: Make the path generic again, I forgot to revert the last patch after Gonzalo checked in a temporary fix to Uri.cs. 2003-02-24 Kevin Breit * en/Gtk/ArrowType.xml: Removed the "To be added" from the remarks sections. * en/Gtk/Arrow.xml: Fixed up a few things in the documentation. 2003-02-23 Duncan Mak * makefile: the docs target is dangerous, remove it by default. Also, remove the -f flag, so even if we do run it, it won't overwrite files, by default. * en/Gtk/AccelGroup.xml: From Raphael Schmid , with edits. * en/Gtk/DirectionType.xml: * en/Gtk/SelectionMode.xml: More from Hector. * en/*/*.xml: a Big patch. This adds code-generated documentation for internal constructors, the GType property and the Finalized method. 2003-02-22 Duncan Mak * en/Gtk/MovementStep.xml: * en/Gtk/ResizeMode.xml: * en/Gtk/StateType.xml: * en/Gtk/ToolbarStyle.xml: More from Hector, the Mexican documentation phenomenon! * en/Gtk/HSeparator.xml: Hector Gomez. * en/Gtk/DeleteType.xml: Kevin Breit, with edits. 2003-02-21 Kevin Breit * en/Gtk/Arrow.xml: Fixed a small error where a . was missing at the end of a sentence. 2003-02-21 Duncan Mak * en/Gtk/Arrow.xml: Kevin Breit, . * en/Gtk/Misc.xml: Raphael J. Schmid, . * en/Gtk/CornerType.xml: Kevin Breit, . * en/Gtk/AccelLabel.xml: Hector E. Gomez Morales . * en/Gtk/AccelFlags.xml: Hector E. Gomez Morales . 2003-02-19 Jeffrey Stedfast * en/Gdk/GC.xml: Documented. 2003-02-17 Duncan Mak * AtkSharp/*.xml: * Gdk/*.xml: * GdkSharp/*.xml: * GladeSharp/*.xml: * Gnome/*.xml: * GnomeSharp/*.xml: * Pango/*.xml: Some ref/out changes. 2003-02-17 Duncan Mak * makefile: Some makefile changes. * en/Gtk/Entry.xml: Patch from Lee Mallabone to add some documentation text for the Gtk.Entry class. 2003-02-14 Duncan Mak * en/*: Updated the docs and added a new Maintainer attribute, also fixed the generator to produce 'ref/out' modifiers for parameters. 2003-02-14 Duncan Mak * makefile: Added a makefile. * all.xml: Indexer file for the doc browser. gtk-sharp-2.12.10/glib/0000777000175000001440000000000011345266754011510 500000000000000gtk-sharp-2.12.10/glib/Makefile.am0000644000175000001440000000726311136512017013450 00000000000000SUBDIRS = glue TARGET = $(ASSEMBLY) ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = glib-sharp noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config $(POLICY_ASSEMBLIES) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = glib-sharp-2.0.pc gapidir = $(datadir)/gapi-2.0 gapi_DATA = glib-api.xml CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) references = sources = \ Argv.cs \ Boxed.cs \ CDeclCallbackAttribute.cs \ ClassInitializerAttribute.cs \ ConnectBeforeAttribute.cs \ DefaultSignalHandlerAttribute.cs \ DelegateWrapper.cs \ DestroyNotify.cs \ EnumWrapper.cs \ ExceptionManager.cs \ FileUtils.cs \ Format.cs \ GException.cs \ GInterfaceAdapter.cs \ GInterfaceAttribute.cs \ Global.cs \ GString.cs \ GType.cs \ GTypeAttribute.cs \ Idle.cs \ IgnoreClassInitializersAttribute.cs \ InitiallyUnowned.cs \ IOChannel.cs \ IWrapper.cs \ ListBase.cs \ List.cs \ Log.cs \ MainContext.cs \ MainLoop.cs \ ManagedValue.cs \ Markup.cs \ Marshaller.cs \ MissingIntPtrCtorException.cs \ NotifyHandler.cs \ Object.cs \ ObjectManager.cs \ Opaque.cs \ PropertyAttribute.cs \ PtrArray.cs \ Signal.cs \ SignalArgs.cs \ SignalAttribute.cs \ SignalCallback.cs \ SignalClosure.cs \ SList.cs \ Source.cs \ Spawn.cs \ Thread.cs \ Timeout.cs \ ToggleRef.cs \ TypeConverter.cs \ TypeFundamentals.cs \ TypeInitializerAttribute.cs \ UnwrappedObject.cs \ ValueArray.cs \ Value.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) \ $(ASSEMBLY).config.in \ glib-sharp-2.0.pc.in \ glib-api.xml gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk cp $(top_srcdir)/gtk-sharp.snk . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . if PLATFORM_WIN32 GAPI_CDECL_INSERT=$(top_srcdir)/gapi-cdecl-insert --keyfile=gtk-sharp.snk $(ASSEMBLY) else GAPI_CDECL_INSERT= endif $(ASSEMBLY): $(build_sources) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(GAPI_CDECL_INSERT) policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk $(AL) -link:policy.$*.config -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi gtk-sharp-2.12.10/glib/PtrArray.cs0000644000175000001440000001532011140655056013506 00000000000000// PtrArray.cs - PtrArray wrapper implementation // // Authors: Mike Gorse // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public class PtrArray : IDisposable, ICollection, ICloneable, IWrapper { private IntPtr handle = IntPtr.Zero; private bool managed = false; internal bool elements_owned = false; protected System.Type element_type = null; [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_ptr_array_sized_new (uint n_preallocs); public PtrArray (uint n_preallocs, System.Type element_type, bool owned, bool elements_owned) { handle = g_ptr_array_sized_new (n_preallocs); this.element_type = element_type; managed = owned; this.elements_owned = elements_owned; } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_ptr_array_new (); public PtrArray (System.Type element_type, bool owned, bool elements_owned) { handle = g_ptr_array_new (); this.element_type = element_type; managed = owned; this.elements_owned = elements_owned; } internal PtrArray (IntPtr raw, System.Type element_type, bool owned, bool elements_owned) { handle = raw; this.element_type = element_type; managed = owned; this.elements_owned = elements_owned; } public PtrArray (IntPtr raw, System.Type element_type) : this (raw, element_type, false, false) {} public PtrArray (IntPtr raw) : this (raw, null) {} ~PtrArray () { Dispose (false); } // IDisposable public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } [DllImport("libgobject-2.0-0.dll")] static extern void g_ptr_array_free (IntPtr raw, bool free_seg); [DllImport ("libglib-2.0-0.dll")] static extern void g_object_unref (IntPtr item); [DllImport ("libglib-2.0-0.dll")] static extern void g_free (IntPtr item); void Dispose (bool disposing) { if (Handle == IntPtr.Zero) return; if (elements_owned) { int count = Count; for (uint i = 0; i < count; i++) if (typeof (GLib.Object).IsAssignableFrom (element_type)) g_object_unref (NthData (i)); else if (typeof (GLib.Opaque).IsAssignableFrom (element_type)) GLib.Opaque.GetOpaque (NthData (i), element_type, true).Dispose (); else g_free (NthData (i)); } if (managed) g_ptr_array_free (Handle, true); handle = IntPtr.Zero; } public IntPtr Handle { get { return handle; } } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_ptr_array_get_array (IntPtr raw); public IntPtr ArrayPtr { get { return gtksharp_ptr_array_get_array (Handle); } } [DllImport("libgobject-2.0-0.dll")] static extern void g_ptr_array_add (IntPtr raw, IntPtr val); public void Add (IntPtr val) { g_ptr_array_add (Handle, val); } [DllImport("libgobject-2.0-0.dll")] static extern void g_ptr_array_remove (IntPtr raw, IntPtr data); public void Remove (IntPtr data) { g_ptr_array_remove (Handle, data); } [DllImport("libgobject-2.0-0.dll")] static extern void g_ptr_array_remove_range (IntPtr raw, uint index, uint length); public void RemoveRange (IntPtr data, uint index, uint length) { g_ptr_array_remove_range (Handle, index, length); } [DllImport("glibsharpglue-2")] static extern int gtksharp_ptr_array_get_count (IntPtr raw); // ICollection public int Count { get { return gtksharp_ptr_array_get_count (Handle); } } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_ptr_array_get_nth (IntPtr raw, uint idx); public object this [int index] { get { IntPtr data = NthData ((uint) index); object ret = null; ret = DataMarshal (data); return ret; } } internal object DataMarshal (IntPtr data) { object ret = null; if (element_type != null) { if (element_type == typeof (string)) ret = Marshaller.Utf8PtrToString (data); else if (element_type == typeof (IntPtr)) ret = data; else if (element_type.IsSubclassOf (typeof (GLib.Object))) ret = GLib.Object.GetObject (data, false); else if (element_type.IsSubclassOf (typeof (GLib.Opaque))) ret = GLib.Opaque.GetOpaque (data, element_type, elements_owned); else if (element_type == typeof (int)) ret = (int) data; else if (element_type.IsValueType) ret = Marshal.PtrToStructure (data, element_type); else ret = Activator.CreateInstance (element_type, new object[] {data}); } else if (Object.IsObject (data)) ret = GLib.Object.GetObject (data, false); return ret; } internal IntPtr NthData (uint index) { return gtksharp_ptr_array_get_nth (Handle, index);; } // Synchronization could be tricky here. Hmm. public bool IsSynchronized { get { return false; } } public object SyncRoot { get { return null; } } public void CopyTo (Array array, int index) { if (array == null) throw new ArgumentNullException ("Array can't be null."); if (index < 0) throw new ArgumentOutOfRangeException ("Index must be greater than 0."); if (index + Count < array.Length) throw new ArgumentException ("Array not large enough to copy into starting at index."); for (int i = 0; i < Count; i++) ((IList) array) [index + i] = this [i]; } private class ListEnumerator : IEnumerator { private int current = -1; private PtrArray vals; public ListEnumerator (PtrArray vals) { this.vals = vals; } public object Current { get { if (current == -1) return null; return vals [current]; } } public bool MoveNext () { if (++current >= vals.Count) { current = -1; return false; } return true; } public void Reset () { current = -1; } } // IEnumerable public IEnumerator GetEnumerator () { return new ListEnumerator (this); } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_ptr_array_copy (IntPtr raw); // ICloneable public object Clone () { return new PtrArray (g_ptr_array_copy (Handle), element_type, false, false); } } } gtk-sharp-2.12.10/glib/IWrapper.cs0000644000175000001440000000163711131157057013477 00000000000000// IWrapper.cs - Common code for GInterfaces and GObjects // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public interface IWrapper { IntPtr Handle { get; } } } gtk-sharp-2.12.10/glib/Object.cs0000644000175000001440000004335611140655056013162 00000000000000// Object.cs - GObject class wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.ComponentModel; using System.Reflection; using System.Runtime.InteropServices; using System.Text; public class Object : IWrapper, IDisposable { IntPtr handle; ToggleRef tref; bool disposed = false; Hashtable data; static Hashtable Objects = new Hashtable(); static ArrayList PendingDestroys = new ArrayList (); static bool idle_queued; ~Object () { lock (PendingDestroys) { lock (Objects) { if (Objects[Handle] is ToggleRef) PendingDestroys.Add (Objects [Handle]); Objects.Remove (Handle); } if (!idle_queued){ Timeout.Add (50, new TimeoutHandler (PerformQueuedUnrefs)); idle_queued = true; } } } [DllImport("libgobject-2.0-0.dll")] static extern void g_object_unref (IntPtr raw); static bool PerformQueuedUnrefs () { object [] references; lock (PendingDestroys){ references = new object [PendingDestroys.Count]; PendingDestroys.CopyTo (references, 0); PendingDestroys.Clear (); idle_queued = false; } foreach (ToggleRef r in references) r.Free (); return false; } public virtual void Dispose () { if (disposed) return; disposed = true; ToggleRef toggle_ref = Objects [Handle] as ToggleRef; Objects.Remove (Handle); try { if (toggle_ref != null) toggle_ref.Free (); } catch (Exception e) { Console.WriteLine ("Exception while disposing a " + this + " in Gtk#"); throw e; } handle = IntPtr.Zero; GC.SuppressFinalize (this); } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_object_ref (IntPtr raw); public static Object GetObject(IntPtr o, bool owned_ref) { if (o == IntPtr.Zero) return null; Object obj = null; if (Objects.Contains (o)) { ToggleRef toggle_ref = Objects [o] as ToggleRef; if (toggle_ref != null && toggle_ref.IsAlive) obj = toggle_ref.Target; } if (obj != null && obj.Handle == o) { if (owned_ref) g_object_unref (obj.Handle); return obj; } if (!owned_ref) g_object_ref (o); obj = GLib.ObjectManager.CreateObject(o); if (obj == null) { g_object_unref (o); return null; } return obj; } public static Object GetObject(IntPtr o) { return GetObject (o, false); } private static void ConnectDefaultHandlers (GType gtype, System.Type t) { foreach (MethodInfo minfo in t.GetMethods(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.DeclaredOnly)) { MethodInfo baseinfo = minfo.GetBaseDefinition (); if (baseinfo == minfo) continue; foreach (object attr in baseinfo.GetCustomAttributes (typeof (DefaultSignalHandlerAttribute), false)) { DefaultSignalHandlerAttribute sigattr = attr as DefaultSignalHandlerAttribute; MethodInfo connector = sigattr.Type.GetMethod (sigattr.ConnectionMethod, BindingFlags.Static | BindingFlags.NonPublic); object[] parms = new object [1]; parms [0] = gtype; connector.Invoke (null, parms); break; } } } private static void InvokeClassInitializers (GType gtype, System.Type t) { object[] parms = {gtype, t}; BindingFlags flags = BindingFlags.Static | BindingFlags.NonPublic; foreach (TypeInitializerAttribute tia in t.GetCustomAttributes (typeof (TypeInitializerAttribute), true)) { MethodInfo m = tia.Type.GetMethod (tia.MethodName, flags); if (m != null) m.Invoke (null, parms); } for (Type curr = t; curr != typeof(GLib.Object); curr = curr.BaseType) { if (curr.Assembly.IsDefined (typeof (IgnoreClassInitializersAttribute), false)) continue; foreach (MethodInfo minfo in curr.GetMethods(flags)) if (minfo.IsDefined (typeof (ClassInitializerAttribute), true)) minfo.Invoke (null, parms); } } // Key: The pointer to the ParamSpec of the property // Value: The corresponding PropertyInfo object static Hashtable properties; static Hashtable Properties { get { if (properties == null) properties = new Hashtable (); return properties; } } [DllImport ("glibsharpglue-2")] static extern void gtksharp_override_property_handlers (IntPtr type, GetPropertyDelegate get_cb, SetPropertyDelegate set_cb); [DllImport ("glibsharpglue-2")] static extern IntPtr gtksharp_register_property (IntPtr type, IntPtr name, IntPtr nick, IntPtr blurb, uint property_id, IntPtr property_type, bool can_read, bool can_write); static void AddProperties (GType gtype, System.Type t) { uint idx = 1; bool handlers_overridden = false; foreach (PropertyInfo pinfo in t.GetProperties (BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly)) { foreach (object attr in pinfo.GetCustomAttributes (typeof (PropertyAttribute), false)) { if(pinfo.GetIndexParameters().Length > 0) throw(new InvalidOperationException(String.Format("GLib.RegisterPropertyAttribute cannot be applied to property {0} of type {1} because the property expects one or more indexed parameters", pinfo.Name, t.FullName))); PropertyAttribute property_attr = attr as PropertyAttribute; if (!handlers_overridden) { gtksharp_override_property_handlers (gtype.Val, GetPropertyHandler, SetPropertyHandler); handlers_overridden = true; } IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (property_attr.Name); IntPtr native_nick = GLib.Marshaller.StringToPtrGStrdup (property_attr.Nickname); IntPtr native_blurb = GLib.Marshaller.StringToPtrGStrdup (property_attr.Blurb); IntPtr param_spec = gtksharp_register_property (gtype.Val, native_name, native_nick, native_blurb, idx, ((GType) pinfo.PropertyType).Val, pinfo.CanRead, pinfo.CanWrite); GLib.Marshaller.Free (native_name); GLib.Marshaller.Free (native_nick); GLib.Marshaller.Free (native_blurb); if (param_spec == IntPtr.Zero) // The GType of the property is not supported throw new InvalidOperationException (String.Format ("GLib.PropertyAttribute cannot be applied to property {0} of type {1} because the return type of the property is not supported", pinfo.Name, t.FullName)); Properties.Add (param_spec, pinfo); idx++; } } } [GLib.CDeclCallback] delegate void GetPropertyDelegate (IntPtr GObject, uint property_id, ref GLib.Value value, IntPtr pspec); static void GetPropertyCallback (IntPtr handle, uint property_id, ref GLib.Value value, IntPtr param_spec) { GLib.Object obj = GLib.Object.GetObject (handle, false); value.Val = (Properties [param_spec] as PropertyInfo).GetValue (obj, new object [0]); } static GetPropertyDelegate get_property_handler; static GetPropertyDelegate GetPropertyHandler { get { if (get_property_handler == null) get_property_handler = new GetPropertyDelegate (GetPropertyCallback); return get_property_handler; } } [GLib.CDeclCallback] delegate void SetPropertyDelegate (IntPtr GObject, uint property_id, ref GLib.Value value, IntPtr pspec); static void SetPropertyCallback(IntPtr handle, uint property_id, ref GLib.Value value, IntPtr param_spec) { GLib.Object obj = GLib.Object.GetObject (handle, false); (Properties [param_spec] as PropertyInfo).SetValue (obj, value.Val, new object [0]); } static SetPropertyDelegate set_property_handler; static SetPropertyDelegate SetPropertyHandler { get { if (set_property_handler == null) set_property_handler = new SetPropertyDelegate (SetPropertyCallback); return set_property_handler; } } [DllImport("libgobject-2.0-0.dll")] static extern void g_type_add_interface_static (IntPtr gtype, IntPtr iface_type, ref GInterfaceInfo info); static void AddInterfaces (GType gtype, Type t) { foreach (Type iface in t.GetInterfaces ()) { if (!iface.IsDefined (typeof (GInterfaceAttribute), true) || iface.IsAssignableFrom (t.BaseType)) continue; GInterfaceAttribute attr = iface.GetCustomAttributes (typeof (GInterfaceAttribute), false) [0] as GInterfaceAttribute; GInterfaceAdapter adapter = Activator.CreateInstance (attr.AdapterType, null) as GInterfaceAdapter; GInterfaceInfo info = adapter.Info; g_type_add_interface_static (gtype.Val, adapter.GType.Val, ref info); } } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_register_type (IntPtr name, IntPtr parent_type); static int type_uid; static string BuildEscapedName (System.Type t) { string qn = t.FullName; // Just a random guess StringBuilder sb = new StringBuilder (20 + qn.Length); sb.Append ("__gtksharp_"); sb.Append (type_uid++); sb.Append ("_"); foreach (char c in qn) { if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) sb.Append (c); else if (c == '.') sb.Append ('_'); else if ((uint) c <= byte.MaxValue) { sb.Append ('+'); sb.Append (((byte) c).ToString ("x2")); } else { sb.Append ('-'); sb.Append (((uint) c).ToString ("x4")); } } return sb.ToString (); } protected static GType RegisterGType (System.Type t) { GType parent_gtype = LookupGType (t.BaseType); string name = BuildEscapedName (t); IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); GType gtype = new GType (gtksharp_register_type (native_name, parent_gtype.Val)); GLib.Marshaller.Free (native_name); GLib.GType.Register (gtype, t); AddProperties (gtype, t); ConnectDefaultHandlers (gtype, t); InvokeClassInitializers (gtype, t); AddInterfaces (gtype, t); g_types[t] = gtype; return gtype; } static Hashtable g_types = new Hashtable (); protected GType LookupGType () { return LookupGType (GetType ()); } protected internal static GType LookupGType (System.Type t) { if (g_types.Contains (t)) return (GType) g_types [t]; PropertyInfo pi = t.GetProperty ("GType", BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.Public); if (pi != null) return (GType) pi.GetValue (null, null); return RegisterGType (t); } protected Object (IntPtr raw) { Raw = raw; } protected Object () { CreateNativeObject (new string [0], new GLib.Value [0]); } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_object_new (IntPtr gtype, IntPtr dummy); [Obsolete] protected Object (GType gtype) { Raw = g_object_new (gtype.Val, IntPtr.Zero); } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_object_newv (IntPtr gtype, int n_params, IntPtr[] names, GLib.Value[] vals); protected virtual void CreateNativeObject (string[] names, GLib.Value[] vals) { IntPtr[] native_names = new IntPtr [names.Length]; for (int i = 0; i < names.Length; i++) native_names [i] = GLib.Marshaller.StringToPtrGStrdup (names [i]); Raw = gtksharp_object_newv (LookupGType ().Val, names.Length, native_names, vals); foreach (IntPtr p in native_names) GLib.Marshaller.Free (p); } protected virtual IntPtr Raw { get { return handle; } set { if (handle == value) return; if (handle != IntPtr.Zero) { Objects.Remove (handle); if (tref != null) { tref.Free (); tref = null; } } handle = value; if (value != IntPtr.Zero) { tref = new ToggleRef (this); Objects [value] = tref; } } } public static GLib.GType GType { get { return GType.Object; } } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_get_type_name (IntPtr raw); protected string TypeName { get { return Marshaller.Utf8PtrToString (gtksharp_get_type_name (Raw)); } } internal GLib.GType NativeType { get { return LookupGType (); } } internal ToggleRef ToggleRef { get { return tref; } } public IntPtr Handle { get { return handle; } } public IntPtr OwnedHandle { get { return g_object_ref (handle); } } Hashtable before_signals; [Obsolete ("Replaced by GLib.Signal marshaling mechanism.")] protected internal Hashtable BeforeSignals { get { if (before_signals == null) before_signals = new Hashtable (); return before_signals; } } Hashtable after_signals; [Obsolete ("Replaced by GLib.Signal marshaling mechanism.")] protected internal Hashtable AfterSignals { get { if (after_signals == null) after_signals = new Hashtable (); return after_signals; } } EventHandlerList before_handlers; [Obsolete ("Replaced by GLib.Signal marshaling mechanism.")] protected EventHandlerList BeforeHandlers { get { if (before_handlers == null) before_handlers = new EventHandlerList (); return before_handlers; } } EventHandlerList after_handlers; [Obsolete ("Replaced by GLib.Signal marshaling mechanism.")] protected EventHandlerList AfterHandlers { get { if (after_handlers == null) after_handlers = new EventHandlerList (); return after_handlers; } } [CDeclCallback] delegate void NotifyDelegate (IntPtr handle, IntPtr pspec, IntPtr gch); void NotifyCallback (IntPtr handle, IntPtr pspec, IntPtr gch) { try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); NotifyArgs args = new NotifyArgs (); args.Args = new object[1]; args.Args[0] = pspec; NotifyHandler handler = (NotifyHandler) sig.Handler; handler (GLib.Object.GetObject (handle), args); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } } void ConnectNotification (string signal, NotifyHandler handler) { Signal sig = Signal.Lookup (this, signal, new NotifyDelegate (NotifyCallback)); sig.AddDelegate (handler); } public void AddNotification (string property, NotifyHandler handler) { ConnectNotification ("notify::" + property, handler); } public void AddNotification (NotifyHandler handler) { ConnectNotification ("notify", handler); } void DisconnectNotification (string signal, NotifyHandler handler) { Signal sig = Signal.Lookup (this, signal, new NotifyDelegate (NotifyCallback)); sig.RemoveDelegate (handler); } public void RemoveNotification (string property, NotifyHandler handler) { DisconnectNotification ("notify::" + property, handler); } public void RemoveNotification (NotifyHandler handler) { DisconnectNotification ("notify", handler); } public override int GetHashCode () { return Handle.GetHashCode (); } public Hashtable Data { get { if (data == null) data = new Hashtable (); return data; } } Hashtable persistent_data; protected Hashtable PersistentData { get { if (persistent_data == null) persistent_data = new Hashtable (); return persistent_data; } } [DllImport("libgobject-2.0-0.dll")] static extern void g_object_get_property (IntPtr obj, IntPtr name, ref GLib.Value val); protected GLib.Value GetProperty (string name) { Value val = new Value (this, name); IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); g_object_get_property (Raw, native_name, ref val); GLib.Marshaller.Free (native_name); return val; } [DllImport("libgobject-2.0-0.dll")] static extern void g_object_set_property (IntPtr obj, IntPtr name, ref GLib.Value val); protected void SetProperty (string name, GLib.Value val) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); g_object_set_property (Raw, native_name, ref val); GLib.Marshaller.Free (native_name); } [DllImport("libgobject-2.0-0.dll")] static extern void g_object_notify (IntPtr obj, IntPtr property_name); protected void Notify (string property_name) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (property_name); g_object_notify (Handle, native_name); GLib.Marshaller.Free (native_name); } [DllImport("glibsharpglue-2")] static extern void gtksharp_override_virtual_method (IntPtr gtype, IntPtr name, Delegate cb); protected static void OverrideVirtualMethod (GType gtype, string name, Delegate cb) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); gtksharp_override_virtual_method (gtype.Val, native_name, cb); GLib.Marshaller.Free (native_name); } [DllImport("libgobject-2.0-0.dll")] protected static extern void g_signal_chain_from_overridden (IntPtr args, ref GLib.Value retval); [DllImport("glibsharpglue-2")] static extern bool gtksharp_is_object (IntPtr obj); internal static bool IsObject (IntPtr obj) { return gtksharp_is_object (obj); } [DllImport("glibsharpglue-2")] static extern int gtksharp_object_get_ref_count (IntPtr obj); protected int RefCount { get { return gtksharp_object_get_ref_count (Handle); } } internal void Harden () { tref.Harden (); } static Object () { if (Environment.GetEnvironmentVariable ("GTK_SHARP_DEBUG") != null) GLib.Log.SetLogHandler ("GLib-GObject", GLib.LogLevelFlags.All, new GLib.LogFunc (GLib.Log.PrintTraceLogFunction)); } } } gtk-sharp-2.12.10/glib/GString.cs0000644000175000001440000000301211131157057013310 00000000000000// GLib.GString.cs : Marshaler for GStrings // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class GString : GLib.IWrapper { IntPtr handle; [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_string_free (IntPtr mem, bool free_segments); ~GString () { g_string_free (handle, true); } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_string_new (IntPtr text); public GString (string text) { IntPtr native_text = Marshaller.StringToPtrGStrdup (text); handle = g_string_new (native_text); Marshaller.Free (native_text); } public IntPtr Handle { get { return handle; } } public static string PtrToString (IntPtr ptr) { return Marshaller.Utf8PtrToString (ptr); } } } gtk-sharp-2.12.10/glib/ClassInitializerAttribute.cs0000644000175000001440000000175011131157057017077 00000000000000// ClassInitializerAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [Obsolete ("Replaced by TypeInitializerAttribute")] public sealed class ClassInitializerAttribute : Attribute { public ClassInitializerAttribute () {} } } gtk-sharp-2.12.10/glib/Value.cs0000755000175000001440000004204211140655056013022 00000000000000// GLib.Value.cs - GLib Value class implementation // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; [StructLayout (LayoutKind.Sequential)] public struct Value : IDisposable { IntPtr type; long pad_1; long pad_2; public static Value Empty; public Value (GLib.GType gtype) { type = IntPtr.Zero; pad_1 = pad_2 = 0; g_value_init (ref this, gtype.Val); } public Value (object obj) { type = IntPtr.Zero; pad_1 = pad_2 = 0; GType gtype = (GType) obj.GetType (); g_value_init (ref this, gtype.Val); Val = obj; } public Value (bool val) : this (GType.Boolean) { g_value_set_boolean (ref this, val); } public Value (byte val) : this (GType.UChar) { g_value_set_uchar (ref this, val); } public Value (sbyte val) : this (GType.Char) { g_value_set_char (ref this, val); } public Value (int val) : this (GType.Int) { g_value_set_int (ref this, val); } public Value (uint val) : this (GType.UInt) { g_value_set_uint (ref this, val); } public Value (ushort val) : this (GType.UInt) { g_value_set_uint (ref this, val); } public Value (long val) : this (GType.Int64) { g_value_set_int64 (ref this, val); } public Value (ulong val) : this (GType.UInt64) { g_value_set_uint64 (ref this, val); } [Obsolete ("Replaced by Value(object) constructor")] public Value (EnumWrapper wrap, string type_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (type_name); gtksharp_value_create_from_type_name (ref this, native); GLib.Marshaller.Free (native); if (wrap.flags) g_value_set_flags (ref this, (uint) (int) wrap); else g_value_set_enum (ref this, (int) wrap); } public Value (float val) : this (GType.Float) { g_value_set_float (ref this, val); } public Value (double val) : this (GType.Double) { g_value_set_double (ref this, val); } public Value (string val) : this (GType.String) { IntPtr native_val = GLib.Marshaller.StringToPtrGStrdup (val); g_value_set_string (ref this, native_val); GLib.Marshaller.Free (native_val); } public Value (IntPtr val) : this (GType.Pointer) { g_value_set_pointer (ref this, val); } public Value (Opaque val, string type_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (type_name); gtksharp_value_create_from_type_name (ref this, native); GLib.Marshaller.Free (native); g_value_set_boxed (ref this, val.Handle); } public Value (GLib.Object val) : this (val == null ? GType.Object : val.NativeType) { g_value_set_object (ref this, val == null ? IntPtr.Zero : val.Handle); } public Value (GLib.GInterfaceAdapter val) : this (val == null ? GType.Object : val.GType) { g_value_set_object (ref this, val == null ? IntPtr.Zero : val.Handle); } public Value (GLib.Object obj, string prop_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr prop = GLib.Marshaller.StringToPtrGStrdup (prop_name); gtksharp_value_create_from_property (ref this, obj.Handle, prop); GLib.Marshaller.Free (prop); } [Obsolete] public Value (GLib.Object obj, string prop_name, EnumWrapper wrap) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (prop_name); gtksharp_value_create_from_type_and_property (ref this, obj.NativeType.Val, native); GLib.Marshaller.Free (native); if (wrap.flags) g_value_set_flags (ref this, (uint) (int) wrap); else g_value_set_enum (ref this, (int) wrap); } [Obsolete] public Value (IntPtr obj, string prop_name, Opaque val) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (prop_name); gtksharp_value_create_from_property (ref this, obj, native); GLib.Marshaller.Free (native); g_value_set_boxed (ref this, val.Handle); } public Value (string[] val) : this (new GLib.GType (g_strv_get_type ())) { if (val == null) { g_value_set_boxed (ref this, IntPtr.Zero); return; } IntPtr native_array = Marshal.AllocHGlobal ((val.Length + 1) * IntPtr.Size); for (int i = 0; i < val.Length; i++) Marshal.WriteIntPtr (native_array, i * IntPtr.Size, GLib.Marshaller.StringToPtrGStrdup (val[i])); Marshal.WriteIntPtr (native_array, val.Length * IntPtr.Size, IntPtr.Zero); g_value_set_boxed (ref this, native_array); for (int i = 0; i < val.Length; i++) GLib.Marshaller.Free (Marshal.ReadIntPtr (native_array, i * IntPtr.Size)); Marshal.FreeHGlobal (native_array); } public void Dispose () { g_value_unset (ref this); } public void Init (GLib.GType gtype) { g_value_init (ref this, gtype.Val); } public static explicit operator bool (Value val) { return g_value_get_boolean (ref val); } public static explicit operator byte (Value val) { return g_value_get_uchar (ref val); } public static explicit operator sbyte (Value val) { return g_value_get_char (ref val); } public static explicit operator int (Value val) { return g_value_get_int (ref val); } public static explicit operator uint (Value val) { return g_value_get_uint (ref val); } public static explicit operator ushort (Value val) { return (ushort) g_value_get_uint (ref val); } public static explicit operator long (Value val) { return g_value_get_int64 (ref val); } public static explicit operator ulong (Value val) { return g_value_get_uint64 (ref val); } [Obsolete ("Replaced by Enum cast")] public static explicit operator EnumWrapper (Value val) { if (glibsharp_value_holds_flags (ref val)) return new EnumWrapper ((int)g_value_get_flags (ref val), true); else return new EnumWrapper (g_value_get_enum (ref val), false); } public static explicit operator Enum (Value val) { if (glibsharp_value_holds_flags (ref val)) return (Enum)Enum.ToObject (GType.LookupType (val.type), g_value_get_flags (ref val)); else return (Enum)Enum.ToObject (GType.LookupType (val.type), g_value_get_enum (ref val)); } public static explicit operator float (Value val) { return g_value_get_float (ref val); } public static explicit operator double (Value val) { return g_value_get_double (ref val); } public static explicit operator string (Value val) { IntPtr str = g_value_get_string (ref val); return str == IntPtr.Zero ? null : GLib.Marshaller.Utf8PtrToString (str); } public static explicit operator IntPtr (Value val) { return g_value_get_pointer (ref val); } public static explicit operator GLib.Opaque (Value val) { return GLib.Opaque.GetOpaque (g_value_get_boxed (ref val), (Type) new GType (val.type), false); } public static explicit operator GLib.Boxed (Value val) { return new GLib.Boxed (g_value_get_boxed (ref val)); } public static explicit operator GLib.Object (Value val) { return GLib.Object.GetObject (g_value_get_object (ref val), false); } [Obsolete ("Replaced by GLib.Object cast")] public static explicit operator GLib.UnwrappedObject (Value val) { return new UnwrappedObject (g_value_get_object (ref val)); } public static explicit operator string[] (Value val) { IntPtr native_array = g_value_get_boxed (ref val); if (native_array == IntPtr.Zero) return null; int count = 0; while (Marshal.ReadIntPtr (native_array, count * IntPtr.Size) != IntPtr.Zero) count++; string[] strings = new string[count]; for (int i = 0; i < count; i++) strings[i] = GLib.Marshaller.Utf8PtrToString (Marshal.ReadIntPtr (native_array, i * IntPtr.Size)); return strings; } object ToBoxed () { IntPtr boxed_ptr = g_value_get_boxed (ref this); Type t = GType.LookupType (type); if (t == null) throw new Exception ("Unknown type " + new GType (type).ToString ()); else if (t.IsSubclassOf (typeof (GLib.Opaque))) return (GLib.Opaque) this; MethodInfo mi = t.GetMethod ("New", BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy); if (mi == null) return Marshal.PtrToStructure (boxed_ptr, t); else return mi.Invoke (null, new object[] {boxed_ptr}); } public object Val { get { if (type == GType.Boolean.Val) return (bool) this; else if (type == GType.UChar.Val) return (byte) this; else if (type == GType.Char.Val) return (sbyte) this; else if (type == GType.Int.Val) return (int) this; else if (type == GType.UInt.Val) return (uint) this; else if (type == GType.Int64.Val) return (long) this; else if (type == GType.UInt64.Val) return (ulong) this; else if (g_type_is_a (type, GType.Enum.Val) || g_type_is_a (type, GType.Flags.Val)) return (Enum) this; else if (type == GType.Float.Val) return (float) this; else if (type == GType.Double.Val) return (double) this; else if (type == GType.String.Val) return (string) this; else if (type == GType.Pointer.Val) return (IntPtr) this; else if (type == GType.Param.Val) return g_value_get_param (ref this); else if (type == ManagedValue.GType.Val) return ManagedValue.ObjectForWrapper (g_value_get_boxed (ref this)); else if (g_type_is_a (type, GType.Object.Val)) return (GLib.Object) this; else if (g_type_is_a (type, GType.Boxed.Val)) return ToBoxed (); else if (type == IntPtr.Zero) return null; else throw new Exception ("Unknown type " + new GType (type).ToString ()); } set { if (type == GType.Boolean.Val) g_value_set_boolean (ref this, (bool) value); else if (type == GType.UChar.Val) g_value_set_uchar (ref this, (byte) value); else if (type == GType.Char.Val) g_value_set_char (ref this, (sbyte) value); else if (type == GType.Int.Val) g_value_set_int (ref this, (int) value); else if (type == GType.UInt.Val) g_value_set_uint (ref this, (uint) value); else if (type == GType.Int64.Val) g_value_set_int64 (ref this, (long) value); else if (type == GType.UInt64.Val) g_value_set_uint64 (ref this, (ulong) value); else if (g_type_is_a (type, GType.Enum.Val)) g_value_set_enum (ref this, (int)value); else if (g_type_is_a (type, GType.Flags.Val)) g_value_set_flags (ref this, (uint)(int)value); else if (type == GType.Float.Val) g_value_set_float (ref this, (float) value); else if (type == GType.Double.Val) g_value_set_double (ref this, (double) value); else if (type == GType.String.Val) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup ((string)value); g_value_set_string (ref this, native); GLib.Marshaller.Free (native); } else if (type == GType.Pointer.Val) { if (value.GetType () == typeof (IntPtr)) { g_value_set_pointer (ref this, (IntPtr) value); return; } else if (value is IWrapper) { g_value_set_pointer (ref this, ((IWrapper)value).Handle); return; } IntPtr buf = Marshal.AllocHGlobal (Marshal.SizeOf (value.GetType())); Marshal.StructureToPtr (value, buf, false); g_value_set_pointer (ref this, buf); } else if (type == GType.Param.Val) { g_value_set_param (ref this, (IntPtr) value); } else if (type == ManagedValue.GType.Val) { IntPtr wrapper = ManagedValue.WrapObject (value); g_value_set_boxed (ref this, wrapper); ManagedValue.ReleaseWrapper (wrapper); } else if (g_type_is_a (type, GType.Object.Val)) if(value is GLib.Object) g_value_set_object (ref this, (value as GLib.Object).Handle); else g_value_set_object (ref this, (value as GLib.GInterfaceAdapter).Handle); else if (g_type_is_a (type, GType.Boxed.Val)) { if (value is IWrapper) { g_value_set_boxed (ref this, ((IWrapper)value).Handle); return; } IntPtr buf = Marshaller.StructureToPtrAlloc (value); g_value_set_boxed (ref this, buf); Marshal.FreeHGlobal (buf); } else throw new Exception ("Unknown type " + new GType (type).ToString ()); } } internal void Update (object val) { if (g_type_is_a (type, GType.Boxed.Val) && !(val is IWrapper)) Marshal.StructureToPtr (val, g_value_get_boxed (ref this), false); } [DllImport("libgobject-2.0-0.dll")] static extern void g_value_init (ref GLib.Value val, IntPtr gtype); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_unset (ref GLib.Value val); [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_value_create_from_property(ref GLib.Value val, IntPtr obj, IntPtr name); [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_value_create_from_type_and_property(ref GLib.Value val, IntPtr gtype, IntPtr name); [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_value_create_from_type_name(ref GLib.Value val, IntPtr type_name); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_boolean (ref Value val, bool data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_uchar (ref Value val, byte data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_char (ref Value val, sbyte data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_boxed (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_double (ref Value val, double data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_float (ref Value val, float data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_int (ref Value val, int data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_int64 (ref Value val, long data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_uint64 (ref Value val, ulong data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_object (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_param (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_pointer (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_string (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_uint (ref Value val, uint data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_enum (ref Value val, int data); [DllImport("libgobject-2.0-0.dll")] static extern void g_value_set_flags (ref Value val, uint data); [DllImport("libgobject-2.0-0.dll")] static extern bool g_value_get_boolean (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern byte g_value_get_uchar (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern sbyte g_value_get_char (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_value_get_boxed (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern double g_value_get_double (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern float g_value_get_float (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern int g_value_get_int (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern long g_value_get_int64 (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern ulong g_value_get_uint64 (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_value_get_object (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_value_get_param (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_value_get_pointer (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_value_get_string (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern uint g_value_get_uint (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern int g_value_get_enum (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern uint g_value_get_flags (ref Value val); [DllImport("glibsharpglue-2")] static extern bool glibsharp_value_holds_flags (ref Value val); [DllImport("libgobject-2.0-0.dll")] static extern bool g_type_is_a (IntPtr type, IntPtr is_a_type); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_strv_get_type (); } } gtk-sharp-2.12.10/glib/List.cs0000644000175000001440000000625511140655056012664 00000000000000// List.cs - GList class wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class List : ListBase { [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_list_copy (IntPtr l); public override object Clone () { return new List (g_list_copy (Handle)); } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_list_get_data (IntPtr l); internal override IntPtr GetData (IntPtr current) { return gtksharp_list_get_data (current); } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_list_get_next (IntPtr l); internal override IntPtr Next (IntPtr current) { return gtksharp_list_get_next (current); } [DllImport("libglib-2.0-0.dll")] static extern int g_list_length (IntPtr l); internal override int Length (IntPtr list) { return g_list_length (list); } [DllImport("libglib-2.0-0.dll")] static extern void g_list_free(IntPtr l); internal override void Free (IntPtr list) { if (list != IntPtr.Zero) g_list_free (list); } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_list_append (IntPtr l, IntPtr raw); internal override IntPtr Append (IntPtr list, IntPtr raw) { return g_list_append (list, raw); } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_list_prepend (IntPtr l, IntPtr raw); internal override IntPtr Prepend (IntPtr list, IntPtr raw) { return g_list_prepend (list, raw); } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_list_nth_data (IntPtr l, uint n); internal override IntPtr NthData (uint n) { return g_list_nth_data (Handle, n); } public List (IntPtr raw) : this (raw, null) {} public List (System.Type element_type) : this (IntPtr.Zero, element_type) {} public List (IntPtr raw, System.Type element_type) : this (raw, element_type, false, false) {} public List (IntPtr raw, System.Type element_type, bool owned, bool elements_owned) : base (raw, element_type, owned, elements_owned) {} public List (object[] elements, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned) { foreach (object o in elements) Append (o); } public List (Array elements, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned) { foreach (object o in elements) Append (o); } } } gtk-sharp-2.12.10/glib/ValueArray.cs0000644000175000001440000001220011140655056014007 00000000000000// ValueArray.cs - ValueArray wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public class ValueArray : IDisposable, ICollection, ICloneable, IWrapper { private IntPtr handle = IntPtr.Zero; static private ArrayList PendingFrees = new ArrayList (); static private bool idle_queued = false; [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_value_array_new (uint n_preallocs); public ValueArray (uint n_preallocs) { handle = g_value_array_new (n_preallocs); } internal ValueArray (IntPtr raw) { handle = raw; } ~ValueArray () { Dispose (false); } // IDisposable public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } [DllImport("libgobject-2.0-0.dll")] static extern void g_value_array_free (IntPtr raw); void Dispose (bool disposing) { if (Handle == IntPtr.Zero) return; lock (PendingFrees) { PendingFrees.Add (handle); if (! idle_queued) { Timeout.Add (50, new TimeoutHandler (PerformFrees)); idle_queued = true; } } handle = IntPtr.Zero; } static bool PerformFrees () { IntPtr[] handles; lock (PendingFrees) { idle_queued = false; handles = new IntPtr [PendingFrees.Count]; PendingFrees.CopyTo (handles, 0); PendingFrees.Clear (); } foreach (IntPtr h in handles) g_value_array_free (h); return false; } public IntPtr Handle { get { return handle; } } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_value_array_get_array (IntPtr raw); public IntPtr ArrayPtr { get { return gtksharp_value_array_get_array (Handle); } } [DllImport("libgobject-2.0-0.dll")] static extern void g_value_array_append (IntPtr raw, ref GLib.Value val); public void Append (GLib.Value val) { g_value_array_append (Handle, ref val); } [DllImport("libgobject-2.0-0.dll")] static extern void g_value_array_insert (IntPtr raw, uint idx, ref GLib.Value val); public void Insert (uint idx, GLib.Value val) { g_value_array_insert (Handle, idx, ref val); } [DllImport("libgobject-2.0-0.dll")] static extern void g_value_array_prepend (IntPtr raw, ref GLib.Value val); public void Prepend (GLib.Value val) { g_value_array_prepend (Handle, ref val); } [DllImport("libgobject-2.0-0.dll")] static extern void g_value_array_remove (IntPtr raw, uint idx); public void Remove (uint idx) { g_value_array_remove (Handle, idx); } [DllImport("glibsharpglue-2")] static extern int gtksharp_value_array_get_count (IntPtr raw); // ICollection public int Count { get { return gtksharp_value_array_get_count (Handle); } } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_value_array_get_nth (IntPtr raw, uint idx); public object this [int index] { get { GLib.Value val = Value.Empty; Marshal.PtrToStructure (g_value_array_get_nth (Handle, (uint) index), val); return val; } } // Synchronization could be tricky here. Hmm. public bool IsSynchronized { get { return false; } } public object SyncRoot { get { return null; } } public void CopyTo (Array array, int index) { if (array == null) throw new ArgumentNullException ("Array can't be null."); if (index < 0) throw new ArgumentOutOfRangeException ("Index must be greater than 0."); if (index + Count < array.Length) throw new ArgumentException ("Array not large enough to copy into starting at index."); for (int i = 0; i < Count; i++) ((IList) array) [index + i] = this [i]; } private class ListEnumerator : IEnumerator { private int current = -1; private ValueArray vals; public ListEnumerator (ValueArray vals) { this.vals = vals; } public object Current { get { if (current == -1) return null; return vals [current]; } } public bool MoveNext () { if (++current >= vals.Count) { current = -1; return false; } return true; } public void Reset () { current = -1; } } // IEnumerable public IEnumerator GetEnumerator () { return new ListEnumerator (this); } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_value_array_copy (IntPtr raw); // ICloneable public object Clone () { return new ValueArray (g_value_array_copy (Handle)); } } } gtk-sharp-2.12.10/glib/Log.cs0000644000175000001440000001332311131157057012462 00000000000000// Log.cs - Wrapper for message logging functions // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // // Copyright (c) 2002 Gonzalo Paniagua // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public delegate void LogFunc (string log_domain, LogLevelFlags log_level, string message); public delegate void PrintFunc (string message); [Flags] public enum LogLevelFlags : int { /* log flags */ FlagRecursion = 1 << 0, FlagFatal = 1 << 1, /* GLib log levels */ Error = 1 << 2, /* always fatal */ Critical = 1 << 3, Warning = 1 << 4, Message = 1 << 5, Info = 1 << 6, Debug = 1 << 7, /* Convenience values */ AllButFatal = 253, AllButRecursion = 254, All = 255, FlagMask = 3, LevelMask = unchecked ((int) 0xFFFFFFFC) } public class Log { static Hashtable handlers; static void EnsureHash () { if (handlers == null) handlers = new Hashtable (); } [DllImport("libglib-2.0-0.dll")] static extern void g_logv (IntPtr log_domain, LogLevelFlags flags, IntPtr message); public void WriteLog (string logDomain, LogLevelFlags flags, string format, params object [] args) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); IntPtr nmessage = Marshaller.StringToPtrGStrdup (String.Format (format, args)); g_logv (ndom, flags, nmessage); Marshaller.Free (ndom); Marshaller.Free (nmessage); } [DllImport("libglib-2.0-0.dll")] static extern uint g_log_set_handler (IntPtr log_domain, LogLevelFlags flags, LogFunc log_func, IntPtr user_data); public static uint SetLogHandler (string logDomain, LogLevelFlags flags, LogFunc logFunc) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); uint result = g_log_set_handler (ndom, flags, logFunc, IntPtr.Zero); Marshaller.Free (ndom); EnsureHash (); handlers [result] = logFunc; return result; } [DllImport("libglib-2.0-0.dll")] static extern uint g_log_remove_handler (IntPtr log_domain, uint handler_id); public static void RemoveLogHandler (string logDomain, uint handlerID) { if (handlers != null && handlers.ContainsKey (handlerID)) handlers.Remove (handlerID); IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); g_log_remove_handler (ndom, handlerID); Marshaller.Free (ndom); } [DllImport("libglib-2.0-0.dll")] static extern PrintFunc g_set_print_handler (PrintFunc handler); public static PrintFunc SetPrintHandler (PrintFunc handler) { EnsureHash (); handlers ["PrintHandler"] = handler; return g_set_print_handler (handler); } [DllImport("libglib-2.0-0.dll")] static extern PrintFunc g_set_printerr_handler (PrintFunc handler); public static PrintFunc SetPrintErrorHandler (PrintFunc handler) { EnsureHash (); handlers ["PrintErrorHandler"] = handler; return g_set_printerr_handler (handler); } [DllImport("libglib-2.0-0.dll")] static extern void g_log_default_handler (IntPtr log_domain, LogLevelFlags log_level, IntPtr message, IntPtr unused_data); public static void DefaultHandler (string logDomain, LogLevelFlags logLevel, string message) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); IntPtr nmess = Marshaller.StringToPtrGStrdup (message); g_log_default_handler (ndom, logLevel, nmess, IntPtr.Zero); Marshaller.Free (ndom); Marshaller.Free (nmess); } [DllImport("libglib-2.0-0.dll")] extern static LogLevelFlags g_log_set_always_fatal (LogLevelFlags fatal_mask); public static LogLevelFlags SetAlwaysFatal (LogLevelFlags fatalMask) { return g_log_set_always_fatal (fatalMask); } [DllImport("libglib-2.0-0.dll")] extern static LogLevelFlags g_log_set_fatal_mask (IntPtr log_domain, LogLevelFlags fatal_mask); public static LogLevelFlags SetAlwaysFatal (string logDomain, LogLevelFlags fatalMask) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); LogLevelFlags result = g_log_set_fatal_mask (ndom, fatalMask); Marshaller.Free (ndom); return result; } /* * Some common logging methods. * * Sample usage: * * // Print the messages for the NULL domain * LogFunc logFunc = new LogFunc (Log.PrintLogFunction); * Log.SetLogHandler (null, LogLevelFlags.All, logFunc); * * // Print messages and stack trace for Gtk critical messages * logFunc = new LogFunc (Log.PrintTraceLogFunction); * Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); * */ public static void PrintLogFunction (string domain, LogLevelFlags level, string message) { Console.WriteLine ("Domain: '{0}' Level: {1}", domain, level); Console.WriteLine ("Message: {0}", message); } public static void PrintTraceLogFunction (string domain, LogLevelFlags level, string message) { PrintLogFunction (domain, level, message); Console.WriteLine ("Trace follows:\n{0}", new System.Diagnostics.StackTrace ()); } } } gtk-sharp-2.12.10/glib/MissingIntPtrCtorException.cs0000644000175000001440000000203011131157057017213 00000000000000// MissingIntPtrCtorException.cs : Exception for missing IntPtr ctors // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class MissingIntPtrCtorException : Exception { public MissingIntPtrCtorException (string msg) : base (msg) { } } } gtk-sharp-2.12.10/glib/InitiallyUnowned.cs0000644000175000001440000000236511131157057015243 00000000000000// InitiallyUnowned.cs - GInitiallyUnowned class wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if GTK_SHARP_2_10 namespace GLib { using System; using System.Collections; using System.ComponentModel; using System.Runtime.InteropServices; public class InitiallyUnowned : Object { protected InitiallyUnowned (IntPtr raw) : base (raw) {} [Obsolete] protected InitiallyUnowned (GType gtype) : base (gtype) {} public new static GLib.GType GType { get { return GType.Object; } } } } #endif gtk-sharp-2.12.10/glib/CDeclCallbackAttribute.cs0000644000175000001440000000160411131157057016213 00000000000000// CDeclCallbackAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public sealed class CDeclCallbackAttribute : Attribute { } } gtk-sharp-2.12.10/glib/GTypeAttribute.cs0000644000175000001440000000210711131157057014653 00000000000000// GTypeAttribute.cs // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [AttributeUsage (AttributeTargets.Enum)] public sealed class GTypeAttribute : Attribute { Type wrapper_type; public GTypeAttribute (Type wrapper_type) { this.wrapper_type = wrapper_type; } public Type WrapperType { get { return wrapper_type; } set { wrapper_type = value; } } } } gtk-sharp-2.12.10/glib/IOChannel.cs0000644000175000001440000003137011304350315013535 00000000000000// glib/IOChannel.cs : IOChannel API wrapper // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLibSharp { using System; using System.Runtime.InteropServices; using GLib; [CDeclCallback] internal delegate bool IOFuncNative(IntPtr source, int condition, IntPtr data); internal class IOFuncWrapper { IOFunc managed; public IOFuncNative NativeDelegate; public IOFuncWrapper (IOFunc managed) { this.managed = managed; NativeDelegate = new IOFuncNative (NativeCallback); } bool NativeCallback (IntPtr source, int condition, IntPtr data) { try { return managed (IOChannel.FromHandle (source), (IOCondition) condition); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); return false; } } } } namespace GLib { using System; using System.Runtime.InteropServices; using GLibSharp; public class IOChannel : IDisposable, IWrapper { IntPtr handle; private IOChannel(IntPtr handle) { this.handle = handle; } public IOChannel (int fd) : this (g_io_channel_unix_new (fd)) {} public IOChannel (string filename, string mode) { IntPtr native_filename = Marshaller.StringToPtrGStrdup (filename); IntPtr native_mode = Marshaller.StringToPtrGStrdup (mode); IntPtr error; if (Global.IsWindowsPlatform) handle = g_io_channel_new_file_utf8(native_filename, native_mode, out error); else handle = g_io_channel_new_file(native_filename, native_mode, out error); Marshaller.Free (native_filename); Marshaller.Free (native_mode); if (error != IntPtr.Zero) throw new GException (error); } public IOCondition BufferCondition { get { return (IOCondition) g_io_channel_get_buffer_condition (Handle); } } public bool Buffered { get { return g_io_channel_get_buffered (Handle); } set { g_io_channel_set_buffered (Handle, value); } } public ulong BufferSize { get { return (ulong) g_io_channel_get_buffer_size (Handle); } set { g_io_channel_set_buffer_size (Handle, new UIntPtr (value)); } } public bool CloseOnUnref { get { return g_io_channel_get_close_on_unref (Handle); } set { g_io_channel_set_close_on_unref (Handle, value); } } public string Encoding { get { return Marshaller.Utf8PtrToString (g_io_channel_get_encoding (Handle)); } set { IntPtr native_encoding = Marshaller.StringToPtrGStrdup (value); IntPtr error; g_io_channel_set_encoding (Handle, native_encoding, out error); Marshaller.Free (native_encoding); if (error != IntPtr.Zero) throw new GException (error); } } public IOFlags Flags { get { return (IOFlags) g_io_channel_get_flags(Handle); } set { IntPtr error; g_io_channel_set_flags(Handle, (int) value, out error); if (error != IntPtr.Zero) throw new GException (error); } } public char[] LineTerminator { get { int length; IntPtr raw = g_io_channel_get_line_term (Handle, out length); if (length == -1) return Marshaller.Utf8PtrToString (raw).ToCharArray (); byte[] buffer = new byte [length]; return System.Text.Encoding.UTF8.GetChars (buffer); } set { byte[] buffer = System.Text.Encoding.UTF8.GetBytes (value); g_io_channel_set_line_term (Handle, buffer, buffer.Length); } } public IntPtr Handle { get { return handle; } } public int UnixFd { get { return g_io_channel_unix_get_fd (Handle); } } protected void Init () { g_io_channel_init (Handle); } public void Dispose () { g_io_channel_unref (Handle); } public uint AddWatch (int priority, IOCondition condition, IOFunc func) { IOFuncWrapper func_wrapper = null; IntPtr user_data = IntPtr.Zero; DestroyNotify notify = null; if (func != null) { func_wrapper = new IOFuncWrapper (func); user_data = (IntPtr) GCHandle.Alloc (func_wrapper); notify = DestroyHelper.NotifyHandler; } return g_io_add_watch_full (Handle, priority, (int) condition, func_wrapper.NativeDelegate, user_data, notify); } public IOStatus Flush () { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_flush (Handle, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus ReadChars (byte[] buf, out ulong bytes_read) { UIntPtr native_bytes_read; IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_chars (Handle, buf, new UIntPtr ((ulong) buf.Length), out native_bytes_read, out error); bytes_read = (ulong) native_bytes_read; if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus ReadLine (out string str_return) { ulong dump; return ReadLine (out str_return, out dump); } public IOStatus ReadLine (out string str_return, out ulong terminator_pos) { IntPtr native_string; UIntPtr native_terminator_pos; IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_line (Handle, out native_string, IntPtr.Zero, out native_terminator_pos, out error); terminator_pos = (ulong) native_terminator_pos; str_return = null; if (ret == IOStatus.Normal) str_return = Marshaller.PtrToStringGFree (native_string); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus ReadToEnd (out string str_return) { IntPtr native_str; UIntPtr native_length; IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_to_end (Handle, out native_str, out native_length, out error); str_return = null; if (ret == IOStatus.Normal) { byte[] buffer = new byte [(ulong) native_length]; Marshal.Copy (native_str, buffer, 0, (int)(ulong) native_length); str_return = System.Text.Encoding.UTF8.GetString (buffer); } Marshaller.Free (native_str); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus ReadUnichar (out uint thechar) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_unichar (Handle, out thechar, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus SeekPosition (long offset, SeekType type) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_seek_position (Handle, offset, (int) type, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus Shutdown (bool flush) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_shutdown (Handle, flush, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus WriteChars (string str, out string remainder) { ulong written; System.Text.Encoding enc = System.Text.Encoding.UTF8; byte[] buffer = enc.GetBytes (str); IOStatus ret = WriteChars (buffer, out written); remainder = null; if ((int) written == buffer.Length) return ret; int count = buffer.Length - (int) written; byte[] rem = new byte [count]; Array.Copy (buffer, (int) written, rem, 0, count); remainder = enc.GetString (rem); return ret; } public IOStatus WriteChars (byte[] buf, out ulong bytes_written) { UIntPtr native_bytes_written; IntPtr error; IOStatus ret = (IOStatus) g_io_channel_write_chars (Handle, buf, new IntPtr (buf.Length), out native_bytes_written, out error); bytes_written = (ulong) native_bytes_written; if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus WriteUnichar (uint thechar) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_write_unichar (Handle, thechar, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public static IOChannel FromHandle (IntPtr handle) { if (handle == IntPtr.Zero) return null; g_io_channel_ref (handle); return new IOChannel (handle); } public static IOChannelError ErrorFromErrno (int en) { return (IOChannelError) g_io_channel_error_from_errno (en); } const string libname = "libglib-2.0-0.dll"; [DllImport (libname)] static extern IntPtr g_io_channel_unix_new (int fd); [DllImport (libname)] static extern IntPtr g_io_channel_new_file (IntPtr filename, IntPtr mode, out IntPtr error); [DllImport (libname)] static extern IntPtr g_io_channel_new_file_utf8 (IntPtr filename, IntPtr mode, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_error_quark (); [DllImport(libname)] static extern int g_io_channel_error_from_errno (int en); [DllImport (libname)] static extern int g_io_channel_flush (IntPtr raw, out IntPtr error); [DllImport (libname)] static extern void g_io_channel_init (IntPtr raw); [DllImport (libname)] static extern int g_io_channel_read_chars (IntPtr raw, byte[] buf, UIntPtr count, out UIntPtr bytes_read, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_read_line (IntPtr raw, out IntPtr str_return, IntPtr length, out UIntPtr terminator_pos, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_read_to_end (IntPtr raw, out IntPtr str_return, out UIntPtr length, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_read_unichar (IntPtr raw, out uint thechar, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_seek_position (IntPtr raw, long offset, int type, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_shutdown (IntPtr raw, bool flush, out IntPtr err); [DllImport (libname)] static extern int g_io_channel_write_chars (IntPtr raw, byte[] buf, IntPtr count, out UIntPtr bytes_written, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_write_unichar (IntPtr raw, uint thechar, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_get_buffer_condition (IntPtr raw); [DllImport (libname)] static extern bool g_io_channel_get_buffered (IntPtr raw); [DllImport (libname)] static extern void g_io_channel_set_buffered (IntPtr raw, bool buffered); [DllImport (libname)] static extern UIntPtr g_io_channel_get_buffer_size (IntPtr raw); [DllImport (libname)] static extern void g_io_channel_set_buffer_size (IntPtr raw, UIntPtr size); [DllImport (libname)] static extern bool g_io_channel_get_close_on_unref (IntPtr raw); [DllImport (libname)] static extern void g_io_channel_set_close_on_unref (IntPtr raw, bool do_close); [DllImport (libname)] static extern IntPtr g_io_channel_get_encoding (IntPtr raw); [DllImport (libname)] static extern int g_io_channel_set_encoding (IntPtr raw, IntPtr encoding, out IntPtr error); [DllImport (libname)] static extern int g_io_channel_get_flags (IntPtr raw); [DllImport (libname)] static extern int g_io_channel_set_flags (IntPtr raw, int flags, out IntPtr error); [DllImport (libname)] static extern IntPtr g_io_channel_get_line_term (IntPtr raw, out int length); [DllImport (libname)] static extern void g_io_channel_set_line_term (IntPtr raw, byte[] term, int length); [DllImport (libname)] static extern int g_io_channel_unix_get_fd (IntPtr raw); [DllImport (libname)] static extern IntPtr g_io_channel_ref (IntPtr raw); [DllImport (libname)] static extern void g_io_channel_unref (IntPtr raw); [DllImport (libname)] static extern uint g_io_add_watch_full (IntPtr raw, int priority, int condition, IOFuncNative func, IntPtr user_data, DestroyNotify notify); [DllImport (libname)] static extern IntPtr g_io_create_watch (IntPtr raw, int condition); } public delegate bool IOFunc (IOChannel source, IOCondition condition); public enum IOChannelError { FileTooBig, Inval, IO, IsDir, NoSpace, Nxio, Overflow, Pipe, Failed, } [Flags] public enum IOCondition { In = 1 << 0, Out = 1 << 2, Pri = 1 << 1, Err = 1 << 3, Hup = 1 << 4, Nval = 1 << 5, } [Flags] public enum IOFlags { Append = 1 << 0, Nonblock = 1 << 1, IsReadable = 1 << 2, IsWriteable = 1 << 3, IsSeekable = 1 << 4, Mask = 1 << 5- 1, GetMask = Mask, SetMask = Append | Nonblock, } public enum IOStatus { Error, Normal, Eof, Again, } public enum SeekType { Cur, Set, End, } } gtk-sharp-2.12.10/glib/ExceptionManager.cs0000644000175000001440000000413111131157057015167 00000000000000// GLib.Application.cs - static Application class // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public delegate void UnhandledExceptionHandler (UnhandledExceptionArgs args); public class UnhandledExceptionArgs : System.UnhandledExceptionEventArgs { bool exit_app = false; public UnhandledExceptionArgs (Exception e, bool is_terminal) : base (e, is_terminal) {} public bool ExitApplication { get { return exit_app; } set { if (value) exit_app = value; } } } public class ExceptionManager { private ExceptionManager () {} public static event UnhandledExceptionHandler UnhandledException; public static void RaiseUnhandledException (Exception e, bool is_terminal) { if (UnhandledException == null) { Console.Error.WriteLine ("Exception in Gtk# callback delegate"); Console.Error.WriteLine (" Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception."); Console.Error.WriteLine (e); Console.Error.WriteLine (new System.Diagnostics.StackTrace (true)); Environment.Exit (1); } UnhandledExceptionArgs args = new UnhandledExceptionArgs (e, is_terminal); try { UnhandledException (args); } catch (Exception ex) { Console.Error.WriteLine (ex); Environment.Exit (1); } if (is_terminal || args.ExitApplication) Environment.Exit (1); } } } gtk-sharp-2.12.10/glib/Timeout.cs0000755000175000001440000000457011272715760013405 00000000000000// GLib.Timeout.cs - Timeout class implementation // // Author: Mike Kestner // // Copyright (c) 2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public delegate bool TimeoutHandler (); public class Timeout { [CDeclCallback] delegate bool TimeoutHandlerInternal (); internal class TimeoutProxy : SourceProxy { public TimeoutProxy (TimeoutHandler real) { real_handler = real; proxy_handler = new TimeoutHandlerInternal (Handler); } ~TimeoutProxy () { Dispose (false); } public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { // Both branches remove our delegate from the // managed list of handlers, but only // Source.Remove will remove it from the // unmanaged list also. if (disposing) Remove (); else Source.Remove (ID); } public bool Handler () { try { TimeoutHandler timeout_handler = (TimeoutHandler) real_handler; bool cont = timeout_handler (); if (!cont) Remove (); return cont; } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } return false; } } private Timeout () {} [DllImport("libglib-2.0-0.dll")] static extern uint g_timeout_add (uint interval, TimeoutHandlerInternal d, IntPtr data); public static uint Add (uint interval, TimeoutHandler hndlr) { TimeoutProxy p = new TimeoutProxy (hndlr); p.ID = g_timeout_add (interval, (TimeoutHandlerInternal) p.proxy_handler, IntPtr.Zero); lock (Source.source_handlers) Source.source_handlers [p.ID] = p; return p.ID; } } } gtk-sharp-2.12.10/glib/Global.cs0000644000175000001440000000424211304350034013131 00000000000000// GLib.Global.cs - Global glib properties and methods. // // Author: Andres G. Aragoneses // // Copyright (c) 2008 Novell, Inc // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Text; using System.Runtime.InteropServices; public class Global { //this is a static class private Global () {} internal static bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } public static string ProgramName { get { return GLib.Marshaller.PtrToStringGFree(g_get_prgname()); } set { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (value); g_set_prgname (native_name); GLib.Marshaller.Free (native_name); } } [DllImport("libglib-2.0-0.dll")] static extern void g_set_prgname (IntPtr name); [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_get_prgname (); public static string ApplicationName { get { return GLib.Marshaller.PtrToStringGFree(g_get_application_name()); } set { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (value); g_set_application_name (native_name); GLib.Marshaller.Free (native_name); } } [DllImport("libglib-2.0-0.dll")] static extern void g_set_application_name (IntPtr name); [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_get_application_name (); } } gtk-sharp-2.12.10/glib/Spawn.cs0000644000175000001440000002326011304350456013032 00000000000000// glib/Spawn.cs : Spawn g_spawn API wrapper // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public enum SpawnError { Fork, Read, Chdir, Acces, Perm, TooBig, NoExec, NameTooLong, NoEnt, NoMem, NotDir, Loop, TxtBusy, IO, NFile, MFile, Inval, IsDir, LibBad, Failed, } [Flags] public enum SpawnFlags { LeaveDescriptorsOpen = 1 << 0, DoNotReapChild = 1 << 1, SearchPath = 1 << 2, StdoutToDevNull = 1 << 3, StderrToDevNull = 1 << 4, ChildInheritsStdin = 1 << 5, FileAndArgvZero = 1 << 6, } public delegate void SpawnChildSetupFunc (); [CDeclCallback] internal delegate void SpawnChildSetupFuncNative (IntPtr gch); internal class SpawnChildSetupWrapper { SpawnChildSetupFunc handler; public SpawnChildSetupWrapper (SpawnChildSetupFunc handler) { if (handler == null) return; this.handler = handler; Data = (IntPtr) GCHandle.Alloc (this); NativeCallback = new SpawnChildSetupFuncNative (InvokeHandler); } public IntPtr Data; public SpawnChildSetupFuncNative NativeCallback; static void InvokeHandler (IntPtr data) { if (data == IntPtr.Zero) return; GCHandle gch = (GCHandle) data; (gch.Target as SpawnChildSetupWrapper).handler (); gch.Free (); } } public class Process { public const int IgnorePipe = Int32.MaxValue; public const int RequestPipe = 0; long pid; private Process (int pid) { this.pid = pid; } [DllImport ("libglib-2.0-0.dll")] static extern void g_spawn_close_pid (int pid); public void Close () { g_spawn_close_pid ((int) pid); } [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_async (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out int pid, out IntPtr error); [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_async_utf8 (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out int pid, out IntPtr error); public static bool SpawnAsync (string working_directory, string[] argv, string[] envp, SpawnFlags flags, SpawnChildSetupFunc child_setup, out Process child_process) { int pid; IntPtr error; IntPtr native_dir = Marshaller.StringToPtrGStrdup (working_directory); IntPtr[] native_argv = Marshaller.StringArrayToNullTermPointer (argv); IntPtr[] native_envp = Marshaller.StringArrayToNullTermPointer (envp); SpawnChildSetupWrapper wrapper = new SpawnChildSetupWrapper (child_setup); bool result; if (Global.IsWindowsPlatform) result = g_spawn_async_utf8 (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, out error); else result = g_spawn_async (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, out error); child_process = new Process (pid); Marshaller.Free (native_dir); Marshaller.Free (native_argv); Marshaller.Free (native_envp); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_async_with_pipes (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out int pid, IntPtr stdin, IntPtr stdout, IntPtr stderr, out IntPtr error); [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_async_with_pipes_utf8 (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out int pid, IntPtr stdin, IntPtr stdout, IntPtr stderr, out IntPtr error); public static bool SpawnAsyncWithPipes (string working_directory, string[] argv, string[] envp, SpawnFlags flags, SpawnChildSetupFunc child_setup, out Process child_process, ref int stdin, ref int stdout, ref int stderr) { int pid; IntPtr error; IntPtr native_dir = Marshaller.StringToPtrGStrdup (working_directory); IntPtr[] native_argv = Marshaller.StringArrayToNullTermPointer (argv); IntPtr[] native_envp = Marshaller.StringArrayToNullTermPointer (envp); SpawnChildSetupWrapper wrapper = new SpawnChildSetupWrapper (child_setup); IntPtr in_ptr = stdin == IgnorePipe ? IntPtr.Zero : Marshal.AllocHGlobal (4); IntPtr out_ptr = stdout == IgnorePipe ? IntPtr.Zero : Marshal.AllocHGlobal (4); IntPtr err_ptr = stderr == IgnorePipe ? IntPtr.Zero : Marshal.AllocHGlobal (4); bool result; if (Global.IsWindowsPlatform) result = g_spawn_async_with_pipes_utf8 (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, in_ptr, out_ptr, err_ptr, out error); else result = g_spawn_async_with_pipes (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, in_ptr, out_ptr, err_ptr, out error); child_process = new Process (pid); if (in_ptr != IntPtr.Zero) { stdin = Marshal.ReadInt32 (in_ptr); Marshal.FreeHGlobal (in_ptr); } if (out_ptr != IntPtr.Zero) { stdout = Marshal.ReadInt32 (out_ptr); Marshal.FreeHGlobal (out_ptr); } if (err_ptr != IntPtr.Zero) { stderr = Marshal.ReadInt32 (err_ptr); Marshal.FreeHGlobal (err_ptr); } Marshaller.Free (native_dir); Marshaller.Free (native_argv); Marshaller.Free (native_envp); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_sync (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out IntPtr stdout, out IntPtr stderr, out int exit_status, out IntPtr error); [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_sync_utf8 (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out IntPtr stdout, out IntPtr stderr, out int exit_status, out IntPtr error); public static bool SpawnSync (string working_directory, string[] argv, string[] envp, SpawnFlags flags, SpawnChildSetupFunc child_setup, out string stdout, out string stderr, out int exit_status) { IntPtr native_stdout, native_stderr, error; IntPtr native_dir = Marshaller.StringToPtrGStrdup (working_directory); IntPtr[] native_argv = Marshaller.StringArrayToNullTermPointer (argv); IntPtr[] native_envp = Marshaller.StringArrayToNullTermPointer (envp); SpawnChildSetupWrapper wrapper = new SpawnChildSetupWrapper (child_setup); bool result; if (Global.IsWindowsPlatform) result = g_spawn_sync (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out native_stdout, out native_stderr, out exit_status, out error); else result = g_spawn_sync (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out native_stdout, out native_stderr, out exit_status, out error); Marshaller.Free (native_dir); Marshaller.Free (native_argv); Marshaller.Free (native_envp); stdout = Marshaller.PtrToStringGFree (native_stdout); stderr = Marshaller.PtrToStringGFree (native_stderr); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_command_line_async (IntPtr cmdline, out IntPtr error); [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_command_line_async_utf8 (IntPtr cmdline, out IntPtr error); public static bool SpawnCommandLineAsync (string command_line) { IntPtr error; IntPtr native_cmd = Marshaller.StringToPtrGStrdup (command_line); bool result; if (Global.IsWindowsPlatform) result = g_spawn_command_line_async_utf8 (native_cmd, out error); else result = g_spawn_command_line_async (native_cmd, out error); Marshaller.Free (native_cmd); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_command_line_sync (IntPtr cmdline, out IntPtr stdout, out IntPtr stderr, out int exit_status, out IntPtr error); [DllImport ("libglib-2.0-0.dll")] static extern bool g_spawn_command_line_sync_utf8 (IntPtr cmdline, out IntPtr stdout, out IntPtr stderr, out int exit_status, out IntPtr error); public static bool SpawnCommandLineSync (string command_line, out string stdout, out string stderr, out int exit_status) { IntPtr error, native_stdout, native_stderr; IntPtr native_cmd = Marshaller.StringToPtrGStrdup (command_line); bool result; if (Global.IsWindowsPlatform) result = g_spawn_command_line_sync_utf8 (native_cmd, out native_stdout, out native_stderr, out exit_status, out error); else result = g_spawn_command_line_sync (native_cmd, out native_stdout, out native_stderr, out exit_status, out error); Marshaller.Free (native_cmd); stdout = Marshaller.PtrToStringGFree (native_stdout); stderr = Marshaller.PtrToStringGFree (native_stderr); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } } } gtk-sharp-2.12.10/glib/ManagedValue.cs0000644000175000001440000000644011131157057014274 00000000000000// GLib.ManagedValue.cs : Managed types boxer // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; using GLib; internal class ManagedValue { GCHandle gch; object instance; int ref_count = 1; private ManagedValue (object instance) { this.instance = instance; gch = GCHandle.Alloc (this); } IntPtr Handle { get { return (IntPtr) gch; } } object Instance { get { return instance; } } void Ref () { ref_count++; } void Unref () { if (--ref_count == 0) { instance = null; gch.Free (); } } [CDeclCallback] delegate IntPtr CopyFunc (IntPtr gch); [CDeclCallback] delegate void FreeFunc (IntPtr gch); static CopyFunc copy; static FreeFunc free; static GType boxed_type = GType.Invalid; [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_boxed_type_register_static (IntPtr typename, CopyFunc copy_func, FreeFunc free_func); public static GType GType { get { if (boxed_type == GType.Invalid) { copy = new CopyFunc (Copy); free = new FreeFunc (Free); IntPtr name = Marshaller.StringToPtrGStrdup ("GtkSharpValue"); boxed_type = new GLib.GType (g_boxed_type_register_static (name, copy, free)); Marshaller.Free (name); } return boxed_type; } } static ManagedValue FromHandle (IntPtr ptr) { GCHandle gch = (GCHandle) ptr; ManagedValue val = gch.Target as ManagedValue; if (val == null) throw new Exception ("Unexpected GCHandle received."); return val; } static IntPtr Copy (IntPtr ptr) { try { if (ptr == IntPtr.Zero) return ptr; ManagedValue val = FromHandle (ptr); val.Ref (); return ptr; } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void Free (IntPtr ptr) { try { if (ptr == IntPtr.Zero) return; ManagedValue val = FromHandle (ptr); val.Unref (); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } } public static IntPtr WrapObject (object obj) { if (obj == null) return IntPtr.Zero; return new ManagedValue (obj).Handle; } public static object ObjectForWrapper (IntPtr ptr) { if (ptr == IntPtr.Zero) return null; ManagedValue val = FromHandle (ptr); return val == null ? null : val.Instance; } public static void ReleaseWrapper (IntPtr ptr) { if (ptr == IntPtr.Zero) return; ManagedValue val = FromHandle (ptr); val.Unref (); } } } gtk-sharp-2.12.10/glib/DestroyNotify.cs0000644000175000001440000000261011131157057014560 00000000000000// GLib.DestroyNotify.cs - internal DestroyNotify helper // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; [GLib.CDeclCallback] public delegate void DestroyNotify (IntPtr data); public class DestroyHelper { private DestroyHelper () {} static void ReleaseGCHandle (IntPtr data) { if (data == IntPtr.Zero) return; GCHandle gch = (GCHandle) data; gch.Free (); } static DestroyNotify release_gchandle; public static DestroyNotify NotifyHandler { get { if (release_gchandle == null) release_gchandle = new DestroyNotify (ReleaseGCHandle); return release_gchandle; } } } } gtk-sharp-2.12.10/glib/MainLoop.cs0000644000175000001440000000341311131157057013456 00000000000000// GLib.MainLoop.cs - g_main_loop class implementation // // Author: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; using System.Runtime.InteropServices; namespace GLib { public class MainLoop { private IntPtr handle; [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_main_loop_new (IntPtr context, bool isRunning); public MainLoop () { handle = g_main_loop_new (IntPtr.Zero, false); } [DllImport("libglib-2.0-0.dll")] static extern void g_main_loop_unref (IntPtr loop); ~MainLoop () { g_main_loop_unref (handle); handle = IntPtr.Zero; } [DllImport("libglib-2.0-0.dll")] static extern bool g_main_loop_is_running (IntPtr loop); public bool IsRunning { get { return g_main_loop_is_running (handle); } } [DllImport("libglib-2.0-0.dll")] static extern void g_main_loop_run (IntPtr loop); public void Run () { g_main_loop_run (handle); } [DllImport("libglib-2.0-0.dll")] static extern void g_main_loop_quit (IntPtr loop); public void Quit () { g_main_loop_quit (handle); } } } gtk-sharp-2.12.10/glib/SignalCallback.cs0000644000175000001440000000561611131157057014601 00000000000000// GLib.SignalCallback.cs - Signal callback base class implementation // // Authors: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; [Obsolete ("Replaced by GLib.Signal.")] public abstract class SignalCallback : IDisposable { // A counter used to produce unique keys for instances. protected static int _NextKey = 0; // Hashtable containing refs to all current instances. protected static Hashtable _Instances = new Hashtable (); // protected instance members protected GLib.Object _obj; protected Delegate _handler; protected int _key; protected System.Type _argstype; protected uint _HandlerID; protected SignalCallback (GLib.Object obj, Delegate eh, System.Type argstype) { _key = _NextKey++; _obj = obj; _handler = eh; _argstype = argstype; _Instances [_key] = this; } public void AddDelegate (Delegate d) { _handler = Delegate.Combine (_handler, d); } public void RemoveDelegate (Delegate d) { _handler = Delegate.Remove (_handler, d); } [DllImport("libgobject-2.0-0.dll")] static extern uint g_signal_connect_data(IntPtr obj, IntPtr name, Delegate cb, int key, IntPtr p, int flags); protected void Connect (string name, Delegate cb, int flags) { IntPtr native_name = Marshaller.StringToPtrGStrdup (name); _HandlerID = g_signal_connect_data(_obj.Handle, native_name, cb, _key, new IntPtr(0), flags); Marshaller.Free (native_name); } [DllImport("libgobject-2.0-0.dll")] static extern void g_signal_handler_disconnect (IntPtr instance, uint handler); [DllImport("libgobject-2.0-0.dll")] static extern bool g_signal_handler_is_connected (IntPtr instance, uint handler); protected void Disconnect () { if (g_signal_handler_is_connected (_obj.Handle, _HandlerID)) g_signal_handler_disconnect (_obj.Handle, _HandlerID); } public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (disposing) { _obj = null; _handler = null; _argstype = null; } } ~SignalCallback () { Dispose (false); } } } gtk-sharp-2.12.10/glib/DelegateWrapper.cs0000644000175000001440000000706511131157057015022 00000000000000// DelegateWrapper.cs - Delegate wrapper implementation // // Authors: // Rachel Hestilow // Gonzalo Panigua Javier // // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2003 Ximian, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public class DelegateWrapper { // Keys in the hashtable are instances of classes derived from this one. // Values are each instance's destroy notification delegate static Hashtable instances = new Hashtable (); // This list holds references to wrappers for static // methods. These will never expire. static ArrayList static_instances = new ArrayList (); static int notify_count = 0; // The object 'o' is the object that creates the instance of the DelegateWrapper // derived class or null if created from a static method. // Note that the instances will never be disposed if they are created in a static // method. [Obsolete ("Callback wrappers should be manually managed for persistence.")] protected DelegateWrapper (object o) { if (o != null) { // If o is a GObject, we can get // destroy notification. Otherwise // no additional references to // the wrapper are kept. // FIXME: This should work because // currently only GObjects store // callbacks over the long-term if (o is GLib.Object) { AddDestroyNotify ((GLib.Object) o); } } else { // If o is null, we cannot ask for a destroy // notification, so the wrapper never expires. lock (typeof (DelegateWrapper)) { static_instances.Add (this); } } } [CDeclCallback] private delegate void DestroyNotify (IntPtr data); [DllImport("libgobject-2.0-0.dll")] private static extern void g_object_set_data_full (IntPtr obj, IntPtr name, IntPtr data, DestroyNotify destroy); private void AddDestroyNotify (GLib.Object o) { // This is a bit of an ugly hack. There is no // way of getting a destroy notification // explicitly, so we set some data and ask // for notification when it is removed IntPtr name = Marshaller.StringToPtrGStrdup (String.Format ("_GtkSharpDelegateWrapper_{0}", notify_count)); DestroyNotify destroy = new DestroyNotify (this.OnDestroy); g_object_set_data_full (o.Handle, name, IntPtr.Zero, destroy); Marshaller.Free (name); lock (typeof (DelegateWrapper)) { instances[this] = destroy; notify_count++; } } // This callback is invoked by GLib to indicate that the // object that owned the native delegate wrapper no longer // exists and the instance of the delegate itself is removed from the hash table. private void OnDestroy (IntPtr data) { try { lock (typeof (DelegateWrapper)) { if (instances.ContainsKey (this)) { instances.Remove (this); } } } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } } } } gtk-sharp-2.12.10/glib/glib-sharp-2.0.pc.in0000644000175000001440000000044111131157057014665 00000000000000prefix=${pcfiledir}/../.. exec_prefix=${prefix} libdir=${exec_prefix}/lib gapidir=${prefix}/share/gapi-2.0 Name: GLib# Description: GLib# - .NET Binding for the glib library. Version: @VERSION@ Cflags: -I:${gapidir}/glib-api.xml Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glib-sharp.dll gtk-sharp-2.12.10/glib/ListBase.cs0000644000175000001440000001534611167403445013462 00000000000000// ListBase.cs - List base class implementation // // Authors: Mike Kestner // // Copyright (c) 2002 Mike Kestner // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public abstract class ListBase : IDisposable, ICollection, GLib.IWrapper, ICloneable { private IntPtr list_ptr = IntPtr.Zero; private int length = -1; private bool managed = false; internal bool elements_owned = false; protected System.Type element_type = null; abstract internal IntPtr NthData (uint index); abstract internal IntPtr GetData (IntPtr current); abstract internal IntPtr Next (IntPtr current); abstract internal int Length (IntPtr list); abstract internal void Free (IntPtr list); abstract internal IntPtr Append (IntPtr current, IntPtr raw); abstract internal IntPtr Prepend (IntPtr current, IntPtr raw); internal ListBase (IntPtr list, System.Type element_type, bool owned, bool elements_owned) { list_ptr = list; this.element_type = element_type; managed = owned; this.elements_owned = elements_owned; } ~ListBase () { Dispose (false); } [Obsolete ("Replaced by owned parameter on ctor.")] public bool Managed { set { managed = value; } } public IntPtr Handle { get { return list_ptr; } } public void Append (IntPtr raw) { list_ptr = Append (list_ptr, raw); } public void Append (string item) { this.Append (Marshaller.StringToPtrGStrdup (item)); } public void Append (object item) { this.Append (AllocNativeElement (item)); } public void Prepend (IntPtr raw) { list_ptr = Prepend (list_ptr, raw); } // ICollection public int Count { get { if (length == -1) length = Length (list_ptr); return length; } } public object this [int index] { get { IntPtr data = NthData ((uint) index); object ret = null; ret = DataMarshal (data); return ret; } } // Synchronization could be tricky here. Hmm. public bool IsSynchronized { get { return false; } } public object SyncRoot { get { return null; } } public void CopyTo (Array array, int index) { object[] orig = new object[Count]; int i = 0; foreach (object o in this) orig [i++] = o; orig.CopyTo (array, index); } public class FilenameString { private FilenameString () {} } IntPtr AllocNativeElement (object element) { if (element_type == null) { if (element is IWrapper) return (element as IWrapper).Handle; else return (IntPtr) GCHandle.Alloc (element); } else { if (element_type == typeof (string)) return Marshaller.StringToPtrGStrdup (element as string); else if (element_type == typeof (FilenameString)) return Marshaller.StringToFilenamePtr (element as string); else if (element_type == typeof (IntPtr)) return (IntPtr) GCHandle.Alloc (element); else if (typeof (IWrapper).IsAssignableFrom (element_type)) return (element as IWrapper).Handle; else if (element_type == typeof (int)) return new IntPtr ((int) element); else if (element_type.IsValueType) return Marshaller.StructureToPtrAlloc (element); } return IntPtr.Zero; } internal object DataMarshal (IntPtr data) { object ret = null; if (element_type != null) { if (element_type == typeof (string)) ret = Marshaller.Utf8PtrToString (data); else if (element_type == typeof (FilenameString)) ret = Marshaller.FilenamePtrToString (data); else if (element_type == typeof (IntPtr)) ret = data; else if (element_type.IsSubclassOf (typeof (GLib.Object))) ret = GLib.Object.GetObject (data, false); else if (element_type.IsSubclassOf (typeof (GLib.Opaque))) ret = GLib.Opaque.GetOpaque (data, element_type, elements_owned); else if (element_type == typeof (int)) ret = (int) data; else if (element_type.IsValueType) ret = Marshal.PtrToStructure (data, element_type); else if (element_type.IsInterface) { Type adapter_type = element_type.Assembly.GetType (element_type.FullName + "Adapter"); System.Reflection.MethodInfo method = adapter_type.GetMethod ("GetObject", new Type[] {typeof(IntPtr), typeof(bool)}); ret = method.Invoke (null, new object[] {data, false}); } else ret = Activator.CreateInstance (element_type, new object[] {data}); } else if (Object.IsObject (data)) ret = GLib.Object.GetObject (data, false); return ret; } [DllImport ("libglib-2.0-0.dll")] static extern void g_free (IntPtr item); [DllImport ("libgobject-2.0-0.dll")] static extern void g_object_unref (IntPtr item); public void Empty () { if (elements_owned) for (uint i = 0; i < Count; i++) if (typeof (GLib.Object).IsAssignableFrom (element_type)) g_object_unref (NthData (i)); else if (typeof (GLib.Opaque).IsAssignableFrom (element_type)) GLib.Opaque.GetOpaque (NthData (i), element_type, true).Dispose (); else g_free (NthData (i)); if (managed) FreeList (); } private class ListEnumerator : IEnumerator { private IntPtr current = IntPtr.Zero; private ListBase list; public ListEnumerator (ListBase list) { this.list = list; } public object Current { get { IntPtr data = list.GetData (current); object ret = null; ret = list.DataMarshal (data); return ret; } } public bool MoveNext () { if (current == IntPtr.Zero) current = list.list_ptr; else current = list.Next (current); return (current != IntPtr.Zero); } public void Reset () { current = IntPtr.Zero; } } // IEnumerable public IEnumerator GetEnumerator () { return new ListEnumerator (this); } // IDisposable public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { Empty (); } void FreeList () { if (list_ptr != IntPtr.Zero) Free (list_ptr); list_ptr = IntPtr.Zero; length = -1; } // ICloneable abstract public object Clone (); } } gtk-sharp-2.12.10/glib/Boxed.cs0000644000175000001440000000250211131157057012777 00000000000000// GtkSharp.Boxed.cs - Base class for deriving marshallable structures. // // Author: Mike Kestner // // Copyright (c) 2001-2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [Obsolete] public class Boxed { object obj; IntPtr raw; public Boxed (object o) { this.obj = o; } public Boxed (IntPtr ptr) { this.raw = ptr; } public virtual IntPtr Handle { get { return raw; } set { raw = value; } } public static explicit operator System.IntPtr (Boxed boxed) { return boxed.Handle; } public virtual object Obj { get { return obj; } set { obj = value; } } } } gtk-sharp-2.12.10/glib/Opaque.cs0000644000175000001440000000610611140354377013200 00000000000000// Opaque .cs - Opaque struct wrapper implementation // // Authors: Bob Smith // Mike Kestner // Rachel Hestilow // // Copyright (c) 2001 Bob Smith // Copyright (c) 2001 Mike Kestner // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.ComponentModel; using System.Runtime.InteropServices; public class Opaque : IWrapper, IDisposable { IntPtr _obj; bool owned; [Obsolete ("Use more explicit overload. This method always returns null")] public static Opaque GetOpaque (IntPtr o) { return null; } public static Opaque GetOpaque (IntPtr o, Type type, bool owned) { Opaque opaque = (Opaque)Activator.CreateInstance (type, new object[] { o }); if (owned) { if (opaque.owned) { // The constructor took a Ref it shouldn't have, so undo it opaque.Unref (o); } opaque.owned = true; } else opaque = opaque.Copy (o); return opaque; } public Opaque () { owned = true; } public Opaque (IntPtr raw) { owned = false; Raw = raw; } protected IntPtr Raw { get { return _obj; } set { if (_obj != IntPtr.Zero) { Unref (_obj); if (owned) Free (_obj); } _obj = value; if (_obj != IntPtr.Zero) { Ref (_obj); } } } ~Opaque () { // for compat. All subclasses should have // generated finalizers if needed now. } public virtual void Dispose () { Raw = IntPtr.Zero; GC.SuppressFinalize (this); } // These take an IntPtr arg so we don't get conflicts if we need // to have an "[Obsolete] public void Ref ()" protected virtual void Ref (IntPtr raw) {} protected virtual void Unref (IntPtr raw) {} protected virtual void Free (IntPtr raw) {} protected virtual Opaque Copy (IntPtr raw) { return this; } public IntPtr Handle { get { return _obj; } } public IntPtr OwnedCopy { get { Opaque result = Copy (Handle); result.Owned = false; return result.Handle; } } public bool Owned { get { return owned; } set { owned = value; } } public override bool Equals (object o) { if (!(o is Opaque)) return false; return (Handle == ((Opaque) o).Handle); } public override int GetHashCode () { return Handle.GetHashCode (); } } } gtk-sharp-2.12.10/glib/NotifyHandler.cs0000644000175000001440000000221211131157057014502 00000000000000// Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public delegate void NotifyHandler (object o, NotifyArgs args); public class NotifyArgs : GLib.SignalArgs { [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_param_spec_get_name (IntPtr pspec); public string Property { get { IntPtr raw_ret = g_param_spec_get_name ((IntPtr) Args[0]); return Marshaller.Utf8PtrToString (raw_ret); } } } } gtk-sharp-2.12.10/glib/DefaultSignalHandlerAttribute.cs0000644000175000001440000000230611131157057017644 00000000000000// DefaultSignalHandlerAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public sealed class DefaultSignalHandlerAttribute : Attribute { private string method; private System.Type type; public DefaultSignalHandlerAttribute () {} public string ConnectionMethod { get { return method; } set { method = value; } } public System.Type Type { get { return type; } set { type = value; } } } } gtk-sharp-2.12.10/glib/Idle.cs0000755000175000001440000000612211272715760012627 00000000000000// GLib.Idle.cs - Idle class implementation // // Author: Mike Kestner // Rachel Hestilow // // Copyright (c) 2002 Mike Kestner // Copyright (c) Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public delegate bool IdleHandler (); public class Idle { [CDeclCallback] delegate bool IdleHandlerInternal (); internal class IdleProxy : SourceProxy { public IdleProxy (IdleHandler real) { real_handler = real; proxy_handler = new IdleHandlerInternal (Handler); } ~IdleProxy () { Dispose (false); } public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { // Both branches remove our delegate from the // managed list of handlers, but only // Source.Remove will remove it from the if (disposing) Remove (); else Source.Remove (ID); } public bool Handler () { try { IdleHandler idle_handler = (IdleHandler) real_handler; bool cont = idle_handler (); if (!cont) Remove (); return cont; } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } return false; } } private Idle () { } [DllImport("libglib-2.0-0.dll")] static extern uint g_idle_add (IdleHandlerInternal d, IntPtr data); public static uint Add (IdleHandler hndlr) { IdleProxy p = new IdleProxy (hndlr); p.ID = g_idle_add ((IdleHandlerInternal) p.proxy_handler, IntPtr.Zero); lock (Source.source_handlers) Source.source_handlers [p.ID] = p; return p.ID; } [DllImport("libglib-2.0-0.dll")] static extern bool g_source_remove_by_funcs_user_data (Delegate d, IntPtr data); public static bool Remove (IdleHandler hndlr) { bool result = false; ArrayList keys = new ArrayList (); lock (Source.source_handlers) { foreach (uint code in Source.source_handlers.Keys) { IdleProxy p = Source.source_handlers [code] as IdleProxy; if (p != null && p.real_handler == hndlr) { keys.Add (code); result = g_source_remove_by_funcs_user_data (p.proxy_handler, IntPtr.Zero); } } foreach (object key in keys) Source.source_handlers.Remove (key); } return result; } } } gtk-sharp-2.12.10/glib/SignalClosure.cs0000644000175000001440000001433311140655056014517 00000000000000// SignalClosure.cs - signal marshaling class // // Authors: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; internal class ClosureInvokedArgs : EventArgs { EventArgs args; GLib.Object obj; object result; public ClosureInvokedArgs (GLib.Object obj, EventArgs args) { this.obj = obj; this.args = args; } public EventArgs Args { get { return args; } } public GLib.Object Target { get { return obj; } } } internal delegate void ClosureInvokedHandler (object o, ClosureInvokedArgs args); internal class SignalClosure : IDisposable { IntPtr handle; IntPtr raw_closure; string name; uint id = UInt32.MaxValue; System.Type args_type; Delegate custom_marshaler; GCHandle gch; static Hashtable closures = new Hashtable (); public SignalClosure (IntPtr obj, string signal_name, System.Type args_type) { raw_closure = glibsharp_closure_new (Marshaler, Notify, IntPtr.Zero); closures [raw_closure] = this; handle = obj; name = signal_name; this.args_type = args_type; } public SignalClosure (IntPtr obj, string signal_name, Delegate custom_marshaler, Signal signal) { gch = GCHandle.Alloc (signal); raw_closure = g_cclosure_new (custom_marshaler, (IntPtr) gch, Notify); closures [raw_closure] = this; handle = obj; name = signal_name; this.custom_marshaler = custom_marshaler; } public event EventHandler Disposed; public event ClosureInvokedHandler Invoked; public void Connect (bool is_after) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); id = g_signal_connect_closure (handle, native_name, raw_closure, is_after); GLib.Marshaller.Free (native_name); } public void Disconnect () { if (id != UInt32.MaxValue && g_signal_handler_is_connected (handle, id)) g_signal_handler_disconnect (handle, id); } public void Dispose () { Disconnect (); closures.Remove (raw_closure); if (custom_marshaler != null) gch.Free (); custom_marshaler = null; if (Disposed != null) Disposed (this, EventArgs.Empty); GC.SuppressFinalize (this); } public void Invoke (ClosureInvokedArgs args) { if (Invoked == null) return; Invoked (this, args); } static ClosureMarshal marshaler; static ClosureMarshal Marshaler { get { if (marshaler == null) marshaler = new ClosureMarshal (MarshalCallback); return marshaler; } } [CDeclCallback] delegate void ClosureMarshal (IntPtr closure, IntPtr return_val, uint n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data); static void MarshalCallback (IntPtr raw_closure, IntPtr return_val, uint n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) { string message = String.Empty; try { SignalClosure closure = closures [raw_closure] as SignalClosure; message = "Marshaling " + closure.name + " signal"; Value objval = (Value) Marshal.PtrToStructure (param_values, typeof (Value)); GLib.Object __obj = objval.Val as GLib.Object; if (__obj == null) return; if (closure.args_type == typeof (EventArgs)) { closure.Invoke (new ClosureInvokedArgs (__obj, EventArgs.Empty)); return; } SignalArgs args = Activator.CreateInstance (closure.args_type, new object [0]) as SignalArgs; args.Args = new object [n_param_vals - 1]; GLib.Value[] vals = new GLib.Value [n_param_vals - 1]; for (int i = 1; i < n_param_vals; i++) { IntPtr ptr = new IntPtr (param_values.ToInt64 () + i * Marshal.SizeOf (typeof (Value))); vals [i - 1] = (Value) Marshal.PtrToStructure (ptr, typeof (Value)); args.Args [i - 1] = vals [i - 1].Val; } ClosureInvokedArgs ci_args = new ClosureInvokedArgs (__obj, args); closure.Invoke (ci_args); for (int i = 1; i < n_param_vals; i++) { vals [i - 1].Update (args.Args [i - 1]); IntPtr ptr = new IntPtr (param_values.ToInt64 () + i * Marshal.SizeOf (typeof (Value))); Marshal.StructureToPtr (vals [i - 1], ptr, false); } if (return_val == IntPtr.Zero || args.RetVal == null) return; Value ret = (Value) Marshal.PtrToStructure (return_val, typeof (Value)); ret.Val = args.RetVal; Marshal.StructureToPtr (ret, return_val, false); } catch (Exception e) { Console.WriteLine (message); ExceptionManager.RaiseUnhandledException (e, false); } } [CDeclCallback] delegate void ClosureNotify (IntPtr data, IntPtr closure); static void NotifyCallback (IntPtr data, IntPtr raw_closure) { SignalClosure closure = closures [raw_closure] as SignalClosure; if (closure != null) closure.Dispose (); } static ClosureNotify notify_handler; static ClosureNotify Notify { get { if (notify_handler == null) notify_handler = new ClosureNotify (NotifyCallback); return notify_handler; } } [DllImport("glibsharpglue-2")] static extern IntPtr glibsharp_closure_new (ClosureMarshal marshaler, ClosureNotify notify, IntPtr gch); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_cclosure_new (Delegate cb, IntPtr user_data, ClosureNotify notify); [DllImport("libgobject-2.0-0.dll")] static extern uint g_signal_connect_closure (IntPtr obj, IntPtr name, IntPtr closure, bool is_after); [DllImport("libgobject-2.0-0.dll")] static extern void g_signal_handler_disconnect (IntPtr instance, uint handler); [DllImport("libgobject-2.0-0.dll")] static extern bool g_signal_handler_is_connected (IntPtr instance, uint handler); } } gtk-sharp-2.12.10/glib/SignalArgs.cs0000644000175000001440000000264711131157057014002 00000000000000// GLib.SignalArgs.cs - Signal argument class implementation // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; public class SignalArgs : EventArgs { private object _ret; private object[] _args; public SignalArgs() { _ret = null; _args = null; } public SignalArgs(object retval) { _ret = retval; _args = null; } public SignalArgs(object retval, object[] args) { _ret = retval; _args = args; } public object[] Args { get { return _args; } set { _args = value; } } public object RetVal { get { return _ret; } set { _ret = value; } } } } gtk-sharp-2.12.10/glib/TypeConverter.cs0000644000175000001440000000207411131157057014553 00000000000000// GLib.TypeConverter.cs : Convert between fundamental and .NET types // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public class TypeConverter { private TypeConverter () {} [Obsolete ("Replaced by explicit (GType) cast")] public static GType LookupType (System.Type type) { return (GType) type; } } } gtk-sharp-2.12.10/glib/SignalAttribute.cs0000644000175000001440000000227411131157057015045 00000000000000// SignalAttribute.cs // // Author: // Ricardo Fernández Pascual // // Copyright (c) Ricardo Fernández Pascual // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [Serializable] [AttributeUsage (AttributeTargets.Event, Inherited=false)] public sealed class SignalAttribute : Attribute { private string cname; public SignalAttribute (string cname) { this.cname = cname; } private SignalAttribute () {} public string CName { get { return cname; } } } } gtk-sharp-2.12.10/glib/Markup.cs0000644000175000001440000000247711131157057013210 00000000000000// Markup.cs: Wrapper for the Markup code in Glib // // Authors: // Miguel de Icaza (miguel@ximian.com) // // Copyright (c) 2003 Ximian, Inc. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; using System.Runtime.InteropServices; namespace GLib { public class Markup { private Markup () {} [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_markup_escape_text (IntPtr text, int len); static public string EscapeText (string s) { if (s == null) return String.Empty; IntPtr native = Marshaller.StringToPtrGStrdup (s); string result = Marshaller.PtrToStringGFree (g_markup_escape_text (native, -1)); Marshaller.Free (native); return result; } } } gtk-sharp-2.12.10/glib/Thread.cs0000644000175000001440000000235211140655056013152 00000000000000// Thread.cs - thread awareness // // Author: Alp Toker // // Copyright (c) 2002 Alp Toker // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class Thread { private Thread () {} [DllImport("libgthread-2.0-0.dll")] static extern void g_thread_init (IntPtr i); public static void Init () { g_thread_init (IntPtr.Zero); } [DllImport("glibsharpglue-2")] static extern bool glibsharp_g_thread_supported (); public static bool Supported { get { return glibsharp_g_thread_supported (); } } } } gtk-sharp-2.12.10/glib/GException.cs0000644000175000001440000000260211140655056014006 00000000000000// GException.cs : GError handling // // Authors: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class GException : Exception { IntPtr errptr; public GException (IntPtr errptr) : base () { this.errptr = errptr; } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_error_get_message (IntPtr errptr); public override string Message { get { return Marshaller.Utf8PtrToString (gtksharp_error_get_message (errptr)); } } [DllImport("libglib-2.0-0.dll")] static extern void g_clear_error (ref IntPtr errptr); ~GException () { g_clear_error (ref errptr); } } } gtk-sharp-2.12.10/glib/PropertyAttribute.cs0000644000175000001440000000257011131157057015453 00000000000000// PropertyAttribute.cs // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public sealed class PropertyAttribute : Attribute { string blurb; string nickname; string name; public PropertyAttribute (string name) { this.name = name; } public PropertyAttribute (string name, string nickname, string blurb) { this.name = name; this.nickname = nickname; this.blurb = blurb; } public string Blurb { get { return blurb; } set { blurb = value; } } public string Name { get { return name; } set { name = value; } } public string Nickname { get { return nickname; } set { nickname = value; } } } } gtk-sharp-2.12.10/glib/Signal.cs0000644000175000001440000003035011140655056013157 00000000000000// GLib.Signal.cs - signal marshaling class // // Authors: Mike Kestner // Andrés G. Aragoneses // // Copyright (c) 2005,2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; [Flags] public enum ConnectFlags { After = 1 << 0, Swapped = 1 << 1, } public class Signal { [Flags] public enum Flags { RunFirst = 1 << 0, RunLast = 1 << 1, RunCleanup = 1 << 2, NoRecurse = 1 << 3, Detailed = 1 << 4, Action = 1 << 5, NoHooks = 1 << 6 } [StructLayout (LayoutKind.Sequential)] public struct InvocationHint { public uint signal_id; public uint detail; public Flags run_type; } [CDeclCallback] public delegate bool EmissionHookNative (ref InvocationHint hint, uint n_pvals, IntPtr pvals, IntPtr data); public delegate bool EmissionHook (InvocationHint ihint, object[] inst_and_param_values); public class EmissionHookMarshaler { EmissionHook handler; EmissionHookNative cb; IntPtr user_data; GCHandle gch; public EmissionHookMarshaler (EmissionHook handler) { this.handler = handler; cb = new EmissionHookNative (NativeCallback); gch = GCHandle.Alloc (this); } public EmissionHookMarshaler (EmissionHookNative callback, IntPtr user_data) { cb = callback; this.user_data = user_data; handler = new EmissionHook (NativeInvoker); } bool NativeCallback (ref InvocationHint hint, uint n_pvals, IntPtr pvals_ptr, IntPtr data) { object[] pvals = new object [n_pvals]; for (int i = 0; i < n_pvals; i++) { IntPtr p = new IntPtr ((long) pvals_ptr + i * Marshal.SizeOf (typeof (Value))); Value v = (Value) Marshal.PtrToStructure (p, typeof (Value)); pvals [i] = v.Val; } bool result = handler (hint, pvals); if (!result) gch.Free (); return result; } public EmissionHookNative Callback { get { return cb; } } bool NativeInvoker (InvocationHint ihint, object[] pvals) { int val_sz = Marshal.SizeOf (typeof (Value)); IntPtr buf = Marshal.AllocHGlobal (pvals.Length * val_sz); Value[] vals = new Value [pvals.Length]; for (int i = 0; i < pvals.Length; i++) { vals [i] = new Value (pvals [i]); IntPtr p = new IntPtr ((long) buf + i * val_sz); Marshal.StructureToPtr (vals [i], p, false); } bool result = cb (ref ihint, (uint) pvals.Length, buf, user_data); foreach (Value v in vals) v.Dispose (); Marshal.FreeHGlobal (buf); return result; } public EmissionHook Invoker { get { return handler; } } } ToggleRef tref; string name; Type args_type; SignalClosure before_closure; SignalClosure after_closure; Delegate marshaler; private Signal (GLib.Object obj, string signal_name, Delegate marshaler) { tref = obj.ToggleRef; name = signal_name; tref.Signals [name] = this; this.marshaler = marshaler; } private Signal (GLib.Object obj, string signal_name, Type args_type) { tref = obj.ToggleRef; name = signal_name; this.args_type = args_type; tref.Signals [name] = this; } internal void Free () { if (before_closure != null) before_closure.Dispose (); if (after_closure != null) after_closure.Dispose (); GC.SuppressFinalize (this); } void ClosureDisposedCB (object o, EventArgs args) { if (o == before_closure) { before_closure.Disposed -= new EventHandler (ClosureDisposedHandler); before_closure.Invoked -= new ClosureInvokedHandler (ClosureInvokedCB); if (tref.Target != null) tref.Target.BeforeSignals.Remove (name); before_closure = null; } else if (o == after_closure) { after_closure.Disposed -= new EventHandler (ClosureDisposedHandler); after_closure.Invoked -= new ClosureInvokedHandler (ClosureInvokedCB); if (tref.Target != null) tref.Target.AfterSignals.Remove (name); after_closure = null; } if (before_closure == null && after_closure == null) tref.Signals.Remove (name); } EventHandler closure_disposed_cb; EventHandler ClosureDisposedHandler { get { if (closure_disposed_cb == null) closure_disposed_cb = new EventHandler (ClosureDisposedCB); return closure_disposed_cb; } } void ClosureInvokedCB (object o, ClosureInvokedArgs args) { Delegate handler; if (o == before_closure) handler = args.Target.BeforeSignals [name] as Delegate; else handler = args.Target.AfterSignals [name] as Delegate; if (handler != null) handler.DynamicInvoke (new object[] {args.Target, args.Args}); } ClosureInvokedHandler closure_invoked_cb; ClosureInvokedHandler ClosureInvokedHandler { get { if (closure_invoked_cb == null) closure_invoked_cb = new ClosureInvokedHandler (ClosureInvokedCB); return closure_invoked_cb; } } public static Signal Lookup (GLib.Object obj, string name) { return Lookup (obj, name, typeof (EventArgs)); } public static Signal Lookup (GLib.Object obj, string name, Delegate marshaler) { Signal result = obj.ToggleRef.Signals [name] as Signal; if (result == null) result = new Signal (obj, name, marshaler); return result; } public static Signal Lookup (GLib.Object obj, string name, Type args_type) { Signal result = obj.ToggleRef.Signals [name] as Signal; if (result == null) result = new Signal (obj, name, args_type); return result; } public Delegate Handler { get { InvocationHint hint = (InvocationHint) Marshal.PtrToStructure (g_signal_get_invocation_hint (tref.Handle), typeof (InvocationHint)); if (hint.run_type == Flags.RunFirst) return tref.Target.BeforeSignals [name] as Delegate; else return tref.Target.AfterSignals [name] as Delegate; } } public void AddDelegate (Delegate d) { if (args_type == null) args_type = d.Method.GetParameters ()[1].ParameterType; if (d.Method.IsDefined (typeof (ConnectBeforeAttribute), false)) { tref.Target.BeforeSignals [name] = Delegate.Combine (tref.Target.BeforeSignals [name] as Delegate, d); if (before_closure == null) { if (marshaler == null) before_closure = new SignalClosure (tref.Handle, name, args_type); else before_closure = new SignalClosure (tref.Handle, name, marshaler, this); before_closure.Disposed += ClosureDisposedHandler; before_closure.Invoked += ClosureInvokedHandler; before_closure.Connect (false); } } else { tref.Target.AfterSignals [name] = Delegate.Combine (tref.Target.AfterSignals [name] as Delegate, d); if (after_closure == null) { if (marshaler == null) after_closure = new SignalClosure (tref.Handle, name, args_type); else after_closure = new SignalClosure (tref.Handle, name, marshaler, this); after_closure.Disposed += ClosureDisposedHandler; after_closure.Invoked += ClosureInvokedHandler; after_closure.Connect (true); } } } public void RemoveDelegate (Delegate d) { if (tref.Target == null) return; if (d.Method.IsDefined (typeof (ConnectBeforeAttribute), false)) { tref.Target.BeforeSignals [name] = Delegate.Remove (tref.Target.BeforeSignals [name] as Delegate, d); if (tref.Target.BeforeSignals [name] == null && before_closure != null) { before_closure.Dispose (); before_closure = null; } } else { tref.Target.AfterSignals [name] = Delegate.Remove (tref.Target.AfterSignals [name] as Delegate, d); if (tref.Target.AfterSignals [name] == null && after_closure != null) { after_closure.Dispose (); after_closure = null; } } } // format: children-changed::add private static void ParseSignalDetail (string signal_detail, out string signal_name, out uint gquark) { //can't use String.Split because it doesn't accept a string arg (only char) in the 1.x profile int link_pos = signal_detail.IndexOf ("::"); if (link_pos < 0) { gquark = 0; signal_name = signal_detail; } else if (link_pos == 0) { throw new FormatException ("Invalid detailed signal: " + signal_detail); } else { signal_name = signal_detail.Substring (0, link_pos); gquark = GetGQuarkFromString (signal_detail.Substring (link_pos + 2)); } } public static object Emit (GLib.Object instance, string detailed_signal, params object[] args) { uint gquark, signal_id; string signal_name; ParseSignalDetail (detailed_signal, out signal_name, out gquark); signal_id = GetSignalId (signal_name, instance); if (signal_id <= 0) throw new ArgumentException ("Invalid signal name: " + signal_name); GLib.Value[] vals = new GLib.Value [args.Length + 1]; GLib.ValueArray inst_and_params = new GLib.ValueArray ((uint) args.Length + 1); vals [0] = new GLib.Value (instance); inst_and_params.Append (vals [0]); for (int i = 1; i < vals.Length; i++) { vals [i] = new GLib.Value (args [i - 1]); inst_and_params.Append (vals [i]); } object ret_obj = null; if (glibsharp_signal_get_return_type (signal_id) != GType.None.Val) { GLib.Value ret = GLib.Value.Empty; g_signal_emitv (inst_and_params.ArrayPtr, signal_id, gquark, ref ret); ret_obj = ret.Val; ret.Dispose (); } else g_signal_emitv (inst_and_params.ArrayPtr, signal_id, gquark, IntPtr.Zero); foreach (GLib.Value val in vals) val.Dispose (); return ret_obj; } private static uint GetGQuarkFromString (string str) { IntPtr native_string = GLib.Marshaller.StringToPtrGStrdup (str); uint ret = g_quark_from_string (native_string); GLib.Marshaller.Free (native_string); return ret; } private static uint GetSignalId (string signal_name, GLib.Object obj) { IntPtr typeid = gtksharp_get_type_id (obj.Handle); return GetSignalId (signal_name, typeid); } private static uint GetSignalId (string signal_name, IntPtr typeid) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (signal_name); uint signal_id = g_signal_lookup (native_name, typeid); GLib.Marshaller.Free (native_name); return signal_id; } public static ulong AddEmissionHook (string detailed_signal, GLib.GType type, EmissionHook handler_func) { uint gquark; string signal_name; ParseSignalDetail (detailed_signal, out signal_name, out gquark); uint signal_id = GetSignalId (signal_name, type.Val); if (signal_id <= 0) throw new Exception ("Invalid signal name: " + signal_name); return g_signal_add_emission_hook (signal_id, gquark, new EmissionHookMarshaler (handler_func).Callback, IntPtr.Zero, IntPtr.Zero); } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_signal_get_invocation_hint (IntPtr instance); [DllImport("libgobject-2.0-0.dll")] static extern void g_signal_emitv (IntPtr instance_and_params, uint signal_id, uint gquark_detail, ref GLib.Value return_value); [DllImport("libgobject-2.0-0.dll")] static extern void g_signal_emitv (IntPtr instance_and_params, uint signal_id, uint gquark_detail, IntPtr return_value); [DllImport("glibsharpglue-2")] static extern IntPtr glibsharp_signal_get_return_type (uint signal_id); [DllImport("libgobject-2.0-0.dll")] static extern uint g_signal_lookup (IntPtr name, IntPtr itype); //better not to expose g_quark_from_static_string () due to memory allocation issues [DllImport("libglib-2.0-0.dll")] static extern uint g_quark_from_string (IntPtr str); [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_get_type_id (IntPtr raw); [DllImport("libgobject-2.0-0.dll")] static extern ulong g_signal_add_emission_hook (uint signal_id, uint gquark_detail, EmissionHookNative hook_func, IntPtr hook_data, IntPtr data_destroy); } } gtk-sharp-2.12.10/glib/GInterfaceAdapter.cs0000644000175000001440000000314711234360435015254 00000000000000// GInterfaceAdapter.cs // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public delegate void GInterfaceInitHandler (IntPtr iface_ptr, IntPtr data); internal delegate void GInterfaceFinalizeHandler (IntPtr iface_ptr, IntPtr data); internal struct GInterfaceInfo { internal GInterfaceInitHandler InitHandler; internal GInterfaceFinalizeHandler FinalizeHandler; internal IntPtr Data; } public abstract class GInterfaceAdapter { GInterfaceInfo info; protected GInterfaceAdapter () { } protected GInterfaceInitHandler InitHandler { set { info.InitHandler = value; } } public abstract GType GType { get; } public abstract IntPtr Handle { get; } internal GInterfaceInfo Info { get { if (info.Data == IntPtr.Zero) info.Data = (IntPtr) GCHandle.Alloc (this); return info; } } } } gtk-sharp-2.12.10/glib/glib-sharp.dll.config.in0000644000175000001440000000044611140655032016006 00000000000000 gtk-sharp-2.12.10/glib/TypeInitializerAttribute.cs0000644000175000001440000000240611131157057016752 00000000000000// TypeInitializerAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [AttributeUsage (AttributeTargets.Class)] public sealed class TypeInitializerAttribute : Attribute { string method_name; Type type; public TypeInitializerAttribute (Type type, string method_name) { this.type = type; this.method_name = method_name; } public string MethodName { get { return method_name; } set { method_name = value; } } public Type Type { get { return type; } set { type = value; } } } } gtk-sharp-2.12.10/glib/GType.cs0000755000175000001440000002046211323670773013006 00000000000000// GLib.Type.cs - GLib GType class implementation // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.IO; using System.Reflection; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] public struct GType { IntPtr val; public GType (IntPtr val) { this.val = val; } public static GType FromName (string native_name) { return new GType (g_type_from_name (native_name)); } public static readonly GType Invalid = new GType ((IntPtr) TypeFundamentals.TypeInvalid); public static readonly GType None = new GType ((IntPtr) TypeFundamentals.TypeNone); public static readonly GType Interface = new GType ((IntPtr) TypeFundamentals.TypeInterface); public static readonly GType Char = new GType ((IntPtr) TypeFundamentals.TypeChar); public static readonly GType UChar = new GType ((IntPtr) TypeFundamentals.TypeUChar); public static readonly GType Boolean = new GType ((IntPtr) TypeFundamentals.TypeBoolean); public static readonly GType Int = new GType ((IntPtr) TypeFundamentals.TypeInt); public static readonly GType UInt = new GType ((IntPtr) TypeFundamentals.TypeUInt); public static readonly GType Long = new GType ((IntPtr) TypeFundamentals.TypeLong); public static readonly GType ULong = new GType ((IntPtr) TypeFundamentals.TypeULong); public static readonly GType Int64 = new GType ((IntPtr) TypeFundamentals.TypeInt64); public static readonly GType UInt64 = new GType ((IntPtr) TypeFundamentals.TypeUInt64); public static readonly GType Enum = new GType ((IntPtr) TypeFundamentals.TypeEnum); public static readonly GType Flags = new GType ((IntPtr) TypeFundamentals.TypeFlags); public static readonly GType Float = new GType ((IntPtr) TypeFundamentals.TypeFloat); public static readonly GType Double = new GType ((IntPtr) TypeFundamentals.TypeDouble); public static readonly GType String = new GType ((IntPtr) TypeFundamentals.TypeString); public static readonly GType Pointer = new GType ((IntPtr) TypeFundamentals.TypePointer); public static readonly GType Boxed = new GType ((IntPtr) TypeFundamentals.TypeBoxed); public static readonly GType Param = new GType ((IntPtr) TypeFundamentals.TypeParam); public static readonly GType Object = new GType ((IntPtr) TypeFundamentals.TypeObject); static Hashtable types = new Hashtable (); static Hashtable gtypes = new Hashtable (); public static void Register (GType native_type, System.Type type) { if (native_type != GType.Pointer && native_type != GType.Boxed && native_type != ManagedValue.GType) types[native_type.Val] = type; if (type != null) gtypes[type] = native_type; } [DllImport("libgobject-2.0-0.dll")] static extern void g_type_init (); static GType () { if (!GLib.Thread.Supported) GLib.Thread.Init (); g_type_init (); Register (GType.Char, typeof (sbyte)); Register (GType.UChar, typeof (byte)); Register (GType.Boolean, typeof (bool)); Register (GType.Int, typeof (int)); Register (GType.UInt, typeof (uint)); Register (GType.Int64, typeof (long)); Register (GType.UInt64, typeof (ulong)); Register (GType.Float, typeof (float)); Register (GType.Double, typeof (double)); Register (GType.String, typeof (string)); Register (GType.Pointer, typeof (IntPtr)); Register (GType.Object, typeof (GLib.Object)); Register (GType.Pointer, typeof (IntPtr)); // One-way mapping gtypes[typeof (char)] = GType.UInt; } public static explicit operator GType (System.Type type) { GType gtype; if (gtypes.Contains (type)) return (GType)gtypes[type]; if (type.IsSubclassOf (typeof (GLib.Object))) { gtype = GLib.Object.LookupGType (type); Register (gtype, type); return gtype; } PropertyInfo pi = type.GetProperty ("GType", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.FlattenHierarchy); if (pi != null) gtype = (GType) pi.GetValue (null, null); else if (type.IsDefined (typeof (GTypeAttribute), false)) { GTypeAttribute gattr = (GTypeAttribute)Attribute.GetCustomAttribute (type, typeof (GTypeAttribute), false); pi = gattr.WrapperType.GetProperty ("GType", BindingFlags.Public | BindingFlags.Static); gtype = (GType) pi.GetValue (null, null); } else if (type.IsSubclassOf (typeof (GLib.Opaque))) gtype = GType.Pointer; else gtype = ManagedValue.GType; Register (gtype, type); return gtype; } static string GetQualifiedName (string cname) { for (int i = 1; i < cname.Length; i++) { if (System.Char.IsUpper (cname[i])) { if (i == 1 && cname [0] == 'G') return "GLib." + cname.Substring (1); else return cname.Substring (0, i) + "." + cname.Substring (i); } } throw new ArgumentException ("cname is not in NamespaceType format. GType.Register should be called directly for " + cname); } public static explicit operator Type (GType gtype) { return LookupType (gtype.Val); } public static void Init () { // cctor already calls g_type_init. } public static Type LookupType (IntPtr typeid) { if (types.Contains (typeid)) return (Type)types[typeid]; string native_name = Marshaller.Utf8PtrToString (g_type_name (typeid)); string type_name = GetQualifiedName (native_name); Type result = null; Assembly[] assemblies = (Assembly[]) AppDomain.CurrentDomain.GetAssemblies ().Clone (); foreach (Assembly asm in assemblies) { result = asm.GetType (type_name); if (result != null) break; } if (result == null) { // Because of lazy loading of references, it's possible the type's assembly // needs to be loaded. We will look for it by name in the references of // the currently loaded assemblies. Hopefully a recursive traversal is // not needed. We avoid one for now because of problems experienced // in a patch from bug #400595, and a desire to keep memory usage low // by avoiding a complete loading of all dependent assemblies. string ns = type_name.Substring (0, type_name.LastIndexOf ('.')); string asm_name = ns.ToLower ().Replace ('.', '-') + "-sharp"; foreach (Assembly asm in assemblies) { foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) { if (ref_name.Name != asm_name) continue; try { string asm_dir = Path.GetDirectoryName (asm.Location); Assembly ref_asm; if (File.Exists (Path.Combine (asm_dir, ref_name.Name + ".dll"))) ref_asm = Assembly.LoadFrom (Path.Combine (asm_dir, ref_name.Name + ".dll")); else ref_asm = Assembly.Load (ref_name); result = ref_asm.GetType (type_name); if (result != null) break; } catch (Exception) { /* Failure to load a referenced assembly is not an error */ } } if (result != null) break; } } Register (new GType (typeid), result); return result; } public IntPtr Val { get { return val; } } public override bool Equals (object o) { if (!(o is GType)) return false; return ((GType) o) == this; } public static bool operator == (GType a, GType b) { return a.Val == b.Val; } public static bool operator != (GType a, GType b) { return a.Val != b.Val; } public override int GetHashCode () { return val.GetHashCode (); } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_type_name (IntPtr raw); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_type_from_name (string name); public override string ToString () { return Marshaller.Utf8PtrToString (g_type_name (val)); } } } gtk-sharp-2.12.10/glib/Argv.cs0000644000175000001440000000435211131157057012642 00000000000000// GLib.Argv.cs : Argv marshaling class // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class Argv { IntPtr[] arg_ptrs; IntPtr handle; bool add_progname = false; [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_malloc(IntPtr size); [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr mem); ~Argv () { foreach (IntPtr arg in arg_ptrs) g_free (arg); g_free (handle); } public Argv (string[] args) : this (args, false) {} public Argv (string[] args, bool add_program_name) { add_progname = add_program_name; if (add_progname) { string[] full = new string [args.Length + 1]; full [0] = System.Environment.GetCommandLineArgs ()[0]; args.CopyTo (full, 1); args = full; } arg_ptrs = new IntPtr [args.Length]; for (int i = 0; i < args.Length; i++) arg_ptrs [i] = Marshaller.StringToPtrGStrdup (args[i]); handle = g_malloc (new IntPtr (IntPtr.Size * args.Length)); for (int i = 0; i < args.Length; i++) Marshal.WriteIntPtr (handle, i * IntPtr.Size, arg_ptrs [i]); } public IntPtr Handle { get { return handle; } } public string[] GetArgs (int argc) { int count = add_progname ? argc - 1 : argc; int idx = add_progname ? 1 : 0; string[] result = new string [count]; for (int i = 0; i < count; i++, idx++) result [i] = Marshaller.Utf8PtrToString (Marshal.ReadIntPtr (handle, idx * IntPtr.Size)); return result; } } } gtk-sharp-2.12.10/glib/GInterfaceAttribute.cs0000644000175000001440000000213311131157057015631 00000000000000// GInterfaceAttribute.cs // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [AttributeUsage (AttributeTargets.Interface)] public sealed class GInterfaceAttribute : Attribute { Type adapter_type; public GInterfaceAttribute (Type adapter_type) { this.adapter_type = adapter_type; } public Type AdapterType { get { return adapter_type; } set { adapter_type = value; } } } } gtk-sharp-2.12.10/glib/IgnoreClassInitializersAttribute.cs0000644000175000001440000000176611131157057020435 00000000000000// IgnoreClassInitializersAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [AttributeUsage (AttributeTargets.Assembly)] public sealed class IgnoreClassInitializersAttribute : Attribute { public IgnoreClassInitializersAttribute () {} } } gtk-sharp-2.12.10/glib/glib-api.xml0000644000175000001440000000130211131157057013612 00000000000000 gtk-sharp-2.12.10/glib/glue/0000777000175000001440000000000011345266754012444 500000000000000gtk-sharp-2.12.10/glib/glue/Makefile.am0000644000175000001440000000117411131157056014402 00000000000000lib_LTLIBRARIES = libglibsharpglue-2.la libglibsharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libglibsharpglue_2_la_SOURCES = \ closure.c \ error.c \ list.c \ object.c \ ptrarray.c \ signal.c \ slist.c \ type.c \ unichar.c \ value.c \ valuearray.c \ thread.c # Adding a new glue file? libglibsharpglue_2_la_LIBADD = $(GLIB_LIBS) INCLUDES = $(GLIB_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libgtksharpglue.dll: $(libgtksharpglue_2_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def ./build-dll libgtksharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.10/glib/glue/signal.c0000644000175000001440000000207611131157056013771 00000000000000/* signal.c : Glue for signaling stuff * * Author: Andrés G. Aragoneses * * Copyright (c) 2008 Novell Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GType glibsharp_signal_get_return_type (guint signal_id); /* */ GType glibsharp_signal_get_return_type (guint signal_id) { GSignalQuery query; g_signal_query (signal_id, &query); return query.return_type; } gtk-sharp-2.12.10/glib/glue/ptrarray.c0000644000175000001440000000235611131157056014361 00000000000000/* ptrarray.c : Glue to access GPtrArray fields * * Author: Mike Gorse * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void *gtksharp_ptr_array_get_array (GPtrArray *pa); guint gtksharp_ptr_array_get_count (GPtrArray *pa); void *gtksharp_ptr_array_get_nth (GPtrArray *pa, int index); void * gtksharp_ptr_array_get_array (GPtrArray *pa) { return pa->pdata; } guint gtksharp_ptr_array_get_count (GPtrArray *pa) { return pa->len; } void * gtksharp_ptr_array_get_nth (GPtrArray *pa, int index) { return g_ptr_array_index (pa, index); } gtk-sharp-2.12.10/glib/glue/object.c0000644000175000001440000001232711254303646013766 00000000000000/* object.c : Glue to clean up GtkObject references. * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ int gtksharp_object_get_ref_count (GObject *obj); GObject *gtksharp_object_newv (GType type, gint cnt, gchar **names, GValue *vals); void gtksharp_override_property_handlers(GType type, gpointer get_property_cb, gpointer set_property_cb); GParamSpec *gtksharp_register_property(GType declaring_type, const gchar *name, const gchar *nick, const gchar *blurb, guint id, GType return_type, gboolean can_read, gboolean can_write); /* */ int gtksharp_object_get_ref_count (GObject *obj) { return obj->ref_count; } GObject * gtksharp_object_newv (GType type, gint cnt, gchar **names, GValue *vals) { int i; GParameter *parms = NULL; GObject *result; if (cnt > 0) parms = g_new0 (GParameter, cnt); for (i = 0; i < cnt; i++) { parms[i].name = names[i]; parms[i].value = vals[i]; } result = g_object_newv (type, cnt, parms); g_free (parms); return result; } void gtksharp_override_property_handlers(GType type, gpointer get_property_cb, gpointer set_property_cb) { GObjectClass *type_class = g_type_class_peek (type); if(!type_class) type_class = g_type_class_ref (type); type_class->get_property = get_property_cb; type_class->set_property = set_property_cb; } GParamSpec * gtksharp_register_property(GType declaring_type, const gchar *name, const gchar *nick, const gchar *blurb, guint id, GType return_type, gboolean can_read, gboolean can_write) { GParamSpec *param_spec; GParamFlags flags = 0; GObjectClass *declaring_class = g_type_class_peek (declaring_type); if (!declaring_class) declaring_class = g_type_class_ref (declaring_type); if (can_read) flags |= G_PARAM_READABLE; if (can_write) flags |= G_PARAM_WRITABLE; /* Create the ParamSpec for the property * These are used to hold default values and to validate values * Both is not needed since the check for invalid values takes place in the managed set accessor of the property and properties do not * contain default values. Therefore the ParamSpecs must allow every value that can be assigned to the property type. * Furthermore the default value that is specified in the constructors will never be used and assigned to the property; * they are not relevant, but have to be passed */ switch (return_type) { case G_TYPE_CHAR: param_spec = g_param_spec_char (name, nick, blurb, G_MININT8, G_MAXINT8, 0, flags); break; case G_TYPE_UCHAR: param_spec = g_param_spec_uchar (name, nick, blurb, 0, G_MAXUINT8, 0, flags); break; case G_TYPE_BOOLEAN: param_spec = g_param_spec_boolean (name, nick, blurb, FALSE, flags); break; case G_TYPE_INT: param_spec = g_param_spec_int (name, nick, blurb, G_MININT, G_MAXINT, 0, flags); break; case G_TYPE_UINT: param_spec = g_param_spec_uint (name, nick, blurb, 0, G_MAXUINT, 0, flags); break; case G_TYPE_LONG: param_spec = g_param_spec_long (name, nick, blurb, G_MINLONG, G_MAXLONG, 0, flags); break; case G_TYPE_ULONG: param_spec = g_param_spec_ulong (name, nick, blurb, 0, G_MAXULONG, 0, flags); break; case G_TYPE_INT64: param_spec = g_param_spec_int64 (name, nick, blurb, G_MININT64, G_MAXINT64, 0, flags); break; case G_TYPE_UINT64: param_spec = g_param_spec_uint64 (name, nick, blurb, 0, G_MAXUINT64, 0, flags); break; /* case G_TYPE_ENUM: * case G_TYPE_FLAGS: * TODO: Implement both G_TYPE_ENUM and G_TYPE_FLAGS * My problem: Both g_param_spec_enum and g_param_spec_flags expect default property values and the members of the enum seemingly cannot be enumerated */ case G_TYPE_FLOAT: param_spec = g_param_spec_float (name, nick, blurb, -G_MINFLOAT, G_MAXFLOAT, 0, flags); break; case G_TYPE_DOUBLE: param_spec = g_param_spec_double (name, nick, blurb, -G_MINDOUBLE, G_MAXDOUBLE, 0, flags); break; case G_TYPE_STRING: param_spec = g_param_spec_string (name, nick, blurb, NULL, flags); break; case G_TYPE_POINTER: param_spec = g_param_spec_pointer (name, nick, blurb, flags); break; default: if(return_type == G_TYPE_GTYPE) param_spec = g_param_spec_gtype (name, nick, blurb, G_TYPE_NONE, flags); else if(g_type_is_a (return_type, G_TYPE_BOXED)) param_spec = g_param_spec_boxed (name, nick, blurb, return_type, flags); else if(g_type_is_a (return_type, G_TYPE_OBJECT)) param_spec = g_param_spec_object (name, nick, blurb, return_type, flags); else // The property's return type is not supported return NULL; } g_object_class_install_property (declaring_class, id, param_spec); return param_spec; } gtk-sharp-2.12.10/glib/glue/error.c0000755000175000001440000000174411131157056013651 00000000000000/* error.c : Glue to access GError values. * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ gchar *gtksharp_error_get_message (GError *err); /* */ gchar * gtksharp_error_get_message (GError *err) { return err->message; } gtk-sharp-2.12.10/glib/glue/unichar.c0000644000175000001440000000273111131157056014143 00000000000000/* unichar.c : Glue to access unichars as strings. * * Author: Mike Kestner * * Copyright (c) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ gchar *gtksharp_unichar_to_utf8_string (gunichar chr); gunichar glibsharp_utf16_to_unichar (guint16 chr); gssize glibsharp_strlen (gchar *s); /* */ gchar * gtksharp_unichar_to_utf8_string (gunichar chr) { gchar *buf = g_new0 (gchar, 7); gint cnt = g_unichar_to_utf8 (chr, buf); buf [cnt] = 0; return buf; } gunichar glibsharp_utf16_to_unichar (guint16 chr) { gunichar *ucs4_str; gunichar result; ucs4_str = g_utf16_to_ucs4 (&chr, 1, NULL, NULL, NULL); result = *ucs4_str; g_free (ucs4_str); return result; } gssize glibsharp_strlen (gchar *s) { gssize cnt = 0; for (cnt = 0; *s; s++, cnt++); return cnt; } gtk-sharp-2.12.10/glib/glue/win32dll.c0000755000175000001440000000044311131157056014151 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.10/glib/glue/closure.c0000644000175000001440000000236311131157056014167 00000000000000/* closure.c : Native closure implementation * * Author: Mike Kestner * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GClosure* glibsharp_closure_new (GClosureMarshal marshaler, GClosureNotify notify, gpointer data); /* */ GClosure* glibsharp_closure_new (GClosureMarshal marshaler, GClosureNotify notify, gpointer data) { GClosure *closure = g_closure_new_simple (sizeof (GClosure), data); g_closure_set_marshal (closure, marshaler); g_closure_add_finalize_notifier (closure, data, notify); return closure; } gtk-sharp-2.12.10/glib/glue/thread.c0000644000175000001440000000167711131157056013771 00000000000000/* thread.c : glue functions for GLib.Thread * * Author: Alp Toker * * Copyright (c) 2005 Alp Toker * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include gboolean glibsharp_g_thread_supported (void); gboolean glibsharp_g_thread_supported () { return g_thread_supported (); } gtk-sharp-2.12.10/glib/glue/type.c0000644000175000001440000000411111131157056013465 00000000000000/* type.c : GType utilities * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include /* Forward declarations */ G_CONST_RETURN gchar *gtksharp_get_type_name (GObject *obj); gboolean gtksharp_is_object (gpointer obj); GType gtksharp_get_type_id (GObject *obj); GType gtksharp_register_type (gchar *name, GType parent); void gtksharp_override_virtual_method (GType g_type, const gchar *name, GCallback callback); /* */ G_CONST_RETURN gchar * gtksharp_get_type_name (GObject *obj) { return G_OBJECT_TYPE_NAME (obj); } gboolean gtksharp_is_object (gpointer obj) { return G_IS_OBJECT (obj); } GType gtksharp_get_type_id (GObject *obj) { return G_TYPE_FROM_INSTANCE (obj); } GType gtksharp_register_type (gchar *name, GType parent) { GTypeQuery query; GTypeInfo info = {0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL }; g_type_query (parent, &query); info.class_size = query.class_size; info.instance_size = query.instance_size; return g_type_register_static (parent, name, &info, 0); } void gtksharp_override_virtual_method (GType g_type, const gchar *name, GCallback callback) { guint id; GClosure *closure; if (g_type_class_peek (g_type) == NULL) g_type_class_ref (g_type); id = g_signal_lookup (name, g_type); closure = g_cclosure_new (callback, NULL, NULL); g_signal_override_class_closure (id, g_type, closure); } gtk-sharp-2.12.10/glib/glue/list.c0000644000175000001440000000213211131157056013460 00000000000000/* list.c : Glue to access fields in GList. * * Author: Rachel Hestilow * * Copyright (c) 2002 Rachel Hestilow, Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ gpointer gtksharp_list_get_data (GList *l); GList *gtksharp_list_get_next (GList *l); /* */ gpointer gtksharp_list_get_data (GList *l) { return l->data; } GList* gtksharp_list_get_next (GList *l) { return l->next; } gtk-sharp-2.12.10/glib/glue/Makefile.in0000644000175000001440000004240011345266364014422 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = glib/glue DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libglibsharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libglibsharpglue_2_la_OBJECTS = closure.lo error.lo list.lo \ object.lo ptrarray.lo signal.lo slist.lo type.lo unichar.lo \ value.lo valuearray.lo thread.lo libglibsharpglue_2_la_OBJECTS = $(am_libglibsharpglue_2_la_OBJECTS) libglibsharpglue_2_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libglibsharpglue_2_la_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libglibsharpglue_2_la_SOURCES) DIST_SOURCES = $(libglibsharpglue_2_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libglibsharpglue-2.la libglibsharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libglibsharpglue_2_la_SOURCES = \ closure.c \ error.c \ list.c \ object.c \ ptrarray.c \ signal.c \ slist.c \ type.c \ unichar.c \ value.c \ valuearray.c \ thread.c # Adding a new glue file? libglibsharpglue_2_la_LIBADD = $(GLIB_LIBS) INCLUDES = $(GLIB_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glib/glue/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign glib/glue/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libglibsharpglue-2.la: $(libglibsharpglue_2_la_OBJECTS) $(libglibsharpglue_2_la_DEPENDENCIES) $(libglibsharpglue_2_la_LINK) -rpath $(libdir) $(libglibsharpglue_2_la_OBJECTS) $(libglibsharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/closure.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrarray.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/slist.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/type.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unichar.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valuearray.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES libgtksharpglue.dll: $(libgtksharpglue_2_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def ./build-dll libgtksharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/glib/glue/value.c0000644000175000001440000000423511131157056013627 00000000000000/* value.c : Glue to allocate GValues on the heap. * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ void gtksharp_value_create_from_property (GValue *value, GObject *obj, const gchar* name); void gtksharp_value_create_from_type_and_property (GValue *value, GType gtype, const gchar* name); void gtksharp_value_create_from_type_name (GValue *value, const gchar *type_name); gpointer glibsharp_value_get_boxed (GValue *value); void glibsharp_value_set_boxed (GValue *value, gpointer boxed); gboolean glibsharp_value_holds_flags (GValue *value); /* */ void gtksharp_value_create_from_property (GValue *value, GObject *obj, const gchar* name) { GParamSpec *spec = g_object_class_find_property (G_OBJECT_GET_CLASS (obj), name); g_value_init (value, spec->value_type); } void gtksharp_value_create_from_type_and_property (GValue *value, GType gtype, const gchar* name) { GParamSpec *spec = g_object_class_find_property (g_type_class_ref (gtype), name); g_value_init (value, spec->value_type); } void gtksharp_value_create_from_type_name (GValue *value, const gchar *type_name) { g_value_init (value, g_type_from_name (type_name)); } gpointer glibsharp_value_get_boxed (GValue *value) { return g_value_get_boxed (value); } void glibsharp_value_set_boxed (GValue *value, gpointer boxed) { g_value_set_boxed (value, boxed); } gboolean glibsharp_value_holds_flags (GValue *value) { return G_VALUE_HOLDS_FLAGS (value); } gtk-sharp-2.12.10/glib/glue/valuearray.c0000644000175000001440000000215211131157056014662 00000000000000/* valuearray.c : Glue to access GValueArray fields * * Author: Mike Kestner * * Copyright (c) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include GValue *gtksharp_value_array_get_array (GValueArray *va); guint gtksharp_value_array_get_count (GValueArray *va); GValue * gtksharp_value_array_get_array (GValueArray *va) { return va->values; } guint gtksharp_value_array_get_count (GValueArray *va) { return va->n_values; } gtk-sharp-2.12.10/glib/glue/slist.c0000644000175000001440000000214711131157056013651 00000000000000/* slist.c : Glue to access fields in GSList. * * Author: Rachel Hestilow * * Copyright (c) 2002 Rachel Hestilow, Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ gpointer gtksharp_slist_get_data (GSList *l); GSList *gtksharp_slist_get_next (GSList *l); /* */ gpointer gtksharp_slist_get_data (GSList *l) { return l->data; } GSList* gtksharp_slist_get_next (GSList *l) { return l->next; } gtk-sharp-2.12.10/glib/MainContext.cs0000644000175000001440000000306511131157057014174 00000000000000// GLib.MainContext.cs - mainContext class implementation // // Author: Radek Doulik // // Copyright (c) 2003 Radek Doulik // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class MainContext { [DllImport("libglib-2.0-0.dll")] static extern int g_main_depth (); public static int Depth { get { return g_main_depth (); } } [DllImport("libglib-2.0-0.dll")] static extern bool g_main_context_iteration (IntPtr Raw, bool MayBlock); public static bool Iteration () { return g_main_context_iteration (IntPtr.Zero, false); } public static bool Iteration (bool MayBlock) { return g_main_context_iteration (IntPtr.Zero, MayBlock); } [DllImport("libglib-2.0-0.dll")] static extern bool g_main_context_pending (IntPtr Raw); public static bool Pending () { return g_main_context_pending (IntPtr.Zero); } } } gtk-sharp-2.12.10/glib/TypeFundamentals.cs0000644000175000001440000000252611131157057015227 00000000000000// GLib.TypeFundamentals.cs : Standard Types enumeration // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { public enum TypeFundamentals { TypeInvalid = 0 << 2, TypeNone = 1 << 2, TypeInterface = 2 << 2, TypeChar = 3 << 2, TypeUChar = 4 << 2, TypeBoolean = 5 << 2, TypeInt = 6 << 2, TypeUInt = 7 << 2, TypeLong = 8 << 2, TypeULong = 9 << 2, TypeInt64 = 10 << 2, TypeUInt64 = 11 << 2, TypeEnum = 12 << 2, TypeFlags = 13 << 2, TypeFloat = 14 << 2, TypeDouble = 15 << 2, TypeString = 16 << 2, TypePointer = 17 << 2, TypeBoxed = 18 << 2, TypeParam = 19 << 2, TypeObject = 20 << 2, } } gtk-sharp-2.12.10/glib/Makefile.in0000644000175000001440000005260711345266364013500 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = glib DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/glib-sharp-2.0.pc.in \ $(srcdir)/glib-sharp.dll.config.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = glib-sharp-2.0.pc glib-sharp.dll.config SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)" gapiDATA_INSTALL = $(INSTALL_DATA) pkgconfigDATA_INSTALL = $(INSTALL_DATA) DATA = $(gapi_DATA) $(noinst_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = glue TARGET = $(ASSEMBLY) ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = glib-sharp noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config $(POLICY_ASSEMBLIES) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = glib-sharp-2.0.pc gapidir = $(datadir)/gapi-2.0 gapi_DATA = glib-api.xml CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) references = sources = \ Argv.cs \ Boxed.cs \ CDeclCallbackAttribute.cs \ ClassInitializerAttribute.cs \ ConnectBeforeAttribute.cs \ DefaultSignalHandlerAttribute.cs \ DelegateWrapper.cs \ DestroyNotify.cs \ EnumWrapper.cs \ ExceptionManager.cs \ FileUtils.cs \ Format.cs \ GException.cs \ GInterfaceAdapter.cs \ GInterfaceAttribute.cs \ Global.cs \ GString.cs \ GType.cs \ GTypeAttribute.cs \ Idle.cs \ IgnoreClassInitializersAttribute.cs \ InitiallyUnowned.cs \ IOChannel.cs \ IWrapper.cs \ ListBase.cs \ List.cs \ Log.cs \ MainContext.cs \ MainLoop.cs \ ManagedValue.cs \ Markup.cs \ Marshaller.cs \ MissingIntPtrCtorException.cs \ NotifyHandler.cs \ Object.cs \ ObjectManager.cs \ Opaque.cs \ PropertyAttribute.cs \ PtrArray.cs \ Signal.cs \ SignalArgs.cs \ SignalAttribute.cs \ SignalCallback.cs \ SignalClosure.cs \ SList.cs \ Source.cs \ Spawn.cs \ Thread.cs \ Timeout.cs \ ToggleRef.cs \ TypeConverter.cs \ TypeFundamentals.cs \ TypeInitializerAttribute.cs \ UnwrappedObject.cs \ ValueArray.cs \ Value.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) \ $(ASSEMBLY).config.in \ glib-sharp-2.0.pc.in \ glib-api.xml @PLATFORM_WIN32_FALSE@GAPI_CDECL_INSERT = @PLATFORM_WIN32_TRUE@GAPI_CDECL_INSERT = $(top_srcdir)/gapi-cdecl-insert --keyfile=gtk-sharp.snk $(ASSEMBLY) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glib/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign glib/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh glib-sharp-2.0.pc: $(top_builddir)/config.status $(srcdir)/glib-sharp-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ glib-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/glib-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(gapiDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gapidir)/$$f'"; \ $(gapiDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gapidir)/$$f"; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(gapidir)/$$f'"; \ rm -f "$(DESTDIR)$(gapidir)/$$f"; \ done install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA \ install-pkgconfigDATA install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-dvi install-dvi-am \ install-exec install-exec-am install-gapiDATA install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk cp $(top_srcdir)/gtk-sharp.snk . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . $(ASSEMBLY): $(build_sources) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(GAPI_CDECL_INSERT) policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk $(AL) -link:policy.$*.config -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/glib/EnumWrapper.cs0000644000175000001440000000230411131157057014203 00000000000000// EnumWrapper.cs - Class to hold arbitrary glib enums // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; [Obsolete ("Replaced by direct enum type casts to/from GLib.Value")] public class EnumWrapper { int val; public bool flags; public EnumWrapper (int val, bool flags) { this.val = val; this.flags = flags; } public static explicit operator int (EnumWrapper wrap) { return wrap.val; } } } gtk-sharp-2.12.10/glib/ObjectManager.cs0000644000175000001440000000537211140655056014451 00000000000000// GLib.ObjectManager.cs - GLib ObjectManager class implementation // // Author: Mike Kestner // // Copyright 2001-2002 Mike Kestner // Copyright 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; using System.Reflection; public class ObjectManager { static BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance; public static GLib.Object CreateObject (IntPtr raw) { if (raw == IntPtr.Zero) return null; Type type = GetTypeOrParent (raw); if (type == null) return null; GLib.Object obj; try { obj = Activator.CreateInstance (type, flags, null, new object[] {raw}, null) as GLib.Object; } catch (MissingMethodException) { throw new GLib.MissingIntPtrCtorException ("GLib.Object subclass " + type + " must provide a protected or public IntPtr ctor to support wrapping of native object handles."); } return obj; } [Obsolete ("Replaced by GType.Register (GType, Type)")] public static void RegisterType (string native_name, string managed_name, string assembly) { RegisterType (native_name, managed_name + "," + assembly); } [Obsolete ("Replaced by GType.Register (GType, Type)")] public static void RegisterType (string native_name, string mangled) { RegisterType (GType.FromName (native_name), Type.GetType (mangled)); } [Obsolete ("Replaced by GType.Register (GType, Type)")] public static void RegisterType (GType native_type, System.Type type) { GType.Register (native_type, type); } static Type GetTypeOrParent (IntPtr obj) { IntPtr typeid = gtksharp_get_type_id (obj); Type result = GType.LookupType (typeid); while (result == null) { typeid = g_type_parent (typeid); if (typeid == IntPtr.Zero) return null; result = GType.LookupType (typeid); } return result; } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_get_type_id (IntPtr raw); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_type_parent (IntPtr typ); } } gtk-sharp-2.12.10/glib/Format.cs0000644000175000001440000000230411131157057013166 00000000000000// Format.cs: Wrapper for the g_format code in Glib // // Authors: // Stephane Delcroix (stephane@delcroix.org) // // Copyright (c) 2008 Novell, Inc. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; using System.Runtime.InteropServices; namespace GLib { #if GTK_SHARP_2_14 public class Format { [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_format_size_for_display (long size); static public string SizeForDisplay (long size) { string result = Marshaller.PtrToStringGFree (g_format_size_for_display (size)); return result; } } #endif } gtk-sharp-2.12.10/glib/ConnectBeforeAttribute.cs0000644000175000001440000000165211131157057016343 00000000000000// ConnectBeforeAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public sealed class ConnectBeforeAttribute : Attribute { public ConnectBeforeAttribute () {} } } gtk-sharp-2.12.10/glib/SList.cs0000644000175000001440000000627211140655056013006 00000000000000// SList.cs - GSList class wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class SList : ListBase { [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_slist_copy (IntPtr l); public override object Clone () { return new SList (g_slist_copy (Handle)); } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_slist_get_data (IntPtr l); internal override IntPtr GetData (IntPtr current) { return gtksharp_slist_get_data (current); } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_slist_get_next (IntPtr l); internal override IntPtr Next (IntPtr current) { return gtksharp_slist_get_next (current); } [DllImport("libglib-2.0-0.dll")] static extern int g_slist_length (IntPtr l); internal override int Length (IntPtr list) { return g_slist_length (list); } [DllImport("libglib-2.0-0.dll")] static extern void g_slist_free(IntPtr l); internal override void Free (IntPtr list) { if (list != IntPtr.Zero) g_slist_free (list); } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_slist_append (IntPtr l, IntPtr raw); internal override IntPtr Append (IntPtr list, IntPtr raw) { return g_slist_append (list, raw); } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_slist_prepend (IntPtr l, IntPtr raw); internal override IntPtr Prepend (IntPtr list, IntPtr raw) { return g_slist_prepend (list, raw); } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_slist_nth_data (IntPtr l, uint n); internal override IntPtr NthData (uint n) { return g_slist_nth_data (Handle, n); } public SList (IntPtr raw) : this (raw, null) {} public SList (System.Type element_type) : this (IntPtr.Zero, element_type) {} public SList (IntPtr raw, System.Type element_type) : this (raw, element_type, false, false) {} public SList (IntPtr raw, System.Type element_type, bool owned, bool elements_owned) : base (raw, element_type, false, false) {} public SList (object[] members, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned) { foreach (object o in members) Append (o); } public SList (Array members, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned) { foreach (object o in members) Append (o); } } } gtk-sharp-2.12.10/glib/FileUtils.cs0000644000175000001440000000346311304350234013637 00000000000000// GLib.FileUtils.cs - GFileUtils class implementation // // Author: Martin Baulig // // Copyright (c) 2002 Ximian, Inc // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Text; using System.Runtime.InteropServices; public class FileUtils { [DllImport("libglib-2.0-0.dll")] extern static bool g_file_get_contents (IntPtr filename, out IntPtr contents, out int length, out IntPtr error); [DllImport("libglib-2.0-0.dll")] extern static bool g_file_get_contents_utf8 (IntPtr filename, out IntPtr contents, out int length, out IntPtr error); public static string GetFileContents (string filename) { int length; IntPtr contents, error; IntPtr native_filename = Marshaller.StringToPtrGStrdup (filename); if (Global.IsWindowsPlatform) { if (!g_file_get_contents_utf8 (native_filename, out contents, out length, out error)) throw new GException (error); } else { if (!g_file_get_contents (native_filename, out contents, out length, out error)) throw new GException (error); } Marshaller.Free (native_filename); return Marshaller.Utf8PtrToString (contents); } private FileUtils () {} } } gtk-sharp-2.12.10/glib/UnwrappedObject.cs0000644000175000001440000000227211131157057015036 00000000000000// UnwrappedObject.cs - Class which holds an IntPtr without resolving it: // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; [Obsolete ("Replaced by direct object-type casts to/from GLib.Value")] public class UnwrappedObject { IntPtr obj; public UnwrappedObject (IntPtr obj) { this.obj = obj; } public static explicit operator System.IntPtr (UnwrappedObject obj) { return obj.obj; } } } gtk-sharp-2.12.10/glib/Source.cs0000644000175000001440000000316011131157057013177 00000000000000// GLib.Source.cs - Source class implementation // // Author: Duncan Mak // // Copyright (c) 2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public delegate bool GSourceFunc (); // // Base class for IdleProxy and TimeoutProxy // internal class SourceProxy { internal Delegate real_handler; internal Delegate proxy_handler; internal uint ID; internal void Remove () { lock (Source.source_handlers) Source.source_handlers.Remove (ID); real_handler = null; proxy_handler = null; } } public class Source { private Source () {} internal static Hashtable source_handlers = new Hashtable (); [DllImport("libglib-2.0-0.dll")] static extern bool g_source_remove (uint tag); public static bool Remove (uint tag) { lock (Source.source_handlers) source_handlers.Remove (tag); return g_source_remove (tag); } } } gtk-sharp-2.12.10/glib/Marshaller.cs0000644000175000001440000002620211304347674014043 00000000000000// GLibSharp.Marshaller.cs : Marshalling utils // // Author: Rachel Hestilow // Mike Kestner // // Copyright (c) 2002, 2003 Rachel Hestilow // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class Marshaller { private Marshaller () {} [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr mem); public static void Free (IntPtr ptr) { g_free (ptr); } public static void Free (IntPtr[] ptrs) { if (ptrs == null) return; for (int i = 0; i < ptrs.Length; i++) g_free (ptrs [i]); } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_filename_to_utf8 (IntPtr mem, int len, IntPtr read, out IntPtr written, out IntPtr error); [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_filename_to_utf8_utf8 (IntPtr mem, int len, IntPtr read, out IntPtr written, out IntPtr error); public static string FilenamePtrToString (IntPtr ptr) { if (ptr == IntPtr.Zero) return null; IntPtr dummy, error; IntPtr utf8; if (Global.IsWindowsPlatform) utf8 = g_filename_to_utf8_utf8 (ptr, -1, IntPtr.Zero, out dummy, out error); else utf8 = g_filename_to_utf8 (ptr, -1, IntPtr.Zero, out dummy, out error); if (error != IntPtr.Zero) throw new GLib.GException (error); return Utf8PtrToString (utf8); } public static string FilenamePtrToStringGFree (IntPtr ptr) { string ret = FilenamePtrToString (ptr); g_free (ptr); return ret; } [DllImport("glibsharpglue-2")] static extern UIntPtr glibsharp_strlen (IntPtr mem); public static string Utf8PtrToString (IntPtr ptr) { if (ptr == IntPtr.Zero) return null; int len = (int) (uint)glibsharp_strlen (ptr); byte[] bytes = new byte [len]; Marshal.Copy (ptr, bytes, 0, len); return System.Text.Encoding.UTF8.GetString (bytes); } public static string[] Utf8PtrToString (IntPtr[] ptrs) { // The last pointer is a null terminator. string[] ret = new string[ptrs.Length - 1]; for (int i = 0; i < ret.Length; i++) ret[i] = Utf8PtrToString (ptrs[i]); return ret; } public static string PtrToStringGFree (IntPtr ptr) { string ret = Utf8PtrToString (ptr); g_free (ptr); return ret; } public static string[] PtrToStringGFree (IntPtr[] ptrs) { // The last pointer is a null terminator. string[] ret = new string[ptrs.Length - 1]; for (int i = 0; i < ret.Length; i++) { ret[i] = Utf8PtrToString (ptrs[i]); g_free (ptrs[i]); } return ret; } [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_filename_from_utf8 (IntPtr mem, int len, IntPtr read, out IntPtr written, out IntPtr error); [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_filename_from_utf8_utf8 (IntPtr mem, int len, IntPtr read, out IntPtr written, out IntPtr error); public static IntPtr StringToFilenamePtr (string str) { if (str == null) return IntPtr.Zero; IntPtr dummy, error; IntPtr utf8 = StringToPtrGStrdup (str); IntPtr result; if (Global.IsWindowsPlatform) result = g_filename_from_utf8_utf8 (utf8, -1, IntPtr.Zero, out dummy, out error); else result = g_filename_from_utf8 (utf8, -1, IntPtr.Zero, out dummy, out error); g_free (utf8); if (error != IntPtr.Zero) throw new GException (error); return result; } public static IntPtr StringToPtrGStrdup (string str) { if (str == null) return IntPtr.Zero; byte[] bytes = System.Text.Encoding.UTF8.GetBytes (str); IntPtr result = g_malloc (new UIntPtr ((ulong)bytes.Length + 1)); Marshal.Copy (bytes, 0, result, bytes.Length); Marshal.WriteByte (result, bytes.Length, 0); return result; } public static string StringFormat (string format, params object[] args) { string ret = String.Format (format, args); if (ret.IndexOf ('%') == -1) return ret; else return ret.Replace ("%", "%%"); } public static IntPtr[] StringArrayToNullTermPointer (string[] strs) { if (strs == null) return null; IntPtr[] result = new IntPtr [strs.Length + 1]; for (int i = 0; i < strs.Length; i++) result [i] = StringToPtrGStrdup (strs [i]); result [strs.Length] = IntPtr.Zero; return result; } [DllImport("libglib-2.0-0.dll")] static extern void g_strfreev (IntPtr mem); public static void StrFreeV (IntPtr null_term_array) { g_strfreev (null_term_array); } public static string[] NullTermPtrToStringArray (IntPtr null_term_array, bool owned) { if (null_term_array == IntPtr.Zero) return new string [0]; int count = 0; System.Collections.ArrayList result = new System.Collections.ArrayList (); IntPtr s = Marshal.ReadIntPtr (null_term_array, count++ * IntPtr.Size); while (s != IntPtr.Zero) { result.Add (Utf8PtrToString (s)); s = Marshal.ReadIntPtr (null_term_array, count++ * IntPtr.Size); } if (owned) g_strfreev (null_term_array); return (string[]) result.ToArray (typeof(string)); } public static string[] PtrToStringArrayGFree (IntPtr string_array) { if (string_array == IntPtr.Zero) return new string [0]; int count = 0; while (Marshal.ReadIntPtr (string_array, count*IntPtr.Size) != IntPtr.Zero) ++count; string[] members = new string[count]; for (int i = 0; i < count; ++i) { IntPtr s = Marshal.ReadIntPtr (string_array, i * IntPtr.Size); members[i] = GLib.Marshaller.PtrToStringGFree (s); } GLib.Marshaller.Free (string_array); return members; } // Argv marshalling -- unpleasantly complex, but // don't know of a better way to do it. // // Currently, the 64-bit cleanliness is // hypothetical. It's also ugly, but I don't know of a // construct to handle both 32 and 64 bitness // transparently, since we need to alloc buffers of // [native pointer size] * [count] bytes. [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_malloc(UIntPtr size); public static IntPtr Malloc (ulong size) { return g_malloc (new UIntPtr (size)); } static bool check_sixtyfour () { int szint = Marshal.SizeOf (typeof (int)); int szlong = Marshal.SizeOf (typeof (long)); int szptr = IntPtr.Size; if (szptr == szint) return false; if (szptr == szlong) return true; throw new Exception ("Pointers are neither int- nor long-sized???"); } static IntPtr make_buf_32 (string[] args) { int[] ptrs = new int[args.Length]; for (int i = 0; i < args.Length; i++) ptrs[i] = (int) Marshal.StringToHGlobalAuto (args[i]); IntPtr buf = g_malloc (new UIntPtr ((ulong) Marshal.SizeOf(typeof(int)) * (ulong) args.Length)); Marshal.Copy (ptrs, 0, buf, ptrs.Length); return buf; } static IntPtr make_buf_64 (string[] args) { long[] ptrs = new long[args.Length]; for (int i = 0; i < args.Length; i++) ptrs[i] = (long) Marshal.StringToHGlobalAuto (args[i]); IntPtr buf = g_malloc (new UIntPtr ((ulong) Marshal.SizeOf(typeof(long)) * (ulong) args.Length)); Marshal.Copy (ptrs, 0, buf, ptrs.Length); return buf; } [Obsolete ("Use GLib.Argv instead to avoid leaks.")] public static IntPtr ArgvToArrayPtr (string[] args) { if (args.Length == 0) return IntPtr.Zero; if (check_sixtyfour ()) return make_buf_64 (args); return make_buf_32 (args); } // should we be freeing these pointers? they're marshalled // from our own strings, so I think not ... static string[] unmarshal_32 (IntPtr buf, int argc) { int[] ptrs = new int[argc]; string[] args = new string[argc]; Marshal.Copy (buf, ptrs, 0, argc); for (int i = 0; i < ptrs.Length; i++) args[i] = Marshal.PtrToStringAuto ((IntPtr) ptrs[i]); return args; } static string[] unmarshal_64 (IntPtr buf, int argc) { long[] ptrs = new long[argc]; string[] args = new string[argc]; Marshal.Copy (buf, ptrs, 0, argc); for (int i = 0; i < ptrs.Length; i++) args[i] = Marshal.PtrToStringAuto ((IntPtr) ptrs[i]); return args; } [Obsolete ("Use GLib.Argv instead to avoid leaks.")] public static string[] ArrayPtrToArgv (IntPtr array, int argc) { if (argc == 0) return new string[0]; if (check_sixtyfour ()) return unmarshal_64 (array, argc); return unmarshal_32 (array, argc); } static DateTime local_epoch = new DateTime (1970, 1, 1, 0, 0, 0); static int utc_offset = (int) (TimeZone.CurrentTimeZone.GetUtcOffset (DateTime.Now)).TotalSeconds; public static IntPtr DateTimeTotime_t (DateTime time) { return new IntPtr (((long)time.Subtract (local_epoch).TotalSeconds) - utc_offset); } public static DateTime time_tToDateTime (IntPtr time_t) { return local_epoch.AddSeconds (time_t.ToInt64 () + utc_offset); } [DllImport("glibsharpglue-2")] static extern IntPtr gtksharp_unichar_to_utf8_string (uint c); public static char GUnicharToChar (uint ucs4_char) { if (ucs4_char == 0) return (char) 0; IntPtr raw_ret = gtksharp_unichar_to_utf8_string (ucs4_char); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); if (ret.Length > 1) throw new ArgumentOutOfRangeException ("ucs4char is not representable by a char."); return ret [0]; } [DllImport("glibsharpglue-2")] static extern uint glibsharp_utf16_to_unichar (ushort c); public static uint CharToGUnichar (char c) { return glibsharp_utf16_to_unichar ((ushort) c); } public static IntPtr StructureToPtrAlloc (object o) { IntPtr result = Marshal.AllocHGlobal (Marshal.SizeOf (o)); Marshal.StructureToPtr (o, result, false); return result; } public static Array ListPtrToArray (IntPtr list_ptr, Type list_type, bool owned, bool elements_owned, Type elem_type) { ListBase list; if (list_type == typeof(GLib.List)) list = new GLib.List (list_ptr, elem_type, owned, elements_owned); else list = new GLib.SList (list_ptr, elem_type, owned, elements_owned); using (list) return ListToArray (list, elem_type); } public static Array PtrArrayToArray (IntPtr list_ptr, bool owned, bool elements_owned, Type elem_type) { GLib.PtrArray array = new GLib.PtrArray (list_ptr, elem_type, owned, elements_owned); Array ret = Array.CreateInstance (elem_type, array.Count); array.CopyTo (ret, 0); array.Dispose (); return ret; } public static Array ListToArray (ListBase list, System.Type type) { Array result = Array.CreateInstance (type, list.Count); if (list.Count > 0) list.CopyTo (result, 0); if (type.IsSubclassOf (typeof (GLib.Opaque))) list.elements_owned = false; return result; } } } gtk-sharp-2.12.10/glib/ToggleRef.cs0000644000175000001440000001052411131157057013617 00000000000000// GLib.ToggleRef.cs - GLib ToggleRef class implementation // // Author: Mike Kestner // // Copyright 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; internal class ToggleRef { bool hardened; IntPtr handle; object reference; GCHandle gch; Hashtable signals; public ToggleRef (GLib.Object target) { handle = target.Handle; gch = GCHandle.Alloc (this); reference = target; g_object_add_toggle_ref (target.Handle, ToggleNotifyCallback, (IntPtr) gch); g_object_unref (target.Handle); } public bool IsAlive { get { if (reference is WeakReference) { WeakReference weak = reference as WeakReference; return weak.IsAlive; } else if (reference == null) return false; return true; } } public IntPtr Handle { get { return handle; } } public Hashtable Signals { get { if (signals == null) signals = new Hashtable (); return signals; } } public GLib.Object Target { get { if (reference == null) return null; else if (reference is GLib.Object) return reference as GLib.Object; WeakReference weak = reference as WeakReference; return weak.Target as GLib.Object; } } public void Free () { Signal[] signals = new Signal [Signals.Count]; Signals.Values.CopyTo (signals, 0); foreach (Signal s in signals) s.Free (); if (hardened) g_object_unref (handle); else g_object_remove_toggle_ref (handle, ToggleNotifyCallback, (IntPtr) gch); reference = null; gch.Free (); } internal void Harden () { // Added for the benefit of GnomeProgram. It releases a final ref in // an atexit handler which causes toggle ref notifications to occur after // our delegates are gone, so we need a mechanism to override the // notifications. This method effectively leaks all objects which invoke it, // but since it is only used by Gnome.Program, which is a singleton object // with program duration persistence, who cares. g_object_ref (handle); g_object_remove_toggle_ref (handle, ToggleNotifyCallback, (IntPtr) gch); if (reference is WeakReference) reference = (reference as WeakReference).Target; hardened = true; } void Toggle (bool is_last_ref) { if (is_last_ref && reference is GLib.Object) reference = new WeakReference (reference); else if (!is_last_ref && reference is WeakReference) { WeakReference weak = reference as WeakReference; if (weak.IsAlive) reference = weak.Target; } } [CDeclCallback] delegate void ToggleNotifyHandler (IntPtr data, IntPtr handle, bool is_last_ref); static void RefToggled (IntPtr data, IntPtr handle, bool is_last_ref) { try { GCHandle gch = (GCHandle) data; ToggleRef tref = gch.Target as ToggleRef; tref.Toggle (is_last_ref); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } } static ToggleNotifyHandler toggle_notify_callback; static ToggleNotifyHandler ToggleNotifyCallback { get { if (toggle_notify_callback == null) toggle_notify_callback = new ToggleNotifyHandler (RefToggled); return toggle_notify_callback; } } [DllImport("libgobject-2.0-0.dll")] static extern void g_object_add_toggle_ref (IntPtr raw, ToggleNotifyHandler notify_cb, IntPtr data); [DllImport("libgobject-2.0-0.dll")] static extern void g_object_remove_toggle_ref (IntPtr raw, ToggleNotifyHandler notify_cb, IntPtr data); [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_object_ref (IntPtr raw); [DllImport("libgobject-2.0-0.dll")] static extern void g_object_unref (IntPtr raw); } } gtk-sharp-2.12.10/README0000644000175000001440000000747311140704660011364 00000000000000The Gtk# website can be found at: http://gtk-sharp.sourceforge.net/ Gtk# is a .NET language binding for the GTK+ toolkit and assorted GNOME libraries. Gtk# is free software, licensed under the GNU LGPL. The target is the 2.6 platform. Building & Installing Gtk#: --------------------------- The build is the traditional: ./configure make make install You may want to consider using configure's prefix option to install Gtk# using the same prefix as Mono. That way all of your .NET assemblies get placed in the same place, and you don't need to do any extra "configuring" to make it so mono (and mint) can find your assemblies. In other words, doing something like: ./configure --prefix=/the/path/that/was/used/for/mono make make install (Of course, replace "/the/path/that/was/used/for/mono" with whatever path which was used for Mono. This might have been "/usr", "/usr/local", or something similar.) If you are compiling from SVN, you will need libtool and the auto* tools and will need to replace the configure above with bootstrap-2.n for whichever API version you are building. To build a win32 installer, cygwin is required. Use the mingw-gcc compiler and ensure that the autotools are installed, but do not install any of the gtk+ libraries from cygwin. You will need to get the zip bundles for gtk+ and dependencies, along with libglade and libxml2 from: ftp.gnome.org/pub/gnome/binaries for the platform you are building. Extract all these zips, including the devel zips into a single directory and setup your path so that it can access the pkg-config tool provided. You will also want to edit the lib/pkgconfig/*.pc files to specify the prefix you installed to. Once all that is done, configure away. There is a special make target which supports the process of building msi installers. You can make installer-bundle to create a subdirectory named gtk-sharp-binaries- which will contain a wxs script and all the binaries from the build. You will also need to copy into this directory the msm modules for gtk+, libglade, and mono-cairo. These can be built from svn trunk module win32-installers. Once those msm's are in place, execute the build-installer script to produce the msi. Discussion & Support: --------------------- A mailing list for Gtk# discussion is available. You can subscribe to the mailing list by visiting: http://lists.ximian.com/mailman/listinfo/gtk-sharp-list And following the instructions (on that page) to subscribe. Messages are posted on this mailing list by sending them to: gtk-sharp-list@ximian.com (The mailing list requires you to subscribe in order to post messages.) An archive of this mailing list can be found at: http://lists.ximian.com/archives/public/gtk-sharp-list/ Further, a Wiki is available for Gtk#, and can be found at: http://www.nullenvoid.com/gtksharp/wiki/ Also, people can get help with and discuss Gtk# on IRC via the #mono channel on the irc.gnome.org IRC server. People looking for general help with C# should visit the #c# channel on irc.freenode.net IRC server. Developers: ----------- For developers wishing to "get started" with Gtk#, they are encouraged to read the Mono Hand Book: http://www.go-mono.com/tutorial In the Mono Hand Book, Chapter 21 is on Gtk#. (In the Mono Hand Book, the Gtk# .NET bindings are refered to as GNOME.NET.) Hackers: -------- For those who wish to help with the development of Gtk#, they should read the file named: HACKING. Also, anyone wishing to hack Gtk# is encouraged to join the Gtk# mailing list. And to visit the #mono IRC channel (on irc.gnome.org). gtk-sharp-2.12.10/depcomp0000755000175000001440000004271311115454704012060 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gtk-sharp-2.12.10/sample/0000777000175000001440000000000011345266756012056 500000000000000gtk-sharp-2.12.10/sample/NodeViewDemo.cs0000644000175000001440000000746211131156732014640 00000000000000// NodeViewDemo.cs - rework of TreeViewDemo to use NodeView. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. namespace GtkSamples { using System; using System.Reflection; using Gtk; public class DemoTreeNode : TreeNode { string desc; static int count = 0; public DemoTreeNode (string name, string desc) { this.Name = name; this.desc = desc; count++; } // TreeNodeValues can come from both properties and fields [TreeNodeValue (Column=0)] public string Name; [TreeNodeValue (Column=1)] public string Description { get { return desc; } } public static int Count { get { return count; } } } public class NodeViewDemo : Gtk.Window { NodeStore store; StatusDialog dialog; public NodeViewDemo () : base ("NodeView demo") { DeleteEvent += new DeleteEventHandler (DeleteCB); DefaultSize = new Gdk.Size (640,480); ScrolledWindow sw = new ScrolledWindow (); Add (sw); NodeView view = new NodeView (Store); view.HeadersVisible = true; view.AppendColumn ("Name", new CellRendererText (), "text", 0); view.AppendColumn ("Type", new CellRendererText (), new NodeCellDataFunc (DataCallback)); sw.Add (view); dialog.Destroy (); dialog = null; } private void DataCallback (TreeViewColumn col, CellRenderer cell, ITreeNode node) { (cell as CellRendererText).Text = (node as DemoTreeNode).Description; } StatusDialog Dialog { get { if (dialog == null) dialog = new StatusDialog (); return dialog; } } void ProcessType (DemoTreeNode parent, System.Type t) { foreach (MemberInfo mi in t.GetMembers ()) parent.AddChild (new DemoTreeNode (mi.Name, mi.ToString ())); } void ProcessAssembly (DemoTreeNode parent, Assembly asm) { string asm_name = asm.GetName ().Name; foreach (System.Type t in asm.GetTypes ()) { Dialog.Update ("Loading from {0}:\n{1}", asm_name, t.ToString ()); DemoTreeNode node = new DemoTreeNode (t.Name, t.ToString ()); ProcessType (node, t); parent.AddChild (node); } } NodeStore Store { get { if (store == null) { store = new NodeStore (typeof (DemoTreeNode)); foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies ()) { Dialog.Update ("Loading {0}", asm.GetName ().Name); DemoTreeNode node = new DemoTreeNode (asm.GetName ().Name, "Assembly"); ProcessAssembly (node, asm); store.AddNode (node); } } return store; } } public static void Main (string[] args) { DateTime start = DateTime.Now; Application.Init (); Gtk.Window win = new NodeViewDemo (); win.ShowAll (); Console.WriteLine (DemoTreeNode.Count + " nodes created."); Console.WriteLine ("startup time: " + DateTime.Now.Subtract (start)); Application.Run (); } void DeleteCB (System.Object o, DeleteEventArgs args) { Application.Quit (); } } public class StatusDialog : Gtk.Dialog { Label dialog_label; public StatusDialog () : base () { Title = "Loading data from assemblies..."; AddButton (Stock.Cancel, 1); Response += new ResponseHandler (ResponseCB); DefaultSize = new Gdk.Size (480, 100); HBox hbox = new HBox (false, 4); VBox.PackStart (hbox, true, true, 0); Gtk.Image icon = new Gtk.Image (Stock.DialogInfo, IconSize.Dialog); hbox.PackStart (icon, false, false, 0); dialog_label = new Label (""); hbox.PackStart (dialog_label, false, false, 0); ShowAll (); } public void Update (string format, params object[] args) { string text = String.Format (format, args); dialog_label.Text = text; while (Application.EventsPending ()) Application.RunIteration (); } private static void ResponseCB (object obj, ResponseArgs args) { Application.Quit (); System.Environment.Exit (0); } } } gtk-sharp-2.12.10/sample/Assistant.cs0000644000175000001440000000713311131156732014257 00000000000000// Assistant.cs - Gtk.Assistant Sample App // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // Adapted to C# with modifications from a C tutorial sample at // http://www.linuxquestions.org/linux/articles/Technical/New_GTK_Widgets_GtkAssistant namespace GtkSharpSamples { using System; using Gtk; public class SampleAssistant : Assistant { public static int Main (string[] argv) { Application.Init (); new SampleAssistant ().ShowAll (); Application.Run (); return 0; } ProgressBar progress_bar; public SampleAssistant () { SetSizeRequest (450, 300); Title = "Gtk.Assistant Sample"; Label lbl = new Label ("Click the forward button to continue."); AppendPage (lbl); SetPageTitle (lbl, "Introduction"); SetPageType (lbl, AssistantPageType.Intro); SetPageComplete (lbl, true); HBox box = new HBox (false, 6); box.PackStart (new Label ("Enter some text: "), false, false, 6); Entry entry = new Entry (); entry.Changed += new EventHandler (EntryChanged); box.PackStart (entry, false, false, 6); AppendPage (box); SetPageTitle (box, "Getting Some Input"); SetPageType (box, AssistantPageType.Content); CheckButton chk = new CheckButton ("I think Gtk# is awesome."); chk.Toggled += new EventHandler (ButtonToggled); AppendPage (chk); SetPageTitle (chk, "Provide Feedback"); SetPageType (chk, AssistantPageType.Content); Alignment al = new Alignment (0.5f, 0.5f, 0.0f, 0.0f); box = new HBox (false, 6); progress_bar = new ProgressBar (); box.PackStart (progress_bar, true, true, 6); Button btn = new Button ("Make progress"); btn.Clicked += new EventHandler (ButtonClicked); box.PackStart (btn, false, false, 6); al.Add (box); AppendPage (al); SetPageTitle (al, "Show Some Progress"); SetPageType (al, AssistantPageType.Progress); lbl = new Label ("In addition to being able to type,\nYou obviously have great taste in software."); AppendPage (lbl); SetPageTitle (lbl, "Congratulations"); SetPageType (lbl, AssistantPageType.Confirm); SetPageComplete (lbl, true); Cancel += new EventHandler (AssistantCancel); Close += new EventHandler (AssistantClose); } protected override bool OnDeleteEvent (Gdk.Event ev) { Console.WriteLine ("Assistant Destroyed prematurely"); Application.Quit (); return true; } // If there is text in the GtkEntry, set the page as complete. void EntryChanged (object o, EventArgs args) { string text = (o as Gtk.Entry).Text; SetPageComplete (GetNthPage (CurrentPage), text.Length > 0); } // If check button is checked, set the page as complete. void ButtonToggled (object o, EventArgs args) { bool active = (o as ToggleButton).Active; SetPageComplete (o as Widget, active); } // Progress 10% per second after button clicked. void ButtonClicked (object o, EventArgs args) { (o as Widget).Sensitive = false; GLib.Timeout.Add (500, new GLib.TimeoutHandler (TimeoutCallback)); } double fraction = 0.0; bool TimeoutCallback () { fraction += 5.0; progress_bar.Fraction = fraction / 100.0; progress_bar.Text = String.Format ("{0}% Complete", fraction); if (fraction == 100.0) { SetPageComplete (progress_bar.Parent.Parent, true); return false; } return true; } void AssistantCancel (object o, EventArgs args) { Console.WriteLine ("Assistant cancelled."); Destroy (); Application.Quit (); } void AssistantClose (object o, EventArgs args) { Console.WriteLine ("Assistant ran to completion."); Destroy (); Application.Quit (); } } } gtk-sharp-2.12.10/sample/Makefile.am0000755000175000001440000001163611131156732014021 00000000000000SUBDIRS = test GtkDemo pixmaps valtest opaquetest if ENABLE_MONO_CAIRO cairo_ref=-r:$(top_builddir)/cairo/Mono.Cairo.dll else cairo_ref=$(MONO_CAIRO_LIBS) endif if ENABLE_GLADE GLADE_TARGETS=glade-viewer.exe glade-test.exe GLADE_ASSEMBLY=../glade/glade-sharp.dll else GLADE_TARGETS= GLADE_ASSEMBLY= endif if ENABLE_DOTNET DOTNET_TARGETS=drawing-sample.exe DOTNET_ASSEMBLY=../gtkdotnet/gtk-dotnet.dll else DOTNET_TARGETS= DOTNET_ASSEMBLY= endif TARGETS = polarfixed.exe custom-widget.exe custom-cellrenderer.exe gtk-hello-world.exe button.exe calendar.exe subclass.exe menu.exe size.exe scribble.exe scribble-xinput.exe treeviewdemo.exe managedtreeviewdemo.exe nodeviewdemo.exe treemodeldemo.exe testdnd.exe actions.exe spawn.exe assistant.exe registerprop.exe gexceptiontest.exe cairo-sample.exe $(GLADE_TARGETS) $(DOTNET_TARGETS) DEBUGS = $(addsuffix .mdb, $(TARGETS)) assemblies=../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll $(GLADE_ASSEMBLY) references=$(addprefix /r:, $(assemblies)) noinst_SCRIPTS = $(TARGETS) CLEANFILES = $(TARGETS) $(DEBUGS) gtk-hello-world.exe: $(srcdir)/HelloWorld.cs $(assemblies) $(CSC) /out:gtk-hello-world.exe $(references) $(srcdir)/HelloWorld.cs button.exe: $(srcdir)/ButtonApp.cs $(assemblies) $(CSC) /out:button.exe $(references) $(srcdir)/ButtonApp.cs calendar.exe: $(srcdir)/CalendarApp.cs $(assemblies) $(CSC) /out:calendar.exe $(references) $(srcdir)/CalendarApp.cs subclass.exe: $(srcdir)/Subclass.cs $(assemblies) $(CSC) /out:subclass.exe $(references) $(srcdir)/Subclass.cs menu.exe: $(srcdir)/Menu.cs $(assemblies) $(CSC) /out:menu.exe $(references) $(srcdir)/Menu.cs size.exe: $(srcdir)/Size.cs $(assemblies) $(CSC) /out:size.exe $(references) $(srcdir)/Size.cs scribble.exe: $(srcdir)/Scribble.cs $(assemblies) $(CSC) /out:scribble.exe $(references) $(srcdir)/Scribble.cs scribble-xinput.exe: $(srcdir)/ScribbleXInput.cs $(assemblies) $(CSC) /out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs treeviewdemo.exe: $(srcdir)/TreeViewDemo.cs $(assemblies) $(CSC) /out:treeviewdemo.exe $(references) $(srcdir)/TreeViewDemo.cs managedtreeviewdemo.exe: $(srcdir)/ManagedTreeViewDemo.cs $(assemblies) $(CSC) /out:managedtreeviewdemo.exe $(references) $(srcdir)/ManagedTreeViewDemo.cs nodeviewdemo.exe: $(srcdir)/NodeViewDemo.cs $(assemblies) $(CSC) /out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs treemodeldemo.exe: $(srcdir)/TreeModelDemo.cs $(assemblies) $(CSC) /out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs glade-viewer.exe: $(srcdir)/GladeViewer.cs $(assemblies) $(CSC) /out:glade-viewer.exe $(references) $(srcdir)/GladeViewer.cs glade-test.exe: $(srcdir)/GladeTest.cs $(srcdir)/test.glade $(assemblies) $(CSC) /resource:$(srcdir)/test.glade,test.glade /out:glade-test.exe $(references) $(srcdir)/GladeTest.cs cairo-sample.exe: $(srcdir)/CairoSample.cs $(assemblies) $(CSC) /out:cairo-sample.exe $(references) $(cairo_ref) $(srcdir)/CairoSample.cs testdnd.exe: $(srcdir)/TestDnd.cs $(assemblies) $(CSC) /debug /unsafe /out:testdnd.exe $(references) $(srcdir)/TestDnd.cs custom-cellrenderer.exe: $(srcdir)/CustomCellRenderer.cs $(assemblies) $(CSC) /debug /out:custom-cellrenderer.exe $(references) $(srcdir)/CustomCellRenderer.cs dotnet_references = $(references) $(addprefix -r:, $(DOTNET_ASSEMBLY)) -r:System.Drawing.dll drawing-sample.exe: $(srcdir)/DrawingSample.cs $(assemblies) $(DOTNET_ASSEMBLIES) $(CSC) /debug /out:drawing-sample.exe $(dotnet_references) $(srcdir)/DrawingSample.cs custom-widget.exe: $(srcdir)/CustomWidget.cs $(assemblies) $(CSC) /debug /out:custom-widget.exe $(references) $(srcdir)/CustomWidget.cs actions.exe: $(srcdir)/Actions.cs $(CSC) /debug /unsafe /out:actions.exe $(references) $(srcdir)/Actions.cs polarfixed.exe: $(srcdir)/PolarFixed.cs $(assemblies) $(CSC) /debug /out:polarfixed.exe $(references) $(srcdir)/PolarFixed.cs spawn.exe: $(srcdir)/SpawnTests.cs $(assemblies) $(CSC) /out:spawn.exe $(references) $(srcdir)/SpawnTests.cs assistant.exe: $(srcdir)/Assistant.cs $(assemblies) $(CSC) /out:assistant.exe $(references) $(srcdir)/Assistant.cs registerprop.exe: $(srcdir)/PropertyRegistration.cs $(assemblies) $(CSC) /out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs gexceptiontest.exe: $(srcdir)/GExceptionTest.cs $(assemblies) $(CSC) /out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs EXTRA_DIST = \ HelloWorld.cs \ Assistant.cs \ ButtonApp.cs \ CalendarApp.cs \ Subclass.cs \ Menu.cs \ Size.cs \ Scribble.cs \ ScribbleXInput.cs \ SpawnTests.cs \ TreeModelDemo.cs \ TreeViewDemo.cs \ ManagedTreeViewDemo.cs \ NodeViewDemo.cs \ GExceptionTest.cs \ GladeViewer.cs \ GladeTest.cs \ test.glade \ CairoSample.cs \ TestDnd.cs \ CustomCellRenderer.cs \ DrawingSample.cs \ CustomWidget.cs \ Actions.cs \ PropertyRegistration.cs \ PolarFixed.cs gtk-sharp-2.12.10/sample/Menu.cs0000755000175000001440000000222411131156732013211 00000000000000// Menus.cs : Menu testing sample app // // Author: Mike Kestner // // 2002 Mike Kestner namespace GtkSharp.Samples { using System; using Gtk; public class MenuApp { public static void Main (string[] args) { Application.Init(); Window win = new Window ("Menu Sample App"); win.DeleteEvent += new DeleteEventHandler (delete_cb); win.DefaultWidth = 200; win.DefaultHeight = 150; VBox box = new VBox (false, 2); MenuBar mb = new MenuBar (); Menu file_menu = new Menu (); MenuItem exit_item = new MenuItem("Exit"); exit_item.Activated += new EventHandler (exit_cb); file_menu.Append (exit_item); MenuItem file_item = new MenuItem("File"); file_item.Submenu = file_menu; mb.Append (file_item); box.PackStart(mb, false, false, 0); Button btn = new Button ("Yep, that's a menu"); box.PackStart(btn, true, true, 0); win.Add (box); win.ShowAll (); Application.Run (); } static void delete_cb (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void exit_cb (object o, EventArgs args) { Application.Quit (); } } } gtk-sharp-2.12.10/sample/TreeModelDemo.cs0000644000175000001440000001643111131156732014774 00000000000000// TreeModelSample.cs - TreeModelSample application. // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSamples { using System; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using Gtk; public class TreeModelDemo : Gtk.Window { public TreeModelDemo () : base ("TreeModel demo") { DefaultSize = new Gdk.Size (640,480); ScrolledWindow sw = new ScrolledWindow (); TreeView view = new TreeView (new TreeModelAdapter (new MyTreeModel ())); view.HeadersVisible = true; view.AppendColumn ("Name", new CellRendererText (), "text", 0); view.AppendColumn ("Type", new CellRendererText (), "text", 1); sw.Add (view); sw.ShowAll (); Add (sw); } protected override bool OnDeleteEvent (Gdk.Event ev) { Application.Quit (); return true; } public static void Main (string[] args) { Application.Init (); Gtk.Window win = new TreeModelDemo (); win.Show (); Application.Run (); } } public class MyTreeModel : GLib.Object, TreeModelImplementor { Assembly[] assemblies; public MyTreeModel () { assemblies = AppDomain.CurrentDomain.GetAssemblies (); } object GetNodeAtPath (TreePath path) { if (path.Indices.Length > 0) { Assembly assm = assemblies [path.Indices [0]]; if (path.Indices.Length > 1) { Type t = assm.GetTypes ()[path.Indices [1]]; if (path.Indices.Length > 2) return t.GetMembers () [path.Indices [2]]; else return t; } else return assm; } else return null; } Hashtable node_hash = new Hashtable (); public TreeModelFlags Flags { get { return TreeModelFlags.ItersPersist; } } public int NColumns { get { return 2; } } public GLib.GType GetColumnType (int col) { GLib.GType result = GLib.GType.String; return result; } TreeIter IterFromNode (object node) { GCHandle gch; if (node_hash [node] != null) gch = (GCHandle) node_hash [node]; else gch = GCHandle.Alloc (node); TreeIter result = TreeIter.Zero; result.UserData = (IntPtr) gch; return result; } object NodeFromIter (TreeIter iter) { GCHandle gch = (GCHandle) iter.UserData; return gch.Target; } TreePath PathFromNode (object node) { if (node == null) return new TreePath (); object work = node; TreePath path = new TreePath (); if (work is MemberInfo) { Type parent = (work as MemberInfo).ReflectedType; path.PrependIndex (Array.IndexOf (parent.GetMembers (), work)); work = parent; } if (work is Type) { Assembly assm = (work as Type).Assembly; path.PrependIndex (Array.IndexOf (assm.GetTypes (), work)); work = assm; } if (work is Assembly) path.PrependIndex (Array.IndexOf (assemblies, node)); return path; } public bool GetIter (out TreeIter iter, TreePath path) { if (path == null) throw new ArgumentNullException ("path"); iter = TreeIter.Zero; object node = GetNodeAtPath (path); if (node == null) return false; iter = IterFromNode (node); return true; } public TreePath GetPath (TreeIter iter) { object node = NodeFromIter (iter); if (node == null) throw new ArgumentException ("iter"); return PathFromNode (node); } public void GetValue (TreeIter iter, int col, ref GLib.Value val) { object node = NodeFromIter (iter); if (node == null) return; if (node is Assembly) val = new GLib.Value (col == 0 ? (node as Assembly).GetName ().Name : "Assembly"); else if (node is Type) val = new GLib.Value (col == 0 ? (node as Type).Name : "Type"); else val = new GLib.Value (col == 0 ? (node as MemberInfo).Name : "Member"); } public bool IterNext (ref TreeIter iter) { object node = NodeFromIter (iter); if (node == null) return false; int idx; if (node is Assembly) { idx = Array.IndexOf (assemblies, node) + 1; if (idx < assemblies.Length) { iter = IterFromNode (assemblies [idx]); return true; } } else if (node is Type) { Type[] siblings = (node as Type).Assembly.GetTypes (); idx = Array.IndexOf (siblings, node) + 1; if (idx < siblings.Length) { iter = IterFromNode (siblings [idx]); return true; } } else { MemberInfo[] siblings = (node as MemberInfo).ReflectedType.GetMembers (); idx = Array.IndexOf (siblings, node) + 1; if (idx < siblings.Length) { iter = IterFromNode (siblings [idx]); return true; } } return false; } int ChildCount (object node) { if (node is Assembly) return (node as Assembly).GetTypes ().Length; else if (node is Type) return (node as Type).GetMembers ().Length; else return 0; } public bool IterChildren (out TreeIter child, TreeIter parent) { child = TreeIter.Zero; if (parent.UserData == IntPtr.Zero) { child = IterFromNode (assemblies [0]); return true; } object node = NodeFromIter (parent); if (node == null || ChildCount (node) <= 0) return false; if (node is Assembly) child = IterFromNode ((node as Assembly).GetTypes () [0]); else if (node is Type) child = IterFromNode ((node as Type).GetMembers () [0]); return true; } public bool IterHasChild (TreeIter iter) { object node = NodeFromIter (iter); if (node == null || ChildCount (node) <= 0) return false; return true; } public int IterNChildren (TreeIter iter) { if (iter.UserData == IntPtr.Zero) return assemblies.Length; object node = NodeFromIter (iter); if (node == null) return 0; return ChildCount (node); } public bool IterNthChild (out TreeIter child, TreeIter parent, int n) { child = TreeIter.Zero; if (parent.UserData == IntPtr.Zero) { if (assemblies.Length <= n) return false; child = IterFromNode (assemblies [n]); return true; } object node = NodeFromIter (parent); if (node == null || ChildCount (node) <= n) return false; if (node is Assembly) child = IterFromNode ((node as Assembly).GetTypes () [n]); else if (node is Type) child = IterFromNode ((node as Type).GetMembers () [n]); return true; } public bool IterParent (out TreeIter parent, TreeIter child) { parent = TreeIter.Zero; object node = NodeFromIter (child); if (node == null || node is Assembly) return false; if (node is Type) parent = IterFromNode ((node as Type).Assembly); else if (node is MemberInfo) parent = IterFromNode ((node as MemberInfo).ReflectedType); return true; } public void RefNode (TreeIter iter) { } public void UnrefNode (TreeIter iter) { } } } gtk-sharp-2.12.10/sample/PolarFixed.cs0000644000175000001440000001353411131156732014345 00000000000000// This is a completely pointless widget, but it shows how to subclass container... using System; using System.Collections; using Gtk; using Gdk; class PolarFixed : Container { ArrayList children; public PolarFixed () { children = new ArrayList (); WidgetFlags |= WidgetFlags.NoWindow; } // The child properties object public class PolarFixedChild : Container.ContainerChild { double theta; uint r; public PolarFixedChild (PolarFixed parent, Widget child, double theta, uint r) : base (parent, child) { this.theta = theta; this.r = r; } // We call parent.QueueResize() from the property setters here so that you // can move the widget around just by changing its child properties (just // like with a native container class). public double Theta { get { return theta; } set { theta = value; parent.QueueResize (); } } public uint R { get { return r; } set { r = value; parent.QueueResize (); } } } // Override the child properties accessor to return the right object from // "children". public override ContainerChild this [Widget w] { get { foreach (PolarFixedChild pfc in children) { if (pfc.Child == w) return pfc; } return null; } } // Indicate the kind of children the container will accept. Most containers // will accept any kind of child, so they should return Gtk.Widget.GType. // The default is "GLib.GType.None", which technically means that no (new) // children can be added to the container, though Container.Add does not // enforce this. public override GLib.GType ChildType () { return Gtk.Widget.GType; } // Implement gtk_container_forall(), which is also used by // Gtk.Container.Children and Gtk.Container.AllChildren. protected override void ForAll (bool include_internals, Callback callback) { foreach (PolarFixedChild pfc in children) callback (pfc.Child); } // Invoked by Container.Add (w). It's good practice to have this do *something*, // even if it's not something terribly useful. protected override void OnAdded (Widget w) { Put (w, 0.0, 0); } // our own adder method public void Put (Widget w, double theta, uint r) { children.Add (new PolarFixedChild (this, w, theta, r)); w.Parent = this; QueueResize (); } public void Move (Widget w, double theta, uint r) { PolarFixedChild pfc = (PolarFixedChild)this[w]; if (pfc != null) { pfc.Theta = theta; pfc.R = r; } } // invoked by Container.Remove (w) protected override void OnRemoved (Widget w) { PolarFixedChild pfc = (PolarFixedChild)this[w]; if (pfc != null) { pfc.Child.Unparent (); children.Remove (pfc); QueueResize (); } } // Handle size request protected override void OnSizeRequested (ref Requisition req) { Requisition childReq; int x, y; req.Width = req.Height = 0; foreach (PolarFixedChild pfc in children) { // Recursively SizeRequest each child childReq = pfc.Child.SizeRequest (); // Figure out where we're going to put it x = (int)(Math.Cos (pfc.Theta) * pfc.R) + childReq.Width / 2; y = (int)(Math.Sin (pfc.Theta) * pfc.R) + childReq.Height / 2; // Update our own size request to fit it if (req.Width < 2 * x) req.Width = 2 * x; if (req.Height < 2 * y) req.Height = 2 * y; } // Take Container.BorderWidth into account req.Width += (int)(2 * BorderWidth); req.Height += (int)(2 * BorderWidth); } // Size allocation. Note that the allocation received may be smaller than what we // requested. Some containers will take that into account by giving some or all // of their children a smaller allocation than they requested. Other containers // (like this one) just let their children get placed partly out-of-bounds if they // aren't allocated enough room. protected override void OnSizeAllocated (Rectangle allocation) { Requisition childReq; int cx, cy, x, y; // This sets the "Allocation" property. For widgets that // have a GdkWindow, it also calls GdkWindow.MoveResize() base.OnSizeAllocated (allocation); // Figure out where the center of the grid will be cx = allocation.X + (allocation.Width / 2); cy = allocation.Y + (allocation.Height / 2); foreach (PolarFixedChild pfc in children) { // Use ChildRequisition rather than SizeRequest(), // to ask for "what this child requested in the // last SizeRequest", rather than having it // compute it anew. childReq = pfc.Child.ChildRequisition; x = (int)(Math.Cos (pfc.Theta) * pfc.R) - childReq.Width / 2; y = (int)(Math.Sin (pfc.Theta) * pfc.R) + childReq.Height / 2; allocation.X = cx + x; allocation.Width = childReq.Width; allocation.Y = cy - y; allocation.Height = childReq.Height; pfc.Child.Allocation = allocation; } } } class Test { public static void Main () { uint r; double theta; Application.Init (); Gtk.Window win = new Gtk.Window ("Polar Coordinate Container"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); Notebook notebook = new Notebook (); win.Add (notebook); // Clock PolarFixed pf = new PolarFixed (); notebook.AppendPage (pf, new Label ("Clock")); for (int hour = 1; hour <= 12; hour ++) { theta = (Math.PI / 2) - hour * (Math.PI / 6); if (theta < 0) theta += 2 * Math.PI; Label l = new Label ("" + hour.ToString () + ""); l.UseMarkup = true; pf.Put (l, theta, 200); } // Spiral pf = new PolarFixed (); notebook.AppendPage (pf, new Label ("Spiral")); r = 0; theta = 0.0; foreach (string id in Gtk.Stock.ListIds ()) { StockItem item = Gtk.Stock.Lookup (id); if (item.Label == null) continue; pf.Put (new Gtk.Button (id), theta, r); // Logarithmic spiral: r = a*e^(b*theta) r += 5; theta = 10 * Math.Log (10 * r); } win.ShowAll (); Application.Run (); } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } gtk-sharp-2.12.10/sample/GladeViewer.cs0000644000175000001440000000227611131156732014507 00000000000000// GladeViewer.cs - Silly tests for LibGlade in C# // // Author: Ricardo Fernández Pascual // // (c) 2002 Ricardo Fernández Pascual namespace GladeSamples { using System; using Gtk; using Glade; public class GladeDemo { public static void Main (string[] args) { if (args.Length < 2) { Console.WriteLine ("Use: ./glade-viewer.exe \"fname\" \"root\""); return; } Application.Init (); string fname = args [0]; string root = args [1]; Glade.XML gxml = new Glade.XML (fname, root, null); Widget wid = gxml [root]; wid.Show (); Console.WriteLine ("The filename: {0}", gxml.Filename); Console.WriteLine ("A relative filename: {0}", gxml.RelativeFile ("image.png")); Console.WriteLine ("The name of the root widget: {0}", Glade.XML.GetWidgetName (wid)); Console.WriteLine ("It is {0} that it was created using a Glade.XML object", Glade.XML.GetWidgetTree (wid) != null); Console.WriteLine ("\nList of created widgets:"); foreach (Widget w in gxml.GetWidgetPrefix ("")) { Console.WriteLine ("{0} {1}", w.GetType (), Glade.XML.GetWidgetName (w)); } Application.Run (); } } } gtk-sharp-2.12.10/sample/Scribble.cs0000644000175000001440000000643711131156732014041 00000000000000// Scribble.cs - port of Gtk+ scribble demo // // Author: Rachel Hestilow // // (c) 2002 Rachel Hestilow namespace GtkSamples { using Gtk; using Gdk; using System; public class Scribble { private static Gtk.DrawingArea darea; private static Gdk.Pixmap pixmap = null; public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Scribble demo"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); darea = new Gtk.DrawingArea (); darea.SetSizeRequest (200, 200); win.Add (darea); darea.ExposeEvent += new ExposeEventHandler (ExposeEvent); darea.ConfigureEvent += new ConfigureEventHandler (ConfigureEvent); darea.MotionNotifyEvent += new MotionNotifyEventHandler (MotionNotifyEvent); darea.ButtonPressEvent += new ButtonPressEventHandler (ButtonPressEvent); darea.Events = EventMask.ExposureMask | EventMask.LeaveNotifyMask | EventMask.ButtonPressMask | EventMask.PointerMotionMask | EventMask.PointerMotionHintMask; win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void ExposeEvent (object obj, ExposeEventArgs args) { Gdk.Rectangle area = args.Event.Area; args.Event.Window.DrawDrawable (darea.Style.BlackGC, pixmap, area.X, area.Y, area.X, area.Y, area.Width, area.Height); args.RetVal = false; } static void ConfigureEvent (object obj, ConfigureEventArgs args) { Gdk.EventConfigure ev = args.Event; Gdk.Window window = ev.Window; Gdk.Rectangle allocation = darea.Allocation; pixmap = new Gdk.Pixmap (window, allocation.Width, allocation.Height, -1); pixmap.DrawRectangle (darea.Style.WhiteGC, true, 0, 0, allocation.Width, allocation.Height); args.RetVal = true; } static void DrawBrush (double x, double y, bool black) { Gdk.Rectangle update_rect = new Gdk.Rectangle (); update_rect.X = (int) x - 5; update_rect.Y = (int) y - 5; update_rect.Width = 10; update_rect.Height = 10; pixmap.DrawRectangle (black ? darea.Style.BlackGC : darea.Style.WhiteGC, true, update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); darea.QueueDrawArea (update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); } static void ButtonPressEvent (object obj, ButtonPressEventArgs args) { Gdk.EventButton ev = args.Event; if (ev.Button == 1 && pixmap != null) DrawBrush (ev.X, ev.Y, true); else if (ev.Button == 3 && pixmap != null) DrawBrush (ev.X, ev.Y, false); args.RetVal = true; } static void MotionNotifyEvent (object obj, MotionNotifyEventArgs args) { int x, y; Gdk.ModifierType state; Gdk.EventMotion ev = args.Event; Gdk.Window window = ev.Window; if (ev.IsHint) { Gdk.ModifierType s; window.GetPointer (out x, out y, out s); state = s; } else { x = (int) ev.X; y = (int) ev.Y; state = ev.State; } if ((state & Gdk.ModifierType.Button1Mask) != 0 && pixmap != null) DrawBrush (x, y, true); else if ((state & Gdk.ModifierType.Button3Mask) != 0 && pixmap != null) DrawBrush (x, y, false); args.RetVal = true; } } } gtk-sharp-2.12.10/sample/HelloWorld.cs0000755000175000001440000000113711131156732014362 00000000000000// HelloWorld.cs - GTK Window class Test implementation // // Author: Mike Kestner // // (c) 2001-2002 Mike Kestner namespace GtkSamples { using Gtk; using Gdk; using System; public class HelloWorld { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Hello World"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } gtk-sharp-2.12.10/sample/GExceptionTest.cs0000755000175000001440000000075711131156732015223 00000000000000// HelloWorld.cs - GTK Window class Test implementation // // Author: Mike Kestner // // (c) 2001-2002 Mike Kestner namespace GtkSamples { using Gtk; using Gdk; using System; public class GExceptionTest { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("GException"); win.SetIconFromFile ("this.filename.does.not.exist"); // Notreached, GException should throw on above call. return 0; } } } gtk-sharp-2.12.10/sample/CustomWidget.cs0000644000175000001440000001033611131156732014723 00000000000000using GLib; using Gtk; using System; class CustomWidgetTest { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Custom Widget Test"); win.DeleteEvent += new DeleteEventHandler (OnQuit); VPaned paned = new VPaned (); CustomWidget cw = new CustomWidget (); cw.Label = "This one contains a button"; Button button = new Button ("Ordinary button"); cw.Add (button); paned.Pack1 (cw, true, false); cw = new CustomWidget (); cw.Label = "And this one a TextView"; cw.StockId = Stock.JustifyLeft; ScrolledWindow sw = new ScrolledWindow (null, null); sw.ShadowType = ShadowType.In; sw.HscrollbarPolicy = PolicyType.Automatic; sw.VscrollbarPolicy = PolicyType.Automatic; TextView textView = new TextView (); sw.Add (textView); cw.Add (sw); paned.Pack2 (cw, true, false); win.Add (paned); win.ShowAll (); Application.Run (); return 0; } static void OnQuit (object sender, DeleteEventArgs args) { Application.Quit (); } } class CustomWidget : Bin { internal static GType customWidgetGType; private Gdk.Pixbuf icon; private string label; private Pango.Layout layout; private string stockid; public CustomWidget () : base () { icon = null; label = "CustomWidget"; layout = null; stockid = Stock.Execute; WidgetFlags |= WidgetFlags.NoWindow; } private Gdk.Pixbuf Icon { get { if (icon == null) icon = RenderIcon (stockid, IconSize.Menu, ""); return icon; } } public string Label { get { return label; } set { label = value; Layout.SetText (label); } } private Pango.Layout Layout { get { if (layout == null) layout = CreatePangoLayout (label); return layout; } } public string StockId { get { return stockid; } set { stockid = value; icon = RenderIcon (stockid, IconSize.Menu, ""); } } private Gdk.Rectangle TitleArea { get { Gdk.Rectangle area; area.X = Allocation.X + (int)BorderWidth; area.Y = Allocation.Y + (int)BorderWidth; area.Width = (Allocation.Width - 2 * (int)BorderWidth); int layoutWidth, layoutHeight; Layout.GetPixelSize (out layoutWidth, out layoutHeight); area.Height = Math.Max (layoutHeight, icon.Height); return area; } } protected override bool OnExposeEvent (Gdk.EventExpose args) { Gdk.Rectangle exposeArea; Gdk.Rectangle titleArea = TitleArea; if (args.Area.Intersect (titleArea, out exposeArea)) GdkWindow.DrawPixbuf (Style.BackgroundGC (State), Icon, 0, 0, titleArea.X, titleArea.Y, Icon.Width, Icon.Height, Gdk.RgbDither.None, 0, 0); titleArea.X += icon.Width + 1; titleArea.Width -= icon.Width - 1; if (args.Area.Intersect (titleArea, out exposeArea)) { int layoutWidth, layoutHeight; Layout.GetPixelSize (out layoutWidth, out layoutHeight); titleArea.Y += (titleArea.Height - layoutHeight) / 2; Style.PaintLayout (Style, GdkWindow, State, true, exposeArea, this, null, titleArea.X, titleArea.Y, Layout); } return base.OnExposeEvent (args); } protected override void OnRealized () { WidgetFlags |= WidgetFlags.Realized; GdkWindow = ParentWindow; Style = Style.Attach (GdkWindow); } protected override void OnSizeAllocated (Gdk.Rectangle allocation) { base.OnSizeAllocated (allocation); int bw = (int)BorderWidth; Gdk.Rectangle titleArea = TitleArea; if (Child != null) { Gdk.Rectangle childAllocation; childAllocation.X = allocation.X + bw; childAllocation.Y = allocation.Y + bw + titleArea.Height; childAllocation.Width = allocation.Width - 2 * bw; childAllocation.Height = allocation.Height - 2 * bw - titleArea.Height; Child.SizeAllocate (childAllocation); } } protected override void OnSizeRequested (ref Requisition requisition) { requisition.Width = requisition.Height = (int)BorderWidth * 2; requisition.Width += Icon.Width + 1; int layoutWidth, layoutHeight; Layout.GetPixelSize (out layoutWidth, out layoutHeight); requisition.Height += layoutHeight; if (Child != null && Child.Visible) { Requisition childReq = Child.SizeRequest (); requisition.Height += childReq.Height; requisition.Width += Math.Max (layoutWidth, childReq.Width); } else { requisition.Width += layoutWidth; } } } gtk-sharp-2.12.10/sample/CalendarApp.cs0000755000175000001440000000226311131156732014462 00000000000000// CalendarApp.cs - Gtk.Calendar class Test implementation // // Author: Lee Mallabone // // (c) 2003 Lee Mallabone namespace GtkSamples { using Gtk; using System; public class CalendarApp { public static Calendar CreateCalendar () { Calendar cal = new Calendar(); cal.DisplayOptions = CalendarDisplayOptions.ShowHeading | CalendarDisplayOptions.ShowDayNames | CalendarDisplayOptions.ShowWeekNumbers; return cal; } public static int Main (string[] args) { Application.Init (); Window win = new Window ("Calendar Tester"); win.DefaultWidth = 200; win.DefaultHeight = 150; win.DeleteEvent += new DeleteEventHandler (Window_Delete); Calendar cal = CreateCalendar(); cal.DaySelected += new EventHandler (DaySelected); win.Add (cal); win.ShowAll (); Application.Run (); return 0; } static void DaySelected (object obj, EventArgs args) { Calendar activatedCalendar = (Calendar) obj; Console.WriteLine (activatedCalendar.GetDate ().ToString ("yyyy/MM/dd")); } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } gtk-sharp-2.12.10/sample/ManagedTreeViewDemo.cs0000644000175000001440000000353411131156732016123 00000000000000// ManagedTreeViewDemo.cs - Another TreeView demo // // Author: Rachel Hestilow // // (c) 2003 Rachel Hestilow namespace GtkSamples { using System; using System.Runtime.InteropServices; using Gtk; public class TreeViewDemo { private static ListStore store = null; private class Pair { public string a, b; public Pair (string a, string b) { this.a = a; this.b = b; } } private static void PopulateStore () { store = new ListStore (typeof (Pair)); string[] combs = {null, "foo", "bar", "baz"}; foreach (string a in combs) { foreach (string b in combs) { store.AppendValues (new Pair (a, b)); } } } private static void CellDataA (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter) { Pair val = (Pair) store.GetValue (iter, 0); ((CellRendererText) cell).Text = val.a; } private static void CellDataB (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter) { Pair val = (Pair) store.GetValue (iter, 0); ((CellRendererText) cell).Text = val.b; } public static void Main (string[] args) { Application.Init (); PopulateStore (); Window win = new Window ("TreeView demo"); win.DeleteEvent += new DeleteEventHandler (DeleteCB); win.DefaultWidth = 320; win.DefaultHeight = 480; ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); TreeView tv = new TreeView (store); tv.HeadersVisible = true; tv.AppendColumn ("One", new CellRendererText (), new TreeCellDataFunc (CellDataA)); tv.AppendColumn ("Two", new CellRendererText (), new TreeCellDataFunc (CellDataB)); sw.Add (tv); win.ShowAll (); Application.Run (); } private static void DeleteCB (System.Object o, DeleteEventArgs args) { Application.Quit (); } } } gtk-sharp-2.12.10/sample/CairoSample.cs0000644000175000001440000000775211131156732014514 00000000000000using System; using Gtk; using Cairo; class Knockout : DrawingArea { static void Main () { Application.Init (); new Knockout (); Application.Run (); } Knockout () { Window win = new Window ("Cairo with Gtk#"); win.SetDefaultSize (400, 400); win.DeleteEvent += new DeleteEventHandler (OnQuit); win.Add (this); win.ShowAll (); } void OvalPath (Context cr, double xc, double yc, double xr, double yr) { Matrix m = cr.Matrix; cr.Translate (xc, yc); cr.Scale (1.0, yr / xr); cr.MoveTo (xr, 0.0); cr.Arc (0, 0, xr, 0, 2 * Math.PI); cr.ClosePath (); cr.Matrix = m; } void FillChecks (Context cr, int x, int y, int width, int height) { int CHECK_SIZE = 32; cr.Save (); Surface check = cr.Target.CreateSimilar (Content.Color, 2 * CHECK_SIZE, 2 * CHECK_SIZE); // draw the check using (Context cr2 = new Context (check)) { cr2.Operator = Operator.Source; cr2.Color = new Color (0.4, 0.4, 0.4); cr2.Rectangle (0, 0, 2 * CHECK_SIZE, 2 * CHECK_SIZE); cr2.Fill (); cr2.Color = new Color (0.7, 0.7, 0.7); cr2.Rectangle (x, y, CHECK_SIZE, CHECK_SIZE); cr2.Fill (); cr2.Rectangle (x + CHECK_SIZE, y + CHECK_SIZE, CHECK_SIZE, CHECK_SIZE); cr2.Fill (); } // Fill the whole surface with the check SurfacePattern check_pattern = new SurfacePattern (check); check_pattern.Extend = Extend.Repeat; cr.Source = check_pattern; cr.Rectangle (0, 0, width, height); cr.Fill (); check_pattern.Destroy (); check.Destroy (); cr.Restore (); } void Draw3Circles (Context cr, int xc, int yc, double radius, double alpha) { double subradius = radius * (2 / 3.0 - 0.1); cr.Color = new Color (1.0, 0.0, 0.0, alpha); OvalPath (cr, xc + radius / 3.0 * Math.Cos (Math.PI * 0.5), yc - radius / 3.0 * Math.Sin (Math.PI * 0.5), subradius, subradius); cr.Fill (); cr.Color = new Color (0.0, 1.0, 0.0, alpha); OvalPath (cr, xc + radius / 3.0 * Math.Cos (Math.PI * (0.5 + 2 / 0.3)), yc - radius / 3.0 * Math.Sin (Math.PI * (0.5 + 2 / 0.3)), subradius, subradius); cr.Fill (); cr.Color = new Color (0.0, 0.0, 1.0, alpha); OvalPath (cr, xc + radius / 3.0 * Math.Cos (Math.PI * (0.5 + 4 / 0.3)), yc - radius / 3.0 * Math.Sin (Math.PI * (0.5 + 4 / 0.3)), subradius, subradius); cr.Fill (); } void Draw (Context cr, int width, int height) { double radius = 0.5 * Math.Min (width, height) - 10; int xc = width / 2; int yc = height / 2; Surface overlay = cr.Target.CreateSimilar (Content.ColorAlpha, width, height); Surface punch = cr.Target.CreateSimilar (Content.Alpha, width, height); Surface circles = cr.Target.CreateSimilar (Content.ColorAlpha, width, height); FillChecks (cr, 0, 0, width, height); cr.Save (); // Draw a black circle on the overlay using (Context cr_overlay = new Context (overlay)) { cr_overlay.Color = new Color (0.0, 0.0, 0.0); OvalPath (cr_overlay, xc, yc, radius, radius); cr_overlay.Fill (); // Draw 3 circles to the punch surface, then cut // that out of the main circle in the overlay using (Context cr_tmp = new Context (punch)) Draw3Circles (cr_tmp, xc, yc, radius, 1.0); cr_overlay.Operator = Operator.DestOut; cr_overlay.SetSourceSurface (punch, 0, 0); cr_overlay.Paint (); // Now draw the 3 circles in a subgroup again // at half intensity, and use OperatorAdd to join up // without seams. using (Context cr_circles = new Context (circles)) { cr_circles.Operator = Operator.Over; Draw3Circles (cr_circles, xc, yc, radius, 0.5); } cr_overlay.Operator = Operator.Add; cr_overlay.SetSourceSurface (circles, 0, 0); cr_overlay.Paint (); } cr.SetSourceSurface (overlay, 0, 0); cr.Paint (); overlay.Destroy (); punch.Destroy (); circles.Destroy (); } protected override bool OnExposeEvent (Gdk.EventExpose e) { using (Context cr = Gdk.CairoHelper.Create (e.Window)) { int w, h; e.Window.GetSize (out w, out h); Draw (cr, w, h); } return true; } void OnQuit (object sender, DeleteEventArgs e) { Application.Quit (); } } gtk-sharp-2.12.10/sample/ScribbleXInput.cs0000644000175000001440000001147311131156732015205 00000000000000// ScribbleXInput.cs - port of Gtk+ scribble demo // // Author: Manuel V. Santos // // (c) 2002 Rachel Hestilow // (c) 2004 Manuel V. Santos namespace GtkSamples { using Gtk; using Gdk; using System; public class ScribbleXInput { private static Gtk.Window win; private static Gtk.VBox vBox; private static Gtk.Button inputButton; private static Gtk.Button quitButton; private static Gtk.DrawingArea darea; private static Gdk.Pixmap pixmap = null; private static Gtk.InputDialog inputDialog = null; public static int Main (string[] args) { Application.Init (); win = new Gtk.Window ("Scribble XInput Demo"); win.DeleteEvent += new DeleteEventHandler (WindowDelete); vBox = new VBox (false, 0); win.Add (vBox); darea = new Gtk.DrawingArea (); darea.SetSizeRequest (200, 200); darea.ExtensionEvents=ExtensionMode.Cursor; vBox.PackStart (darea, true, true, 0); darea.ExposeEvent += new ExposeEventHandler (ExposeEvent); darea.ConfigureEvent += new ConfigureEventHandler (ConfigureEvent); darea.MotionNotifyEvent += new MotionNotifyEventHandler (MotionNotifyEvent); darea.ButtonPressEvent += new ButtonPressEventHandler (ButtonPressEvent); darea.Events = EventMask.ExposureMask | EventMask.LeaveNotifyMask | EventMask.ButtonPressMask | EventMask.PointerMotionMask; inputButton = new Button("Input Dialog"); vBox.PackStart (inputButton, false, false, 0); inputButton.Clicked += new EventHandler (InputButtonClicked); quitButton = new Button("Quit"); vBox.PackStart (quitButton, false, false, 0); quitButton.Clicked += new EventHandler (QuitButtonClicked); win.ShowAll (); Application.Run (); return 0; } static void InputButtonClicked (object obj, EventArgs args) { if (inputDialog == null) { inputDialog = new InputDialog (); inputDialog.SaveButton.Hide (); inputDialog.CloseButton.Clicked += new EventHandler(InputDialogClose); inputDialog.DeleteEvent += new DeleteEventHandler(InputDialogDelete); } inputDialog.Present (); } static void QuitButtonClicked (object obj, EventArgs args) { Application.Quit (); } static void WindowDelete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void InputDialogClose (object obj, EventArgs args) { inputDialog.Hide (); } static void InputDialogDelete (object obj, DeleteEventArgs args) { inputDialog.Hide (); args.RetVal = true; } static void ExposeEvent (object obj, ExposeEventArgs args) { Gdk.Rectangle area = args.Event.Area; args.Event.Window.DrawDrawable (darea.Style.ForegroundGC(darea.State), pixmap, area.X, area.Y, area.X, area.Y, area.Width, area.Height); args.RetVal = false; } static void ConfigureEvent (object obj, ConfigureEventArgs args) { Gdk.EventConfigure ev = args.Event; Gdk.Window window = ev.Window; Gdk.Rectangle allocation = darea.Allocation; pixmap = new Gdk.Pixmap (window, allocation.Width, allocation.Height, -1); pixmap.DrawRectangle (darea.Style.WhiteGC, true, 0, 0, allocation.Width, allocation.Height); args.RetVal = true; } static void DrawBrush (Widget widget, InputSource source, double x, double y, double pressure) { Gdk.GC gc; switch (source) { case InputSource.Mouse: gc = widget.Style.BlackGC; break; case InputSource.Pen: gc = widget.Style.BlackGC; break; case InputSource.Eraser: gc = widget.Style.WhiteGC; break; default: gc = widget.Style.BlackGC; break; } Gdk.Rectangle update_rect = new Gdk.Rectangle (); update_rect.X = (int) (x - 10.0d * pressure); update_rect.Y = (int) (y - 10.0d * pressure); update_rect.Width = (int) (20.0d * pressure); update_rect.Height = (int) (20.0d * pressure); pixmap.DrawRectangle (gc, true, update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); darea.QueueDrawArea (update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); } static void ButtonPressEvent (object obj, ButtonPressEventArgs args) { Gdk.EventButton ev = args.Event; if (ev.Button == 1 && pixmap != null) { double pressure; ev.Device.GetAxis (ev.Axes, AxisUse.Pressure, out pressure); DrawBrush ((Widget) obj, ev.Device.Source, ev.X, ev.Y, pressure); } args.RetVal = true; } static void MotionNotifyEvent (object obj, MotionNotifyEventArgs args) { Gdk.EventMotion ev = args.Event; Widget widget = (Widget) obj; if ((ev.State & Gdk.ModifierType.Button1Mask) != 0 && pixmap != null) { double pressure; if (!ev.Device.GetAxis (ev.Axes, AxisUse.Pressure, out pressure)) { pressure = 0.5; } DrawBrush (widget, ev.Device.Source, ev.X, ev.Y, pressure); } args.RetVal = true; } } } gtk-sharp-2.12.10/sample/pixmaps/0000777000175000001440000000000011345266756013537 500000000000000gtk-sharp-2.12.10/sample/pixmaps/Makefile.am0000644000175000001440000000017611131156725015476 00000000000000EXTRA_DIST = \ gnome-ccdialog.png \ gnome-color-browser.png \ gnome-gmenu.png \ gnome-mdi.png \ gtk-sharp-logo.png gtk-sharp-2.12.10/sample/pixmaps/gnome-mdi.png0000644000175000001440000000171511131156725016024 00000000000000‰PNG  IHDR00Wù‡gAMA± üabKGDÿÿÿ ½§“ pHYs."."ªâÝ’tIMEÐ,KÿWJIDATxÚíZÏkAþv²1) ÚÚ*衈ԃõ$^õ ×þ­‡Š‚h¡ˆ<öèA¨à‹9(-U«hURQ°×žzôØC1m²?fÞŒ‡M–ÉnÒd“´ÍJ>2lfv÷Û÷Þ÷ÞÌ.ÐÃÁÂÐúª‰ñ*Ð6©50 ÍQ¸g @_åþ«lllì:SB6}ÖòüZsõsüXý†©Éi0Ìà€Ç÷ïÁ.l£X,Ár”8‡#88)BJ¥  ªw3fLjã͈suœ83¦‘ `‹Á˜× ”Á ÊÆR/¶à‚ûýN_<‡Âv˳€ãºàÂ…ërHAàR@A‘‚T J)Hé=K¥êSKšI<3X¤¹õ"028Œ‘Áá®U«ˆ7ß×w¡nG¦¯¿®”.«å(o^Ë1bFUŸ1æÿZ–åÿ§eŒsϯŸ=ŸoÏ…ªD¿O¶+«úy¾®|ÂåKWÛŠHl€Gwgaÿ- ¸S„eÛ(q›»àB‚—e•+/I“ƨj5vþTK.ÅÉð"‘ðc!Y•’U]Û±@ã΢°³ŒÝXVIQG¤±U5úÝÒ@"Ñ~CDþy¤”`ŒahhÙl3Ù™½! ¥D.—ëZYÕc€jfÏd²«ó‚N@Äq= »ÐáZ‰i¿qmêz(ÑQÝ$gvÛÍçó”ÂÚÚ/ܹ=-”nݸ:vlüxS1ÐjA½ª¨øß~áÈÉ£)æcK`Q0qe"tlqy1º í÷w"Tï]XV¼ Ä=== N§ãM`nn.åt­ÚçËÊ2ro_Çf=BöÁCX¶ ÇqàØ\Î!8ç›››…e•@D(KH¥R "¨ò6KeA¿— {Ÿ@ð"vȦ&§±°°€õõõîˆÓ4ã­B»Õܽ<Ð#ðh+r¯ýÄò÷Ïñ%ðdþ©·ÙË9¸ëB„‘AJ‚”ÞF/çÜ_¦ê’ÝnŽh™@Ô7)½hÆùÕ¼\z+Áo%^Àû¾¡@Þ7 )i‡ÊÍ,7/•1Ö¨îù˜;À3:P+q÷ üëf²Ò4ÃõIEND®B`‚gtk-sharp-2.12.10/sample/pixmaps/gnome-color-browser.png0000644000175000001440000000424411131156725020052 00000000000000‰PNG  IHDR00Wù‡gAMA± üa[IDATxœí™kpTõÆg¯ÉÞ’lnB61!@B‚xEªÖA†^¡µ3m-Δ‚8ÎtìètÆéèLÚâL§Z±2íˆZ§_€:Óµ¶*¢ ˆr B6Ùd/Ù[ö~;{vÏž~@3†$$.v†çÓîì{ž÷yÞ÷ÿþÏ9ÿ…¸ø¿†p©ìºã¡YÅmúd/¼òÛYžú“_róŽg{tÛc¾Ïd@™ëUÆÍ;^×y¡ÍLÝ*~!T³bùã†ë®7fÜ…®&òÑ™Á!ÔF#¦ööËâ¸nEßÞ½Ü*ÇñïÛGê\ÿeñ\·Œ½¶‹®\Æ-óKqô[ðôÆ´pÑ”±»\7w7šyøÛHø‡ðøÇ(i^uFøæSOÓ±vžãÇ J+Ê'TÜj·OËy͆X–e^zîl]w/‹›ª9ufˆh2Ȩ§sÝz\Ÿ†˜Hœ¥žXW£ÕŠ ÈSò^3Ûñ:÷/m¢¥¡†Ñ@ —7À‡Ž8·myŒ¸Ï‡”Î ¨„ÉW”)¤®¹Çrm ½ b‚o,[L>›dÀéÄÉ5uR³¨°Ó9[ÕÜÖr#gO÷âõ#j ÄRYÞy~;Žû)*бæ[èÜǎѲbÅy¢¯š˜hH”­=à w@–evýî/Üg7QšK²iÃ}4ÔU2æ!ÓÌ ·Õ=ü jLÌ3k8ó÷ÝhKJ)ˆ"Ùx|oOW'õ»W =]“ZsE;ðÏ×Þ`mG- šÉd ¬h­£˜ O¦ ñΡS,ŒØmVl­­´[µHbŠNzÇ9 ’4i íñ»”=ÃÛÄ-vFw¾ôÖ¬ ”¸úi_·,ÏB{-]'úŽPUfäHß:ìr’5›DÞÿ¤—P<Ç`Ï“?Ÿ‘ƒÍþ¥³ñY˜Ñ@äô³³_¿¬‡U«V¡³Ôa–Bt-YJ:£X, æDžØü= é8'‡Â¸Q‘1†ƒIBé‹…G{žÅ`6Óº|55_=þyߥ\Ø+6ëïí¤Ì¬'i™gFVЏœgQ ¶F;íMutuu£.ŠôàPß©¢†V›‰E]K8±ÿÅbçÉS—”÷ŠÌ@$–¡£c u-ËñöF%©Ñé`Ô«ÑWX0•Í#êwQÌÒÖ`eß{9Ú;»¹µ¥)—ãHLÃèh)—»öþ³ßA³}b6ASC=%eu•“Þ€¾|>žÏRiµ²¨müUoìÇ=âbÈæ¸;ÉÝëמ¤ÕNâϦӔSæžó’å":A‡J[J11JIY5êR3HitZ &[+ç) õöf4Š„"KÔYõ óiï0-Ù÷&Ö:Û¤©hlÚüs6ËÉ 8ÃKµ”Eo®!u#KYLõdÇF0(1j«ªPéŒø¢YNøåõ¨Mšê*¨)/EÉ¥ºÜdÓé 9 ó´ù缄†\ajj+YØ4Sy5Š,SÌgÑ[ld£d)…ÖP޹ÂÎÈÀQÆB!º:ÚP3Xu2Ã#^2Zîws¦¢± KÆh±L›Îxñ•YsßJJ&4†rrÉ *µ–|&B>Dc´¢·ØHöbÒBu…‰¢”à£Þa¢Ñ ýþ 7-¿mœób¿sê@")’/Qeãh*)äRä³Qd1E^–Д˜ÑYˆ9‚¢à „‘ 2‘Xš€ÇK<™eLÖÒ˜i]zþ]×j«Tñ ÷þ+fà“£.] Š\ —‚œ§¤² I’H#ŠP^Q†7¥ˆ@"™Âí‚Á„#£§ª¾Š [-­–›:–\’†9ŸJìþýVn¿ý´¥eä’A²‰þH–[nÏ(e&޹~DZ‘Raþt-†!Rz S.—øëßÿŒm[Hé†áª‚X–TøÜçÏŸ'ŸÏsâÄ þvã,ÇÂ[eb9þ*E,H§Ó bÛ6»wïàúO±WÄò2q Ä¢\¸pF£A©TâìÙ³o„±”è_`Ex¾ñ~±X¤R©ðàÁ6mÚÄÉ“'¹zõ*×o|Ê–Û0t!ôU§Xõ¿†išÊu]%¥TOžeÿþý(¥Ð4Í›7ÓÓÓƒeY”ËešÍ&•J…ññqLÓäÎ;”J%Òé4±X ]×W¿'VjÁ}šM‹Ù¯g‚!º®sîÜ9._¾ÌÐзoߎèu||œ¡¡!®üþ#r¹©T ]×W ¢­å´ïû°;wâû>>¤»»›B¡@&“¡¯¯o¡Žyï—ÔëulÛYQ²ëHO¼èBRJb±dbb‚ ¨V«¤R)4M£¿¿€wÞ}z½Žã8ø¾ß6vZ1€ùùy¤”hš†ïû;v Ã0ˆÇãtwwS,) <~ü8ZS«U±, )åKí ¥ŒÞ=Ï#›ÍræÌîÝ»G?cccÜ¿€ÁÁ¼ýöQjµÍf3ª›Þ(€b±ˆÏËè 8|ø0Û¶mãâÅ‹ a”J%ÇÁ¶mlÛÆó¼(~Þ¨ ¹®‹ëºA€ã8är94Mcdd„]»vÅH&$“Iñ±X!B´¯_RO¼X‰º®Kmn.b!Çq¨T*ÑÿétšZ­F©TÀ²m žôiÌ×™™™Æ²šLOOÇÑu½#zI™øÅñâ|†êÚµkêÔ©SÈÆ¯Ÿ‰§¦¦Ø·oš¦±cÇfggq‡0 ©V«¤Óifff¸uë¦iréÒ%èéé!ŸÏ“L&1 cY§ß–LlYß~û_NŸþ&1ýÕ4¦i’L&Èd2LNN’Éd8pà¾ï366ÆãG„AÀ7ß|Mæ5KŠñ"Ó¡‹˜)“B¡ÀÆ )—·Ð¿u+[ûúèíí‰baïÞ½ôöö.ôÎü¶c#=¹¢öc™ØXÎFº.H$ärY¤| ³ËD…!º®„!FƒD<Á¿>ÿœ 6°gϲÙ,###ÔŸ=#ŸËÑÕebFDÁe¡ï[A×u’É$¹\ÈQô\@Cè‚À÷©ÍÍ¡BY¡Z­FëG÷!|ð>™L&b v¸Ñ²$ „$SI ˆÜKJ‰aÄp—C‡qóæMŠÅb´þè‘#Ì7Ø…¦i‹Å¢zjÕ!"óÇãñH¥RúAH±X {®­+oÙB6›Åõ\×Ezϯ_VÕ/ZAñR)°Ä4Sär9J¥Gaú«i¬¦Eªuâºhÿex[n§+K)%–e377GÓj¢”BAø4êu¾œú’fsž©©çTúº.´æo§Û]ˆè@Èy ×ú–@xÖz:€ßŽÃÒ:pB‹ ’@¢•,Àm Ùú;b’6í)Z@Dë[½ tØN7ýd]y¹IEND®B`‚gtk-sharp-2.12.10/sample/pixmaps/Makefile.in0000644000175000001440000002356611345266365015530 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/pixmaps DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ gnome-ccdialog.png \ gnome-color-browser.png \ gnome-gmenu.png \ gnome-mdi.png \ gtk-sharp-logo.png all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/pixmaps/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/pixmaps/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/sample/pixmaps/gtk-sharp-logo.png0000644000175000001440000001140411131156725017002 00000000000000‰PNG  IHDRx<šsŽšgAMA¯È7ŠétEXtSoftwareAdobe ImageReadyqÉe<PLTE&&&ÑÑÑýýýtttÂÁÁÉÉÉ#(R|||\\\ÍÍÍ«ªª²²²lllbbb¡¡¡°°°ŽŽ¦¥¦TTTddd+2g’’’´´´úúúºººîîî¾¾¾444ÄÄÄ•••ÖÖÖ¬¬¬¼¼½ìììšššöööèè醆…;;;êêêæææÝÝÝKKKÆÆÆ¸¸¸âââ;CCCŠŠŠøøøÚÚÚØØØðððôôôäääàààÞÞÞÔÔÔòòò ¶¶¶¨¨¨®®® (3:y7?ƒ@I—®­­;D­­­­®®®®­¸·¸"G·¸¸®­®¶µµ­®­¿À¿ïððµµµòñòñññïïïø÷øµ¶µÓÔÔ÷øø¸¸·¶µ¶ÜÜÛËÌ̼»¼ÀÀÀÔÔÓËÌËÈÈȼ¼»ðïïììëææåàßàûûûüûüñòñ···¾½¾¿ÀÀÀ¿¿ÖÖÕååååææµ¶¶¶¶µÙÙÙÏÏÏ¿¿¿··¶§§§///ÌÌÌ———»»»º¹ºø÷÷À¿ÀââáõöõÚÙÚòññÓÓÓÔÓÔ±±±ÌËÌ××׳³²·¸·ªª©º¹¹wvwìëì÷ø÷ùúúãääáââ÷÷÷óô󃃃ëëëôóôpooüûûûüüÙÚÚüüü¯¯¯ñòòÒÓÓßßÞÄÄ䤤ª©ª¹ºº½½½íî‹ÅÅÄÆÆÅÕÖÖéé诰¯öõö‚ƒƒ¬¬«§¨§êêéÃÃ觨ÄÃÄßßßÛÛÛîîí   —˜˜ÎÏÎËËË___ËÊÊÇÇÆ¬«¬xxxÐÐПŸŸXXX£££³´´£¤£´³´PPP©©©ïðï”””“““»»º¹¹¹»¼¼¹º¹¨¨§„„„½¾½¤£¤ííííîí³³³««««¬«‹‹‹çè茌Œ«¬¬ÅÅÅçççÆÅÆèèçÕÕÕëìëððïëëêëììqqpðïðåæå‡‡‡ÇÇÇéééhhhùùùãããúúùäãäáááõõõoooõööóóóöõõDN¡ÿÿÿfffL'_MŠIDATxÚbø?@ €Êb€Z|¸€ˆ‹ëÞ齃 <.dŠ !Í…ÄE¡¹îàÿÿàh NBX›¯0ñ!ö_Ìž9!Έ÷XB³[xEa@.2Pôû0ËÞfæ7Á¦Ã®:CSIw}M:¨é½O-æ~xÀkާjCžZ~tp$Ç Ñãàü‡ ò • `ÿÿ{›»û67÷íÛ ²û¶²j´3UJuƒdAû6DZk>HÆá¿ Ý@S¸AFÝÑ@^÷!ˆ@Då e@Ýÿÿ¥!pÐÐéÿ;_Q—?@àæ"j`ô¸aHAD…ýÿÿ@)çÿjÇÅÅœÛ@TD†”@Y§þ³ýùô[ÈéÿNþ°ý?*Vðÿ?@-ÖóÉÕóñ‹ÑëÑó{­õÿ¿ëdàbtÉÑ??=½\===¨]Ó¹GÚÃ8¸Åcsõ€Føèùù™>@¥>zÕÿ]þ¸€|üî¿3TaH¥žŸÏÿÿ´ø¼$\0üÿßÙã:ðZ-³äPHåy¨]ì àÏŽÒ u’P%ê‚Ö?¢ÿ øgý7øóÇcG€Pâÿ€Z¬¨¨¸|¹ârEEÃÿN¢»\Ù œ}Ù žwqú¯µ;5u9HÙr¨]ý‚ž!Ëê8’uy0€Ò’ y¶ÿBK6…„ù’ÓŽ!õ@ûþÿ  ÅA ”´l‘›ªEU‰¢éì~Î=ÿÿÐâ… 2‚J`b`?dy ˜@ukÊ‚#cyÍûŠA>Áù’ ¨q¬å³ø°ÐÅ•›Ý'Ž ,Ç ‘â4Õ€ È"º{Ëÿÿ  Q666À!mð_‡ÝR€ïö–½ŒmíÏllž={fó̦½‘óQÅ%¿ y«â{«‘-Ö²t€rxeàö2\9"È-R ‹Y7XEøB«» ,¬@‹hqWW×pÈüÿŒ_~ζg@1yù.yÕÕUÅX³?…uÿÆ$ÆxX™aø±_Mn ”S )|€™‘Á'ûf,H¡*È`м— j€Z\VVÆŠb`‰Æ®&wGšÓÆ´ Lùù `ב#""ÖÈ›>ã|µK‡ç‘òR˜÷aöVR»'·¤d[yTÔá÷ŠNÿÝ@ñ7«_ÿvÿ÷½fW;{lþEÝÃÿÿÐâ;LÀÝfù€Ï>%©l˜ÄU£µÏÔw´˜2Ö@í:Õÿn÷éX(\¸‰:ý—y·Aí¦ˆ£ôÞ…¦òŒ{ó ¹I™Ý’›^š~SÄA NÕÀØ\^®ý ôõÑ-vþ­æÙŽíP‹?ŠœÜ_¦³Xlp¨]1’ ytØd»¾¤ðtqƒecWD6¾m½ýÛ”ÿÿhqQQÑ7Hý—©’f\TdQ?Ò•Ø]×÷˜ZÁ,>R³ÃÙâ+÷j«ôÞÛÄ}³(zýŸ gÁÅgýí3P@-~¬ùø¾ (ÿ{üwº¹¼íÛÛÇPðCn18&Žp?z– ³xW.§v1rP Õ:œßÛµýs‘æãÞÿÎØKj`Qmojý-ãÿ€ZüAõƒª%ØOÀò}ùa«Çª@`퇌í6n/Ù}ÓÈR j»Ãbó1ß…òEª(‰KøÂÞ²oEO:- e+¸Pµ ­œö.Œû¬ùÿ?@UÌxùRƒÕ d6°–ÞcýXCCck¬ý\V#©°KYœ þÞLŒj‚Y|¬ï°ÕÔì$Tøíñf°Ö¢ÞY<Âܤ®nÍMꆆ:ìö,{ÊôÐb¥JJ3„À^jf/Óœq(ÔÌ|Æ*-ÞÿXƒõñAK—Ìâ%u õ'À ˆfϪ3”€àÆsÍoòÂDÍÌþZ²| \%^ÁY¦¿öÿ€Z,@/»@4Ô׸’º¡¡¹½«ü8†Ù€Å°˜‚nÙc˜Å‚Ëm,n ™:g€5ßXûy‡0€Ýþ;±«[7¾ÿ -¥)°æ[¨]¤ñÿ?@-N N3{õã?,ÀÔn„‡¿73Û™®jµ’¤¢}ï”Å93gÀZ´‚y…ÅRPÜfÎt©ààðð ªßd ½ˆwbý0ú·„eï€úhqhXØ‚0³˜üÌiÿeÄÊÃB[sÂÌöüc€¤hP ôîÚégEá0‹·tÝ7ƒ•Ÿ ¾°*S~Ã,,',\IÀb»Ày§ÿï”·Úë.,[T¤º¨ €€ÿúõËö—­T'¤éâjXÿ·SP*tv…6«§?PægÕÖ°…Y|:ÑôÃX}üQ!˼·š¶ÒM;uÄSÙÊ‚öïM?«~P  ýÿ €€›sÛ—1NІ·´/aíÁËf#1ÁåmRÓà³ÌÝ<–©åD„M–3¿€&ÚC¸ÿr.4Ì­c‰*’ ý5sæ÷ïÿÿÐâõ* ð=LUXŸÃJI7hsò´ÕotMD¼ÆZé— Ô®Y\[vÌ0‡¥´#Žz¯!‰¤xØw#H|ÍSÚ\-«;„¤ì˜ñlЀZll=5bbCó›â `à:» —rÀ ·;tO@ÙûQ™j˜ÊT¨]¯ïÊj߀¹âGU_ÊþCN°f¦ÌËœfvH v°@{n§/$g†Oˆ˜=h@,þÑßÃ'Ûû À†)RWÕÕãÕ–+o*+$>³0Sùô Xw€ÊzvÇ'Ö·&Â8 ,í;Lá kŸæS `ì á5ü€j<—þ ² háÿÿ´X²²$$>}—Ò’•vNΠ‚Õܦcx ¦¬PÑ®/¥2Iâ;¤Év„›õ›‚“÷X3î24iT—=Sq3ûjÀE>ƒ'·¬ücs øÿ €€ÖÌ›—5/;++kÞ§ßáòO"g©#º©ÿµ ™¯Ý¼&Ç7Ÿ¥M?ü»DvÖœ¬~u™j¡c›$[´fes.×íù¦¡-ÍÁB,mŸÃ§Jœþ¨Î1½²r•M³º ïùØå5ÚædeeÏ›=ûÿ€ZÌóæÍcbÊ2{¼ƒSºCPì5‡ì›uÎÖîêõy/_”65kP“ñ¸½’ÜöºT¿gÍqê»+u}˜öéç +FîÓ§ù¥ Ÿ:Gâ×㮽,[Êã4ÂnX-|”˜òìsØ$  @Èôÿ?@Á,† óô)òû¥o÷;"¢ "»r·Öþ`1ªÆ¶Èt¿lÊB+©h&¦/NÛ7)c¦¬©áŸåßKKJ¿69x*Ó<•M]åmqþ‡=Žk;,ÿMCfÏÿÿ´ø/zÚVã[מGÒz·ù===ùo_¨HaŒÓ3LÍÔpMm“¸ÏJß³P8@óŒm?XË3.ìú¦d.tá/¥¢oŸ?˜M•˜jöáó7M¥_p3þÿ@Ö˜£ °µ±ÑÿÅ.Í>*'dIÈT 2Žãza“A‘ô-¤„ô1a‚„öSFö~š2£ÿ´­u„a1Ôj þ£G™5E//T…¶ ÁËXÂpÜb€Âbñ?˜B0øn,Œj-L0v˜ç#³õÿÿ@Ø-†*7OX˜‰ EC84ü…%á*!4Cÿÿ <ã áS¶E)’(¼ÿÿŸÅð´a#™rú?T »Åÿ0, b| Gð þ‹, ·ù/ÜAP'á³ €ˆ¶a‰¿È8þû›a¢Èñ>þ÷Ýb”8{öß?¬ÿÃb1@áµî+XÒD±–Z‘¢)UÿCr’Bxª üÓ üÿ@f1@ ˜Å4`^4`Š;ÄdÞDÝßIEND®B`‚gtk-sharp-2.12.10/sample/pixmaps/gnome-ccdialog.png0000644000175000001440000000220011131156725017006 00000000000000‰PNG  IHDR00Wù‡gAMA± üa pHYs  ÒÝ~ü"IDATxœí™](tyÇ?¦Åd&ëís£d\LylR¤DnÌz+·.ÔQ^JF¹@r¡¹qáíB"iÔlÖ¤¦E+J­7£)q£–&ƒNÉÌs±99ÏÌ0/‡gŸm>u:ýÏÿíû=¿ÿïüÏ™(Q¢D‰1ß[Àk¼^oÈ}A úi>Çììì›®Þ€×ëõº\.±l2™P7üú^· qýþccc’ñ_—5 ^¯7 ÎŸ‚h{{[Rþó¯¿CÑ_Œÿm9ï.!€§§§$}.A-¡¶¶6ɵ{þ‘M@?¿Y?==ýæ Ê€Íf Cš< yrÀ‡ÕÕU677Q©T´¶¶’ŸŸ/is||ÌÂÂqqq  T*#™Ò‡ rÀ‚ ÐÝÝÅbA£ÑpÏÐÐ$_öööXYY¡®®ŽÓÓSAEôkÂ2àñxèïïçááññqFGGiiiáùùYét:±Z­FžžžÈÎÎF­V‹cÜÞÞ299I__çççŸk`qq‘››Ìf3999X­V’’’HNNÀf³ÑÕÕEff&»»»TTTˆý].ÃÃÃèõz”J%¯÷™O1°··GWW)))rqqAMM ðo„òòòÈÎÎæìì §ÓIyy¹Øßétb4IKKãîîN¶°’8##ƒÂÂB±<77Gjj*õõõ( êêêØßß§¬¬ •J%¶/))`dd„ÆÆFbccÃ6Vzzzˆàèèˆëëkš››ý q:qrr‚Çã‘Ô9ôz}8DÂ2ð:—––HOO§¢¢‚ÇÇG‘‚ °ººÊÖÖ …t:NÇüü|8D"ÚAàêꊆ†vvvX[[£££­V+¶1ÜÞÞú½Óýýý%0Ȱ‘%''cµZQ(”––ŠO¥´Z­ÄÐkbccÑh4¬¯¯S^^.>ÁB!"*•Љ‰ âââxxx(Àív³¼¼ŒV«¥ººZRwpp€ÅbA©TRYY²†°wâ”J%‚ °±±ÁÆÆ†ß6———ìîîb·Ûq»Ý’ºüü|:;;ÃFà…©©)YYYTUUùÔ`2™HLLô‰’Z­¦¸¸8ì¹e1ÐÔÔDBBµµµÛÈ1•²ÈÍÍ¥½½]Ž¡B&âøÞÈàÍåã¹>’d3¡‰2 ¬­­E<ç‡,!‡ÃÁàà ‡³Ù,9‡JLLLÀãC ØívFFF°Ûíâ5³Ù,¾nËɧ%qoo¯Ä\|ˆššš»ãß"k¿ Óé$_Y½½½’³œÈfÀf³a0ä.hd€EÙ™™™ñû³÷'Q¢Dù¿òŸú—`æà@RþíË—7Ûÿð4?¼¯-€ùšu÷\³IEND®B`‚gtk-sharp-2.12.10/sample/TestDnd.cs0000644000175000001440000005353411131156732013661 00000000000000using Gtk; using Gdk; using GLib; using System; public class TestDnd { private static readonly string [] drag_icon_xpm = new string [] { "36 48 9 1", " c None", ". c #020204", "+ c #8F8F90", "@ c #D3D3D2", "# c #AEAEAC", "$ c #ECECEC", "% c #A2A2A4", "& c #FEFEFC", "* c #BEBEBC", " .....................", " ..&&&&&&&&&&&&&&&&&&&.", " ...&&&&&&&&&&&&&&&&&&&.", " ..&.&&&&&&&&&&&&&&&&&&&.", " ..&&.&&&&&&&&&&&&&&&&&&&.", " ..&&&.&&&&&&&&&&&&&&&&&&&.", " ..&&&&.&&&&&&&&&&&&&&&&&&&.", " ..&&&&&.&&&@&&&&&&&&&&&&&&&.", " ..&&&&&&.*$%$+$&&&&&&&&&&&&&.", " ..&&&&&&&.%$%$+&&&&&&&&&&&&&&.", " ..&&&&&&&&.#&#@$&&&&&&&&&&&&&&.", " ..&&&&&&&&&.#$**#$&&&&&&&&&&&&&.", " ..&&&&&&&&&&.&@%&%$&&&&&&&&&&&&&.", " ..&&&&&&&&&&&.&&&&&&&&&&&&&&&&&&&.", " ..&&&&&&&&&&&&.&&&&&&&&&&&&&&&&&&&.", "................&$@&&&@&&&&&&&&&&&&.", ".&&&&&&&+&&#@%#+@#@*$%$+$&&&&&&&&&&.", ".&&&&&&&+&&#@#@&&@*%$%$+&&&&&&&&&&&.", ".&&&&&&&+&$%&#@&#@@#&#@$&&&&&&&&&&&.", ".&&&&&&@#@@$&*@&@#@#$**#$&&&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&@%&%$&&&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&$#@@$&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&+&$+&$&@&$@&&$@&&&&&&&&&&.", ".&&&&&&&&&+&&#@%#+@#@*$%&+$&&&&&&&&.", ".&&&&&&&&&+&&#@#@&&@*%$%$+&&&&&&&&&.", ".&&&&&&&&&+&$%&#@&#@@#&#@$&&&&&&&&&.", ".&&&&&&&&@#@@$&*@&@#@#$#*#$&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&$%&%$&&&&&&&&.", ".&&&&&&&&&&$#@@$&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&+&$%&$$@&$@&&$@&&&&&&&&.", ".&&&&&&&&&&&+&&#@%#+@#@*$%$+$&&&&&&.", ".&&&&&&&&&&&+&&#@#@&&@*#$%$+&&&&&&&.", ".&&&&&&&&&&&+&$+&*@&#@@#&#@$&&&&&&&.", ".&&&&&&&&&&$%@@&&*@&@#@#$#*#&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&$%&%$&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&&&&$#@@$&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&&&&&+&$%&$$@&$@&&$@&&&&.", ".&&&&&&&&&&&&&&&+&&#@%#+@#@*$%$+$&&.", ".&&&&&&&&&&&&&&&+&&#@#@&&@*#$%$+&&&.", ".&&&&&&&&&&&&&&&+&$+&*@&#@@#&#@$&&&.", ".&&&&&&&&&&&&&&$%@@&&*@&@#@#$#*#&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&$%&%$&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", "...................................." }; private static readonly string [] trashcan_closed_xpm = new string [] { "64 80 17 1", " c None", ". c #030304", "+ c #5A5A5C", "@ c #323231", "# c #888888", "$ c #1E1E1F", "% c #767677", "& c #494949", "* c #9E9E9C", "= c #111111", "- c #3C3C3D", "; c #6B6B6B", "> c #949494", ", c #282828", "' c #808080", ") c #545454", "! c #AEAEAC", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ==......=$$...=== ", " ..$------)+++++++++++++@$$... ", " ..=@@-------&+++++++++++++++++++-.... ", " =.$$@@@-&&)++++)-,$$$$=@@&+++++++++++++,..$ ", " .$$$$@@&+++++++&$$$@@@@-&,$,-++++++++++;;;&.. ", " $$$$,@--&++++++&$$)++++++++-,$&++++++;%%'%%;;$@ ", " .-@@-@-&++++++++-@++++++++++++,-++++++;''%;;;%*-$ ", " +------++++++++++++++++++++++++++++++;;%%%;;##*!. ", " =+----+++++++++++++++++++++++;;;;;;;;;;;;%'>>). ", " .=)&+++++++++++++++++;;;;;;;;;;;;;;%''>>#>#@. ", " =..=&++++++++++++;;;;;;;;;;;;;%###>>###+%== ", " .&....=-+++++%;;####''''''''''##'%%%)..#. ", " .+-++@....=,+%#####'%%%%%%%%%;@$-@-@*++!. ", " .+-++-+++-&-@$$=$=......$,,,@;&)+!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " =+-++-+++-+++++++++!++++!++++!+++!++!+++= ", " $.++-+++-+++++++++!++++!++++!+++!++!+.$ ", " =.++++++++++++++!++++!++++!+++!++.= ", " $..+++++++++++++++!++++++...$ ", " $$=.............=$$ ", " ", " ", " ", " ", " ", " ", " ", " ", " " }; private static readonly string [] trashcan_open_xpm = new string [] { "64 80 17 1", " c None", ". c #030304", "+ c #5A5A5C", "@ c #323231", "# c #888888", "$ c #1E1E1F", "% c #767677", "& c #494949", "* c #9E9E9C", "= c #111111", "- c #3C3C3D", "; c #6B6B6B", "> c #949494", ", c #282828", "' c #808080", ") c #545454", "! c #AEAEAC", " ", " ", " ", " ", " ", " ", " .=.==.,@ ", " ==.,@-&&&)-= ", " .$@,&++;;;%>*- ", " $,-+)+++%%;;'#+. ", " =---+++++;%%%;%##@. ", " @)++++++++;%%%%'#%$ ", " $&++++++++++;%%;%##@= ", " ,-++++)+++++++;;;'#%) ", " @+++&&--&)++++;;%'#'-. ", " ,&++-@@,,,,-)++;;;'>'+, ", " =-++&@$@&&&&-&+;;;%##%+@ ", " =,)+)-,@@&+++++;;;;%##%&@ ", " @--&&,,@&)++++++;;;;'#)@ ", " ---&)-,@)+++++++;;;%''+, ", " $--&)+&$-+++++++;;;%%'';- ", " .,-&+++-$&++++++;;;%''%&= ", " $,-&)++)-@++++++;;%''%), ", " =,@&)++++&&+++++;%'''+$@&++++++ ", " .$@-++++++++++++;'#';,........=$@&++++ ", " =$@@&)+++++++++++'##-.................=&++ ", " .$$@-&)+++++++++;%#+$.....................=)+ ", " $$,@-)+++++++++;%;@=........................,+ ", " .$$@@-++++++++)-)@=............................ ", " $,@---)++++&)@===............................,. ", " $-@---&)))-$$=..............................=)!. ", " --&-&&,,$=,==...........................=&+++!. ", " =,=$..=$+)+++++&@$=.............=$@&+++++!++!. ", " .)-++-+++++++++++++++++++++++++++!++!++!. ", " .+-++-+++++++++++++++++++++++!+++!++!++!. ", " .+-++-+++-+++++++++!+++!!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " =+-++-+++-+++++++++!++++!++++!+++!++!+++= ", " $.++-+++-+++++++++!++++!++++!+++!++!+.$ ", " =.++++++++++++++!++++!++++!+++!++.= ", " $..+++++++++++++++!++++++...$ ", " $$==...........==$$ ", " ", " ", " ", " ", " ", " ", " ", " ", " " }; private static Pixbuf trashcan_open_pixbuf; private static Pixbuf trashcan_closed_pixbuf; private static bool have_drag; enum TargetType { String, RootWindow }; private static TargetEntry [] target_table = new TargetEntry [] { new TargetEntry ("STRING", 0, (uint) TargetType.String ), new TargetEntry ("text/plain", 0, (uint) TargetType.String), new TargetEntry ("application/x-rootwindow-drop", 0, (uint) TargetType.RootWindow) }; private static void HandleTargetDragLeave (object sender, DragLeaveArgs args) { Console.WriteLine ("leave"); have_drag = false; // FIXME? Kinda wonky binding. (sender as Gtk.Image).FromPixbuf = trashcan_closed_pixbuf; } private static void HandleTargetDragMotion (object sender, DragMotionArgs args) { if (! have_drag) { have_drag = true; // FIXME? Kinda wonky binding. (sender as Gtk.Image).FromPixbuf = trashcan_open_pixbuf; } Widget source_widget = Gtk.Drag.GetSourceWidget (args.Context); Console.WriteLine ("motion, source {0}", source_widget == null ? "null" : source_widget.ToString ()); Atom [] targets = args.Context.Targets; foreach (Atom a in targets) Console.WriteLine (a.Name); Gdk.Drag.Status (args.Context, args.Context.SuggestedAction, args.Time); args.RetVal = true; } private static void HandleTargetDragDrop (object sender, DragDropArgs args) { Console.WriteLine ("drop"); have_drag = false; (sender as Gtk.Image).FromPixbuf = trashcan_closed_pixbuf; #if BROKEN // Context.Targets is not defined in the bindings if (Context.Targets.Length != 0) { Drag.GetData (sender, context, Context.Targets.Data as Gdk.Atom, args.Time); args.RetVal = true; } #endif args.RetVal = false; } private static void HandleTargetDragDataReceived (object sender, DragDataReceivedArgs args) { if (args.SelectionData.Length >=0 && args.SelectionData.Format == 8) { Console.WriteLine ("Received {0} in trashcan", args.SelectionData); Gtk.Drag.Finish (args.Context, true, false, args.Time); } Gtk.Drag.Finish (args.Context, false, false, args.Time); } private static void HandleLabelDragDataReceived (object sender, DragDataReceivedArgs args) { if (args.SelectionData.Length >=0 && args.SelectionData.Format == 8) { Console.WriteLine ("Received {0} in label", args.SelectionData); Gtk.Drag.Finish (args.Context, true, false, args.Time); } Gtk.Drag.Finish (args.Context, false, false, args.Time); } private static void HandleSourceDragDataGet (object sender, DragDataGetArgs args) { if (args.Info == (uint) TargetType.RootWindow) Console.WriteLine ("I was dropped on the rootwin"); else args.SelectionData.Text = "I'm data!"; } // The following is a rather elaborate example demonstrating/testing // changing of the window heirarchy during a drag - in this case, // via a "spring-loaded" popup window. private static Gtk.Window popup_window = null; private static bool popped_up = false; private static bool in_popup = false; private static uint popdown_timer = 0; private static uint popup_timer = 0; private static bool HandlePopdownCallback () { popdown_timer = 0; popup_window.Hide (); popped_up = false; return false; } private static void HandlePopupMotion (object sender, DragMotionArgs args) { if (! in_popup) { in_popup = true; if (popdown_timer != 0) { Console.WriteLine ("removed popdown"); GLib.Source.Remove (popdown_timer); popdown_timer = 0; } } args.RetVal = true; } private static void HandlePopupLeave (object sender, DragLeaveArgs args) { if (in_popup) { in_popup = false; if (popdown_timer == 0) { Console.WriteLine ("added popdown"); popdown_timer = GLib.Timeout.Add (500, new TimeoutHandler (HandlePopdownCallback)); } } } private static bool HandlePopupCallback () { if (! popped_up) { if (popup_window == null) { Button button; Table table; popup_window = new Gtk.Window (Gtk.WindowType.Popup); popup_window.SetPosition (WindowPosition.Mouse); table = new Table (3, 3, false); for (int i = 0; i < 3; i++) for (int j = 0; j < 3; j++) { string label = String.Format ("{0},{1}", i, j); button = Button.NewWithLabel (label); table.Attach (button, (uint) i, (uint) i + 1, (uint) j, (uint) j + 1, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); Gtk.Drag.DestSet (button, DestDefaults.All, target_table, DragAction.Copy | DragAction.Move); button.DragMotion += new DragMotionHandler (HandlePopupMotion); button.DragLeave += new DragLeaveHandler (HandlePopupLeave); } table.ShowAll (); popup_window.Add (table); } popup_window.Show (); popped_up = true; } popdown_timer = GLib.Timeout.Add (500, new TimeoutHandler (HandlePopdownCallback)); popup_timer = 0; return false; } private static void HandlePopsiteMotion (object sender, DragMotionArgs args) { if (popup_timer == 0) popup_timer = GLib.Timeout.Add (500, new TimeoutHandler (HandlePopupCallback)); args.RetVal = true; } private static void HandlePopsiteLeave (object sender, DragLeaveArgs args) { if (popup_timer != 0) { GLib.Source.Remove (popup_timer); popup_timer = 0; } } private static void HandleSourceDragDataDelete (object sender, DragDataDeleteArgs args) { Console.WriteLine ("Delete the data!"); } public static void Main (string [] args) { Gtk.Window window; Table table; Label label; Gtk.Image pixmap; Button button; Pixbuf drag_icon_pixbuf; Application.Init (); window = new Gtk.Window (Gtk.WindowType.Toplevel); window.DeleteEvent += new DeleteEventHandler (OnDelete); table = new Table (2, 2, false); window.Add (table); // FIXME should get a string[], not a string. drag_icon_pixbuf = new Pixbuf (drag_icon_xpm); trashcan_open_pixbuf = new Pixbuf (trashcan_open_xpm); trashcan_closed_pixbuf = new Pixbuf (trashcan_closed_xpm); label = new Label ("Drop Here\n"); Gtk.Drag.DestSet (label, DestDefaults.All, target_table, DragAction.Copy | DragAction.Move); label.DragDataReceived += new DragDataReceivedHandler (HandleLabelDragDataReceived); table.Attach (label, 0, 1, 0, 1, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); label = new Label ("Popup\n"); Gtk.Drag.DestSet (label, DestDefaults.All, target_table, DragAction.Copy | DragAction.Move); table.Attach (label, 1, 2, 1, 2, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); label.DragMotion += new DragMotionHandler (HandlePopsiteMotion); label.DragLeave += new DragLeaveHandler (HandlePopsiteLeave); pixmap = new Gtk.Image (trashcan_closed_pixbuf); Gtk.Drag.DestSet (pixmap, 0, null, 0); table.Attach (pixmap, 1, 2, 0, 1, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); pixmap.DragLeave += new DragLeaveHandler (HandleTargetDragLeave); pixmap.DragMotion += new DragMotionHandler (HandleTargetDragMotion); pixmap.DragDrop += new DragDropHandler (HandleTargetDragDrop); pixmap.DragDataReceived += new DragDataReceivedHandler (HandleTargetDragDataReceived); button = new Button ("Drag Here\n"); Gtk.Drag.SourceSet (button, Gdk.ModifierType.Button1Mask | Gdk.ModifierType.Button3Mask, target_table, DragAction.Copy | DragAction.Move); // FIXME can I pass a pixbuf here instead? // Gtk.Drag.SourceSetIcon (button, window.Colormap, drag_icon, drag_mask); table.Attach (button, 0, 1, 1, 2, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); button.DragDataGet += new DragDataGetHandler (HandleSourceDragDataGet); button.DragDataDelete += new DragDataDeleteHandler (HandleSourceDragDataDelete); window.ShowAll (); Application.Run (); } private static void OnDelete (object o, DeleteEventArgs e) { Application.Quit (); } } gtk-sharp-2.12.10/sample/Size.cs0000644000175000001440000000230111131156732013210 00000000000000// Size.cs - struct marshalling test // // Author: Rachel Hestilow // // (c) 2002 Rachel Hestilow namespace GtkSamples { using Gtk; using Gdk; using System; public class SizeTest { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Hello World"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); win.SizeAllocated += new SizeAllocatedHandler (Size_Allocated); win.SizeRequested += new SizeRequestedHandler (Size_Requested); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void Size_Requested (object obj, SizeRequestedArgs args) { Requisition req = args.Requisition; Console.WriteLine ("Requesting 100 x 100"); req.Width = req.Height = 100; args.Requisition = req; } static void Size_Allocated (object obj, SizeAllocatedArgs args) { Rectangle rect = args.Allocation; if (rect.Width == 0 || rect.Height == 0) Console.WriteLine ("ERROR: Allocation is null!"); Console.WriteLine ("Size: ({0}, {1})", rect.Width, rect.Height); } } } gtk-sharp-2.12.10/sample/valtest/0000777000175000001440000000000011345266756013540 500000000000000gtk-sharp-2.12.10/sample/valtest/Makefile.am0000644000175000001440000000170311131156726015475 00000000000000noinst_SCRIPTS = valtest.exe lib_LTLIBRARIES = libvalobj.la assemblies=../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll references=$(addprefix /r:, $(assemblies)) valtest.exe: Valtest.cs Valobj.cs $(assemblies) $(CSC) /out:valtest.exe $(references) $(srcdir)/Valtest.cs Valobj.cs libvalobj_la_SOURCES = \ valobj.c \ valobj.h libvalobj_la_LDFLAGS = -module -avoid-version -no-undefined libvalobj_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) Valobj.cs: valobj-api.xml $(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml --include ../../gtk/gtk-api.xml ../../gdk/gdk-api.xml --outdir=. --assembly-name=valobj-sharp api: PATH=../../parser:$PATH $(RUNTIME) ../../parser/gapi-parser.exe valobj-sources.xml install: CLEANFILES = \ valtest.exe \ valtest.exe.mdb \ Valobj.cs EXTRA_DIST = \ Valtest.cs \ valobj-api.xml \ valobj-sources.xml gtk-sharp-2.12.10/sample/valtest/valobj.h0000644000175000001440000000761511131156726015077 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2000-2003, Ximian, Inc. */ #ifndef GTKSHARP_VALOBJ_H #define GTKSHARP_VALOBJ_H 1 #include #include #define GTKSHARP_TYPE_VALOBJ (gtksharp_valobj_get_type ()) #define GTKSHARP_VALOBJ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTKSHARP_TYPE_VALOBJ, GtksharpValobj)) #define GTKSHARP_VALOBJ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTKSHARP_TYPE_VALOBJ, GtksharpValobjClass)) #define GTKSHARP_IS_VALOBJ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTKSHARP_TYPE_VALOBJ)) #define GTKSHARP_IS_VALOBJ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTKSHARP_TYPE_VALOBJ)) #define GTKSHARP_VALOBJ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTKSHARP_TYPE_VALOBJ, GtksharpValobjClass)) typedef struct { GObject parent; /*< private >*/ gboolean the_boolean; int the_int; guint the_uint; gint64 the_int64; guint64 the_uint64; gunichar the_unichar; GtkArrowType the_enum; GtkAttachOptions the_flags; float the_float; double the_double; char *the_string; GdkRectangle the_rect; gpointer the_pointer; GtkWidget *the_object; } GtksharpValobj; typedef struct { GObjectClass parent_class; } GtksharpValobjClass; GType gtksharp_valobj_get_type (void); GtksharpValobj *gtksharp_valobj_new (void); gboolean gtksharp_valobj_get_boolean (GtksharpValobj *valobj); void gtksharp_valobj_set_boolean (GtksharpValobj *valobj, gboolean val); int gtksharp_valobj_get_int (GtksharpValobj *valobj); void gtksharp_valobj_set_int (GtksharpValobj *valobj, int val); guint gtksharp_valobj_get_uint (GtksharpValobj *valobj); void gtksharp_valobj_set_uint (GtksharpValobj *valobj, guint val); gint64 gtksharp_valobj_get_int64 (GtksharpValobj *valobj); void gtksharp_valobj_set_int64 (GtksharpValobj *valobj, gint64 val); guint64 gtksharp_valobj_get_uint64 (GtksharpValobj *valobj); void gtksharp_valobj_set_uint64 (GtksharpValobj *valobj, guint64 val); gunichar gtksharp_valobj_get_unichar (GtksharpValobj *valobj); void gtksharp_valobj_set_unichar (GtksharpValobj *valobj, gunichar val); GtkArrowType gtksharp_valobj_get_enum (GtksharpValobj *valobj); void gtksharp_valobj_set_enum (GtksharpValobj *valobj, GtkArrowType val); GtkAttachOptions gtksharp_valobj_get_flags (GtksharpValobj *valobj); void gtksharp_valobj_set_flags (GtksharpValobj *valobj, GtkAttachOptions val); float gtksharp_valobj_get_float (GtksharpValobj *valobj); void gtksharp_valobj_set_float (GtksharpValobj *valobj, float val); double gtksharp_valobj_get_double (GtksharpValobj *valobj); void gtksharp_valobj_set_double (GtksharpValobj *valobj, double val); char *gtksharp_valobj_get_string (GtksharpValobj *valobj); void gtksharp_valobj_set_string (GtksharpValobj *valobj, const char *val); GdkRectangle *gtksharp_valobj_get_boxed (GtksharpValobj *valobj); void gtksharp_valobj_set_boxed (GtksharpValobj *valobj, GdkRectangle *val); gpointer gtksharp_valobj_get_pointer (GtksharpValobj *valobj); void gtksharp_valobj_set_pointer (GtksharpValobj *valobj, gpointer val); GtkWidget *gtksharp_valobj_get_object (GtksharpValobj *valobj); void gtksharp_valobj_set_object (GtksharpValobj *valobj, GtkWidget *val); #endif /* GTKSHARP_VALOBJ_H */ gtk-sharp-2.12.10/sample/valtest/valtest.exe.config.in0000644000175000001440000000016211131156726017475 00000000000000 gtk-sharp-2.12.10/sample/valtest/valobj-api.xml0000644000175000001440000001712411131156726016213 00000000000000 gtk-sharp-2.12.10/sample/valtest/valobj.c0000644000175000001440000002401011131156726015056 00000000000000/* valobj.c: An object with properties of each possible type * * Copyright (c) 2005 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include "valobj.h" G_DEFINE_TYPE (GtksharpValobj, gtksharp_valobj, G_TYPE_OBJECT) /* We actually don't do properties of type PARAM, VALUE_ARRAY, or OVERRIDE */ enum { PROP_0, PROP_BOOLEAN, PROP_INT, PROP_UINT, PROP_INT64, PROP_UINT64, PROP_UNICHAR, PROP_ENUM, PROP_FLAGS, PROP_FLOAT, PROP_DOUBLE, PROP_STRING, PROP_BOXED, PROP_POINTER, PROP_OBJECT, LAST_PROP }; static void set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void gtksharp_valobj_init (GtksharpValobj *sock) { } static void gtksharp_valobj_class_init (GtksharpValobjClass *valobj_class) { GObjectClass *object_class = G_OBJECT_CLASS (valobj_class); /* virtual method override */ object_class->set_property = set_property; object_class->get_property = get_property; /* properties */ g_object_class_install_property ( object_class, PROP_BOOLEAN, g_param_spec_boolean ("boolean_prop", "Boolean", "boolean property", FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_INT, g_param_spec_int ("int_prop", "Int", "int property", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_UINT, g_param_spec_uint ("uint_prop", "Unsigned Int", "uint property", 0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_INT64, g_param_spec_int64 ("int64_prop", "Int64", "int64 property", G_MININT64, G_MAXINT64, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_UINT64, g_param_spec_uint64 ("uint64_prop", "Unsigned Int64", "uint64 property", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_UNICHAR, g_param_spec_unichar ("unichar_prop", "Unichar", "unichar property", (gunichar)' ', G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_ENUM, g_param_spec_enum ("enum_prop", "Enum", "enum property", GTK_TYPE_ARROW_TYPE, GTK_ARROW_UP, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_FLAGS, g_param_spec_flags ("flags_prop", "Flags", "flags property", GTK_TYPE_ATTACH_OPTIONS, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_FLOAT, g_param_spec_float ("float_prop", "Float", "float property", -G_MAXFLOAT, G_MAXFLOAT, 0.0f, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_DOUBLE, g_param_spec_double ("double_prop", "Double", "double property", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0f, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_STRING, g_param_spec_string ("string_prop", "String", "string property", "foo", G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_BOXED, g_param_spec_boxed ("boxed_prop", "Boxed", "boxed property", GDK_TYPE_RECTANGLE, G_PARAM_READWRITE)); g_object_class_install_property ( object_class, PROP_POINTER, g_param_spec_pointer ("pointer_prop", "Pointer", "pointer property", G_PARAM_READWRITE)); g_object_class_install_property ( object_class, PROP_OBJECT, g_param_spec_object ("object_prop", "Object", "object property", GTK_TYPE_WIDGET, G_PARAM_READWRITE)); } static void set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GtksharpValobj *valobj = GTKSHARP_VALOBJ (object); switch (prop_id) { case PROP_BOOLEAN: valobj->the_boolean = g_value_get_boolean (value); break; case PROP_INT: valobj->the_int = g_value_get_int (value); break; case PROP_UINT: valobj->the_uint = g_value_get_uint (value); break; case PROP_INT64: valobj->the_int64 = g_value_get_int64 (value); break; case PROP_UINT64: valobj->the_uint64 = g_value_get_uint64 (value); break; case PROP_UNICHAR: valobj->the_unichar = (gunichar)g_value_get_uint (value); break; case PROP_ENUM: valobj->the_enum = g_value_get_enum (value); break; case PROP_FLAGS: valobj->the_flags = g_value_get_flags (value); break; case PROP_FLOAT: valobj->the_float = g_value_get_float (value); break; case PROP_DOUBLE: valobj->the_double = g_value_get_double (value); break; case PROP_STRING: if (valobj->the_string) g_free (valobj->the_string); valobj->the_string = g_value_dup_string (value); break; case PROP_BOXED: valobj->the_rect = *(GdkRectangle *)g_value_get_boxed (value); break; case PROP_POINTER: valobj->the_pointer = g_value_get_pointer (value); break; case PROP_OBJECT: if (valobj->the_object) g_object_unref (valobj->the_object); valobj->the_object = (GtkWidget *)g_value_dup_object (value); break; default: break; } } static void get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GtksharpValobj *valobj = GTKSHARP_VALOBJ (object); switch (prop_id) { case PROP_BOOLEAN: g_value_set_boolean (value, valobj->the_boolean); break; case PROP_INT: g_value_set_int (value, valobj->the_int); break; case PROP_UINT: g_value_set_uint (value, valobj->the_uint); break; case PROP_INT64: g_value_set_int64 (value, valobj->the_int64); break; case PROP_UINT64: g_value_set_uint64 (value, valobj->the_uint64); break; case PROP_UNICHAR: g_value_set_uint (value, (guint)valobj->the_unichar); break; case PROP_ENUM: g_value_set_enum (value, valobj->the_enum); break; case PROP_FLAGS: g_value_set_flags (value, valobj->the_flags); break; case PROP_FLOAT: g_value_set_float (value, valobj->the_float); break; case PROP_DOUBLE: g_value_set_double (value, valobj->the_double); break; case PROP_STRING: g_value_set_string (value, valobj->the_string); break; case PROP_BOXED: g_value_set_boxed (value, &valobj->the_rect); break; case PROP_POINTER: g_value_set_pointer (value, valobj->the_pointer); break; case PROP_OBJECT: g_value_set_object (value, valobj->the_object); break; default: break; } } GtksharpValobj * gtksharp_valobj_new (void) { return g_object_new (GTKSHARP_TYPE_VALOBJ, NULL); } gboolean gtksharp_valobj_get_boolean (GtksharpValobj *valobj) { return valobj->the_boolean; } void gtksharp_valobj_set_boolean (GtksharpValobj *valobj, gboolean val) { valobj->the_boolean = val; } int gtksharp_valobj_get_int (GtksharpValobj *valobj) { return valobj->the_int; } void gtksharp_valobj_set_int (GtksharpValobj *valobj, int val) { valobj->the_int = val; } guint gtksharp_valobj_get_uint (GtksharpValobj *valobj) { return valobj->the_uint; } void gtksharp_valobj_set_uint (GtksharpValobj *valobj, guint val) { valobj->the_uint = val; } gint64 gtksharp_valobj_get_int64 (GtksharpValobj *valobj) { return valobj->the_int64; } void gtksharp_valobj_set_int64 (GtksharpValobj *valobj, gint64 val) { valobj->the_int64 = val; } guint64 gtksharp_valobj_get_uint64 (GtksharpValobj *valobj) { return valobj->the_uint64; } void gtksharp_valobj_set_uint64 (GtksharpValobj *valobj, guint64 val) { valobj->the_uint64 = val; } gunichar gtksharp_valobj_get_unichar (GtksharpValobj *valobj) { return valobj->the_unichar; } void gtksharp_valobj_set_unichar (GtksharpValobj *valobj, gunichar val) { valobj->the_unichar = val; } GtkArrowType gtksharp_valobj_get_enum (GtksharpValobj *valobj) { return valobj->the_enum; } void gtksharp_valobj_set_enum (GtksharpValobj *valobj, GtkArrowType val) { valobj->the_enum = val; } GtkAttachOptions gtksharp_valobj_get_flags (GtksharpValobj *valobj) { return valobj->the_flags; } void gtksharp_valobj_set_flags (GtksharpValobj *valobj, GtkAttachOptions val) { valobj->the_flags = val; } float gtksharp_valobj_get_float (GtksharpValobj *valobj) { return valobj->the_float; } void gtksharp_valobj_set_float (GtksharpValobj *valobj, float val) { valobj->the_float = val; } double gtksharp_valobj_get_double (GtksharpValobj *valobj) { return valobj->the_double; } void gtksharp_valobj_set_double (GtksharpValobj *valobj, double val) { valobj->the_double = val; } char * gtksharp_valobj_get_string (GtksharpValobj *valobj) { return valobj->the_string; } void gtksharp_valobj_set_string (GtksharpValobj *valobj, const char *val) { if (valobj->the_string) g_free (valobj->the_string); valobj->the_string = g_strdup (val); } GdkRectangle * gtksharp_valobj_get_boxed (GtksharpValobj *valobj) { return &valobj->the_rect; } void gtksharp_valobj_set_boxed (GtksharpValobj *valobj, GdkRectangle *val) { valobj->the_rect = *val; } gpointer gtksharp_valobj_get_pointer (GtksharpValobj *valobj) { return valobj->the_pointer; } void gtksharp_valobj_set_pointer (GtksharpValobj *valobj, gpointer val) { valobj->the_pointer = val; } GtkWidget * gtksharp_valobj_get_object (GtksharpValobj *valobj) { return valobj->the_object; } void gtksharp_valobj_set_object (GtksharpValobj *valobj, GtkWidget *val) { if (valobj->the_object) g_object_unref (valobj->the_object); valobj->the_object = g_object_ref (val); } gtk-sharp-2.12.10/sample/valtest/valobj-sources.xml0000644000175000001440000000030611131156726017117 00000000000000 . gtk-sharp-2.12.10/sample/valtest/Makefile.in0000644000175000001440000004146211345266365015524 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/valtest DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/valtest.exe.config.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = valtest.exe.config am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libvalobj_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libvalobj_la_OBJECTS = valobj.lo libvalobj_la_OBJECTS = $(am_libvalobj_la_OBJECTS) libvalobj_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libvalobj_la_LDFLAGS) $(LDFLAGS) -o $@ SCRIPTS = $(noinst_SCRIPTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libvalobj_la_SOURCES) DIST_SOURCES = $(libvalobj_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_SCRIPTS = valtest.exe lib_LTLIBRARIES = libvalobj.la assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll references = $(addprefix /r:, $(assemblies)) libvalobj_la_SOURCES = \ valobj.c \ valobj.h libvalobj_la_LDFLAGS = -module -avoid-version -no-undefined libvalobj_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) CLEANFILES = \ valtest.exe \ valtest.exe.mdb \ Valobj.cs EXTRA_DIST = \ Valtest.cs \ valobj-api.xml \ valobj-sources.xml all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/valtest/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/valtest/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh valtest.exe.config: $(top_builddir)/config.status $(srcdir)/valtest.exe.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libvalobj.la: $(libvalobj_la_OBJECTS) $(libvalobj_la_DEPENDENCIES) $(libvalobj_la_LINK) -rpath $(libdir) $(libvalobj_la_OBJECTS) $(libvalobj_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valobj.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES valtest.exe: Valtest.cs Valobj.cs $(assemblies) $(CSC) /out:valtest.exe $(references) $(srcdir)/Valtest.cs Valobj.cs Valobj.cs: valobj-api.xml $(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml --include ../../gtk/gtk-api.xml ../../gdk/gdk-api.xml --outdir=. --assembly-name=valobj-sharp api: PATH=../../parser:$PATH $(RUNTIME) ../../parser/gapi-parser.exe valobj-sources.xml install: # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/sample/valtest/Valtest.cs0000644000175000001440000002472511131156726015423 00000000000000// Valtest.cs: GLib.Value regression test // // Copyright (c) 2005 Novell, Inc. using Gtksharp; using System; public class Valtest { static int errors = 0; const bool BOOL_VAL = true; const int INT_VAL = -73523; const uint UINT_VAL = 99999U; const long INT64_VAL = -5000000000; const ulong UINT64_VAL = 5000000000U; const char UNICHAR_VAL = '\x20AC'; // euro const Gtk.ArrowType ENUM_VAL = Gtk.ArrowType.Left; const Gtk.AttachOptions FLAGS_VAL = Gtk.AttachOptions.Expand | Gtk.AttachOptions.Fill; const float FLOAT_VAL = 1.5f; const double DOUBLE_VAL = Math.PI; const string STRING_VAL = "This is a test"; static Gdk.Rectangle BOXED_VAL; static IntPtr POINTER_VAL; static Gtk.Widget OBJECT_VAL; public static int Main () { Gtk.Application.Init (); BOXED_VAL = new Gdk.Rectangle (1, 2, 3, 4); POINTER_VAL = (IntPtr) System.Runtime.InteropServices.GCHandle.Alloc ("foo"); OBJECT_VAL = new Gtk.DrawingArea (); // Part 1: Make sure values of all types round-trip correctly within Gtk# GLib.Value val; try { val = new GLib.Value (BOOL_VAL); if ((bool)val != BOOL_VAL) CVError ("boolean cast", BOOL_VAL, (bool)val, val.Val); if ((bool)val.Val != BOOL_VAL) CVError ("boolean Val", BOOL_VAL, (bool)val, val.Val); } catch (Exception e) { ExceptionError ("boolean", e); } try { val = new GLib.Value (INT_VAL); if ((int)val != INT_VAL) CVError ("int cast", INT_VAL, (int)val, val.Val); if ((int)val.Val != INT_VAL) CVError ("int Val", INT_VAL, (int)val, val.Val); } catch (Exception e) { ExceptionError ("int", e); } try { val = new GLib.Value (UINT_VAL); if ((uint)val != UINT_VAL) CVError ("uint cast", UINT_VAL, (uint)val, val.Val); if ((uint)val.Val != UINT_VAL) CVError ("uint Val", UINT_VAL, (uint)val, val.Val); } catch (Exception e) { ExceptionError ("uint", e); } try { val = new GLib.Value (INT64_VAL); if ((long)val != INT64_VAL) CVError ("int64 cast", INT64_VAL, (long)val, val.Val); if ((long)val.Val != INT64_VAL) CVError ("int64 Val", INT64_VAL, (long)val, val.Val); } catch (Exception e) { ExceptionError ("int64", e); } try { val = new GLib.Value (UINT64_VAL); if ((ulong)val != UINT64_VAL) CVError ("uint64 cast", UINT64_VAL, (ulong)val, val.Val); if ((ulong)val.Val != UINT64_VAL) CVError ("uint64 Val", UINT64_VAL, (ulong)val, val.Val); } catch (Exception e) { ExceptionError ("uint64", e); } // gunichar doesn't have its own GValue type, it shares with guint try { val = new GLib.Value (ENUM_VAL); if ((Gtk.ArrowType)(Enum)val != ENUM_VAL) CVError ("enum cast", ENUM_VAL, (Gtk.ArrowType)(Enum)val, val.Val); if ((Gtk.ArrowType)(Enum)val.Val != ENUM_VAL) CVError ("enum Val", ENUM_VAL, (Gtk.ArrowType)(Enum)val, val.Val); } catch (Exception e) { ExceptionError ("enum", e); } try { val = new GLib.Value (FLAGS_VAL); if ((Gtk.AttachOptions)(Enum)val != FLAGS_VAL) CVError ("flags cast", FLAGS_VAL, (Gtk.AttachOptions)(Enum)val, val.Val); if ((Gtk.AttachOptions)(Enum)val.Val != FLAGS_VAL) CVError ("flags Val", FLAGS_VAL, (Gtk.AttachOptions)(Enum)val, val.Val); } catch (Exception e) { ExceptionError ("flags", e); } try { val = new GLib.Value (FLOAT_VAL); if ((float)val != FLOAT_VAL) CVError ("float cast", FLOAT_VAL, (float)val, val.Val); if ((float)val.Val != FLOAT_VAL) CVError ("float Val", FLOAT_VAL, (float)val, val.Val); } catch (Exception e) { ExceptionError ("float", e); } try { val = new GLib.Value (DOUBLE_VAL); if ((double)val != DOUBLE_VAL) CVError ("double cast", DOUBLE_VAL, (double)val, val.Val); if ((double)val.Val != DOUBLE_VAL) CVError ("double Val", DOUBLE_VAL, (double)val, val.Val); } catch (Exception e) { ExceptionError ("double", e); } try { val = new GLib.Value (STRING_VAL); if ((string)val != STRING_VAL) CVError ("string cast", STRING_VAL, (string)val, val.Val); if ((string)val.Val != STRING_VAL) CVError ("string Val", STRING_VAL, (string)val, val.Val); } catch (Exception e) { ExceptionError ("string", e); } try { val = new GLib.Value (BOXED_VAL); if ((Gdk.Rectangle)val != BOXED_VAL) CVError ("boxed cast", BOXED_VAL, (Gdk.Rectangle)val, val.Val); // Can't currently use .Val on boxed types } catch (Exception e) { ExceptionError ("boxed", e); } try { val = new GLib.Value (POINTER_VAL); if ((IntPtr)val != POINTER_VAL) CVError ("pointer cast", POINTER_VAL, (IntPtr)val, val.Val); if ((IntPtr)val.Val != POINTER_VAL) CVError ("pointer Val", POINTER_VAL, (IntPtr)val, val.Val); } catch (Exception e) { ExceptionError ("pointer", e); } try { val = new GLib.Value (OBJECT_VAL); if ((Gtk.DrawingArea)val != OBJECT_VAL) CVError ("object cast", OBJECT_VAL, (Gtk.DrawingArea)val, val.Val); if ((Gtk.DrawingArea)val.Val != OBJECT_VAL) CVError ("object Val", OBJECT_VAL, (Gtk.DrawingArea)val, val.Val); } catch (Exception e) { ExceptionError ("object", e); } // Test ManagedValue Structtest st = new Structtest (5, "foo"); try { val = new GLib.Value (st); // No direct GLib.Value -> ManagedValue cast Structtest st2 = (Structtest)val.Val; if (st.Int != st2.Int || st.String != st2.String) CVError ("ManagedValue Val", st, (Gtk.DrawingArea)val, val.Val); } catch (Exception e) { ExceptionError ("ManagedValue", e); } // Part 2: method->unmanaged->property round trip Valobj vo; vo = new Valobj (); vo.Boolean = BOOL_VAL; if (vo.BooleanProp != BOOL_VAL) MPError ("boolean method->prop", BOOL_VAL, vo.Boolean, vo.BooleanProp); vo.Int = INT_VAL; if (vo.IntProp != INT_VAL) MPError ("int method->prop", INT_VAL, vo.Int, vo.IntProp); vo.Uint = UINT_VAL; if (vo.UintProp != UINT_VAL) MPError ("uint method->prop", UINT_VAL, vo.Uint, vo.UintProp); vo.Int64 = INT64_VAL; if (vo.Int64Prop != INT64_VAL) MPError ("int64 method->prop", INT64_VAL, vo.Int64, vo.Int64Prop); vo.Uint64 = UINT64_VAL; if (vo.Uint64Prop != UINT64_VAL) MPError ("uint64 method->prop", UINT64_VAL, vo.Uint64, vo.Uint64Prop); vo.Unichar = UNICHAR_VAL; if (vo.UnicharProp != UNICHAR_VAL) MPError ("unichar method->prop", UNICHAR_VAL, vo.Unichar, vo.UnicharProp); vo.Enum = ENUM_VAL; if (vo.EnumProp != ENUM_VAL) MPError ("enum method->prop", ENUM_VAL, vo.Enum, vo.EnumProp); vo.Flags = FLAGS_VAL; if (vo.FlagsProp != (FLAGS_VAL)) MPError ("flags method->prop", FLAGS_VAL, vo.Flags, vo.FlagsProp); vo.Float = FLOAT_VAL; if (vo.FloatProp != FLOAT_VAL) MPError ("float method->prop", FLOAT_VAL, vo.Float, vo.FloatProp); vo.Double = DOUBLE_VAL; if (vo.DoubleProp != DOUBLE_VAL) MPError ("double method->prop", DOUBLE_VAL, vo.Double, vo.DoubleProp); vo.String = STRING_VAL; if (vo.StringProp != STRING_VAL) MPError ("string method->prop", STRING_VAL, vo.String, vo.StringProp); vo.Boxed = BOXED_VAL; if (vo.BoxedProp != BOXED_VAL) MPError ("boxed method->prop", BOXED_VAL, vo.Boxed, vo.BoxedProp); vo.Pointer = POINTER_VAL; if (vo.PointerProp != POINTER_VAL) MPError ("pointer method->prop", POINTER_VAL, vo.Pointer, vo.PointerProp); vo.Object = OBJECT_VAL; if (vo.ObjectProp != OBJECT_VAL) { MPError ("object method->prop", OBJECT_VAL.GetType().Name + " " + OBJECT_VAL.GetHashCode (), vo.Object == null ? "null" : vo.Object.GetType().Name + " " + vo.Object.GetHashCode (), vo.ObjectProp == null ? "null" : vo.ObjectProp.GetType().Name + " " + vo.ObjectProp.GetHashCode ()); } // Part 3: property->unmanaged->method round trip vo = new Valobj (); vo.BooleanProp = BOOL_VAL; if (vo.Boolean != BOOL_VAL) MPError ("boolean prop->method", BOOL_VAL, vo.Boolean, vo.BooleanProp); vo.IntProp = INT_VAL; if (vo.Int != INT_VAL) MPError ("int prop->method", INT_VAL, vo.Int, vo.IntProp); vo.UintProp = UINT_VAL; if (vo.Uint != UINT_VAL) MPError ("uint prop->method", UINT_VAL, vo.Uint, vo.UintProp); vo.Int64Prop = INT64_VAL; if (vo.Int64 != INT64_VAL) MPError ("int64 prop->method", INT64_VAL, vo.Int64, vo.Int64Prop); vo.Uint64Prop = UINT64_VAL; if (vo.Uint64 != UINT64_VAL) MPError ("uint64 prop->method", UINT64_VAL, vo.Uint64, vo.Uint64Prop); vo.UnicharProp = UNICHAR_VAL; if (vo.Unichar != UNICHAR_VAL) MPError ("unichar prop->method", UNICHAR_VAL, vo.Unichar, vo.UnicharProp); vo.EnumProp = ENUM_VAL; if (vo.Enum != ENUM_VAL) MPError ("enum prop->method", ENUM_VAL, vo.Enum, vo.EnumProp); vo.FlagsProp = FLAGS_VAL; if (vo.Flags != (FLAGS_VAL)) MPError ("flags prop->method", FLAGS_VAL, vo.Flags, vo.FlagsProp); vo.FloatProp = FLOAT_VAL; if (vo.Float != FLOAT_VAL) MPError ("float prop->method", FLOAT_VAL, vo.Float, vo.FloatProp); vo.DoubleProp = DOUBLE_VAL; if (vo.Double != DOUBLE_VAL) MPError ("double prop->method", DOUBLE_VAL, vo.Double, vo.DoubleProp); vo.StringProp = STRING_VAL; if (vo.String != STRING_VAL) MPError ("string prop->method", STRING_VAL, vo.String, vo.StringProp); vo.BoxedProp = BOXED_VAL; if (vo.Boxed != BOXED_VAL) MPError ("boxed prop->method", BOXED_VAL, vo.Boxed, vo.BoxedProp); vo.PointerProp = POINTER_VAL; if (vo.Pointer != POINTER_VAL) MPError ("pointer prop->method", POINTER_VAL, vo.Pointer, vo.PointerProp); vo.ObjectProp = OBJECT_VAL; if (vo.Object != OBJECT_VAL) { MPError ("object prop->method", OBJECT_VAL.GetType().Name + " " + OBJECT_VAL.GetHashCode (), vo.Object == null ? "null" : vo.Object.GetType().Name + " " + vo.Object.GetHashCode (), vo.ObjectProp == null ? "null" : vo.ObjectProp.GetType().Name + " " + vo.ObjectProp.GetHashCode ()); } Console.WriteLine ("{0} errors", errors); return errors; } static void CVError (string test, object expected, object cast, object value) { Console.Error.WriteLine ("Failed test {0}. Expected '{1}', got '{2}' from cast, '{3}' from Value", test, expected, cast, value); errors++; } static void ExceptionError (string test, Exception e) { Console.Error.WriteLine ("Exception in test {0}: {1}", test, e.Message); errors++; } static void MPError (string test, object expected, object method, object prop) { Console.Error.WriteLine ("Failed test {0}. Expected '{1}', got '{2}' from method, '{3}' from prop", test, expected, method, prop); errors++; } } public struct Structtest { public int Int; public string String; public Structtest (int Int, string String) { this.Int = Int; this.String = String; } public override string ToString () { return Int.ToString () + "/" + String.ToString (); } } gtk-sharp-2.12.10/sample/test.glade0000644000175000001440000000625311131156732013736 00000000000000 True Glade# test GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True False 0 True True _File True True gtk-quit True 0 False False True True Click here True GTK_RELIEF_NORMAL 0 False False True True Don't click here True GTK_RELIEF_NORMAL 0 False False gtk-sharp-2.12.10/sample/opaquetest/0000777000175000001440000000000011345266756014250 500000000000000gtk-sharp-2.12.10/sample/opaquetest/Makefile.am0000644000175000001440000000213111131156726016201 00000000000000noinst_SCRIPTS = opaquetest.exe lib_LTLIBRARIES = libopaque.la assemblies=../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll references=$(addprefix /r:, $(assemblies)) opaquetest.exe: OpaqueTest.cs generated/*.cs $(assemblies) $(CSC) /out:opaquetest.exe $(references) $(srcdir)/OpaqueTest.cs $(GENERATED_SOURCES) libopaque_la_SOURCES = \ opaques.c \ opaques.h libopaque_la_LDFLAGS = -module -avoid-version -no-undefined libopaque_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) generated/*.cs: opaque-api.xml $(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/opaque-api.xml --include ../../gtk/gtk-api.xml ../../gdk/gdk-api.xml --outdir=generated --assembly-name=opaque-sharp api: PATH=../../parser:$PATH $(RUNTIME) ../../parser/gapi-parser.exe opaque-sources.xml $(RUNTIME) ../../parser/gapi-fixup.exe --metadata=Opaque.metadata --api=opaque-api.xml install: CLEANFILES = \ opaquetest.exe \ opaquetest.exe.mdb \ generated/*.cs EXTRA_DIST = \ OpaqueTest.cs \ opaque-api.xml \ opaque-sources.xml gtk-sharp-2.12.10/sample/opaquetest/opaque-sources.xml0000644000175000001440000000030611131156726017644 00000000000000 . gtk-sharp-2.12.10/sample/opaquetest/opaque-api.xml0000644000175000001440000001172611131156726016742 00000000000000 gtk-sharp-2.12.10/sample/opaquetest/opaques.h0000644000175000001440000000461311131156726016002 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2000-2003, Ximian, Inc. */ #ifndef GTKSHARP_OPAQUES_H #define GTKSHARP_OPAQUES_H 1 #include typedef void (*GtksharpGCFunc) (void); typedef struct GtksharpOpaque GtksharpOpaque; struct GtksharpOpaque { int serial; gboolean valid; GtksharpOpaque *friend; }; typedef GtksharpOpaque *(*GtksharpOpaqueReturnFunc) (void); GtksharpOpaque *gtksharp_opaque_new (void); int gtksharp_opaque_get_serial (GtksharpOpaque *op); void gtksharp_opaque_set_friend (GtksharpOpaque *op, GtksharpOpaque *friend); GtksharpOpaque *gtksharp_opaque_get_friend (GtksharpOpaque *op); GtksharpOpaque *gtksharp_opaque_copy (GtksharpOpaque *op); void gtksharp_opaque_free (GtksharpOpaque *op); GtksharpOpaque *gtksharp_opaque_check (GtksharpOpaqueReturnFunc func, GtksharpGCFunc gc); GtksharpOpaque *gtksharp_opaque_check_free (GtksharpOpaqueReturnFunc func, GtksharpGCFunc gc); int gtksharp_opaque_get_last_serial (void); typedef struct GtksharpRefcounted GtksharpRefcounted; struct GtksharpRefcounted { int serial, refcount; gboolean valid; GtksharpRefcounted *friend; }; typedef GtksharpRefcounted *(*GtksharpRefcountedReturnFunc) (void); GtksharpRefcounted *gtksharp_refcounted_new (void); int gtksharp_refcounted_get_serial (GtksharpRefcounted *ref); void gtksharp_refcounted_ref (GtksharpRefcounted *ref); void gtksharp_refcounted_unref (GtksharpRefcounted *ref); int gtksharp_refcounted_get_refcount (GtksharpRefcounted *ref); void gtksharp_refcounted_set_friend (GtksharpRefcounted *ref, GtksharpRefcounted *friend); GtksharpRefcounted *gtksharp_refcounted_get_friend (GtksharpRefcounted *ref); GtksharpRefcounted *gtksharp_refcounted_check (GtksharpRefcountedReturnFunc func, GtksharpGCFunc gc); GtksharpRefcounted *gtksharp_refcounted_check_unref (GtksharpRefcountedReturnFunc func, GtksharpGCFunc gc); int gtksharp_refcounted_get_last_serial (void); gboolean gtksharp_opaquetest_get_error (void); void gtksharp_opaquetest_set_error (gboolean err); void gtksharp_opaquetest_set_expect_error (gboolean err); #endif /* GTKSHARP_OPAQUES_H */ gtk-sharp-2.12.10/sample/opaquetest/opaquetest.exe.config.in0000644000175000001440000000016211131156726020715 00000000000000 gtk-sharp-2.12.10/sample/opaquetest/OpaqueTest.cs0000644000175000001440000002335511131156726016601 00000000000000// Opaquetest.cs: GLib.Opaque regression test // // Copyright (c) 2005 Novell, Inc. using Gtksharp; using System; public class OpaqueTest { static int errors = 0; static void GC () { System.GC.Collect (); System.GC.WaitForPendingFinalizers (); System.GC.Collect (); System.GC.WaitForPendingFinalizers (); } public static int Main () { Gtk.Application.Init (); TestOpaque (); Console.WriteLine (); TestRefcounted (); Console.WriteLine (); Console.WriteLine ("{0} errors", errors); return errors; } static Opaque ret_op; static Opaque ReturnOpaque () { return ret_op; } static void TestOpaque () { Opaque op, op1; IntPtr handle; Console.WriteLine ("Testing Opaque new/free"); op = new Opaque (); if (!op.Owned) Error ("Newly-created Opaque is not Owned"); handle = op.Handle; op.Dispose (); op = new Opaque (handle); if (op.Owned) Error ("IntPtr-created Opaque is Owned"); if (Opaquetest.Error) Error ("Memory error after initial new/free."); Opaquetest.ExpectError = true; if (op.Serial != Opaque.LastSerial) Error ("Serial mismatch. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); if (!Opaquetest.Error) Error ("Opaque not properly freed."); op.Dispose (); if (Opaquetest.Error) Error ("Opaque created from IntPtr was freed by gtk#"); Console.WriteLine ("Testing Opaque copy/free"); op = new Opaque (); op1 = op.Copy (); handle = op1.Handle; op.Dispose (); op1.Dispose (); if (Opaquetest.Error) Error ("Memory error after initial copy/free."); op = new Opaque (handle); Opaquetest.ExpectError = true; if (op.Serial != Opaque.LastSerial) Error ("Serial mismatch. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); if (!Opaquetest.Error) Error ("Opaque not properly freed."); op.Dispose (); if (Opaquetest.Error) Error ("Opaque created from IntPtr was freed by gtk#"); Console.WriteLine ("Testing non-owned return."); op = new Opaque (); op1 = new Opaque (); op.Friend = op1; if (Opaquetest.Error) Error ("Memory error after setting op.Friend."); op1 = op.Friend; if (op1.Serial != Opaque.LastSerial || Opaquetest.Error) Error ("Error reading op.Friend. Expected {0}, Got {1}", Opaque.LastSerial, op1.Serial); if (!op1.Owned) Error ("op1 not Owned after being read off op.Friend"); op.Dispose (); op1.Dispose (); if (Opaquetest.Error) Error ("Memory error after freeing op and op1."); Console.WriteLine ("Testing returning a Gtk#-owned opaque from C# to C"); ret_op = new Opaque (); op = Opaque.Check (new Gtksharp.OpaqueReturnFunc (ReturnOpaque), new Gtksharp.GCFunc (GC)); if (op.Serial != Opaque.LastSerial || Opaquetest.Error) Error ("Error during Opaque.Check. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); op.Dispose (); if (Opaquetest.Error) Error ("Memory error after clearing op."); Console.WriteLine ("Testing returning a Gtk#-owned opaque to a C method that will free it"); ret_op = new Opaque (); op = Opaque.CheckFree (new Gtksharp.OpaqueReturnFunc (ReturnOpaque), new Gtksharp.GCFunc (GC)); if (Opaquetest.Error) Error ("Error during Opaque.CheckFree."); Opaquetest.ExpectError = true; if (op.Serial != Opaque.LastSerial) Error ("Error during Opaque.CheckFree. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); if (!Opaquetest.Error) Error ("Didn't get expected error accessing op.Serial!"); Opaquetest.ExpectError = true; op.Dispose (); if (!Opaquetest.Error) Error ("Didn't get expected double free on op after CheckFree!"); Console.WriteLine ("Testing leaking a C-owned opaque"); ret_op = new Opaque (); ret_op.Owned = false; op = Opaque.Check (new Gtksharp.OpaqueReturnFunc (ReturnOpaque), new Gtksharp.GCFunc (GC)); if (op.Serial != Opaque.LastSerial || Opaquetest.Error) Error ("Error during Opaque.Check. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); handle = op.Handle; op.Dispose (); if (Opaquetest.Error) Error ("Memory error after disposing op."); op = new Opaque (handle); if (op.Serial != Opaque.LastSerial || Opaquetest.Error) Error ("Failed to leak op. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); Console.WriteLine ("Testing handing over a C-owned opaque to a C method that will free it"); ret_op = new Opaque (); ret_op.Owned = false; op = Opaque.CheckFree (new Gtksharp.OpaqueReturnFunc (ReturnOpaque), new Gtksharp.GCFunc (GC)); if (Opaquetest.Error) Error ("Error during Opaque.CheckFree."); Opaquetest.ExpectError = true; if (op.Serial != Opaque.LastSerial) Error ("Error during Opaque.CheckFree. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); if (!Opaquetest.Error) Error ("Didn't get expected error accessing op.Serial!"); op.Dispose (); if (Opaquetest.Error) Error ("Double free on op!"); } static Refcounted ret_ref; static Refcounted ReturnRefcounted () { return ret_ref; } static void TestRefcounted () { Refcounted ref1, ref2; IntPtr handle; Console.WriteLine ("Testing Refcounted new/free"); ref1 = new Refcounted (); if (!ref1.Owned) Error ("Newly-created Refcounted is not Owned"); handle = ref1.Handle; ref1.Dispose (); Opaquetest.ExpectError = true; ref1 = new Refcounted (handle); if (!Opaquetest.Error) Error ("Didn't get expected ref error resurrecting ref1."); if (!ref1.Owned) Error ("IntPtr-created Refcounted is not Owned"); Opaquetest.ExpectError = true; if (ref1.Serial != Refcounted.LastSerial) Error ("Serial mismatch. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); // We caused it to take a ref on the "freed" underlying object, so // undo that now so it doesn't cause an error later when we're not // expecting it. Opaquetest.ExpectError = true; ref1.Dispose (); Opaquetest.Error = false; Console.WriteLine ("Testing Refcounted leak/non-free"); ref1 = new Refcounted (); ref1.Owned = false; handle = ref1.Handle; ref1.Dispose (); ref1 = new Refcounted (handle); if (Opaquetest.Error) Error ("Non-owned ref was freed by gtk#"); if (ref1.Serial != Refcounted.LastSerial) Error ("Serial mismatch. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); if (Opaquetest.Error) Error ("Non-owned ref was freed by gtk#"); Console.WriteLine ("Testing non-owned return."); ref1 = new Refcounted (); ref2 = new Refcounted (); ref1.Friend = ref2; if (Opaquetest.Error) Error ("Memory error after setting ref1.Friend."); if (ref2.Refcount != 2) Error ("Refcount wrong for ref2 after setting ref1.Friend. Expected 2, Got {0}", ref2.Refcount); ref2.Dispose (); ref2 = ref1.Friend; if (ref2.Serial != Refcounted.LastSerial || Opaquetest.Error) Error ("Error reading ref1.Friend. Expected {0}, Got {1}", Refcounted.LastSerial, ref2.Serial); if (ref2.Refcount != 2 || Opaquetest.Error) Error ("Refcount wrong for ref2 after reading ref1.Friend. Expected 2, Got {0}", ref2.Refcount); if (!ref2.Owned) Error ("ref2 not Owned after being read off ref1.Friend"); ref1.Dispose (); ref2.Dispose (); if (Opaquetest.Error) Error ("Memory error after freeing ref1 and ref2."); Console.WriteLine ("Testing returning a Gtk#-owned refcounted from C# to C"); ret_ref = new Refcounted (); ref1 = Refcounted.Check (new Gtksharp.RefcountedReturnFunc (ReturnRefcounted), new Gtksharp.GCFunc (GC)); if (ref1.Serial != Refcounted.LastSerial || Opaquetest.Error) Error ("Error during Refcounted.Check. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); ref1.Dispose (); if (Opaquetest.Error) Error ("Memory error after clearing ref1."); Console.WriteLine ("Testing returning a Gtk#-owned refcounted to a C method that will free it"); ret_ref = new Refcounted (); ref1 = Refcounted.CheckUnref (new Gtksharp.RefcountedReturnFunc (ReturnRefcounted), new Gtksharp.GCFunc (GC)); if (Opaquetest.Error) Error ("Error during Refcounted.CheckUnref."); Opaquetest.ExpectError = true; if (ref1.Serial != Refcounted.LastSerial) Error ("Error during Refcounted.CheckUnref. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); if (!Opaquetest.Error) Error ("Didn't get expected error accessing ref1.Serial!"); Opaquetest.ExpectError = true; ref1.Dispose (); if (!Opaquetest.Error) Error ("Didn't get expected double free on ref1 after CheckUnref!"); Console.WriteLine ("Testing leaking a C-owned refcounted"); ret_ref = new Refcounted (); ret_ref.Owned = false; ref1 = Refcounted.Check (new Gtksharp.RefcountedReturnFunc (ReturnRefcounted), new Gtksharp.GCFunc (GC)); if (ref1.Serial != Refcounted.LastSerial || Opaquetest.Error) Error ("Error during Refcounted.Check. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); handle = ref1.Handle; ref1.Dispose (); if (Opaquetest.Error) Error ("Memory error after disposing ref1."); ref1 = new Refcounted (handle); if (ref1.Serial != Refcounted.LastSerial || Opaquetest.Error) Error ("Failed to leak ref1. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); Console.WriteLine ("Testing handing over a C-owned refcounted to a C method that will free it"); ret_ref = new Refcounted (); ret_ref.Owned = false; ref1 = Refcounted.CheckUnref (new Gtksharp.RefcountedReturnFunc (ReturnRefcounted), new Gtksharp.GCFunc (GC)); if (Opaquetest.Error) Error ("Error during Refcounted.CheckUnref."); Opaquetest.ExpectError = true; if (ref1.Serial != Refcounted.LastSerial) Error ("Error during Refcounted.CheckUnref. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); if (!Opaquetest.Error) Error ("Didn't get expected error accessing ref1.Serial!"); ref1.Dispose (); if (Opaquetest.Error) Error ("Double free on ref1!"); } static void Error (string message, params object[] args) { Console.Error.WriteLine (" MANAGED ERROR: " + message, args); errors++; } } gtk-sharp-2.12.10/sample/opaquetest/Makefile.in0000644000175000001440000004173611345266365016240 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/opaquetest DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/opaquetest.exe.config.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = opaquetest.exe.config am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libopaque_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libopaque_la_OBJECTS = opaques.lo libopaque_la_OBJECTS = $(am_libopaque_la_OBJECTS) libopaque_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libopaque_la_LDFLAGS) $(LDFLAGS) -o $@ SCRIPTS = $(noinst_SCRIPTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libopaque_la_SOURCES) DIST_SOURCES = $(libopaque_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_SCRIPTS = opaquetest.exe lib_LTLIBRARIES = libopaque.la assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll references = $(addprefix /r:, $(assemblies)) libopaque_la_SOURCES = \ opaques.c \ opaques.h libopaque_la_LDFLAGS = -module -avoid-version -no-undefined libopaque_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) CLEANFILES = \ opaquetest.exe \ opaquetest.exe.mdb \ generated/*.cs EXTRA_DIST = \ OpaqueTest.cs \ opaque-api.xml \ opaque-sources.xml all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/opaquetest/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/opaquetest/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh opaquetest.exe.config: $(top_builddir)/config.status $(srcdir)/opaquetest.exe.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libopaque.la: $(libopaque_la_OBJECTS) $(libopaque_la_DEPENDENCIES) $(libopaque_la_LINK) -rpath $(libdir) $(libopaque_la_OBJECTS) $(libopaque_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opaques.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES opaquetest.exe: OpaqueTest.cs generated/*.cs $(assemblies) $(CSC) /out:opaquetest.exe $(references) $(srcdir)/OpaqueTest.cs $(GENERATED_SOURCES) generated/*.cs: opaque-api.xml $(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/opaque-api.xml --include ../../gtk/gtk-api.xml ../../gdk/gdk-api.xml --outdir=generated --assembly-name=opaque-sharp api: PATH=../../parser:$PATH $(RUNTIME) ../../parser/gapi-parser.exe opaque-sources.xml $(RUNTIME) ../../parser/gapi-fixup.exe --metadata=Opaque.metadata --api=opaque-api.xml install: # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/sample/opaquetest/opaques.c0000644000175000001440000001165211131156726015776 00000000000000/* opaques.c: Opaque memory management test objects * * Copyright (c) 2005 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include "opaques.h" #include static int opserial, refserial; static gboolean error = FALSE, expect_error = FALSE; static gboolean check_error (gboolean valid, const char *msg, ...); GtksharpOpaque * gtksharp_opaque_new (void) { GtksharpOpaque *op = g_new0 (GtksharpOpaque, 1); op->valid = TRUE; op->serial = opserial++; return op; } int gtksharp_opaque_get_serial (GtksharpOpaque *op) { check_error (op->valid, "get_serial on freed GtksharpOpaque serial %d\n", op->serial); return op->serial; } void gtksharp_opaque_set_friend (GtksharpOpaque *op, GtksharpOpaque *friend) { check_error (op->valid, "set_friend on freed GtksharpOpaque serial %d\n", op->serial); op->friend = friend; } GtksharpOpaque * gtksharp_opaque_get_friend (GtksharpOpaque *op) { check_error (op->valid, "get_friend on freed GtksharpOpaque serial %d\n", op->serial); return op->friend; } GtksharpOpaque * gtksharp_opaque_copy (GtksharpOpaque *op) { check_error (op->valid, "copying freed GtksharpOpaque serial %d\n", op->serial); return gtksharp_opaque_new (); } void gtksharp_opaque_free (GtksharpOpaque *op) { check_error (op->valid, "Double free of GtksharpOpaque serial %d\n", op->serial); op->valid = FALSE; /* We don't actually free it */ } GtksharpOpaque * gtksharp_opaque_check (GtksharpOpaqueReturnFunc func, GtksharpGCFunc gc) { GtksharpOpaque *op = func (); gc (); return op; } GtksharpOpaque * gtksharp_opaque_check_free (GtksharpOpaqueReturnFunc func, GtksharpGCFunc gc) { GtksharpOpaque *op = func (); gc (); gtksharp_opaque_free (op); gc (); return op; } int gtksharp_opaque_get_last_serial (void) { return opserial - 1; } GtksharpRefcounted * gtksharp_refcounted_new (void) { GtksharpRefcounted *ref = g_new0 (GtksharpRefcounted, 1); ref->valid = TRUE; ref->refcount = 1; ref->serial = refserial++; return ref; } int gtksharp_refcounted_get_serial (GtksharpRefcounted *ref) { check_error (ref->valid, "get_serial on freed GtksharpRefcounted serial %d\n", ref->serial); return ref->serial; } void gtksharp_refcounted_ref (GtksharpRefcounted *ref) { if (check_error (ref->valid, "ref on freed GtksharpRefcounted serial %d\n", ref->serial)) return; ref->refcount++; } void gtksharp_refcounted_unref (GtksharpRefcounted *ref) { if (check_error (ref->valid, "unref on freed GtksharpRefcounted serial %d\n", ref->serial)) return; if (--ref->refcount == 0) { ref->valid = FALSE; /* We don't actually free it */ } } int gtksharp_refcounted_get_refcount (GtksharpRefcounted *ref) { check_error (ref->valid, "get_refcount on freed GtksharpRefcounted serial %d\n", ref->serial); return ref->refcount; } void gtksharp_refcounted_set_friend (GtksharpRefcounted *ref, GtksharpRefcounted *friend) { check_error (ref->valid, "set_friend on freed GtksharpRefcounted serial %d\n", ref->serial); if (ref->friend) gtksharp_refcounted_unref (ref->friend); ref->friend = friend; if (ref->friend) gtksharp_refcounted_ref (ref->friend); } GtksharpRefcounted * gtksharp_refcounted_get_friend (GtksharpRefcounted *ref) { check_error (ref->valid, "get_friend on freed GtksharpRefcounted serial %d\n", ref->serial); return ref->friend; } GtksharpRefcounted * gtksharp_refcounted_check (GtksharpRefcountedReturnFunc func, GtksharpGCFunc gc) { GtksharpRefcounted *ref = func (); gc (); return ref; } GtksharpRefcounted * gtksharp_refcounted_check_unref (GtksharpRefcountedReturnFunc func, GtksharpGCFunc gc) { GtksharpRefcounted *ref = func (); gc (); gtksharp_refcounted_unref (ref); gc (); return ref; } int gtksharp_refcounted_get_last_serial (void) { return refserial - 1; } static gboolean check_error (gboolean valid, const char *msg, ...) { va_list ap; if (valid) return FALSE; error = TRUE; if (expect_error) { expect_error = FALSE; return FALSE; } expect_error = FALSE; fprintf (stderr, " UNMANAGED ERROR: "); va_start (ap, msg); vfprintf (stderr, msg, ap); va_end (ap); return TRUE; } gboolean gtksharp_opaquetest_get_error (void) { gboolean old_error = error; error = expect_error = FALSE; return old_error; } void gtksharp_opaquetest_set_error (gboolean err) { error = err; } void gtksharp_opaquetest_set_expect_error (gboolean err) { expect_error = err; } gtk-sharp-2.12.10/sample/Actions.cs0000644000175000001440000002653411131156732013714 00000000000000// Actions.cs - Gtk.Action class Test implementation (port of testactions.c) // // Author: Jeroen Zwartepoorte // // (c) 2004 Jeroen Zwartepoorte namespace GtkSamples { using Gtk; using System; using System.Collections; public class Actions { static VBox box = null; static Statusbar statusbar = null; static ActionGroup group = null; static Toolbar toolbar = null; static SpinButton spin = null; static ActionGroup dynGroup = null; static uint mergeId = 0; static UIManager uim = null; static Hashtable actions = new Hashtable (); /* XML description of the menus for the test app. The parser understands * a subset of the Bonobo UI XML format, and uses GMarkup for parsing */ const string ui_info = " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n"; static ActionEntry[] entries = new ActionEntry[] { new ActionEntry ("Menu1Action", null, "Menu _1", null, null, null), new ActionEntry ("Menu2Action", null, "Menu _2", null, null, null), new ActionEntry ("Menu3Action", null, "_Dynamic Menu", null, null, null), new ActionEntry ("cut", Stock.Cut, "C_ut", "X", "Cut the selected text to the clipboard", new EventHandler (OnActivate)), new ActionEntry ("copy", Stock.Copy, "_Copy", "C", "Copy the selected text to the clipboard", new EventHandler (OnActivate)), new ActionEntry ("paste", Stock.Paste, "_Paste", "V", "Paste the text from the clipboard", new EventHandler (OnActivate)), new ActionEntry ("quit", Stock.Quit, null, "Q", "Quit the application", new EventHandler (OnQuit)), new ActionEntry ("customise-accels", null, "Customise _Accels", null, "Customize keyboard shortcuts", new EventHandler (OnCustomizeAccels)), new ActionEntry ("toolbar-small-icons", null, "Small Icons", null, null, new EventHandler (OnToolbarSizeSmall)), new ActionEntry ("toolbar-large-icons", null, "Large Icons", null, null, new EventHandler (OnToolbarSizeLarge)) }; static ToggleActionEntry[] toggleEntries = new ToggleActionEntry[] { new ToggleActionEntry ("bold", Stock.Bold, "_Bold", "B", "Change to bold face", new EventHandler (OnToggle), false), new ToggleActionEntry ("toggle-cnp", null, "Enable Cut/Copy/Paste", null, "Change the sensitivity of the cut, copy and paste actions", new EventHandler (OnToggleCnp), true) }; enum Justify { Left, Center, Right, Fill }; static RadioActionEntry[] radioEntries = new RadioActionEntry[] { new RadioActionEntry ("justify-left", Stock.JustifyLeft, "_Left", "L", "Left justify the text", (int)Justify.Left), new RadioActionEntry ("justify-center", Stock.JustifyCenter, "C_enter", "E", "Center justify the text", (int)Justify.Center), new RadioActionEntry ("justify-right", Stock.JustifyRight, "_Right", "R", "Right justify the text", (int)Justify.Right), new RadioActionEntry ("justify-fill", Stock.JustifyFill, "_Fill", "J", "Fill justify the text", (int)Justify.Fill) }; static RadioActionEntry[] toolbarEntries = new RadioActionEntry[] { new RadioActionEntry ("toolbar-icons", null, "Icons", null, null, (int)ToolbarStyle.Icons), new RadioActionEntry ("toolbar-text", null, "Text", null, null, (int)ToolbarStyle.Text), new RadioActionEntry ("toolbar-both", null, "Both", null, null, (int)ToolbarStyle.Both), new RadioActionEntry ("toolbar-both-horiz", null, "Both Horizontal", null, null, (int)ToolbarStyle.BothHoriz) }; public static int Main (string[] args) { Application.Init (); Window win = new Window ("Action Demo"); win.DefaultSize = new Gdk.Size (200, 150); win.DeleteEvent += new DeleteEventHandler (OnWindowDelete); box = new VBox (false, 0); win.Add (box); group = new ActionGroup ("TestActions"); group.Add (entries); group.Add (toggleEntries); group.Add (radioEntries, (int)Justify.Left, new ChangedHandler (OnRadio)); group.Add (toolbarEntries, (int)ToolbarStyle.BothHoriz, new ChangedHandler (OnToolbarStyle)); uim = new UIManager (); uim.AddWidget += new AddWidgetHandler (OnWidgetAdd); uim.ConnectProxy += new ConnectProxyHandler (OnProxyConnect); uim.InsertActionGroup (group, 0); uim.AddUiFromString (ui_info); statusbar = new Statusbar (); box.PackEnd (statusbar, false, true, 0); VBox vbox = new VBox (false, 5); Button button = new Button ("Blah"); vbox.PackEnd (button, true, true, 0); HBox hbox = new HBox (false, 5); spin = new SpinButton (new Adjustment (100, 100, 10000, 1, 100, 100), 100, 0); hbox.PackStart (spin, true, true, 0); button = new Button ("Remove"); button.Clicked += new EventHandler (OnDynamicRemove); hbox.PackEnd (button, false, false, 0); button = new Button ("Add"); button.Clicked += new EventHandler (OnDynamicAdd); hbox.PackEnd (button, false, false, 0); vbox.PackEnd (hbox, false, false, 0); box.PackEnd (vbox, true, true, 0); win.ShowAll (); Application.Run (); return 0; } static void OnActivate (object obj, EventArgs args) { Gtk.Action action = (Gtk.Action)obj; Console.WriteLine ("Action {0} (type={1}) activated", action.Name, action.GetType ().FullName); } static void OnCustomizeAccels (object obj, EventArgs args) { Console.WriteLine ("Sorry, accel dialog not available"); } static void OnToolbarSizeSmall (object obj, EventArgs args) { toolbar.IconSize = IconSize.SmallToolbar; } static void OnToolbarSizeLarge (object obj, EventArgs args) { toolbar.IconSize = IconSize.LargeToolbar; } static void OnToggle (object obj, EventArgs args) { ToggleAction action = (ToggleAction)obj; Console.WriteLine ("Action {0} (type={1}) activated (active={2})", action.Name, action.GetType ().FullName, action.Active); } static void OnToggleCnp (object obj, EventArgs args) { Gtk.Action action = (ToggleAction)obj; bool sensitive = ((ToggleAction)action).Active; action = group.GetAction ("cut"); action.Sensitive = sensitive; action = group.GetAction ("copy"); action.Sensitive = sensitive; action = group.GetAction ("paste"); action.Sensitive = sensitive; action = group.GetAction ("toggle-cnp"); if (sensitive) action.Label = "Disable Cut and past ops"; else action.Label = "Enable Cut and paste ops"; } static void OnRadio (object obj, ChangedArgs args) { RadioAction action = (RadioAction)obj; Console.WriteLine ("Action {0} (type={1}) activated (active={2}) (value {3})", action.Name, action.GetType ().FullName, action.Active, action.CurrentValue); } static void OnToolbarStyle (object obj, ChangedArgs args) { RadioAction action = (RadioAction)obj; ToolbarStyle style = (ToolbarStyle)action.CurrentValue; toolbar.ToolbarStyle = style; } static void OnDynamicAdd (object obj, EventArgs args) { if (mergeId != 0 || dynGroup != null) return; int num = spin.ValueAsInt; dynGroup = new ActionGroup ("DynamicActions"); uim.InsertActionGroup (dynGroup, 0); mergeId = uim.NewMergeId (); for (int i = 0; i < num; i++) { string name = "DynAction" + i; string label = "Dynamic Action " + i; Gtk.Action action = new Gtk.Action (name, label); dynGroup.Add (action); uim.AddUi (mergeId, "/menubar/DynamicMenu", name, name, UIManagerItemType.Menuitem, false); } uim.EnsureUpdate (); } static void OnDynamicRemove (object obj, EventArgs args) { if (mergeId == 0 || dynGroup == null) return; uim.RemoveUi (mergeId); uim.EnsureUpdate (); mergeId = 0; uim.RemoveActionGroup (dynGroup); dynGroup = null; } static void OnWindowDelete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void OnWidgetAdd (object obj, AddWidgetArgs args) { if (args.Widget is Toolbar) toolbar = (Toolbar)args.Widget; args.Widget.Show (); box.PackStart (args.Widget, false, true, 0); } static void OnSelect (object obj, EventArgs args) { Gtk.Action action = (Gtk.Action) actions[obj]; if (action.Tooltip != null) statusbar.Push (0, action.Tooltip); } static void OnDeselect (object obj, EventArgs args) { statusbar.Pop (0); } static void OnProxyConnect (object obj, ConnectProxyArgs args) { if (args.Proxy is MenuItem) { actions[args.Proxy] = args.Action; ((Item)args.Proxy).Selected += new EventHandler (OnSelect); ((Item)args.Proxy).Deselected += new EventHandler (OnDeselect); } } static void OnQuit (object obj, EventArgs args) { Application.Quit (); } } } gtk-sharp-2.12.10/sample/test/0000777000175000001440000000000011345266755013034 500000000000000gtk-sharp-2.12.10/sample/test/Makefile.am0000644000175000001440000000130011131156731014757 00000000000000TARGETS = WidgetViewer.exe assemblies=../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll references = $(addprefix /r:, $(assemblies)) noinst_SCRIPTS = $(TARGETS) CLEANFILES = $(TARGETS) EXTRA_DIST = $(sources) ChangeLog sources = \ TestCheckButton.cs \ TestColorSelection.cs \ TestRadioButton.cs \ TestRange.cs \ TestStatusbar.cs \ TestDialog.cs \ TestFlipping.cs \ TestSizeGroup.cs \ TestCombo.cs \ TestComboBox.cs \ WidgetViewer.cs build_sources = $(addprefix $(srcdir)/, $(sources)) WidgetViewer.exe: $(build_sources) $(assemblies) $(CSC) /out:WidgetViewer.exe $(references) $(build_sources) gtk-sharp-2.12.10/sample/test/WidgetViewer.cs0000644000175000001440000000760511131156731015675 00000000000000// // WidgetViewer.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class Viewer { static Window window = null; static Window viewer = null; static Button button = null; static VBox box2 = null; static void Main () { Application.Init (); window = new Window ("Gtk# Widget viewer"); window.DeleteEvent += new DeleteEventHandler (Window_Delete); window.SetDefaultSize (250, 200); VBox box1 = new VBox (false, 0); window.Add (box1); box2 = new VBox (false, 5); box2.BorderWidth = 10; Frame frame = new Frame ("Select a widget"); frame.BorderWidth = 5; frame.Add (box2); box1.PackStart (frame, true, true, 0); AddButton ("Bi-directional flipping", new EventHandler (Flipping)); AddButton ("Check Buttons", new EventHandler (Check_Buttons)); AddButton ("Color Selection", new EventHandler (Color_Selection)); AddButton ("Combo Box", new EventHandler (Combo_Box)); AddButton ("New Combo Box", new EventHandler (New_Combo_Box)); AddButton ("Dialog", new EventHandler (Dialog)); AddButton ("File Selection", new EventHandler (File_Selection)); AddButton ("Menus", new EventHandler (Menus)); AddButton ("Radio Buttons", new EventHandler (Radio_Buttons)); AddButton ("Range Controls", new EventHandler (Range_Controls)); AddButton ("Size Groups", new EventHandler (Size_Groups)); AddButton ("Statusbar", new EventHandler (Statusbar)); AddButton ("Toolbar", new EventHandler (Toolbar)); box1.PackStart (new HSeparator (), false, false, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, false, 0); Button close_button = new Button (Stock.Close); close_button.Clicked += new EventHandler (Close_Button); box2.PackStart (close_button, true, true, 0); window.ShowAll (); Application.Run (); } static void AddButton (string caption, EventHandler handler) { button = new Button (caption); button.Clicked += handler; box2.PackStart (button, false, false, 0); } static void AddWindow (Window dialog) { viewer = dialog; viewer.DeleteEvent += new DeleteEventHandler (Viewer_Delete); viewer.ShowAll (); } static void Window_Delete (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void Viewer_Delete (object o, DeleteEventArgs args) { viewer.Destroy (); viewer = null; args.RetVal = true; } static void Close_Button (object o, EventArgs args) { Application.Quit (); } static void Check_Buttons (object o, EventArgs args) { AddWindow (TestCheckButton.Create ()); } static void Color_Selection (object o, EventArgs args) { AddWindow (TestColorSelection.Create ()); } static void File_Selection (object o, EventArgs args) { //AddWindow (TestFileSelection.Create ()); } static void Radio_Buttons (object o, EventArgs args) { AddWindow (TestRadioButton.Create ()); } static void Range_Controls (object o, EventArgs args) { AddWindow (TestRange.Create ()); } static void Statusbar (object o, EventArgs args) { AddWindow (TestStatusbar.Create ()); } static void Toolbar (object o, EventArgs args) { //AddWindow (TestToolbar.Create ()); } static void Dialog (object o, EventArgs args) { AddWindow (TestDialog.Create ()); } static void Flipping (object o, EventArgs args) { AddWindow (TestFlipping.Create ()); } static void Menus (object o, EventArgs args) { //AddWindow (TestMenus.Create ()); } static void Size_Groups (object o, EventArgs args) { AddWindow (TestSizeGroup.Create ()); } static void New_Combo_Box (object o, EventArgs args) { AddWindow (TestComboBox.Create ()); } static void Combo_Box (object o, EventArgs args) { AddWindow (TestCombo.Create ()); } } } gtk-sharp-2.12.10/sample/test/TestComboBox.cs0000644000175000001440000000316511131156731015635 00000000000000// TestCombo.cs // // Author: Mike Kestner (mkestner@novell.com) // // Copyright (c) 2005, Novell, Inc. // using System; using Gtk; namespace WidgetViewer { public class TestComboBox { static Window window = null; public static Gtk.Window Create () { window = new Window ("GtkComboBox"); window.SetDefaultSize (200, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); ComboBoxEntry combo = new Gtk.ComboBoxEntry (new string[] {"Foo", "Bar"}); combo.Changed += new EventHandler (OnComboActivated); combo.Entry.Changed += new EventHandler (OnComboEntryChanged); box2.PackStart (combo, true, true, 0); HSeparator separator = new HSeparator (); box1.PackStart (separator, false, false, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, false, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (OnCloseClicked); button.CanDefault = true; box2.PackStart (button, true, true, 0); button.GrabDefault (); return window; } static void OnCloseClicked (object o, EventArgs args) { window.Destroy (); } static void OnComboActivated (object o, EventArgs args) { ComboBox combo = o as ComboBox; TreeIter iter; if (combo.GetActiveIter (out iter)) Console.WriteLine ((string)combo.Model.GetValue (iter, 0)); } static void OnComboEntryChanged (object o, EventArgs args) { Entry entry = o as Entry; Console.WriteLine ("Entry text is: " + entry.Text); } } } gtk-sharp-2.12.10/sample/test/TestCheckButton.cs0000644000175000001440000000301611131156731016331 00000000000000// // TestCheckButton.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestCheckButton { static Window window = null; static CheckButton checked_button = null; public static Gtk.Window Create () { window = new Window ("GtkCheckButton"); window.SetDefaultSize (200, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); checked_button = new CheckButton ("_button1"); box2.PackStart (checked_button, true, true, 0); checked_button = new CheckButton ("button2"); box2.PackStart (checked_button, true, true, 0); checked_button = new CheckButton ("button3"); box2.PackStart (checked_button, true, true, 0); checked_button = new CheckButton ("Inconsistent"); checked_button.Inconsistent = true; box2.PackStart (checked_button, true, true, 0); HSeparator separator = new HSeparator (); box1.PackStart (separator, false, false, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, false, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (OnCloseClicked); button.CanDefault = true; box2.PackStart (button, true, true, 0); button.GrabDefault (); return window; } static void OnCloseClicked (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.10/sample/test/TestDialog.cs0000644000175000001440000000332711131156731015324 00000000000000// // TestDialog.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestDialog { static Dialog window = null; static Label label = null; public static Gtk.Window Create () { window = new Dialog (); window.Response += new ResponseHandler (Print_Response); window.SetDefaultSize (200, 100); window.Title = "GtkDialog"; Button button = new Button (Stock.Ok); button.Clicked += new EventHandler (Close_Button); button.CanDefault = true; window.ActionArea.PackStart (button, true, true, 0); button.GrabDefault (); ToggleButton toggle_button = new ToggleButton ("Toggle Label"); toggle_button.Clicked += new EventHandler (Label_Toggle); window.ActionArea.PackStart (toggle_button, true, true, 0); toggle_button = new ToggleButton ("Toggle Separator"); toggle_button.Clicked += new EventHandler (Separator_Toggle); window.ActionArea.PackStart (toggle_button, true, true, 0); window.ShowAll (); return window; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } static void Print_Response (object o, ResponseArgs args) { Console.WriteLine ("Received response signal: " + args.ResponseId); } static void Label_Toggle (object o, EventArgs args) { if (label == null) { label = new Label ("This is Text label inside a Dialog"); label.SetPadding (10, 10); window.VBox.PackStart (label, true, true, 0); label.Show (); } else { label.Destroy (); label = null; } } static void Separator_Toggle (object o, EventArgs args) { window.HasSeparator = (!((ToggleButton) o).Active); } } } gtk-sharp-2.12.10/sample/test/TestStatusbar.cs0000644000175000001440000000424011131156731016070 00000000000000// // TestStatusbar.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestStatusbar { static Window window = null; static Statusbar statusbar = null; static int counter = 1; static uint context_id ; public static Gtk.Window Create () { window = new Window ("Statusbar"); window.SetDefaultSize (150, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); statusbar = new Statusbar (); box1.PackEnd (statusbar, true, true, 0); statusbar.TextPopped += new TextPoppedHandler (statusbar_popped); Button button = new Button ("push"); box2.PackStart (button, false, false, 0); button.Clicked += new EventHandler (statusbar_pushed); button = new Button ("pop"); box2.PackStart (button, false, false, 0); button.Clicked += new EventHandler (pop_clicked); box1.PackStart (new HSeparator (), false, true, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button close_button = new Button (Stock.Close); close_button.Clicked += new EventHandler (Close_Button); box2.PackStart (close_button, true, true, 0); button.CanDefault = true; button.GrabDefault (); window.ShowAll (); return window; } static void pop_clicked (object o, EventArgs args) { if (counter < -1) return; Console.WriteLine ("Pop: " + counter); statusbar.Pop (context_id); counter --; } static void statusbar_popped (object o, TextPoppedArgs args) { Console.WriteLine ("Popped: " + counter); } static void statusbar_pushed (object o, EventArgs args) { string content = null; if (counter < 0) content = String.Empty; else content = String.Format ("Push #{0}", counter); Console.WriteLine ("Push: " + counter); context_id = statusbar.GetContextId (content); statusbar.Push (context_id, content); counter ++; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.10/sample/test/Makefile.in0000644000175000001440000002502011345266365015011 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/test DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SCRIPTS = $(noinst_SCRIPTS) SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ TARGETS = WidgetViewer.exe assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll references = $(addprefix /r:, $(assemblies)) noinst_SCRIPTS = $(TARGETS) CLEANFILES = $(TARGETS) EXTRA_DIST = $(sources) ChangeLog sources = \ TestCheckButton.cs \ TestColorSelection.cs \ TestRadioButton.cs \ TestRange.cs \ TestStatusbar.cs \ TestDialog.cs \ TestFlipping.cs \ TestSizeGroup.cs \ TestCombo.cs \ TestComboBox.cs \ WidgetViewer.cs build_sources = $(addprefix $(srcdir)/, $(sources)) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/test/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/test/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am WidgetViewer.exe: $(build_sources) $(assemblies) $(CSC) /out:WidgetViewer.exe $(references) $(build_sources) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/sample/test/TestColorSelection.cs0000644000175000001440000000661611131156731017055 00000000000000// // TestColorSelection.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using System.Text; using Gtk; namespace WidgetViewer { public class TestColorSelection { static ColorSelectionDialog window = null; static Dialog dialog = null; public static Gtk.Window Create () { HBox options = new HBox (false, 0); CheckButton check_button = null; window = new ColorSelectionDialog ("Color selection dialog"); window.ColorSelection.HasOpacityControl = true; window.ColorSelection.HasPalette = true; window.SetDefaultSize (250, 200); window.VBox.PackStart (options, false, false, 0); window.VBox.BorderWidth = 10; check_button = new CheckButton("Show Opacity"); check_button.Active = true; options.PackStart (check_button, false, false, 0); check_button.Toggled += new EventHandler (Opacity_Callback); check_button = new CheckButton("Show Palette"); check_button.Active = true; options.PackEnd (check_button, false, false, 0); check_button.Toggled += new EventHandler (Palette_Callback); window.ColorSelection.ColorChanged += new EventHandler (Color_Changed); window.OkButton.Clicked += new EventHandler (Color_Selection_OK); window.CancelButton.Clicked += new EventHandler (Color_Selection_Cancel); options.ShowAll (); return window; } static void Opacity_Callback (object o, EventArgs args) { window.ColorSelection.HasOpacityControl = ((ToggleButton )o).Active; } static void Palette_Callback (object o, EventArgs args) { window.ColorSelection.HasPalette = ((ToggleButton )o).Active; } static string HexFormat (Gdk.Color color) { StringBuilder s = new StringBuilder (); ushort[] vals = { color.Red, color.Green, color.Blue }; char[] hexchars = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; s.Append ('#'); foreach (ushort val in vals) { /* Convert to a range of 0-255, then lookup the * digit for each half-byte */ byte rounded = (byte) (val >> 8); s.Append (hexchars[(rounded & 0xf0) >> 4]); s.Append (hexchars[rounded & 0x0f]); } return s.ToString (); } static void Color_Changed (object o, EventArgs args) { Gdk.Color color = window.ColorSelection.CurrentColor; Console.WriteLine (HexFormat (color)); } static void Color_Selection_OK (object o, EventArgs args) { Gdk.Color selected = window.ColorSelection.CurrentColor; window.Hide (); Display_Result (selected); } static void Color_Selection_Cancel (object o, EventArgs args) { window.Destroy (); } static void Dialog_Ok (object o, EventArgs args) { dialog.Destroy (); window.ShowAll (); } static void Display_Result (Gdk.Color color) { dialog = new Dialog (); dialog.Title = "Selected Color: " + HexFormat (color); dialog.HasSeparator = true; DrawingArea da = new DrawingArea (); da.ModifyBg (StateType.Normal, color); dialog.VBox.BorderWidth = 10; dialog.VBox.PackStart (da, true, true, 10); dialog.SetDefaultSize (200, 200); Button button = new Button (Stock.Ok); button.Clicked += new EventHandler (Dialog_Ok); button.CanDefault = true; dialog.ActionArea.PackStart (button, true, true, 0); button.GrabDefault (); dialog.ShowAll (); } static void Close_Button (object o, EventArgs args) { Color_Selection_Cancel (o, args); } } } gtk-sharp-2.12.10/sample/test/TestSizeGroup.cs0000644000175000001440000000643711131156731016061 00000000000000// // TestSizeGroup.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestSizeGroup { static Dialog window = null; static SizeGroup size_group = null; public static Gtk.Window Create () { window = new Dialog (); window.Title = "Sized groups"; window.Resizable = false; VBox vbox = new VBox (false, 5); window.VBox.PackStart (vbox, true, true, 0); vbox.BorderWidth = 5; size_group = new SizeGroup (SizeGroupMode.Horizontal); Frame frame = new Frame ("Color Options"); vbox.PackStart (frame, true, true, 0); Table table = new Table (2, 2, false); table.BorderWidth = 5; table.RowSpacing = 5; table.ColumnSpacing = 10; frame.Add (table); string [] colors = {"Red", "Green", "Blue", }; string [] dashes = {"Solid", "Dashed", "Dotted", }; string [] ends = {"Square", "Round", "Arrow", }; Add_Row (table, 0, size_group, "_Foreground", colors); Add_Row (table, 1, size_group, "_Background", colors); frame = new Frame ("Line Options"); vbox.PackStart (frame, false, false, 0); table = new Table (2, 2, false); table.BorderWidth = 5; table.RowSpacing = 5; table.ColumnSpacing = 10; frame.Add (table); Add_Row (table, 0, size_group, "_Dashing", dashes); Add_Row (table, 1, size_group, "_Line ends", ends); CheckButton check_button = new CheckButton ("_Enable grouping"); vbox.PackStart (check_button, false, false, 0); check_button.Active = true; check_button.Toggled += new EventHandler (Button_Toggle_Cb); Button close_button = new Button (Stock.Close); close_button.Clicked += new EventHandler (Close_Button); window.ActionArea.PackStart (close_button, false, false, 0); window.ShowAll (); return window; } static ComboBox Create_ComboBox (string [] strings) { /*Menu menu = new Menu (); MenuItem menu_item = null; foreach (string str in strings) { menu_item = new MenuItem (str); menu_item.Show (); menu.Append (menu_item); } OptionMenu option_menu = new OptionMenu (); option_menu.Menu = menu; return option_menu;*/ ComboBox combo_box = new ComboBox (); foreach (string str in strings) { combo_box.AppendText (str); } return combo_box; } static void Add_Row (Table table, uint row, SizeGroup size_group, string label_text, string [] options) { Label label = new Label (label_text); label.SetAlignment (0, 1); table.Attach (label, 0, 1, row, row + 1, AttachOptions.Expand, AttachOptions.Fill, 0, 0); ComboBox combo_box = Create_ComboBox (options); size_group.AddWidget (combo_box); table.Attach (combo_box, 1, 2, row, row + 1, AttachOptions.Expand, AttachOptions.Expand, 0, 0); } static void Button_Toggle_Cb (object o, EventArgs args) { Toggle_Grouping ((ToggleButton) o, size_group); } static void Toggle_Grouping (ToggleButton check_button, SizeGroup size_group) { SizeGroupMode mode; if (check_button.Active) mode = SizeGroupMode.Horizontal; else mode = SizeGroupMode.None; size_group.Mode = mode; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.10/sample/test/TestCombo.cs0000644000175000001440000000265211131156731015164 00000000000000// // TestCombo.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2003, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestCombo { static Window window = null; static Gtk.Combo combo = null; public static Gtk.Window Create () { window = new Window ("GtkCombo"); window.SetDefaultSize (200, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); combo = new Gtk.Combo (); string[] pop = {"Foo", "Bar"}; combo.PopdownStrings = pop; combo.Entry.Activated += new EventHandler (OnComboActivated); box2.PackStart (combo, true, true, 0); HSeparator separator = new HSeparator (); box1.PackStart (separator, false, false, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, false, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (OnCloseClicked); button.CanDefault = true; box2.PackStart (button, true, true, 0); button.GrabDefault (); return window; } static void OnCloseClicked (object o, EventArgs args) { window.Destroy (); } static void OnComboActivated (object o, EventArgs args) { string text = ((Gtk.Entry) o).Text; // combo.AppendString (text); // combo.SetPopdownStrings (text); } } } gtk-sharp-2.12.10/sample/test/TestRadioButton.cs0000644000175000001440000000414311131156731016354 00000000000000// // TestRadioButton.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestRadioButton { static Window window = null; static RadioButton radio_button = null; public static Gtk.Window Create () { window = new Window ("GtkRadioButton"); window.SetDefaultSize (200, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); radio_button = new RadioButton ("Button 1"); box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Button 2"); radio_button.Active = true; box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Button 3"); box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Inconsistent"); radio_button.Inconsistent = true; box2.PackStart (radio_button, true, true, 0); box1.PackStart (new HSeparator (), false, true, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); radio_button = new RadioButton ("Button 4"); radio_button.Mode = false; box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Button 5"); radio_button.Active = true; radio_button.Mode = false; box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Button 6"); radio_button.Mode = false; box2.PackStart (radio_button, true, true, 0); box1.PackStart (new HSeparator (), false, true, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (Close_Button); box2.PackStart (button, true, true, 0); button.CanDefault = true; button.GrabDefault (); return window; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.10/sample/test/ChangeLog0000644000175000001440000001035211131156731014504 000000000000002005-07-27 Dan Winship * TestComboBox.cs: test ComboBoxEntry.Entry 2004-05-31 Jeroen Zwartepoorte reviewed by: * TestCombo.cs: 2004-05-06 Jeroen Zwartepoorte reviewed by: * .cvsignore: * Makefile: * Makefile.am: * TestCombo.cs: * TestSizeGroup.cs: * WidgetViewer.cs: 2004-03-03 Jeroen Zwartepoorte reviewed by: * TestCombo.cs: 2003-03-05 Duncan Mak * TestCombo.cs: New file, to show basic usage of a ComboBox. It's missing some functionality, however. Currently, it's not possible to append to the list of strings in the pop-down. 2003-02-19 Duncan Mak * TestFileSelection.cs: Update to reflect FileSelection changes. * TestToolbar.cs: Change the method signature for the various SignalFuncs. Thanks to Leoric from #mono for pointing it out. 2002-10-11 Duncan Mak * TestToolbar.cs: Fix the arguments to Toolbar.InsertStock. 2002-08-09 Duncan Mak * TestRange.cs (reformat_value): Do something useful here. 2002-07-31 Duncan Mak * *.cs: Flush. Made it use Stock buttons instead of just a plain text label. * TestColorSelection.cs: Made the result dialog work a bit better. * ChangeLog: Added Rachel's ChangeLog entry to here. 2002-07-30 Rachel Hestilow * sample/test/TestColorSelection.cs: Display color string in hex format, update to use IsNull instead of == null, and size dialog to look pretty. 2002-07-25 Duncan Mak * TestRange.cs: Fix the EventHandlers here. 2002-07-23 Duncan Mak * TestMenus.cs: Use MenuItem instead of ImageMenuItem, this test works now. * TestFileSelection.cs: window.Selections is crashing, remove it. OK Button doesn't do anything now. * WidgetViewer.cs: Add in a frame. 2002-07-20 Duncan Mak * TestSizeGroup.cs: Minor aesthetic changes. * TestStatusbar.cs: Some changes in the output to figure out why it is behaving like this. 2002-07-19 Duncan Mak * TestSizeGroup.cs: New test for GtkSizeGroup. * Makefile: * WidgetViewer.cs: Include TestSizeGroup. 2002-07-18 Duncan Mak * WidgetViewer.cs: Fixed InvalidCastException. * TestStatusbar.cs: Made it work. Sigh, I dunno why I got it wrong the first time. * TestMenus.cs: Use null instead of new SList (IntPtr.Zero); and remove the unnecessary try... catch block. 2002-07-18 Duncan Mak * TestCheckButton.cs: * TestDialog.cs: * TestFileSelection.cs: * TestFlipping.cs: * TestMenus.cs: * TestRadioButton.cs: * TestRange.cs: * TestStatusbar.cs: * TestTooltip.cs: Removed erroneous references to SignalArgs, and changed EventHandlers to more appropriate specialized Handlers instead. 2002-07-17 Duncan Mak * Makefile: * WidgetViewer.cs: Added TestMenus.cs * TestMenus.cs: New test for testing menu widgets. 2002-07-17 Duncan Mak * WidgetViewer.cs: Changed the EventArgs stuff to match Mike's latest commit. * TestToolbar.cs: Thanks to Dietmar for fixing #27695. Added new button for toggling showing tooltips. 2002-07-16 Duncan Mak * TestCheckButton.cs: * TestTooltip.cs: Added copyright material. * TestColorSelection.cs: Attempt to do something new after color is selected. ColorSelection.CurrentColor (get) doesn't seem to work right now, bug 27834. * TestDialog.cs: Removed debugging messages and beautified the dialog. * TestFlipping.cs: New test to show widget flipping. * TestRadioButton.cs: Changed the constructors used to build the radio buttons to work around bug 27833. * Makefile: Added TestFlipping.cs. * WidgetViewer.cs (AddWindow): Another convenience method for adding new Test dialogs. 2002-07-15 Duncan Mak * WidgetViewer.cs (AddButton): New convenience method so that I don't have to type the same thing when adding a new test button. 2002-07-13 Duncan Mak * *.cs: Added copyright material. * *.cs: Checking in testgtk# to CVS. gtk-sharp-2.12.10/sample/test/TestRange.cs0000644000175000001440000000456311131156731015164 00000000000000// // TestRange.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestRange { static Window window = null; public static Gtk.Window Create () { window = new Window ("GtkRange"); window.SetDefaultSize (250, 200); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 0); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); Adjustment adjustment = new Adjustment (0.0, 0.0, 101.0, 0.1, 1.0, 1.0); HScale hscale = new HScale (adjustment); hscale.SetSizeRequest (150, -1); ((Range) hscale).UpdatePolicy = UpdateType.Delayed; hscale.Digits = 1; hscale.DrawValue = true; box2.PackStart (hscale, true, true, 0); HScrollbar hscrollbar = new HScrollbar (adjustment); ((Range) hscrollbar).UpdatePolicy = UpdateType.Continuous; box2.PackStart (hscrollbar, true, true, 0); hscale = new HScale (adjustment); hscale.DrawValue = true; hscale.FormatValue += new FormatValueHandler (reformat_value); box2.PackStart (hscale, true, true, 0); HBox hbox = new HBox (false, 0); VScale vscale = new VScale (adjustment); vscale.SetSizeRequest (-1, 200); vscale.Digits = 2; vscale.DrawValue = true; hbox.PackStart (vscale, true, true, 0); vscale = new VScale (adjustment); vscale.SetSizeRequest (-1, 200); vscale.Digits = 2; vscale.DrawValue = true; ((Range) vscale).Inverted = true; hbox.PackStart (vscale, true, true, 0); vscale = new VScale (adjustment); vscale.DrawValue = true; vscale.FormatValue += new FormatValueHandler (reformat_value); hbox.PackStart (vscale, true, true, 0); box2.PackStart (hbox, true, true, 0); box1.PackStart (new HSeparator (), false, true, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (Close_Button); box2.PackStart (button, true, true, 0); button.CanDefault = true; button.GrabDefault (); window.ShowAll (); return window; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } static void reformat_value (object o, FormatValueArgs args) { int x = (int) args.Value; args.RetVal = x.ToString (); } } } gtk-sharp-2.12.10/sample/test/TestFlipping.cs0000644000175000001440000000312611131156731015672 00000000000000// // TestFlipping.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestFlipping { static Dialog window = null; static CheckButton check_button = null; static Button button = null; static Label label = null; public static Gtk.Window Create () { window = new Dialog (); window.Title = "Bi-directional flipping"; window.SetDefaultSize (200, 100); label = new Label ("Label direction: Left-to-right"); label.UseMarkup = true; label.SetPadding (3, 3); window.VBox.PackStart (label, true, true, 0); check_button = new CheckButton ("Toggle label direction"); window.VBox.PackStart (check_button, true, true, 2); if (window.Direction == TextDirection.Ltr) check_button.Active = true; check_button.Toggled += new EventHandler (Toggle_Flip); check_button.BorderWidth = 10; button = new Button (Stock.Close); button.Clicked += new EventHandler (Close_Button); button.CanDefault = true; window.ActionArea.PackStart (button, true, true, 0); button.GrabDefault (); window.ShowAll (); return window; } static void Toggle_Flip (object o, EventArgs args) { if (((CheckButton) o).Active) { check_button.Direction = TextDirection.Ltr; label.Markup = "Label direction: Left-to-right"; } else { check_button.Direction = TextDirection.Rtl; label.Markup = "Label direction: Right-to-left"; } } static void Close_Button (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.10/sample/GladeTest.cs0000644000175000001440000000266611131156732014170 00000000000000// GladeViewer.cs - Tests for LibGlade in C# // // Author: Ricardo Fernández Pascual // // (c) 2002 Ricardo Fernández Pascual namespace GladeSamples { using System; using Gtk; using Glade; public class GladeTest { [Glade.Widget] Gtk.Window main_window; public static void Main (string[] args) { Application.Init (); new GladeTest (); Application.Run (); } public GladeTest () { /* Note that we load the XML info from the assembly instead of using an external file. You don't have to distribute the .glade file if you don't want */ Glade.XML gxml = new Glade.XML (null, "test.glade", "main_window", null); gxml.Autoconnect (this); if (main_window != null) Console.WriteLine ("Main Window Title: \"{0}\"", main_window.Title); else Console.WriteLine ("WidgetAttribute is broken."); } public void OnWindowDeleteEvent (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } public void OnButton1Clicked (System.Object b, EventArgs e) { Console.WriteLine ("Button 1 clicked"); } public static void OnButton2Clicked (System.Object b, EventArgs e) { Console.WriteLine ("Button 2 clicked"); } public void OnButton2Entered (System.Object b, EventArgs e) { Console.WriteLine ("Button 2 entered"); } public void OnQuitActivated (object o, EventArgs args) { Application.Quit (); } } } gtk-sharp-2.12.10/sample/Subclass.cs0000755000175000001440000000227111131156732014066 00000000000000// Subclass.cs - Widget subclass Test // // Author: Mike Kestner // // (c) 2001-2003 Mike Kestner, Novell, Inc. [assembly:GLib.IgnoreClassInitializers] namespace GtkSamples { using Gtk; using System; public class ButtonApp { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Button Tester"); win.DeleteEvent += new DeleteEventHandler (Quit); Button btn = new MyButton (); win.Add (btn); win.ShowAll (); Application.Run (); return 0; } static void Quit (object sender, DeleteEventArgs args) { Application.Quit(); } } [Binding (Gdk.Key.Escape, "HandleBinding", "Escape")] [Binding (Gdk.Key.Left, "HandleBinding", "Left")] [Binding (Gdk.Key.Right, "HandleBinding", "Right")] [Binding (Gdk.Key.Up, "HandleBinding", "Up")] [Binding (Gdk.Key.Down, "HandleBinding", "Down")] public class MyButton : Gtk.Button { public MyButton () : base ("I'm a subclassed button") {} protected override void OnClicked () { Console.WriteLine ("Button::Clicked default handler fired."); } private void HandleBinding (string text) { Console.WriteLine ("Got a bound keypress: " + text); } } } gtk-sharp-2.12.10/sample/DrawingSample.cs0000644000175000001440000000471111131156732015042 00000000000000// // Sample program demostrating using System.Drawing with Gtk# // using Gtk; using System; using System.Drawing; class X { static DrawingArea a, b; static void Main () { Application.Init (); Gtk.Window w = new Gtk.Window ("System.Drawing and Gtk#"); // Custom widget sample a = new PrettyGraphic (); // Event-based drawing b = new DrawingArea (); b.ExposeEvent += new ExposeEventHandler (ExposeHandler); b.SizeAllocated += new SizeAllocatedHandler (SizeAllocatedHandler); Button c = new Button ("Quit"); c.Clicked += new EventHandler (quit); MovingText m = new MovingText (); Box box = new HBox (true, 0); box.Add (a); box.Add (b); box.Add (m); box.Add (c); w.Add (box); w.ShowAll (); Application.Run (); } static void quit (object obj, EventArgs args) { Application.Quit (); } static Gdk.Rectangle rect; static void SizeAllocatedHandler (object obj, SizeAllocatedArgs args) { rect = args.Allocation; } static void ExposeHandler (object obj, ExposeEventArgs args) { Gdk.EventExpose ev = args.Event; Gdk.Window window = ev.Window; using (Graphics g = Gtk.DotNet.Graphics.FromDrawable (window)){ g.TranslateTransform (ev.Area.X, ev.Area.Y); using (Pen p = new Pen (Color.Red)){ g.DrawPie (p, 0, 0, rect.Width, rect.Height, 50, 90); } } } } // // A sample using inheritance to draw // class PrettyGraphic : DrawingArea { public PrettyGraphic () { SetSizeRequest (200, 200); } protected override bool OnExposeEvent (Gdk.EventExpose args) { using (Graphics g = Gtk.DotNet.Graphics.FromDrawable (args.Window)){ Pen p = new Pen (Color.Blue, 1.0f); for (int i = 0; i < 600; i += 60) for (int j = 0; j < 600; j += 60) g.DrawLine (p, i, 0, 0, j); } return true; } } class MovingText : DrawingArea { static int d = 0; Font f; public MovingText () { GLib.Timeout.Add (20, new GLib.TimeoutHandler (Forever)); SetSizeRequest (300, 200); f = new Font ("Times", 20); } bool Forever () { QueueDraw (); return true; } protected override bool OnExposeEvent (Gdk.EventExpose args) { using (Graphics g = Gtk.DotNet.Graphics.FromDrawable (args.Window)){ using (Brush back = new SolidBrush (Color.White), fore = new SolidBrush (Color.Red)){ g.FillRectangle (back, 0, 0, 400, 400); g.TranslateTransform (150, 100); g.RotateTransform (d); d += 3; g.DrawString ("Mono", f, fore, 0, 0); } } return true; } } gtk-sharp-2.12.10/sample/TreeViewDemo.cs0000644000175000001440000000631311131156732014644 00000000000000// TreeView.cs - Fun TreeView demo // // Author: Kristian Rietveld // // (c) 2002 Kristian Rietveld namespace GtkSamples { using System; using System.Reflection; using Gtk; public class TreeViewDemo { private static TreeStore store = null; private static Dialog dialog = null; private static Label dialog_label = null; private static int count = 0; public TreeViewDemo () { DateTime start = DateTime.Now; Application.Init (); PopulateStore (); Window win = new Window ("TreeView demo"); win.DeleteEvent += new DeleteEventHandler (DeleteCB); win.SetDefaultSize (640,480); ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); TreeView tv = new TreeView (store); tv.HeadersVisible = true; tv.EnableSearch = false; tv.AppendColumn ("Name", new CellRendererText (), "text", 0); tv.AppendColumn ("Type", new CellRendererText (), "text", 1); sw.Add (tv); dialog.Destroy (); dialog = null; win.ShowAll (); Console.WriteLine (count + " nodes added."); Console.WriteLine ("Startup time: " + DateTime.Now.Subtract (start)); Application.Run (); } private static void ProcessType (TreeIter parent, System.Type t) { foreach (MemberInfo mi in t.GetMembers ()) { store.AppendValues (parent, mi.Name, mi.ToString ()); count++; } } private static void ProcessAssembly (TreeIter parent, Assembly asm) { string asm_name = asm.GetName ().Name; foreach (System.Type t in asm.GetTypes ()) { UpdateDialog ("Loading from {0}:\n{1}", asm_name, t.ToString ()); TreeIter iter = store.AppendValues (parent, t.Name, t.ToString ()); count++; ProcessType (iter, t); } } private static void PopulateStore () { if (store != null) return; store = new TreeStore (typeof (string), typeof (string)); foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies ()) { UpdateDialog ("Loading {0}", asm.GetName ().Name); TreeIter iter = store.AppendValues (asm.GetName ().Name, "Assembly"); count++; ProcessAssembly (iter, asm); } } public static void Main (string[] args) { new TreeViewDemo (); } private static void DeleteCB (System.Object o, DeleteEventArgs args) { Application.Quit (); } private static void UpdateDialog (string format, params object[] args) { string text = String.Format (format, args); if (dialog == null) { dialog = new Dialog (); dialog.Title = "Loading data from assemblies..."; dialog.AddButton (Stock.Cancel, 1); dialog.Response += new ResponseHandler (ResponseCB); dialog.SetDefaultSize (480, 100); VBox vbox = dialog.VBox; HBox hbox = new HBox (false, 4); vbox.PackStart (hbox, true, true, 0); Gtk.Image icon = new Gtk.Image (Stock.DialogInfo, IconSize.Dialog); hbox.PackStart (icon, false, false, 0); dialog_label = new Label (text); hbox.PackStart (dialog_label, false, false, 0); dialog.ShowAll (); } else { dialog_label.Text = text; while (Application.EventsPending ()) Application.RunIteration (); } } private static void ResponseCB (object obj, ResponseArgs args) { Application.Quit (); System.Environment.Exit (0); } } } gtk-sharp-2.12.10/sample/Makefile.in0000644000175000001440000005055211345266365014042 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SCRIPTS = $(noinst_SCRIPTS) SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = test GtkDemo pixmaps valtest opaquetest @ENABLE_MONO_CAIRO_FALSE@cairo_ref = $(MONO_CAIRO_LIBS) @ENABLE_MONO_CAIRO_TRUE@cairo_ref = -r:$(top_builddir)/cairo/Mono.Cairo.dll @ENABLE_GLADE_FALSE@GLADE_TARGETS = @ENABLE_GLADE_TRUE@GLADE_TARGETS = glade-viewer.exe glade-test.exe @ENABLE_GLADE_FALSE@GLADE_ASSEMBLY = @ENABLE_GLADE_TRUE@GLADE_ASSEMBLY = ../glade/glade-sharp.dll @ENABLE_DOTNET_FALSE@DOTNET_TARGETS = @ENABLE_DOTNET_TRUE@DOTNET_TARGETS = drawing-sample.exe @ENABLE_DOTNET_FALSE@DOTNET_ASSEMBLY = @ENABLE_DOTNET_TRUE@DOTNET_ASSEMBLY = ../gtkdotnet/gtk-dotnet.dll TARGETS = polarfixed.exe custom-widget.exe custom-cellrenderer.exe gtk-hello-world.exe button.exe calendar.exe subclass.exe menu.exe size.exe scribble.exe scribble-xinput.exe treeviewdemo.exe managedtreeviewdemo.exe nodeviewdemo.exe treemodeldemo.exe testdnd.exe actions.exe spawn.exe assistant.exe registerprop.exe gexceptiontest.exe cairo-sample.exe $(GLADE_TARGETS) $(DOTNET_TARGETS) DEBUGS = $(addsuffix .mdb, $(TARGETS)) assemblies = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll $(GLADE_ASSEMBLY) references = $(addprefix /r:, $(assemblies)) noinst_SCRIPTS = $(TARGETS) CLEANFILES = $(TARGETS) $(DEBUGS) dotnet_references = $(references) $(addprefix -r:, $(DOTNET_ASSEMBLY)) -r:System.Drawing.dll EXTRA_DIST = \ HelloWorld.cs \ Assistant.cs \ ButtonApp.cs \ CalendarApp.cs \ Subclass.cs \ Menu.cs \ Size.cs \ Scribble.cs \ ScribbleXInput.cs \ SpawnTests.cs \ TreeModelDemo.cs \ TreeViewDemo.cs \ ManagedTreeViewDemo.cs \ NodeViewDemo.cs \ GExceptionTest.cs \ GladeViewer.cs \ GladeTest.cs \ test.glade \ CairoSample.cs \ TestDnd.cs \ CustomCellRenderer.cs \ DrawingSample.cs \ CustomWidget.cs \ Actions.cs \ PropertyRegistration.cs \ PolarFixed.cs all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am gtk-hello-world.exe: $(srcdir)/HelloWorld.cs $(assemblies) $(CSC) /out:gtk-hello-world.exe $(references) $(srcdir)/HelloWorld.cs button.exe: $(srcdir)/ButtonApp.cs $(assemblies) $(CSC) /out:button.exe $(references) $(srcdir)/ButtonApp.cs calendar.exe: $(srcdir)/CalendarApp.cs $(assemblies) $(CSC) /out:calendar.exe $(references) $(srcdir)/CalendarApp.cs subclass.exe: $(srcdir)/Subclass.cs $(assemblies) $(CSC) /out:subclass.exe $(references) $(srcdir)/Subclass.cs menu.exe: $(srcdir)/Menu.cs $(assemblies) $(CSC) /out:menu.exe $(references) $(srcdir)/Menu.cs size.exe: $(srcdir)/Size.cs $(assemblies) $(CSC) /out:size.exe $(references) $(srcdir)/Size.cs scribble.exe: $(srcdir)/Scribble.cs $(assemblies) $(CSC) /out:scribble.exe $(references) $(srcdir)/Scribble.cs scribble-xinput.exe: $(srcdir)/ScribbleXInput.cs $(assemblies) $(CSC) /out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs treeviewdemo.exe: $(srcdir)/TreeViewDemo.cs $(assemblies) $(CSC) /out:treeviewdemo.exe $(references) $(srcdir)/TreeViewDemo.cs managedtreeviewdemo.exe: $(srcdir)/ManagedTreeViewDemo.cs $(assemblies) $(CSC) /out:managedtreeviewdemo.exe $(references) $(srcdir)/ManagedTreeViewDemo.cs nodeviewdemo.exe: $(srcdir)/NodeViewDemo.cs $(assemblies) $(CSC) /out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs treemodeldemo.exe: $(srcdir)/TreeModelDemo.cs $(assemblies) $(CSC) /out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs glade-viewer.exe: $(srcdir)/GladeViewer.cs $(assemblies) $(CSC) /out:glade-viewer.exe $(references) $(srcdir)/GladeViewer.cs glade-test.exe: $(srcdir)/GladeTest.cs $(srcdir)/test.glade $(assemblies) $(CSC) /resource:$(srcdir)/test.glade,test.glade /out:glade-test.exe $(references) $(srcdir)/GladeTest.cs cairo-sample.exe: $(srcdir)/CairoSample.cs $(assemblies) $(CSC) /out:cairo-sample.exe $(references) $(cairo_ref) $(srcdir)/CairoSample.cs testdnd.exe: $(srcdir)/TestDnd.cs $(assemblies) $(CSC) /debug /unsafe /out:testdnd.exe $(references) $(srcdir)/TestDnd.cs custom-cellrenderer.exe: $(srcdir)/CustomCellRenderer.cs $(assemblies) $(CSC) /debug /out:custom-cellrenderer.exe $(references) $(srcdir)/CustomCellRenderer.cs drawing-sample.exe: $(srcdir)/DrawingSample.cs $(assemblies) $(DOTNET_ASSEMBLIES) $(CSC) /debug /out:drawing-sample.exe $(dotnet_references) $(srcdir)/DrawingSample.cs custom-widget.exe: $(srcdir)/CustomWidget.cs $(assemblies) $(CSC) /debug /out:custom-widget.exe $(references) $(srcdir)/CustomWidget.cs actions.exe: $(srcdir)/Actions.cs $(CSC) /debug /unsafe /out:actions.exe $(references) $(srcdir)/Actions.cs polarfixed.exe: $(srcdir)/PolarFixed.cs $(assemblies) $(CSC) /debug /out:polarfixed.exe $(references) $(srcdir)/PolarFixed.cs spawn.exe: $(srcdir)/SpawnTests.cs $(assemblies) $(CSC) /out:spawn.exe $(references) $(srcdir)/SpawnTests.cs assistant.exe: $(srcdir)/Assistant.cs $(assemblies) $(CSC) /out:assistant.exe $(references) $(srcdir)/Assistant.cs registerprop.exe: $(srcdir)/PropertyRegistration.cs $(assemblies) $(CSC) /out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs gexceptiontest.exe: $(srcdir)/GExceptionTest.cs $(assemblies) $(CSC) /out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/sample/CustomCellRenderer.cs0000644000175000001440000000730011254303646016047 00000000000000// CustomCellRenderer.cs : C# implementation of an example custom cellrenderer // from http://scentric.net/tutorial/sec-custom-cell-renderers.html // // Author: Todd Berman // // (c) 2004 Todd Berman using System; using Gtk; using Gdk; using GLib; public class CustomCellRenderer : CellRenderer { private float percent; [GLib.Property ("percent")] public float Percentage { get { return percent; } set { percent = value; } } public override void GetSize (Widget widget, ref Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { int calc_width = (int) this.Xpad * 2 + 100; int calc_height = (int) this.Ypad * 2 + 10; width = calc_width; height = calc_height; x_offset = 0; y_offset = 0; if (!cell_area.Equals (Rectangle.Zero)) { x_offset = (int) (this.Xalign * (cell_area.Width - calc_width)); x_offset = Math.Max (x_offset, 0); y_offset = (int) (this.Yalign * (cell_area.Height - calc_height)); y_offset = Math.Max (y_offset, 0); } } protected override void Render (Drawable window, Widget widget, Rectangle background_area, Rectangle cell_area, Rectangle expose_area, CellRendererState flags) { int width = 0, height = 0, x_offset = 0, y_offset = 0; StateType state; GetSize (widget, ref cell_area, out x_offset, out y_offset, out width, out height); if (widget.HasFocus) state = StateType.Active; else state = StateType.Normal; width -= (int) this.Xpad * 2; height -= (int) this.Ypad * 2; //FIXME: Style.PaintBox needs some customization so that if you pass it //a Gdk.Rectangle.Zero it gives a clipping area big enough to draw //everything Gdk.Rectangle clipping_area = new Gdk.Rectangle ((int) (cell_area.X + x_offset + this.Xpad), (int) (cell_area.Y + y_offset + this.Ypad), width - 1, height - 1); Style.PaintBox (widget.Style, (Gdk.Window) window, StateType.Normal, ShadowType.In, clipping_area, widget, "trough", (int) (cell_area.X + x_offset + this.Xpad), (int) (cell_area.Y + y_offset + this.Ypad), width - 1, height - 1); Gdk.Rectangle clipping_area2 = new Gdk.Rectangle ((int) (cell_area.X + x_offset + this.Xpad), (int) (cell_area.Y + y_offset + this.Ypad), (int) (width * Percentage), height - 1); Style.PaintBox (widget.Style, (Gdk.Window) window, state, ShadowType.Out, clipping_area2, widget, "bar", (int) (cell_area.X + x_offset + this.Xpad), (int) (cell_area.Y + y_offset + this.Ypad), (int) (width * Percentage), height - 1); } } public class Driver : Gtk.Window { public static void Main () { Application.Init (); new Driver (); Application.Run (); } ListStore liststore; public Driver () : base ("CustomCellRenderer") { DefaultSize = new Size (150, 100); this.DeleteEvent += new DeleteEventHandler (window_delete); liststore = new ListStore (typeof (float), typeof (string)); liststore.AppendValues (0.5f, "50%"); TreeView view = new TreeView (liststore); view.AppendColumn ("Progress", new CellRendererText (), "text", 1); view.AppendColumn ("Progress", new CustomCellRenderer (), "percent", 0); this.Add (view); this.ShowAll (); GLib.Timeout.Add (50, new GLib.TimeoutHandler (update_percent)); } bool increasing = true; bool update_percent () { TreeIter iter; liststore.GetIterFirst (out iter); float perc = (float) liststore.GetValue (iter, 0); if ((perc > 0.99) || (perc < 0.01 && perc > 0)) { increasing = !increasing; } if (increasing) perc += 0.01f; else perc -= 0.01f; liststore.SetValue (iter, 0, perc); liststore.SetValue (iter, 1, Convert.ToInt32 (perc * 100) + "%"); return true; } void window_delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } gtk-sharp-2.12.10/sample/ButtonApp.cs0000755000175000001440000000151711131156732014225 00000000000000// ButtonApp.cs - Gtk.Button class Test implementation // // Author: Mike Kestner // // (c) 2001-2002 Mike Kestner namespace GtkSamples { using Gtk; using System; public class ButtonApp { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Button Tester"); win.DefaultWidth = 200; win.DefaultHeight = 150; win.DeleteEvent += new DeleteEventHandler (Window_Delete); Button btn = new Button ("Click Me"); btn.Clicked += new EventHandler (btn_click); win.Add (btn); win.ShowAll (); Application.Run (); return 0; } static void btn_click (object obj, EventArgs args) { Console.WriteLine ("Button Clicked"); } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } gtk-sharp-2.12.10/sample/GtkDemo/0000777000175000001440000000000011345266756013410 500000000000000gtk-sharp-2.12.10/sample/GtkDemo/DemoUIManager.cs0000644000175000001440000001226211131156730016252 00000000000000/* UI Manager * * The GtkUIManager object allows the easy creation of menus * from an array of actions and a description of the menu hierarchy. */ using System; using Gtk; namespace GtkDemo { [Demo ("UIManager", "DemoUIManager.cs")] public class DemoUIManager : Window { enum Color { Red, Green, Blue }; enum Shape { Square, Rectangle, Oval }; const string uiInfo = "" + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + ""; public DemoUIManager () : base ("UI Manager") { ActionEntry[] entries = new ActionEntry[] { new ActionEntry ("FileMenu", null, "_File", null, null, null), new ActionEntry ("PreferencesMenu", null, "_Preferences", null, null, null), new ActionEntry ("ColorMenu", null, "_Color", null, null, null), new ActionEntry ("ShapeMenu", null, "_Shape", null, null, null), new ActionEntry ("HelpMenu", null, "_Help", null, null, null), new ActionEntry ("New", Stock.New, "_New", "N", "Create a new file", new EventHandler (ActionActivated)), new ActionEntry ("Open", Stock.Open, "_Open", "O", "Open a file", new EventHandler (ActionActivated)), new ActionEntry ("Save", Stock.Save, "_Save", "S", "Save current file", new EventHandler (ActionActivated)), new ActionEntry ("SaveAs", Stock.SaveAs, "Save _As", null, "Save to a file", new EventHandler (ActionActivated)), new ActionEntry ("Quit", Stock.Quit, "_Quit", "Q", "Quit", new EventHandler (ActionActivated)), new ActionEntry ("About", null, "_About", "A", "About", new EventHandler (ActionActivated)), new ActionEntry ("Logo", "demo-gtk-logo", null, null, "Gtk#", new EventHandler (ActionActivated)) }; ToggleActionEntry[] toggleEntries = new ToggleActionEntry[] { new ToggleActionEntry ("Bold", Stock.Bold, "_Bold", "B", "Bold", new EventHandler (ActionActivated), true) }; RadioActionEntry[] colorEntries = new RadioActionEntry[] { new RadioActionEntry ("Red", null, "_Red", "R", "Blood", (int)Color.Red), new RadioActionEntry ("Green", null, "_Green", "G", "Grass", (int)Color.Green), new RadioActionEntry ("Blue", null, "_Blue", "B", "Sky", (int)Color.Blue) }; RadioActionEntry[] shapeEntries = new RadioActionEntry[] { new RadioActionEntry ("Square", null, "_Square", "S", "Square", (int)Shape.Square), new RadioActionEntry ("Rectangle", null, "_Rectangle", "R", "Rectangle", (int)Shape.Rectangle), new RadioActionEntry ("Oval", null, "_Oval", "O", "Egg", (int)Shape.Oval) }; ActionGroup actions = new ActionGroup ("group"); actions.Add (entries); actions.Add (toggleEntries); actions.Add (colorEntries, (int)Color.Red, new ChangedHandler (RadioActionActivated)); actions.Add (shapeEntries, (int)Shape.Oval, new ChangedHandler (RadioActionActivated)); UIManager uim = new UIManager (); uim.InsertActionGroup (actions, 0); AddAccelGroup (uim.AccelGroup); uim.AddUiFromString (uiInfo); VBox box1 = new VBox (false, 0); Add (box1); box1.PackStart (uim.GetWidget ("/MenuBar"), false, false, 0); Label label = new Label ("Type\n\nto start"); label.SetSizeRequest (200, 200); label.SetAlignment (0.5f, 0.5f); box1.PackStart (label, true, true, 0); HSeparator separator = new HSeparator (); box1.PackStart (separator, false, true, 0); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button button = new Button ("close"); button.Clicked += new EventHandler (CloseClicked); box2.PackStart (button, true, true, 0); button.CanDefault = true; button.GrabDefault (); ShowAll (); } private void ActionActivated (object sender, EventArgs a) { Gtk.Action action = sender as Gtk.Action; Console.WriteLine ("Action \"{0}\" activated", action.Name); } private void RadioActionActivated (object sender, ChangedArgs args) { Console.WriteLine ("Radio action \"{0}\" selected", args.Current.Name); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } void CloseClicked (object sender, EventArgs a) { Destroy (); } } } gtk-sharp-2.12.10/sample/GtkDemo/Makefile.am0000644000175000001440000000435411131156730015345 00000000000000if ENABLE_MONO_CAIRO local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll else local_mono_cairo= endif assemblies = \ $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll \ $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll \ $(top_builddir)/gtk/gtk-sharp.dll $(local_mono_cairo) references = $(addprefix /r:, $(assemblies)) @MONO_CAIRO_LIBS@ TARGETS = GtkDemo.exe DEBUGS = $(addsuffix .mdb, $(TARGETS)) CLEANFILES = $(TARGETS) $(DEBUGS) noinst_SCRIPTS = $(TARGETS) EXTRA_DIST = $(sources) $(image_names) sources = \ DemoApplicationWindow.cs \ DemoAttribute.cs \ DemoButtonBox.cs \ DemoClipboard.cs \ DemoColorSelection.cs \ DemoDialog.cs \ DemoDrawingArea.cs \ DemoEditableCells.cs \ DemoEntryCompletion.cs \ DemoExpander.cs \ DemoHyperText.cs \ DemoIconView.cs \ DemoImages.cs \ DemoListStore.cs \ DemoMain.cs \ DemoMenus.cs \ DemoPanes.cs \ DemoPixbuf.cs \ DemoRotatedText.cs \ DemoSizeGroup.cs \ DemoStockBrowser.cs \ DemoTextView.cs \ DemoTreeStore.cs \ DemoUIManager.cs \ DemoPrinting.cs images = \ images/gnome-foot.png,gnome-foot.png \ images/MonoIcon.png,MonoIcon.png \ images/gnome-calendar.png,gnome-calendar.png \ images/gnome-gmush.png,gnome-gmush.png \ images/gnu-keys.png,gnu-keys.png \ images/gnome-applets.png,gnome-applets.png \ images/gnome-gsame.png,gnome-gsame.png \ images/alphatest.png,alphatest.png \ images/gnome-gimp.png,gnome-gimp.png \ images/apple-red.png,apple-red.png \ images/background.jpg,background.jpg \ images/gtk-logo-rgb.gif,gtk-logo-rgb.gif \ images/floppybuddy.gif,floppybuddy.gif image_names = \ images/gnome-foot.png \ images/MonoIcon.png \ images/gnome-calendar.png \ images/gnome-gmush.png \ images/gnu-keys.png \ images/gnome-applets.png \ images/gnome-gsame.png \ images/alphatest.png \ images/gnome-gimp.png \ images/apple-red.png \ images/background.jpg \ images/gtk-logo-rgb.gif \ images/floppybuddy.gif build_sources = $(addprefix $(srcdir)/, $(sources)) build_images = $(addprefix $(srcdir)/, $(images)) resources = $(addprefix /resource:, $(build_sources), $(build_images)) GtkDemo.exe: $(build_sources) $(assemblies) $(CSC) $(CSFLAGS) /out:GtkDemo.exe $(build_sources) $(references) $(resources) gtk-sharp-2.12.10/sample/GtkDemo/TODO0000644000175000001440000000036211131156730013774 00000000000000General - gtk-demo passes a widget to each demo that is used to set the Screen and sometimes Parent of each demo window - Demo window management is not the same as in gtk-demo DemoMain - syntax highlighting Change Display - missing gtk-sharp-2.12.10/sample/GtkDemo/DemoStockBrowser.cs0000644000175000001440000001231011131156730017063 00000000000000/* Stock Item and Icon Browser * * This source code for this demo doesn't demonstrate anything * particularly useful in applications. The purpose of the "demo" is * just to provide a handy place to browse the available stock icons * and stock items. */ using System; using System.Collections; using System.Reflection; using Gtk; namespace GtkDemo { [Demo ("Stock Item and Icon Browser", "DemoStockBrowser.cs")] public class DemoStockBrowser : Gtk.Window { enum Column { Id, Name, Label, Accel, }; Label typeLabel, nameLabel, idLabel, accelLabel; Image iconImage; public DemoStockBrowser () : base ("Stock Icons and Items") { SetDefaultSize (-1, 500); BorderWidth = 8; HBox hbox = new HBox (false, 8); Add (hbox); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Never, PolicyType.Automatic); hbox.PackStart (sw, false, false, 0); ListStore model = CreateModel (); TreeView treeview = new TreeView (model); sw.Add (treeview); TreeViewColumn column = new TreeViewColumn (); column.Title = "Name"; CellRenderer renderer = new CellRendererPixbuf (); column.PackStart (renderer, false); column.SetAttributes (renderer, "stock_id", Column.Id); renderer = new CellRendererText (); column.PackStart (renderer, true); column.SetAttributes (renderer, "text", Column.Name); treeview.AppendColumn (column); treeview.AppendColumn ("Label", new CellRendererText (), "text", Column.Label); treeview.AppendColumn ("Accel", new CellRendererText (), "text", Column.Accel); treeview.AppendColumn ("ID", new CellRendererText (), "text", Column.Id); Alignment align = new Alignment (0.5f, 0.0f, 0.0f, 0.0f); hbox.PackEnd (align, false, false, 0); Frame frame = new Frame ("Selected Item"); align.Add (frame); VBox vbox = new VBox (false, 8); vbox.BorderWidth = 8; frame.Add (vbox); typeLabel = new Label (); vbox.PackStart (typeLabel, false, false, 0); iconImage = new Gtk.Image (); vbox.PackStart (iconImage, false, false, 0); accelLabel = new Label (); vbox.PackStart (accelLabel, false, false, 0); nameLabel = new Label (); vbox.PackStart (nameLabel, false, false, 0); idLabel = new Label (); vbox.PackStart (idLabel, false, false, 0); treeview.Selection.Mode = Gtk.SelectionMode.Single; treeview.Selection.Changed += new EventHandler (SelectionChanged); ShowAll (); } private ListStore CreateModel () { ListStore store = new Gtk.ListStore (typeof (string), typeof(string), typeof(string), typeof(string), typeof (string)); string[] stockIds = Gtk.Stock.ListIds (); Array.Sort (stockIds); // Use reflection to get the list of C# names Hashtable idToName = new Hashtable (); foreach (PropertyInfo info in typeof (Gtk.Stock).GetProperties (BindingFlags.Public | BindingFlags.Static)) { if (info.PropertyType == typeof (string)) idToName[info.GetValue (null, null)] = "Gtk.Stock." + info.Name; } foreach (string id in stockIds) { Gtk.StockItem si; string accel; si = Gtk.Stock.Lookup (id); if (si.Keyval != 0) accel = Accelerator.Name (si.Keyval, si.Modifier); else accel = ""; store.AppendValues (id, idToName[id], si.Label, accel); } return store; } void SelectionChanged (object o, EventArgs args) { TreeSelection selection = (TreeSelection)o; TreeIter iter; TreeModel model; if (selection.GetSelected (out model, out iter)) { string id = (string) model.GetValue (iter, (int)Column.Id); string name = (string) model.GetValue (iter, (int)Column.Name); string label = (string) model.GetValue (iter, (int)Column.Label); string accel = (string) model.GetValue (iter, (int)Column.Accel); IconSize size = GetLargestSize (id); bool icon = (size != IconSize.Invalid); if (icon && label != null) typeLabel.Text = "Icon and Item"; else if (icon) typeLabel.Text = "Icon Only"; else if (label != null) typeLabel.Text = "Item Only"; else typeLabel.Text = "???????"; if (name != null) nameLabel.Text = name; else nameLabel.Text = ""; idLabel.Text = id; if (label != null) accelLabel.TextWithMnemonic = label + " " + accel; else accelLabel.Text = ""; if (icon) iconImage.SetFromStock (id, size); else iconImage.Pixbuf = null; } else { typeLabel.Text = "No selected item"; nameLabel.Text = ""; idLabel.Text = ""; accelLabel.Text = ""; iconImage.Pixbuf = null; } } // Finds the largest size at which the given image stock id is // available. This would not be useful for a normal application private IconSize GetLargestSize (string stockId) { IconSet set = IconFactory.LookupDefault (stockId); if (set == null) return IconSize.Invalid; IconSize[] sizes = set.Sizes; IconSize bestSize = IconSize.Invalid; int bestPixels = 0; foreach (IconSize size in sizes) { int width, height; Gtk.Icon.SizeLookup (size, out width, out height); if (width * height > bestPixels) { bestSize = size; bestPixels = width * height; } } return bestSize; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoDrawingArea.cs0000644000175000001440000001442311131156730016627 00000000000000/* Drawing Area * * GtkDrawingArea is a blank area where you can draw custom displays * of various kinds. * * This demo has two drawing areas. The checkerboard area shows * how you can just draw something; all you have to do is write * a signal handler for ExposeEvent, as shown here. * * The "scribble" area is a bit more advanced, and shows how to handle * events such as button presses and mouse motion. Click the mouse * and drag in the scribble area to draw squiggles. Resize the window * to clear the area. */ using System; using Gtk; using Gdk; namespace GtkDemo { [Demo ("Drawing Area", "DemoDrawingArea.cs")] public class DemoDrawingArea : Gtk.Window { private Pixmap pixmap = null; public DemoDrawingArea () : base ("Drawing Area") { BorderWidth = 8; VBox vbox = new VBox (false, 8); vbox.BorderWidth = 8; Add (vbox); // Create the checkerboard area Label label = new Label ("Checkerboard pattern"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); Frame frame = new Frame (); frame.ShadowType = ShadowType.In; vbox.PackStart (frame, true, true, 0); DrawingArea da = new DrawingArea (); // set a minimum size da.SetSizeRequest (100,100); frame.Add (da); da.ExposeEvent += new ExposeEventHandler (CheckerboardExpose); // Create the scribble area label = new Label ("Scribble area"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); frame = new Frame (); frame.ShadowType = ShadowType.In; vbox.PackStart (frame, true, true, 0); da = new DrawingArea (); // set a minimum size da.SetSizeRequest (100, 100); frame.Add (da); // Signals used to handle backing pixmap da.ExposeEvent += new ExposeEventHandler (ScribbleExpose); da.ConfigureEvent += new ConfigureEventHandler (ScribbleConfigure); // Event signals da.MotionNotifyEvent += new MotionNotifyEventHandler (ScribbleMotionNotify); da.ButtonPressEvent += new ButtonPressEventHandler (ScribbleButtonPress); // Ask to receive events the drawing area doesn't normally // subscribe to da.Events |= EventMask.LeaveNotifyMask | EventMask.ButtonPressMask | EventMask.PointerMotionMask | EventMask.PointerMotionHintMask; ShowAll (); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void CheckerboardExpose (object o, ExposeEventArgs args) { const int CheckSize = 10; const int Spacing = 2; DrawingArea da = o as DrawingArea; // It would be a bit more efficient to keep these // GC's around instead of recreating on each expose, but // this is the lazy/slow way. Gdk.GC gc1 = new Gdk.GC (da.GdkWindow); gc1.RgbFgColor = new Gdk.Color (117, 0, 117); Gdk.GC gc2 = new Gdk.GC (da.GdkWindow); gc2.RgbFgColor = new Gdk.Color (255, 255, 255); int i, j, xcount, ycount; Gdk.Rectangle alloc = da.Allocation; // Start redrawing the Checkerboard xcount = 0; i = Spacing; while (i < alloc.Width) { j = Spacing; ycount = xcount % 2; // start with even/odd depending on row while (j < alloc.Height) { Gdk.GC gc; if (ycount % 2 != 0) gc = gc1; else gc = gc2; da.GdkWindow.DrawRectangle (gc, true, i, j, CheckSize, CheckSize); j += CheckSize + Spacing; ++ycount; } i += CheckSize + Spacing; ++xcount; } // return true because we've handled this event, so no // further processing is required. args.RetVal = true; } private void ScribbleExpose (object o, ExposeEventArgs args) { Widget widget = o as Widget; Gdk.Window window = widget.GdkWindow; Rectangle area = args.Event.Area; // We use the "ForegroundGC" for the widget since it already exists, // but honestly any GC would work. The only thing to worry about // is whether the GC has an inappropriate clip region set. window.DrawDrawable (widget.Style.ForegroundGC (StateType.Normal), pixmap, area.X, area.Y, area.X, area.Y, area.Width, area.Height); } // Create a new pixmap of the appropriate size to store our scribbles private void ScribbleConfigure (object o, ConfigureEventArgs args) { Widget widget = o as Widget; Rectangle allocation = widget.Allocation; pixmap = new Pixmap (widget.GdkWindow, allocation.Width, allocation.Height, -1); // Initialize the pixmap to white pixmap.DrawRectangle (widget.Style.WhiteGC, true, 0, 0, allocation.Width, allocation.Height); // We've handled the configure event, no need for further processing. args.RetVal = true; } private void ScribbleMotionNotify (object o, MotionNotifyEventArgs args) { // paranoia check, in case we haven't gotten a configure event if (pixmap == null) return; // This call is very important; it requests the next motion event. // If you don't call Window.GetPointer() you'll only get a single // motion event. The reason is that we specified PointerMotionHintMask // in widget.Events. If we hadn't specified that, we could just use // args.Event.X, args.Event.Y as the pointer location. But we'd also // get deluged in events. By requesting the next event as we handle // the current one, we avoid getting a huge number of events faster // than we can cope. int x, y; ModifierType state; args.Event.Window.GetPointer (out x, out y, out state); if ((state & ModifierType.Button1Mask) != 0) DrawBrush (o as Widget, x, y); // We've handled it, stop processing args.RetVal = true; } // Draw a rectangle on the screen private void DrawBrush (Widget widget, double x, double y) { Rectangle update_rect = new Rectangle ((int)x - 3, (int)y - 3, 6, 6); // Paint to the pixmap, where we store our state pixmap.DrawRectangle (widget.Style.BlackGC, true, update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); widget.GdkWindow.InvalidateRect (update_rect, false); } private void ScribbleButtonPress (object o, ButtonPressEventArgs args) { // paranoia check, in case we haven't gotten a configure event if (pixmap == null) return; EventButton ev = args.Event; if (ev.Button == 1) DrawBrush (o as Widget, ev.X, ev.Y); // We've handled the event, stop processing args.RetVal = true; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoEntryCompletion.cs0000644000175000001440000000227411131156730017577 00000000000000/* Entry Completion * * GtkEntryCompletion provides a mechanism for adding support for * completion in GtkEntry. * */ using System; using Gtk; namespace GtkDemo { [Demo ("Entry Completion", "DemoEntryCompletion.cs")] public class DemoEntryCompletion : Dialog { public DemoEntryCompletion () : base ("Demo Entry Completion", null, DialogFlags.DestroyWithParent) { Resizable = false; VBox vbox = new VBox (false, 5); vbox.BorderWidth = 5; this.VBox.PackStart (vbox, true, true, 0); Label label = new Label ("Completion demo, try writing total or gnome for example."); label.UseMarkup = true; vbox.PackStart (label, false, true, 0); Entry entry = new Entry (); vbox.PackStart (entry, false, true, 0); entry.Completion = new EntryCompletion (); entry.Completion.Model = CreateCompletionModel (); entry.Completion.TextColumn = 0; AddButton (Stock.Close, ResponseType.Close); ShowAll (); Run (); Destroy (); } TreeModel CreateCompletionModel () { ListStore store = new ListStore (typeof (string)); store.AppendValues ("GNOME"); store.AppendValues ("total"); store.AppendValues ("totally"); return store; } } } gtk-sharp-2.12.10/sample/GtkDemo/images/0000777000175000001440000000000011345266756014655 500000000000000gtk-sharp-2.12.10/sample/GtkDemo/images/gtk-logo-rgb.gif0000644000175000001440000001443311131156730017537 00000000000000GIF89akŒçÿÿÿïûõïô󪫹ÔÄèÔÜÔ˜¸­Æ¹ÅÄ/L”\lÀu’x 4# "7èÕï„x¤:Z¬5d Y$]'+4 ."dª¢Ü»Ò¼-E76Z7nNdlG7]9$7L 5(4…=`Ûëà-LE*48  ; &M–=rá2fÆpˆz$L-M¸>vâ!C‚ÌåÚ %<’/e®o{,D´9MG 'Þõç=WW +T›,[Ÿ’ª¬43\Ç,  7gÓOkw1U» Ã¸DVr¦” ‚¤Œ=!2kFZûîú&Rl #4Td\ھس˜JmÍ ,š~¬ÕÌâ($;DL&p,X%I 5'iU!¤):ÉFA9GDjÓÔÖÕe²)<9 H ØFE‚,)7 ëIKj)%6#&¨89;4P 4E&¶@4˜âÞ•pA àYhPJ,A‡~(Ût,0ñC&Η"ŠCÎwÅa¥…†Œ9ñŽˆÝ Û” @¡ƒƒ¼5¤ÚqGZp¤X@QHñ"\Ö6eS´d–¦Xä–:¼b¥˜R\T¥Ž 2AdvP0CMà  àp%‘õ ‰ƒ„¥ÝpÊRBY±D‡ÞMwÙlBL‘å h6¥l5„¢zP §þÜ10abK%qE‹9JY‚@+ÀªõÂ,Ø6儳æGÁ‚[j7°•¢2YЀët»Vaâ-œ:®ù…›#š,4!*}Ù51‚¬¥a° ü™ë¡šÈ"¶ùmÆB¥Nh[¿•V0…vCú0A ¸†TIZ´p&š:º *ƒLˆ(®¸³"›,¸h: ­‰¼1ÑBùÅ’[àŠ˜?8„[û;B: ¬ÃLÖ­;n|ÃpΗƒ¢$#F*`EÉÂuY ‚>¨C·ãF9âÀB«èCÝJÕ7Ô ôƒC#‰æ(ª¨–áÞ0BB¸ºÂGÉ@­fÍàþœCd6t·uCÞsù®yNDWAš†[ÖÍzv'»%Ô ­ŠÍÖ7\]¼ð凇‰€îœsSѹQTýaÜ[É`hRš"€Œ.ÙYúðÅe-d¦,Ù Ë÷BÓ¡¬âJAÂçqA´v`0@i,ÂUAì½<¶ñ@¿™Ø\b‰â'×^ÊcDÆQÖP†«pò6"˜Áù †ù›zkÖ|¸U)<ŠKô)\ *ÅŠõaI ÀO¿6S³Ø¹ê~EÌJšEêM˜ÃNþU»e-RrÊÁïJÓŠ…(!'€AÐT6 ¬{ZÚŽun7®”è„þ*ªÙ£æÄ›{ÉæC.H`ÐR¸%­Ì¯èŠ@œ0ƒ<1RÀ€ ä¶DMM-NCS| '·4áY?`ÂØ„ðUˆ&Ü[‘ìW4¸ÀBèŠf ƒ#\àjà€âÖ½ïõîY`€Ø‡(@¸½¡h°MØ\0„ïOwK$]œb!‹Ö•`!Ã,† °¡ nxCà ¼qP€_íz'‰Ìn#ãXHG ‰7´€B,j±† Ø!Vàc Ô9ÌlÈbtðAAn Tdî FFüÆjì© ÷¸HF&îm :¸.fÄ |ÈBìðÁ”wþÀCÌt€@ ,\Ц€|u°š½¹Ÿø@׃’±xDœ#o¨°† HF»èD x ìá4àCü€<üpá¢Æ»¬1!Œp] ‹4©ªmljôC別ˆÆ‚ hÀÒP2ôÂ6¸À/:º…#Ðà€DIñ 3¹èÓ4Ÿ§p;Žý€GºØ"Õòƒ–q>è¤ÅL ¤áÀ†\…A‚ #(yÌ B ˆ©â!„‚‹.PƒB”¯§>0\ ƒ&™ön`CøÁ¦bv™`òƒ½ó->`Èà k0ˆA aÜ@ Å@H‘†#ð!ª~Åþ"øY>¨ ôÓRWÛ‚&ÍQ>ÞT™ÝzGÂéJWXÁ†(c´¤%-%JP âÐäxjb[R? áE|@¬$@:·‹\c÷ô‡± @A—åÕÃVpOXÄ€n~I{Œ°i€"NÐ Œ”»xðÃ"PúÇ#`€ X«oü6Á(ÁnKÀ ®¤I¹êVG¸ÁÝç7н@2ˆðA¤REp ñÇI! .X£‰˜ ·`+c,øAC‡Æ?qQàr¯”O~€‹ÖÀ% ÆØotõ«ŒDªAyiÄBÚ‡Ë ^æN ½úŒ@’®ëØþˆ$®$à°¿ÔÁ"ó¥,C¿¤….t™ŸR$$Š Š`¿ dƒÔÀ‡4”á€(Š‚tš&ÖvÒæë Œ°„ Ôµk‰ñ]f¬vÄ^Ć©>¢Ðx ÃS£ùâ#À¡Uõ Í<Ô1±Þ`"7{“N#È SÎ5±‰ñ쌷\pˆÞA•Ð ‡{ÝH$Ћ$ÐKGZáPPÖ I$Ó‡qàyÝå¬8hùáw±um– ÜàW‚Ї~èÐCà ÇP‹K° ·§ƒËVZo!A @ŽæHW¦l˜{À!q` [s –Àâr|ðÜE¸ŒÝµ ‹F·”à øÑ‹K@o2¨}ѵrˆpqö #—<Ƹ÷´ t@~EAM)^ˆÁo`un "ems þ H†œ`а Ýpޤ¥ y|–ŽpÊðqÊЀ~¦0°ø’Û[ßà’€$x_—Hˆ~4à¤7Uƒ` 6Ðr¥ “¨ƒÁ  Ù`6P”r—_#W àtúÕ < ‘3@2›€É7UtPcA”}‚x° !¥„0Uß6Œ¸``†`à §gáW `Ž¥æÇdŒO@2Ü@}YR‘Pc€t&¢ˆj 16„°`|pxð ‹`Oƒž¹ ½È)• l9já 2$ mIZað°0°o± ß@|~… ¬Øš•öG~þ· „p àP×ø ƒ@A€‘æÈ $0oë°“£¶{ê Ëà™ÑUœpñlJ/À nÀ†  X•.²Lmà~ð€à߇¸QrÙ`Yðä™ ÂrÄ  ìUQ™qŽ.Òƒ‘ú)ÎøŸ±õ8˜ÙiJâ@Rt âÙ‹A€™¶G Ý`6P¡%Îð; ]Ê€‚áR ¹ˆbô lÏRÜ  j0ÕmÀ—o€ùväð~â飊@jÊ`‡H¦`à †€ %F‘ùAÈ _hbU†wÉФå› ¥{Xm„ kjt¦Ôr’Pþtʦ ÚAY`žÄ l†b)Z!7¦pqeŒq¬ã"›° µY|‚ ¥ýÈù4Un``pˆ`p¨j™Ž6à fðÌ` ÌÀ ÂU–•ÊC¡`r ¡'ä/ùyH [èW5 O w̉·óh*¤Ê°<„$°ù¨oq‹À«Qð"}PUTJ¬(•F÷”S% `¡ŽZŸdZ¦%œ0޵.Apg2 ÃÍ®OðG›–`›.§ ¢Zl°m÷Ø®K€6¯¤e¿Ù!7° °Î`‘ú£»ð“GWÎÖ¤N:Щ–pþ®.7Á^üX‹v{ZRnpl¦&f²ˆAËp Yà Šͺ­(†ô€²dò",+Å÷ á¢åš®®Ù•Œù®fÙ_Ú!ÎÀ cˆ+äÉ›¹Ø“`ЭõÀI°œŠ° [m3$Š+~@séz]êW‘ðÞ—£¶™BëP™!KàžÉ ¿yÚ€²€&Xäð‹·°VJ ^PkmöW[ìZi ÚZbG‰+4`>š2ð\ô©lëà!GP (+`µEp[hXWR·¥7+[€ÀŠ"y›’f™o 2 !‹¡…g] ¡€²Q þDÛ`Ÿ–|€µ G^Éf7à}Ê ¢ˆ1™Ë›¾ÃÙ–£u¾>š” !•0h}ðj`¹¹km»ËšÉZ|tp­% ¸ù•o¢žŸœ‚&¾Ð…ÑU¤„j a½æu›[m~ /˾Õö ,§ (V$P¦©{`wºº% Á Q 7``ç€ k°»¥qšÌC6pgxv“•¦7Ù‹©[f0²Ê¶ f2%`)Á‚ŇŸ7òb`Å÷Wt A$0Ÿ£f¤â¢·c¦ YYà“&æ `H7p‰ !`&PܲŸçä w…æ êÉŽÂùþØP­ ù›#\)Ç`Æ¤å ¨¢ °vƒÆç ÇêçWTL·3[ûkU˜Pþ lbzˆ•Ðˋ؈÷êT7œ £M…Ð’o å!¾ ÁΜM¡Ç° DMÝrI 7¸¥îà× £ Âç¹Z^h‚%ì “‰× êÀ;º\Xæ;°î°L3íãÙ¬ -ÒËë¡^m¾ k6)ÅÆ!F@ ï GçéíãEè4ÞÇtVV^ºzÍÚU+W­ —”•(=ݽœoí `˜L-(`Fy9&NÀ•šªaYVü왳Év½°mÛ·íª:ÿ/LÖ/zßeŸ½fÍÕ¯ºúÊB01o2µjyñù_³è²Å8®ÃPÿçšÏ±î¶uÜpà H)B0Äãqm_µòý[úûû¿ È¿VÀ;ñ@V(\{Ãß^¿îº¿¹fr(6¤  IG{ÏîÜÅæÿøÉx‚3¯céKàÕ½¯¢( ª*H$â|ñžÏ)ñT¼4h×?å]È‚òî¹üëeýÇn»eŽ®†©‡š¢Y9œkj¢xú4J¦—bè¶þd+W^y%ÕÕÕ¬ÿ‡õhBÃÐ š›š¸ûîÏÐÔÖL  ’™[³|aåÛýéœù³ßIl2F~~þ‡®¿îƒ+÷¨Õ&OÊGÓ Œ@UÓ©®ªâø‘|àA<×ÃÇç _øŽã 8n†S§Oòõ¯n$I1½¤UÂfV^~î<`wn~®ˆ ÅtÓ4'8ŽÉÉÍž-„Z¦éêXYyñÙÞÞÎTÂ’€÷æßÖª¢ÖÜ{ß½Û¿ô¯_šŽq¸®ŽãÇŽR\RȬŠJŠ I§lÚ[Û8yú%e¥¬^½UQÑ5•M›cÏî_‘•“EVvÏ•xŽK"‘ ¯§ï•y‹«n ƒ•/ï®»ñæßø’ò’iK–,ö55ä4kØ÷ê>+cY­Ï=û\mOwÏ0ð ÐÎxçmÿ×O~ú“/œ¿P „¨Be``}û÷ràÀ!ÊÊŠ)-Á¬Ù 3bÃÃlýÑÙ[»—i%…hšF*™$•Lc†u¬T††c§ÁPðÀôâ’Š;>u{áäÂ)j0Àµ%yyB’Ê` èp㉸õ퇿]WWWwôBç…ÇQ`ô¢òróJnþðÍ'¿ñÐ7†j€B4EÃ4L¤ï³oß«4Ÿk¦§¿‹p$ÂâË/§¿w]»þ‡ÁÁ¦•MÅP5úb$“q¤ëÓÖ|žtÚbáå—±öúkœÒ²r=šeltŒ_=ÿ"GeÓæÇÈÍÍG7t¤¯MÓ0MÓ÷¤×ûäö'ýÃü°þøñãß½¨€ÂÂÂÍ;~¹ãîòòrt]G"ñéIÏAÓ4¡0º®‹ÅhhlàÈázFÆFÈÉ 3:Ã÷$ccc$IFãcœ8zšÊ9ÜzÛG ‡B„B&äMæØ±c<óô.ª««¸é¦›)/+ÇW|Õ¢|f9ápEQP… <ÿÂ.·¾þøÐÓ¿xºúb&ÎÎ8™ÒŠÙøîøîo¨R‘¸ž‹°inm&77JÕÜj–-_Ƽyó9sö4gÎ"•Š“JY8R"}Ÿá¡·ßùqÊʦaè&šj`A4Måà¾ÃlذkÖ\ƒ¦k  ³óéÔ¾ZËÆolDUUt]§¥¥‰_û}ƒ}RL7^L@éG>ú‘2EUPuðéïëãøñÔ××ãù.+®ZJñ´Bz{zùþ¿of$6JEE% Š;î.ß' ÐßÝ˪Õïg΂ùHÏC× ²"Y˜z€@0H__/C±AŽ=Æ¡C‡Ø¹s'K–,aÓc›ض͑#uüÛ}÷ct¦L%O²xɼåÍ@QQQov(»ª­£Gþ&]]]Ì]PÅe‹1µ¨€ìHªªSPXÀ+¯À0LÚšÛhhlॗv“HÅ©¨˜‰c»H–.»ÓÐiiiÆq,²ª*QUáÃí·‚×ΞáÕ½ûÈÍËå¡GbÖÌYƒAžx|;wî$;7‹p(„¦*˜ƒ–æ–ª‹y øÁŒòïËËÏxãÍdá¢ùÍ0 §xþ…Ý öö³ó™_bÛfù»/›ª¨H_ÒÙy_î|І'˜<©‡¾ù¹9¹¨BcÇŽ§8yº¬ìå3Ë™;g¡P×s ˜&¾ªÁpl˜Ç}Œ£G3½´„RKÌ Òv¶5öVý€>3½tZ͆O~¼ìƒ7^/fÌ(£«³—¯=¸‘žž>.\ÄàÀwÜùI à­­áÁa&Mš„/}TM#;+ÏÑ#Çøä§?EQQ¢*ÌŸ;ŸË—ãz’ÎŽN¶oŠd*Iii¾2~nìçË÷}™îÞ.**g‰d‹‘ÉØhšŠ¦+HOjo.¡ˆaè‹ïüÇ 7\±rY…¢¨"޲õ¿ŸàÜÙ&6>¼‘¥55<óì.<×¥­¥•-?Üž÷pÓÍ7QZVŠi˜ öóo=BÝá:’©=Ý=¬X¶Çu°,‹¤›K–ÔpõÊUܱAR{`?ßûîwÉÎÉE 'OP6£ן‚"#±QtM! 12Cúž”Ê›K¨âcëo}ðÖõÿwcñ˜¡)ùùˆ ŽR0u ùù‡#<ú­ïp¾½ƒ“'©YZÃ]ÿt††ùâçîå|{EÓ èëígé’+xtÓ&©8¾ëc;6®çŽÑ„@Ó5BÁ0éLšî®nNŸ:…í¤¸ÐÓAr,M"1F*™&™Jáú.©x ¡Hñ´û† L™2eõº[o½ÉJY†›ñ‘Š ŠŠ§¢é:ŠP‘,²³³ÙýÒnÂá0ªªâã³ûÅ_ñ£-[H¦’L)žŒišDó¢?QÏðÈ3€‡‡çz(BAø8¶Ã`jES˜R0™¡¡!z{»HéáI#`ɤQ…FBz(¾B$’Õý‡Ìše5wÏš5+0!wÃ#Ãlßþs×aÑâ…0ƒø Ÿ[Ö}”P8‚P¶m£h ;žÚÁÖ­?&šeJáD‚x"®©ô ÷ÒÚÒJUUŽ;~Ðó¸¾;nð%Ž'Ñ4 UÅ?‚ø>D"YÃyù¹ßÿêƒ_¹å?·ð³í? —Ï,kšf:Žƒ”oÌ„m[¸ž+¤ç¢k&±¡¹¿öàñöópm÷ØïTTT,›]=[(Šòûº”Þx3޾¯SEŒ_Ï8R©Žë’É88®‡çI‚¦ª*šŽ"@Õâñ³+Ë_ŒF£¿êîêþâÕW\ýÜ=Ÿ½§©¹©ù|v4Û ƒ¨ªŠÀ²,\W MÓÑ ƒó-í郵ugóósîrm÷ù7d m¥½Ý½íšªùB<ÏÃr-¤/ñ<!žôpÜ7¦]Ótð\|O¢j vÆÁóÁ“>¾P@(hB;uáÂ…Ï5?=Èx'uÔ÷ýyjûS_ºöškO¬YµæpÝ¡:+>—š6¾MéËÞî>÷™»Úî«Û¾dù‚;O5ž;üæ’{}#»6//oÃ<°xÝmëòMÓŒ¦’)||×ÁõÜ?ªUUUéì¸Àkgèho#ã8Ø™ –e“N¥q‹3§ZÚ\/ó‰“ g_~K·‚ ÌÖTÏ©¾º²²ryAÁT[QeüÀþƒÁ¶ó­Ï&¶e,û7\dª÷ºÈ>“ÍYðäŽ''UTTT™3šL'ßÒlªªÒ××K}ýA¿³«CøRJ%A ’é”êÄk£Bãöžþg[šÛÿÔŒT²€èïâ˜4«Šhõ¤Ÿz»…o>JhÀBàÎÕkVÏÝúøÖjUSÙLÏóÞ DUUº»;©?vÐëììT¡aYvÆáÈ¡c=gN7==ö'ÿ«yóiT]ÀËm-mÝÛßV 3ÓK¦«ÑìháËqª¢Ò×ßCow·’L&0 ƒŽŽ Ní¾C½‰DüŸûzû·ò.LÞþ\¯“Τ’©Ã/íyÉÚûÛ½ÅݺÝeË—…r²sMÑÐ5ž¾.bÃÃ$ ¿áDcêx}ãk+V.þNg{ÏÏcC#4Ãy/x'³QÈV·¬]»¶êÊ«®œYZZêŒ Y{öìQ~û›WR‰ä¶ínaƒÿž¿ù×ùsÇë âw¿¨®ŽkwD"áß&Éöw?¼K\â—¸Ä{Ìÿê;Ô$Í誂IEND®B`‚gtk-sharp-2.12.10/sample/GtkDemo/images/background.jpg0000644000175000001440000005331311131156730017376 00000000000000ÿØÿàJFIFHHÿþCreated with The GIMPÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ"ÿÄÿÄ8!1AQ"a2q#B‘R¡3±ÁrÑáðb¢ñ‚C²ÿÄÿÄ1ÿÚ ?ùØT[C ŽGzFÈÜh ÊŽè¤^¶‚¨hÐð|Ó lŒ‹F¤T€{¢æ(Äv×4 ùTQúž|Q •¡KH§Âylém¸Uw$‰¨¦"G¿4©îd€vEL¹ C1ÔÿH¦€‹€2;‘ÞY $É=«¶â3Yø4Àçp€£»V”M•´'UDýkYR#‰¢ŠB@X±ã˜§®X"A™8¦$ërBÁ¨©“ K„ö¥Ð¸dŒˆÖ©Þ1`Nˆ¢ÙpË›ŽMTDL‹î~)‚©oÏŠ%²%ýFQ"™-¢Ã³³ß<šŠÐP Ä\ˆŽ(žÃ@E/¦z––g[}ãST´¨€ùËÀª€ª-¡ˆÉŒ–¥ïpª¸Dìš* ¨„‡$÷¢EÁ‘V¶$~ê7U ›`Ð {ÐU-yZàTê»§ÔkŠ :ÔƒD!7@`5²{~(1`v¿ØÖ²0±™úݤ}«Næ[®åͰP‹b"7"¢Œ¾1—Ð ˆ²rfV ®ÀÁ$O€œîo~ÕP¨e½5'€HÝîq§ñTf÷ËÚ †õþ±’ÈXE–g˜ ¨U27è?½‚)÷7ö¦fôWõ]Û‰?ù¬«mos9ùŸÅ ‹hb$ÈïCÙYQÝ‹ÖÐG‰ –-3€]îÉ:ŠsRH;Õ½ìX¨f$€}ôY­Ú¶B[P£æ‘ºr$žGª NïÍ,ŸT4hx>iƒ…¶FE£R*@=Ñsb;kš|‹*(ýO>(„ÊáP¥€ˆ$S„ ‚a<¶t„6‚Ü*»’DÔS £ßšT÷²@;"¦\!˜ê¤S@EÀÈï@ˆG¬’džÕÛq¬ü`s¸@@ÑÝ«J&ÊÚƪ¢~µ¬ƒ)ÄÑE! ,XñÌS‚×, ̉Su¹!`ÔTÉ…%‡B{Rè\2FDkTï°'DQ ‰l¸eÍÇ&ª ¢&EŽw?ŒÁT·çÅÙþ£(L–ÑaÙÙ‚ïžME!G*@u&cŠe·mT,HÉæ€~(EÅ9#Q@ fëlŸµ=ËÊ! …Ȭ¶ò-î#(š2¨!Ió@¶Ý ÂV0 Áý­n` 9ÆÀÉÐ ™ºÑ¢ [—{KHâ¨ýBÎôOŠKކâ[µp+³Ì[`WEë-›ŽY- H’[ïÞªb¡‚ÌDI;&¤Q˜ÀEQäŠ(Äté’º“î9ôàqãɨ C*•WsÄÒª"c7™,DÁ Ì¶Üì@ù¦Æ@rÅLh ¦@] LQ‘X‚÷îdP’É,<ÿȱP ÐøB&æ Z õP& ˜<ÓûÜcÅ1#Sßâ¤?SÙ$ÀÞµTlf4cÍ'Ð…TnH rŦ8ì)D ÔsF%x"GsºðèqàÀì©Â— žcš¦Á5Í*¶³0#tåÄr?Šbà3*¸ÍJÒÿ˜k÷ ð©n€Ú'æŸÐ{BÒÝ%²Þ*œ}ê FGÀâœ6"ñ €Hó½Ö¡,@-ò8¨¦FÈãïN<šŠ2©UpX÷—Kê”&õïv^*¡¬†ôÝ=„F´­se‹{ˆûÒ]éìtß­îeµ-胯üWeç·ÓÚqÎMû@šæ¿~Ût—{‚ ŠÑÔu-«ÑÒ³µÍqmÛàAä×jõXÚÀ&O„5È@W Úy ÂÕÁp*ʾ;šhrI =èC!ÉýÇ9•æg(Çš ÒÞÐ3X:4™Ÿš6P ³cŠÒË h46ÕPº1:Á¦Hd{ ED†nÇÁ¢H˜ù¨¬å‚Ù:óX¸E‘; P®n-Ç “Oƒ‘îÖZxª…úB¨2Õ‘1·#°ÿµ>H’¨ÒÝÏ1HÓýŽê(3b]î0…H¤é:TêɽԶ(L­¿#É¥¼¢ëZéÆÃ¹ÈÏaÍ{im-ZKP›m?¶«.uèºc­€ʯïRK¾‡T-[¶nÜpX3 éký-¶9\xñ ½C¿SnèDÁS³Ú£Nr—Q¦ê(ù~(`K ¸š·UuQv¯Ü)©aseTžIæƒ2)e§ø+éþaº{$•W>à§;U ••Âߎi€+ðPÊý꣰t=´ :{p8öƒULÚÖ²Z*kÕ$MÅyð Nç_qÕÒÊâ&^MF—¿y:Nšå¶½“±¦¼äŘ0P£ˆÇtUBuÎH=šY’wÏzˆÌˆ%‹)•PzÌpX×!\\'jt9æƒ WÀ\«*øîi¡É$€ ÷¡ ‡'÷ä W™œ Ohl/K{@Í`èÒd~h`Ù@2ÌyŽ)ÿK,- ÐÛUBèÄè˜} ‘ì)»‰ c梳–gdëÍbáDHì)B¹¸·‚@M>G»Yh âª-剃<ÖÂæ^ëe{ŒZgñMmË-ÇHUŸ'¼Pfh ÔPÐÄÚõ#Œ´9õg¶ª; Ù'G½H€’ÀÆØŠ¨Ïe]Š»–V½.’_¥¶%Dk…¹ŸT°ó¨ o€bÇúvh:úÛ`² º¯cûMs\`Ph99ù¤ ~á•°@=ØÇö A[%ÛǸ:ž*)½÷>cE© lFÜÉâ™ÉÍH2æ'À4æ§l—£<¹:+^%m9Æ·LätöU@÷üš”QI™ ŒJ)Ðù »Û ƒÁÚr?Š»=ÛÖú{.© ’Þ?[ ô–ÔÞpÀ˜9©-Æ7’ÏMmn:ÉbÜ]·.Û»ÕYÚ!‚wUã¶ ÉËƒÍ <˜åÿÇÅ]ÑÜzçFÚ¤î*€2'B¢²«2cnÒö˜¬RÞ‹9b7£ýâ…²}Ïí÷HŸ™=ósxðsó@m*-ëW[;“æ½1 ú¬à~ªòðp¡Äò *ûΉòhã¼îX悳¸75,÷4‹$‰âx5FЊˆ¶¤“ÃËPg11ø4 ±ˆ1Þ‹LSöª€ˆ.ÀÉ:í ™> Pˤvu9"t4OdÛ|Ä‹iíÙí®õ†,èHçâŠ"˜Ù=Ϫ1K¶Ö2R{οŠXuö2OôäÄž>k)!8‚wÄTPd yb`Ï5°¹—ºÙ^ã™üS[rËqÒggÉïšÈ4[CkÔŽ2ÐçÔvžÚ¨ì+dLõ FKb*£=•v*îYXD ôºI~–Ú@•A®æ}RÃ΢¼V‹éÙ ëëm‚È‚èb½í5Íq€U@} äçæ5û†VÁ÷cÚl—lKàêx¨¦÷Üú@U¦@-±r7'Šg$h?5 ˘ŸÐSš²\zŒòäèx­x•´äsÝ3‘ÓÙUÜòhQDe&vf‚1(H§Cæ‚ïl6SiÈ@8þ("ì÷o[é캤‚KxüUnƒÒ[SyÃ`椷ÞK=5µ¸ë%‹pvÜh»nïUd h„B ÝTsŒZØ+'.40Lòc—ÿwGqëœj“¸¨È Š,énØ·°[©«—æ>ÂªŠŠ¹bÞuAžà¶¡@‰&;P"©ô˜1P@ˆð*‰"I<®¢—Ó,CL~ŸšGéÿÌuInããk¡ÜÕF·ƒ Ž-±ÁªS)wü §êzfé¬ÚµÓZv ?Wæ¤Èöî0¸XÜb¢š}ØhäI¥KVñ¬ÁГ³6> dOšƒlË@#šKu Ëh€?{öHDH #šÀŸE@*K 11A…»s¶ ÄêˆÀËæY  v, V‡m–ÁPó ÉÇäö®fêl(—Û]»*“?o£\[}:é PÌ;ë-€ª¶­°KK¨A Ô?á‡;—®eFŒIÖ€¯ImäRAPǽrÝ«CñI~àéÖÊçý5p«Y³eíàK‚}Ìg½@ v Ó•BÊ$åªwöª!| ¬¤eÇÔ r1ã½ óŽÜS¤¢›…1v³3ª(* ‰ #±=èåÁb'KSIrÎNɱ‚K¸yø T—nÞŒÖfU"u:¬~(¢ ½[HÒ/šRI2I3â²17)’ÚŠÀb§Oo­Œ`L±ç½{€(µi3¸tk J‡+ä;!Ò´áÑqžýÍ*!yÙ€LÕBÉ+…cÇÚŸ#&Êc*& РÀ±¸ÅGQ@ÚBÀ‚û'¸¬Qša¤0ˆ=«I6t&¶d‘ ÆäЍ,énØ·°[©«—æ>ÂªŠŠ¹bÞuAžà¶¡@‰&;TR*ŸIƒ¨’$“Êê)}2Ä1dÇáyù¤~ŸüÇT–î>6±:ÍTkx0¸âÐ`¨õ2—|; ~§¦nšÍ«]5§`Óõp>jLnã …À&*)§ÝˆöŽDšTµošÌ 0+0#cêDù H6Ì´9 ·P̶ˆ÷¿aT„@D€ ’9¬ ôT x°Ó[·;bÜN¨Œ ¾e˜÷ñJbÊ`vÐlU2 œ~Ojæn¦Áb‰qµÛ²©3ñ1Fú5Å·Ó®• ðñ^²Ø «jÛ´º„ÍAÃþs¹zàFThÄh ô–ÞE$ {Ñ -Ú´?—î`®q?ÓQ§ µ›6^Þ¸'ÜÆ{Ôb ÐÙÝ9T, òNZ§qoj¢ÀªÊX»éÖ¹–Ý`·mæå­É×< v!m®+;ÔzŒmÙw$·üÔUX’˜È˜ÜR[{ª iµ¶.9“Z:‹ªnž‘aŒ‰p¦+§¡±q÷¹Ü#KûG‰ªŠdëxº^=EИTñ\îÖÞ×®¯qîð̇šõz{NÁ˜ÀÅxaÿÚ¼ÁuÖze6Ŷ’qÖ¦¢¥é ÇrO›À*Ûq͹“le5Å\ÙÇÕ(UQƒuÜë|QƒÞµÄK\r} óAƒ(8éî°½¾ô3,˜Êg[ª;„¶GÞ‘WäÓ‘Ž8º €=È=ªÖ:¯M$ “ÆÏGPÁî)vÜ(â›@sÜÍŸ¬ºW °SûGšæ$“=·C1ëÔ$÷Ûfi_—ñUŠM²àmާŠV¦DÿÓºgp-¬dDkÒ5Ì' Aíê(=чý±TqéY$Ö·mî÷ÕØ3ê å Ï ÄóU ‰ŠfvÀ"”qðS¯ÜÞ*`›ìBŽÝ?…‡»ÔOy­ZP=¨cŸ&‚ªg3ˆîh¹« æLE ¶ÅŽ­,•»s‘1âkYó æN¾(6*<˜¬ 7±X sOšÚÛ>É“É'“A-’œ ’EIv oæ+ DóLÌbkâ7S 3¦LA“QL°WÚitÏ„äØö¦! >aI˜ƒÚƒ*ÙéÊ›–=ÍT5¨[ ¡?÷ K’“ð(Œ[ÙÃf{ŠP™)9·ÜÏ?jŠ»éÖ¹–Ý`·mæå­É×< v!m®+;ÔzŒmÙw$·üÐU‰)Œ‰Å%°÷º –˜Û[`ã™5£¨º¦ééÈ— bºz_{‘Â4¿´xš¨¦N·‹¥ãÔ] €õOÎímízê÷ï Àhy¯W§´ìŒ W†ý«Ì]g¦Sl[i'jj*^ Üw$ðì)°|­°GÐk™0ÆPc\P…Íœ}Q€…Uðh0']ηÅØ=ë\@TµÇ GÒ42ƒŽžá; ÛïAÃ2ÉŒ¦uº£±HKaTxéqM9àP‹ È܃ڭcªôÒJ )íà¶A ÃÉmîƒ>¶™þõP f ú{Ñ(¸É^ò>ôÃPHÊ>)L´â<ø¨¥À9Õ²XžAYíÛE_VåÂIúTóT̘ÅŽbiQQ=Øï·z¨æ|,î¨ò2P¤Š*¨P\dR[ÊöûÑy$Nñ⢂(Y$“q»v•ˆE-?Þ¶6Ën\8šÆÒ}^³¦wºoômÉc“ ŒÑ´ŠÜ{y1<·ŠM;’¤°_Š¡KŽL¬5½P¯qÐâ`ö¥°5_Ô?¸™¤[=KtÉt2æäâ„D ¬¡Eç²H/ÉHïUIpI9æh,úsÚháí€ÐO$ Fd´Œå‚¨å›‘iBÁKez›½C„)l/´’'~)S©|¥Ó^aÌâ?ä×_Afå»n€¬î^'.õåæQqÚ%—\Tî„Ôÿ2nÜ{8ûWu¬¯2B†|Wut"ÊÛS÷w¨©1ITªD F§æ³bÙ'˜S†Ú c1.fƒx&w1@'´–O`)‹Æ‚’#°¢$dý¢ªijOon襋EŒ‚ùÙ¥´F;$’IŸÍ1_vY“<ÍE8d™ÀGoµ#31>Õ¸ãuŽ=þO4¶ðíÞ¡Ô¨{Jè81ç{®„'…Ùþk*CNF š¨ô‚‹¬Î¾Ûc‚Üš£„A$•FÔ÷5À½Uà°ªF‡Š•ë¯pÎXž7ÅHµÓÔõÃf׶ߟÝ\6Ðvã‚Kq>)íà¶A ÃÉmîƒ>¶™þõP f ú{Ñ(¸É^ò>ôÃPHÊ>)L´â<ø¨¥À9Õ²XžAYíÛE_VåÂIúTóT̘ÅŽbiQQ=Øï·z¨æ|,î¨ò2P¤Š*¨P\dR[ÊöûÑy$Nñ⢂(Y$“q»v•ˆE-?Þ¶6Ën\8šÆÒ}^³¦wºoômÉc“ ŒÑ´ŠÜ{y1<·ŠM;’¤°_Š¡KŽL¬5½P¯qÐâ`ö¥°5_Ô?¸™¤[=KtÉt2æäâ„D ¬¡Eç²H/ÉHïUP…Ü÷¥w-¨“P!QCƒºÊ¢²µÌf3Tÿ“@ÊŽë‘!WÿwH#d+]c¡@|Õ\¡ !Gj[èâ‡SÀïA’Ù©'#ãµDÙ~ÜP/€(¼ óÉ¥ôÜúŒH;ÐPÈAŽFÍ`Z vyjpél€ž|Ð’Nê)I¹væ6öcm:Z`B«±&Zy¬€¸t/µì?wæ‹Yic &cUq?¨µ< )mÛ‹¢ã6À «ªå1Qd%N4gL)À–c‘h¥u gžP¸:~³©2xdñF×A{¨Qwª|Wœ$Àÿ½5‹g¨ÿE3éôè ž í^ª#»F•&Y›ÅZGôVí'é]¸4:ì *õØnžÕ’×Ã7s&»’ý•Ì-ÀÄ+›§{Vo]{¿¨÷"cŠƒ z‡ÜtjFÚ¿UÒÛ>à\öÿEtõoníÑsÓE§Z©‚ìÏé®*?UGªÈálb¿õRºª.w :Ë÷W%¾²ôD&‡1Q{—z‹Ì ã÷MHµÑw¨wµn8^Z¹æè lóâ)ñ–$ûˆÔÏ5‚¢œˆ“þÔ âZ|S¯?ÿ4€!-+ÉíªV¤Ä( \Ãĉæ„1Y% wâi•-ú›A€‘³LU]¶ax XÒ-¡ãã½+–r}6UOêj£º äöR Viº¾a*¢JÂݲ×OrP%Å Yై‰5@팪b;H@2\" ö e(PHÏzWp"Ú‰1ÅÕt8; ,ª++\Æc5Où4 ¨î¹÷t‚6BµÖ:4ÍUÊrv¥·þŽ(qU<ô- ’r>;Q„M‘'íÅø‹Àß<š_IÝϨÁ‰½õ ”älÖ §g–§–Ì(‰çÍ $›—ncof6Ó¥¦„*»e§šÈ ‡BøÛ^Ã÷~h¹‘P:f5Qqú‰×ûSÀÁØ–ݸº.3l º®QBTásFtœ f9ŠWP–yàEkƒ§é :“'€&Omtº…z§ÅyÂLûÓX¶zñS>ŸN€™àžÕê¢;´iRe™¼U¤q/EnÒ~•Ûƒ@ƒ¡®ÀÒ¯Q†éíY-qL3q÷2k¹/Ù\ÂÜ A⹺wµfõ×»úqò&8¨9¤3,HÏâ²”ÁRäÑgÌ,4ÁUWP\÷ P@B2b`˜¬¨KF_oÿimŸP³/кüÕ†#góA°USX÷<ÐEs9'lR3’Ø) ?{xÈ€ªmƧE¨6#7XZ.ñÿV«Ç÷@ø€©`'#¿jn€£jiäÅ:&µÈ,Ü/Š’@~àшPÄ-»däO4°öžü4Éh#z—}ÍûAàRÜcé ÜÔVP™$±¬@Ä’GŽiÒÜ ˆXüŸµMšÐ0VGe‰ §Gí¼íŽî€gä+Òu bãÜ00öÍy–ДËÒkpu'cñE܈n³ ˆ=¦‚v‘ͼdmÏ'íM‚Ì–2<Ó\!-„š_NB+¹ ïâª&–’àä/e¬ä'`+’&5°Êf"¢” *TòÝé€[i‚‚;±=éCûHTãs©7qbX[>æË€<8fŲI“&g·j ¸¬GÚŽ0YV  ±üÐ U€´P{¨ª2aæ±¶ 2y ÿ5T[]?‚ÞL LÝì†3Åõ$Åæîrú¨ ã; j95PñÐPX2ìÁÖÿš¢ZœÜ3qÈÐ'ŠPÒ°ÛiÔR/¾{{@Ы@HЀ9¡l*— ³@©¢Tæ€ÈfX ŸÅ!e)‚¤É¢2ϘXþi‚ª® ¹ï@ €„*dÄÁ1YP–Œ0,¾ßþÒÛ>¡f_¡uùª$# FÏæƒ`ª¦ ±îy ŠærN>ؤg%°R~öð)‘U 2ÛN‹PlG n°´2,]ãþ­V!îð)RÀ.NG~Ô ÝG:ÕÓÉŠtLkY¸_$€ýÁ£*¡ˆ[vÉÈ$žh aí=ùi’ÐFõ.û›öƒÀ¥¸ÇÓ @'¹¨¬ 02IcX‰$Ó¥¸@ ±ù?j›5 `¬ŽËANÛyÛÝÏÈW¤êÅǸ`aíšó-¡)—¤ÖàêNÇ⋹!Ýf{Mí#›xÈÛžOÚ› ™,dy¦¸B[9?4¾œ„WrAÞ#ÅT#çýé™ñ´Ÿ[÷ð<ÑI,ØÉ ÌÖ²î&ãk]……@Úÿ¥oÇî56b`lÏzir‚AT¾«" Wm šŠ)eTÞ{ ¢î]·’àP. DöŠÓ ±ßµŒY`ix§ ŠˆkBh‚HHÝÚ¹ aìHù¤BC.91<)À" M*ã™n@ì)Š§Ò¤ªù¥:IàŠ×ÜÁvsð)•àP'F¡bÅΦí˾¢€†Dîº.8±Ô½›„¤hD½T)õŽÉOïHKA”“ÿƽ‰ýL|QÌ·=¢€*i¸0 ÚvMf†¸[‡‘ªÁ™î4ÈÑæƒÈ" óÅEb‘qT,À–,x™Àb!Œx§[aÜ<‘D2'Ý(#›%§3Ìê©eZÝ«aS'DÐÌ™÷4fú–}ǹ?ö %ýÝÉæuqö©ÙS\È‚ÿ4ÞÕö)‰÷j˜ S”ƒö©JäB‘äÓ$ð~ kL=b#@’HàÐ9";…$½m®”7ƒ±w+Ø"µÇ¨ÿ“Ú©aíÞéâÛ<¶ò{UC2~iY³.OÕíô­Ô/­m–݆~þ+”•õ• y˜ p…QqNñž)’Ù¶ÅÜU¿ú0S Wžäö£%܄ɀÑ'QXHùÿzGf|m'Öýü4RK62Bó5¬†E{…I¸Ú×aU[kþ•¿¸ÔÙˆe³=é¥Ê Pú¬ˆ%]´€@j(¥”ESxIì‚‹¹vÞJ@¸|Ú+L6Ç~Ô 1e¥âœ6( ­ ¢ " owh<懰I#æ‘ ¸äÄò@§ˆ,@ñ=è°Yh'™Š¨Ìù4¨ Že¹°¦*ŸJ’«æ”é$€j+_sÙÏÀ¦Tt{@…‹:›·.úŠQºè¸âÇRönn‘¡>õP§Ö;%?½!-ROÿvö'õ1ñG0ÜöЍY¦àÀ/iÙ5šànF«g¸Ó#Gš _ ˆ@'Ïå zk¡ñþôª2V·ù¬6ëò;Љ_“@×a”,kÄš/Ì·Qwö7¸&‹…Zá– FFPAÌÜÇÄÏÍbÁ-åŒjÍ4@æb;šê^¨fŒØ1Vœjjã©lŒ^^æ ~£ÅsõÝEGÓ´÷0òßÕRê:‡½qò:èWÆæ†äïñL¬…€¹2 íX7ëfAã·jı8Àv©ººbààn‚¦ŽÔ…”!ð5×3Œ»Ð¶ªí‘"ð<šRT´— èUmo6cŒìÚµ§Å7ošV`·¸|мdÇf"‰Ç†MÑJ9 ûUb9“³=¨-rÖ¡¼)¬`)0&55—‚<5‹É“@]ÔD˜=kp—äl?© -rZ‚ñD†¸RPpuUMÕ#£ú`ÌlÿÅs¢ÂÄkÅ mô‡²Í7¦ʆk’½¼ÔV@5½HΪ 1€<Ö£Ûž$P"Ú–LGv (¬Iv©Í,”<˜¢ 2+9lˆÚŠ>ÂpÇÇ÷ @WC)"ŽKh©›À¦wÁUÐàIk,¶¤1‘ÙÕs¼Ée[P; šÝK×ì±Kމ;dÑì 5„Ußó7¥ÑL[NAù¯^Ò.L)ˆâ­Gš©i•½ÿ2í$p/­Ë ¶ÙA¸ŠëêUÑEë(ªåÂñ :2.ÿ™kÎìÓvûR«•¬Ýf‡¸ª½ÀïL¨6µï&°’IçŠX8ÂÀ¨0$¹Ê‘W×¹EµÛ·üQvy[iõ¾ ½Q“Ó²-[>3?5Q4´—:ëvÙ&Ú&A|šôÂǦ‚Oí¯«5´y"°B×0[Ä즔Eâµ·gk‡Pª€‹é³a‰1Ë+{ÆÈü °dìÖÉs °×iÿŠŠÊp]ýGTÐyß>h[L¦ãižþ(›~øY'ãT qõ€Û588*ª˜4H>¦K—mq@æI¯3?PI¥º“i¶8Qd¾¢ÄyíDÎS"*+³¸N"`ÒÜÂÚ€$ì®ôÂYÄ’q$qYRì´‹käwª†°ˆnƒx ëNLDOsA*\‘î'‰â)ÔBv™QJ¤™}(åh”B/;$Ñ@Ø–h¶ªl@Ñ$·a@@UB˜<‘²híT@ŸÌÓ@ÜÐP(>Aø “–k-솟«’"¸cÀ(­arFºû¬×B¶ýÌ{&rV:ÜQHRˆnæ(ª2²N‚óÍ5±é£»!Mh@ì’qóA¤ÈÀ’DÍ1}ož` þõƒ¸ê£ˆ€4$RìÞ]N¨­¶d¸n>*_ó‘=ò¥´'“³@J;´gm7Ç53iñkÎÇ“ª¶ÔÂÆûòiDYLŒfO}TSçnÂB! NäÔкÛ÷!bL’;U’wpóK‰iÌPášÀ“¨ÝhŸ·j`c‘àhT´A ìrÑïA>™&Ic j¯‚}GCš@¯#µ¶Ð7sN•æ s²ŽÑ^òbmÛì#gtÀ1…âO4ÅËí‰ûT‹aÊ$UCúVä˜ànРð(9:Æ8ÙñQº.ÿ•oLÃs‘íö °!ÜAr#u€%d¿öÝV×øwOg¥7©’¬µÉÙ®{6îÜ›LîY¦()€.ZN¸ÿß4ºÊ&´À‰™>*a²¶² ‘À梪„ãäO4 +¶Õ@Y?šÎ]ä#Hƒµb˜&!'ûÕF°ˆnƒx ëNLDOsA*\‘î'‰â)ÔBv™QJ¤™}(åh”B/;$Ñ@Ø–h¶ªl@Ñ$·a@@UB˜<‘²híT@ŸÌÓ@ÜÐP(>Aø “–k-솟«’"¸cÀ(­arFºû¬×B¶ýÌ{&rV:ÜQHRˆnæ(ª2²N‚óÍ5±é£»!Mh@ì’qóA¤ÈÀ’DÍ1}ož` þõƒ¸ê£ˆ€4$RìÞ]N¨­¶d¸n>*_ó‘=ò¥´'“³@J;´gm7Ç53iñkÎÇ“ª¶ÔÂÆûòiDYLŒfO}TSçnÂB! NäÔкÛ÷!bL’;U’wpóK‰iÌPúÀPKr@£Š¸ Àñ:¬Êp¶Åf}Ü“MŠªª)àwóA;Œmâ¡ò-À#tm#(w{xp o\ºÒÞŸ´Õ™—fw'@ð*¡S6‚Š[„…ÖÉÐÞ™½úøæ™Y\‘­ÅE(¶UàÃTJ£2ûDòiƒŒ¤Œˆ46Ò ¾{UF ŽˆÌV ®Å‰“æf˜*:I“HM¶1ˆgGu×5l"“‘ïFB¨äî¦0Ŷ8Ñ&ÃGbüPJj&fh† ’vbŒp5Å!*ºÐ1¶êù\ƒÚ“CÑR}G$’tfi‚   d™Ù4„Ûc€ftwQMsVÂ)9ôd*ˆþNêc [c€M2l4v Å4¦¢ffH`É'f)ØÇ\R«©Ýn¯•È0= y4='ÔrI'CÅ+ÜcŽjqµ'zÕ'f6'ø¬>")[;öšËi[eN†¨ "-ëy1bF÷ÁŠÊT¡TŸ3DA&hýè°}¶×CB(µaR5õ–ëÁ™ãÅkŒVÑ`Ô§„~ $À$p?4PY˜ÌƒÇÛÿf˜ÈPƒTÌÇ!ˆäÆ©`" >hYsm4IÑOdžIïX’ ýõ?zP$   Í(ÆÕ²@˜˜?ì+*’Ç™žÔQ2Äi~4V.C\=»D*# @1£X¶™;k"’2mРF̬ï@S}‘–§SNÅ·1æ²Ê Pù"a@€;Áaˆ˜‰¦¸ø.õ޳΢•ÈM‚ *¡‰…bÍÞ?µZÕ¯FÑ%}íÍdìíãɬßTO ÌöšÌÊöÐH*ˆš, !Çj¨À¬¢¶'S·¨LÊâ>ÔÁ‚#Ç“Am»ì±EøïQZiîK*¬O>ß!mL ïDœl(ˆüÐSü:×§Òª²êûÉ®ä·vâŸMr?ÿÍyëuìÿ¤åOž&ŠuC†7±aÀíA×zòtÀ-xŸ©¸Âì÷ådž¸Ñšåî±2-§÷4 MÉøˆ %3yk„VÆÑ}¦DZˆÔIf ƒ9KjGjqÄp¤ž8¦xJ)ÜLÎéAuv¢"~‚Ìyn(õ¼˜±#{àÅe*P„*O™¢ “4~ôX¾Ûk¡¡ „Z°©úËõ`ÌñâµÆ+h°jS‹B?P`8š ¨,ÌfAãíÿ³Ld(AªfcÄrcT°H‹4,¹¶š $Æè§²O$÷¬IþúŸ½(’Ðf”cjÙ ÌLö•IcÌÏj(™b4¿Hš«!®Ý€¢† Ѭ[L‰‡5‘I6„hP#fVw )¾ÈËS©§bÛˆ˜óYeP(|ˆ° @à°ÄLDÓ\|zïYçQJä&ÁPƒD±fïÚ­j×£h’¾öæ²HvvqäÖoª'ŠŠQm D‚9èa#q +*;¢‘zÚñ4Ŧp ½Â9'B椑!w«{رPÌIûè³[µl„¶¡GÍ"!täI<ŽT$ßšY>¨hÐð|Ó lŒ‹F¤T€{¢æ(Äv×4 ùTQúž|Q •¡KH§Âylém¸Uw$‰¨¦"G¿4©îd€vEL¹ C1ÔÿH¦€‹€2;‘ÞY $É=«¶â3Yø4Àçp€£»V”M•´'UDýkYR#‰¢ŠB@X±ã˜§®X"A™8¦$ërBÁ¨©“ K„ö¥Ð¸dŒˆÖ©Þ1`Nˆ¢ÙpË›ŽMTDL‹î~)‚©oÏŠ%²%ýFQ"™-¢Ã³³ß<šŠÐP Ä\ˆŽ(žÃ@E/¦z––g[}ãST´¨€ùËÀª€ª-¡ˆÉŒ–¥ïpª¸Dìš* ¨„‡$÷¢EÁ‘V¶$~ê7U ›`Ð {ÐU-yZàTê»§ÔkŠ :ÔƒD!7@`5²{~(1`v¿ØÖ²0±™úݤ}«Næ[®åͰP‹b"7"¢Œ¾1—Ð ˆ²rfV ®ÀÁ$O€œîo~ÕP¨e½5'€HÝîq§ñTf÷ËÚ †õþ±’ÈXE–g˜ ¨U27è?½‚)÷7ö¦fôWõ]Û‰?ù¬«mos9ùŸÅ ‹hb$ÈïCÙYQÝ‹ÖÐG‰ –-3€]îÉ:ŠsRH;Õ½ìX¨f$€}ôY­Ú¶B[P£æ‘ºr$žGª NïÍ,ŸT4hx>iƒ…¶FE£R*@=Ñsb;kš|‹*(ýO>(„ÊáP¥€ˆ$S„ ‚a<¶t„6‚Ü*»’DÔS £ßšT÷²@;"¦\!˜ê¤S@EÀÈï@ˆG¬’džÕÛq¬ü`s¸@@ÑÝ«J&ÊÚƪ¢~µ¬ƒ)ÄÑE! ,XñÌS‚×, ̉Su¹!`ÔTÉ…%‡B{Rè\2FDkTï°'DQ ‰l¸eÍÇ&ª ¢&EŽw?ŒÁT·çÅÙþ£(L–ÑaÙÙ‚ïžME!G*@u&cŠe·mT,HÉæ€~(EÅ9#Q@ fëlŸµ=ËÊ! …Ȭ¶ò-î#(š2¨!Ió@¶Ý ÂV0 Áý­n` 9ÆÀÉÐ ™ºÑ¢ [—{KHâ¨ýBÎôOŠKކâ[µp+³Ì[`WEë-›ŽY- H’[ïÞªb¡‚ÌDI;&¤Q˜ÀEQäŠ(Äté’º“î9ôàqãɨ C*•WsÄÒª"c7™,DÁ Ì¶Üì@ù¦Æ@rÅLh ¦@] LQ‘X‚÷îdP’É,<ÿȱP ÐøB&æ Z õP& ˜<ÓûÜcÅ1#Sßâ¤?SÙ$ÀÞµTlf4cÍ'Ð…TnH rŦ8ì)D ÔsF%x"GsºðèqàÀì©Â— žcš¦Á5Í*¶³0#tåÄr?Šbà3*¸ÍJÒÿ˜k÷ ð©n€Ú'æŸÐ{BÒÝ%²Þ*œ}ê FGÀâœ6"ñ €Hó½Ö¡,@-ò8¨¦FÈãïN<šŠ2©UpX÷—Kê”&õïv^*¡¬†ôÝ=„F´­se‹{ˆûÒ]éìtß­îeµ-胯üWeç·ÓÚqÎMû@šæ¿~Ût—{‚ ŠÑÔu-«ÑÒ³µÍqmÛàAä×jõXÚÀ&O„5È@W Úy ÂÕÁp*ʾ;šhrI =èC!ÉýÇ9•æg(Çš ÒÞÐ3X:4™Ÿš6P ³cŠÒË h46ÕPº1:Á¦Hd{ ED†nÇÁ¢H˜ù¨¬å‚Ù:óX¸E‘; P®n-Ç “Oƒ‘îÖZxª…úB¨2Õ‘1·#°ÿµ>H’¨ÒÝÏ1HÓýŽê(3b]î0…H¤é:TêɽԶ(L­¿#É¥¼¢ëZéÆÃ¹ÈÏaÍ{im-ZKP›m?¶«.uèºc­€ʯïRK¾‡T-[¶nÜpX3 éký-¶9\xñ ½C¿SnèDÁS³Ú£Nr—Q¦ê(ù~(`K ¸š·UuQv¯Ü)©aseTžIæƒ2)e§ø+éþaº{$•W>à§;U ••Âߎi€+ðPÊý꣰t=´ :{p8öƒULÚÖ²Z*kÕ$MÅyð Nç_qÕÒÊâ&^MF—¿y:Nšå¶½“±¦¼äŘ0P£ˆÇtUBuÎH=šY’wÏzˆÌˆ%‹)•PzÌpX×!\\'jt9æƒ WÀ\«*øîi¡É$€ ÷¡ ‡'÷ä W™œ Ohl/K{@Í`èÒd~h`Ù@2ÌyŽ)ÿK,- ÐÛUBèÄè˜} ‘ì)»‰ c梳–gdëÍbáDHì)B¹¸·‚@M>G»Yh âª-剃<ÖÂæ^ëe{ŒZgñMmË-ÇHUŸ'¼Pfh ÔPÐÄÚõ#Œ´9õg¶ª; Ù'G½H€’ÀÆØŠ¨Ïe]Š»–V½.’_¥¶%Dk…¹ŸT°ó¨ o€bÇúvh:úÛ`² º¯cûMs\`Ph99ù¤ ~á•°@=ØÇö A[%ÛǸ:ž*)½÷>cE© lFÜÉâ™ÉÍH2æ'À4æ§l—£<¹:+^%m9Æ·LätöU@÷üš”QI™ ŒJ)Ðù »Û ƒÁÚr?Š»=ÛÖú{.© ’Þ?[ ô–ÔÞpÀ˜9©-Æ7’ÏMmn:ÉbÜ]·.Û»ÕYÚ!‚wUã¶ ÉËƒÍ <˜åÿÇÅ]ÑÜzçFÚ¤î*€2'B¢²«2cnÒö˜¬RÞ‹9b7£ýâ…²}Ïí÷HŸ™=ósxðsó@m*-ëW[;“æ½1 ú¬à~ªòðp¡Äò *ûΉòhã¼îX悳¸75,÷4‹$‰âx5FЊˆ¶¤“ÃËPg11ø4 ±ˆ1Þ‹LSöª€ˆ.ÀÉ:í ™> Pˤvu9"t4OdÛ|Ä‹iíÙí®õ†,èHçâŠ"˜Ù=Ϫ1K¶Ö2R{οŠXuö2OôäÄž>k)!8‚wÄTPd yb`Ï5°¹—ºÙ^ã™üS[rËqÒggÉïšÈ4[CkÔŽ2ÐçÔvžÚ¨ì+dLõ FKb*£=•v*îYXD ôºI~–Ú@•A®æ}RÃ΢¼V‹éÙ ëëm‚È‚èb½í5Íq€U@} äçæ5û†VÁ÷cÚl—lKàêx¨¦÷Üú@U¦@-±r7'Šg$h?5 ˘ŸÐSš²\zŒòäèx­x•´äsÝ3‘ÓÙUÜòhQDe&vf‚1(H§Cæ‚ïl6SiÈ@8þ("ì÷o[é캤‚KxüUnƒÒ[SyÃ`椷ÞK=5µ¸ë%‹pvÜh»nïUd h„B ÝTsŒZØ+'.40Lòc—ÿwGqëœj“¸¨È Š,énØ·°[©«—æ>ÂªŠŠ¹bÞuAžà¶¡@‰&;P"©ô˜1P@ˆð*‰"I<®¢—Ó,CL~ŸšGéÿÌuInããk¡ÜÕF·ƒ Ž-±ÁªS)wü §êzfé¬ÚµÓZv ?Wæ¤Èöî0¸XÜb¢š}ØhäI¥KVñ¬ÁГ³6> dOšƒlË@#šKu Ëh€?{öHDH #šÀŸE@*K 11A…»s¶ ÄêˆÀËæY  v, V‡m–ÁPó ÉÇäö®fêl(—Û]»*“?o£\[}:é PÌ;ë-€ª¶­°KK¨A Ô?á‡;—®eFŒIÖ€¯ImäRAPǽrÝ«CñI~àéÖÊçý5p«Y³eíàK‚}Ìg½@ v Ó•BÊ$åªwöª!| ¬¤eÇÔ r1ã½ óŽÜS¤¢›…1v³3ª(* ‰ #±=èåÁb'KSIrÎNɱ‚K¸yø T—nÞŒÖfU"u:¬~(¢ ½[HÒ/šRI2I3â²17)’ÚŠÀb§Oo­Œ`L±ç½{€(µi3¸tk J‡+ä;!Ò´áÑqžýÍ*!yÙ€LÕBÉ+…cÇÚŸ#&Êc*& РÀ±¸ÅGQ@ÚBÀ‚û'¸¬Qša¤0ˆ=«I6t&¶d‘ ÆäЍ,énØ·°[©«—æ>ÂªŠŠ¹bÞuAžà¶¡@‰&;TR*ŸIƒ¨’$“Êê)}2Ä1dÇáyù¤~ŸüÇT–î>6±:ÍTkx0¸âÐ`¨õ2—|; ~§¦nšÍ«]5§`Óõp>jLnã …À&*)§ÝˆöŽDšTµošÌ 0+0#cêDù H6Ì´9 ·P̶ˆ÷¿aT„@D€ ’9¬ ôT x°Ó[·;bÜN¨Œ ¾e˜÷ñJbÊ`vÐlU2 œ~Ojæn¦Áb‰qµÛ²©3ñ1Fú5Å·Ó®• ðñ^²Ø «jÛ´º„ÍAÃþs¹zàFThÄh ô–ÞE$ {Ñ -Ú´?—î`®q?ÓQ§ µ›6^Þ¸'ÜÆ{Ôb ÐÙÝ9T, òNZ§qoj¢ÀªÊX»éÖ¹–Ý`·mæå­É×< v!m®+;ÔzŒmÙw$·üÔUX’˜È˜ÜR[{ª iµ¶.9“Z:‹ªnž‘aŒ‰p¦+§¡±q÷¹Ü#KûG‰ªŠdëxº^=EИTñ\îÖÞ×®¯qîð̇šõz{NÁ˜ÀÅxaÿÚ¼ÁuÖze6Ŷ’qÖ¦¢¥é ÇrO›À*Ûq͹“le5Å\ÙÇÕ(UQƒuÜë|QƒÞµÄK\r} óAƒ(8éî°½¾ô3,˜Êg[ª;„¶GÞ‘WäÓ‘Ž8º €=È=ªÖ:¯M$ “ÆÏGPÁî)vÜ(â›@sÜÍŸ¬ºW °SûGšæ$“=·C1ëÔ$÷Ûfi_—ñUŠM²àmާŠV¦DÿÓºgp-¬dDkÒ5Ì' Aíê(=чý±TqéY$Ö·mî÷ÕØ3ê å Ï ÄóU ‰ŠfvÀ"”qðS¯ÜÞ*`›ìBŽÝ?…‡»ÔOy­ZP=¨cŸ&‚ªg3ˆîh¹« æLE ¶ÅŽ­,•»s‘1âkYó æN¾(6*<˜¬ 7±X sOšÚÛ>É“É'“A-’œ ’EIv oæ+ DóLÌbkâ7S 3¦LA“QL°WÚitÏ„äØö¦! >aI˜ƒÚƒ*ÙéÊ›–=ÍT5¨[ ¡?÷ K’“ð(Œ[ÙÃf{ŠP™)9·ÜÏ?jŠ»éÖ¹–Ý`·mæå­É×< v!m®+;ÔzŒmÙw$·üÐU‰)Œ‰Å%°÷º –˜Û[`ã™5£¨º¦ééÈ— bºz_{‘Â4¿´xš¨¦N·‹¥ãÔ] €õOÎímízê÷ï Àhy¯W§´ìŒ W†ý«Ì]g¦Sl[i'jj*^ Üw$ðì)°|­°GÐk™0ÆPc\P…Íœ}Q€…Uðh0']ηÅØ=ë\@TµÇ GÒ42ƒŽžá; ÛïAÃ2ÉŒ¦uº£±HKaTxéqM9àP‹ È܃ڭcªôÒJ )íà¶A ÃÉmîƒ>¶™þõP f ú{Ñ(¸É^ò>ôÃPHÊ>)L´â<ø¨¥À9Õ²XžAYíÛE_VåÂIúTóT̘ÅŽbiQQ=Øï·z¨æ|,î¨ò2P¤Š*¨P\dR[ÊöûÑy$Nñ⢂(Y$“q»v•ˆE-?Þ¶6Ën\8šÆÒ}^³¦wºoômÉc“ ŒÑ´ŠÜ{y1<·ŠM;’¤°_Š¡KŽL¬5½P¯qÐâ`ö¥°5_Ô?¸™¤[=KtÉt2æäâ„D ¬¡Eç²H/ÉHïUIpI9æh,úsÚháí€ÐO$ Fd´Œå‚¨å›‘iBÁKez›½C„)l/´’'~)S©|¥Ó^aÌâ?ä×_Afå»n€¬î^'.õåæQqÚ%—\Tî„Ôÿ2nÜ{8ûWu¬¯2B†|Wut"ÊÛS÷w¨©1ITªD F§æ³bÙ'˜S†Ú c1.fƒx&w1@'´–O`)‹Æ‚’#°¢$dý¢ªijOon襋EŒ‚ùÙ¥´F;$’IŸÍ1_vY“<ÍE8d™ÀGoµ#31>Õ¸ãuŽ=þO4¶ðíÞ¡Ô¨{Jè81ç{®„'…Ùþk*CNF š¨ô‚‹¬Î¾Ûc‚Üš£„A$•FÔ÷5À½Uà°ªF‡Š•ë¯pÎXž7ÅHµÓÔõÃf׶ߟÝ\6Ðvã‚Kq>)íà¶A ÃÉmîƒ>¶™þõP f ú{Ñ(¸É^ò>ôÃPHÊ>)L´â<ø¨¥À9Õ²XžAYíÛE_VåÂIúTóT̘ÅŽbiQQ=Øï·z¨æ|,î¨ò2P¤Š*¨P\dR[ÊöûÑy$Nñ⢂(Y$“q»v•ˆE-?Þ¶6Ën\8šÆÒ}^³¦wºoômÉc“ ŒÑ´ŠÜ{y1<·ŠM;’¤°_Š¡KŽL¬5½P¯qÐâ`ö¥°5_Ô?¸™¤[=KtÉt2æäâ„D ¬¡Eç²H/ÉHïUP…Ü÷¥w-¨“P!QCƒºÊ¢²µÌf3Tÿ“@ÊŽë‘!WÿwH#d+]c¡@|Õ\¡ !Gj[èâ‡SÀïA’Ù©'#ãµDÙ~ÜP/€(¼ óÉ¥ôÜúŒH;ÐPÈAŽFÍ`Z vyjpél€ž|Ð’Nê)I¹væ6öcm:Z`B«±&Zy¬€¸t/µì?wæ‹Yic &cUq?¨µ< )mÛ‹¢ã6À «ªå1Qd%N4gL)À–c‘h¥u gžP¸:~³©2xdñF×A{¨Qwª|Wœ$Àÿ½5‹g¨ÿE3éôè ž í^ª#»F•&Y›ÅZGôVí'é]¸4:ì *õØnžÕ’×Ã7s&»’ý•Ì-ÀÄ+›§{Vo]{¿¨÷"cŠƒ z‡ÜtjFÚ¿UÒÛ>à\öÿEtõoníÑsÓE§Z©‚ìÏé®*?UGªÈálb¿õRºª.w :Ë÷W%¾²ôD&‡1Q{—z‹Ì ã÷MHµÑw¨wµn8^Z¹æè lóâ)ñ–$ûˆÔÏ5‚¢œˆ“þÔ âZ|S¯?ÿ4€!-+ÉíªV¤Ä( \Ãĉæ„1Y% wâi•-ú›A€‘³LU]¶ax XÒ-¡ãã½+–r}6UOêj£º äöR Viº¾a*¢JÂݲ×OrP%Å Yై‰5@팪b;H@2\" ö e(PHÏzWp"Ú‰1ÅÕt8; ,ª++\Æc5Où4 ¨î¹÷t‚6BµÖ:4ÍUÊrv¥·þŽ(qU<ô- ’r>;Q„M‘'íÅø‹Àß<š_IÝϨÁ‰½õ ”älÖ §g–§–Ì(‰çÍ $›—ncof6Ó¥¦„*»e§šÈ ‡BøÛ^Ã÷~h¹‘P:f5Qqú‰×ûSÀÁØ–ݸº.3l º®QBTásFtœ f9ŠWP–yàEkƒ§é :“'€&Omtº…z§ÅyÂLûÓX¶zñS>ŸN€™àžÕê¢;´iRe™¼U¤q/EnÒ~•Ûƒ@ƒ¡®ÀÒ¯Q†éíY-qL3q÷2k¹/Ù\ÂÜ A⹺wµfõ×»úqò&8¨9¤3,HÏâ²”ÁRäÑgÌ,4ÁUWP\÷ P@B2b`˜¬¨KF_oÿimŸP³/кüÕ†#góA°USX÷<ÐEs9'lR3’Ø) ?{xÈ€ªmƧE¨6#7XZ.ñÿV«Ç÷@ø€©`'#¿jn€£jiäÅ:&µÈ,Ü/Š’@~àшPÄ-»däO4°öžü4Éh#z—}ÍûAàRÜcé ÜÔVP™$±¬@Ä’GŽiÒÜ ˆXüŸµMšÐ0VGe‰ §Gí¼íŽî€gä+Òu bãÜ00öÍy–ДËÒkpu'cñE܈n³ ˆ=¦‚v‘ͼdmÏ'íM‚Ì–2<Ó\!-„š_NB+¹ ïâª&–’àä/e¬ä'`+’&5°Êf"¢” *TòÝé€[i‚‚;±=éCûHTãs©7qbX[>æË€<8fŲI“&g·j ¸¬GÚŽ0YV  ±üÐ U€´P{¨ª2aæ±¶ 2y ÿ5T[]?‚ÞL LÝì†3Åõ$Åæîrú¨ ã; j95PñÐPX2ìÁÖÿš¢ZœÜ3qÈÐ'ŠPÒ°ÛiÔR/¾{{@Ы@HЀ9¡l*— ³@©¢Tæ€ÈfX ŸÅ!e)‚¤É¢2ϘXþi‚ª® ¹ï@ €„*dÄÁ1YP–Œ0,¾ßþÒÛ>¡f_¡uùª$# FÏæƒ`ª¦ ±îy ŠærN>ؤg%°R~öð)‘U 2ÛN‹PlG n°´2,]ãþ­V!îð)RÀ.NG~Ô ÝG:ÕÓÉŠtLkY¸_$€ýÁ£*¡ˆ[vÉÈ$žh aí=ùi’ÐFõ.û›öƒÀ¥¸ÇÓ @'¹¨¬ 02IcX‰$Ó¥¸@ ±ù?j›5 `¬ŽËANÛyÛÝÏÈW¤êÅǸ`aíšó-¡)—¤ÖàêNÇ⋹!Ýf{Mí#›xÈÛžOÚ› ™,dy¦¸B[9?4¾œ„WrAÞ#ÅTÿÙgtk-sharp-2.12.10/sample/GtkDemo/images/MonoIcon.png0000644000175000001440000000070011131156730016774 00000000000000‰PNG  IHDR@@. pHYsÃÃÇo¨drIDATxœÝ×Y’ƒ0 Ð>z­o¦ù0È 2Þ&•ªè‹r⇰¼ì-…wÃ}A,[@ký5Àb9…Xí| “¤@‹AÎÈ$@33R-ð4:@б Æ@tç*!ÞûOƒ Ê ò­ ÏÐæëÐÂ9”c „©*”;–ç> ž^"Ù¯Â8¤ªÿ:påygp Ø÷“2šÙÛZø,çènùŒÙt/Ñí18L×JßÒqwRFà0‚Ó3‘áù<¿¡‚±ìÿÜÿËï(‘Њj‰¹ ªD«±Ð Pý)a]€À ÍÏ\‡NmÇ@tÿN„€æö]y9ömýåù_¨3àlD_,»± q’,•Ò’"I“o$IKÛÙ£+=™~©°Õ3)é½Ò§Šòoek¤-OF̰> Ÿ|ìeP´6@: D2UÚ|eØ53Ô´¶ÀnüÆ!]e ;¶IEND®B`‚gtk-sharp-2.12.10/sample/GtkDemo/images/gnome-foot.png0000644000175000001440000000554411131156730017340 00000000000000‰PNG  IHDR/0§#âgAMA† 1è–_ IDATxÚíYkl×y=wfvvf¹»Ü—ø¶)Q¢‡®Ūl#H¬¨qd×mT i›4N A †´(Šnì šþ‹]Ë l´µì<ä§â8vÜ*–#%RDY$MJæŠÏå>¸»Ü÷Ìì¼·?2T ·€,‹T\À0»³çžïÜs¿ ¼_ï×e»/ýׇ Ýóµ»oß>Ð:qj¼Àýþ…^Ú·o߉¡¡m÷Xíæ—pöd åWMËjoô1Wð[â?kll,°cûСT*5â:6ÑM‹•$eW2þobï ð¿xù¥ÑÉ3§ò“Ç}ò3ºÿÆõü›¯}õ–xgô¥­PUÕÑjI´3&–cïò¸ß+øûÆwM&â rÕ¿%vì£{vÝ€ïéîú”$+Œ¥µQ)à˜:ÚšN•¶Æ˜–ýU¿OðdçΑ/ËR³7ODzHKR"ÉxôûÉDb›ªëƒ–!ÍzKéÏAHˆiY0  ïíR»’ºÜedLU©ó(fàyêQŠ–¤ôïûàݵr‘]] Cj6ѪU!É”¶J-Ë€€a³å>—­Áå奂‹JŠ‚zµ‚|q “ççˆEï0Ÿyúçæm{©¦µA=åJ™|¶ã¬7xx#™¿l«ÔuSÛ6Ð}Wz6˜™#gÞ˜%r[%-¹M²«¥ƒ–i|¢Zov,e ˜|óŸçQÀpÀ"zÕÀ}åÃ_¼ëówÔª•âñ_Ÿ¬hšÚU®ÔvycŠª­­ àѦ¬¤Y†|´)ÉB&_‚ã¸Ä; àqÕ«¶ßtÓMb¹\^”¥–÷ÄcÏŽŒØ& ÁGÔ}F+îå8nÿu;·ÿhdhp6ÒZbæew7Û%5¿ÿ“· 3 3Ôjµ`*Íá-ñ賎û¤n˜xÊw€-8pàÀéh$Rwmcg.›#««…\½Ùšm´d몂g ¬•Kdjê,ÍJ(”*Û}–ïðk_zúâÏ~º'žHýíµ×^sk¤£#¥È-¦­Èdzü7vq5_ÏVONžKçÄøÔÌF8Î%5¯*²¸­'ö¹QcŽþêÎ]X„iÙÞõõëÞ÷Ío„<øýëGG¿ïŒÞÐV”Ë4PŠ¥…y°ŒäÃz[¾®Öl}¶Ñ”Nj†™¿Òƽ$ó¯O¾‘?õÛñ)ž#»³…"Ñ ::Bâͪ¦Ï?ôàƒ±OìûøK× îiTËðAªDZõ*ÄpÍz0 m[”6–V 1YQ¿ àO|¹mªÏKO½ø_·gìƒÿ^ªÔ†|Ÿ6“ƒiÙŸðÄ¥âûoå²¹‰ë¯Ù#vDP0Ƕ‰`Y®ëooÌÃÏ<—WšÕ'oûØ-_n˱LƒºA±œYA¦P„iÙòì͘˜¹óK˯êºF M%‘αM,Ë¢§+…Á¾"ƒýä¸å—~yâŸ^=ùú3,ÇÑžAÒOV³×u±V­_\Ùwâ>ïzVY©TÕ?øÀŽ/ÏlË$ŽãÀ²,DÂ!ùM%c¡î-‰”¤¨¯™–ýV0íù¥ÌÌŸÿåçìélV+T‘%drLÌ\€ãº0ày?m¸lÐ’•Úøë'ÇFGîL%“4D2IEMÀ £ÔëM‰F>ûéOÝy3Šõ¨·°ã׳ݽý}±X|wo_oÿÊü,µl ¶ãbi¥ãúåuSÜÆ/#[(=948ðÇ `zz{a[aY᎞GPIg,¾íÚí#ð úúûHu¡^-CmËช¥]XÉ_äÀÄ;ñú+™{¿˜>¾¶V™WU ¶mƒåX0, Ï£4ÚC<‘ЪW©®©`Yº¦"³Fni¥|¹•e̤Pk´Ößû ï$>\é|Þr=×NÆ"·«í6  CJY¦Ç’b!ǶÈZ±@MC#Å\†VË«¤V)cöÂ=vjªn¬çüïøÌ»› Þ[«5ò‚ ìòÜVI’a[xŽƒØÑA¢qD¢1†×¶‰ ŠXYZ¥ Éd2ôÔÙÌgrç[óçAWåfD/Wk3Çý‘G½„iZ„eâyxž'ˆe™„BD1D8–%kkeL›%ÇOOÂõ<øáí²æ^-ðÔõ¼FµÞœ$ 1-;Ñ”dhªF$©EmS'–eQ]Ó‰m0Mƒ,g2xýó8vê,Õ~7ð|Æ/çjf£Š0Ö½%ñÏÑŽÐ^Â0l8$Òî-I° ƒ(J=j;.–²«XÈäˆaZëÞÊbMoÖåÛ;M©C| ð-Q®8΂<‚< ‰‚¯{ï9wÞ¶gllÏcÌ#¿ ŸÏǯô _Q¬Ü¹ŸuÔ7­êu„p,+çÒ ô÷ˆk,ðËô !Ä]›×?¶ûáíw ˆ ˆ@ôÑïÒu Ü´ryñ™¿ýÓý=>ÙÙ‘/$~IDhxùÀÐm›Æ~¿G‰È±Óþü=fR.êÛùwóÍ'{Ë¡C"_"ÿ#aŸ¢×Ûýð¶¯cv*­KDäv€ €Ü‚ÎõVK’6»žWztçÖïlÚ0úá[Þ;à Á.ô 9ñÿ<ckGn¿çÎß°l¾R;yêì介~¿ &€ð/ûÞxóÔ™ ±µÃÿøí§~w¯ç:¾Â$\"ò:ÖAnçÿ(©EðëFWŽ~ùñž#AcR)Ä­ä4Ÿˆ\‚¥OKs{&¥–Rÿ@*=tÓªåÏüÁWŸ|B$ÈBøDäàp-‹xgp 7züK÷~Ûô”RH©¦™ àÑ¢rW\OBy¤ÑñŸŸžÛóÈöÇ“4+þîå+ÝŸŸüè®ë‰÷~úßxëWQ,øÐZ`ïo·l¼ÅR„Zõ2Þø‰Çß-»Žv´ hÉÐJC ­µžƒg@ 0`Àæì¹éÎOÌ\!°8 3˜™Áv3ûX ëºëÃ0üzE_s]÷^fv™yÚó\ñoÿú£·„<øöÛïЦM›°zÍü „óçÎà¾ñç^¹Ú0´ÖðƒÖo¸–-[‰Ç~ c8—…ÔȤD–IdR!ËÒ,­”êáj­9ûÞÑic´Äêœ_[6#)fÑžçݼaÆïmÞ¼ù!!Dqbb‚§¦¦¾Çñ?=þȶKõF|çþýûñâ‹/b``{öìÁ·Þ5kÇJýûöáðáÃÇ–-[ µÆªÕëP*¡V™µR1ÐZ[ðJçz3ˆWp’d•ŸþÙû™T©M€d† ˜óldS*wx===¿¾mÛ¶GÆÇǽf³Io¾ù&Åq<†¥?öƒÀ­Õªxå•Wh~~ív›™iš ·^{m?â8¦àرcüꫯBJ‰V«Ï©¶“¡•‚R R*(£Á h®Ö’ƱŸ='¥’20I.gN;–ïH¨C ìyÞýQy…Bív»ãr'šœ©Ñ'ó³Ïþ=·Z víÚ…F£3'`õØF´Ûm<óÌ3˜™™Áž={ešÍ&’$A;IÐI¹J(­ò{»Ëf0$©’GŸ¹¤”V (mb 0V:Ÿð@”rhrr‡B£ÑÀìì,„þ_ÄÑ£GP,Å¡ÿ…‰s¿@«>‡áÕq߃aëÖ­\«ÕðÔSO¡Ñh Ýn£R¹Œf}ÚæuÕ™ÚÀ0ÀlÎ#óôÙ©T*­µ-ðuM0·8O*Ü…””²=== fF–ehµZ(•Jˆ¢ˆ¢(9çÏÂÌô9¸Žá€€‰3'0¶nž~úi(¥RJT« 8{ê}°Î ”^ô‚Ö Ã &òØàV’fX &  fg“se×’Ð3Ÿ­×ë|߇ïûâ(B…p ÑhÆPÚ‡çûðáoìÿÊ}+àex~€´ÝÂÔ…SH“Jk´Zm´³ ÆÆÛÔI¶Úš¯ÔUšÉ@BÓfœU€̈¯_éLk½ßqœßaæ¢çyÃða!mU'mhÙ€=Ž`6`f,Ì¥? V¥lÆÉ$æj ApY)å›rðÔ‡s1€„rÍ×í¬è€oÛ}©c}ÓÉž‹i4˲wÇùaE{{zz¢0 Q.GÃ¥bóÏCÉZIÈT¡PÈày>èÚ=µ­erðJkLL]„TŒþ¾¤I¼¸‰q¾3ñôÌ|–´³€fnqTòÉuþxðÊ+ÁŒ€ÖºZ©Tž £(ð…Ja I\C³¾Y”V AAƒ™lI§Hcëš¶Ìp¹Ò‘‡ÁÁ2z˦š Íy5@Œ4“<5}©nÁב˦p•õ®Mëªà?q ‰ãx®^¯Š¢R{dyÿÝZ§…¹™IÌΜG&SH©rk@+©²üÄ„ÔnNõF ³s—qnb–î¹}3ÆV£¸íÕZZk”RæÄÉóÕv;[P!`„iÓfÌ[µºÎü¿`fŠã¸9;;{xýèÐHàêÛÛIS¤iFJ*è¼â Ci©²T¡ÕJ0;WÁôÌ<.^Z@’dèé-“ç»(øBˆå½ú£¡/ÐSt‰zÍÈ@ ´n/ë5̘jgò<€9ëŽþ•ÿ‰Ó]ë` ÀÛ¼qôÑLéß |ï¾,ËHÏ6Œ¸Õ†ì”B T,¢T* ·7BO¡¿¿Ê=ŠÅ"šÍSg±r0äÑ}ÜßS®K0H3‰…z‚jSÖÏUÝÚÁƒÿ¬^¯ŸôuWuú™~NLWņ̃ñëóñ©Žÿ÷0iÿORÑIEND®B`‚gtk-sharp-2.12.10/sample/GtkDemo/images/gnome-gsame.png0000644000175000001440000001024711131156730017461 00000000000000‰PNG  IHDR00Wù‡gAMA† 1è–_^IDATxÚíšYŒdWyÇçœ[{UïÓÝÓ3Ó³Ú3Áa0¶Ù+f1FÆ !äHI”üÁÛã7x–,­ígë„~SüÝwžoïéߟkÄ0×ÜØ3×éÖ«6Yžš,ñb×MWrâ?ñ[÷?ð®;Þï—¸j¯ÁÉ1ñª´œS¬|ÛúÕüÙzþüð¯oY®|ì³·S;s%æÔË>sjÈ\3àÒ–Ï\+Aˆ ÃðáÝËø‹{?ù»+%y‰¨2ñ•‚ð P/=Sç .>ÓâÙ˜cƘ2­j;ñ_ùÆã 'VFÿò;ïkä wN;û–÷‹›÷ÏÒnjúY›o9¼£Ê-‡¦ÉdG-ÎʽÍÓ¿¹ï†w?úÓŸ=‰ÂB()¥°ÖÚÒ9  4€&0L“Å÷Ð.~¯•$%KL(KùÕ~âŒ|ð± _ýèѹÏ|þβÕh#B³4§xÛKÜx`©F¼i‘猆¾çíF¨©?òÜIkm«!…ÆqcŒQ%®7 B§Y`ªô¹£xÞ)ÞuJRcñ–Ò|ã'g8Òù½wìò¤Õë :Å{S@Ž‚é‰6Ïs:ë.ª&é­Rœ0 îûÄ=yò;ßýþÀzRJ„üßÜÿ¡[Þ²t_«¥îØ}&Ì[iØ‹.»Y÷ø™­•o<òâó/^ÜØ*¸œà[@è{¥wò«\Ú ?Ýjµ§Ž]`Ì*ósÓÌLÍ1Ñô6GU0!u¸¸òÎ['¸<_çk?vÙ=“·§gÚŸTJ=$„õ¿ùÓ{ï¼ëƒ·}yzjòˆª(´ª¢½@$iŒI‡éååewùÎ÷ÝòÞgÏv7øÖ#O?wn}½ Ð/$3QHm«Ð¯d æ*ÂæÂòȹŽ­M0Qó¹aÏIŒJ˜DpS[1í(”Ðí¾ù=<¶Î³ç3†n$&ñ¥Ôq!„ûÏõù/Ý~Çmïo´[(¥‘J|„SG™”Äi¡j +-êÀ»ë•ù—î¹ûÁÿøù™¯?ü̉B•¦Jv1V%Sr·ú*äéA£5q*éæ‚8™7d*#Ö†õÌ’:5™óÖ%Á·žöyòlVàFŠ(—ÓJ©å¯|é÷îÜ1³Ïë®Xì.ŒQµMp4ƒ`³hL`â˜<Œh©ŒÜ~膉jeòo¿ýÄ3…Ô ÂEAtTH(äUF¼të=éTj i-Ö¤˜<åèNGîh–K§ôÝ?ŒøÑ³ß}jDàG“’ÐZØÛv9s7.ÍîR¢"hÔ µºÂ©+œªÁiÍéhªõ:N»‰”!ëT¤Â˜+jìh;Mdµqêâ†[?¦3/¹Úȯ0ÿ¶~Ñ‘j›cóaÞy¨#öN’$`&Ø4ä›?ùÑ ®"òINfcnžÊ'2k@VDÍÇ‘(åÐìÔ©7« 2!T«jHcäèj$Ø0Æ’¢-쟞\Ûòâµ-7. ×±alà ]¥Bi>Kç°ÕU!Ejg;šÝÓ¶*ðsÍfœ¡ý„ó[)y’@‚ÍEØ ÇÈ^˜“ˆ‹G³Ù ÕL™^˜B6v@£$Ãæ9J@ª¦ÐYJ£¢@¾cŽÖp@hís×;í}òôj·P¥ `¦°ö8V\ÀI‚‡b+~ÛfÕªR9›™¦ïÖ˜®ç¤Æ0r#ž?chŠ„½­˜—ü°EòbÙ5USÁб2wd›Ð™BÌD¶—EœFá(´Õ -•4ƶæÉu†Œ Ýr™œìa·"nR­ÃÎÍœ>¿²Y1U¿ @É2€»Þqà{¡78æ‡aÒsC^,yœræ\Ä£'\ækWÜ!œWbJCäv¸¹Fœd„IJšj²D£SÎ2ÈB Çê¥#lž’‹µòÇè\ƒ­¢S‡8ÍÐIÂM‡–æJ‘¼VŠÔ@]eýðß³ß8ú®3£‘ÿñlu2mu¢°©6¡ŠÅZ‘YÿvWÏë…™‰št”h6jLL´Xœ›{wN±gy–¥=;˜ÛwæŽd»#lm'Yæ,ÕÅ}T [“„¾ Í6Ns‚D:b¤jø¹•Ç^ºt¡äûG…¶®)€“ÇŸž{ìàMoùó™‡îö³Ú{µ¬.[œF–xšt+‘ñ(MÝ ë†AE¡l–ØZE‰ºÕT³'12ÈnFÖ’Þ/"QlÈÒœ02ˆJ+%A³¹¢mÎ ¯D)C~l‰"“oK¥m! õªdn[yǹOõyñÔ£À%!Ä)å‚RjV)5©”jK)kRJØ8ÉL]"† Æi昭ŒnÔil M3"§ÊÒáÝ„±"OZVéöc6F.[ƒ«#7Œ·ÕãïúU¹P‰xSD»qà‹[kSkmbŒ©Œst!Dî@<ߪ´•„Åv¥©:;fª4§êÔêÕZ£G(9 ´åìÏΑ)‡ /Ã#ü$'ÔeZˆ¬bk®Ax>.v^ @^îÖÞ¶Ö¶¬µMkmÍZ+1Ba1™BºIÂT­ÓnÕ+ÌÖ$“:µvg²…jTˆ3p¦$õ(c˜'ähõ‹Ãê3MrÓ&&4à HP¡™iz—6û%ºt ¯Næ®Ä;¥jÈZkó‚èT‘!ª€Xí½…™Úp©55Ýafv†ÙɪVÁhCœE˜4ƒÍMbé"¥ÕŒé‡7N±:!«ÕèÅhk3¬\é JúŸ”r¡øµ$PF;*å µ6|kí˜1ÆL5!D0?9uY>´û…@§1ÃnR”ìIài²Ä’Š:½î6Ü/ʉ㔠Ɉ2Ö¶hQ8¼ôòê¥r®\ÐáÄg¯*h^£Í1b!D`­ÖÚE`Ñ3U” @=vìüÚáÍ÷Þ´øV»0M†Ø "•’¡Ÿ‘IÇ ƒ$ ¢”¨2ÉÔì.f[‚ `uu{¸ý­‹W[Bk­g¡^ ,Ààü’®ÅØhk­B$ÖÚØZ;²ÖŽ„¯$WÖÚà|íáŸ?Ô¬¿§º7æpGj†¹Àè”zôè}“““³½þ ûØ£ÿýàO<ù­,ËümFŸWuòÌ¥ÇO]{lÿ®Å#3íæ-ªR=И˜^Z˜ßéäIÊå+ë~`6tõ– Ôkurã>­Îd³Z«Ö’8ÉŠ3T©Ì¬\3*_;w.6ï¿ï¾ï¿ÿ¾?:p`ïÞf³9—çzïDgân©Ä®µKkß)Ô†€±ÎfBˆXJ©Ý ZÝzÏt‡îïx÷{nÞ¿wï¼5g1IšàT+dy&²,#I‚0À |ò$›[7 ƒn©[ðH^ÀÑ·ßú‡ºóÎ÷Nœ8ÍêÊ%ý>ZqðàÁÏî^Þsw‰ë~)Ñê !z…®v¡b(„pçæd:HÁÌìá(‡4I±yFµRE IµZ¥Q«’=û.T¶Zp¾ZÄ%^+•xå:ò–›¿!I‘f)I’àù>žï3ò\šÍöGŸÝh)cTÖZ)„§cG ýQÐëõÛõz@»Õ¦ÕêÐï­2rG¸¾Kžk¤kHuNž…IAp¥Ôn×Ë…^¹¤R7a@§Ý¡ßâ¹.Q¢uŽ”’ÎôÔ½À¿Ž];vuÝÒZ«„!T¯Û}j¥QûÐÒâN¤RT+U¦f¦°XüÐC›œ Î0&' B?LKÞRns­Ùu¬^\yJ yÇââív‹~¿ÏІ1qáFCà¦bðpq1à !B@K)m!)¥”W.|Ïòž;}?°QS«Ö¼€Í Ò4Ú°–,JÐVŒ†~© o·åk×w£NÅÑÓ33÷^€ëzb8’¤)qœ„±]Y¹x2‚aÑ%¨b Ÿí !¥TV©TRÇqr)eá±ÎÔÄg´ÑÓiš’§9#o$Ò4EaÓ,QØ<ׄQ¬\|ùœÖÆ+eƽ®z@¨®†ÍÉ$‰öGIòÖáÈÃÑßóLæÊú•“ëëë/cÆ&Já~TäNÉÜÜ\^­Vm¥R1Žãh!eê/4šÍO…Qä ]$‰q]_x^Dèh¢µ1'Ž{&ËóÜo f¯@à&Ëò‡ÜÑ`%‰“Ù4ËjÃáàôË.üèòúú)!D§äF“¹…÷ 4Ón·)½4ÍιýÞãJÚ»ã0nú^@–eB'q’Æaú§_|á9?ºRªš5Æ-ö„oL ÅëŒÀªJìökgÑ£©ÄËÀËÀ…â°4­`aaAôû}Õl6fçæÿx¢Ó¾£V«íÜóƒ­n¯ßï_LŽãLçy¾^ì8 œ+Îê½Þ)¥,"à°ì ÕÂ}€MàR±ù ]gÞU/ºmóCöCŽ™Ò€Ãºß/˜² \KÁylAˆ[åÅýø»_ˆ×/MƒÆÞË-u¡Ç½ŸvÉóÄ%õJ©y#òÒ„D‡v @¶tpP¨Ôë™ûŽK×Qq?6Ô6Ð*y¶¨Ä ¯|ÆtKÕRRUÝVe¥ˆœn·×òØÅ~ÍbÕŠ5.e³mmõqA£•I}y`=ëNéù¸«‘m+À_ϾNi Jg”3Þ¤´÷›òW± ¥ùî¯ô÷’´e)q+·|ÌÿÅ%Ķê;Éû^sÏÿÖ1ÐÁaæIEND®B`‚gtk-sharp-2.12.10/sample/GtkDemo/images/gnome-calendar.png0000644000175000001440000000530311131156730020133 00000000000000‰PNG  IHDR00Wù‡gAMA† 1è–_ zIDATxÚí™]lWÇwvvwÖñÆÞÆNvc7ޓ֤¡}ˆB‘òÐ"TDA¨ VT­è‡¢Ò¨¼ òQ Ayªh¥‚à)•BB ŠRˆª>Ñ Tb'µó¹‰¿¿âÙ]Û;wwfîåaïìŽ7N²*ªD®u5³ã™;çÎÿœû¿wàN»Óî´;íNûnân“þ¤·0¨;ôÿ€èÀx½É}â†ë°?&ÃEÚÌx± …ôÍ@tàwßù¦RJ£µ"T!õ@QW …@ a „H Í_(®yJÀ6'C"™"aÛ$ì ËBûuüZ ß÷ ”BiM*ü ¤*=ܪD©;ÀÏweúBB­ E*öãˆÈes8ÝN£Û2H)A6žûÁË/éOïèãù×^Žã˜ÁZãJ)[?J%èíà•#/h´ÆÊl°34ç*Àê€ÒøaH†(­ÄÐω|>Ïêê*¡c76º $2äïÙ'\O6.8y}ìàB‘¹·ßÆ1€¾úÜaá…ŠÕÔ‘Êmãs‡u™'¬X¿ aH B|r÷ן£P(J¥(^)R¯Ô‘R¶¼´€ÔÕòúšD–J”NžDΗ^ä݈¢aîýòc_ÛûõkG-VVW6l ·í¶|êé#bhǶm†!nÅe~y¾e 9Fhfªòƒ¡ÛA^GÎÏ#‹ã”ÆÆ7Ð)rÀpðø¾$^<|˜þîñ]À ÙÞQøJ¡”"“Ìpyò2•• îªK­V£^­oð¸ $ŽíÄʈ†œà C÷;QØ{üI¤ÓÈ¥nÏc‹ë2}ü8ŸÙÚ­ôÎ;¿r€–k€ß ᇠLÙd´Gíàui²ëëÈ ãà8ƃ@ ñ"Z!§Š&7Ú—Ö½@^x¾Oÿì,kÕ*Ëóóœ)-l À]€o[¹€fMöƒ¥Cz8@oäܸ ¯K‰;7ÇÄ™ vïÛÝ(d6LJããxà½h-€œ©`µ¿¿Oèû¬•ËŒ—]í5êMØdU`ÎPHw@…„ª1’c; â9¦âD5#Mœ™@.}@îþ²7¾Övg«)â:Åç?€çyäóyF+CüëÜ ?ùí l÷ÖõSÏKôl ð=ŸÉË“¤R)¶/¢¶fY˜˜àZ©Ä)ßÇJgÈõäDeYZXbbGëFÐíç@oÐ84©ÓÛÛËÞ½¬­­á¤ÓX5ŸååeÖì!Jå:­ÉÌO“àêûïS)—¹¸¶N)‘ ¯¿‘‘òù<‰DËBˆÍ KsIjßb­£3­ukò±ÁénH‚Lƒ£-êÀ¶mÛ¨«:=çÏS­×¹zõ*ÊRìܽ“|`áž=Ët*Eya¹•ÎÙî,ÃCà  è!Z£ ‰˜×o™í‹pݘ´hoT£ã8­óxïvØ}ÏnºººH%möÝ¿ƒŸ=ÈÈÐõ‹çyøÕW©{K®ËDbmé&¿#ÏÀÀéTù]‹8¬X[7Ë뢠…Fk´c;¢¡ã$N·Ó(jAã7@.›kF)“Ì`Û6IÛfïÐ^r¹ 'þJßð0Çßxƒ]<ÂGî 3W®ÒßÛËž={ÈårXV˧ Ñô§h¡o6ëödÖZ£ôƆHŒI)7H Ä”W­5™L†ÕÙz³YæGG™>wŽ3cc¯ûd³Y†v 180Hº+Mm½Ö¢‚@ÄìQ›íNt¥µR|ï™'õÈCÜî^’øé_áéC‘ïïgzt”%×eTk–ì Z«25;…5¿‘ÑIX£ƒÂØ®h¡&û”B¯ûŠrÝçÄ»ÇtÛ[ˆjE“ºZj…c'¸«Ëak*Í®áa1yêK®ËTu]Tõ🰺Æ%o©ñ³€nl(r ñ ò~ض½rCÇ4 „¸Éd'„Æ„:o!:zûçGîc¥XdòÂ&«ëzÂI“ô} !Ò©¤¶–h+ß´Ö-úGº7 ÝI4À[ïÏ=À`зšÅµ $M©³ceΪ_Ü¿ûž'F¾ýÑ{ï1>7wù—ccïÛ€^óž²kž1.Z°\–ÌÒ10ãŨNVdÚÜëfÀº9v)c|tŒ¶=‘Ž<úè 3ccLÎÌ”Ž‹¿1ãE94yÚµ0nzÅ“æz=Duøœ•‡:°3<êQ$" ÖSÞWŸ›¾4;»òûññ×Öjfyš1*À¤Qš‘XócÝ3ï“4‹vËøÛ‰@Ôj1/E†Æ£`Ç€X_9\)—ùÛ•+¯—J3Æø.3æªÑø3ÀŠ3¢†£Mݼ7ê·M!Ñ$h§b/³ã}½R™›™ùÃ_&'OÛͺÖ2ž]®Æt¾jKÒvqúè–NëlË|Ã"ßôDL£Ø±ódlû/º¾Øe¶G2&Ÿ&MÖŒ1A[¹Œz‹NР“m½É¹Ž½È2ƒFjm«+–´«¦ÌÏWqí3m<²íçú¶·×Ûô‡Š½°ý£„µIÔt¬¢”Ly\0×T[ŽÅ›ÚdK]ý·_ht[^´ oð•ÆQaÅPHÝäÓÓÍŽû7²ö1­Xy L2ê[|ôÓ|šh[ÏÞêÃ^Çí? Äž®™ðÄöIEND®B`‚gtk-sharp-2.12.10/sample/GtkDemo/images/alphatest.png0000644000175000001440000006364111131156730017255 00000000000000‰PNG  IHDR|B‡}>gAMA±Ž|ûQ“ cHRMo?r‡ô$„Ïm_èj<‹W§–mªg,IDATxœbüÿÿ?Ã(£`Œ‚áˆi 0 FÁ(£€> €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 9]:= ¨h´À£`ƒÿþ3Œ–÷£€Z €G[£`Œ‚Q02@¶ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(£`„€-ðGÁ(äàÿ£€R@,í€Q0 F~ÀÈ8Ð.ÃÐh Œ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F ÑŒ‚Q0 F –vÀ(C D–,óRî ŒŒÚ@Z›È``dø"€èµŠñÿö¥áŸÚ­£` €büÿÿ?Ý,SLWRÜdhæ$†—7×Ï|4C—Hõÿ¡4Àì UÁˆPvÈãfdd”€Ã3 Ìgm0ø$‡ÄúriUÿR=7 †ˆ(YªŒä^`ÜëÓ8õ ¥FXrøÏð¨¦pIgØñtò(( €èÝÂObm(›Fèò5@ü ˆ›qèE7B+:`ÆeD(·ÒÊ œNˆÂÿ°< $ÿƒuþG©"þ³=X!ÔÜ‹@\ŒÃ?£`àÂ|kûˆn û Õ©èÿÿc€$Fpúÿšª@Í'FF¦ÿ ”Á \S¾ºxIgè*ZùcŒR@Ñ{ ÿƒ È¿Hührÿ‘Ø ú°ujÆ45ÿ°°ÿca£©cüÇ¢ÿ1#ÿ¹‡áúÚi—€UÁQ4}E;D-”T2¨¬ï?È,H΃Îç–Í‹‰U^²$˜&ºþÃÓ,#,Îÿƒ ÿÿÐt¢a|Hÿ”þwÇT¬¶¤™gFÁ( ½ |X!ú—³0F.ÑÅW"™­’øË€¨@þ¢‰c˜)œ‘äÿƒ!L¨±6 ˜aAîFF¨JË™{ÁýIÝe`ëþ*’¸zØÌý .œ½opÆfØÿˆŒ ×ÖN{ äìe\ˆÜ0þVy02BZxŒˆÞh ƒ ‚y¼ÿÿ/Æš:$-À8ÎÆ*¤‚÷òþ‚ óÿÐtñÿ?¬¢‡÷ S<aâÀô![±&„†^£€(@9¤ƒk(½u¿‡¸0º9è½ °¨u)¨ÿ#*F”{h¸†nhR9@+Ѐí_¤–Ü?D•1 ,˜§ŒË5ŒÿÕái…0øÏNà!#\´âø?:¤3APþ\u`¡<A’ÿ¡®ÿ!…5^V²D¨ˆi¸¬&jã024ë‰M ˆþÈj-ðуà]ÛÈö'ˆ`³€½U`a¿”&ž£€D@]à£Ý¶î“`¶ñzlC<ÈG9@ÖIÿG¬¡ÿè’ã,ò¯®™ü˜Ñýg@ÚxkEÂímáðÏ¥¤ú¥9'$W`‡VþÃçZ Ã9¤l’[ÙóˆA‡öõñ§ÿð4ňÎúŒˆ¹H¥3sIghõ}< Fy €rH Ê,[I0¹ Ç×êÇŠaÝpX‹÷X·‡|¦Î?Fä%x£ëðéürgºã­ð\³¾ÁKeaC-ÿa󌈉Wp¯ŒˆI[t°¢'z%P_ Ù4í&Ê!|Hïš dø-í ›E]ߎ‚Q@ Üx…¾Qê$°uÿ–H3`z`‹ßð-Ë„±ajÿ1ÀöÝ@EÀ‹+1ÍÀW€­|мu@ft=>ÔÈ’m"Övê`aï ÷è[”tõzÞ5#R,CS‚ϸdüÏ@z+º£¿0@óèYºÂÉÞ[K»Â¿Pâ§Q0 h h ×á#ï¬ÝN¤È•˜¶XvÛB®}vÿ¾íòQK³A‡ª10ºi.ÈJè=G-–£-|:ßÜnÀh+aüÏôé $p¼CwÃ"n¸ÊýGì‹Å¶—,°¼;âÖùØŠ Øú{ø>ãºWVOþ¤v3ÀV|ÀVû€ON´¥ðË™á ,³‹ áý>.[=Æ6Ì™¬…·#–7 FÁ4PC:È-{ØI‚°3t`×p¶Ö?Rw|”ÎâZõ¨¨ctC[’›±H˜4Ž,ÇnÔ'Ô,ÇZ7ÎÈxýÌÒŽNdufÑ•@ñJh?âMƒèë'7¿!Ùñ$ÇäQ ]ÚÀ°RÒ¢@·,Ø7»ìµsj7踂l Ÿ±ÿ˜Ñ¥·¯!ÃíL1Àä`ƒ+`ÅL Þ¾mÓr‰Ú˜ä—3Ýhn!dîbÚØá5Ðq›ÿÿNŸiOð!¾Âù=§Á¯,ƒ9õîªÞ8ÐÆ-Ðå'@¸ÿ‡;æˆ>Ⱦ]ÁÈÀ¹‹ÙŸŒ°ÅóÅ¡X{±ñ•ëò€f©¡t<À &¤]¼hA9Ͷ]âÆ­³š<· ›^¿Ã(éÃøîèŒpßÞê½ 93µÎù1q@MPÚy ˜ù€NÑrynX÷¹«Ì¤ Y]eÏy üÿjDÈ"4ªá#v8ò4²`sK‘.ú¡Œ#Ð@ éÀ |X|†„Ö=º0€­gÀ"×Òð€ù‰Ø«.¯žôM74T@ùÀLjÿÃÅ Œ"K€£ PµÐnX9 ™Wd„´LÑ#t Š<&¡$Ôy×d¡ElíY v_ÔŒíÌ!Š€Cr;èþVO ­¦pW02,ö ù½³K¿ ýU@75Å‘ï)f‚¬A‡•ê°«$¡ÁÄ[eOð)ÓŒ—‰q“oÎtg ž|FÈYóHe#Rf‡l¸øÿQügD¤ˆ3tUB!R<â@ÁX¸]ÐÝ0w .Äd€Z+ü¡i tý%®aKÐ*#}H‹Q®ƒúLÐzUŽî?HÉsöYL£%Ž5Bò##ríL– ›!@Fd7í» T±XðoÆáNª€’Ž xt2]A X”0Âv ]м ´ˆrꂃ³ØK|ä2‚J^r €z v“hlý4¾–<2@WÎ댈$= Ö$0þªæÔ‰Ô.Ã9L`Yâ ´Â ˜¤¹¡Nø‡p”…µ‡®þ1@/Jeüu,¤ÝldYÆÕ*\v|QÓ7â=€ {Pç ½¿z0ÃþÙ(«¨€…þ—Ôž ³Žtù;lòô?tfÑþEtªÀœÿïÂd+Z`aT›‡4ÿ‚<@ÿ:mÎs2Ø*Dó! Hص 7@F8ÿ#ÍAlù+µ!U2ãx óÙ!ÿU ¬Ô†ž¬óÿ±< ÿÐÂRŽCV¡TbP ð^ ¬ÀþÏ€-ýþ‡êSoB€3tñ¼ÂP²ë€*P¤qJ­– „вÃ6`è퟼Æç…RBFB6Ÿ½Vy;lÊ?¡ ~CªµÎ4Yõ9v² ˆ*J1Q.QðŽ!Âçɦ˜;v2XXðŽàŸ²AÑ¥gNô+Y” éº:”©,Cü [JÔ[ýu/ôÿã~~q÷ß! –¡QRP2áI§˜jƒvo·MgÒD9 N'•yg¯dˆI0-z7ù’lBò,˜z|!}i¦˜8i©¹|¿Ò ['D!s§öfÿ}n{ÐúS´A×ÀÜ7­¯q0‘R-æl ‚Þi°ý!=Ç™¦z"uŠb‰ e52,FËséE݃ŸÉêÚp?;÷­bv+”ˆ ‡úÇ$|oÿç'6é<ȳšñׄÿ€¼+Öi †¡và/˜ØYA0ÁwTêÐ ‰ é$`de@]øª*Hü ;+ƉßKr¢J DjÓëÇιî³ïî/ªtXe³þ¶«³î{öÖŸ¡X;(;èo»æ>ñÙéN4Uì4²ùмpÎ;‰Z©‰(Í€m[#Ò†3–/m’”bç¤ÈwSD|<n^Ÿ†­0ýÓÙí¡³8B•-E¶µÁãÓDìÜþÞjqµèù,/_Îæ÷ió‚ [ÜXkBŽ\‰K\!;nîìSDøæ.a€z¨¿}ï¦Â«&qG\ެÂö&ô•¼@£×"p³uœõ{•D…ÿ&Æb„þs‘F­êšð¹XfËd?8%ÁùĪ|/¥‰Ö.Ë€Öá…gßFÆù¢"nÿãÿS Ô¤í`ëþ™fÀ2,c êÈ?’Šü.øz°$'„K«'~× +¶nÜa‰J?¼(HI2€/º†ÙËI¬ð‹W`Ù© „tÕ±¹üür FD9«$ ³‡ˆ5i@QPWýxìà?c8dÈà?R ^fˆâˆé`VΩ]ÿ÷Î.›‹n°Ð?ìš:r†!l êü8´û÷Ù¸'PÀÖ©Ù BcéœoÎôÿÿ!—’À¦4aSxÐÉ\ئgFjdf6‘ ZÓŸp…`Ø@ ‘¿HóÏŒ°yZ&Øô0¢ü„ÿ¶Tk ŒøŽÎfÏ»þƒE-ÌœÿðZ“á|Á't‰"õÃÖ-eÂRPÂ4QM;p{aY"‚ÔÓñ` ²Àöª@ÍSÀG‰ÃRP«ÿCBÚ)ÿᣨЋi`é Ã-/ 3™“äðÅYÿáXÉ÷>*Iz‹n˜€ä=Â0 …#p$F3,Hœ‰V&ÄÈ à(,&ÄX=Ò$Ïq˯`` [DÚÚ yŸ‹ý †_.äó—sXI[O±lûdžâó±?½›]Ê“e{4oú~_[G܈ •¤.¡§ðÝ”©)Ûæ“.%°Ë%‰hCålD=áþÓ‚ôƫ֫ ÷§ûŽ_m ©òÏ(³uä ¡Âdd~ÓN7“{sî·‹“¿Q…3¨->sÚ ám¥7S³  XVñQ‰+ÂÆ`²˜‚XÊŽ}SÚóWD´èI!±P"1I®` ãhîžlžÝ#¬]éÙOùì„F¶…A…ÂXÂÍåà,ǘL\Šœ Û@‘0UèÏÖ‡n}îm‰ðŸ’4Ÿ#ò²±‰ßÁÄ´„~BVmIdô³~Ô.6`n?ƒdûýþe» @Þµã ÃÐø,ììÌlÜ$vĘXX¹G`D¹ ,åÑøƒRQÁÀ@†ªªÒ4uêgËÏÃ?wÞýíË1¢‚ÅÅ­Åñï=פ-!*ÕGírØ]»ÛO̽QÊÛ.XN}ˆ1*éç D¾›=¿ ´L„dïjÀP²+ÚÏÉcÍHs¬Cç•ðø°¹ ¢´H“ér;¯ {ܯ› úéUñr5(Vtv$[ÄÁÂ&‹ý;ÉäŸË<¥2•Æ%„÷ðøu¬M;¤YÅ*1|ɲ|Ð ž]"I³žÉSžø„¾f}Ú´Ð5Pp–²¯‹’µ0þ§nTdNåÛóõPAþ:w‡®G"3ÞIjµiÜ¿K*»ÉNx°ËÛH o"—¡ê=à£TXŸgHÑö:| ö¹= ïÚq†ah½3p`ggç\€…ÛpŽǪ&yþ´i+$$†ªjIâ†Ç³ýjÿðßIÎo{{6l}t4¥Óçþ•1ÛI»/æõÐàZÏ[/Û)-,±ÊF}~mÒ5êä K)8Á“ 1«9P@{eù›ÅYKw¨$I0…«E @"+T¸]‹÷q<]o—©¯VÐê=÷dzeÝìCL¾p67ÝúTã™IJÊŽŸ2ðôxgbÓŸŒÇ Gß…ŒÓâí}ì!3…É5£t‡Ëg—ÆónköÇo¶òÄ0¢ÆõLÅ}oRÄ™1,qŒšµJë'Ùá^¥mh')!¦ $"»%;)دôš³íû¢,sé$™9(N€•5¡üÔ¤ÑÃ.bC uYýemª×bë‘ìµ´`oxð× ÿ%ygo„0 Ca«#° 4lÀ =;P2 ‹0+q+zO „ðwGƒ«¾sâXÒ'ùÅùµÃ?}I÷µ EîüR‡#½âÈÜŽ!Ü*åK^|A¡žUÃðY6ñ°$êêÕ£[ñÙœI¡B‡úi¦¸ö ñ/Õ$ÃÓÙ£{ž®¶Íµ÷(½Ñ¥B¦h*&á¹ïi·Ó´NæëݲoŒã~SþáÆ˜©Ò7 _Q&` ýv.o•à]ª…S}‘ðÚkfãåHSùC-@º£÷ï;J*W0 ŒCÅ6p%A2¥—ö„–ðp¥-öï@Cú…:J­Õ +yÞøž|³Ú®ÇO&jqíÚ@•’^ѼV|Mž;}/J•ÕÝs`2JêlO‹Ð¦Aý´ƒà2ðým»@ÞÛ ÄÀ÷tôÔHÔ,À”´´0=s°ƒ°9üg;É' „hˆ„D}'¾;_,ýO¿ûÛ–)xü_ÿ„J­)`Émÿç¿ØìgõZ“¸QöS}ÀÒ=IŒSèí;xæðõ‹*!1½k@'-žüIŒ`õ|(æú¤Fýç´hÄíŠ2N,®& ¸3X-W»ã¶tËép­;'}ððe ÀǘÅ'Ð<–)•[T´Ó¨–ƒöæž¶9°À»Ð]€ã¬jûaöÉÐU EÇ2ÌĬ4hWÓU²Bí-.$sϬŸ3„9!±Ù}å±Óéx¢°'—vžÔâ¡@¹;iƒãÄìÈ´£(O4Ñ ãJ$Zðþ{{eK+G­ÿy< ïìq†a(loˆ‰ƒ +ç`cæ œ ‰[!Sšçç±Ð©?Rš¤ýúÅN­ð¿±Ý{ìÞqvê?”r Ø߃¥€Ý‚_ÐQ Z»¢ã¨ÜBÕ™f«m"¸œu6±x-°™{¾Éz{˜gÊÁJ’FUéL<~qŠ"dáþ%…û)öm±ÙåFPúg¹-:§dÄ>°ßfø2F´¸¡oy¹'T;U°osEn@_/|e?ش٠m<>2¸Ëù1V$Pܳû)T°iÝ¥]…vÓ± Ëc»›¬Û¤ôâ ÛqŽFw êÎ2Ëæ$ø¬Wýýñ´Êšh9¿{4$Î)þ:¦pøVµYÓ|„ØÄ3õ1ëý¢u—þ—þßnWÈ»–#bª±Ç«kñj%žíÁ lÀ®wù<Ø,fFoŽ÷ Ùax< üªÁ¯}Fû½7_­ï¦^Èïþ„î熧 'Ú‚04›<„Öä†_Ò?û®’Ã*‰ÈpC8,èZ«´K‘МÈ-ùW«)|F½ÈeB%wf EV³•„m!AØÕ¹3Q¦í4zhKþÛþv<àæÚ†ah4+0ð @ËT4,A†i¨©Œ°#½çÏù’K i’Üq‰PdéYzÒ/:ürõœ|X¸&Rz¡3^É/DÚ‰µäƒ‡íò™A*ézÒ X¬Z¤hºÆh(N”Ꜻp¾9ªÁ'™6=©ÇÛùñRèÆXaÀ& dær“õ‘Ñ£*—¥ûCtúûÞ{×Ó=žž¾}2ëÃ;„„ {Bì¡`2ùèŒâúUäÄWR I{m)€¦ëlG¹¨®K¨R‰¬ù\Á¨EÀ7luî†lw­Â̱*ä Ð@ÚÎûQ&ý”éBÒ‰uÔ•ÿxS1wëÀæC[2î=kTêºáÿDTSapÆZi>Á”þÉY¤dÅÒ§Ø]{#oõ]šû™ÀõÿÇWòÎåa¢Þ&.F”CtD=Ž[ZI&8a¸1á”É!1!Ò>},þÑáïQüž ÄKà½ðN?. §u{iDF›+A’ö;=¯’lË£{Á4þ­«_Còœš^ P1Sƒkdxž/½<Ã9†÷¡³LÏ.ºIª0=eyyŒ«Ÿ»Nþýö¢¤¿¹)éý£[3« ÔÉÀk ¶¡'½PÌY„óâ_¾‚eˆm#|P\‹ Ò¢£~ÞÓÂôÆVDáƒð‡™¢P0ÏÎáiIð½pýñ+:£Cþž,äZ{/4T£sæ1áavýÅ)fó” PÑIï@ªap#¢Ù–R0ÇN>Œä*E1‰Ó]#Üe :<å¿ ç n†a`úbÄL€XŒÂ“ ˜ø0Jîì‹ä´ðDäW©u¢&9Ÿ/v~ð?‘sæÒ2ï*‰H}¯á¯6‡‘=/ ˜%íɦ"ÛÃ3ÓÔ¨ÛGêf BuD¼ÙóÍLk;. s‡ãŒÔ|'ج ·ÈÃ×È0ÀÎÃpóB"l`èÇZ+)xe»ÞÓ¢Ëi~}ví±ÇÞˆÁz)Ù@2«,Ø”œ02qÇ;0kg¾;ƒ—Z ¯õfÞG3'SQŒ¹ìTLþ{e®&vIøþвõLäEcˆr8^”›a?²GÏ6zX„‹T¾&ÎBI¯SÌg=›’Ë“‰0Ø B‡¹0%&­L›É9 öc{ @Þ!AÒ„ ²Ÿö`–`þ­Ã¿U@ÄÜîÞ†¯#3¼“;2,›»½ã¿fî½N òëÓ‹W:úvsâËR·Hbldi‹H¤ÞáVµÑ4ê{(Ž •@Xa¢\ùjÅYd}jGÛ<ž÷ë{ü ’¼%=> eMògë•“Åþ ©«m×]E29Ÿ.·ckþGýaׯìaX±NfÅ©Ûf)9àríS]ß1Ÿ+ZA¤©ÁØ,tôÎí ÈGˆ&# k‰ÿ(ÅL f©v˜l…ß+Ÿ²ûLÛ)·Ä\ÓPG‚Ûùa 6ç=Q•Tð‰ådᎋÅp‹õ $¬·6LŒòÛvy¨WP>¨~ïë¹ÿô?w7Ã0ÐoÆaø° /FéF¬À™VöÙ—6*UˆN’È2û¡@gá*NNLw¹ _蔇í•Áå¢ÂH½9TAëÿKeŸxa4%ša}÷ߘrH™)”$ID"àØ½ŒŸZD_Î×û¡7ýð¸=7¯·u²ÐcвIü>T¢ÄE"Å÷á+G’,õ²˜7ºI³GÌ+{à÷$¼o"Á×;åÁýûÚ?ŒÓ›Ã"1‚ÿÏ §\1¿ž^)S›ô$Ã>N•Ô´ÀG^b—¨© F+ÖÕ7¦]!kÎ6(Y2.1¹¹>ÿoÇGr®ea†5$øH>áÃRÛé*í†Øi¦e[b×vµáûð;znW4®CN´@JyêE¨oô¥»Ä+ Ÿ-2&Mi™lÙÇ£ MOW§:}[¢Ó{ âóQQþÑô±OLÀ0N ”ÚDXB %h<š¾™žK4áúz¯Mÿz¦Î,Fˆ¶ÙVë.‹"—!Lƒ A¢Õ>+ûë…JüÊîª@ÊY—é–&8tynoùå@ $l >‰½Á«îb5d8´>®þÚ}ÔŠà‘'2N@ÂuO²Íÿ’#¸q‰Ë9بù˜jõ’µUÃS6ÐS)ÅñÝ:ÂOíF§@Ú¼âÖ y¼ ï r†aXóÄ ù&_àE#LIì¸LÀ ÑË4­šÖ¬MœÌî~Õá#²käÞû¦Ïî܉< úb"ø Ï,¤ÚH™‰Ò õ˜)Êž„OS«Mc´eaYCéŠDktL‡muú·õp »à[D—):‡*7¯'ûƒB'ª%ióBEõ<¯íò¹Åƒµ^Eƒ%€ g)ïØ„jJ;€9òֻ¢Fd; EƒhŸ}’4zTÒÉù%1+f ÕCÊESwîG„o,»;gFL=/é’±Õ<ñW/ìÕc]&Þۧ|j¢Zµ­´^Eé( ΢¶Ùm^àëÅ[¯`Sê€3­ûÈ„þ¶= a •hÙ‚(銊è驨žމXÁéÿm‘ Gƒ‹pbÉÒËgËFúu<üoAzsÞëÓRý-Õ•ô;<šøÃŠZy¿ê~QÒ‰€ˆÈÆ™&\-m´qIÜ‘R Õxm¾×AÁýúhèÒúe­‡µ÷Æ 8rN›ò¶œ÷ëÓt±=žŸ…w]-}—œ» ¼&ê€|½“ œ§¨}<[nçÇÝêðW½Ñä¨7 fu×WÃRWØÛÅ– ®Ô.[}(R³iS|šê´ðÄ<µD]È=óІ\}àØ©B.U®ˆø ªGšpRùÐPÛ$åqøHãHÞ`íÉè¢\„¸áÁ:‹4T7¥°G©Ú` Î_ڷפ‰4)‹øù±:i„Ù")ñŽ"Jíþí ÿ.yW„0 ¡¯ð¾Ò—ø/Þ¼øÇˆµ, trÐzrì¥3M É0Ý_üÑG[C  ÚtÕN¨‚û|Q‡;ŒX´`8ÁJ„/"û4Å™¯¸ËÂI3(´ëz<ÜçÛe£^[&rÒ×STvz g#̱ÑŒ½Ì"ºÀ¬ÄÛ¥'Æðø¶ŸAÿ6ƒþùsýxÌ$ÐÆwé¤ý Ê.!Xœ¦ÐÉ’Ýé yÊ2F ÏTW §h E}¸"VI=ª?ª@wŸh„×Ô3Ù½hâìÛ­›Ì³gE©§?3 ÞÆ÷q¬²à¤¼±½–>Ê*®z(±¶®£ò6¥FÁ¥4â•.*+«& !ŠÁÎÿ"Ñ£áª1þ9à @ÞÜ ±d3ž¬Â ŒÁŸ“°âgªÔ¾øªDÀ ¡FªTõÑ&×´ÊÙ>ç_!”®Ž¤à©Qq¨±ôÕþ °{ËF,¹`‹_ ‹Oö¹L©¿ð¸_ÏÏ¥·¥_”n;tfU™Õ  Æ!ô¸KFJ¹Ž§Ë§›jl›”Cî¸H·2íw&¢¦~yÛøJŸ!ø.‡W¯îÌJ—F¤¶JØ9éYLùcs¤WôrfjÓ—6gÐÇ ¬ºöL¥X´â4͹Z´)äcœ”‡¤«Ä»Cn9ê¼`”Ä@ÜEòxbÝDxÑs át Ûht†š¾gZZFÄ蟀õ™Ó8í¢½àîJŽ„a Ô]RJÚI )„.ÒI&PI»"#fÂ#üa†>°W°ÚµÏø\lû²Ìf æ‹ÁyÒÃežÔï|>øòºQUYd"UÃ]8|ØÄ¡—a}ÑÇ</ªÉ©·f«Šˆp?*ûÍþ'¯º‚Üåz»ï›Âú²áÔÃxÅà£È)ï¥7Àü¶Ž>k+ç²y‚V(àýrrªKû¹z¦ßÉ’=2ǃ1Ÿ“u½jññ Tn›:Šá¬´såÏó€R'€p*—Tê/KæYT´×ÿÂŒíg½BÎß”Û"xÿ Mn—*ÞÝ$ÕT‚O°Ûø p=”»9kù@ÞÜ Ã@ûÇl,ÀlÀ¼ƒ?ë ±J ñ/QKûÑG[©UmµîÙNìË/þ\5ÎXvUä|¼—Àƒ†àüƒ+[±‡>r\@Ý] $úR¦Å/ñc»]N÷×áj ÐQÚEºp`¼fYAú'˜üèj…Óa<ï6+ÖÆ®»oë©c±±Æ­âÙÔ U½çæ¿î„, K( &h•:#ÀÈ(wU–%"â>³*ÆrÛKÚy˜†è°lIõ!«µ÷–Åi·ÈØ–’ŽÉ¸ßò\ô‡Ýó_s4£…LNåx‘ìÉÀάÎh[&¨3þû:üIò®ía* °0›ðÁü³[ðϬÀ ­ µï|•Ò¨ýABDÊO+õ‘ºgŸ{vð;Qûâl9 ‹Ä²ƒSã͆`ŸŸàÒuhJÂ’Õ†ªbøê8ž¯û:­}ÛåYW倞do†ulá—Ard¤Wb³5îwW·žV_pVW XdÒ‘R?úLm€)Ÿ§CZìÄ—âÄyg$ºtux½ÊÞ)OAçåšr:‘dV^Èá g(ÐóXRÒ°-R'T4‰„цì\iÚÇŸïX§xï%6µ“±Æÿ‚y!ê·di´Ÿ¢Ï°1Í8G›±çøsV3ºŸ³Ô?oÈ»‚„a(/Á:¼@b žìÁŒÅ—1`…š´¾³(•¢}äÕÖ²’sbû®¿ø=0o§ZE{Û|VÍy0…3çX9‘Õj_)s’y~Évi’Bøöe¶ï·Çs÷G)ôoe¸ «=¢s¡s±¢ÒA#TI !sÀ¶Õ2n§Ën…Ñ9¨±IyÓ^]Zd•À=]ï¬z$ÈŠ}3¤+2ŸÛˆ]"­¿Æ“+¤²… k@žÎ ¢Â`*Î:%£[{ÅNËýÃ#¬{8á)„ÆÈ[€rç„Ò³³®Gþ*Ïß™vø‚°E¦54—*=¦Ì†•ð[´[N* ¡ûö¦W?k¡4o0¦™SVÕÈ -¹¥12JE#jèù ¯µ£‹ÁXg,Tû€ÂºŒ<3GH‘ÓÖ.Œ3WTš´î¸½©ÿ‰zatM.[Źï0ÙlYK0xžö$¬ ;]ÃâH.@ýk´Ì‡Ô]Û Â0 t`>‘‚˜„­˜‡$†@Gkû÷‘¨?è/¨ÄIkÎgûü µg‡žÌ>ˈ~ÞåÚë]Ep„oˆñðƒƒ›‹WìbpÄdÓA‡óu×ÿ†®i,Ñ=/M§lzJ¥S ‘t‹©EAßd="ã"2 å19Ëakö› *!û`Dí:lf,>TÑ1§G‚F‚„c±¶6¨Ò :— 7ñ0ÑéöÔÆ#+ZD8Íû‹Ôd-èhMO?xñ¨ö2çšï!¬þŒfãYè ëê{BÖÕ¿µ°ÑLgÔZþÝP|áz |UÁuî#ÑÍD¿Ù£”RýÒ*õm”W'¾»Jr™Ø\’ð–ü<Ù7®·ä]±Â0 ´ ŽQ( 蘀ž)‚-˜ˆ2%Cä„cé%ë…»t.’ÆDZ-)/éõ‹ÉA;³6Ël¡³žr¿±Ñ€g¯5Á'™'Æ]^ÜQ$³D ¬gcnj§ë}*oxH;ˆÅ«<,¼«×K&ôk‡g}ÿ·Â7cóçdÍ1{ß~,Á–Æ_‚eO(îÎÇãùöدNÈØ;-’E¹Z$c”ÝYÅžaÚGË|ÁÔÀm IÅ&dJƒ…Ô1dRÁjó!¨.øÒr‡&î‘$±|/s§|sz†R.ÀîØ„C=ž¶ˆ–µ0Ke6ƒ™âPhÆ ¼®”'‡ý!wÔ_ð5Ê8о›øS$':ËE1s¥³tæ¡þ²}àa ÜÀÔ B•;† ¥c V`†h)býKq’Ë]:p‘"qìÈŽßÒ[–ðãÏYvj©ÝYfþ´Ì³$=…¾áü¾k…„X)ÐMÞ¬šHû,¬4íçu[~%srñЈ®þU{ÝWÇ˦Ìö¸žÞíºµ¥½0Iš+$,º+züyí{#%w¯{|ë÷í¬`¾[3ÆiÔâÚ%À+òínx"2é i:hÕMÞ ‡@éVJž¸uÁ÷ÃGÁX`%iŠ“/„ú3÷H‰4ÙP…ò!üÿ’a¦º ¼>5á–ZòûSÜårñš”…èÈ{4´tÅA1¬}5I·i,_K’"–’µ;O•ÉìA4ÿŸ>PwÅ8Ã0Ð L¼ˆ…G±ð‰>€03ó&žÀÂÆ2&¶ÏNQ êDBU!MªâÚÎårùG‡ßrö}ÇÞÂõÝ1eYaýŒ\‚wØvq§d°6Ìž¸‘9ä›OäàãYØW{D‘¾æÒê¬5Ö×J/ºq©åf¦òÝRœþK¶½ß¬nRo'W])8ð*œ‚YŒš*Ñ8Nª†.(—q9on–]ʳ6 kW¡dÔ¥PÙ5U˜<£õQƧO1ÃnX*Q 3éÙ82|<›7pðó€€8ìˆÊ\‡«T5m¡_! 4š¦*@(A!±©\G‡ d¦Á˜#1²¡n½8Ëá¨%&©óæ0¦»„ߺ71Çc;¨aaVÿ ®5¢«%{€ý¡Ÿì0 þrÄ”‡Ê>òŒ>¶]Mê  »zÀ$tï?R&…obDO|Œ(™’yÿ#vêR XÇ׃–Zª@&åø 6‰èZƒ°0°pösHîÀ,ôg—¿fÎu@¿|g@«/郚…TèC†þ#Z˜¨“™(•/80z®ýï†Nâ!ÙÛœƒ4© ­LaöÂâèW Êé.Ä$?ôZIøÒOè\Èág°uåЂO@w¶þ‡M¤Â[ì° åð1¤ÞÄÿ`»q sâèn(<¼‚˜[V*ÿ¡sŒ°a)áõ;T?ÂLئFDƒs/#Ü-ȇõaÚ…˜†ÇùȆ5èÊè²O´Epÿ#³ÉØQ?\@ò®Ýa†Êô Á t À TÌ@KËìAÇÔܱ=ÂŽ¬÷D.Îq ‡›¤‰?±-?}žüË¿5©c¨Ÿï4+ÐiûAÉ(ÿ–…Í]°i@ÀaÛH?lvÍŠ®4¤tý òXnöó¼C†Ö;$×,Êp@þ7KŸUlá³ÜÇõj{˜ö¿;w…pv¢4iR¿h;•ŽqË ´/Õœ·I'£ƒ3âÕkÝŒô¡zß -Dƒ@ó@&Ê·æ»ÊÐG5(Bjyh©›•ÁΜÆNÊ¢öÒœaÝ@½îtr~° Y­h§EŽJn6 ¤$#EU­Jî™?8JÞæHÉ(ÿš^¿ˆ}Ö?5k– +8¢‡u•Я²Î’k%ýùƒ ZÙß"ü§ä]ÁÂ0 sF`–àØ…-x³ c°óp&¹X²Ò#m'øÑG>I›DqËþÀÇDnq÷‹ö ¥33å¿¶º+Ÿ9ŽÂéXtAÐÓé’ÿ¥ f-to¯.·cíó ºª¤w=7rð4-j‚›Õõ9ýk‹NzÀ+ôæH‡ÔÉG÷ùC´I÷˜ÒxŽž$=Hrë•qEõ¥­oÂîxI=üEŒÔŠKZ‚Âu Ji…F(…ªÔ~þ§Hið‚ˆ(j_âr:´Sá•EZñ°© ‚óVáƱðÂw|¬»µB:z·@€·‡:ŽJ[G*ÒI^Cÿ>!‚{õ.©Š«{Ó’¶OrÔÚFª‚ÓÎr³›§®‚njºóÜ1‹p‚P³ãsÞœ³ô\´¾OBÿ‰Ðè‚wõqSÔK^ÀQ°œBøóœÅ >ðs½,L½¹÷8ëhŒFf+ Tgòw':‚™/÷r‚a³úÁ»¨×©ß{ÜM¡òÄ$‡ ª ,í`àêUIø ï°öœ¶Ö5!P.æ)¹ë©Z§ˆµèºüÀ*Þo×·ôÞ1ÈËÂ'ï5Q€ìˆ`ÊÝ”4>V\?Å­6o mnA2k·ÎŸ–‡ä]1Â0 4 /aeGB0ð6žÀ„ÄÎÆÎ x;?`gbd¦&Â>û@-T0!*U’(Nj_ì³ó« ŸðKGéM„×ÒÚÿRáúsÀää$M~sÒ2äëâCô1˜.»EÙ˘}(øM=^šÚzucªÑ¶K vGÉÚ›ÌV£º>v›ù±|öáÊ 9M¦.OÆ øxç׳íÀ_míÌ7Ÿ§*Ë‚ªHö÷:-,dŸvkíôpBò—Q>Y&â7´M§–ˆ34"Ìî²54.¿Jú§Á0K×—O¨,©\¨•jæØ1ˆ u¸Z j§¾¼Ö‹á©4Ûzÿ<Ÿ«³PUõ1Öbüï>‰{ÊeJ{5–›Ï A-8¬þWÝ‹Ü ïÚmb¨o:X‚"53P1¢§É ”°% ˆIs‰ý|9¢ Ñ ¨ ‚(ÎÏ~Ï~ùŀ߽y$ÄíLæ²ej/û-ç|(ÿú‹?&vY%¸gpµÈô >þ+NëqÜ÷<¾¹ãª¾w›û»ß$d‚2e}r&³å¶Èí§ úñûWYŒTaAT;x®¯d–z-ü6ÂGÿ³FaT1„~l±v¼3ihaSŸÉçeP¾X͇$¦±¯ä€ÐŠ«’-˜Ö¨ CŸHÌžæR‘TzeAÿ9@ïG 4PfÛ³´‘eìä:¼ö"`bÀ^CH:Œ÷ W¹*NñBï™ì9Éjûàl¥dàcâz\š“HšIEð™«dwî€=Ÿþ5‡ÿ@C±ÀǿܒpE€PElU§Îr-`¡˜¨ž“%ãÿÿH­>ØnÂÐeŒ‘ŒÂ>v‰˜ÇÖ([öî@]& e”ÿë”á-ö;G4ÇkÐð$è_èzkèšmHë :, +ør=%`¡oͨݳJí¿‰âOèò;˜» ã¸ÐzæûØ>†OÛ¦å¾!àuþÂç`”02Àþ‚‡/¤wÛ ]eƒ:D0—ZþGI;ÐÖø´‚å/¢`…o*ƒ 7à‰[èxùXEi”À—b2 sèä+t²¾Ê >y‹Õä9è’L´óäÿÃZ@TÈ›ºð ³àý•Ög€vÍ2Ÿ0ÀZøùѳýÛ«€Ø¿€ @þvv|XˆÕä5ù£cø@@C±ÀG/ıµèÑ+\•´… ß!K5L¶çæÂÆóa¥Õ Ëè°3ÈŽÅ$ºç:tó˜jQóØj}‹ØO 9 cø~€·– …ÓÿãG6œ$èPðâçÿðSa¬‹ü¶"„~ï(¨SrNíÒÄfÜî™ÅG€Ô-Ä89ìhÄP¬ÕË€Ôõ†vÑv/˜@Ĭ¥ [Ø\òø3ìþSø†&HK’¨Ø†*Bž—@:Ú—Q0þ‡¥EØå"ˆ^¢‡ƒÓSÐÊqÞ të¼ðEZñòÒ€ô”¡n@ZŠáè+DˆzA|h„‘çŽ ôUY=ë«´š4oÐÄï`À†ßàË,‘—G3üEº Óˆ‰éˆÍ[ð zhú…¯½GêEY®9b[ø4T¯8„öðÀ‘ÇÈ€˜m…E$#j¤2¢‰C¯Œ0>#Ô@ª%`+ÿ·AxÑ1 ‰ú@k$`%ÌåðÑ#äË8ÿói+ÓèJ{¾]÷r…¨Ï½ü v¤G»<æ‡ÿ_^;stQ#±p€-Ñ;Œ0w1 …9ý?ÒvÆÀBÿ×ÞÙeÃE»gqMëcj—ƒºð»F‘ÂÁ†t-mŸžó°s!…5Ä-`Ç1BîVd„vV@A„ÿ{$ÁFXã9ðøÐ ü*@P‘»‡8Œ 0yèÄ…e°Ëñµð C9ÿ!÷½Â® þ6ÈùL°ä¿ñ:ò=ã{ú…ކ’Ô!Ã\`ÇCæÌa×þg„Ì“@̇,2€'²@o¥åÞâŽãGf€V…a¦Ãâq;2,£ˆ*X:…Ä5ø¢øµ¢pÏ"¹Ýጠ”xd€Š>¬öG.ä°G.’Š8t ,ãÿGÕBpaeßo uÆ0¼Xh´ èÂH1*Ça™º~Ù6ô¼/F ›ÉQpC®ÇeBì †ÝIÍÀpH]?¶¨ñ7ÑŽ„T};Ia×´B,…Þz-ía¢ˆ¢¤ÄÜ%µûÿžÙ¥÷Ðj~ûŸIV3A+®ÿÐâj"ìNÖÿï€üÃć,¸e ±2$Ä)j™ ÆÁ [x™º†ú€'²j‡µð™ Ë« E;ŠnÈUªr˜Z%£7&ðoªƒ Çü‡"ÁªZXÁc3@ëúÿ0—ÀëRFœ ÈJ"D¥ -]`u4,@¶2AMb€ÕiÈÕ4E™£·Â´új/—tœ­4˜/þs Vb„œËrˇÿ áP _0À–ØBÝ‹fXámÃÁ†ælÀÛ ¡\àƒ#ýM4y#_,ý’ÁhtÞù•½÷ #J^™ aqD+f'Ä-Ð w4¢˜…¥s¨û¡ û?¼1Úùz娢¦¤º Ú®ú÷Ñ "ãC‹·°›¸`¥>ü®m3—Ô†=³KP }HA>` Úƒ´ÆaZÿÃ9 ùŽKÛ§åý"ÎÅŒ°1{xÝÇ€ì.hÈý‡99£3B­%¾jg„Í‹ÀúH^€+:…a,´n€vA`aˆ@†q ‘­Ä&3À’ØDh¯ÌfD\ 1kÏ®„VŠŒpwAkD‡‘ÀpOþÇYPz*,ž)&<„‡ì‘ÿð9%DhCãZöÿCÔ{ðü#ºe4\ |\lä–?ZKÞèd€gN¢Û}¤ƒó+z¾©s†¥B@k¥€–É0Âg°r º}ÚÆBjT!õbPF…É{Ç5}"×]¼Z¯ü‡Yü‡7O!N€6ø`-Kˆ”iê’Öý~ϬÒ÷HFËÿ‡Œ£ÃŠ'$§3¼g=ÄÀpsûô¼¯¤¹ø?lh ÞO€¶ç‘‹~”b)ë3B—ª’Ñÿ!³ï°ž¤èa‚µøá/¬)ö*¡-Q¼cà°¹(Ö¤†µÈ!þf„ú°ž!ÐHσ Vb/ð!×2B»8¯l‚˜k,cô þab BK¨¸ý¸Ðp  %ðáM Å?€ÎºßSnö‚#þC÷ @Ý 59ôa‰¥qÄ€=b@ Åÿ1_â’ƒ´à #x³šà¦JÁùÝï€Ô;£ÈÒ@ëAG S¯8¼Ö¶‡¡_Ü.5~ÞYï€øåÉÅÍÄÝàÿÿš{!€lPZÖ¾ªý½cFÁ+ŠÜËÈðhèy¤ÁXïˆ>ubdÞ‘c€÷d°¯YÇ †ÿŸ6œF*a7ÐÆ´¤‡¼ð11XƒÔ x*eÆk@eOàÝ>x'áJø;¼²g@ ºÀš¹LO°þÜ”a„7‡¡E<,œ`Îe„WÇPÅt$¡°ÂŠÚɵÚ5+ ͺ@[9 §´óÔ ü®r³ ¸Ìø’!³oÿáE=@‡ëàþ{¤âšÏFì@‘uo÷( >0‰*ç&FÐx&ïX®—%Œ Ý‹ÀÞãçSKZ)/àGÁ( (j;æL»æÈ£”dès!ͺËM7b3«¢ûœPm"r÷Ÿ Þ/e€MÐ@¬Aïí#·è9-EºóN#ÐPláKpfY'h7,SÖ£``aï ,Zõ KNá]h?Z@C‡¾á]5ݲ®3ÿºÊL6c3º! 1ˆ^ïÀ™‚LùB»2Ƚc4,:r[ø4×á‚Q0 1(l;j ,‰AÇsC×ïÿ‡ì{øÝäÝˆÈøq¨d]=HZ¯¼ëŒc!“Ï H{B GS£ì­a„Q¤ºöþ? î†+ ÑŒ‚Q@5,ìùe«%#|3b“täŒ)І5ÆÿH;pQŽFÀ<¾ÒN‡o¢D*¼á;#|ƒÆ™ø¨›¡sM#Ðh? FÁ( &0O‹CŽo€]tÈdVðBïGÀ(œY­|]SáG)#ìß# ï9À|ûßýŒÚÚo)Òý@Ÿ | €F üQ0 FÕ°ŒUb@:Š‚éˆ Äý°–?âP;ø×ð#$d1 GŒ¹"vm(d¸ù2t˜™XŽRa¸O‡`´ €F'mGÁ(T­GØy gÝ@7ÃWùB7s£l/„¯@ý¶…̪‚{èW]þ‡ ÝuÀÝl…¼Šô?|÷æ2Rÿõ}>t@ø£`ŒêFØf»ÿˆÕîðeñŒÈœÿð…óð£p ÇA‹lŒ܇ï&`€E“CT#(kí‘¶Û@À%jzy¨€-ðGÁ(TÐ3yþÁO8‚´é¡Å9ü ¤P Ðcø™à»äà§&`Ü4b€ï:†«àv"¯ÃGY“ÿ¸¥H—äãG† ÑŒ‚Q@ð1n™žù?´iÜ*;=±{<ÆyÜb•B)üàR´ƒ°ƒ»ŽÐÀÛC Ðh? FÁ( x½ qôØ%øÉŒÈ[ba­xÐÚè¸ûØñv ¨á z Ð?`ÚÁ@EnÌcÙiûÿZK‘ú±,#Ðè*Q0 FUÀ„j›_À‚tføHøMaŒÐûœáà0@oì_὎Οފ>ôÂÆ€|CÖØæ*ˆ™ÿ‘×ÞÃWúÀð Ø~:Å 4Zà‚Q0 ¨þ3>e@¹) roñøê È÷Ï¢^. AªÑ—OJB–b2@6o1¢ßó ½Qí?|Í=ìÞjÐ)µ›[ŠtÒ// ÑŒ‚Q@5l™ßþ¿r|#ìÚDøšyX ÒZ‡ÜÕËÞy‹8‘‘ýp3uÄ1Òðݶÿ¡w3Âv×2"] ,ìrk€…=‘·¿ @£þ(£€j`B•õs`áûºØùð&,Fø l·,ürqpkrçí¥ÎRcø…8ÝçÔ€úX w/@6UÁÔÃ7WÁ þÿHÃ8 ë…ý†Q4Zà‚Q0 ¨  Þïÿ‘‡\ ýø!f»”açÛü‡ ó€†òAsga•weªµ@ž éü‡ ýg„W*ТTi€ÎÕ_5ZØc€=Œ‚Q@uPØvLX˜Û q^øŽ(ÈŽ,Äñøhgã©÷@Æá®rÓw0s*ºÎÕ 1Àç l¯Ÿ†¸+†ñÿ¦«­Eº˜wâŽ0 ÑŒ‚Q@PÔ~ Ø:gÐÆêÀB™VVƒRÂï5—Þ_€r÷ºËMá7^•uŸeʘ1þgP/ñD\ªÌ)îÁoø6ñ°µXÿ ]=8@ø£`Œš‚¢öãlÀ¢YÈ–öÜЋt |ÐÕ†/»+Ì_¢ë)ë:Ã,Ïy`Ë둚õ¿ÚK ß¡«Ä€-ðGÁ(£`„€´£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚h´À£`Œ‚pwm·Ä Øë&u¤‡H©ñºbÖ10 ‘"å7'ù¼Àðð~ígþ¬xõù|9»uÐå~Ç>}¾ßÝ~$ùéRØÛ¥Â±Å]Ê'åc<…ëÝNÊ7ÛOœÓ0ÝTÑù 5MÖÎ߱qÜk´¸$ŸëÈ¢mË ¹òš=o;m ›=3OdÎ!§ú ú,È5cN\œã,ǹP·ãÐc.çÂ,ë.ÏϽvÎì•ñ. ÇófŒô*Àƒ RÉQã9ß ˆS„ÂIuê(p!¢J¶¡öRÆ«Ÿô~¿ÕG9`làxÛ_²öùˆjg¡üÓ™Ñm~li‘Êôów>k¬¸xª£‡–øy–YkÌÇZ½z®6€2ï– 6 CÍüYåÚ±öß#öd?ðà^fLŸe®œ8\®ÄFÞ`Ẇ³Ä[öÕØÝyê_‰díåA ÿ…}Ûì÷7ùo¿/Ø»‚€A¦ÿ´Ûa…%©xÙe‚Èl›¶i…ô‹?üçɱ#;\y4¸»> ¯®Ye™Â©ÜPo’lÁ·òÇy%(c»E3É—Î'ã!îçäâO£ãp‘n—Ç6*VWKÔSÜr\¨ëêŸú¾ãùô¬8¼d§buÜ«¨=¬¿êß9Þ=‚~'ÿ•÷¸ · v€`ÿÿÓN’¥ißHÄ…‹Ó*Ê+çï‡6Æmv¨±îr^25øÄ±38Âvu墜Næ×94–Æ;,§¯jå4"¼d0éÁ½¡ižÖ­ù´®“Þá·Š»C'})FýÄQ?CjÊ[ãºGε铖r¿,SòË €„ÿÿµWBÚ¡rðâ› U4e|øi íÔœFÓ}s¹n‡7ÕMH_éª&…‹ë¯#²é#Us}VõÍ+Ьú´_´äW÷Ñuç5ÿ ݼÔÔú’¡Øý¶0Ö½Óþ}üGnÌÿÿµkCਓ‰]µŠ©öUKgFku¸ynŒÚ$ôåOÎÕá¥\%#u¾DŠî\í±'œIë%ÂJ‚pëX'†³w9Ž´7õu÷oswk¤¨xÝš‰Œ[½è÷Õê¥û%| {GÖ‰DUƒjuk8¾#9V‚úÿ«;µ9†@uèG3Ór ½úÒY:Õ1û”П[s ÉâPdœÍD ÓÝNK(ÎÚ¡NR÷Ö©0‚Ã&óEÒU“CÛ)‰U¿]]±’úݦ5Žnm žOZ»¨WÓZº·Þ©›h¾þ)€bHY [«åJL¡L(Ñ[ñàêv£«!”q™‹«õ‡«åƒÞ3@6‹P!F¨òDWOí./¡4±W8!ÛM_<áK;Ĥ\[!ãã‹/|-yrÜ€-ì±¥%R¾Ê››ð¹ŸpžÀ¥™F¯Øq¹‹Úi{È€ÜšÛ Cÿÿ¯{•áæ¡‚ ^¢©Û¢Wÿð«ÃQæ—‚(90q$'£m“ÔOû¹dE’‘Ø»…Ĥ:{ðÕºÓ½:¦NXawªbšãI‚ÜoZ›?!ÙâX¶®ˆM"¤í€ÞõŸÝe À}¹£Â0Tïi'¡”$MtÄ¿‰y/ Ÿ]n…`ޱ"››žTÝÁõݦDtŠîÝì¤'çãB}˜p• •¡#óÌÔÃÖè€H“·Á#©ÂBî_oµ6eì¨T4Ç>@¥E´Ÿ9ð\q‡”:„ÆÉÑÙ÷e @Žä‚ õÿOwjc;tÉSkÖJÁ—=|&¿˜Õ‡€ŒÚÉa…ÆØÅT±\Ë$ÁÁDyÃ<_¥ˆÜžÝÇ&2\ÞcRØ[O>x’Ô«oZ ]rÇu윮óq¦ â±qªÖ0ÆIYb¾bªyEJœúüšáoÈ1ƒ †þÿ_»JÓ·u¸$fÖvóê¿ö$3I²Ïì)a©}“Ò7µEç» u ®**s"ÊD>7@Ú„ÔùGíÕ;hOâì|G™â$ŽÈ÷®:qkG´ÖïöÓ½*¨HßµŠŒO‰Ø½³úQ÷êø»¶`ÇÊqA˜þÿÓN&¤iK™\dóBD)ÅWø €¹Ç3aHn¿IɘŒc%·²! "ÇÆŸ)= Í \]à+€îª36u×¶bÖ.ALî‘% ¦C+ñ}Êvß‹ûØjb‹K$ ¨§ºpÍä¾XŒÕ±ÛÿY=È€œ3ÖB¨ÿÿÕ®†ðàÚÅAÆ+¹+Â-½ùó´–t§®kª ˜œ?ñ8÷Ó¹N)Å+'=?í$(ªa3?J¶nÏZ^Hºž’¨ãئˆ”$µöSc!¸KhrQRÿ\_'“Ü_|áÓŒ•Þ×ôª¥Ï­#-][r­` ýÿ_?:<™ÎíÒ¡ÝŠ’ 37ºõß¾ „„ˆ‰ÂÏëPshu޶º0ŽÜV}(~ Ó¹uW2`œ¿=q‹j¯›Œmâ4Ýø ±6%÷ø¤Èî­: 1É{ÒƒïÇ@=†Ø01-4bZØ2/)ÝWr3 L/:ŸPKT@Nw™Ð©ŸŸB…)µÂ&†¯Uˆ^yâj\`s¾Š WEGŠß LR[ìøäµæñ\~ÇØMèzÐÜP^*60"[÷ €ûrIèýO]ÛA}F4«Ð"ó“΋Ÿ$™KÝ7)$ÊtÂÉîÊÐ5(2Õ;õM¤Á¹b;AU씲Çó]C&÷«>ÆpyÇÈÔ·“¼uˆqËôÔq]1¼îSu6vë˜Ne¯ÊN†µïÖ`õ ¶äœ1 ÿÿk'AÂ%Á.: ÚVl‰ƒ/ËL2ðfŽ6 •”·Iw êæjümÓäobH tÚó†Ú¸´=QLc/]d •Ñ6ðU)ùKj“€ãÌ£[íUª¡VÓ‰l¸u4»ïêgªÚÔ_«:_“‹lB¾jKrÌ€ùÿ«ÓZ# l·RRû ‡Áξt©±‹R]my±›Ê×*»ˆsrñL?E"÷?}ÒèKlôs´‘E*&uqC“ËÙ4bÞLi CCÜNÜ“ºw°åo…{ÆSd«r_ŸöiŠøúöœH¤õ,é_¸9ƒ€a¶ÿÿtO°8³-=ê-Âj0A'—|ñ—ÎnÙ´–o­Ÿ’Q=+SoeþÜó†Jñiÿ¤±g¤g„Ùè´ æ–{ŠkMŒêx^×=‡ã‡¨Ú^ 4ÈSoµ¡œt6¹nù3.ÑÔ¨óޤ.ý ¤™â™5X| ¿µKòË`„ÿÿu×7C—2F‘@Á1Ç—†Ÿ $} cK#o褙ö›€LÈóžQŸQa;ðÈ’A܈¿í mÖ'ª1QÜ4h2sªÅò§þ$ð œôþ3ÎÚ[À8ßc†Œõ—†àfÊvfšMÃóÖ|[Ü6¥ßÅ#9掃ÐûßÚµix€“ƒlm´?Á×_:TL­¼S Õ2Êd¿Á.\*b‰sœX¾ƒRt·~ïi5/Õ<É-ÓMjÍå ©°iß5‡ô8»$ÅÕæÑ¶¥|îÛØš G¡QjŽò')!£Â÷Žb¡“=èdÏ(£`Œ €²…? FÁ(£€Ž €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! €F üQ0 FÁ(! ùV0ÂØÿìÁ,Ë$i’âa—íâ¬X ê±_¯†½.·¹æ™Ã.bˆã>ŒÍði»k1ËËrâú³ïNE«Âo¶ç©´F'o·—˜ÃGµ~ƒVgÔÂâOx”^W÷åôŒªduuu2]>†±>«˜ÏÙÙª3-Óy›Œ›ib<¾6ìgß-wgŒ@Aÿÿj¹BËÎ&6°0ÆMP´s|ùÅá×”RÇWðß>ý'ê;S@”«Aû„‡ |ZSzÒNœš)Ž@u•ECuÖi é .ñWÍŽ ã.TÒtþ).#íQÇÌQ[›°‘(.á*j ±‚μ„¾ µ¤³ê8B‰‰¤wB‡ápÖŸýb&~i[òÎ €„¡÷¿µ-“IÂs‹mLå þù‰y ¬¬ê}±EÐ’e#@7wº[S«ôx¶¢˜|r¤}Û¿§õŽ™ûí,-*C;ÙÑsh|hÁnkM–õŒÍ—Vȧ•i9¤ºdúÛ|™ ÷Q>qãgqàæŒq Azÿ[ÿÕ4¥¯ãð ¡eá5Ã'Fn,F¢äÓâ,òÙDÃjØ€‡»¯BS #¦3õ­¶ ôS3N ¡S[bðÉ·#,NwŠC}®y¤ÆGSÝÔÜô?8‘nbþ;’Þqš¬ Ų'qþF>È9c€b†ÞÿÖ•g‚K‡ïV•Z“¸ôÅø›ªKM¦†ÎAt1`´wÖTSkÔ.Gz T{£*/$|QI­ÿFäi;Q_×W€f»twv“ìüunbé»ù"bÛ„B³ͼÃÕž„^KJø¿´Or­e„Õÿÿt§@Öt³K‡¼b5Êע׿tÞ;tœ]> \E»;A¥p1<ÝávsœÉqdÁä$µ8Gu—ÑV·Ò³D­ºçŽtŠUÕ *_`kÝ<%T :Ú¸Ì Y +.Œ ~åÛÛõnÑ@Ìq¬öͰ3|ßÊ€»+FAÿÿu«Ç ‚Ý5äœ0ضôú”d`µq†âf¸·"žˆB’.”x£QN‰H±$Tù’$çžc[˜ÂM×·”¡2®éÕ>çé¡ÃpKη›ë&3ƒ@^äRwÕ™½2·n“Ûðu ïÜqAzÿ[»â{E™ Aù´|õ‰yšÊö¦ìà¦A)Ið)—$O L†÷{ØÀ–±ðSàëqÉOàeïIÊðv!§ó¤vÕgÊÓêD9t£…¹«¡I­ëN [Š91"4©Ç¦³hdò;[[.)€ ½ÿ­[C̯‚6¹ *Tßøøj@]“™<Ùš ÏmZx6[ȩᦙÀœ °ŒÍâ5ì@¡UÎñ¶Æ 0­p(ß\ 8]ÿÛ»Õçü§Ä’å,‰r“k³µ·±wkó… È/ƒa†ýÿ×\«ÊaH\ÈmЉie^ò5ðí€ÒsƒŠ¹DAƒœ4­Ç\ÏœKñ´4½# MS»KTOÉôÝÙKi={ïÚÄbµ©¯)¡4›ýsÙìÿ˜Æ-”mv}rÖ6Þ¦âÔ˜<íÓ/t @~¤Â ÿÿº«ˆ:A‡vªÜ(}áðo`lcuÂHDl’Š’~š›BÍPwç”Ýžxnœ sÛÓ;'‘c<ÆPâÜš…ÛŠ“*'˜)¹¨Ýgú£ö“رp&.óÜÄcçØ1¥aÏU2nÿ{›ù_Ô€{+H„Aÿÿu§`ˆ:½tÈKV´¶å‚^~¼š-" ~Ç¿ýè8î¡Q¸ Ji·É„¤Û§ v6n^HJ#—õß¹›½)…˜Ø+¹p6ŠvM*†is'¶êÆÙ¯MPîÑG’jIE¾SÏiì¨uYâŸ|çӗ8oî8à ½ÿ©Û©Re=°d‰—Hù¢±ròãÕ×R¹–ó, -»d¤5´Göu¶y*Rª°U#SELgw$Sу1EÞ³U.ÿš {s#“ºÝøÕîjR¤}t¾åÜSÌß"!d¿‘ ü]ùÊâ(×]…WîÍ †¡÷¿µ“ Á×$ù`Áj#hÓtðWNíyRdm›éph­Ž”À“™ºâ6‰MÖ"M×ö»Byž%UòÓYbŸ”ZÔ¶ÏÝ)Ýë-Ž#sŤ¸)!ëžÔˆP]ñÕšÎJqO µ^S`ž´%€jãz†"&S R¡î).µØZkø* tsI-¼‰ú@£$ÃÁÌBojÅ“Rx’ÒÛÂð…1²Ð+\qF(Ýáj(à’#§!¦"D–ÃUáJ7¤Æ©€˜|I(âJØÌ!µÇ¬ŸF zo¼B¦alB5=¾V5.>63ˆmáÒœèÐ |]ktw[°j½ÁôRƒl.uÈþ!'ƒàËŒØh\ò0@¨‰.¯EGL/ gx›81ñˆl>® …X?cãS!QC ±½>>???@@@AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLLLMMMNNNOOOPPPQQQRRRSSSTTTUUUVVVWWWXXXYYYZZZ[[[\\\]]]^^^___```aaabbbcccdddeeefffggghhhiiijjjkkklllmmmnnnooopppqqqrrrssstttuuuvvvwwwxxxyyyzzz{{{|||}}}~~~ãã‚‚‚ƒƒƒ„„„………†††‡‡‡ˆˆˆ‰‰‰ŠŠŠ‹‹‹ŒŒŒŽŽŽ‘‘‘’’’“““”””•••–––———˜˜˜™™™ššš›››œœœžžžŸŸŸ   ¡¡¡¢¢¢£££¤¤¤¥¥¥¦¦¦ÿ¨¨¨ÿÿ=v{ÿ«««¬¬¬­­­®®®¯¯¯°°°±±±²²²³³³´´´µµµ¶¶¶···¸¸¸¹¹¹ººº»»»¼¼¼½½½¾¾¾¿¿¿¸ÂÙÁÁÁÂÂÂÃÃÃÄÄÄÅÅÅÆÆÆÇÇÇÈÈÈÉÉÉÊÊÊËËËÌÌÌÍÍÍÎÎÎÏÏÏÐÐÐÑÑÑÒÒÒÓÓÓÔÔÔÕÕÕÖÖÖ×××ØØØÙÙÙÚÚÚÛÛÛÜÜÜÝÝÝÞÞÞßßßàààáááâââãããäääåååæææçççèèèéééêêêëëëìììíííîîîïïïðððñññòòòóóóôôôõõõööö÷÷÷øøøùùùúúúûûûüüüýýýþþþÿÿÿ!ÿ NETSCAPE2.0è!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó¦H ‹þŠ2hJ§2rD)@*0£.µšª©O®[µvDÙ•@ª³Xsjjõé×¶lÅ6$æÙ«wÓÒ5¨”mW¯)»ÆÝ9- ½Í¢Í{ø,ÒEgúu8ìÎÇ Ó5|’®b¼‹Œ¼ô­S¯C£J%ˆx3è«|C¿f ™´ÐÛ¸Ic¨¹qhº»q}vmÛB—N­•êÀÏÐóþ-½8çª(U/g»ysêûÖ_þ9¼qáÙµã^?¸9yó³ßï‹>²döëí§¾|pÞó§_Mª6Ó~ÏÁ‡ÖÏ•‡vé(á„Þ„`‚.ä}õ W!*IøØ…¾õçІ£9gßNÀ´èâ‹ÀðÇúAÈškhq¨áƒ®8SŒ)ÁãŒ5ÚHg¡f>$JBÊH£L:×àƒmÜh:‰QIeŠô!I‘–6 $˜0JY$dH¢X‘™'u¹¦“mŠ©Ah긑š*…9åž|j’šB¾è昉aéÑ€x&Úbˆ„âÄåe1aJ„Yzi… véiŠš–J¢§¦¦:*©”©¸êA*=äÒ«°žª­´ç®¹ê𔕽ò,B¼k$±ÃKªO9Ūl}<ëWL%‹*QÉMËÖi¯.WÚ~H¡†šS•;R¸Âáçìvç‘®»Õ¶;îm_2xn~)Á.÷ïµÉåkn¼2zk0Áõê À.9,oÄ[.ºÏf¬ñÆwìñÇ#!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó&΃EE4eS™Fž„ª@ªTL}ZÅ 4©TƒI»bÍš’ëPª vèX¢(ÍúDËÀÕµj7)Ö©V«U©¨{×nªµ÷*ýÛ4ëYºóR{÷êáœ5Á*ʹ³âÁ ãµ,šh‚q ¶|PJ¨|…’]üx'ÊФsW¾Z÷êË_Sí¬•øÞ™­'[Ö}˜uä«[[Eì%ìØÄ_Où|9s¬ûÏ¥.PøðìÚasÇí½¹sƒ†ÛSW¹½¦ýú¼Æo8yèý’•gÞuhà`ë ´ŸwÔ%¤V€"h röY·]„ìÉ—Öƒ¨ñvÜNÀ„(âˆÀðÇÇ–àd”‘Ö`]&øáL%¦Db‰'¦\~ rуx™vڌԈÒ&¢x!†ÿAjµFd("™ã’6èãDP¾8%JU’˜¤Ž¨q¤E[¢V`‘`)æ•êÁ×eH_Úø¦’qÊy&[kÞx'™¥éQŠGú)"}y~åš`1Uh!…;)ZÞ„”NèNŽfê’¤šv*i„Ú÷éI+¤Ҩšñhꥄ¨–Š«¨Vk‡³Žêjª±*t뎵¶Ê¬›æ*+Od!UÜ_½’D–lÆvÕ§²5†`u]Ñ6”kØŽ4­µ²¡è-·M¡œ²Ôf—Ò·Žyfb²«’¸¢˜nWâJ5ï¹Ó¢æвµù•cøÂ$¯Kì~͵n›­° 7ìðÃG,±T!þ’This GIF file was assembled by CDavis with GIF Construction Set from: Alchemy Mindworks Inc. P.O. Box 500 Beeton, Ontario L0G 1A0 CANADA. !ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó¦H ‹þŠ2hJ§2rD)@*0£.µšª©O®[µvDÙ•@ª³Xsjjõé×¶lÅ6$æÙ«wÓÒ5¨”mW¯)»ÆÝ9- ½Í¢Í{ø,ÒEgúu8ìÎÇ Ó5|’®b¼‹Œ¼ô­S¯C£J%ˆx3è«|C¿f ™´ÐÛ¸Ic¨¹qhº»q}vmÛB—N­•êÀÏÐóþ-½8çª(U/g»ysêûÖ_þ9¼qáÙµã^?¸9yó³ßï‹>²döëí§¾|pÞó§_Mª6Ó~ÏÁ‡ÖÏ•‡vé(á„Þ„`‚.ä}õ W!*IøØ…¾õçІ£9gßNÀ´èâ‹ÀðÇúAÈškhq¨áƒ®8SŒ)ÁãŒ5ÚHg¡f>$JBÊH£L:×àƒmÜh:‰QIeŠô!I‘–6 $˜0JY$dH¢X‘™'u¹¦“mŠ©Ah긑š*…9åž|j’šB¾è昉aéÑ€x&Úbˆ„âÄåe1aJ„Yzi… véiŠš–J¢§¦¦:*©”©¸êA*=äÒ«°žª­´ç®¹ê𔕽ò,B¼k$±ÃKªO9Ūl}<ëWL%‹*QÉMËÖi¯.WÚ~H¡†šS•;R¸Âáçìvç‘®»Õ¶;îm_2xn~)Á.÷ïµÉåkn¼2zk0Áõê À.9,oÄ[.ºÏf¬ñÆwìñÇ#!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó&΃EE4eS™Fž„ª@ªTL}ZÅ 4©TƒI»bÍš’ëPª vèX¢(ÍúDËÀÕµj7)Ö©V«U©¨{×nªµ÷*ýÛ4ëYºóR{÷êáœ5Á*ʹ³âÁ ãµ,šh‚q ¶|PJ¨|…’]üx'ÊФsW¾Z÷êË_Sí¬•øÞ™­'[Ö}˜uä«[[Eì%ìØÄ_Où|9s¬ûÏ¥.PøðìÚasÇí½¹sƒ†ÛSW¹½¦ýú¼Æo8yèý’•gÞuhà`ë ´ŸwÔ%¤V€"h röY·]„ìÉ—Öƒ¨ñvÜNÀ„(âˆÀðÇÇ–àd”‘Ö`]&øáL%¦Db‰'¦\~ rуx™vڌԈÒ&¢x!†ÿAjµFd("™ã’6èãDP¾8%JU’˜¤Ž¨q¤E[¢V`‘`)æ•êÁ×eH_Úø¦’qÊy&[kÞx'™¥éQŠGú)"}y~åš`1Uh!…;)ZÞ„”NèNŽfê’¤šv*i„Ú÷éI+¤Ҩšñhꥄ¨–Š«¨Vk‡³Žêjª±*t뎵¶Ê¬›æ*+Od!UÜ_½’D–lÆvÕ§²5†`u]Ñ6”kØŽ4­µ²¡è-·M¡œ²Ôf—Ò·Žyfb²«’¸¢˜nWâJ5ï¹Ó¢æвµù•cøÂ$¯Kì~͵n›­° 7ìðÃG,±T!þThis space for rent...!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó¦H ‹þŠ2hJ§2rD)@*0£.µšª©O®[µvDÙ•@ª³Xsjjõé×¶lÅ6$æÙ«wÓÒ5¨”mW¯)»ÆÝ9- ½Í¢Í{ø,ÒEgúu8ìÎÇ Ó5|’®b¼‹Œ¼ô­S¯C£J%ˆx3è«|C¿f ™´ÐÛ¸Ic¨¹qhº»q}vmÛB—N­•êÀÏÐóþ-½8çª(U/g»ysêûÖ_þ9¼qáÙµã^?¸9yó³ßï‹>²döëí§¾|pÞó§_Mª6Ó~ÏÁ‡ÖÏ•‡vé(á„Þ„`‚.ä}õ W!*IøØ…¾õçІ£9gßNÀ´èâ‹ÀðÇúAÈškhq¨áƒ®8SŒ)ÁãŒ5ÚHg¡f>$JBÊH£L:×àƒmÜh:‰QIeŠô!I‘–6 $˜0JY$dH¢X‘™'u¹¦“mŠ©Ah긑š*…9åž|j’šB¾è昉aéÑ€x&Úbˆ„âÄåe1aJ„Yzi… véiŠš–J¢§¦¦:*©”©¸êA*=äÒ«°žª­´ç®¹ê𔕽ò,B¼k$±ÃKªO9Ūl}<ëWL%‹*QÉMËÖi¯.WÚ~H¡†šS•;R¸Âáçìvç‘®»Õ¶;îm_2xn~)Á.÷ïµÉåkn¼2zk0Áõê À.9,oÄ[.ºÏf¬ñÆwìñÇ#!ù €,L>ü H° Áƒ*\Ȱ¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²dA(Sª\Ér¥É…NjI“æÌ— cÊ JÏž@ƒöü©ó&΃EE4eS™Fž„ª@ªTL}ZÅ 4©TƒI»bÍš’ëPª vèX¢(ÍúDËÀÕµj7)Ö©V«U©¨{×nªµ÷*ýÛ4ëYºóR{÷êáœ5Á*ʹ³âÁ ãµ,šh‚q ¶|PJ¨|…’]üx'ÊФsW¾Z÷êË_Sí¬•øÞ™­'[Ö}˜uä«[[Eì%ìØÄ_Où|9s¬ûÏ¥.PøðìÚasÇí½¹sƒ†ÛSW¹½¦ýú¼Æo8yèý’•gÞuhà`ë ´ŸwÔ%¤V€"h röY·]„ìÉ—Öƒ¨ñvÜNÀ„(âˆÀðÇÇ–àd”‘Ö`]&øáL%¦Db‰'¦\~ rуx™vڌԈÒ&¢x!†ÿAjµFd("™ã’6èãDP¾8%JU’˜¤Ž¨q¤E[¢V`‘`)æ•êÁ×eH_Úø¦’qÊy&[kÞx'™¥éQŠGú)"}y~åš`1Uh!…;)ZÞ„”NèNŽfê’¤šv*i„Ú÷éI+¤Ҩšñhꥄ¨–Š«¨Vk‡³Žêjª±*t뎵¶Ê¬›æ*+Od!UÜ_½’D–lÆvÕ§²5†`u]Ñ6”kØŽ4­µ²¡è-·M¡œ²Ôf—Ò·Žyfb²«’¸¢˜nWâJ5ï¹Ó¢æвµù•cøÂ$¯Kì~͵n›­° 7ìðÃG,±T!þïThis GIF file was assembled with GIF Construction Set from: Alchemy Mindworks Inc. P.O. Box 500 Beeton, Ontario L0G 1A0 CANADA. This comment block will not appear in files created with a registered version of GIF Construction Set;gtk-sharp-2.12.10/sample/GtkDemo/images/apple-red.png0000644000175000001440000000673111131156730017136 00000000000000‰PNG  IHDR00Wù‡gAMA± üa IDATxœí™[Œ]WyÇk­½Ï9sóŒí8Á NìÜ)J„Ú„¶¢áÚ¨·Bª>p‰©E¤–¢ •¶‰WÉK« ÒR@è­«@›¤@Bq—‚S+¶ã8vÛ3ã™sÎÞk}—>œ3Á1¾Ä^ª|ÒÖž9ëöÿ¯ïûÖúïµàe{Ù^¶—ítvþy³—_æá¥Tz߇ß} „„¯ŸrçãÞ½ížc§ksëïÞð§M“?pï¿<üp+ÐÿE>ÑâÙ*ܾõÖ§ºúúÜêî W]³ví†Ëfgº½ôvwßûÖÛ>yºv!„›¿·ã'+³_ýŸdéL…·o½m]aûÄD•Ö­ŸÎóG»€¹‹7®îL¯ª«ù#ͯ¾êµ¿Òìü¯>tb»÷þÞW-,.ßñØã{>üä—Eà,ð§&§+Ö¬›hæ â /—–¤Ú³{^Ž>ß„Õçõzàñþ;Þû‰“ÞñàÃ?êÿüû/ ;p·o}ïƒU¦.¹tµ÷—KGŇ«f»Ë6¯)oš]ºäÒÙáE¯Z¼ä²91|î}~÷ö•¶ó ËW--7CàÏÏ4øÎíŸ ;·ö%åáéì”oßzÛ!òí g|a¾•é™NgnMoñàþåé˜,çVºK‹U!†ˆ@0“G¾|ç×¶¼nËæÚ±k5pÍJŸo»éºg&;Wˆ5B8tpaßoùû;[6:à×½ùOü\ œ2¹R wÍ®ér|¡•óΟ¨=Ó÷ÉéZ–—›ÜEBˆâ®|[ŒñaÕ²ÆÝþ,Æê­¿ÿ¡w~÷±û¿xà“½ù¶ VÕmäB)†F§h¡¬šá›ÿñcŽÝ·ó±ù¦üàÏüõÎíŸ}ê\IüŒþàn}G§Sef¶c"º´vÝÔªg÷ï/-þ3Æj"„ø`áówo»gprÛÛ>øŽAØúõ»¿qoÛäwÝò;7¬ª¹¥ŠO ̄ᰠ& ¬AÄXªA۰ضì8pìSî9pßÏMàßâªÙNwnmïØáƒƒja~¨n,‡v„?s÷¶{v}ôú7¼ñò¹ÙO„ÞÛêP ÷€v4!tñõ¯˜™ÜÒéTÔUMŒO¤Éh[(ê ‹0 š:²Ð4ôuÈ¢(­”íí;ú‘'Ÿyn÷9Øú©Û?SÕéc©bùèáጙõ!|'„øé/ýÍßÿø¦Í›7½çÒ+ÿ©Wu_Õ«œN¬H)‚£•‰DÄ^'ªj´FĪBÄ,h.è°%49³ Ãä ­0o…¥fH_ ô¹CóÍû¿ùøSÿv&/Ên¯zÏÂüàhÉ–ÜùtJÕ?ܽížç^¿qãÆÛ6]ñÝ^·»~ºÓ£î&º5³¤‰)†‹G©¨ˆÄ1¢¢!@©Š2Ä ¦ÄºÆÛ–z¢f² ¨rª©\饊6šìœ?7¹ý=¯¿òÃ_ùÞ“wžÕï¿ãÖ·§Š/”¬ùå;¿úw'WüÛ7ßüìyÓÓë'¦ºÌ^°ž¹›˜½æjò±c …ã»wÓz–€CDqbO1£H¡ä!Þ´ÈÀÐa f´î´æ›–c•±P26,dÁh¨RäЀ«¶ïصëŒ0Óh™O~ùίÞ{r¥/¾õ¦»VOM¬ŸìVlØòæ^}½Ù5ä…#„ey_\¤3Ѹ*1‚D7‰­*J­x§*4+DÐÆ¨ªÈ$‘¦Ä"½,õXä’Ùú^àêSxAJüpÇvýpÇž8¹ÂG®Ý×®Y½mº×eÝÆM¬Þ²…zr\ÉÇŽ1œ?LÞÿ ž êN£Éˆqû© X4L IŽzÁ‹!u$Dw¬¨á!P¢!¦X(3J€””⺫~ýÊÅÇw>ýðÉøÎ*æ®;oõç;Ý f®ØLթѦO{è ±ÛAž?ŒMt˜zåèU„:áÁñz47"ƒ’qsHÁÐNDSÀªˆ‡@Ý8Éœn5A7¢‚¡5eÐÏ<¾3øÐ®¿aª—¶têHš`â ÀÜ_ v:,î~‚ J¯;I±–’‡`†U"”* †af˜#æPpÄ wÇD0¬UÕÁSÀ«š˜"Vkaêð`ó9¸zõìÇT‘º5³—^W/…8–žÝOgn‰l‚?ŽÇÆÈ¦P2â ¥àÑQsÌÇå8ž‰;‘–Aܦ TÑÀ"â‚J9%Æ3êô^]ývÝ« )àÓ”¥%°@Û_¢®júBŒxɘ9w'ˆŽfÔTð(ê„0 ªˆº¡-/lp˜aðèˆAìAi¡#äaE¬N­0NKàm7]·©êE’;¡ªétzØ`@~ï$Zɘ`x°¡D‘Ê^1CQŠÌƱoNÉÝ„@Ápu,‚†@¨z¼%º¡j÷S‹ÖÓ¸6ÍÝÔÑ:ઔ¶EÍkñ¾â®àŠÕ©)¨e¢  š"ÇÜа` ®h ¨ š"ä–íT ÍžñFP¡v,GbrJ>5ÎÓèZÀS TP'4QuÜï÷Gñl†«b*-¨+1€8˜ʨ>L UÇ£",*¹±V1,EŠƒ,ä ˆ*Æà‚U;Ή@é&D„ ©"ËÇÑ™š&}a5\ )²"Jò‚F0U°Œ3 s°h Б‡BÄ+¬isaØ©ãè’§+ îœù Ãþ‹ªJ)-M™:&ÚàXɸ‚ "ÁÁŒày4âãd-£ÝÖTr‘•ðD@µ¢#§È°(Þq†ƒ@ªàþ­Sá<ãçܶw½Å§«ŠéÙULÍÌЛYE*J.™D ‰BŒ#À%Cdb¦`# jŠ™0#ÁqZUT)†h¦¡¯…¥¥}7kCPK ÿüý§VŸ“fÿZaoI¹Š@ÓPB iAŠ€ Ö©Á#Á”Ñ  ÁF‚Î Q£¨¢>JdŽPÌ1I‰áPÉ"XTlXæ‘E"iªûµÓa<ãF¶oyð…F §Ð¶}ƒã ó¾´˜g$ª‘ŒHF­àAQW\‚‘%SPpCU ¡ ªä±bQÚ2¤Í-ÍPXj %D OXÁpm÷®Óa<ë‰ÀÞý[‡¦{ êºK/E꺦rÃB¤[9FEŠ©¢2Ág¤ñÕT(>"ÕZ@<£hsaÐŽÂgyÙhC¡ÑL_)Ž ±ŠLMt¿ùîºùtøÎzbö|Ö[{ùvÌÆ0FÔ•*A"E" 'U(ÁG3.¨ƒE–‘lPSZsD %;Ù¡µB¿1¬rch•Ð&3Ô„%$çàDõ9F‘b§ÂwÆ“9€ï<±gϯ¾ìµ¸^aÅPuç€áØX£dœ¢ &dW²Y5CÇIšK!k _œR2m$*¦F ‘,B«…¶iI) 1=zßýO~ è2ÒÇD^Ðg%pÑk.þþª6¼3¤0-È”¡‘Q¡ ¢BGQr0úº‘-­*c…ZAÛ*mCiZ¡´ó€³‡vÙ;ä`˜dòÎH=é ³æÁÎÇö»øúK¾1³TÞ•ºiÚMG ±â¢d7Ä MiQ-´Ái‡™¶("…Á Ý€Ì’9Z”"­&•Ì À°1({ž[ûž]ؼ¸ è+‚¢Ë+º+lÎHâѽ‹›/»ð‰nˆoR·©Ò m„6R bN«ÎòÀö[Z)ô‡™Ö•A¥%¯¬< " 13´€ 2¸ptPرëЉQ2\1þûyFGõÏ­NŽ]r¦±tw<ùÌÂÞ#‹ÏoZ»ê7S7¤vüQ"RȪ´­ÐäB.™Ö„ÖœR mŒL©æŠV¦F6§˜Ñ´‚hFUYÌÂýí?yü0ÆØgt`|8°B 7.6®ÿ3‹ÍÏ{;ydb v˜“XsØ<´2N8á·ö0ÃqY?óŒfza\ï´!þºÞ9¡züTŒr¥;þ¿ðÓÍÒO9ÖÞèø7ƒŒc‚2~Ÿieü…8]¿‘Ÿ†Ñ‰blEËœ ç|µôÿÆþ\އÂÁ—IEND®B`‚gtk-sharp-2.12.10/sample/GtkDemo/images/gnome-gmush.png0000644000175000001440000000625411131156730017513 00000000000000‰PNG  IHDR00Wù‡gAMA† 1è–_ cIDATxÚí˜[Œ$×YǧNUß{î{õŽ×qŒlb³K¸¯"„1RŒ2QL B âÍ‘xˆKHŒŠà„<8h­„`@‰ÀÂö‚/+lÇ»k{–ÝÙÞ¹ôLwOwuuÕ9U禪U Þ Á ¹¥£ª­©­úÿ¿ïÿ}ßÿ|ðûà÷ÁïÿõO¼/}àáO Ä­Ñh(.]X}îò[W;ÿ§ <öç_^qƜȄX‰ÂÑò02#Lš¡cÅ•+kÿzñìkŸÚèô®\ï³ýïèGÿäw}Ïñ?’³Ç“åp2Á&´N1iFÍ÷¹uùvœµÄñä¾è®Iuvr§;\{ß |å鯭4ëÍÓ‰ŠQ©ÆXƒµ¦dÖK½Rg¶5‹ÖŠV½–£íC‹¿¾ÓþÊûFàϾñ—'Ïø‚C¬L’˜ÌXpŽz½ïWðœGŽÉ¬a0걺&ð=ŸîÎÖY*íÆççš_ô£Kÿ+ý‹ÇŽ¼ç¾“ó­™cì‰Ì˜åI‘(…µ‹c¶9Ë\{k-ã¹)vGCâ$áÍÞÛh­Ù ‡8Ö8Kó_ô£_þ®xåÍWWgæW„'t–-§©"Ñ <çyDKf-&K1YF"ÆŒµøRø{¯BÙŒXÅ€ÂÚƒÿãzãò…æ–¾à oE› c-išbL†6ƒCzRJÖY `¬a4M Œ'!›;Û8OJZÍ6Õ Æh<&Mõ¡¥#s÷ïlì~û¦ œ»üæ±cŽ>.„XÉL†³vïÎb¬Ù+Ng0Æ¢2E–eh‚³8kq´I‰z]T–2Gd6Åó%"È@ÒnµY>| ‰`§ßãóoÌF¿ÀÍXë^=vxþÀóÆšek-Σ·½Ej @f22k±ÖâU|Æaóƒ™s¤Ö <‡Ò÷ñ«5d¢ñ$´Z-ª~@µRcŽFáÏÞ´„Ž,:½¹¹¾üû¿÷Û¼üâ|ßGzÂóðr¹T‚€f³IµZ!|: ç8pð ¹9Æã1·Üùa°¤ž@Jüß—x•+6]æ[³ =Ó¦Ñj>püÀOn_Þþ§÷" ßíb¬’c¾”ö3?Ï›Îíukñ¤O!¨ÂDQ„ÔkuffZlnl±´¸Àîλ½> ÕRiΟy‰¥ Êb« ÒŒÔ¦h“2 GlûŒÂ½Ñ.Ãh„­x÷†Wûü^¼wM‹”Ç„Œ†‚ ¤ï£µ" C¢(Bk š&;;=¶º]œu4š ÖÖ®T*¤:Å“q“fKss´dWºw>?vÛÜ}t™Z­Æ$‰ÙnÓ°RàÕ*?xð£·ýá {!kíÚoþƯ-?ÿܳ{ò‘r¯ËàH…NSßGú’v³I¥Ra8 ŸÌ ~ø¾“ôû#&qL’$øR²¸0ÃÖÆeŽÝr”Üs7Æ¢hÂ$NXö¹°»Å¥Íu”V$J¡µ&Ý®ÿêúWrX._ïMÀ9·ÒÝÚ<ýÙÏ|ß—~€çK)ž‡5–8I˜Lb²,¥Z­Òn·¸ç#ʼn¥iš’$ J©éò}É÷ÝyœÞ`€1†jµÂìÌ ó sÔ*úqÈ·Îýom¬¡RÖ)v{ôÃsÝö‘p°×/øoHœþöß?½ò[~qÊÖX‡µ!RJjÕ*‰RÄqÂOúiA)Åd2A)E’$ÄyŠcµZÁs çÀ9GµZáà%æçX\œgqaŽšðåoþëý.ÎºŽ½<øøøò “·Åñ=í´sît·»µòØ—åâÅ·ñ¥Dú>Rz{ã„D)>tû|üÔŒÇc´ÖDQDE$IB†ŒÇã) ¥Öjl–rôÈ!.-Òh68rè ³³mæææh6ê„:æOŸùþáõ³¸Ì|=|öß?—ƒŸ®kÚ8çV€ÓßøÛ¯óôÓGŽkY–‘$ ¿øK¿Šs‚$I¦ ƒiš2 DQD†(¥Ÿ­ÎAµ0;3ÃÑ#‡8~|™ã·Þ²Gfn–±ŽùüýÝÑ€tµww|±ßLNÀ\“•B<éœ[þÄÏüÜã?~ê+Ïýó?òâ Ïqþ;¯Ñh6xàÁO²¼|| \)…”ß÷‰¢ˆ,ËÇT*¤”cPJ!„G«UG @ÀöNŸI†!Î:”Ò>rC ‹tÃ]¼ƒ­q±ÿÕBÍ€»f3'„蟎G'~à‡~äñï½÷ûOîôº¬wÖ¸cùêõúôÞJ¥B–eH)B0™Lð}ÏóBàœCks‚ápÄÒâFƒ…ùY¸uùfÚmêÏ_ø¯]^!°“t¨ºÇu»ÑÙÖÌàG/®¯­4š­Gî¸ëî“K9”RT*¬µ8çBÐn·§×…!¦·Ö²´´H·»E0Dx<RzD™â¯Ÿ}ž¯½ô,BxX~+~uãË2¬µ¥cò}ƒ™ê˜õœÀ¯U°Â/°dÂôîäÕxkøRº1º˜ë½‘ƒV@µD¿)iš>’eÙd!0 i·Ûh­QJM H)ó°WI§FfëIo§ZGÉnÔÉ&js€µ\*•x-'áçFôÆk ÛížHÓôdš¦$Švéû>išRÎŽ1fZE'2ÆzkôÜ ×Ó9Ph-'PX“ϸ,þíÝàÇ0Okýéb–IL&“½è&É;ˆÙ|7Wœ‹½Ý 9ØÂÔrÉÔóUË£_Ïåm€w#àÏó©$I S Zkâ8ž- Öú$œsÓVëûþ‘ü™2[/HÒ)d$J8®ë«Ä<àgY¶ìyÃáF£A–eÄqŒÖ)åt¹>Œ1SÅ— çÜ<Ð.Ùd›iZ’OZ’_rÑ™#àÏœ9³R´È 9çHÓ”4Mñ}cÌÔJGQôŽVÉ[l4K`MI&|^”êB»¢ˆÀx<ö‹èJ)§¦M›|Puš¦Óm©sn:äòá¦öi¾ú. Ý»ì],`½ë_è4Ã0(¢]¯×ÙÜÜDkM†Xk™L&ÄqÌp8¤ÓéLk¢N^J©/]º•4îçEêçïû:Q±Šì¸É€|衇¾Yg¥R¡×ëÑï÷§rŠã˜ÑhÄÅ‹i·ÛÓùPH¨°qoïÓvP~Oa™óÐùÑäç×ìFž€¿»»ûª”ò^¥Íf“ííí©ßBÐétò=4h­±ÖNmv~ßî[o½µYÚÚ}Eœ•fÃþ•]oþ‘W^yå‰bÒV*¶··I’„(Šèv»¬­­Q¯×ÑZ¿£zžÇ`0¸töìÙs9˜8_ •Î‹ë ˜ä×t©C “׼Т_$•gžyfýþûï¿KJy[–e¬®®N-ÃÕ«WqÎÑh4ÞÑN{½^çõ×_£Óélç ’‰$çD&ÀØÍ­Å(?Nò¥-¯·…–ЬòÔSO™ŸŸïµZ­CµZmáüùó„aH–e4 ºÝîúÕ«W¯¼üò˯¯®®n(¥Æ¥ £\”ƒåÇaiKà‹ÿ›ŠkÌ€WD¾4-›À 0 ,³§NúX†Uç\õÅ_\Ëﯔ²XL¶¤e]’GqŒJ„ÂÒå׈kÌ@ÑŠq^x“VNb.?oæ«^j²”Å2h“Ÿg¥ÂTù=q~-*Iª,«$¿÷š&qÑ!Dþoߥ†Ê^-/£ây*–˺¨-e@åçª$¹"òE¯yOìö “´Ê–¢8É£”\£·¯Mš}ÒÙŸ³Ï²JJà³!PHÿ B*zg@–<++|~’_/À‹Ò+öÝŸ–†—¹î[ïRв4=½}5â—À{eßRÒº.]7¥³ßâ›R´m)Źû $Ý’vÚIEND®B`‚gtk-sharp-2.12.10/sample/GtkDemo/images/gnome-applets.png0000644000175000001440000000602211131156730020031 00000000000000‰PNG  IHDR00Wù‡gAMA± üabKGDÿÿÿ ½§“ pHYs``zxEtIMEÐ (–ªŠ IDATxÚíšYŒ×u†¿Ú«»§»g㢤9Ò–dk¡MÑ–I¦@Ó’F² 'P q^b=Fâ ûI6ò”<YÀÉk Iˆ Ã@LÙ¢hQ#ÒÒˆÔˆξw³»ºö5}‹(·‡Ãe˜<)à  =·«þÿžÿœ{î¹#qs—$L.ÜK…¿gK ÷·ü’v\&¬H aùý-'r#äpU˜V¸W csÀ1,'“þoÈg])€6„é˽‘Ï~ „@Ðc±°[â õ: (à&PÌOÝsp÷3_:z|dxèpÉ4È’4'±á:NàØöZ³eM¯®o¾}ú½÷ߘ]XYïóÅ3ãB|üy@.€Ï—Ÿ|ìsû¿ö•§¿yûÞ½_“$‰,ËH’˜(Š ‚ß÷ñ<ϱ±]ÛvX[ßøÉÙ>úÑGç/nÁÉN(×9ó&P*/ÿ»üüÄñíÞ=r¿a–0Œº®£ëŠª **²,!!‘IR–B–¡ªò§†û_쯹³ +baGRR¶/dS*ÿ·?ø«{ïýÄ·+}5Õ,•)•ʦ‰n¨ª†ªj]ðR7² Ò4%Mb’$%NRUS¥/ì®Ì.¬¾ÙCâ–È¥£ç³ÿwóò÷ÆÆö}£Tî£T*S®”)•K覉a訪Š,É¿$’4!‰câ8!Šc’8¤‡ëåÅ•Í;%¡l3ûj>û?øþwÿäÀ»ÿ¼\©R*•)U*”ÊeÌRÃ4Q5EQd².ø$é‚•ð}Ÿ(މã˜8ŽˆÂˆLÊ•Kzk}³}¦^o˜„| ÚÓÇž¿{ß_꺎¦i¦iš˜å åJõŠ™å ¦ib˜š¦Ñ¯‚”¡êЬ )2²¬¢¨ ²,S)›ß®Ò°t+üNö9vôñoišnÊ²Š¢¨hš†¦F Ã,Q*WɃYӻ໱Ð/Ë Š,Q®T”î½$uM–es°¿ï;B¦ê6x®›@±Lкdp°ÿÅî edYñ)Ë2ªªc–úPUýÊwH2ùxI’d Y’»™ª\'Nº*‘$©û2Yz±RÖïr½a/ÈÛ¥Ï'}x"K3²,#ËR²,ƒ,íf–4%ŽC|Ï&ŽÃ+ß!Æåã³4#ÍR$Ecy­I(Wøpz«ã`Ù®RíÓ¿*2Ý {AÞ¦XS«ÕÊ#išt2‰ºEDa@x¾‡çv| ðˆÂ€(êŽKÓ˜$‰IÓ„4MI’Çqyá…xüèqÖ7/Ó±]TM£R.?ôÝŒämô¯jŠüÉ8ê®°QÔøÝ•Öw\§sÅ|×Á÷}¿K" C¢(&ŽºÙÈj5Ñ4z—^z‰;Flj☡¡a\Ï¿è/xAÚ‰®H“dO…A@„¾‹ï{xŽƒëØ¸¶…ݱpm ×±ñß÷|·;>£( ˜››g}}3gÞ£^ïgâ¹ç¨Vð\›,Í€ r£IÝ®úŒ¢Ðô=ïÊ +Ë]¾išE!ªª‘×B¹¼ßÅs=<ÏízÊó‚ÇõHâÿxí ‡wqäÈþú‡/£ëŠ¢*À° X¢àK®g]Ø.`$ÏóƒÀï‚Y_ßä¿Nüš8ΰ;mÛ¢cµéXÝOǶÄ÷Žcã:.žçŠø高øžËüü¿9u’0 ˜xî9ÒTUM€A &d¤]o0÷z ¸äâÜRóàø¾Û$I¢i9œýà<©¤òÈáдnž¿V5êx>—–™_fßþýì“eNœøtާŽ=Í/~þSJ†‰¨ uDµ*]Ë ÊUÖ(ùìCǧ/ÌÜÖ±]‚žxž³gÏ"e]ï¦iJŠ rñ|×qXZ\âÌÔ4—æ?È“?J…LNž& <×feeOßÿ‹ óÆek h 9b3tM]Í)Üq×þÿð…?:ôãþfæù³ïaee…ŸýçëŒÞ¹—O#IRV×6(—L.·ÚX–EÛ² ‚ñxæÙϳ²4χS°´¼€m;ŒŽÞN¬,^âÈçá×_KóŠW”í†À]kû©l³SSSkjæýÙ‰çYZ^å GŸâ¶½{ù‡ü'—ÛL›Æó|6M66[ôUk<ðÀƒ<úØcÿÒãÝSorñâǬo¬awl‚0$cöìÆ45ÖÖ79vü™ìäÉ“«À²ðBGr|-[y ßGËíÍÏOÿ¼Ùl›úxÅÅÆÇ0>>Îî]CܵŒGŽf×®aÂÀ'Í2,Ëbò·y·cÑhlà!žïá{>A!I…ƒÃÃ8V‹™ù¥ö=÷=X6Mó“¾ï¿½Å{Û8Ø*f9 xÿüÅWJ%ýI×q´Öåˬ­®ò¹‡?ÿþäÒ4¦ÝXãö=à I,ÌÏ’¥)aF1AAÅ1iS2M¢8¥¿V#ô¼ìÜôìlËþ÷êÄÄľW_}õN`¦ÐénvC“×C†ï‡Š¥¾ŠyŸë‡È²ÂÚê çΟ'=š–ÕÂî´ñ=? ñÿʪì!q#Ë2%䯯J¥ÆÐàozw}yus©Ùl^[[[«†aø« äëÙR–›­N§Z1ïlµÛ{² &'ß%ŠBÈRü Ä45â$&ŠÅ¬ûq% ’$¡© }• õZZµŠ¦›\º4c>{þ`˲fFFF5‹ÀA (lvnzSo}Í–mÉÄw¾szrÀ¶;¨ªBÿAà¡k*ª"“$ i’"+2Šª ©*¦aP¯Õì¯Ó_¯£éKË«ö/ßšœÎÁ–ã8‹Õju¤Õj'F!³›%{¡T;¶çÊ%IÒUU¦Z­aª*ÓW)£ë:•rÓ0é«”©×ê R«V©Öjhºž½õö鿩ɩ1Ã9ÐnµZoO¿>.´^n(ˆ‹íÁHôpZÀ°FÉFûòm»‡²f£Q¾{l CM쯡j*º¦#ÉJwK©t72ïœy?üÍäÔ\ÇvÛâ™¶ ‘›'´ÿ ðmàõë©…¶# öÐVå,ˆ¦gç C3TEÙsï½uM×ÕáÁ!YQU)#ËÚm+_Üˆææ—Üóæ?%! ¯@ ÓCÀ^>üðãkõ¤ëÈR†(u÷cÀ3À—óâ¥e‘·Õž¼]lðÊÀA¡í¬“ë_x¸)nˆ¢î/€o+Ûuï”›hîZÀQ`Q¼,ï<¸ùlúiŒO®ôŸ›U c‹g“7y³A|52ð”7]èB‡Ð9p¯ ™@xqª ›bç–ÇÆo?ÞÏÞÞÝÚ§Eý~ªp·Ò{ ¸ÂÖ‚tc Řð€5à.àaàÍ[A€‚¾ëÀ}À/ eÇÕäfç bà\„ŠæŠßGÀYàëÀÏÄDí˜@®Å6ð$ðÓ-<ÐE/´E,¼·Eäà=ñ¬<VDâ8q³Å//™¥¯.Ù‹!¾â¦<+d£M`·ÈPV˜³ø<}þðCÑv±wêbÉ}H¤¾ÙB&*za+9Bÿ{€zÀçõ4zó³µQàâ­$Pr8ÓC 7zeÔ^š)|çÀoÕ©ž à²{Ãê‹üü Èy Õ·XÔ~o£$š¹Qá·aáðïjmöÓ¢õÒØ "˜E‘êÜÂB¦b xvœõÄÂP‹ZÔsž|µEkSØŽ%”_‰XòóüÝ{.^å˜52* @ñNÁwBhŸÈJiOýÓ{È]´Xd¡ìZåò­8'ÞîZ† ®O º—¶YG2AdÇÝ;õ@ÔîÑzo—o«þøÿëÿÄõßÄÖAýkåIEND®B`‚gtk-sharp-2.12.10/sample/GtkDemo/DemoTreeStore.cs0000644000175000001440000002626711131156730016370 00000000000000/* Tree View/Tree Store * * The Gtk.TreeStore is used to store data in tree form, to be * used later on by a Gtk.TreeView to display it. This demo builds * a simple Gtk.TreeStore and displays it. If you're new to the * Gtk.TreeView widgets and associates, look into the Gtk.ListStore * example first. */ using System; using System.Collections; using Gtk; using GLib; namespace GtkDemo { [Demo ("TreeStore", "DemoTreeStore.cs", "Tree View")] public class DemoTreeStore : Gtk.Window { private TreeStore store; public DemoTreeStore () : base ("Card planning sheet") { VBox vbox = new VBox (false, 8); vbox.BorderWidth = 8; Add (vbox); vbox.PackStart (new Label ("Jonathan's Holiday Card Planning Sheet"), false, false, 0); ScrolledWindow sw = new ScrolledWindow (); sw.ShadowType = ShadowType.EtchedIn; sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (sw, true, true, 0); // create model CreateModel (); // create tree view TreeView treeView = new TreeView (store); treeView.RulesHint = true; treeView.Selection.Mode = SelectionMode.Multiple; AddColumns (treeView); sw.Add (treeView); // expand all rows after the treeview widget has been realized treeView.Realized += new EventHandler (ExpandRows); SetDefaultSize (650, 400); ShowAll (); } private void ExpandRows (object obj, EventArgs args) { TreeView treeView = obj as TreeView; treeView.ExpandAll (); } ArrayList columns = new ArrayList (); private void ItemToggled (object sender, ToggledArgs args) { int column = columns.IndexOf (sender); Gtk.TreeIter iter; if (store.GetIterFromString (out iter, args.Path)) { bool val = (bool) store.GetValue (iter, column); store.SetValue (iter, column, !val); } } private void AddColumns (TreeView treeView) { CellRendererText text; CellRendererToggle toggle; // column for holiday names text = new CellRendererText (); text.Xalign = 0.0f; columns.Add (text); TreeViewColumn column = new TreeViewColumn ("Holiday", text, "text", Column.HolidayName); treeView.InsertColumn (column, (int) Column.HolidayName); // alex column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Alex", toggle, "active", (int) Column.Alex, "visible", (int) Column.Visible, "activatable", (int) Column.World); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; treeView.InsertColumn (column, (int) Column.Alex); // havoc column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Havoc", toggle, "active", (int) Column.Havoc, "visible", (int) Column.Visible); treeView.InsertColumn (column, (int) Column.Havoc); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; // tim column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Tim", toggle, "active", (int) Column.Tim, "visible", (int) Column.Visible, "activatable", (int) Column.World); treeView.InsertColumn (column, (int) Column.Tim); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; // owen column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Owen", toggle, "active", (int) Column.Owen, "visible", (int) Column.Visible); treeView.InsertColumn (column, (int) Column.Owen); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; // dave column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Dave", toggle, "active", (int) Column.Dave, "visible", (int) Column.Visible); treeView.InsertColumn (column, (int) Column.Dave); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void CreateModel () { // create tree store store = new TreeStore (typeof (string), typeof (bool), typeof (bool), typeof (bool), typeof (bool), typeof (bool), typeof (bool), typeof (bool)); // add data to the tree store foreach (MyTreeItem month in toplevel) { TreeIter iter = store.AppendValues (month.Label, false, false, false, false, false, false, false); foreach (MyTreeItem holiday in month.Children) { store.AppendValues (iter, holiday.Label, holiday.Alex, holiday.Havoc, holiday.Tim, holiday.Owen, holiday.Dave, true, holiday.WorldHoliday); } } } // tree data private static MyTreeItem[] january = { new MyTreeItem ("New Years Day", true, true, true, true, false, true, null ), new MyTreeItem ("Presidential Inauguration", false, true, false, true, false, false, null ), new MyTreeItem ("Martin Luther King Jr. day", false, true, false, true, false, false, null ) }; private static MyTreeItem[] february = { new MyTreeItem ( "Presidents' Day", false, true, false, true, false, false, null ), new MyTreeItem ( "Groundhog Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Valentine's Day", false, false, false, false, true, true, null ) }; private static MyTreeItem[] march = { new MyTreeItem ( "National Tree Planting Day", false, false, false, false, false, false, null ), new MyTreeItem ( "St Patrick's Day", false, false, false, false, false, true, null ) }; private static MyTreeItem[] april = { new MyTreeItem ( "April Fools' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Army Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Earth Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Administrative Professionals' Day", false, false, false, false, false, false, null ) }; private static MyTreeItem[] may = { new MyTreeItem ( "Nurses' Day", false, false, false, false, false, false, null ), new MyTreeItem ( "National Day of Prayer", false, false, false, false, false, false, null ), new MyTreeItem ( "Mothers' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Armed Forces Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Memorial Day", true, true, true, true, false, true, null ) }; private static MyTreeItem[] june = { new MyTreeItem ( "June Fathers' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Juneteenth (Liberation of Slaves)", false, false, false, false, false, false, null ), new MyTreeItem ( "Flag Day", false, true, false, true, false, false, null ) }; private static MyTreeItem[] july = { new MyTreeItem ( "Parents' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Independence Day", false, true, false, true, false, false, null ) }; private static MyTreeItem[] august = { new MyTreeItem ( "Air Force Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Coast Guard Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Friendship Day", false, false, false, false, false, false, null ) }; private static MyTreeItem[] september = { new MyTreeItem ( "Grandparents' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Citizenship Day or Constitution Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Labor Day", true, true, true, true, false, true, null ) }; private static MyTreeItem[] october = { new MyTreeItem ( "National Children's Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Bosses' Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Sweetest Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Mother-in-Law's Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Navy Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Columbus Day", false, true, false, true, false, false, null ), new MyTreeItem ( "Halloween", false, false, false, false, false, true, null ) }; private static MyTreeItem[] november = { new MyTreeItem ( "Marine Corps Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Veterans' Day", true, true, true, true, false, true, null ), new MyTreeItem ( "Thanksgiving", false, true, false, true, false, false, null ) }; private static MyTreeItem[] december = { new MyTreeItem ( "Pearl Harbor Remembrance Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Christmas", true, true, true, true, false, true, null ), new MyTreeItem ( "Kwanzaa", false, false, false, false, false, false, null ) }; private static MyTreeItem[] toplevel = { new MyTreeItem ("January", false, false, false, false, false, false, january), new MyTreeItem ("February", false, false, false, false, false, false, february), new MyTreeItem ("March", false, false, false, false, false, false, march), new MyTreeItem ("April", false, false, false, false, false, false, april), new MyTreeItem ("May", false, false, false, false, false, false, may), new MyTreeItem ("June", false, false, false, false, false, false, june), new MyTreeItem ("July", false, false, false, false, false, false, july), new MyTreeItem ("August", false, false, false, false, false, false, august), new MyTreeItem ("September", false, false, false, false, false, false, september), new MyTreeItem ("October", false, false, false, false, false, false, october), new MyTreeItem ("November", false, false, false, false, false, false, november), new MyTreeItem ("December", false, false, false, false, false, false, december) }; // TreeItem structure public class MyTreeItem { public string Label; public bool Alex, Havoc, Tim, Owen, Dave; public bool WorldHoliday; // shared by the European hackers public MyTreeItem[] Children; public MyTreeItem (string label, bool alex, bool havoc, bool tim, bool owen, bool dave, bool worldHoliday, MyTreeItem[] children) { Label = label; Alex = alex; Havoc = havoc; Tim = tim; Owen = owen; Dave = dave; WorldHoliday = worldHoliday; Children = children; } } // columns public enum Column { HolidayName, Alex, Havoc, Tim, Owen, Dave, Visible, World, } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoMain.cs0000644000175000001440000001521211131156730015324 00000000000000using System; using System.Collections; using System.IO; using System.Reflection; using Gdk; using Gtk; using Pango; namespace GtkDemo { public class DemoMain { private Gtk.Window window; private TextBuffer infoBuffer = new TextBuffer (null); private TextBuffer sourceBuffer = new TextBuffer (null); private TreeView treeView; private TreeStore store; private TreeIter oldSelection = TreeIter.Zero; public static void Main (string[] args) { Application.Init (); new DemoMain (); Application.Run (); } public DemoMain () { SetupDefaultIcon (); window = new Gtk.Window ("Gtk# Code Demos"); window.SetDefaultSize (600, 400); window.DeleteEvent += new DeleteEventHandler (WindowDelete); HBox hbox = new HBox (false, 0); window.Add (hbox); treeView = CreateTree (); hbox.PackStart (treeView, false, false, 0); Notebook notebook = new Notebook (); hbox.PackStart (notebook, true, true, 0); notebook.AppendPage (CreateText (infoBuffer, false), new Label ("_Info")); TextTag heading = new TextTag ("heading"); heading.Font = "Sans 18"; infoBuffer.TagTable.Add (heading); notebook.AppendPage (CreateText (sourceBuffer, true), new Label ("_Source")); window.ShowAll (); } private void LoadFile (string filename) { Stream file = Assembly.GetExecutingAssembly ().GetManifestResourceStream (filename); if (file != null) { LoadStream (file); } else if (File.Exists (filename)) { file = File.OpenRead (filename); LoadStream (file); } else { infoBuffer.Text = String.Format ("{0} was not found.", filename); sourceBuffer.Text = String.Empty; } Fontify (); } private enum LoadState { Title, Info, SkipWhitespace, Body }; private void LoadStream (Stream file) { StreamReader sr = new StreamReader (file); LoadState state = LoadState.Title; bool inPara = false; infoBuffer.Text = ""; sourceBuffer.Text = ""; TextIter infoIter = infoBuffer.EndIter; TextIter sourceIter = sourceBuffer.EndIter; // mostly broken comment parsing for splitting // out the special comments to display in the infobuffer string line, trimmed; while (sr.Peek () != -1) { line = sr.ReadLine (); trimmed = line.Trim (); switch (state) { case LoadState.Title: if (trimmed.StartsWith ("/* ")) { infoBuffer.InsertWithTagsByName (ref infoIter, trimmed.Substring (3), "heading"); state = LoadState.Info; } break; case LoadState.Info: if (trimmed == "*") { infoBuffer.Insert (ref infoIter, "\n"); inPara = false; } else if (trimmed.StartsWith ("* ")) { if (inPara) infoBuffer.Insert (ref infoIter, " "); infoBuffer.Insert (ref infoIter, trimmed.Substring (2)); inPara = true; } else if (trimmed.StartsWith ("*/")) state = LoadState.SkipWhitespace; break; case LoadState.SkipWhitespace: if (trimmed != "") { state = LoadState.Body; goto case LoadState.Body; } break; case LoadState.Body: sourceBuffer.Insert (ref sourceIter, line + "\n"); break; } } sr.Close (); file.Close (); } // this is to highlight the sourceBuffer private void Fontify () { } private void SetupDefaultIcon () { Gdk.Pixbuf pixbuf = Gdk.Pixbuf.LoadFromResource ("gtk-logo-rgb.gif"); if (pixbuf != null) { // The gtk-logo-rgb icon has a white background // make it transparent instead Pixbuf transparent = pixbuf.AddAlpha (true, 0xff, 0xff, 0xff); Gtk.Window.DefaultIconList = new Gdk.Pixbuf [] { transparent }; } } private TreeView CreateTree () { TreeView view = new TreeView (); view.Model = FillTree (); CellRendererText cr = new CellRendererText (); TreeViewColumn column = new TreeViewColumn ("Widget (double click for demo)", cr, "text", 0); column.AddAttribute (cr, "style" , 2); view.AppendColumn (column); view.Selection.Changed += new EventHandler (TreeChanged); view.RowActivated += new RowActivatedHandler (RowActivated); view.ExpandAll (); view.SetSizeRequest (200, -1); view.Selection.Mode = Gtk.SelectionMode.Browse; return view; } private ScrolledWindow CreateText (TextBuffer buffer, bool IsSource) { ScrolledWindow scrolledWindow = new ScrolledWindow (); scrolledWindow.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); scrolledWindow.ShadowType = ShadowType.In; TextView textView = new TextView (buffer); textView.Editable = false; textView.CursorVisible = false; scrolledWindow.Add (textView); if (IsSource) { FontDescription fontDescription = FontDescription.FromString ("Courier 12"); textView.ModifyFont (fontDescription); textView.WrapMode = Gtk.WrapMode.None; } else { // Make it a bit nicer for text textView.WrapMode = Gtk.WrapMode.Word; textView.PixelsAboveLines = 2; textView.PixelsBelowLines = 2; } return scrolledWindow; } private TreeStore FillTree () { // title, filename, italic store = new TreeStore (typeof (string), typeof (System.Type), typeof (bool)); Hashtable parents = new Hashtable (); TreeIter parent; Type[] types = Assembly.GetExecutingAssembly ().GetTypes (); foreach (Type t in types) { object[] att = t.GetCustomAttributes (typeof (DemoAttribute), false); foreach (DemoAttribute demo in att) { if (demo.Parent != null) { if (!parents.Contains (demo.Parent)) parents.Add (demo.Parent, store.AppendValues (demo.Parent)); parent = (TreeIter) parents[demo.Parent]; store.AppendValues (parent, demo.Label, t, false); } else { store.AppendValues (demo.Label, t, false); } } } store.SetSortColumnId (0, SortType.Ascending); return store; } private void TreeChanged (object o, EventArgs args) { TreeIter iter; TreeModel model; if (treeView.Selection.GetSelected (out model, out iter)) { Type type = (Type) model.GetValue (iter, 1); if (type != null) { object[] atts = type.GetCustomAttributes (typeof (DemoAttribute), false); string file = ((DemoAttribute) atts[0]).Filename; LoadFile (file); } model.SetValue (iter, 2, true); if (!oldSelection.Equals (TreeIter.Zero)) model.SetValue (oldSelection, 2, false); oldSelection = iter; } } private void RowActivated (object o, RowActivatedArgs args) { TreeIter iter; if (treeView.Model.GetIter (out iter, args.Path)) { Type type = (Type) treeView.Model.GetValue (iter, 1); if (type != null) Activator.CreateInstance (type); } } private void WindowDelete (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoColorSelection.cs0000644000175000001440000000461111131156730017365 00000000000000/* Color Selector * * GtkColorSelection lets the user choose a color. GtkColorSelectionDialog is * a prebuilt dialog containing a GtkColorSelection. * */ using System; using Gdk; using Gtk; namespace GtkDemo { [Demo ("Color Selection", "DemoColorSelection.cs")] public class DemoColorSelection : Gtk.Window { private Gdk.Color color; private Gtk.DrawingArea drawingArea; public DemoColorSelection () : base ("Color Selection") { BorderWidth = 8; VBox vbox = new VBox (false,8); vbox.BorderWidth = 8; Add (vbox); // Create the color swatch area Frame frame = new Frame (); frame.ShadowType = ShadowType.In; vbox.PackStart (frame, true, true, 0); drawingArea = new DrawingArea (); drawingArea.ExposeEvent += new ExposeEventHandler (ExposeEventCallback); // set a minimum size drawingArea.SetSizeRequest (200,200); // set the color color = new Gdk.Color (0, 0, 0xff); drawingArea.ModifyBg (StateType.Normal, color); frame.Add (drawingArea); Alignment alignment = new Alignment (1.0f, 0.5f, 0.0f, 0.0f); Button button = new Button ("_Change the above color"); button.Clicked += new EventHandler (ChangeColorCallback); alignment.Add (button); vbox.PackStart (alignment); ShowAll (); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } // Expose callback for the drawing area private void ExposeEventCallback (object o, ExposeEventArgs args) { EventExpose eventExpose = args.Event; Gdk.Window window = eventExpose.Window; Rectangle area = eventExpose.Area; window.DrawRectangle (drawingArea.Style.BackgroundGC (StateType.Normal), true, area.X, area.Y, area.Width, area.Height); args.RetVal = true; } private void ChangeColorCallback (object o, EventArgs args) { using (ColorSelectionDialog colorSelectionDialog = new ColorSelectionDialog ("Changing color")) { colorSelectionDialog.TransientFor = this; colorSelectionDialog.ColorSelection.PreviousColor = color; colorSelectionDialog.ColorSelection.CurrentColor = color; colorSelectionDialog.ColorSelection.HasPalette = true; if (colorSelectionDialog.Run () == (int) ResponseType.Ok) { Gdk.Color selected = colorSelectionDialog.ColorSelection.CurrentColor; drawingArea.ModifyBg (StateType.Normal, selected); } colorSelectionDialog.Hide (); } } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoMenus.cs0000644000175000001440000000574511131156730015541 00000000000000/* Menus * * There are several widgets involved in displaying menus. The MenuBar * widget is a horizontal menu bar, which normally appears at the top * of an application. The Menu widget is the actual menu that pops up. * Both MenuBar and Menu are subclasses of MenuShell; a MenuShell * contains menu items (MenuItem). Each menu item contains text and/or * images and can be selected by the user. * * There are several kinds of menu item, including plain MenuItem, * CheckMenuItem which can be checked/unchecked, RadioMenuItem which * is a check menu item that's in a mutually exclusive group, * SeparatorMenuItem which is a separator bar, TearoffMenuItem which * allows a Menu to be torn off, and ImageMenuItem which can place a * Image or other widget next to the menu text. * * A MenuItem can have a submenu, which is simply a Menu to pop up * when the menu item is selected. Typically, all menu items in a menu * bar have submenus. * * UIManager provides a higher-level interface for creating menu bars * and menus; while you can construct menus manually, most people * don't do that. There's a separate demo for UIManager. * */ using System; using Gtk; namespace GtkDemo { [Demo ("Menus", "DemoMenus.cs")] public class DemoMenus : Gtk.Window { public DemoMenus () : base ("Menus") { AccelGroup accel_group = new AccelGroup (); AddAccelGroup (accel_group); VBox box1 = new VBox (false, 0); Add (box1); MenuBar menubar = new MenuBar (); box1.PackStart (menubar, false, true, 0); MenuItem menuitem = new MenuItem ("test\nline2"); menuitem.Submenu = CreateMenu (2, true); menubar.Append (menuitem); MenuItem menuitem1 = new MenuItem ("foo"); menuitem1.Submenu = CreateMenu (3, true); menubar.Append (menuitem1); menuitem = new MenuItem ("bar"); menuitem.Submenu = CreateMenu (4, true); menuitem.RightJustified = true; menubar.Append (menuitem); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button close = new Button ("close"); close.Clicked += new EventHandler (CloseClicked); box2.PackStart (close, true, true, 0); close.CanDefault = true; close.GrabDefault (); ShowAll (); } private Menu CreateMenu (int depth, bool tearoff) { if (depth < 1) return null; Menu menu = new Menu (); GLib.SList group = new GLib.SList (IntPtr.Zero); if (tearoff) { TearoffMenuItem menuitem = new TearoffMenuItem (); menu.Append (menuitem); } for (int i = 0, j = 1; i < 5; i++, j++) { RadioMenuItem menuitem = new RadioMenuItem (group, String.Format ("item {0} - {1}", depth, j)); group = menuitem.Group; menu.Append (menuitem); if (i == 3) menuitem.Sensitive = false; menuitem.Submenu = CreateMenu ((depth - 1), true); } return menu; } private void CloseClicked (object o, EventArgs args) { Destroy (); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoApplicationWindow.cs0000644000175000001440000001561111131156730020076 00000000000000/* Application main window * * Demonstrates a typical application window, with menubar, toolbar, statusbar. */ using System; using Gtk; namespace GtkDemo { [Demo ("Application Window", "DemoApplicationWindow.cs")] public class DemoApplicationWindow : Window { Statusbar statusbar; VBox vbox; static DemoApplicationWindow () { // Register our custom toolbar icons, for themability Gdk.Pixbuf pixbuf = Gdk.Pixbuf.LoadFromResource ("gtk-logo-rgb.gif"); Gdk.Pixbuf transparent = pixbuf.AddAlpha (true, 0xff, 0xff, 0xff); IconFactory factory = new IconFactory (); factory.Add ("demo-gtk-logo", new IconSet (transparent)); factory.AddDefault (); StockManager.Add (new StockItem ("demo-gtk-logo", "_GTK#", 0, 0, null)); } const string uiInfo = "" + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + ""; public DemoApplicationWindow () : base ("Application Window") { SetDefaultSize (200, 200); vbox = new VBox (false, 0); Add (vbox); AddActions (); statusbar = new Statusbar (); UpdateStatus (); vbox.PackEnd (statusbar, false, false, 0); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); sw.ShadowType = ShadowType.In; vbox.PackEnd (sw, true, true, 0); TextView textview = new TextView (); textview.Buffer.MarkSet += new MarkSetHandler (MarkSet); sw.Add (textview); textview.GrabFocus (); ShowAll (); } enum Color { Red, Green, Blue } enum Shape { Square, Rectangle, Oval } void AddActions () { ActionEntry[] actions = new ActionEntry[] { new ActionEntry ("FileMenu", null, "_File", null, null, null), new ActionEntry ("PreferencesMenu", null, "_Preferences", null, null, null), new ActionEntry ("ColorMenu", null, "_Color", null, null, null), new ActionEntry ("ShapeMenu", null, "_Shape", null, null, null), new ActionEntry ("HelpMenu", null, "_Help", null, null, null), new ActionEntry ("New", Stock.New, "_New", "N", "Create a new file", new EventHandler (ActionActivated)), new ActionEntry ("Open", Stock.Open, "_Open", "O", "Open a file", new EventHandler (ActionActivated)), new ActionEntry ("Save", Stock.Save, "_Save", "S", "Save current file", new EventHandler (ActionActivated)), new ActionEntry ("SaveAs", Stock.SaveAs, "Save _As", null, "Save to a file", new EventHandler (ActionActivated)), new ActionEntry ("Quit", Stock.Quit, "_Quit", "Q", "Quit", new EventHandler (ActionActivated)), new ActionEntry ("About", null, "_About", "A", "About", new EventHandler (ActionActivated)), new ActionEntry ("Logo", "demo-gtk-logo", null, null, "Gtk#", new EventHandler (ActionActivated)) }; ToggleActionEntry[] toggleActions = new ToggleActionEntry[] { new ToggleActionEntry ("Bold", Stock.Bold, "_Bold", "B", "Bold", new EventHandler (ActionActivated), true) }; RadioActionEntry[] colorActions = new RadioActionEntry[] { new RadioActionEntry ("Red", null, "_Red", "R", "Blood", (int)Color.Red), new RadioActionEntry ("Green", null, "_Green", "G", "Grass", (int)Color.Green), new RadioActionEntry ("Blue", null, "_Blue", "B", "Sky", (int)Color.Blue) }; RadioActionEntry[] shapeActions = new RadioActionEntry[] { new RadioActionEntry ("Square", null, "_Square", "S", "Square", (int)Shape.Square), new RadioActionEntry ("Rectangle", null, "_Rectangle", "R", "Rectangle", (int)Shape.Rectangle), new RadioActionEntry ("Oval", null, "_Oval", "O", "Egg", (int)Shape.Oval) }; ActionGroup group = new ActionGroup ("AppWindowActions"); group.Add (actions); group.Add (toggleActions); group.Add (colorActions, (int)Color.Red, new ChangedHandler (RadioActionActivated)); group.Add (shapeActions, (int)Shape.Square, new ChangedHandler (RadioActionActivated)); UIManager uim = new UIManager (); uim.InsertActionGroup (group, 0); uim.AddWidget += new AddWidgetHandler (AddWidget); uim.AddUiFromString (uiInfo); AddAccelGroup (uim.AccelGroup); } private void ActionActivated (object sender, EventArgs a) { Gtk.Action action = sender as Gtk.Action; MessageDialog md; md = new MessageDialog (this, DialogFlags.DestroyWithParent, MessageType.Info, ButtonsType.Close, "You activated action: \"{0}\" of type \"{1}\"", action.Name, action.GetType ()); md.Run (); md.Destroy (); } private void RadioActionActivated (object sender, ChangedArgs args) { RadioAction action = args.Current; MessageDialog md; if (action.Active) { md = new MessageDialog (this, DialogFlags.DestroyWithParent, MessageType.Info, ButtonsType.Close, "You activated radio action: \"{0}\" of type \"{1}\".\nCurrent value: {2}", action.Name, action.GetType (), args.Current.Value); md.Run (); md.Destroy (); } } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } protected override bool OnWindowStateEvent (Gdk.EventWindowState evt) { if ((evt.ChangedMask & (Gdk.WindowState.Maximized | Gdk.WindowState.Fullscreen)) != 0) statusbar.HasResizeGrip = (evt.NewWindowState & (Gdk.WindowState.Maximized | Gdk.WindowState.Fullscreen)) == 0; return false; } const string fmt = "Cursor at row {0} column {1} - {2} chars in document"; int row, column, count = 0; void MarkSet (object o, MarkSetArgs args) { TextIter iter = args.Location; row = iter.Line + 1; column = iter.VisibleLineOffset; count = args.Mark.Buffer.CharCount; UpdateStatus (); } void UpdateStatus () { statusbar.Pop (0); statusbar.Push (0, String.Format (fmt, row, column, count)); } void AddWidget (object sender, AddWidgetArgs a) { a.Widget.Show (); vbox.PackStart (a.Widget, false, true, 0); } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoPixbuf.cs0000644000175000001440000001036011131156730015674 00000000000000/* Pixbufs * * A Pixbuf represents an image, normally in RGB or RGBA format. * Pixbufs are normally used to load files from disk and perform * image scaling. * * This demo is not all that educational, but looks cool. It was written * by Extreme Pixbuf Hacker Federico Mena Quintero. It also shows * off how to use DrawingArea to do a simple animation. * * Look at the Image demo for additional pixbuf usage examples. * */ using Gdk; using Gtk; using System; using System.Runtime.InteropServices; // for Marshal.Copy namespace GtkDemo { [Demo ("Pixbuf", "DemoPixbuf.cs")] public class DemoPixbuf : Gtk.Window { const int FrameDelay = 50; const int CycleLen = 60; const string BackgroundName = "background.jpg"; static string[] ImageNames = { "apple-red.png", "gnome-applets.png", "gnome-calendar.png", "gnome-foot.png", "gnome-gmush.png", "gnome-gimp.png", "gnome-gsame.png", "gnu-keys.png" }; // background image static Pixbuf background; static int backWidth, backHeight; // images static Pixbuf[] images; // current frame Pixbuf frame; int frameNum; // drawing area DrawingArea drawingArea; uint timeoutId; static DemoPixbuf () { // Load the images for the demo background = Gdk.Pixbuf.LoadFromResource (BackgroundName); backWidth = background.Width; backHeight = background.Height; images = new Pixbuf[ImageNames.Length]; int i = 0; foreach (string im in ImageNames) images[i++] = Gdk.Pixbuf.LoadFromResource (im); } // Expose callback for the drawing area void Expose (object o, ExposeEventArgs args) { Widget widget = (Widget) o; Gdk.Rectangle area = args.Event.Area; byte[] pixels; int rowstride; rowstride = frame.Rowstride; pixels = new byte[(frame.Height - area.Y) * rowstride]; IntPtr src = (IntPtr)(frame.Pixels.ToInt64 () + rowstride * area.Y + area.X * 3); Marshal.Copy (src, pixels, 0, pixels.Length); widget.GdkWindow.DrawRgbImageDithalign (widget.Style.BlackGC, area.X, area.Y, area.Width, area.Height, Gdk.RgbDither.Normal, pixels, rowstride, area.X, area.Y); args.RetVal = true; } // timeout handler to regenerate the frame bool timeout () { background.CopyArea (0, 0, backWidth, backHeight, frame, 0, 0); double f = (double) (frameNum % CycleLen) / CycleLen; int xmid = backWidth / 2; int ymid = backHeight / 2; double radius = Math.Min (xmid, ymid) / 2; for (int i = 0; i < images.Length; i++) { double ang = 2 * Math.PI * (double) i / images.Length - f * 2 * Math.PI; int iw = images[i].Width; int ih = images[i].Height; double r = radius + (radius / 3) * Math.Sin (f * 2 * Math.PI); int xpos = (int) Math.Floor (xmid + r * Math.Cos (ang) - iw / 2.0 + 0.5); int ypos = (int) Math.Floor (ymid + r * Math.Sin (ang) - ih / 2.0 + 0.5); double k = (i % 2 == 1) ? Math.Sin (f * 2 * Math.PI) : Math.Cos (f * 2 * Math.PI); k = 2 * k * k; k = Math.Max (0.25, k); Rectangle r1, r2, dest; r1 = new Rectangle (xpos, ypos, (int) (iw * k), (int) (ih * k)); r2 = new Rectangle (0, 0, backWidth, backHeight); dest = Rectangle.Intersect (r1, r2); if (!dest.IsEmpty) { images[i].Composite (frame, dest.X, dest.Y, dest.Width, dest.Height, xpos, ypos, k, k, InterpType.Nearest, (int) ((i % 2 == 1) ? Math.Max (127, Math.Abs (255 * Math.Sin (f * 2 * Math.PI))) : Math.Max (127, Math.Abs (255 * Math.Cos (f * 2 * Math.PI))))); } } drawingArea.QueueDraw (); frameNum++; return true; } public DemoPixbuf () : base ("Pixbufs") { Resizable = false; SetSizeRequest (backWidth, backHeight); frame = new Pixbuf (Colorspace.Rgb, false, 8, backWidth, backHeight); drawingArea = new DrawingArea (); drawingArea.ExposeEvent += new ExposeEventHandler (Expose); Add (drawingArea); timeoutId = GLib.Timeout.Add (FrameDelay, new GLib.TimeoutHandler(timeout)); ShowAll (); } protected override void OnDestroyed () { if (timeoutId != 0) { GLib.Source.Remove (timeoutId); timeoutId = 0; } } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoTextView.cs0000644000175000001440000004352011131156730016222 00000000000000/* Text Widget/Multiple Views * * The Gtk.TextView widget displays a Gtk.TextBuffer. One Gtk.TextBuffer * can be displayed by multiple Gtk.TextViews. This demo has two views * displaying a single buffer, and shows off the widget's text * formatting features. */ using System; using System.IO; using Gdk; using Gtk; namespace GtkDemo { [Demo ("Multiple Views", "DemoTextView.cs", "Text Widget")] public class DemoTextView : Gtk.Window { TextView view1; TextView view2; public DemoTextView () : base ("TextView") { SetDefaultSize (450,450); BorderWidth = 0; VPaned vpaned = new VPaned (); vpaned.BorderWidth = 5; Add (vpaned); // For convenience, we just use the autocreated buffer from // the first text view; you could also create the buffer // by itself, then later create a view widget. view1 = new TextView (); TextBuffer buffer = view1.Buffer; view2 = new TextView (buffer); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vpaned.Add1 (sw); sw.Add (view1); sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vpaned.Add2 (sw); sw.Add (view2); CreateTags (buffer); InsertText (buffer); AttachWidgets (view1); AttachWidgets (view2); ShowAll (); } private TextChildAnchor buttonAnchor; private TextChildAnchor menuAnchor; private TextChildAnchor scaleAnchor; private TextChildAnchor animationAnchor; private TextChildAnchor entryAnchor; private void AttachWidgets (TextView textView) { // This is really different from the C version, but the // C versions seems a little pointless. Button button = new Button ("Click Me"); button.Clicked += new EventHandler(EasterEggCB); textView.AddChildAtAnchor (button, buttonAnchor); button.ShowAll (); ComboBox combo = ComboBox.NewText (); combo.AppendText ("Option 1"); combo.AppendText ("Option 2"); combo.AppendText ("Option 3"); textView.AddChildAtAnchor (combo, menuAnchor); HScale scale = new HScale (null); scale.SetRange (0,100); scale.SetSizeRequest (70, -1); textView.AddChildAtAnchor (scale, scaleAnchor); scale.ShowAll (); Gtk.Image image = Gtk.Image.LoadFromResource ("floppybuddy.gif"); textView.AddChildAtAnchor (image, animationAnchor); image.ShowAll (); Entry entry = new Entry (); textView.AddChildAtAnchor (entry, entryAnchor); entry.ShowAll (); } const int gray50_width = 2; const int gray50_height = 2; const string gray50_bits = "\x02\x01"; private void CreateTags (TextBuffer buffer) { // Create a bunch of tags. Note that it's also possible to // create tags with gtk_text_tag_new() then add them to the // tag table for the buffer, gtk_text_buffer_create_tag() is // just a convenience function. Also note that you don't have // to give tags a name; pass NULL for the name to create an // anonymous tag. // // In any real app, another useful optimization would be to create // a GtkTextTagTable in advance, and reuse the same tag table for // all the buffers with the same tag set, instead of creating // new copies of the same tags for every buffer. // // Tags are assigned default priorities in order of addition to the // tag table. That is, tags created later that affect the same text // property affected by an earlier tag will override the earlier // tag. You can modify tag priorities with // gtk_text_tag_set_priority(). TextTag tag = new TextTag ("heading"); tag.Weight = Pango.Weight.Bold; tag.Size = (int) Pango.Scale.PangoScale * 15; buffer.TagTable.Add (tag); tag = new TextTag ("italic"); tag.Style = Pango.Style.Italic; buffer.TagTable.Add (tag); tag = new TextTag ("bold"); tag.Weight = Pango.Weight.Bold; buffer.TagTable.Add (tag); tag = new TextTag ("big"); tag.Size = (int) Pango.Scale.PangoScale * 20; buffer.TagTable.Add (tag); tag = new TextTag ("xx-small"); tag.Scale = Pango.Scale.XXSmall; buffer.TagTable.Add (tag); tag = new TextTag ("x-large"); tag.Scale = Pango.Scale.XLarge; buffer.TagTable.Add (tag); tag = new TextTag ("monospace"); tag.Family = "monospace"; buffer.TagTable.Add (tag); tag = new TextTag ("blue_foreground"); tag.Foreground = "blue"; buffer.TagTable.Add (tag); tag = new TextTag ("red_background"); tag.Background = "red"; buffer.TagTable.Add (tag); // The C gtk-demo passes NULL for the drawable param, which isn't // multi-head safe, so it seems bad to allow it in the C# API. // But the Window isn't realized at this point, so we can't get // an actual Drawable from it. So we kludge for now. Pixmap stipple = Pixmap.CreateBitmapFromData (Gdk.Screen.Default.RootWindow, gray50_bits, gray50_width, gray50_height); tag = new TextTag ("background_stipple"); tag.BackgroundStipple = stipple; buffer.TagTable.Add (tag); tag = new TextTag ("foreground_stipple"); tag.ForegroundStipple = stipple; buffer.TagTable.Add (tag); tag = new TextTag ("big_gap_before_line"); tag.PixelsAboveLines = 30; buffer.TagTable.Add (tag); tag = new TextTag ("big_gap_after_line"); tag.PixelsBelowLines = 30; buffer.TagTable.Add (tag); tag = new TextTag ("double_spaced_line"); tag.PixelsInsideWrap = 10; buffer.TagTable.Add (tag); tag = new TextTag ("not_editable"); tag.Editable = false; buffer.TagTable.Add (tag); tag = new TextTag ("word_wrap"); tag.WrapMode = WrapMode.Word; buffer.TagTable.Add (tag); tag = new TextTag ("char_wrap"); tag.WrapMode = WrapMode.Char; buffer.TagTable.Add (tag); tag = new TextTag ("no_wrap"); tag.WrapMode = WrapMode.None; buffer.TagTable.Add (tag); tag = new TextTag ("center"); tag.Justification = Justification.Center; buffer.TagTable.Add (tag); tag = new TextTag ("right_justify"); tag.Justification = Justification.Right; buffer.TagTable.Add (tag); tag = new TextTag ("wide_margins"); tag.LeftMargin = 50; tag.RightMargin = 50; buffer.TagTable.Add (tag); tag = new TextTag ("strikethrough"); tag.Strikethrough = true; buffer.TagTable.Add (tag); tag = new TextTag ("underline"); tag.Underline = Pango.Underline.Single; buffer.TagTable.Add (tag); tag = new TextTag ("double_underline"); tag.Underline = Pango.Underline.Double; buffer.TagTable.Add (tag); tag = new TextTag ("superscript"); tag.Rise = (int) Pango.Scale.PangoScale * 10; tag.Size = (int) Pango.Scale.PangoScale * 8; buffer.TagTable.Add (tag); tag = new TextTag ("subscript"); tag.Rise = (int) Pango.Scale.PangoScale * -10; tag.Size = (int) Pango.Scale.PangoScale * 8; buffer.TagTable.Add (tag); tag = new TextTag ("rtl_quote"); tag.WrapMode = WrapMode.Word; tag.Direction = TextDirection.Rtl; tag.Indent = 30; tag.LeftMargin = 20; tag.RightMargin = 20; buffer.TagTable.Add (tag); } private void InsertText (TextBuffer buffer) { Pixbuf pixbuf = Gdk.Pixbuf.LoadFromResource ("gtk-logo-rgb.gif"); pixbuf = pixbuf.ScaleSimple (32, 32, InterpType.Bilinear); // get start of buffer; each insertion will revalidate the // iterator to point to just after the inserted text. TextIter insertIter = buffer.StartIter; buffer.Insert (ref insertIter, "The text widget can display text with all kinds of nifty attributes. It also supports multiple views of the same buffer; this demo is showing the same buffer in two places.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Font styles. ", "heading"); buffer.Insert (ref insertIter, "For example, you can have "); buffer.InsertWithTagsByName (ref insertIter, "italic", "italic"); buffer.Insert (ref insertIter, ", "); buffer.InsertWithTagsByName (ref insertIter, "bold", "bold"); buffer.Insert (ref insertIter, ", or "); buffer.InsertWithTagsByName (ref insertIter, "monospace (typewriter)", "monospace"); buffer.Insert (ref insertIter, ", or "); buffer.InsertWithTagsByName (ref insertIter, "big", "big"); buffer.Insert (ref insertIter, " text. "); buffer.Insert (ref insertIter, "It's best not to hardcode specific text sizes; you can use relative sizes as with CSS, such as "); buffer.InsertWithTagsByName (ref insertIter, "xx-small", "xx-small"); buffer.Insert (ref insertIter, " or"); buffer.InsertWithTagsByName (ref insertIter, "x-large", "x-large"); buffer.Insert (ref insertIter, " to ensure that your program properly adapts if the user changes the default font size.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Colors. ", "heading"); buffer.Insert (ref insertIter, "Colors such as "); buffer.InsertWithTagsByName (ref insertIter, "a blue foreground", "blue_foreground"); buffer.Insert (ref insertIter, " or "); buffer.InsertWithTagsByName (ref insertIter, "a red background", "red_background"); buffer.Insert (ref insertIter, " or even "); buffer.InsertWithTagsByName (ref insertIter, "a stippled red background", "red_background", "background_stipple"); buffer.Insert (ref insertIter, " or "); buffer.InsertWithTagsByName (ref insertIter, "a stippled blue foreground on solid red background", "blue_foreground", "red_background", "foreground_stipple"); buffer.Insert (ref insertIter, " (select that to read it) can be used.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Underline, strikethrough, and rise. ", "heading"); buffer.InsertWithTagsByName (ref insertIter, "Strikethrough", "strikethrough"); buffer.Insert (ref insertIter, ", "); buffer.InsertWithTagsByName (ref insertIter, "underline", "underline"); buffer.Insert (ref insertIter, ", "); buffer.InsertWithTagsByName (ref insertIter, "double underline", "double_underline"); buffer.Insert (ref insertIter, ", "); buffer.InsertWithTagsByName (ref insertIter, "superscript", "superscript"); buffer.Insert (ref insertIter, ", and "); buffer.InsertWithTagsByName (ref insertIter, "subscript", "subscript"); buffer.Insert (ref insertIter, " are all supported.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Images. ", "heading"); buffer.Insert (ref insertIter, "The buffer can have images in it: "); buffer.InsertPixbuf (ref insertIter, pixbuf); buffer.InsertPixbuf (ref insertIter, pixbuf); buffer.InsertPixbuf (ref insertIter, pixbuf); buffer.Insert (ref insertIter, " for example.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Spacing. ", "heading"); buffer.Insert (ref insertIter, "You can adjust the amount of space before each line.\n"); buffer.InsertWithTagsByName (ref insertIter, "This line has a whole lot of space before it.\n", "big_gap_before_line", "wide_margins"); buffer.InsertWithTagsByName (ref insertIter, "You can also adjust the amount of space after each line; this line has a whole lot of space after it.\n", "big_gap_after_line", "wide_margins"); buffer.InsertWithTagsByName (ref insertIter, "You can also adjust the amount of space between wrapped lines; this line has extra space between each wrapped line in the same paragraph. To show off wrapping, some filler text: the quick brown fox jumped over the lazy dog. Blah blah blah blah blah blah blah blah blah.\n", "double_spaced_line", "wide_margins"); buffer.Insert (ref insertIter, "Also note that those lines have extra-wide margins.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Editability. ", "heading"); buffer.InsertWithTagsByName (ref insertIter, "This line is 'locked down' and can't be edited by the user - just try it! You can't delete this line.\n\n", "not_editable"); buffer.InsertWithTagsByName (ref insertIter, "Wrapping. ", "heading"); buffer.Insert (ref insertIter, "This line (and most of the others in this buffer) is word-wrapped, using the proper Unicode algorithm. Word wrap should work in all scripts and languages that GTK+ supports. Let's make this a long paragraph to demonstrate: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah\n\n"); buffer.InsertWithTagsByName (ref insertIter, "This line has character-based wrapping, and can wrap between any two character glyphs. Let's make this a long paragraph to demonstrate: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah\n\n", "char_wrap"); buffer.InsertWithTagsByName (ref insertIter, "This line has all wrapping turned off, so it makes the horizontal scrollbar appear.\n\n\n", "no_wrap"); buffer.InsertWithTagsByName (ref insertIter, "Justification. ", "heading"); buffer.InsertWithTagsByName (ref insertIter, "\nThis line has center justification.\n", "center"); buffer.InsertWithTagsByName (ref insertIter, "This line has right justification.\n", "right_justify"); buffer.InsertWithTagsByName (ref insertIter, "\nThis line has big wide margins. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.\n", "wide_margins"); buffer.InsertWithTagsByName (ref insertIter, "Internationalization. ", "heading"); buffer.Insert (ref insertIter, "You can put all sorts of Unicode text in the buffer.\n\nGerman (Deutsch S\u00fcd) Gr\u00fc\u00df Gott\nGreek (\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac) \u0393\u03b5\u03b9\u03ac \u03c3\u03b1\u03c2\nHebrew \u05e9\u05dc\u05d5\u05dd\nJapanese (\u65e5\u672c\u8a9e)\n\nThe widget properly handles bidirectional text, word wrapping, DOS/UNIX/Unicode paragraph separators, grapheme boundaries, and so on using the Pango internationalization framework.\n"); buffer.Insert (ref insertIter, "Here's a word-wrapped quote in a right-to-left language:\n"); buffer.InsertWithTagsByName (ref insertIter, "\u0648\u0642\u062f \u0628\u062f\u0623 \u062b\u0644\u0627\u062b \u0645\u0646 \u0623\u0643\u062b\u0631 \u0627\u0644\u0645\u0624\u0633\u0633\u0627\u062a \u062a\u0642\u062f\u0645\u0627 \u0641\u064a \u0634\u0628\u0643\u0629 \u0627\u0643\u0633\u064a\u0648\u0646 \u0628\u0631\u0627\u0645\u062c\u0647\u0627 \u0643\u0645\u0646\u0638\u0645\u0627\u062a \u0644\u0627 \u062a\u0633\u0639\u0649 \u0644\u0644\u0631\u0628\u062d\u060c \u062b\u0645 \u062a\u062d\u0648\u0644\u062a \u0641\u064a \u0627\u0644\u0633\u0646\u0648\u0627\u062a \u0627\u0644\u062e\u0645\u0633 \u0627\u0644\u0645\u0627\u0636\u064a\u0629 \u0625\u0644\u0649 \u0645\u0624\u0633\u0633\u0627\u062a \u0645\u0627\u0644\u064a\u0629 \u0645\u0646\u0638\u0645\u0629\u060c \u0648\u0628\u0627\u062a\u062a \u062c\u0632\u0621\u0627 \u0645\u0646 \u0627\u0644\u0646\u0638\u0627\u0645 \u0627\u0644\u0645\u0627\u0644\u064a \u0641\u064a \u0628\u0644\u062f\u0627\u0646\u0647\u0627\u060c \u0648\u0644\u0643\u0646\u0647\u0627 \u062a\u062a\u062e\u0635\u0635 \u0641\u064a \u062e\u062f\u0645\u0629 \u0642\u0637\u0627\u0639 \u0627\u0644\u0645\u0634\u0631\u0648\u0639\u0627\u062a \u0627\u0644\u0635\u063a\u064a\u0631\u0629\u002e \u0648\u0623\u062d\u062f \u0623\u0643\u062b\u0631 \u0647\u0630\u0647 \u0627\u0644\u0645\u0624\u0633\u0633\u0627\u062a \u0646\u062c\u0627\u062d\u0627 \u0647\u0648 \u00bb\u0628\u0627\u0646\u0643\u0648\u0633\u0648\u0644\u00ab \u0641\u064a \u0628\u0648\u0644\u064a\u0641\u064a\u0627.\n\n", "rtl_quote"); buffer.Insert (ref insertIter, "You can put widgets in the buffer: Here's a button: "); buttonAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, " and a menu: "); menuAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, " and a scale: "); scaleAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, " and an animation: "); animationAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, " finally a text entry: "); entryAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, ".\n"); buffer.Insert (ref insertIter, "\n\nThis demo doesn't demonstrate all the GtkTextBuffer features; it leaves out, for example: invisible/hidden text (doesn't work in GTK 2, but planned), tab stops, application-drawn areas on the sides of the widget for displaying breakpoints and such..."); buffer.ApplyTag ("word_wrap", buffer.StartIter, buffer.EndIter); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void RecursiveAttach (int depth, TextView view, TextChildAnchor anchor) { if (depth > 4) return; TextView childView = new TextView (view.Buffer); // Event box is to add a black border around each child view EventBox eventBox = new EventBox (); Gdk.Color color = new Gdk.Color (); Gdk.Color.Parse ("black", ref color); eventBox.ModifyBg (StateType.Normal, color); Alignment align = new Alignment (0.5f, 0.5f, 1.0f, 1.0f); align.BorderWidth = 1; eventBox.Add (align); align.Add (childView); view.AddChildAtAnchor (eventBox, anchor); RecursiveAttach (depth+1, childView, anchor); } private void EasterEggCB (object o, EventArgs args) { TextIter insertIter; TextBuffer buffer = new TextBuffer (null); insertIter = buffer.StartIter; buffer.Insert (ref insertIter, "This buffer is shared by a set of nested text views.\n Nested view:\n"); TextChildAnchor anchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, "\nDon't do this in real applications, please.\n"); TextView view = new TextView (buffer); RecursiveAttach (0, view, anchor); Gtk.Window window = new Gtk.Window (Gtk.WindowType.Toplevel); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); window.Add (sw); sw.Add (view); window.SetDefaultSize (300, 400); window.ShowAll (); } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoDialog.cs0000644000175000001440000000670011131156730015641 00000000000000/* Dialog and Message Boxes * * Dialog widgets are used to pop up a transient window for user feedback. */ using System; using Gtk; namespace GtkDemo { [Demo ("Dialog and Message Boxes", "DemoDialog.cs")] public class DemoDialog : Gtk.Window { private Entry entry1; private Entry entry2; public DemoDialog () : base ("Dialogs") { BorderWidth = 8; Frame frame = new Frame ("Dialogs"); Add (frame); VBox vbox = new VBox (false, 8); vbox.BorderWidth = 8; frame.Add (vbox); // Standard message dialog HBox hbox = new HBox (false,8); vbox.PackStart (hbox, false, false, 0); Button button = new Button ("_Message Dialog"); button.Clicked += new EventHandler (MessageDialogClicked); hbox.PackStart (button, false, false, 0); vbox.PackStart (new HSeparator(), false, false, 0); // Interactive dialog hbox = new HBox (false, 8); vbox.PackStart (hbox, false, false, 0); VBox vbox2 = new VBox (false, 0); button = new Button ("_Interactive Dialog"); button.Clicked += new EventHandler (InteractiveDialogClicked); hbox.PackStart (vbox2, false, false, 0); vbox2.PackStart (button, false, false, 0); Table table = new Table (2, 2, false); table.RowSpacing = 4; table.ColumnSpacing = 4; hbox.PackStart (table, false, false, 0); Label label = new Label ("_Entry1"); table.Attach (label, 0, 1, 0, 1); entry1 = new Entry (); table.Attach (entry1, 1, 2, 0, 1); label.MnemonicWidget = entry1; label = new Label ("E_ntry2"); table.Attach (label,0,1,1,2); entry2 = new Entry (); table.Attach (entry2, 1, 2, 1, 2); label.MnemonicWidget = entry2; ShowAll (); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private int i = 1; private void MessageDialogClicked (object o, EventArgs args) { using (Dialog dialog = new MessageDialog (this, DialogFlags.Modal | DialogFlags.DestroyWithParent, MessageType.Info, ButtonsType.Ok, "This message box has been popped up the following\nnumber of times:\n\n {0}", i)) { dialog.Run (); dialog.Hide (); } i++; } private void InteractiveDialogClicked (object o, EventArgs args) { Dialog dialog = new Dialog ("Interactive Dialog", this, DialogFlags.Modal | DialogFlags.DestroyWithParent, Gtk.Stock.Ok, ResponseType.Ok, "_Non-stock Button", ResponseType.Cancel); HBox hbox = new HBox (false, 8); hbox.BorderWidth = 8; dialog.VBox.PackStart (hbox, false, false, 0); Image stock = new Image (Stock.DialogQuestion, IconSize.Dialog); hbox.PackStart (stock, false, false, 0); Table table = new Table (2, 2, false); table.RowSpacing = 4; table.ColumnSpacing = 4; hbox.PackStart (table, true, true, 0); Label label = new Label ("_Entry1"); table.Attach (label, 0, 1, 0, 1); Entry localEntry1 = new Entry (); localEntry1.Text = entry1.Text; table.Attach (localEntry1, 1, 2, 0, 1); label.MnemonicWidget = localEntry1; label = new Label ("E_ntry2"); table.Attach (label, 0, 1, 1, 2); Entry localEntry2 = new Entry (); localEntry2.Text = entry2.Text; table.Attach (localEntry2, 1, 2, 1, 2); label.MnemonicWidget = localEntry2; hbox.ShowAll (); ResponseType response = (ResponseType) dialog.Run (); if (response == ResponseType.Ok) { entry1.Text = localEntry1.Text; entry2.Text = localEntry2.Text; } dialog.Destroy (); } } } gtk-sharp-2.12.10/sample/GtkDemo/README0000644000175000001440000000067711131156730014175 00000000000000This is a mostly complete port of gtk-demo to Gtk#; for notes on what's missing, see the TODO file. The original port was done by Daniel Kornhauser (dkor@alum.mit.edu), with additions/changes/fixes by various other people, as seen in the main gtk-sharp ChangeLog. For the most part, the various demos should stay as close as possible to the C version, so that GtkDemo.exe can be compared against gtk-demo to make sure Gtk# is working correctly. gtk-sharp-2.12.10/sample/GtkDemo/DemoClipboard.cs0000644000175000001440000000422311131156730016337 00000000000000/* Clipboard * * GtkClipboard is used for clipboard handling. This demo shows how to * copy and paste text to and from the clipboard. * * This is actually from gtk+ 2.6's gtk-demo, but doesn't use any 2.6 * functionality */ using System; using Gtk; namespace GtkDemo { [Demo ("Clipboard", "DemoClipboard.cs")] public class DemoClipboard : Gtk.Window { Entry pasteEntry, copyEntry; public DemoClipboard () : base ("Demo Clipboard") { VBox vbox = new VBox (); vbox.BorderWidth = 8; Label copyLabel = new Label ("\"Copy\" will copy the text\nin the entry to the clipboard"); vbox.PackStart (copyLabel, false, true, 0); vbox.PackStart (CreateCopyBox (), false, true, 0); Label pasteLabel = new Label ("\"Paste\" will paste the text from the clipboard to the entry"); vbox.PackStart (pasteLabel, false, false, 0); vbox.PackStart (CreatePasteBox (), false, false, 0); Add (vbox); ShowAll (); } HBox CreateCopyBox () { HBox hbox = new HBox (false, 4); hbox.BorderWidth = 8; copyEntry = new Entry (); Button copyButton = new Button (Stock.Copy); copyButton.Clicked += new EventHandler (CopyClicked); hbox.PackStart (copyEntry, true, true, 0); hbox.PackStart (copyButton, false, false, 0); return hbox; } HBox CreatePasteBox () { HBox hbox = new HBox (false, 4); hbox.BorderWidth = 8; pasteEntry = new Entry (); Button pasteButton = new Button (Stock.Paste); pasteButton.Clicked += new EventHandler (PasteClicked); hbox.PackStart (pasteEntry, true, true, 0); hbox.PackStart (pasteButton, false, false, 0); return hbox; } void CopyClicked (object obj, EventArgs args) { Clipboard clipboard = copyEntry.GetClipboard (Gdk.Selection.Clipboard); clipboard.Text = copyEntry.Text; } void PasteClicked (object obj, EventArgs args) { Clipboard clipboard = pasteEntry.GetClipboard (Gdk.Selection.Clipboard); clipboard.RequestText (new ClipboardTextReceivedFunc (PasteReceived)); } void PasteReceived (Clipboard clipboard, string text) { pasteEntry.Text = text; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoImages.cs0000644000175000001440000001155011131156730015646 00000000000000/* Images * * Gtk.Image is used to display an image; the image can be in a number of formats. * Typically, you load an image into a Gdk.Pixbuf, then display the pixbuf. * * This demo code shows some of the more obscure cases, in the simple * case a call to the constructor Gtk.Image (string filename) is all you need. * * If you want to put image data in your program compile it in as a resource. * This way you will not need to depend on loading external files, your * application binary can be self-contained. */ using System; using System.IO; using System.Reflection; using Gtk; using Gdk; namespace GtkDemo { [Demo ("Images", "DemoImages.cs")] public class DemoImages : Gtk.Window { private Gtk.Image progressiveImage; private VBox vbox; BinaryReader imageStream; public DemoImages () : base ("Images") { BorderWidth = 8; vbox = new VBox (false, 8); vbox.BorderWidth = 8; Add (vbox); Gtk.Label label = new Gtk.Label ("Image loaded from a file"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); Gtk.Frame frame = new Gtk.Frame (); frame.ShadowType = ShadowType.In; // The alignment keeps the frame from growing when users resize // the window Alignment alignment = new Alignment (0.5f, 0.5f, 0f, 0f); alignment.Add (frame); vbox.PackStart (alignment, false, false, 0); Gtk.Image image = Gtk.Image.LoadFromResource ("gtk-logo-rgb.gif"); frame.Add (image); // Animation label = new Gtk.Label ("Animation loaded from a file"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); frame = new Gtk.Frame (); frame.ShadowType = ShadowType.In; alignment = new Alignment (0.5f, 0.5f, 0f, 0f); alignment.Add (frame); vbox.PackStart (alignment, false, false, 0); image = Gtk.Image.LoadFromResource ("floppybuddy.gif"); frame.Add (image); // Progressive label = new Gtk.Label ("Progressive image loading"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); frame = new Gtk.Frame (); frame.ShadowType = ShadowType.In; alignment = new Alignment (0.5f, 0.5f, 0f, 0f); alignment.Add (frame); vbox.PackStart (alignment, false, false, 0); // Create an empty image for now; the progressive loader // will create the pixbuf and fill it in. progressiveImage = new Gtk.Image (); frame.Add (progressiveImage); StartProgressiveLoading (); // Sensitivity control Gtk.ToggleButton button = new Gtk.ToggleButton ("_Insensitive"); vbox.PackStart (button, false, false, 0); button.Toggled += new EventHandler (ToggleSensitivity); ShowAll (); } protected override void OnDestroyed () { if (timeout_id != 0) { GLib.Source.Remove (timeout_id); timeout_id = 0; } if (pixbufLoader != null) { pixbufLoader.Close (); pixbufLoader = null; } if (imageStream != null) { imageStream.Close (); imageStream = null; } } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void ToggleSensitivity (object o, EventArgs args) { ToggleButton toggle = o as ToggleButton; foreach (Widget widget in vbox) { // don't disable our toggle if (widget != toggle) widget.Sensitive = !toggle.Active; } } private uint timeout_id; private void StartProgressiveLoading () { // This is obviously totally contrived (we slow down loading // on purpose to show how incremental loading works). // The real purpose of incremental loading is the case where // you are reading data from a slow source such as the network. // The timeout simply simulates a slow data source by inserting // pauses in the reading process. timeout_id = GLib.Timeout.Add (150, new GLib.TimeoutHandler (ProgressiveTimeout)); } Gdk.PixbufLoader pixbufLoader; // TODO: Decide if we want to perform the same crazy error handling // gtk-demo does private bool ProgressiveTimeout () { if (imageStream == null) { Stream stream = Assembly.GetExecutingAssembly ().GetManifestResourceStream ("alphatest.png"); imageStream = new BinaryReader (stream); pixbufLoader = new Gdk.PixbufLoader (); pixbufLoader.AreaPrepared += new EventHandler (ProgressivePreparedCallback); pixbufLoader.AreaUpdated += new AreaUpdatedHandler (ProgressiveUpdatedCallback); } if (imageStream.PeekChar () != -1) { byte[] bytes = imageStream.ReadBytes (256); pixbufLoader.Write (bytes); return true; // leave the timeout active } else { imageStream.Close (); return false; // removes the timeout } } void ProgressivePreparedCallback (object obj, EventArgs args) { Gdk.Pixbuf pixbuf = pixbufLoader.Pixbuf; pixbuf.Fill (0xaaaaaaff); progressiveImage.FromPixbuf = pixbuf; } void ProgressiveUpdatedCallback (object obj, AreaUpdatedArgs args) { progressiveImage.QueueDraw (); } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoHyperText.cs0000644000175000001440000001464211131156730016402 00000000000000/* Text Widget/Hypertext * * Usually, tags modify the appearance of text in the view, e.g. making it * bold or colored or underlined. But tags are not restricted to appearance. * They can also affect the behavior of mouse and key presses, as this demo * shows. */ using System; using System.Collections; using Gtk; namespace GtkDemo { [Demo ("Hyper Text", "DemoHyperText.cs", "Text Widget")] public class DemoHyperText : Gtk.Window { bool hoveringOverLink = false; Gdk.Cursor handCursor, regularCursor; public DemoHyperText () : base ("HyperText") { handCursor = new Gdk.Cursor (Gdk.CursorType.Hand2); regularCursor = new Gdk.Cursor (Gdk.CursorType.Xterm); SetDefaultSize (450, 450); TextView view = new TextView (); view.WrapMode = WrapMode.Word; view.KeyPressEvent += new KeyPressEventHandler (KeyPress); view.WidgetEventAfter += new WidgetEventAfterHandler (EventAfter); view.MotionNotifyEvent += new MotionNotifyEventHandler (MotionNotify); view.VisibilityNotifyEvent += new VisibilityNotifyEventHandler (VisibilityNotify); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (Gtk.PolicyType.Automatic, Gtk.PolicyType.Automatic); Add (sw); sw.Add (view); ShowPage (view.Buffer, 1); ShowAll (); } Hashtable tag_pages = new Hashtable (); // Inserts a piece of text into the buffer, giving it the usual // appearance of a hyperlink in a web browser: blue and underlined. // Additionally, attaches some data on the tag, to make it recognizable // as a link. void InsertLink (TextBuffer buffer, ref TextIter iter, string text, int page) { TextTag tag = new TextTag (null); tag.Foreground = "blue"; tag.Underline = Pango.Underline.Single; tag_pages [tag] = page; buffer.TagTable.Add (tag); buffer.InsertWithTags (ref iter, text, tag); } // Fills the buffer with text and interspersed links. In any real // hypertext app, this method would parse a file to identify the links. void ShowPage (TextBuffer buffer, int page) { buffer.Text = ""; TextIter iter = buffer.StartIter; if (page == 1) { buffer.Insert (ref iter, "Some text to show that simple "); InsertLink (buffer, ref iter, "hypertext", 3); buffer.Insert (ref iter, " can easily be realized with "); InsertLink (buffer, ref iter, "tags", 2); buffer.Insert (ref iter, "."); } else if (page == 2) { buffer.Insert (ref iter, "A tag is an attribute that can be applied to some range of text. " + "For example, a tag might be called \"bold\" and make the text inside " + "the tag bold. However, the tag concept is more general than that; " + "tags don't have to affect appearance. They can instead affect the " + "behavior of mouse and key presses, \"lock\" a range of text so the " + "user can't edit it, or countless other things.\n"); InsertLink (buffer, ref iter, "Go back", 1); } else if (page == 3) { TextTag tag = buffer.TagTable.Lookup ("bold"); if (tag == null) { tag = new TextTag ("bold"); tag.Weight = Pango.Weight.Bold; buffer.TagTable.Add (tag); } buffer.InsertWithTags (ref iter, "hypertext:\n", tag); buffer.Insert (ref iter, "machine-readable text that is not sequential but is organized " + "so that related items of information are connected.\n"); InsertLink (buffer, ref iter, "Go back", 1); } } // Looks at all tags covering the position of iter in the text view, // and if one of them is a link, follow it by showing the page identified // by the data attached to it. void FollowIfLink (TextView view, TextIter iter) { foreach (TextTag tag in iter.Tags) { object page = tag_pages [tag]; if (page is int) ShowPage (view.Buffer, (int)page); } } // Looks at all tags covering the position (x, y) in the text view, // and if one of them is a link, change the cursor to the "hands" cursor // typically used by web browsers. void SetCursorIfAppropriate (TextView view, int x, int y) { bool hovering = false; TextIter iter = view.GetIterAtLocation (x, y); foreach (TextTag tag in iter.Tags) { if (tag_pages [tag] is int) { hovering = true; break; } } if (hovering != hoveringOverLink) { Gdk.Window window = view.GetWindow (Gtk.TextWindowType.Text); hoveringOverLink = hovering; if (hoveringOverLink) window.Cursor = handCursor; else window.Cursor = regularCursor; } } // Links can be activated by pressing Enter. void KeyPress (object sender, KeyPressEventArgs args) { TextView view = sender as TextView; switch ((Gdk.Key) args.Event.KeyValue) { case Gdk.Key.Return: case Gdk.Key.KP_Enter: TextIter iter = view.Buffer.GetIterAtMark (view.Buffer.InsertMark); FollowIfLink (view, iter); break; default: break; } } // Links can also be activated by clicking. void EventAfter (object sender, WidgetEventAfterArgs args) { if (args.Event.Type != Gdk.EventType.ButtonRelease) return; Gdk.EventButton evt = (Gdk.EventButton)args.Event; if (evt.Button != 1) return; TextView view = sender as TextView; TextIter start, end, iter; int x, y; // we shouldn't follow a link if the user has selected something view.Buffer.GetSelectionBounds (out start, out end); if (start.Offset != end.Offset) return; view.WindowToBufferCoords (TextWindowType.Widget, (int) evt.X, (int) evt.Y, out x, out y); iter = view.GetIterAtLocation (x, y); FollowIfLink (view, iter); } // Update the cursor image if the pointer moved. void MotionNotify (object sender, MotionNotifyEventArgs args) { TextView view = sender as TextView; int x, y; Gdk.ModifierType state; view.WindowToBufferCoords (TextWindowType.Widget, (int) args.Event.X, (int) args.Event.Y, out x, out y); SetCursorIfAppropriate (view, x, y); view.GdkWindow.GetPointer (out x, out y, out state); } // Also update the cursor image if the window becomes visible // (e.g. when a window covering it got iconified). void VisibilityNotify (object sender, VisibilityNotifyEventArgs a) { TextView view = sender as TextView; int wx, wy, bx, by; view.GetPointer (out wx, out wy); view.WindowToBufferCoords (TextWindowType.Widget, wx, wy, out bx, out by); SetCursorIfAppropriate (view, bx, by); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoSizeGroup.cs0000644000175000001440000000717211131156730016375 00000000000000/* Size Groups * * SizeGroup provides a mechanism for grouping a number of * widgets together so they all request the same amount of space. * This is typically useful when you want a column of widgets to * have the same size, but you can't use a Table widget. * * Note that size groups only affect the amount of space requested, * not the size that the widgets finally receive. If you want the * widgets in a SizeGroup to actually be the same size, you need * to pack them in such a way that they get the size they request * and not more. For example, if you are packing your widgets * into a table, you would not include the Gtk.Fill flag. */ using System; using Gtk; namespace GtkDemo { [Demo ("Size Group", "DemoSizeGroup.cs")] public class DemoSizeGroup : Dialog { private SizeGroup sizeGroup; static string [] colors = { "Red", "Green", "Blue" }; static string [] dashes = { "Solid", "Dashed", "Dotted" }; static string [] ends = { "Square", "Round", "Arrow" }; public DemoSizeGroup () : base ("SizeGroup", null, DialogFlags.DestroyWithParent, Gtk.Stock.Close, Gtk.ResponseType.Close) { Resizable = false; VBox vbox = new VBox (false, 5); this.VBox.PackStart (vbox, true, true, 0); vbox.BorderWidth = 5; sizeGroup = new SizeGroup (SizeGroupMode.Horizontal); // Create one frame holding color options Frame frame = new Frame ("Color Options"); vbox.PackStart (frame, true, true, 0); Table table = new Table (2, 2, false); table.BorderWidth = 5; table.RowSpacing = 5; table.ColumnSpacing = 10; frame.Add (table); AddRow (table, 0, sizeGroup, "_Foreground", colors); AddRow (table, 1, sizeGroup, "_Background", colors); // And another frame holding line style options frame = new Frame ("Line Options"); vbox.PackStart (frame, false, false, 0); table = new Table (2, 2, false); table.BorderWidth = 5; table.RowSpacing = 5; table.ColumnSpacing = 10; frame.Add (table); AddRow (table, 0, sizeGroup, "_Dashing", dashes); AddRow (table, 1, sizeGroup, "_Line ends", ends); // And a check button to turn grouping on and off CheckButton checkButton = new CheckButton ("_Enable grouping"); vbox.PackStart (checkButton, false, false, 0); checkButton.Active = true; checkButton.Toggled += new EventHandler (ToggleGrouping); ShowAll (); } // Convenience function to create a combo box holding a number of strings private ComboBox CreateComboBox (string [] strings) { ComboBox combo = ComboBox.NewText (); foreach (string str in strings) combo.AppendText (str); combo.Active = 0; return combo; } private void AddRow (Table table, uint row, SizeGroup sizeGroup, string labelText, string [] options) { Label label = new Label (labelText); label.SetAlignment (0, 1); table.Attach (label, 0, 1, row, row + 1, AttachOptions.Expand | AttachOptions.Fill, 0, 0, 0); ComboBox combo = CreateComboBox (options); label.MnemonicWidget = combo; sizeGroup.AddWidget (combo); table.Attach (combo, 1, 2, row, row + 1, 0, 0, 0, 0); } private void ToggleGrouping (object o, EventArgs args) { ToggleButton checkButton = (ToggleButton)o; // SizeGroupMode.None is not generally useful, but is useful // here to show the effect of SizeGroupMode.Horizontal by // contrast SizeGroupMode mode; if (checkButton.Active) mode = SizeGroupMode.Horizontal; else mode = SizeGroupMode.None; sizeGroup.Mode = mode; } protected override void OnResponse (Gtk.ResponseType responseId) { Destroy (); } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoRotatedText.cs0000644000175000001440000000601311131156730016706 00000000000000using System; using Gtk; using Pango; #if GTK_SHARP_2_6 namespace GtkDemo { [Demo ("Rotated Text", "DemoRotatedText.cs")] public class DemoRotatedText : Window { const int RADIUS = 150; const int N_WORDS = 10; public DemoRotatedText () : base ("Rotated text") { DrawingArea drawingArea = new DrawingArea (); Gdk.Color white = new Gdk.Color (0xff, 0xff, 0xff); // This overrides the background color from the theme drawingArea.ModifyBg (StateType.Normal, white); drawingArea.ExposeEvent += new ExposeEventHandler (RotatedTextExposeEvent); this.Add (drawingArea); this.DeleteEvent += new DeleteEventHandler (OnWinDelete); this.SetDefaultSize (2 * RADIUS, 2 * RADIUS); this.ShowAll (); } void RotatedTextExposeEvent (object sender, ExposeEventArgs a) { DrawingArea drawingArea = sender as DrawingArea; int width = drawingArea.Allocation.Width; int height = drawingArea.Allocation.Height; double deviceRadius; // Get the default renderer for the screen, and set it up for drawing Gdk.PangoRenderer renderer = Gdk.PangoRenderer.GetDefault (drawingArea.Screen); renderer.Drawable = drawingArea.GdkWindow; renderer.Gc = drawingArea.Style.BlackGC; // Set up a transformation matrix so that the user space coordinates for // the centered square where we draw are [-RADIUS, RADIUS], [-RADIUS, RADIUS] // We first center, then change the scale deviceRadius = Math.Min (width, height) / 2; Matrix matrix = Pango.Matrix.Identity; matrix.Translate (deviceRadius + (width - 2 * deviceRadius) / 2, deviceRadius + (height - 2 * deviceRadius) / 2); matrix.Scale (deviceRadius / RADIUS, deviceRadius / RADIUS); // Create a PangoLayout, set the font and text Context context = drawingArea.CreatePangoContext (); Pango.Layout layout = new Pango.Layout (context); layout.SetText ("Text"); FontDescription desc = FontDescription.FromString ("Sans Bold 27"); layout.FontDescription = desc; // Draw the layout N_WORDS times in a circle for (int i = 0; i < N_WORDS; i++) { Gdk.Color color = new Gdk.Color (); Matrix rotatedMatrix = matrix; int w, h; double angle = (360 * i) / N_WORDS; // Gradient from red at angle == 60 to blue at angle == 300 color.Red = (ushort) (65535 * (1 + Math.Cos ((angle - 60) * Math.PI / 180)) / 2); color.Green = 0; color.Blue = (ushort) (65535 - color.Red); renderer.SetOverrideColor (RenderPart.Foreground, color); rotatedMatrix.Rotate (angle); context.Matrix = rotatedMatrix; // Inform Pango to re-layout the text with the new transformation matrix layout.ContextChanged (); layout.GetSize (out w, out h); renderer.DrawLayout (layout, - w / 2, (int) (- RADIUS * Pango.Scale.PangoScale)); } // Clean up default renderer, since it is shared renderer.SetOverrideColor (RenderPart.Foreground, Gdk.Color.Zero); renderer.Drawable = null; renderer.Gc = null; } void OnWinDelete (object sender, DeleteEventArgs a) { this.Hide (); this.Dispose (); } } } #endif gtk-sharp-2.12.10/sample/GtkDemo/DemoIconView.cs0000644000175000001440000001012211131156730016156 00000000000000using System; using System.IO; using Gtk; #if GTK_SHARP_2_6 namespace GtkDemo { [Demo ("Icon View", "DemoIconView.cs")] public class DemoIconView : Window { const int COL_PATH = 0; const int COL_DISPLAY_NAME = 1; const int COL_PIXBUF = 2; const int COL_IS_DIRECTORY = 3; DirectoryInfo parent = new DirectoryInfo ("/"); Gdk.Pixbuf dirIcon, fileIcon; ListStore store; ToolButton upButton; public DemoIconView () : base ("Gtk.IconView demo") { SetDefaultSize (650, 400); DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (false, 0); Add (vbox); Toolbar toolbar = new Toolbar (); vbox.PackStart (toolbar, false, false, 0); upButton = new ToolButton (Stock.GoUp); upButton.IsImportant = true; upButton.Sensitive = false; toolbar.Insert (upButton, -1); ToolButton homeButton = new ToolButton (Stock.Home); homeButton.IsImportant = true; toolbar.Insert (homeButton, -1); fileIcon = GetIcon (Stock.File); dirIcon = GetIcon (Stock.Open); ScrolledWindow sw = new ScrolledWindow (); sw.ShadowType = ShadowType.EtchedIn; sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (sw, true, true, 0); // Create the store and fill it with the contents of '/' store = CreateStore (); FillStore (); IconView iconView = new IconView (store); iconView.SelectionMode = SelectionMode.Multiple; upButton.Clicked += new EventHandler (OnUpClicked); homeButton.Clicked += new EventHandler (OnHomeClicked); iconView.TextColumn = COL_DISPLAY_NAME; iconView.PixbufColumn = COL_PIXBUF; iconView.ItemActivated += new ItemActivatedHandler (OnItemActivated); sw.Add (iconView); iconView.GrabFocus (); ShowAll (); } Gdk.Pixbuf GetIcon (string name) { return Gtk.IconTheme.Default.LoadIcon (name, 48, (IconLookupFlags) 0); } ListStore CreateStore () { // path, name, pixbuf, is_dir ListStore store = new ListStore (typeof (string), typeof (string), typeof (Gdk.Pixbuf), typeof (bool)); // Set sort column and function store.DefaultSortFunc = new TreeIterCompareFunc (SortFunc); store.SetSortColumnId (COL_DISPLAY_NAME, SortType.Ascending); return store; } void FillStore () { // first clear the store store.Clear (); // Now go through the directory and extract all the file information if (!parent.Exists) return; foreach (DirectoryInfo di in parent.GetDirectories ()) { if (!di.Name.StartsWith (".")) store.AppendValues (di.FullName, di.Name, dirIcon, true); } foreach (FileInfo file in parent.GetFiles ()) { if (!file.Name.StartsWith (".")) store.AppendValues (file.FullName, file.Name, fileIcon, false); } } int SortFunc (TreeModel model, TreeIter a, TreeIter b) { // sorts folders before files bool a_is_dir = (bool) model.GetValue (a, COL_IS_DIRECTORY); bool b_is_dir = (bool) model.GetValue (b, COL_IS_DIRECTORY); string a_name = (string) model.GetValue (a, COL_DISPLAY_NAME); string b_name = (string) model.GetValue (b, COL_DISPLAY_NAME); if (!a_is_dir && b_is_dir) return 1; else if (a_is_dir && !b_is_dir) return -1; else return String.Compare (a_name, b_name); } void OnHomeClicked (object sender, EventArgs a) { parent = new DirectoryInfo (Environment.GetFolderPath (Environment.SpecialFolder.Personal)); FillStore (); upButton.Sensitive = true; } void OnItemActivated (object sender, ItemActivatedArgs a) { TreeIter iter; store.GetIter (out iter, a.Path); string path = (string) store.GetValue (iter, COL_PATH); bool isDir = (bool) store.GetValue (iter, COL_IS_DIRECTORY); if (!isDir) return; // Replace parent with path and re-fill the model parent = new DirectoryInfo (path); FillStore (); // Sensitize the up button upButton.Sensitive = true; } void OnUpClicked (object sender, EventArgs a) { parent = parent.Parent; FillStore (); upButton.Sensitive = (parent.FullName == "/" ? false : true); } void OnWinDelete (object sender, DeleteEventArgs a) { Hide (); Dispose (); } } } #endif gtk-sharp-2.12.10/sample/GtkDemo/Makefile.in0000644000175000001440000003013511345266365015367 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/GtkDemo DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in TODO ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SCRIPTS = $(noinst_SCRIPTS) SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ @ENABLE_MONO_CAIRO_FALSE@local_mono_cairo = @ENABLE_MONO_CAIRO_TRUE@local_mono_cairo = $(top_builddir)/cairo/Mono.Cairo.dll assemblies = \ $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll \ $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll \ $(top_builddir)/gtk/gtk-sharp.dll $(local_mono_cairo) references = $(addprefix /r:, $(assemblies)) @MONO_CAIRO_LIBS@ TARGETS = GtkDemo.exe DEBUGS = $(addsuffix .mdb, $(TARGETS)) CLEANFILES = $(TARGETS) $(DEBUGS) noinst_SCRIPTS = $(TARGETS) EXTRA_DIST = $(sources) $(image_names) sources = \ DemoApplicationWindow.cs \ DemoAttribute.cs \ DemoButtonBox.cs \ DemoClipboard.cs \ DemoColorSelection.cs \ DemoDialog.cs \ DemoDrawingArea.cs \ DemoEditableCells.cs \ DemoEntryCompletion.cs \ DemoExpander.cs \ DemoHyperText.cs \ DemoIconView.cs \ DemoImages.cs \ DemoListStore.cs \ DemoMain.cs \ DemoMenus.cs \ DemoPanes.cs \ DemoPixbuf.cs \ DemoRotatedText.cs \ DemoSizeGroup.cs \ DemoStockBrowser.cs \ DemoTextView.cs \ DemoTreeStore.cs \ DemoUIManager.cs \ DemoPrinting.cs images = \ images/gnome-foot.png,gnome-foot.png \ images/MonoIcon.png,MonoIcon.png \ images/gnome-calendar.png,gnome-calendar.png \ images/gnome-gmush.png,gnome-gmush.png \ images/gnu-keys.png,gnu-keys.png \ images/gnome-applets.png,gnome-applets.png \ images/gnome-gsame.png,gnome-gsame.png \ images/alphatest.png,alphatest.png \ images/gnome-gimp.png,gnome-gimp.png \ images/apple-red.png,apple-red.png \ images/background.jpg,background.jpg \ images/gtk-logo-rgb.gif,gtk-logo-rgb.gif \ images/floppybuddy.gif,floppybuddy.gif image_names = \ images/gnome-foot.png \ images/MonoIcon.png \ images/gnome-calendar.png \ images/gnome-gmush.png \ images/gnu-keys.png \ images/gnome-applets.png \ images/gnome-gsame.png \ images/alphatest.png \ images/gnome-gimp.png \ images/apple-red.png \ images/background.jpg \ images/gtk-logo-rgb.gif \ images/floppybuddy.gif build_sources = $(addprefix $(srcdir)/, $(sources)) build_images = $(addprefix $(srcdir)/, $(images)) resources = $(addprefix /resource:, $(build_sources), $(build_images)) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/GtkDemo/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/GtkDemo/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am GtkDemo.exe: $(build_sources) $(assemblies) $(CSC) $(CSFLAGS) /out:GtkDemo.exe $(build_sources) $(references) $(resources) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/sample/GtkDemo/DemoExpander.cs0000644000175000001440000000157211131156730016212 00000000000000/* Expander * * GtkExpander allows to provide additional content that is initially hidden. * This is also known as "disclosure triangle". * */ using System; using Gtk; namespace GtkDemo { [Demo ("Expander", "DemoExpander.cs")] public class DemoExpander : Gtk.Dialog { public DemoExpander () : base ("Demo Expander", null, DialogFlags.DestroyWithParent) { Resizable = false; VBox vbox = new VBox (false, 5); this.VBox.PackStart (vbox, true, true, 0); vbox.BorderWidth = 5; vbox.PackStart (new Label ("Expander demo. Click on the triangle for details."), false, false, 0); // Create the expander Expander expander = new Expander ("Details"); expander.Add (new Label ("Details can be shown or hidden.")); vbox.PackStart (expander, false, false, 0); AddButton (Stock.Close, ResponseType.Close); ShowAll (); Run (); Destroy (); } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoPrinting.cs0000644000175000001440000000703111131156730016232 00000000000000/* Printing * * GtkPrintOperation offers a simple API to support printing in a cross-platform way. */ using System; using System.IO; using System.Reflection; using Gtk; using Cairo; namespace GtkDemo { [Demo ("Printing", "DemoPrinting.cs")] public class DemoPrinting { private static double headerHeight = (10*72/25.4); private static double headerGap = (3*72/25.4); private static int pangoScale = 1024; private PrintOperation print; private string fileName = "DemoPrinting.cs"; private double fontSize = 12.0; private int linesPerPage; private string[] lines; private int numLines; private int numPages; public DemoPrinting () { print = new PrintOperation (); print.BeginPrint += new BeginPrintHandler (OnBeginPrint); print.DrawPage += new DrawPageHandler (OnDrawPage); print.EndPrint += new EndPrintHandler (OnEndPrint); print.Run (PrintOperationAction.PrintDialog, null); } private void OnBeginPrint (object obj, Gtk.BeginPrintArgs args) { string contents; double height; PrintContext context = args.Context; height = context.Height; linesPerPage = (int)Math.Floor(height / fontSize); contents = LoadFile("DemoPrinting.cs"); lines = contents.Split('\n'); numLines = lines.Length; numPages = (numLines - 1) / linesPerPage + 1; print.NPages = numPages; } private string LoadFile (string filename) { Stream file = Assembly.GetExecutingAssembly ().GetManifestResourceStream (filename); if (file == null && File.Exists (filename)) { file = File.OpenRead (filename); } if (file == null) { return "File not found"; } StreamReader sr = new StreamReader (file); return sr.ReadToEnd (); } private void OnDrawPage (object obj, Gtk.DrawPageArgs args) { PrintContext context = args.Context; Cairo.Context cr = context.CairoContext; double width = context.Width; cr.Rectangle (0, 0, width, headerHeight); cr.SetSourceRGB (0.8, 0.8, 0.8); cr.FillPreserve (); cr.SetSourceRGB (0, 0, 0); cr.LineWidth = 1; cr.Stroke(); Pango.Layout layout = context.CreatePangoLayout (); Pango.FontDescription desc = Pango.FontDescription.FromString ("sans 14"); layout.FontDescription = desc; layout.SetText (fileName); layout.Width = (int)width; layout.Alignment = Pango.Alignment.Center; int layoutWidth, layoutHeight; layout.GetSize (out layoutWidth, out layoutHeight); double textHeight = (double)layoutHeight / (double)pangoScale; cr.MoveTo (width/2, (headerHeight - textHeight) / 2); Pango.CairoHelper.ShowLayout (cr, layout); string pageStr = String.Format ("{0}/{1}", args.PageNr + 1, numPages); layout.SetText (pageStr); layout.Alignment = Pango.Alignment.Right; cr.MoveTo (width - 2, (headerHeight - textHeight) / 2); Pango.CairoHelper.ShowLayout (cr, layout); layout = null; layout = context.CreatePangoLayout (); desc = Pango.FontDescription.FromString ("mono"); desc.Size = (int)(fontSize * pangoScale); layout.FontDescription = desc; cr.MoveTo (0, headerHeight + headerGap); int line = args.PageNr * linesPerPage; for (int i=0; i < linesPerPage && line < numLines; i++) { layout.SetText (lines[line]); Pango.CairoHelper.ShowLayout (cr, layout); cr.RelMoveTo (0, fontSize); line++; } (cr as IDisposable).Dispose (); layout = null; } private void OnEndPrint (object obj, Gtk.EndPrintArgs args) { } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoEditableCells.cs0000644000175000001440000001076411131156730017143 00000000000000/* Tree View/Editable Cells * * This demo demonstrates the use of editable cells in a Gtk.TreeView. If * you are new to the Gtk.TreeView widgets and associates, look into * the Gtk.ListStore example first. * */ using System; using System.Collections; using Gtk; namespace GtkDemo { [Demo ("Editable Cells", "DemoEditableCells.cs", "Tree View")] public class DemoEditableCells : Gtk.Window { private ListStore store; private TreeView treeView; private ArrayList articles; public DemoEditableCells () : base ("Shopping list") { SetDefaultSize (320, 200); BorderWidth = 5; VBox vbox = new VBox (false, 5); Add (vbox); vbox.PackStart (new Label ("Shopping list (you can edit the cells!)"), false, false, 0); ScrolledWindow scrolledWindow = new ScrolledWindow (); scrolledWindow.ShadowType = ShadowType.EtchedIn; scrolledWindow.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (scrolledWindow, true, true, 0); // create model store = CreateModel (); // create tree view treeView = new TreeView (store); treeView.RulesHint = true; treeView.Selection.Mode = SelectionMode.Single; AddColumns (); scrolledWindow.Add (treeView); // some buttons HBox hbox = new HBox (true, 4); vbox.PackStart (hbox, false, false, 0); Button button = new Button ("Add item"); button.Clicked += new EventHandler (AddItem); hbox.PackStart (button, true, true, 0); button = new Button ("Remove item"); button.Clicked += new EventHandler (RemoveItem); hbox.PackStart (button, true, true, 0); ShowAll (); } private void AddColumns () { CellRendererText renderer; // number column renderer = new CellRendererText (); renderer.Edited += new EditedHandler (NumberCellEdited); renderer.Editable = true; treeView.AppendColumn ("Number", renderer, "text", (int) Column.Number); // product column renderer = new CellRendererText (); renderer.Edited += new EditedHandler (TextCellEdited); renderer.Editable = true; treeView.AppendColumn ("Product", renderer , "text", (int) Column.Product); } private ListStore CreateModel () { // create array articles = new ArrayList (); AddItems (); // create list store ListStore store = new ListStore (typeof (int), typeof (string), typeof (bool)); // add items foreach (Item item in articles) store.AppendValues (item.Number, item.Product); return store; } private void AddItems () { Item foo; foo = new Item (3, "bottles of coke"); articles.Add (foo); foo = new Item (5, "packages of noodles"); articles.Add (foo); foo = new Item (2, "packages of chocolate chip cookies"); articles.Add (foo); foo = new Item (1, "can vanilla ice cream"); articles.Add (foo); foo = new Item (6, "eggs"); articles.Add (foo); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void NumberCellEdited (object o, EditedArgs args) { TreePath path = new TreePath (args.Path); TreeIter iter; store.GetIter (out iter, path); int i = path.Indices[0]; Item foo; try { foo = (Item) articles[i]; foo.Number = int.Parse (args.NewText); } catch (Exception e) { Console.WriteLine (e); return; } store.SetValue (iter, (int) Column.Number, foo.Number); } private void TextCellEdited (object o, EditedArgs args) { TreePath path = new TreePath (args.Path); TreeIter iter; store.GetIter (out iter, path); int i = path.Indices[0]; Item foo = (Item) articles[i]; foo.Product = args.NewText; store.SetValue (iter, (int) Column.Product, foo.Product); } private void AddItem (object o, EventArgs args) { Item foo = new Item (0, "Description here"); articles.Add (foo); store.AppendValues (foo.Number, foo.Product); } private void RemoveItem (object o, EventArgs args) { TreeIter iter; TreeModel model; if (treeView.Selection.GetSelected (out model, out iter)) { int position = store.GetPath (iter).Indices[0]; store.Remove (ref iter); articles.RemoveAt (position); } } } enum Column { Number, Product }; struct Item { public int Number { get { return number; } set { number = value; } } public string Product { get { return product; } set { product = value; } } private int number; private string product; public Item (int number, string product) { this.number = number; this.product = product; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoListStore.cs0000644000175000001440000001136711131156730016377 00000000000000/* Tree View/List Store * * The Gtk.ListStore is used to store data in tree form, to be * used later on by a Gtk.ListView to display it. This demo builds * a simple Gtk.ListStore and displays it. If you're new to the * Gtk.ListView widgets and associates, look into the Gtk.ListStore * example first. */ using System; using System.Collections; using Gtk; namespace GtkDemo { [Demo ("List Store", "DemoListStore.cs", "Tree View")] public class DemoListStore : Gtk.Window { ListStore store; public DemoListStore () : base ("ListStore Demo") { BorderWidth = 8; VBox vbox = new VBox (false, 8); Add (vbox); Label label = new Label ("This is the bug list (note: not based on real data, it would be nice to have a nice ODBC interface to bugzilla or so, though)."); vbox.PackStart (label, false, false, 0); ScrolledWindow sw = new ScrolledWindow (); sw.ShadowType = ShadowType.EtchedIn; sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (sw, true, true, 0); // create model store = CreateModel (); // create tree view TreeView treeView = new TreeView (store); treeView.RulesHint = true; treeView.SearchColumn = (int) Column.Description; sw.Add (treeView); AddColumns (treeView); // finish & show SetDefaultSize (280, 250); ShowAll (); } private void FixedToggled (object o, ToggledArgs args) { Gtk.TreeIter iter; if (store.GetIterFromString (out iter, args.Path)) { bool val = (bool) store.GetValue (iter, 0); store.SetValue (iter, 0, !val); } } private void AddColumns (TreeView treeView) { // column for fixed toggles CellRendererToggle rendererToggle = new CellRendererToggle (); rendererToggle.Toggled += new ToggledHandler (FixedToggled); TreeViewColumn column = new TreeViewColumn ("Fixed?", rendererToggle, "active", Column.Fixed); // set this column to a fixed sizing (of 50 pixels) column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; treeView.AppendColumn (column); // column for bug numbers CellRendererText rendererText = new CellRendererText (); column = new TreeViewColumn ("Bug number", rendererText, "text", Column.Number); column.SortColumnId = (int) Column.Number; treeView.AppendColumn (column); // column for severities rendererText = new CellRendererText (); column = new TreeViewColumn ("Severity", rendererText, "text", Column.Severity); column.SortColumnId = (int) Column.Severity; treeView.AppendColumn(column); // column for description rendererText = new CellRendererText (); column = new TreeViewColumn ("Description", rendererText, "text", Column.Description); column.SortColumnId = (int) Column.Description; treeView.AppendColumn (column); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private ListStore CreateModel () { ListStore store = new ListStore (typeof(bool), typeof(int), typeof(string), typeof(string)); foreach (Bug bug in bugs) { store.AppendValues (bug.Fixed, bug.Number, bug.Severity, bug.Description); } return store; } private enum Column { Fixed, Number, Severity, Description } private static Bug[] bugs = { new Bug ( false, 60482, "Normal", "scrollable notebooks and hidden tabs"), new Bug ( false, 60620, "Critical", "gdk_window_clear_area (gdkwindow-win32.c) is not thread-safe" ), new Bug ( false, 50214, "Major", "Xft support does not clean up correctly" ), new Bug ( true, 52877, "Major", "GtkFileSelection needs a refresh method. " ), new Bug ( false, 56070, "Normal", "Can't click button after setting in sensitive" ), new Bug ( true, 56355, "Normal", "GtkLabel - Not all changes propagate correctly" ), new Bug ( false, 50055, "Normal", "Rework width/height computations for TreeView" ), new Bug ( false, 58278, "Normal", "gtk_dialog_set_response_sensitive () doesn't work" ), new Bug ( false, 55767, "Normal", "Getters for all setters" ), new Bug ( false, 56925, "Normal", "Gtkcalender size" ), new Bug ( false, 56221, "Normal", "Selectable label needs right-click copy menu" ), new Bug ( true, 50939, "Normal", "Add shift clicking to GtkTextView" ), new Bug ( false, 6112, "Enhancement","netscape-like collapsable toolbars" ), new Bug ( false, 1, "Normal", "First bug :=)" ) }; } public class Bug { public bool Fixed; public int Number; public string Severity; public string Description; public Bug (bool status, int number, string severity, string description) { Fixed = status; Number = number; Severity = severity; Description = description; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoAttribute.cs0000644000175000001440000000110611131156730016400 00000000000000using System; namespace GtkDemo { [AttributeUsage (AttributeTargets.Class)] public class DemoAttribute : Attribute { string label, filename, parent; public DemoAttribute (string label, string filename) : this (label, filename, null) { } public DemoAttribute (string label, string filename, string parent) { this.label = label; this.filename = filename; this.parent = parent; } public string Filename { get { return filename; } } public string Label { get { return label; } } public string Parent { get { return parent; } } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoButtonBox.cs0000644000175000001440000000455411131156730016373 00000000000000/* Button Boxes * * The Button Box widgets are used to arrange buttons with padding. */ using System; using Gtk; namespace GtkDemo { [Demo ("Button Boxes", "DemoButtonBox.cs")] public class DemoButtonBox : Gtk.Window { public DemoButtonBox () : base ("Button Boxes") { BorderWidth = 10; // Add Vertical Box VBox mainVbox = new VBox (false,0); Add (mainVbox); // Add Horizontal Frame Frame horizontalFrame = new Frame ("Horizontal Button Boxes"); mainVbox.PackStart (horizontalFrame, true, true, 10); VBox vbox = new VBox (false, 0); vbox.BorderWidth = 10; horizontalFrame.Add (vbox); // Pack Buttons vbox.PackStart (CreateButtonBox (true, "Spread", 40, ButtonBoxStyle.Spread), true, true, 0); vbox.PackStart (CreateButtonBox (true, "Edge", 40, ButtonBoxStyle.Edge), true, true, 5); vbox.PackStart (CreateButtonBox (true, "Start", 40, ButtonBoxStyle.Start), true, true, 5); vbox.PackStart (CreateButtonBox (true, "End", 40, ButtonBoxStyle.End), true, true, 5); // Add Vertical Frame Frame verticalFrame = new Frame ("Vertical Button Boxes"); mainVbox.PackStart (verticalFrame, true, true, 10); HBox hbox = new HBox (false, 0); hbox.BorderWidth = 10; verticalFrame.Add (hbox); // Pack Buttons hbox.PackStart(CreateButtonBox (false, "Spread", 30, ButtonBoxStyle.Spread), true, true, 0); hbox.PackStart(CreateButtonBox (false, "Edge", 30, ButtonBoxStyle.Edge), true, true, 5); hbox.PackStart(CreateButtonBox (false, "Start", 30, ButtonBoxStyle.Start), true, true, 5); hbox.PackStart(CreateButtonBox (false, "End", 30, ButtonBoxStyle.End), true, true, 5); ShowAll (); } // Create a Button Box with the specified parameters private Frame CreateButtonBox (bool horizontal, string title, int spacing, ButtonBoxStyle layout) { Frame frame = new Frame (title); Gtk.ButtonBox bbox ; if (horizontal) bbox = new Gtk.HButtonBox (); else bbox = new Gtk.VButtonBox (); bbox.BorderWidth = 5; frame.Add (bbox); // Set the appearance of the Button Box bbox.Layout = layout; bbox.Spacing = spacing; bbox.Add (new Button (Stock.Ok)); bbox.Add (new Button (Stock.Cancel)); bbox.Add (new Button (Stock.Help)); return frame; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.10/sample/GtkDemo/DemoPanes.cs0000644000175000001440000000663311131156730015515 00000000000000/* Paned Widgets * * The HPaned and VPaned Widgets divide their content * area into two panes with a divider in between that the * user can adjust. A separate child is placed into each * pane. * * There are a number of options that can be set for each pane. * This test contains both a horizontal (HPaned) and a vertical * (VPaned) widget, and allows you to adjust the options for * each side of each widget. */ using System; using System.Collections; using Gtk; namespace GtkDemo { [Demo ("Paned Widget", "DemoPanes.cs")] public class DemoPanes : Gtk.Window { Hashtable children = new Hashtable (); public DemoPanes () : base ("Panes") { VBox vbox = new VBox (false, 0); Add (vbox); VPaned vpaned = new VPaned (); vbox.PackStart (vpaned, true, true, 0); vpaned.BorderWidth = 5; HPaned hpaned = new HPaned (); vpaned.Add1 (hpaned); Frame frame = new Frame (); frame.ShadowType = ShadowType.In; frame.SetSizeRequest (60, 60); hpaned.Add1 (frame); Gtk.Button button = new Button ("_Hi there"); frame.Add (button); frame = new Frame (); frame.ShadowType = ShadowType.In; frame.SetSizeRequest (80, 60); hpaned.Add2 (frame); frame = new Frame (); frame.ShadowType = ShadowType.In; frame.SetSizeRequest (60, 80); vpaned.Add2 (frame); // Now create toggle buttons to control sizing vbox.PackStart (CreatePaneOptions (hpaned, "Horizontal", "Left", "Right"), false, false, 0); vbox.PackStart (CreatePaneOptions (vpaned, "Vertical", "Top", "Bottom"), false, false, 0); ShowAll (); } Frame CreatePaneOptions (Paned paned, string frameLabel, string label1, string label2) { Frame frame = new Frame (frameLabel); frame.BorderWidth = 4; Table table = new Table (3, 2, true); frame.Add (table); Label label = new Label (label1); table.Attach (label, 0, 1, 0, 1); CheckButton check = new CheckButton ("_Resize"); table.Attach (check, 0, 1, 1, 2); check.Toggled += new EventHandler (ToggleResize); children[check] = paned.Child1; check = new CheckButton ("_Shrink"); table.Attach (check, 0, 1, 2, 3); check.Active = true; check.Toggled += new EventHandler (ToggleShrink); children[check] = paned.Child1; label = new Label (label2); table.Attach (label, 1, 2, 0, 1); check = new CheckButton ("_Resize"); table.Attach (check, 1, 2, 1, 2); check.Active = true; check.Toggled += new EventHandler (ToggleResize); children[check] = paned.Child2; check = new CheckButton ("_Shrink"); table.Attach (check, 1, 2, 2, 3); check.Active = true; check.Toggled += new EventHandler (ToggleShrink); children[check] = paned.Child2; return frame; } private void ToggleResize (object obj, EventArgs args) { ToggleButton toggle = obj as ToggleButton; Widget child = children[obj] as Widget; Paned paned = child.Parent as Paned; Paned.PanedChild pc = paned[child] as Paned.PanedChild; pc.Resize = toggle.Active; } private void ToggleShrink (object obj, EventArgs args) { ToggleButton toggle = obj as ToggleButton; Widget child = children[obj] as Widget; Paned paned = child.Parent as Paned; Paned.PanedChild pc = paned[child] as Paned.PanedChild; pc.Shrink = toggle.Active; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.10/sample/PropertyRegistration.cs0000644000175000001440000000171611131156732016526 00000000000000// PropertyRegistration.cs - GObject property registration sample // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. namespace GtkSamples { using System; public class TestObject : GLib.Object { public static int Main (string[] args) { GLib.GType.Init (); TestObject obj = new TestObject (); GLib.Value val = new GLib.Value (42); obj.SetProperty ("my_prop", val); val.Dispose (); if (obj.MyProp != 42) { Console.Error.WriteLine ("Property setter did not run."); return 1; } GLib.Value val2 = obj.GetProperty ("my_prop"); if ((int)val2.Val != 42) { Console.Error.WriteLine ("Property set/get roundtrip failed."); return 1; } Console.WriteLine ("Round trip succeeded."); return 0; } int my_prop; [GLib.Property ("my_prop")] public int MyProp { get { return my_prop; } set { my_prop = value; Console.WriteLine ("Property setter invoked."); } } } } gtk-sharp-2.12.10/sample/SpawnTests.cs0000644000175000001440000000606611131156732014425 00000000000000// SpawnTests.cs - Tests for GLib.Process.Spawn* // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. namespace GtkSamples { using Gtk; using Gdk; using GLib; using System; public class SpawnTests { static MainLoop ml; public static void Main (string[] args) { CommandLineSyncTest (); CommandLineAsyncTest (); SyncTest (); AsyncTest (); AsyncWithPipesTest (); ml = new MainLoop (); ml.Run (); } static void CommandLineAsyncTest () { Console.WriteLine ("CommandLineAsyncTest:"); try { GLib.Process.SpawnCommandLineAsync ("echo \"[CommandLineAsync running: `pwd`]\""); } catch (Exception e) { Console.WriteLine ("Exception in SpawnCommandLineAsync: " + e); } Console.WriteLine ("returning"); } static void CommandLineSyncTest () { Console.WriteLine ("CommandLineSyncTest:"); try { string stdout, stderr; int exit_status; GLib.Process.SpawnCommandLineSync ("pwd", out stdout, out stderr, out exit_status); Console.Write ("pwd exit_status=" + exit_status + " output: " + stdout); } catch (Exception e) { Console.WriteLine ("Exception in SpawnCommandLineSync: " + e); } Console.WriteLine ("returning"); } static void SyncTest () { Console.WriteLine ("SyncTest:"); try { string stdout, stderr; int exit_status; GLib.Process.SpawnSync ("/usr", new string[] {"pwd"}, null, SpawnFlags.SearchPath, null, out stdout, out stderr, out exit_status); Console.Write ("pwd exit_status=" + exit_status + " output: " + stdout); } catch (Exception e) { Console.WriteLine ("Exception in SpawnSync: " + e); } Console.WriteLine ("returning"); } static void AsyncTest () { Console.WriteLine ("AsyncTest:"); try { Process proc; GLib.Process.SpawnAsync (null, new string[] {"echo", "[AsyncTest running]"}, null, SpawnFlags.SearchPath, null, out proc); } catch (Exception e) { Console.WriteLine ("Exception in SpawnSync: " + e); } Console.WriteLine ("returning"); } static IOChannel channel; static void AsyncWithPipesTest () { Console.WriteLine ("AsyncWithPipesTest:"); try { Process proc; int stdin = Process.IgnorePipe; int stdout = Process.RequestPipe; int stderr = Process.IgnorePipe; GLib.Process.SpawnAsyncWithPipes (null, new string[] {"pwd"}, null, SpawnFlags.SearchPath, null, out proc, ref stdin, ref stdout, ref stderr); channel = new IOChannel (stdout); channel.AddWatch (0, IOCondition.In | IOCondition.Hup, new IOFunc (ReadStdout)); } catch (Exception e) { Console.WriteLine ("Exception in SpawnSync: " + e); } Console.WriteLine ("returning"); } static bool ReadStdout (IOChannel source, IOCondition condition) { if ((condition & IOCondition.In) == IOCondition.In) { string txt; if (source.ReadToEnd (out txt) == IOStatus.Normal) Console.WriteLine ("[AsyncWithPipesTest output] " + txt); } if ((condition & IOCondition.Hup) == IOCondition.Hup) { source.Dispose (); ml.Quit (); return true; } return true; } } } gtk-sharp-2.12.10/COPYING0000644000175000001440000006347611131157074011545 00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! gtk-sharp-2.12.10/gdk/0000777000175000001440000000000011345266755011341 500000000000000gtk-sharp-2.12.10/gdk/Makefile.am0000644000175000001440000000270311131157072013273 00000000000000SUBDIRS = . glue if ENABLE_MONO_CAIRO local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll else local_mono_cairo= endif pkg = gdk SYMBOLS = gdk-symbols.xml INCLUDE_API = $(srcdir)/../glib/glib-api.xml ../pango/pango-api.xml METADATA = Gdk.metadata references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll $(local_mono_cairo) glue_includes = gdk/gdk.h sources = \ EventButton.cs \ EventClient.cs \ EventConfigure.cs \ EventCrossing.cs \ Event.cs \ EventDND.cs \ EventExpose.cs \ EventFocus.cs \ EventGrabBroken.cs \ EventKey.cs \ EventMotion.cs \ EventOwnerChange.cs \ EventProperty.cs \ EventProximity.cs \ EventScroll.cs \ EventSelection.cs \ EventSetting.cs \ EventVisibility.cs \ EventWindowState.cs \ Key.cs \ Size.cs \ TextProperty.cs customs = \ Atom.custom \ Color.custom \ Device.custom \ DeviceAxis.custom \ Display.custom \ DisplayManager.custom \ DragContext.custom \ Drawable.custom \ EdgeTable.custom \ GCValues.custom \ Global.custom \ Input.custom \ Keymap.custom \ PangoAttrEmbossed.custom\ PangoAttrEmbossColor.custom \ PangoAttrStipple.custom \ Pixmap.custom \ Pixbuf.custom \ PixbufAnimation.custom \ PixbufFrame.custom \ PixbufLoader.custom \ Pixdata.custom \ Point.custom \ Property.custom \ Rectangle.custom \ Region.custom \ RgbCmap.custom \ Screen.custom \ Selection.custom \ WindowAttr.custom \ Window.custom add_dist = include ../Makefile.include gtk-sharp-2.12.10/gdk/gdk-symbols.xml0000644000175000001440000000370111131157072014213 00000000000000 gtk-sharp-2.12.10/gdk/Device.custom0000644000175000001440000000504211140655006013671 00000000000000// Device.custom - customizations to Gdk.Device // // Authors: Manuel V. Santos // // Copyright (c) 2004 Manuel V. Santos // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gdksharpglue-2")] static extern DeviceAxis gtksharp_gdk_device_get_device_axis (IntPtr device, uint axis); [DllImport("gdksharpglue-2")] static extern DeviceKey gtksharp_gdk_device_get_device_key (IntPtr device, uint axis); [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_device_get_state(IntPtr device, IntPtr window, double [] axes, out int maskAsInt); public void GetState(Gdk.Window window, out double [] axes, out Gdk.ModifierType mask) { int maskAsInt; axes = new double [this.NumAxes]; gdk_device_get_state(Handle, window.Handle, axes, out maskAsInt); mask = (Gdk.ModifierType) maskAsInt; } public Gdk.DeviceAxis GetDeviceAxis (uint axis) { return gtksharp_gdk_device_get_device_axis (Handle, axis); } public Gdk.DeviceKey GetDeviceKey (uint axis) { return gtksharp_gdk_device_get_device_key (Handle, axis); } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_device_free_history(IntPtr events, int n_events); [DllImport("libgdk-win32-2.0-0.dll")] static extern bool gdk_device_get_history(IntPtr device, IntPtr window, uint start, uint stop, out IntPtr events, out int n_events); public TimeCoord[] GetHistory (Gdk.Window window, uint start, uint stop) { IntPtr coords_handle; int count; if (gdk_device_get_history (Handle, window.Handle, start, stop, out coords_handle, out count)) { TimeCoord[] result = new TimeCoord [count]; for (int i = 0; i < count; i++) { IntPtr ptr = Marshal.ReadIntPtr (coords_handle, i + IntPtr.Size); result [i] = TimeCoord.New (ptr); } gdk_device_free_history (coords_handle, count); return result; } else return new TimeCoord [0]; } gtk-sharp-2.12.10/gdk/Rectangle.custom0000644000175000001440000000775611131157072014414 00000000000000// Gdk.Point.Rectangle - Gdk Rectangle class customizations // // Authors: // Jasper van Putten // Ben Maurer // Contains lots of c&p from System.Drawing // // Copyright (c) 2002 Jasper van Putten // Copyright (c) 2005 Novell, Inc // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override string ToString () { return String.Format ("{0}x{1}+{2}+{3}", Width, Height, X, Y); } // constructors public Rectangle (int x, int y, int width, int height) { this.X = x; this.Y = y; this.Width = width; this.Height = height; } public Rectangle (Point loc, Size sz) : this (loc.X, loc.Y, sz.Width, sz.Height) {} public static Rectangle FromLTRB (int left, int top, int right, int bottom) { return new Rectangle (left, top, right - left, bottom - top); } // Equality public override bool Equals (object o) { if (!(o is Rectangle)) return false; return (this == (Rectangle) o); } public override int GetHashCode () { return (Height + Width) ^ X + Y; } public static bool operator == (Rectangle r1, Rectangle r2) { return ((r1.Location == r2.Location) && (r1.Size == r2.Size)); } public static bool operator != (Rectangle r1, Rectangle r2) { return !(r1 == r2); } // Hit Testing / Intersection / Union public bool Contains (Rectangle rect) { return (rect == Intersect (this, rect)); } public bool Contains (Point pt) { return Contains (pt.X, pt.Y); } public bool Contains (int x, int y) { return ((x >= Left) && (x <= Right) && (y >= Top) && (y <= Bottom)); } public bool IntersectsWith (Rectangle r) { return !((Left > r.Right) || (Right < r.Left) || (Top > r.Bottom) || (Bottom < r.Top)); } public static Rectangle Union (Rectangle r1, Rectangle r2) { return FromLTRB (Math.Min (r1.Left, r2.Left), Math.Min (r1.Top, r2.Top), Math.Max (r1.Right, r2.Right), Math.Max (r1.Bottom, r2.Bottom)); } public void Intersect (Rectangle r) { this = Intersect (this, r); } public static Rectangle Intersect (Rectangle r1, Rectangle r2) { Rectangle r; if (!r1.Intersect (r2, out r)) return new Rectangle (); return r; } // Position/Size public int Top { get { return Y; } } public int Bottom { get { return Y + Height; } } public int Right { get { return X + Width; } } public int Left { get { return X; } } public bool IsEmpty { get { return (Width == 0) || (Height == 0); } } public Size Size { get { return new Size (Width, Height); } set { Width = value.Width; Height = value.Height; } } public Point Location { get { return new Point (X, Y); } set { X = value.X; Y = value.Y; } } // Inflate and Offset public void Inflate (Size sz) { Inflate (sz.Width, sz.Height); } public void Inflate (int width, int height) { X -= width; Y -= height; Width += width * 2; Height += height * 2; } public static Rectangle Inflate (Rectangle rect, int x, int y) { Rectangle r = rect; r.Inflate (x, y); return r; } public static Rectangle Inflate (Rectangle rect, Size sz) { return Inflate (rect, sz.Width, sz.Height); } public void Offset (int dx, int dy) { X += dx; Y += dy; } public void Offset (Point dr) { Offset (dr.X, dr.Y); } public static Rectangle Offset (Rectangle rect, int dx, int dy) { Rectangle r = rect; r.Offset (dx, dy); return r; } public static Rectangle Offset (Rectangle rect, Point dr) { return Offset (rect, dr.X, dr.Y); } gtk-sharp-2.12.10/gdk/EventProximity.cs0000644000175000001440000000265711140655011014600 00000000000000// Gdk.EventProximity.cs - Custom proximity event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventProximity : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_proximity_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_proximity_get_device (IntPtr evt); public EventProximity (IntPtr raw) : base (raw) {} public Device Device { get { return GLib.Object.GetObject (gtksharp_gdk_event_proximity_get_device (Handle)) as Device; } } public uint Time { get { return gtksharp_gdk_event_proximity_get_time (Handle); } } } } gtk-sharp-2.12.10/gdk/PangoAttrEmbossColor.custom0000644000175000001440000000217311131157072016543 00000000000000// Gdk.PangoAttrEmbossColor.custom - Gdk PangoAttrEmbossColor class customizations // // Copyright (c) 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public static explicit operator Pango.Attribute (PangoAttrEmbossColor attr) { return Pango.Attribute.GetAttribute (attr.Handle); } public static explicit operator PangoAttrEmbossColor (Pango.Attribute attr) { return new PangoAttrEmbossColor (attr.Handle); } gtk-sharp-2.12.10/gdk/Selection.custom0000644000175000001440000000264611140655006014426 00000000000000// Gdk.Selection.custom - Gdk Selection class customizations // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_get_gdk_selection_primary (); public static Gdk.Atom Primary = new Gdk.Atom (gtksharp_get_gdk_selection_primary()); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_get_gdk_selection_secondary (); public static Gdk.Atom Secondary = new Gdk.Atom (gtksharp_get_gdk_selection_secondary()); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_get_gdk_selection_clipboard (); public static Gdk.Atom Clipboard = new Gdk.Atom (gtksharp_get_gdk_selection_clipboard()); gtk-sharp-2.12.10/gdk/EventKey.cs0000644000175000001440000000410511140655011013312 00000000000000// Gdk.EventKey.cs - Custom key event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventKey : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_key_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_key_get_state (IntPtr evt); [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_key_get_keyval (IntPtr evt); [DllImport("gdksharpglue-2")] static extern ushort gtksharp_gdk_event_key_get_hardware_keycode (IntPtr evt); [DllImport("gdksharpglue-2")] static extern byte gtksharp_gdk_event_key_get_group (IntPtr evt); public EventKey (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_key_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_key_get_state (Handle); } } public Key Key { get { return (Key) gtksharp_gdk_event_key_get_keyval (Handle); } } public uint KeyValue { get { return gtksharp_gdk_event_key_get_keyval (Handle); } } public ushort HardwareKeycode { get { return gtksharp_gdk_event_key_get_hardware_keycode (Handle); } } public byte Group { get { return gtksharp_gdk_event_key_get_group (Handle); } } } } gtk-sharp-2.12.10/gdk/EventMotion.cs0000644000175000001440000000601011140655011014024 00000000000000// Gdk.EventMotion.cs - Custom motion event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventMotion : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_motion_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_motion_get_x (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_motion_get_y (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_motion_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_motion_get_y_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_motion_get_state (IntPtr evt); [DllImport("gdksharpglue-2")] static extern ushort gtksharp_gdk_event_motion_get_is_hint (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_motion_get_device (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_motion_get_axes (IntPtr evt); public EventMotion (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_motion_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_motion_get_state (Handle); } } public double X { get { return gtksharp_gdk_event_motion_get_x (Handle); } } public double Y { get { return gtksharp_gdk_event_motion_get_y (Handle); } } public double XRoot { get { return gtksharp_gdk_event_motion_get_x_root (Handle); } } public double YRoot { get { return gtksharp_gdk_event_motion_get_y_root (Handle); } } public bool IsHint { get { return gtksharp_gdk_event_motion_get_is_hint (Handle) == 0 ? false : true; } } public Device Device { get { return GLib.Object.GetObject (gtksharp_gdk_event_motion_get_device (Handle)) as Device; } } public double[] Axes { get { double[] result = null; IntPtr axes = gtksharp_gdk_event_motion_get_axes (Handle); if (axes != IntPtr.Zero) { result = new double [Device.NumAxes]; Marshal.Copy (axes, result, 0, result.Length); } return result; } } } } gtk-sharp-2.12.10/gdk/EventFocus.cs0000644000175000001440000000225511140655011013645 00000000000000// Gdk.EventFocus.cs - Custom focus event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventFocus : Event { [DllImport("gdksharpglue-2")] static extern short gtksharp_gdk_event_focus_get_in (IntPtr evt); public EventFocus (IntPtr raw) : base (raw) {} public bool In { get { return gtksharp_gdk_event_focus_get_in (Handle) == 0 ? false : true; } } } } gtk-sharp-2.12.10/gdk/EventConfigure.cs0000644000175000001440000000341411140655011014505 00000000000000// Gdk.EventConfigure.cs - Custom configure event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventConfigure : Event { [DllImport("gdksharpglue-2")] static extern int gtksharp_gdk_event_configure_get_x (IntPtr evt); [DllImport("gdksharpglue-2")] static extern int gtksharp_gdk_event_configure_get_y (IntPtr evt); [DllImport("gdksharpglue-2")] static extern int gtksharp_gdk_event_configure_get_width (IntPtr evt); [DllImport("gdksharpglue-2")] static extern int gtksharp_gdk_event_configure_get_height (IntPtr evt); public EventConfigure (IntPtr raw) : base (raw) {} public int X { get { return gtksharp_gdk_event_configure_get_x (Handle); } } public int Y { get { return gtksharp_gdk_event_configure_get_y (Handle); } } public int Width { get { return gtksharp_gdk_event_configure_get_width (Handle); } } public int Height { get { return gtksharp_gdk_event_configure_get_height (Handle); } } } } gtk-sharp-2.12.10/gdk/EventProperty.cs0000644000175000001440000000315011140655011014405 00000000000000// Gdk.EventProperty.cs - Custom property event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventProperty : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_property_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_property_get_atom (IntPtr evt); [DllImport("gdksharpglue-2")] static extern PropertyState gtksharp_gdk_event_property_get_state (IntPtr evt); public EventProperty (IntPtr raw) : base (raw) {} public Atom Atom { get { return new Atom (gtksharp_gdk_event_property_get_atom (Handle)); } } public PropertyState State { get { return gtksharp_gdk_event_property_get_state (Handle); } } public uint Time { get { return gtksharp_gdk_event_property_get_time (Handle); } } } } gtk-sharp-2.12.10/gdk/EventCrossing.cs0000644000175000001440000000611711140655011014356 00000000000000// Gdk.EventCrossing.cs - Custom crossing event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventCrossing : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_crossing_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_crossing_get_x (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_crossing_get_y (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_crossing_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_crossing_get_y_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_crossing_get_state (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_crossing_get_subwindow (IntPtr evt); [DllImport("gdksharpglue-2")] static extern CrossingMode gtksharp_gdk_event_crossing_get_mode (IntPtr evt); [DllImport("gdksharpglue-2")] static extern NotifyType gtksharp_gdk_event_crossing_get_detail (IntPtr evt); [DllImport("gdksharpglue-2")] static extern bool gtksharp_gdk_event_crossing_get_focus (IntPtr evt); public EventCrossing (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_crossing_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_crossing_get_state (Handle); } } public double X { get { return gtksharp_gdk_event_crossing_get_x (Handle); } } public double Y { get { return gtksharp_gdk_event_crossing_get_y (Handle); } } public double XRoot { get { return gtksharp_gdk_event_crossing_get_x_root (Handle); } } public double YRoot { get { return gtksharp_gdk_event_crossing_get_y_root (Handle); } } public Window Subwindow { get { return GLib.Object.GetObject (gtksharp_gdk_event_crossing_get_subwindow (Handle)) as Window; } } public CrossingMode Mode { get { return gtksharp_gdk_event_crossing_get_mode (Handle); } } public NotifyType Detail { get { return gtksharp_gdk_event_crossing_get_detail (Handle); } } public bool Focus { get { return gtksharp_gdk_event_crossing_get_focus (Handle); } } } } gtk-sharp-2.12.10/gdk/EventWindowState.cs0000644000175000001440000000275411140655011015042 00000000000000// Gdk.EventWindowState.cs - Custom WindowState event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventWindowState : Event { [DllImport("gdksharpglue-2")] static extern WindowState gtksharp_gdk_event_window_state_get_changed_mask (IntPtr evt); [DllImport("gdksharpglue-2")] static extern WindowState gtksharp_gdk_event_window_state_get_new_window_state (IntPtr evt); public EventWindowState (IntPtr raw) : base (raw) {} public WindowState ChangedMask { get { return gtksharp_gdk_event_window_state_get_changed_mask (Handle); } } public WindowState NewWindowState { get { return gtksharp_gdk_event_window_state_get_new_window_state (Handle); } } } } gtk-sharp-2.12.10/gdk/Region.custom0000644000175000001440000000276011131157072013721 00000000000000// Gdk.Region.custom - Gdk Region class customizations // // Author: Joshua Tauberer // // Copyright (c) 2004 Joshua Tauberer // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr mem); [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_region_get_rectangles(IntPtr raw, out IntPtr rectangles, out int n_rectangles); public Rectangle[] GetRectangles () { int n; IntPtr rectangles; gdk_region_get_rectangles(Handle, out rectangles, out n); Rectangle[] ret = new Rectangle[n]; int step = Marshal.SizeOf(typeof(Rectangle)); long ptr = (long)rectangles; for (int i = 0; i < n; i++) { ret[i] = (Rectangle)Marshal.PtrToStructure((IntPtr)ptr, typeof(Rectangle)); ptr += step; } g_free(rectangles); return ret; } gtk-sharp-2.12.10/gdk/EventGrabBroken.cs0000644000175000001440000000322411135653731014612 00000000000000// Gdk.EventGrabBroken.cs - Custom GrabBroken event wrapper // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if GTK_SHARP_2_8 namespace Gdk { using System; using System.Runtime.InteropServices; public class EventGrabBroken : Event { [StructLayout(LayoutKind.Sequential)] struct NativeEventGrabBroken { EventType type; IntPtr window; sbyte send_event; public bool Keyboard; public bool Implicit; public IntPtr GrabWindowHandle; } NativeEventGrabBroken native_struct; public EventGrabBroken (IntPtr raw) : base (raw) { native_struct = (NativeEventGrabBroken) Marshal.PtrToStructure (raw, typeof (NativeEventGrabBroken)); } public bool Keyboard { get { return native_struct.Keyboard; } } public bool Implicit { get { return native_struct.Implicit; } } public Window GrabWindow { get { return GLib.Object.GetObject(native_struct.GrabWindowHandle) as Window; } } } } #endif gtk-sharp-2.12.10/gdk/EventButton.cs0000644000175000001440000000575611140655011014052 00000000000000// Gdk.EventButton.cs - Custom button event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventButton : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_button_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_button_get_x (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_button_get_y (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_button_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_button_get_y_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_button_get_state (IntPtr evt); [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_button_get_button (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_button_get_device (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_button_get_axes (IntPtr evt); public EventButton (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_button_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_button_get_state (Handle); } } public double X { get { return gtksharp_gdk_event_button_get_x (Handle); } } public double Y { get { return gtksharp_gdk_event_button_get_y (Handle); } } public double XRoot { get { return gtksharp_gdk_event_button_get_x_root (Handle); } } public double YRoot { get { return gtksharp_gdk_event_button_get_y_root (Handle); } } public uint Button { get { return gtksharp_gdk_event_button_get_button (Handle); } } public Device Device { get { return GLib.Object.GetObject (gtksharp_gdk_event_button_get_device (Handle)) as Device; } } public double[] Axes { get { double[] result = null; IntPtr axes = gtksharp_gdk_event_button_get_axes (Handle); if (axes != IntPtr.Zero) { result = new double[Device.NumAxes]; Marshal.Copy (axes, result, 0, result.Length); } return result; } } } } gtk-sharp-2.12.10/gdk/PangoAttrStipple.custom0000644000175000001440000000361411131157072015735 00000000000000// Gdk.PangoAttrStipple.custom - Gdk PangoAttrStipple class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Gdk.PangoAttrStipple is a reference type now, use null")] public static PangoAttrStipple Zero = null; [Obsolete("Replaced by PangoAttrStipple(IntPtr) constructor")] public static PangoAttrStipple New (IntPtr raw) { return new PangoAttrStipple (raw); } [Obsolete("Replaced by PangoAttrStipple(Gdk.Pixmap) constructor")] public static PangoAttrStipple New (Gdk.Pixmap stipple) { return new PangoAttrStipple (stipple); } [Obsolete("Replaced by explicit Pango.Attribute cast")] public Pango.Attribute Attr { get { return (Pango.Attribute)this; } } [Obsolete ("Replaced by Stipple property.")] public Gdk.Pixmap stipple { get { return Stipple; } set { Stipple = value; } } public static explicit operator Pango.Attribute (PangoAttrStipple attr_stipple) { return Pango.Attribute.GetAttribute (attr_stipple.Handle); } public static explicit operator PangoAttrStipple (Pango.Attribute attr) { return new PangoAttrStipple (attr.Handle); } gtk-sharp-2.12.10/gdk/EventScroll.cs0000644000175000001440000000521011140655011014016 00000000000000// Gdk.EventScroll.cs - Custom scroll event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventScroll : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_scroll_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_scroll_get_x (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_scroll_get_y (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_scroll_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern double gtksharp_gdk_event_scroll_get_y_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_scroll_get_state (IntPtr evt); [DllImport("gdksharpglue-2")] static extern ScrollDirection gtksharp_gdk_event_scroll_get_direction (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_scroll_get_device (IntPtr evt); public EventScroll (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_scroll_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_scroll_get_state (Handle); } } public double X { get { return gtksharp_gdk_event_scroll_get_x (Handle); } } public double Y { get { return gtksharp_gdk_event_scroll_get_y (Handle); } } public double XRoot { get { return gtksharp_gdk_event_scroll_get_x_root (Handle); } } public double YRoot { get { return gtksharp_gdk_event_scroll_get_y_root (Handle); } } public ScrollDirection Direction { get { return gtksharp_gdk_event_scroll_get_direction (Handle); } } public Device Device { get { return GLib.Object.GetObject (gtksharp_gdk_event_scroll_get_device (Handle)) as Device; } } } } gtk-sharp-2.12.10/gdk/Window.custom0000644000175000001440000001341111131157072013740 00000000000000// Gdk.Window.custom - Gdk Window class customizations // // Author: Moritz Balz // Mike Kestner // // Copyright (c) 2003 Moritz Balz // Copyright (c) 2004 - 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Window (Gdk.Window parent, Gdk.WindowAttr attributes, Gdk.WindowAttributesType attributes_mask) : this (parent, attributes, (int)attributes_mask) {} [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_window_get_children(IntPtr raw); public Window[] Children { get { IntPtr raw_ret = gdk_window_get_children(Handle); if (raw_ret == IntPtr.Zero) return new Window [0]; GLib.List list = new GLib.List(raw_ret); Window[] result = new Window [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Window; return result; } } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_window_set_icon_list(IntPtr raw, IntPtr pixbufs); public Pixbuf[] IconList { set { GLib.List list = new GLib.List(IntPtr.Zero); foreach (Pixbuf val in value) list.Append (val.Handle); gdk_window_set_icon_list(Handle, list.Handle); } } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_window_get_toplevels(); public static Window[] Toplevels { get { IntPtr raw_ret = gdk_window_get_toplevels(); if (raw_ret == IntPtr.Zero) return new Window [0]; GLib.List list = new GLib.List(raw_ret); Window[] result = new Window [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Window; return result; } } [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_object_ref (IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_window_destroy(IntPtr raw); public void Destroy () { // native method assumes an outstanding normal ref, but we hold a // toggle ref. take out a normal ref for it to release, and let // Dispose release our toggle ref. g_object_ref (Handle); gdk_window_destroy(Handle); Dispose (); } public void MoveResize (Gdk.Rectangle rect) { gdk_window_move_resize (Handle, rect.X, rect.Y, rect.Width, rect.Height); } public void ClearArea (Gdk.Rectangle rect, bool expose) { if (expose) gdk_window_clear_area_e (Handle, rect.X, rect.Y, rect.Width, rect.Height); else gdk_window_clear_area (Handle, rect.X, rect.Y, rect.Width, rect.Height); } [DllImport ("libgdk-win32-2.0-0.dll")] static extern void gdk_window_get_user_data (IntPtr raw, out IntPtr data); [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_window_set_user_data(IntPtr raw, IntPtr user_data); public IntPtr UserData { get { IntPtr data; gdk_window_get_user_data (Handle, out data); return data; } set { gdk_window_set_user_data(Handle, value); } } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_window_add_filter (IntPtr handle, GdkSharp.FilterFuncNative wrapper, IntPtr data); [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_window_remove_filter (IntPtr handle, GdkSharp.FilterFuncNative wrapper, IntPtr data); static Hashtable filter_all_hash; static Hashtable FilterAllHash { get { if (filter_all_hash == null) filter_all_hash = new Hashtable (); return filter_all_hash; } } public static void AddFilterForAll (FilterFunc func) { GdkSharp.FilterFuncWrapper wrapper = new GdkSharp.FilterFuncWrapper (func); FilterAllHash [func] = wrapper; gdk_window_add_filter (IntPtr.Zero, wrapper.NativeDelegate, IntPtr.Zero); } public static void RemoveFilterForAll (FilterFunc func) { GdkSharp.FilterFuncWrapper wrapper = FilterAllHash [func] as GdkSharp.FilterFuncWrapper; if (wrapper == null) return; FilterAllHash.Remove (func); gdk_window_remove_filter (IntPtr.Zero, wrapper.NativeDelegate, IntPtr.Zero); } public void AddFilter (FilterFunc function) { if (!PersistentData.Contains ("filter_func_hash")) PersistentData ["filter_func_hash"] = new Hashtable (); Hashtable hash = PersistentData ["filter_func_hash"] as Hashtable; GdkSharp.FilterFuncWrapper wrapper = new GdkSharp.FilterFuncWrapper (function); hash [function] = wrapper; gdk_window_add_filter (Handle, wrapper.NativeDelegate, IntPtr.Zero); } public void RemoveFilter (FilterFunc function) { Hashtable hash = PersistentData ["filter_func_hash"] as Hashtable; GdkSharp.FilterFuncWrapper wrapper = hash [function] as GdkSharp.FilterFuncWrapper; if (wrapper == null) return; hash.Remove (function); gdk_window_remove_filter (Handle, wrapper.NativeDelegate, IntPtr.Zero); } #if MANLY_ENOUGH_TO_INCLUDE public Cairo.Graphics CairoGraphics (out int offset_x, out int offset_y) { IntPtr real_drawable; Cairo.Graphics o = new Cairo.Graphics (); gdk_window_get_internal_paint_info (Handle, out real_drawable, out offset_x, out offset_y); IntPtr x11 = gdk_x11_drawable_get_xid (real_drawable); IntPtr display = gdk_x11_drawable_get_xdisplay (real_drawable); o.SetTargetDrawable (display, x11); return o; } public override Cairo.Graphics CairoGraphics () { int x, y; return CairoGraphics (out x, out y); } #endif gtk-sharp-2.12.10/gdk/EdgeTable.custom0000644000175000001440000000223711131157072014311 00000000000000// Gdk.EdgeTable.custom - Gdk EdgeTable class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Scanlines property.")] public Gdk.ScanLineList scanlines { get { Gdk.ScanLineList ret = new Gdk.ScanLineList(_scanlines); if (ret == null) ret = new Gdk.ScanLineList(_scanlines); return ret; } set { _scanlines = value.Handle; } } gtk-sharp-2.12.10/gdk/Input.custom0000644000175000001440000000362411131157072013575 00000000000000// Gdk.Input.custom - Gdk Input class customizations // // Author: Mike Kestner // // Copyright (C) 2005, 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll")] static extern int gdk_input_add_full (int source, int condition, GdkSharp.InputFunctionNative function, IntPtr data, GLib.DestroyNotify destroy); [Obsolete] public static int AddFull (int source, Gdk.InputCondition condition, Gdk.InputFunction function, IntPtr data, Gdk.DestroyNotify destroy) { GdkSharp.InputFunctionWrapper function_wrapper = new GdkSharp.InputFunctionWrapper (function); GCHandle gch = GCHandle.Alloc (function_wrapper); return gdk_input_add_full (source, (int) condition, function_wrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } [Obsolete] public static int Add (int source, Gdk.InputCondition condition, Gdk.InputFunction function) { GdkSharp.InputFunctionWrapper function_wrapper = new GdkSharp.InputFunctionWrapper (function); GCHandle gch = GCHandle.Alloc (function_wrapper); return gdk_input_add_full (source, (int) condition, function_wrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } gtk-sharp-2.12.10/gdk/Gdk.metadata0000644000175000001440000005563711254303646013472 00000000000000 1 1 1 gboolean ref 1 true 1 1 1 false out out 1 CairoHelper 1 1 out out 1 EventHelper 1 1 const-gchar* 1 1 1 1 1 1 1 1 1 /api/namespace/class[@cname='GdkGlobal'] 1 NotifyStartupComplete PangoHelper 1 1 1 1 ref 1 1 1 async 1 1 AddIdle 1 AddTimeout 1 ReleaseMask | 0x1fff InputOutput InputOnly 1 CreateBitmapFromData /api/namespace/object[@cname='GdkPixmap'] 1 ref 1 1 ref 1 public public public public public public 1 1 1 1 1 1 1 GetSupportsComposite GetSupportsInputShapes GetSupportsShapes 1 DragProtocol 1 1 1 1 1 1 1 1 1 n_points 1 out gpointer private private 1 1 GdkPangoRenderer* 1 1 1 1 1 true 1 1 1 1 1 1 1 1 1 1 true 1 true true true 1 1 1 1 GdkDrawable out out 1 out out 1 1 out 1 1 1 1 1 1 1 GdkWindow* true true 1 GdkDrawable 1 1 1 1 out out out out out out 1 call 1 1 1 1 1 1 GetName 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 private 1 out 1 1 n_points call 1 false 128 1 gtk-sharp-2.12.10/gdk/WindowAttr.custom0000644000175000001440000000324311131157072014575 00000000000000// Gdk.WindowAttr.custom - Gdk Window class customizations // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public EventMask Mask { get { return (EventMask) EventMask; } set { EventMask = (int) value; } } [Obsolete ("Replaced by Visual property.")] public Gdk.Visual visual { get { Gdk.Visual ret = (Gdk.Visual) GLib.Object.GetObject(_visual); return ret; } set { _visual = value.Handle; } } [Obsolete ("Replaced by Colormap property.")] public Gdk.Colormap colormap { get { Gdk.Colormap ret = (Gdk.Colormap) GLib.Object.GetObject(_colormap); return ret; } set { _colormap = value.Handle; } } [Obsolete ("Replaced by Cursor property.")] public Gdk.Cursor cursor { get { Gdk.Cursor ret = new Gdk.Cursor(_cursor); if (ret == null) ret = new Gdk.Cursor(_cursor); return ret; } set { _cursor = value.Handle; } } gtk-sharp-2.12.10/gdk/Size.cs0000644000175000001440000000441711131157072012504 00000000000000// Size.cs // // Author: Mike Kestner (mkestner@speakeasy.net) // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Gdk { public struct Size { int width, height; public static readonly Size Empty; public static Size operator + (Size sz1, Size sz2) { return new Size (sz1.Width + sz2.Width, sz1.Height + sz2.Height); } public static bool operator == (Size sz_a, Size sz_b) { return ((sz_a.Width == sz_b.Width) && (sz_a.Height == sz_b.Height)); } public static bool operator != (Size sz_a, Size sz_b) { return ((sz_a.Width != sz_b.Width) || (sz_a.Height != sz_b.Height)); } public static Size operator - (Size sz1, Size sz2) { return new Size (sz1.Width - sz2.Width, sz1.Height - sz2.Height); } public static explicit operator Point (Size sz) { return new Point (sz.Width, sz.Height); } public Size (Point pt) { width = pt.X; height = pt.Y; } public Size (int width, int height) { this.width = width; this.height = height; } public bool IsEmpty { get { return ((width == 0) && (height == 0)); } } public int Width { get { return width; } set { width = value; } } public int Height { get { return height; } set { height = value; } } public override bool Equals (object o) { if (!(o is Size)) return false; return (this == (Size) o); } public override int GetHashCode () { return width^height; } public override string ToString () { return String.Format ("{{Width={0}, Height={1}}}", width, height); } } } gtk-sharp-2.12.10/gdk/gdk-api.raw0000644000175000001440000075604111131157072013301 00000000000000 gtk-sharp-2.12.10/gdk/EventExpose.cs0000644000175000001440000000322211140655011014024 00000000000000// Gdk.EventExpose.cs - Custom expose event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventExpose : Event { [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_expose_get_area (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_expose_get_region (IntPtr evt); [DllImport("gdksharpglue-2")] static extern int gtksharp_gdk_event_expose_get_count (IntPtr evt); public EventExpose (IntPtr raw) : base (raw) {} public Rectangle Area { get { return (Gdk.Rectangle) Marshal.PtrToStructure (gtksharp_gdk_event_expose_get_area (Handle), typeof (Gdk.Rectangle)); } } public int Count { get { return gtksharp_gdk_event_expose_get_count (Handle); } } public Region Region { get { return new Region (gtksharp_gdk_event_expose_get_region (Handle)); } } } } gtk-sharp-2.12.10/gdk/Color.custom0000644000175000001440000000255411131157072013555 00000000000000// Gdk.Color.custom - Gdk Color class customizations // // Author: Jasper van Putten , Miguel de Icaza. // // Copyright (c) 2002 Jasper van Putten // Copyright (c) 2003 Miguel de Icaza. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override string ToString () { return String.Format ("rgb:{0:x}/{1:x}/{2:x}", Red, Green, Blue); } public Color (byte r, byte g, byte b) { Red = (ushort) (r << 8 | r); Green = (ushort) (g << 8 | g); Blue = (ushort) (b << 8 | b); Pixel = 0; } [DllImport("libgdk-win32-2.0-0.dll")] static extern uint gdk_color_hash(ref Gdk.Color raw); public override int GetHashCode() { return (int) gdk_color_hash(ref this); } gtk-sharp-2.12.10/gdk/Keymap.custom0000644000175000001440000000465711131157072013733 00000000000000// Keymap.custom - customizations to Gdk.Keymap // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll")] static extern void g_free(IntPtr ptr); [DllImport("libgdk-win32-2.0-0.dll")] static extern bool gdk_keymap_get_entries_for_keycode(IntPtr raw, uint hardware_keycode, out IntPtr keys, out IntPtr keyvals, out int n_entries); public void GetEntriesForKeycode(uint hardware_keycode, out Gdk.KeymapKey[] keys, out uint[] keyvals) { IntPtr key_ptr, keyval_ptr; int count; if (gdk_keymap_get_entries_for_keycode(Handle, hardware_keycode, out key_ptr, out keyval_ptr, out count)) { keys = new KeymapKey [count]; keyvals = new uint [count]; int[] tmp = new int [count]; Marshal.Copy (keyval_ptr, tmp, 0, count); for (int i = 0; i < count; i++) { IntPtr ptr = new IntPtr ((long) key_ptr + i * Marshal.SizeOf (typeof (KeymapKey))); keyvals [i] = (uint) tmp [i]; keys [i] = KeymapKey.New (ptr); } g_free (key_ptr); g_free (keyval_ptr); } else { keys = new KeymapKey [0]; keyvals = new uint [0]; } } [DllImport("libgdk-win32-2.0-0.dll")] static extern bool gdk_keymap_get_entries_for_keyval(IntPtr raw, uint keyval, out IntPtr keys, out int n_keys); public KeymapKey[] GetEntriesForKeyval (uint keyval) { IntPtr key_ptr; int count; if (gdk_keymap_get_entries_for_keyval(Handle, keyval, out key_ptr, out count)) { KeymapKey[] result = new KeymapKey [count]; for (int i = 0; i < count; i++) { IntPtr ptr = new IntPtr ((long) key_ptr + i * Marshal.SizeOf (typeof (KeymapKey))); result [i] = KeymapKey.New (ptr); } g_free (key_ptr); return result; } else return new KeymapKey [0]; } gtk-sharp-2.12.10/gdk/PangoAttrEmbossed.custom0000644000175000001440000000332511131157072016055 00000000000000// Gdk.PangoAttrEmbossed.custom - Gdk PangoAttrEmbossed class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Gdk.PangoAttrEmbossed is a reference type now, use null")] public static PangoAttrEmbossed Zero = null; [Obsolete("Replaced by PangoAttrEmbossed(IntPtr) constructor")] public static PangoAttrEmbossed New (IntPtr raw) { return new PangoAttrEmbossed (raw); } [Obsolete("Replaced by PangoAttrEmbossed(bool) constructor")] public static PangoAttrEmbossed New (bool embossed) { return new PangoAttrEmbossed (embossed); } [Obsolete("Replaced by explicit Pango.Attribute cast")] public Pango.Attribute Attr { get { return (Pango.Attribute)this; } } public static explicit operator Pango.Attribute (PangoAttrEmbossed attr_embossed) { return Pango.Attribute.GetAttribute (attr_embossed.Handle); } public static explicit operator PangoAttrEmbossed (Pango.Attribute attr) { return new PangoAttrEmbossed (attr.Handle); } gtk-sharp-2.12.10/gdk/Atom.custom0000644000175000001440000000141011131157072013365 00000000000000// Atom.custom // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public static implicit operator string (Gdk.Atom atom) { return atom.Name; } gtk-sharp-2.12.10/gdk/EventClient.cs0000644000175000001440000000423011140655011013777 00000000000000// Gdk.EventClient.cs - Custom client event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventClient : Event { [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_client_get_message_type (IntPtr evt); [DllImport("gdksharpglue-2")] static extern ushort gtksharp_gdk_event_client_get_data_format (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_client_get_data (IntPtr evt); public EventClient (IntPtr raw) : base (raw) {} public Atom MessageType { get { return new Atom (gtksharp_gdk_event_client_get_message_type (Handle)); } } public ushort DataFormat { get { return gtksharp_gdk_event_client_get_data_format (Handle); } } public Array Data { get { switch (DataFormat) { case 8: byte[] b = new byte [20]; Marshal.Copy (b, 0, gtksharp_gdk_event_client_get_data (Handle), 20); return b; case 16: short[] s = new short [10]; Marshal.Copy (s, 0, gtksharp_gdk_event_client_get_data (Handle), 10); return s; case 32: IntPtr data_ptr = gtksharp_gdk_event_client_get_data (Handle); long[] l = new long [5]; for (int i = 0; i < 5; i++) l [i] = (long) Marshal.ReadIntPtr (data_ptr, i * IntPtr.Size); return l; default: throw new Exception ("Invalid Data Format: " + DataFormat); } } } } } gtk-sharp-2.12.10/gdk/DisplayManager.custom0000644000175000001440000000242711131157072015376 00000000000000// DisplayManager.custom - customizations to Gdk.DisplayManager // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_display_manager_list_displays (IntPtr raw); public Display[] ListDisplays () { IntPtr raw_ret = gdk_display_manager_list_displays (Handle); if (raw_ret == IntPtr.Zero) return new Display [0]; GLib.SList list = new GLib.SList(raw_ret); Display[] result = new Display [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Display; return result; } gtk-sharp-2.12.10/gdk/PixbufFrame.custom0000644000175000001440000000302311131157072014677 00000000000000// Gdk.PixbufFrame.custom - Gdk PixbufFrame class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Pixbuf property.")] public Gdk.Pixbuf pixbuf { get { Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(_pixbuf); return ret; } set { _pixbuf = value.Handle; } } [Obsolete ("Replaced by Composited property.")] public Gdk.Pixbuf composited { get { Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(_composited); return ret; } set { _composited = value.Handle; } } [Obsolete ("Replaced by Revert property.")] public Gdk.Pixbuf revert { get { Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(_revert); return ret; } set { _revert = value.Handle; } } gtk-sharp-2.12.10/gdk/DragContext.custom0000644000175000001440000000221311140655006014711 00000000000000// // gdk/DragContext.custom // // Author: Ettore Perazzoli // // Copyright (C) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_drag_context_get_targets (IntPtr ptr); public Atom [] Targets { get { GLib.List list = new GLib.List (gtksharp_drag_context_get_targets (this.Handle), typeof (Atom)); Atom [] entries = new Atom [list.Count]; int i = 0; foreach (Atom a in list) entries [i ++] = a; return entries; } } gtk-sharp-2.12.10/gdk/Key.cs0000644000175000001440000007236711131157072012333 00000000000000// Generated File. Do not modify. namespace Gdk { public enum Key { VoidSymbol = 0xFFFFFF, BackSpace = 0xFF08, Tab = 0xFF09, Linefeed = 0xFF0A, Clear = 0xFF0B, Return = 0xFF0D, Pause = 0xFF13, Scroll_Lock = 0xFF14, Sys_Req = 0xFF15, Escape = 0xFF1B, Delete = 0xFFFF, Multi_key = 0xFF20, Codeinput = 0xFF37, SingleCandidate = 0xFF3C, MultipleCandidate = 0xFF3D, PreviousCandidate = 0xFF3E, Kanji = 0xFF21, Muhenkan = 0xFF22, Henkan_Mode = 0xFF23, Henkan = 0xFF23, Romaji = 0xFF24, Hiragana = 0xFF25, Katakana = 0xFF26, Hiragana_Katakana = 0xFF27, Zenkaku = 0xFF28, Hankaku = 0xFF29, Zenkaku_Hankaku = 0xFF2A, Touroku = 0xFF2B, Massyo = 0xFF2C, Kana_Lock = 0xFF2D, Kana_Shift = 0xFF2E, Eisu_Shift = 0xFF2F, Eisu_toggle = 0xFF30, Kanji_Bangou = 0xFF37, Zen_Koho = 0xFF3D, Mae_Koho = 0xFF3E, Home = 0xFF50, Left = 0xFF51, Up = 0xFF52, Right = 0xFF53, Down = 0xFF54, Prior = 0xFF55, Page_Up = 0xFF55, Next = 0xFF56, Page_Down = 0xFF56, End = 0xFF57, Begin = 0xFF58, Select = 0xFF60, Print = 0xFF61, Execute = 0xFF62, Insert = 0xFF63, Undo = 0xFF65, Redo = 0xFF66, Menu = 0xFF67, Find = 0xFF68, Cancel = 0xFF69, Help = 0xFF6A, Break = 0xFF6B, Mode_switch = 0xFF7E, script_switch = 0xFF7E, Num_Lock = 0xFF7F, KP_Space = 0xFF80, KP_Tab = 0xFF89, KP_Enter = 0xFF8D, KP_F1 = 0xFF91, KP_F2 = 0xFF92, KP_F3 = 0xFF93, KP_F4 = 0xFF94, KP_Home = 0xFF95, KP_Left = 0xFF96, KP_Up = 0xFF97, KP_Right = 0xFF98, KP_Down = 0xFF99, KP_Prior = 0xFF9A, KP_Page_Up = 0xFF9A, KP_Next = 0xFF9B, KP_Page_Down = 0xFF9B, KP_End = 0xFF9C, KP_Begin = 0xFF9D, KP_Insert = 0xFF9E, KP_Delete = 0xFF9F, KP_Equal = 0xFFBD, KP_Multiply = 0xFFAA, KP_Add = 0xFFAB, KP_Separator = 0xFFAC, KP_Subtract = 0xFFAD, KP_Decimal = 0xFFAE, KP_Divide = 0xFFAF, KP_0 = 0xFFB0, KP_1 = 0xFFB1, KP_2 = 0xFFB2, KP_3 = 0xFFB3, KP_4 = 0xFFB4, KP_5 = 0xFFB5, KP_6 = 0xFFB6, KP_7 = 0xFFB7, KP_8 = 0xFFB8, KP_9 = 0xFFB9, F1 = 0xFFBE, F2 = 0xFFBF, F3 = 0xFFC0, F4 = 0xFFC1, F5 = 0xFFC2, F6 = 0xFFC3, F7 = 0xFFC4, F8 = 0xFFC5, F9 = 0xFFC6, F10 = 0xFFC7, F11 = 0xFFC8, L1 = 0xFFC8, F12 = 0xFFC9, L2 = 0xFFC9, F13 = 0xFFCA, L3 = 0xFFCA, F14 = 0xFFCB, L4 = 0xFFCB, F15 = 0xFFCC, L5 = 0xFFCC, F16 = 0xFFCD, L6 = 0xFFCD, F17 = 0xFFCE, L7 = 0xFFCE, F18 = 0xFFCF, L8 = 0xFFCF, F19 = 0xFFD0, L9 = 0xFFD0, F20 = 0xFFD1, L10 = 0xFFD1, F21 = 0xFFD2, R1 = 0xFFD2, F22 = 0xFFD3, R2 = 0xFFD3, F23 = 0xFFD4, R3 = 0xFFD4, F24 = 0xFFD5, R4 = 0xFFD5, F25 = 0xFFD6, R5 = 0xFFD6, F26 = 0xFFD7, R6 = 0xFFD7, F27 = 0xFFD8, R7 = 0xFFD8, F28 = 0xFFD9, R8 = 0xFFD9, F29 = 0xFFDA, R9 = 0xFFDA, F30 = 0xFFDB, R10 = 0xFFDB, F31 = 0xFFDC, R11 = 0xFFDC, F32 = 0xFFDD, R12 = 0xFFDD, F33 = 0xFFDE, R13 = 0xFFDE, F34 = 0xFFDF, R14 = 0xFFDF, F35 = 0xFFE0, R15 = 0xFFE0, Shift_L = 0xFFE1, Shift_R = 0xFFE2, Control_L = 0xFFE3, Control_R = 0xFFE4, Caps_Lock = 0xFFE5, Shift_Lock = 0xFFE6, Meta_L = 0xFFE7, Meta_R = 0xFFE8, Alt_L = 0xFFE9, Alt_R = 0xFFEA, Super_L = 0xFFEB, Super_R = 0xFFEC, Hyper_L = 0xFFED, Hyper_R = 0xFFEE, ISO_Lock = 0xFE01, ISO_Level2_Latch = 0xFE02, ISO_Level3_Shift = 0xFE03, ISO_Level3_Latch = 0xFE04, ISO_Level3_Lock = 0xFE05, ISO_Group_Shift = 0xFF7E, ISO_Group_Latch = 0xFE06, ISO_Group_Lock = 0xFE07, ISO_Next_Group = 0xFE08, ISO_Next_Group_Lock = 0xFE09, ISO_Prev_Group = 0xFE0A, ISO_Prev_Group_Lock = 0xFE0B, ISO_First_Group = 0xFE0C, ISO_First_Group_Lock = 0xFE0D, ISO_Last_Group = 0xFE0E, ISO_Last_Group_Lock = 0xFE0F, ISO_Left_Tab = 0xFE20, ISO_Move_Line_Up = 0xFE21, ISO_Move_Line_Down = 0xFE22, ISO_Partial_Line_Up = 0xFE23, ISO_Partial_Line_Down = 0xFE24, ISO_Partial_Space_Left = 0xFE25, ISO_Partial_Space_Right = 0xFE26, ISO_Set_Margin_Left = 0xFE27, ISO_Set_Margin_Right = 0xFE28, ISO_Release_Margin_Left = 0xFE29, ISO_Release_Margin_Right = 0xFE2A, ISO_Release_Both_Margins = 0xFE2B, ISO_Fast_Cursor_Left = 0xFE2C, ISO_Fast_Cursor_Right = 0xFE2D, ISO_Fast_Cursor_Up = 0xFE2E, ISO_Fast_Cursor_Down = 0xFE2F, ISO_Continuous_Underline = 0xFE30, ISO_Discontinuous_Underline = 0xFE31, ISO_Emphasize = 0xFE32, ISO_Center_Object = 0xFE33, ISO_Enter = 0xFE34, dead_grave = 0xFE50, dead_acute = 0xFE51, dead_circumflex = 0xFE52, dead_tilde = 0xFE53, dead_macron = 0xFE54, dead_breve = 0xFE55, dead_abovedot = 0xFE56, dead_diaeresis = 0xFE57, dead_abovering = 0xFE58, dead_doubleacute = 0xFE59, dead_caron = 0xFE5A, dead_cedilla = 0xFE5B, dead_ogonek = 0xFE5C, dead_iota = 0xFE5D, dead_voiced_sound = 0xFE5E, dead_semivoiced_sound = 0xFE5F, dead_belowdot = 0xFE60, First_Virtual_Screen = 0xFED0, Prev_Virtual_Screen = 0xFED1, Next_Virtual_Screen = 0xFED2, Last_Virtual_Screen = 0xFED4, Terminate_Server = 0xFED5, AccessX_Enable = 0xFE70, AccessX_Feedback_Enable = 0xFE71, RepeatKeys_Enable = 0xFE72, SlowKeys_Enable = 0xFE73, BounceKeys_Enable = 0xFE74, StickyKeys_Enable = 0xFE75, MouseKeys_Enable = 0xFE76, MouseKeys_Accel_Enable = 0xFE77, Overlay1_Enable = 0xFE78, Overlay2_Enable = 0xFE79, AudibleBell_Enable = 0xFE7A, Pointer_Left = 0xFEE0, Pointer_Right = 0xFEE1, Pointer_Up = 0xFEE2, Pointer_Down = 0xFEE3, Pointer_UpLeft = 0xFEE4, Pointer_UpRight = 0xFEE5, Pointer_DownLeft = 0xFEE6, Pointer_DownRight = 0xFEE7, Pointer_Button_Dflt = 0xFEE8, Pointer_Button1 = 0xFEE9, Pointer_Button2 = 0xFEEA, Pointer_Button3 = 0xFEEB, Pointer_Button4 = 0xFEEC, Pointer_Button5 = 0xFEED, Pointer_DblClick_Dflt = 0xFEEE, Pointer_DblClick1 = 0xFEEF, Pointer_DblClick2 = 0xFEF0, Pointer_DblClick3 = 0xFEF1, Pointer_DblClick4 = 0xFEF2, Pointer_DblClick5 = 0xFEF3, Pointer_Drag_Dflt = 0xFEF4, Pointer_Drag1 = 0xFEF5, Pointer_Drag2 = 0xFEF6, Pointer_Drag3 = 0xFEF7, Pointer_Drag4 = 0xFEF8, Pointer_Drag5 = 0xFEFD, Pointer_EnableKeys = 0xFEF9, Pointer_Accelerate = 0xFEFA, Pointer_DfltBtnNext = 0xFEFB, Pointer_DfltBtnPrev = 0xFEFC, Key_3270_Duplicate = 0xFD01, Key_3270_FieldMark = 0xFD02, Key_3270_Right2 = 0xFD03, Key_3270_Left2 = 0xFD04, Key_3270_BackTab = 0xFD05, Key_3270_EraseEOF = 0xFD06, Key_3270_EraseInput = 0xFD07, Key_3270_Reset = 0xFD08, Key_3270_Quit = 0xFD09, Key_3270_PA1 = 0xFD0A, Key_3270_PA2 = 0xFD0B, Key_3270_PA3 = 0xFD0C, Key_3270_Test = 0xFD0D, Key_3270_Attn = 0xFD0E, Key_3270_CursorBlink = 0xFD0F, Key_3270_AltCursor = 0xFD10, Key_3270_KeyClick = 0xFD11, Key_3270_Jump = 0xFD12, Key_3270_Ident = 0xFD13, Key_3270_Rule = 0xFD14, Key_3270_Copy = 0xFD15, Key_3270_Play = 0xFD16, Key_3270_Setup = 0xFD17, Key_3270_Record = 0xFD18, Key_3270_ChangeScreen = 0xFD19, Key_3270_DeleteWord = 0xFD1A, Key_3270_ExSelect = 0xFD1B, Key_3270_CursorSelect = 0xFD1C, Key_3270_PrintScreen = 0xFD1D, Key_3270_Enter = 0xFD1E, space = 0x020, exclam = 0x021, quotedbl = 0x022, numbersign = 0x023, dollar = 0x024, percent = 0x025, ampersand = 0x026, apostrophe = 0x027, quoteright = 0x027, parenleft = 0x028, parenright = 0x029, asterisk = 0x02a, plus = 0x02b, comma = 0x02c, minus = 0x02d, period = 0x02e, slash = 0x02f, Key_0 = 0x030, Key_1 = 0x031, Key_2 = 0x032, Key_3 = 0x033, Key_4 = 0x034, Key_5 = 0x035, Key_6 = 0x036, Key_7 = 0x037, Key_8 = 0x038, Key_9 = 0x039, colon = 0x03a, semicolon = 0x03b, less = 0x03c, equal = 0x03d, greater = 0x03e, question = 0x03f, at = 0x040, A = 0x041, B = 0x042, C = 0x043, D = 0x044, E = 0x045, F = 0x046, G = 0x047, H = 0x048, I = 0x049, J = 0x04a, K = 0x04b, L = 0x04c, M = 0x04d, N = 0x04e, O = 0x04f, P = 0x050, Q = 0x051, R = 0x052, S = 0x053, T = 0x054, U = 0x055, V = 0x056, W = 0x057, X = 0x058, Y = 0x059, Z = 0x05a, bracketleft = 0x05b, backslash = 0x05c, bracketright = 0x05d, asciicircum = 0x05e, underscore = 0x05f, grave = 0x060, quoteleft = 0x060, a = 0x061, b = 0x062, c = 0x063, d = 0x064, e = 0x065, f = 0x066, g = 0x067, h = 0x068, i = 0x069, j = 0x06a, k = 0x06b, l = 0x06c, m = 0x06d, n = 0x06e, o = 0x06f, p = 0x070, q = 0x071, r = 0x072, s = 0x073, t = 0x074, u = 0x075, v = 0x076, w = 0x077, x = 0x078, y = 0x079, z = 0x07a, braceleft = 0x07b, bar = 0x07c, braceright = 0x07d, asciitilde = 0x07e, nobreakspace = 0x0a0, exclamdown = 0x0a1, cent = 0x0a2, sterling = 0x0a3, currency = 0x0a4, yen = 0x0a5, brokenbar = 0x0a6, section = 0x0a7, diaeresis = 0x0a8, copyright = 0x0a9, ordfeminine = 0x0aa, guillemotleft = 0x0ab, notsign = 0x0ac, hyphen = 0x0ad, registered = 0x0ae, macron = 0x0af, degree = 0x0b0, plusminus = 0x0b1, twosuperior = 0x0b2, threesuperior = 0x0b3, acute = 0x0b4, mu = 0x0b5, paragraph = 0x0b6, periodcentered = 0x0b7, cedilla = 0x0b8, onesuperior = 0x0b9, masculine = 0x0ba, guillemotright = 0x0bb, onequarter = 0x0bc, onehalf = 0x0bd, threequarters = 0x0be, questiondown = 0x0bf, Agrave = 0x0c0, Aacute = 0x0c1, Acircumflex = 0x0c2, Atilde = 0x0c3, Adiaeresis = 0x0c4, Aring = 0x0c5, AE = 0x0c6, Ccedilla = 0x0c7, Egrave = 0x0c8, Eacute = 0x0c9, Ecircumflex = 0x0ca, Ediaeresis = 0x0cb, Igrave = 0x0cc, Iacute = 0x0cd, Icircumflex = 0x0ce, Idiaeresis = 0x0cf, ETH = 0x0d0, Eth = 0x0d0, Ntilde = 0x0d1, Ograve = 0x0d2, Oacute = 0x0d3, Ocircumflex = 0x0d4, Otilde = 0x0d5, Odiaeresis = 0x0d6, multiply = 0x0d7, Ooblique = 0x0d8, Ugrave = 0x0d9, Uacute = 0x0da, Ucircumflex = 0x0db, Udiaeresis = 0x0dc, Yacute = 0x0dd, THORN = 0x0de, Thorn = 0x0de, ssharp = 0x0df, agrave = 0x0e0, aacute = 0x0e1, acircumflex = 0x0e2, atilde = 0x0e3, adiaeresis = 0x0e4, aring = 0x0e5, ae = 0x0e6, ccedilla = 0x0e7, egrave = 0x0e8, eacute = 0x0e9, ecircumflex = 0x0ea, ediaeresis = 0x0eb, igrave = 0x0ec, iacute = 0x0ed, icircumflex = 0x0ee, idiaeresis = 0x0ef, eth = 0x0f0, ntilde = 0x0f1, ograve = 0x0f2, oacute = 0x0f3, ocircumflex = 0x0f4, otilde = 0x0f5, odiaeresis = 0x0f6, division = 0x0f7, oslash = 0x0f8, ugrave = 0x0f9, uacute = 0x0fa, ucircumflex = 0x0fb, udiaeresis = 0x0fc, yacute = 0x0fd, thorn = 0x0fe, ydiaeresis = 0x0ff, Aogonek = 0x1a1, breve = 0x1a2, Lstroke = 0x1a3, Lcaron = 0x1a5, Sacute = 0x1a6, Scaron = 0x1a9, Scedilla = 0x1aa, Tcaron = 0x1ab, Zacute = 0x1ac, Zcaron = 0x1ae, Zabovedot = 0x1af, aogonek = 0x1b1, ogonek = 0x1b2, lstroke = 0x1b3, lcaron = 0x1b5, sacute = 0x1b6, caron = 0x1b7, scaron = 0x1b9, scedilla = 0x1ba, tcaron = 0x1bb, zacute = 0x1bc, doubleacute = 0x1bd, zcaron = 0x1be, zabovedot = 0x1bf, Racute = 0x1c0, Abreve = 0x1c3, Lacute = 0x1c5, Cacute = 0x1c6, Ccaron = 0x1c8, Eogonek = 0x1ca, Ecaron = 0x1cc, Dcaron = 0x1cf, Dstroke = 0x1d0, Nacute = 0x1d1, Ncaron = 0x1d2, Odoubleacute = 0x1d5, Rcaron = 0x1d8, Uring = 0x1d9, Udoubleacute = 0x1db, Tcedilla = 0x1de, racute = 0x1e0, abreve = 0x1e3, lacute = 0x1e5, cacute = 0x1e6, ccaron = 0x1e8, eogonek = 0x1ea, ecaron = 0x1ec, dcaron = 0x1ef, dstroke = 0x1f0, nacute = 0x1f1, ncaron = 0x1f2, odoubleacute = 0x1f5, udoubleacute = 0x1fb, rcaron = 0x1f8, uring = 0x1f9, tcedilla = 0x1fe, abovedot = 0x1ff, Hstroke = 0x2a1, Hcircumflex = 0x2a6, Iabovedot = 0x2a9, Gbreve = 0x2ab, Jcircumflex = 0x2ac, hstroke = 0x2b1, hcircumflex = 0x2b6, idotless = 0x2b9, gbreve = 0x2bb, jcircumflex = 0x2bc, Cabovedot = 0x2c5, Ccircumflex = 0x2c6, Gabovedot = 0x2d5, Gcircumflex = 0x2d8, Ubreve = 0x2dd, Scircumflex = 0x2de, cabovedot = 0x2e5, ccircumflex = 0x2e6, gabovedot = 0x2f5, gcircumflex = 0x2f8, ubreve = 0x2fd, scircumflex = 0x2fe, kra = 0x3a2, kappa = 0x3a2, Rcedilla = 0x3a3, Itilde = 0x3a5, Lcedilla = 0x3a6, Emacron = 0x3aa, Gcedilla = 0x3ab, Tslash = 0x3ac, rcedilla = 0x3b3, itilde = 0x3b5, lcedilla = 0x3b6, emacron = 0x3ba, gcedilla = 0x3bb, tslash = 0x3bc, ENG = 0x3bd, eng = 0x3bf, Amacron = 0x3c0, Iogonek = 0x3c7, Eabovedot = 0x3cc, Imacron = 0x3cf, Ncedilla = 0x3d1, Omacron = 0x3d2, Kcedilla = 0x3d3, Uogonek = 0x3d9, Utilde = 0x3dd, Umacron = 0x3de, amacron = 0x3e0, iogonek = 0x3e7, eabovedot = 0x3ec, imacron = 0x3ef, ncedilla = 0x3f1, omacron = 0x3f2, kcedilla = 0x3f3, uogonek = 0x3f9, utilde = 0x3fd, umacron = 0x3fe, OE = 0x13bc, oe = 0x13bd, Ydiaeresis = 0x13be, overline = 0x47e, kana_fullstop = 0x4a1, kana_openingbracket = 0x4a2, kana_closingbracket = 0x4a3, kana_comma = 0x4a4, kana_conjunctive = 0x4a5, kana_middledot = 0x4a5, kana_WO = 0x4a6, kana_a = 0x4a7, kana_i = 0x4a8, kana_u = 0x4a9, kana_e = 0x4aa, kana_o = 0x4ab, kana_ya = 0x4ac, kana_yu = 0x4ad, kana_yo = 0x4ae, kana_tsu = 0x4af, kana_tu = 0x4af, prolongedsound = 0x4b0, kana_A = 0x4b1, kana_I = 0x4b2, kana_U = 0x4b3, kana_E = 0x4b4, kana_O = 0x4b5, kana_KA = 0x4b6, kana_KI = 0x4b7, kana_KU = 0x4b8, kana_KE = 0x4b9, kana_KO = 0x4ba, kana_SA = 0x4bb, kana_SHI = 0x4bc, kana_SU = 0x4bd, kana_SE = 0x4be, kana_SO = 0x4bf, kana_TA = 0x4c0, kana_CHI = 0x4c1, kana_TI = 0x4c1, kana_TSU = 0x4c2, kana_TU = 0x4c2, kana_TE = 0x4c3, kana_TO = 0x4c4, kana_NA = 0x4c5, kana_NI = 0x4c6, kana_NU = 0x4c7, kana_NE = 0x4c8, kana_NO = 0x4c9, kana_HA = 0x4ca, kana_HI = 0x4cb, kana_FU = 0x4cc, kana_HU = 0x4cc, kana_HE = 0x4cd, kana_HO = 0x4ce, kana_MA = 0x4cf, kana_MI = 0x4d0, kana_MU = 0x4d1, kana_ME = 0x4d2, kana_MO = 0x4d3, kana_YA = 0x4d4, kana_YU = 0x4d5, kana_YO = 0x4d6, kana_RA = 0x4d7, kana_RI = 0x4d8, kana_RU = 0x4d9, kana_RE = 0x4da, kana_RO = 0x4db, kana_WA = 0x4dc, kana_N = 0x4dd, voicedsound = 0x4de, semivoicedsound = 0x4df, kana_switch = 0xFF7E, Arabic_comma = 0x5ac, Arabic_semicolon = 0x5bb, Arabic_question_mark = 0x5bf, Arabic_hamza = 0x5c1, Arabic_maddaonalef = 0x5c2, Arabic_hamzaonalef = 0x5c3, Arabic_hamzaonwaw = 0x5c4, Arabic_hamzaunderalef = 0x5c5, Arabic_hamzaonyeh = 0x5c6, Arabic_alef = 0x5c7, Arabic_beh = 0x5c8, Arabic_tehmarbuta = 0x5c9, Arabic_teh = 0x5ca, Arabic_theh = 0x5cb, Arabic_jeem = 0x5cc, Arabic_hah = 0x5cd, Arabic_khah = 0x5ce, Arabic_dal = 0x5cf, Arabic_thal = 0x5d0, Arabic_ra = 0x5d1, Arabic_zain = 0x5d2, Arabic_seen = 0x5d3, Arabic_sheen = 0x5d4, Arabic_sad = 0x5d5, Arabic_dad = 0x5d6, Arabic_tah = 0x5d7, Arabic_zah = 0x5d8, Arabic_ain = 0x5d9, Arabic_ghain = 0x5da, Arabic_tatweel = 0x5e0, Arabic_feh = 0x5e1, Arabic_qaf = 0x5e2, Arabic_kaf = 0x5e3, Arabic_lam = 0x5e4, Arabic_meem = 0x5e5, Arabic_noon = 0x5e6, Arabic_ha = 0x5e7, Arabic_heh = 0x5e7, Arabic_waw = 0x5e8, Arabic_alefmaksura = 0x5e9, Arabic_yeh = 0x5ea, Arabic_fathatan = 0x5eb, Arabic_dammatan = 0x5ec, Arabic_kasratan = 0x5ed, Arabic_fatha = 0x5ee, Arabic_damma = 0x5ef, Arabic_kasra = 0x5f0, Arabic_shadda = 0x5f1, Arabic_sukun = 0x5f2, Arabic_switch = 0xFF7E, Serbian_dje = 0x6a1, Macedonia_gje = 0x6a2, Cyrillic_io = 0x6a3, Ukrainian_ie = 0x6a4, Ukranian_je = 0x6a4, Macedonia_dse = 0x6a5, Ukrainian_i = 0x6a6, Ukranian_i = 0x6a6, Ukrainian_yi = 0x6a7, Ukranian_yi = 0x6a7, Cyrillic_je = 0x6a8, Serbian_je = 0x6a8, Cyrillic_lje = 0x6a9, Serbian_lje = 0x6a9, Cyrillic_nje = 0x6aa, Serbian_nje = 0x6aa, Serbian_tshe = 0x6ab, Macedonia_kje = 0x6ac, Byelorussian_shortu = 0x6ae, Cyrillic_dzhe = 0x6af, Serbian_dze = 0x6af, numerosign = 0x6b0, Serbian_DJE = 0x6b1, Macedonia_GJE = 0x6b2, Cyrillic_IO = 0x6b3, Ukrainian_IE = 0x6b4, Ukranian_JE = 0x6b4, Macedonia_DSE = 0x6b5, Ukrainian_I = 0x6b6, Ukranian_I = 0x6b6, Ukrainian_YI = 0x6b7, Ukranian_YI = 0x6b7, Cyrillic_JE = 0x6b8, Serbian_JE = 0x6b8, Cyrillic_LJE = 0x6b9, Serbian_LJE = 0x6b9, Cyrillic_NJE = 0x6ba, Serbian_NJE = 0x6ba, Serbian_TSHE = 0x6bb, Macedonia_KJE = 0x6bc, Byelorussian_SHORTU = 0x6be, Cyrillic_DZHE = 0x6bf, Serbian_DZE = 0x6bf, Cyrillic_yu = 0x6c0, Cyrillic_a = 0x6c1, Cyrillic_be = 0x6c2, Cyrillic_tse = 0x6c3, Cyrillic_de = 0x6c4, Cyrillic_ie = 0x6c5, Cyrillic_ef = 0x6c6, Cyrillic_ghe = 0x6c7, Cyrillic_ha = 0x6c8, Cyrillic_i = 0x6c9, Cyrillic_shorti = 0x6ca, Cyrillic_ka = 0x6cb, Cyrillic_el = 0x6cc, Cyrillic_em = 0x6cd, Cyrillic_en = 0x6ce, Cyrillic_o = 0x6cf, Cyrillic_pe = 0x6d0, Cyrillic_ya = 0x6d1, Cyrillic_er = 0x6d2, Cyrillic_es = 0x6d3, Cyrillic_te = 0x6d4, Cyrillic_u = 0x6d5, Cyrillic_zhe = 0x6d6, Cyrillic_ve = 0x6d7, Cyrillic_softsign = 0x6d8, Cyrillic_yeru = 0x6d9, Cyrillic_ze = 0x6da, Cyrillic_sha = 0x6db, Cyrillic_e = 0x6dc, Cyrillic_shcha = 0x6dd, Cyrillic_che = 0x6de, Cyrillic_hardsign = 0x6df, Cyrillic_YU = 0x6e0, Cyrillic_A = 0x6e1, Cyrillic_BE = 0x6e2, Cyrillic_TSE = 0x6e3, Cyrillic_DE = 0x6e4, Cyrillic_IE = 0x6e5, Cyrillic_EF = 0x6e6, Cyrillic_GHE = 0x6e7, Cyrillic_HA = 0x6e8, Cyrillic_I = 0x6e9, Cyrillic_SHORTI = 0x6ea, Cyrillic_KA = 0x6eb, Cyrillic_EL = 0x6ec, Cyrillic_EM = 0x6ed, Cyrillic_EN = 0x6ee, Cyrillic_O = 0x6ef, Cyrillic_PE = 0x6f0, Cyrillic_YA = 0x6f1, Cyrillic_ER = 0x6f2, Cyrillic_ES = 0x6f3, Cyrillic_TE = 0x6f4, Cyrillic_U = 0x6f5, Cyrillic_ZHE = 0x6f6, Cyrillic_VE = 0x6f7, Cyrillic_SOFTSIGN = 0x6f8, Cyrillic_YERU = 0x6f9, Cyrillic_ZE = 0x6fa, Cyrillic_SHA = 0x6fb, Cyrillic_E = 0x6fc, Cyrillic_SHCHA = 0x6fd, Cyrillic_CHE = 0x6fe, Cyrillic_HARDSIGN = 0x6ff, Greek_ALPHAaccent = 0x7a1, Greek_EPSILONaccent = 0x7a2, Greek_ETAaccent = 0x7a3, Greek_IOTAaccent = 0x7a4, Greek_IOTAdiaeresis = 0x7a5, Greek_OMICRONaccent = 0x7a7, Greek_UPSILONaccent = 0x7a8, Greek_UPSILONdieresis = 0x7a9, Greek_OMEGAaccent = 0x7ab, Greek_accentdieresis = 0x7ae, Greek_horizbar = 0x7af, Greek_alphaaccent = 0x7b1, Greek_epsilonaccent = 0x7b2, Greek_etaaccent = 0x7b3, Greek_iotaaccent = 0x7b4, Greek_iotadieresis = 0x7b5, Greek_iotaaccentdieresis = 0x7b6, Greek_omicronaccent = 0x7b7, Greek_upsilonaccent = 0x7b8, Greek_upsilondieresis = 0x7b9, Greek_upsilonaccentdieresis = 0x7ba, Greek_omegaaccent = 0x7bb, Greek_ALPHA = 0x7c1, Greek_BETA = 0x7c2, Greek_GAMMA = 0x7c3, Greek_DELTA = 0x7c4, Greek_EPSILON = 0x7c5, Greek_ZETA = 0x7c6, Greek_ETA = 0x7c7, Greek_THETA = 0x7c8, Greek_IOTA = 0x7c9, Greek_KAPPA = 0x7ca, Greek_LAMDA = 0x7cb, Greek_LAMBDA = 0x7cb, Greek_MU = 0x7cc, Greek_NU = 0x7cd, Greek_XI = 0x7ce, Greek_OMICRON = 0x7cf, Greek_PI = 0x7d0, Greek_RHO = 0x7d1, Greek_SIGMA = 0x7d2, Greek_TAU = 0x7d4, Greek_UPSILON = 0x7d5, Greek_PHI = 0x7d6, Greek_CHI = 0x7d7, Greek_PSI = 0x7d8, Greek_OMEGA = 0x7d9, Greek_alpha = 0x7e1, Greek_beta = 0x7e2, Greek_gamma = 0x7e3, Greek_delta = 0x7e4, Greek_epsilon = 0x7e5, Greek_zeta = 0x7e6, Greek_eta = 0x7e7, Greek_theta = 0x7e8, Greek_iota = 0x7e9, Greek_kappa = 0x7ea, Greek_lamda = 0x7eb, Greek_lambda = 0x7eb, Greek_mu = 0x7ec, Greek_nu = 0x7ed, Greek_xi = 0x7ee, Greek_omicron = 0x7ef, Greek_pi = 0x7f0, Greek_rho = 0x7f1, Greek_sigma = 0x7f2, Greek_finalsmallsigma = 0x7f3, Greek_tau = 0x7f4, Greek_upsilon = 0x7f5, Greek_phi = 0x7f6, Greek_chi = 0x7f7, Greek_psi = 0x7f8, Greek_omega = 0x7f9, Greek_switch = 0xFF7E, leftradical = 0x8a1, topleftradical = 0x8a2, horizconnector = 0x8a3, topintegral = 0x8a4, botintegral = 0x8a5, vertconnector = 0x8a6, topleftsqbracket = 0x8a7, botleftsqbracket = 0x8a8, toprightsqbracket = 0x8a9, botrightsqbracket = 0x8aa, topleftparens = 0x8ab, botleftparens = 0x8ac, toprightparens = 0x8ad, botrightparens = 0x8ae, leftmiddlecurlybrace = 0x8af, rightmiddlecurlybrace = 0x8b0, topleftsummation = 0x8b1, botleftsummation = 0x8b2, topvertsummationconnector = 0x8b3, botvertsummationconnector = 0x8b4, toprightsummation = 0x8b5, botrightsummation = 0x8b6, rightmiddlesummation = 0x8b7, lessthanequal = 0x8bc, notequal = 0x8bd, greaterthanequal = 0x8be, integral = 0x8bf, therefore = 0x8c0, variation = 0x8c1, infinity = 0x8c2, nabla = 0x8c5, approximate = 0x8c8, similarequal = 0x8c9, ifonlyif = 0x8cd, implies = 0x8ce, identical = 0x8cf, radical = 0x8d6, includedin = 0x8da, includes = 0x8db, intersection = 0x8dc, union = 0x8dd, logicaland = 0x8de, logicalor = 0x8df, partialderivative = 0x8ef, function = 0x8f6, leftarrow = 0x8fb, uparrow = 0x8fc, rightarrow = 0x8fd, downarrow = 0x8fe, blank = 0x9df, soliddiamond = 0x9e0, checkerboard = 0x9e1, ht = 0x9e2, ff = 0x9e3, cr = 0x9e4, lf = 0x9e5, nl = 0x9e8, vt = 0x9e9, lowrightcorner = 0x9ea, uprightcorner = 0x9eb, upleftcorner = 0x9ec, lowleftcorner = 0x9ed, crossinglines = 0x9ee, horizlinescan1 = 0x9ef, horizlinescan3 = 0x9f0, horizlinescan5 = 0x9f1, horizlinescan7 = 0x9f2, horizlinescan9 = 0x9f3, leftt = 0x9f4, rightt = 0x9f5, bott = 0x9f6, topt = 0x9f7, vertbar = 0x9f8, emspace = 0xaa1, enspace = 0xaa2, em3space = 0xaa3, em4space = 0xaa4, digitspace = 0xaa5, punctspace = 0xaa6, thinspace = 0xaa7, hairspace = 0xaa8, emdash = 0xaa9, endash = 0xaaa, signifblank = 0xaac, ellipsis = 0xaae, doubbaselinedot = 0xaaf, onethird = 0xab0, twothirds = 0xab1, onefifth = 0xab2, twofifths = 0xab3, threefifths = 0xab4, fourfifths = 0xab5, onesixth = 0xab6, fivesixths = 0xab7, careof = 0xab8, figdash = 0xabb, leftanglebracket = 0xabc, decimalpoint = 0xabd, rightanglebracket = 0xabe, marker = 0xabf, oneeighth = 0xac3, threeeighths = 0xac4, fiveeighths = 0xac5, seveneighths = 0xac6, trademark = 0xac9, signaturemark = 0xaca, trademarkincircle = 0xacb, leftopentriangle = 0xacc, rightopentriangle = 0xacd, emopencircle = 0xace, emopenrectangle = 0xacf, leftsinglequotemark = 0xad0, rightsinglequotemark = 0xad1, leftdoublequotemark = 0xad2, rightdoublequotemark = 0xad3, prescription = 0xad4, minutes = 0xad6, seconds = 0xad7, latincross = 0xad9, hexagram = 0xada, filledrectbullet = 0xadb, filledlefttribullet = 0xadc, filledrighttribullet = 0xadd, emfilledcircle = 0xade, emfilledrect = 0xadf, enopencircbullet = 0xae0, enopensquarebullet = 0xae1, openrectbullet = 0xae2, opentribulletup = 0xae3, opentribulletdown = 0xae4, openstar = 0xae5, enfilledcircbullet = 0xae6, enfilledsqbullet = 0xae7, filledtribulletup = 0xae8, filledtribulletdown = 0xae9, leftpointer = 0xaea, rightpointer = 0xaeb, club = 0xaec, diamond = 0xaed, heart = 0xaee, maltesecross = 0xaf0, dagger = 0xaf1, doubledagger = 0xaf2, checkmark = 0xaf3, ballotcross = 0xaf4, musicalsharp = 0xaf5, musicalflat = 0xaf6, malesymbol = 0xaf7, femalesymbol = 0xaf8, telephone = 0xaf9, telephonerecorder = 0xafa, phonographcopyright = 0xafb, caret = 0xafc, singlelowquotemark = 0xafd, doublelowquotemark = 0xafe, cursor = 0xaff, leftcaret = 0xba3, rightcaret = 0xba6, downcaret = 0xba8, upcaret = 0xba9, overbar = 0xbc0, downtack = 0xbc2, upshoe = 0xbc3, downstile = 0xbc4, underbar = 0xbc6, jot = 0xbca, quad = 0xbcc, uptack = 0xbce, circle = 0xbcf, upstile = 0xbd3, downshoe = 0xbd6, rightshoe = 0xbd8, leftshoe = 0xbda, lefttack = 0xbdc, righttack = 0xbfc, hebrew_doublelowline = 0xcdf, hebrew_aleph = 0xce0, hebrew_bet = 0xce1, hebrew_beth = 0xce1, hebrew_gimel = 0xce2, hebrew_gimmel = 0xce2, hebrew_dalet = 0xce3, hebrew_daleth = 0xce3, hebrew_he = 0xce4, hebrew_waw = 0xce5, hebrew_zain = 0xce6, hebrew_zayin = 0xce6, hebrew_chet = 0xce7, hebrew_het = 0xce7, hebrew_tet = 0xce8, hebrew_teth = 0xce8, hebrew_yod = 0xce9, hebrew_finalkaph = 0xcea, hebrew_kaph = 0xceb, hebrew_lamed = 0xcec, hebrew_finalmem = 0xced, hebrew_mem = 0xcee, hebrew_finalnun = 0xcef, hebrew_nun = 0xcf0, hebrew_samech = 0xcf1, hebrew_samekh = 0xcf1, hebrew_ayin = 0xcf2, hebrew_finalpe = 0xcf3, hebrew_pe = 0xcf4, hebrew_finalzade = 0xcf5, hebrew_finalzadi = 0xcf5, hebrew_zade = 0xcf6, hebrew_zadi = 0xcf6, hebrew_qoph = 0xcf7, hebrew_kuf = 0xcf7, hebrew_resh = 0xcf8, hebrew_shin = 0xcf9, hebrew_taw = 0xcfa, hebrew_taf = 0xcfa, Hebrew_switch = 0xFF7E, Thai_kokai = 0xda1, Thai_khokhai = 0xda2, Thai_khokhuat = 0xda3, Thai_khokhwai = 0xda4, Thai_khokhon = 0xda5, Thai_khorakhang = 0xda6, Thai_ngongu = 0xda7, Thai_chochan = 0xda8, Thai_choching = 0xda9, Thai_chochang = 0xdaa, Thai_soso = 0xdab, Thai_chochoe = 0xdac, Thai_yoying = 0xdad, Thai_dochada = 0xdae, Thai_topatak = 0xdaf, Thai_thothan = 0xdb0, Thai_thonangmontho = 0xdb1, Thai_thophuthao = 0xdb2, Thai_nonen = 0xdb3, Thai_dodek = 0xdb4, Thai_totao = 0xdb5, Thai_thothung = 0xdb6, Thai_thothahan = 0xdb7, Thai_thothong = 0xdb8, Thai_nonu = 0xdb9, Thai_bobaimai = 0xdba, Thai_popla = 0xdbb, Thai_phophung = 0xdbc, Thai_fofa = 0xdbd, Thai_phophan = 0xdbe, Thai_fofan = 0xdbf, Thai_phosamphao = 0xdc0, Thai_moma = 0xdc1, Thai_yoyak = 0xdc2, Thai_rorua = 0xdc3, Thai_ru = 0xdc4, Thai_loling = 0xdc5, Thai_lu = 0xdc6, Thai_wowaen = 0xdc7, Thai_sosala = 0xdc8, Thai_sorusi = 0xdc9, Thai_sosua = 0xdca, Thai_hohip = 0xdcb, Thai_lochula = 0xdcc, Thai_oang = 0xdcd, Thai_honokhuk = 0xdce, Thai_paiyannoi = 0xdcf, Thai_saraa = 0xdd0, Thai_maihanakat = 0xdd1, Thai_saraaa = 0xdd2, Thai_saraam = 0xdd3, Thai_sarai = 0xdd4, Thai_saraii = 0xdd5, Thai_saraue = 0xdd6, Thai_sarauee = 0xdd7, Thai_sarau = 0xdd8, Thai_sarauu = 0xdd9, Thai_phinthu = 0xdda, Thai_maihanakat_maitho = 0xdde, Thai_baht = 0xddf, Thai_sarae = 0xde0, Thai_saraae = 0xde1, Thai_sarao = 0xde2, Thai_saraaimaimuan = 0xde3, Thai_saraaimaimalai = 0xde4, Thai_lakkhangyao = 0xde5, Thai_maiyamok = 0xde6, Thai_maitaikhu = 0xde7, Thai_maiek = 0xde8, Thai_maitho = 0xde9, Thai_maitri = 0xdea, Thai_maichattawa = 0xdeb, Thai_thanthakhat = 0xdec, Thai_nikhahit = 0xded, Thai_leksun = 0xdf0, Thai_leknung = 0xdf1, Thai_leksong = 0xdf2, Thai_leksam = 0xdf3, Thai_leksi = 0xdf4, Thai_lekha = 0xdf5, Thai_lekhok = 0xdf6, Thai_lekchet = 0xdf7, Thai_lekpaet = 0xdf8, Thai_lekkao = 0xdf9, Hangul = 0xff31, Hangul_Start = 0xff32, Hangul_End = 0xff33, Hangul_Hanja = 0xff34, Hangul_Jamo = 0xff35, Hangul_Romaja = 0xff36, Hangul_Codeinput = 0xff37, Hangul_Jeonja = 0xff38, Hangul_Banja = 0xff39, Hangul_PreHanja = 0xff3a, Hangul_PostHanja = 0xff3b, Hangul_SingleCandidate = 0xff3c, Hangul_MultipleCandidate = 0xff3d, Hangul_PreviousCandidate = 0xff3e, Hangul_Special = 0xff3f, Hangul_switch = 0xFF7E, Hangul_Kiyeog = 0xea1, Hangul_SsangKiyeog = 0xea2, Hangul_KiyeogSios = 0xea3, Hangul_Nieun = 0xea4, Hangul_NieunJieuj = 0xea5, Hangul_NieunHieuh = 0xea6, Hangul_Dikeud = 0xea7, Hangul_SsangDikeud = 0xea8, Hangul_Rieul = 0xea9, Hangul_RieulKiyeog = 0xeaa, Hangul_RieulMieum = 0xeab, Hangul_RieulPieub = 0xeac, Hangul_RieulSios = 0xead, Hangul_RieulTieut = 0xeae, Hangul_RieulPhieuf = 0xeaf, Hangul_RieulHieuh = 0xeb0, Hangul_Mieum = 0xeb1, Hangul_Pieub = 0xeb2, Hangul_SsangPieub = 0xeb3, Hangul_PieubSios = 0xeb4, Hangul_Sios = 0xeb5, Hangul_SsangSios = 0xeb6, Hangul_Ieung = 0xeb7, Hangul_Jieuj = 0xeb8, Hangul_SsangJieuj = 0xeb9, Hangul_Cieuc = 0xeba, Hangul_Khieuq = 0xebb, Hangul_Tieut = 0xebc, Hangul_Phieuf = 0xebd, Hangul_Hieuh = 0xebe, Hangul_A = 0xebf, Hangul_AE = 0xec0, Hangul_YA = 0xec1, Hangul_YAE = 0xec2, Hangul_EO = 0xec3, Hangul_E = 0xec4, Hangul_YEO = 0xec5, Hangul_YE = 0xec6, Hangul_O = 0xec7, Hangul_WA = 0xec8, Hangul_WAE = 0xec9, Hangul_OE = 0xeca, Hangul_YO = 0xecb, Hangul_U = 0xecc, Hangul_WEO = 0xecd, Hangul_WE = 0xece, Hangul_WI = 0xecf, Hangul_YU = 0xed0, Hangul_EU = 0xed1, Hangul_YI = 0xed2, Hangul_I = 0xed3, Hangul_J_Kiyeog = 0xed4, Hangul_J_SsangKiyeog = 0xed5, Hangul_J_KiyeogSios = 0xed6, Hangul_J_Nieun = 0xed7, Hangul_J_NieunJieuj = 0xed8, Hangul_J_NieunHieuh = 0xed9, Hangul_J_Dikeud = 0xeda, Hangul_J_Rieul = 0xedb, Hangul_J_RieulKiyeog = 0xedc, Hangul_J_RieulMieum = 0xedd, Hangul_J_RieulPieub = 0xede, Hangul_J_RieulSios = 0xedf, Hangul_J_RieulTieut = 0xee0, Hangul_J_RieulPhieuf = 0xee1, Hangul_J_RieulHieuh = 0xee2, Hangul_J_Mieum = 0xee3, Hangul_J_Pieub = 0xee4, Hangul_J_PieubSios = 0xee5, Hangul_J_Sios = 0xee6, Hangul_J_SsangSios = 0xee7, Hangul_J_Ieung = 0xee8, Hangul_J_Jieuj = 0xee9, Hangul_J_Cieuc = 0xeea, Hangul_J_Khieuq = 0xeeb, Hangul_J_Tieut = 0xeec, Hangul_J_Phieuf = 0xeed, Hangul_J_Hieuh = 0xeee, Hangul_RieulYeorinHieuh = 0xeef, Hangul_SunkyeongeumMieum = 0xef0, Hangul_SunkyeongeumPieub = 0xef1, Hangul_PanSios = 0xef2, Hangul_KkogjiDalrinIeung = 0xef3, Hangul_SunkyeongeumPhieuf = 0xef4, Hangul_YeorinHieuh = 0xef5, Hangul_AraeA = 0xef6, Hangul_AraeAE = 0xef7, Hangul_J_PanSios = 0xef8, Hangul_J_KkogjiDalrinIeung = 0xef9, Hangul_J_YeorinHieuh = 0xefa, Korean_Won = 0xeff, EcuSign = 0x20a0, ColonSign = 0x20a1, CruzeiroSign = 0x20a2, FFrancSign = 0x20a3, LiraSign = 0x20a4, MillSign = 0x20a5, NairaSign = 0x20a6, PesetaSign = 0x20a7, RupeeSign = 0x20a8, WonSign = 0x20a9, NewSheqelSign = 0x20aa, DongSign = 0x20ab, EuroSign = 0x20ac, } } gtk-sharp-2.12.10/gdk/Screen.custom0000644000175000001440000000501511131157072013711 00000000000000// Screen.custom - customizations to Gdk.Screen // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_screen_get_toplevel_windows (IntPtr raw); public Window[] ToplevelWindows { get { IntPtr raw_ret = gdk_screen_get_toplevel_windows (Handle); if (raw_ret == IntPtr.Zero) return new Window [0]; GLib.List list = new GLib.List(raw_ret); Window[] result = new Window [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Window; return result; } } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_screen_list_visuals (IntPtr raw); public Visual[] ListVisuals () { IntPtr raw_ret = gdk_screen_list_visuals (Handle); if (raw_ret == IntPtr.Zero) return new Visual [0]; GLib.List list = new GLib.List(raw_ret); Visual[] result = new Visual [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Visual; return result; } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_screen_get_font_options(IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_screen_set_font_options(IntPtr raw, IntPtr options); [GLib.Property ("font-options")] public Cairo.FontOptions FontOptions { get { IntPtr raw_ret = gdk_screen_get_font_options(Handle); if (raw_ret == IntPtr.Zero) return null; System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance; return Activator.CreateInstance (typeof (Cairo.FontOptions), flags, null, new object [] {raw_ret}, null) as Cairo.FontOptions; } set { gdk_screen_set_font_options(Handle, value == null ? IntPtr.Zero : value.Handle); } } gtk-sharp-2.12.10/gdk/TextProperty.cs0000644000175000001440000000470211131157072014260 00000000000000// Gdk.Text.cs - Custom implementation for Text class // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class TextProperty { [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_free_text_list(IntPtr ptr); [DllImport("libgdk-win32-2.0-0.dll")] static extern int gdk_text_property_to_utf8_list(IntPtr encoding, int format, byte[] text, int length, out IntPtr list); public static string[] ToStringList (Gdk.Atom encoding, int format, byte[] text, int length) { IntPtr list_ptr; int count = gdk_text_property_to_utf8_list(encoding.Handle, format, text, length, out list_ptr); if (count == 0) return new string [0]; string[] result = new string [count]; for (int i = 0; i < count; i++) { IntPtr ptr = Marshal.ReadIntPtr (list_ptr, i * IntPtr.Size); result [i] = GLib.Marshaller.Utf8PtrToString (ptr); } gdk_free_text_list (list_ptr); return result; } [DllImport("libgdk-win32-2.0-0.dll")] static extern int gdk_text_property_to_utf8_list_for_display(IntPtr display, IntPtr encoding, int format, byte[] text, int length, out IntPtr list); public static string[] ToStringListForDisplay (Gdk.Display display, Gdk.Atom encoding, int format, byte[] text, int length) { IntPtr list_ptr; int count = gdk_text_property_to_utf8_list_for_display (display.Handle, encoding.Handle, format, text, length, out list_ptr); if (count == 0) return new string [0]; string[] result = new string [count]; for (int i = 0; i < count; i++) { IntPtr ptr = Marshal.ReadIntPtr (list_ptr, i * IntPtr.Size); result [i] = GLib.Marshaller.Utf8PtrToString (ptr); } gdk_free_text_list (list_ptr); return result; } } } gtk-sharp-2.12.10/gdk/Event.cs0000644000175000001440000000772511140655011012654 00000000000000// Gdk.Event.cs - Custom event wrapper // // Authors: Rachel Hestilow // Mike Kestner // // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class Event : GLib.IWrapper { [DllImport("gdksharpglue-2")] static extern EventType gtksharp_gdk_event_get_event_type (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_get_window (IntPtr evt); [DllImport("gdksharpglue-2")] static extern sbyte gtksharp_gdk_event_get_send_event (IntPtr evt); [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_event_get_type (); IntPtr raw; public Event(IntPtr raw) { this.raw = raw; } public IntPtr Handle { get { return raw; } } public static GLib.GType GType { get { return new GLib.GType (gdk_event_get_type ()); } } public EventType Type { get { return gtksharp_gdk_event_get_event_type (Handle); } } public Window Window { get { return GLib.Object.GetObject (gtksharp_gdk_event_get_window (Handle)) as Window; } } public bool SendEvent { get { return gtksharp_gdk_event_get_send_event (Handle) == 0 ? false : true; } } public static Event New (IntPtr raw) { return GetEvent (raw); } public static Event GetEvent (IntPtr raw) { if (raw == IntPtr.Zero) return null; switch (gtksharp_gdk_event_get_event_type (raw)) { case EventType.Expose: return new EventExpose (raw); case EventType.MotionNotify: return new EventMotion (raw); case EventType.ButtonPress: case EventType.TwoButtonPress: case EventType.ThreeButtonPress: case EventType.ButtonRelease: return new EventButton (raw); case EventType.KeyPress: case EventType.KeyRelease: return new EventKey (raw); case EventType.EnterNotify: case EventType.LeaveNotify: return new EventCrossing (raw); case EventType.FocusChange: return new EventFocus (raw); case EventType.Configure: return new EventConfigure (raw); case EventType.PropertyNotify: return new EventProperty (raw); case EventType.SelectionClear: case EventType.SelectionRequest: case EventType.SelectionNotify: return new EventSelection (raw); case EventType.ProximityIn: case EventType.ProximityOut: return new EventProximity (raw); case EventType.DragEnter: case EventType.DragLeave: case EventType.DragMotion: case EventType.DragStatus: case EventType.DropStart: case EventType.DropFinished: return new EventDND (raw); case EventType.ClientEvent: return new EventClient (raw); case EventType.VisibilityNotify: return new EventVisibility (raw); case EventType.Scroll: return new EventScroll (raw); case EventType.WindowState: return new EventWindowState (raw); case EventType.Setting: return new EventSetting (raw); #if GTK_SHARP_2_6 case EventType.OwnerChange: return new EventOwnerChange (raw); #endif #if GTK_SHARP_2_8 case EventType.GrabBroken: return new EventGrabBroken (raw); #endif case EventType.Map: case EventType.Unmap: case EventType.NoExpose: case EventType.Delete: case EventType.Destroy: default: return new Gdk.Event (raw); } } } } gtk-sharp-2.12.10/gdk/DeviceAxis.custom0000644000175000001440000000222611131157072014517 00000000000000// Gdk.Point.DeviceAxis - Gdk DeviceAxis class customizations // // Author: Jasper van Putten // // Copyright (c) 2002 Jasper van Putten // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. /// /// ToString method /// /// /// /// returns a string representation of this DeviceAxis /// /// public override string ToString () { return "Gdk.DeviceAxis, max:" + this.Max + ",min:" + this.Min + ",use:" + this.Use; } gtk-sharp-2.12.10/gdk/EventSetting.cs0000644000175000001440000000266111140655011014204 00000000000000// Gdk.EventSetting.cs - Custom Setting event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventSetting : Event { [DllImport("gdksharpglue-2")] static extern SettingAction gtksharp_gdk_event_setting_get_action (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_setting_get_name (IntPtr evt); public EventSetting (IntPtr raw) : base (raw) {} public SettingAction Action { get { return gtksharp_gdk_event_setting_get_action (Handle); } } public string Name { get { return GLib.Marshaller.Utf8PtrToString (gtksharp_gdk_event_setting_get_name (Handle)); } } } } gtk-sharp-2.12.10/gdk/EventSelection.cs0000644000175000001440000000410111140655011014503 00000000000000// Gdk.EventSelection.cs - Custom selection event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventSelection : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_selection_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_selection_get_selection (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_selection_get_target (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_selection_get_property (IntPtr evt); [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_selection_get_requestor (IntPtr evt); public EventSelection (IntPtr raw) : base (raw) {} public Atom Property { get { return new Atom (gtksharp_gdk_event_selection_get_property (Handle)); } } public Atom Selection { get { return new Atom (gtksharp_gdk_event_selection_get_selection (Handle)); } } public Atom Target { get { return new Atom (gtksharp_gdk_event_selection_get_target (Handle)); } } public uint Requestor { get { return gtksharp_gdk_event_selection_get_requestor (Handle); } } public uint Time { get { return gtksharp_gdk_event_selection_get_time (Handle); } } } } gtk-sharp-2.12.10/gdk/Property.custom0000644000175000001440000000522511131157072014321 00000000000000// Gdk.Property.custom - Custom implementation for Property class // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_property_change(IntPtr window, IntPtr property, IntPtr type, int format, int mode, out byte data, int nelements); [Obsolete ("Replaced by corrected overload with data parameter")] public static byte Change(Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, int nelements) { byte data; gdk_property_change(window == null ? IntPtr.Zero : window.Handle, property == null ? IntPtr.Zero : property.Handle, type == null ? IntPtr.Zero : type.Handle, format, (int) mode, out data, nelements); return data; } [DllImport("libgdk-win32-2.0-0.dll")] static extern bool gdk_property_get(IntPtr window, IntPtr property, IntPtr type, UIntPtr offset, UIntPtr length, int pdelete, out IntPtr actual_property_type, out int actual_format, out int actual_length, out IntPtr data); public static bool Get(Gdk.Window window, Gdk.Atom property, Gdk.Atom type, ulong offset, ulong length, int pdelete, out Gdk.Atom actual_property_type, out int actual_format, out int actual_length, out byte[] data) { IntPtr actual_property_type_as_native; IntPtr actual_data; bool raw_ret = gdk_property_get(window == null ? IntPtr.Zero : window.Handle, property == null ? IntPtr.Zero : property.Handle, type == null ? IntPtr.Zero : type.Handle, new UIntPtr (offset), new UIntPtr (length), pdelete, out actual_property_type_as_native, out actual_format, out actual_length, out actual_data); data = null; if (raw_ret) { data = new byte [actual_length]; Marshal.Copy (actual_data, data, 0, actual_length); GLib.Marshaller.Free (actual_data); } bool ret = raw_ret; actual_property_type = actual_property_type_as_native == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (actual_property_type_as_native, typeof (Gdk.Atom), false); return ret; } gtk-sharp-2.12.10/gdk/glue/0000777000175000001440000000000011345266755012275 500000000000000gtk-sharp-2.12.10/gdk/glue/Makefile.am0000644000175000001440000000115411131157071014225 00000000000000lib_LTLIBRARIES = libgdksharpglue-2.la libgdksharpglue_2_la_SOURCES = \ dragcontext.c \ device.c \ event.c \ selection.c \ vmglueheaders.h \ windowmanager.c nodist_libgdksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libgdksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgdksharpglue_2_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libgdksharpglue.dll: $(libgdksharpglue_2_la_OBJECTS) libgdksharpglue.rc libgdksharpglue.def ./build-dll libgdksharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.10/gdk/glue/selection.c0000644000175000001440000000331211131157071014320 00000000000000/* selection.c : Glue to access GdkAtoms defined in gdkselection.h * * Author: Mike Kestner * * Copyright (c) 2003 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include GdkAtom gtksharp_get_gdk_selection_primary (void); GdkAtom gtksharp_get_gdk_selection_secondary (void); GdkAtom gtksharp_get_gdk_selection_clipboard (void); /* FIXME: These are still left to do #define GDK_TARGET_BITMAP #define GDK_TARGET_COLORMAP #define GDK_TARGET_DRAWABLE #define GDK_TARGET_PIXMAP #define GDK_TARGET_STRING #define GDK_SELECTION_TYPE_ATOM #define GDK_SELECTION_TYPE_BITMAP #define GDK_SELECTION_TYPE_COLORMAP #define GDK_SELECTION_TYPE_DRAWABLE #define GDK_SELECTION_TYPE_INTEGER #define GDK_SELECTION_TYPE_PIXMAP #define GDK_SELECTION_TYPE_WINDOW #define GDK_SELECTION_TYPE_STRING */ GdkAtom gtksharp_get_gdk_selection_primary () { return GDK_SELECTION_PRIMARY; } GdkAtom gtksharp_get_gdk_selection_secondary () { return GDK_SELECTION_SECONDARY; } GdkAtom gtksharp_get_gdk_selection_clipboard () { return GDK_SELECTION_CLIPBOARD; } gtk-sharp-2.12.10/gdk/glue/windowmanager.c0000644000175000001440000001606611131157071015207 00000000000000/* windowmanager.c : Glue to access the extended window * manager hints via the root window properties using * gdk_property_get () * * This work is based on the specification found here: * http://www.freedesktop.org/standards/wm-spec/ * * Author: Boyd Timothy * * Copyright (c) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include #include GList * gtksharp_get_gdk_net_supported (void); guint * gtksharp_get_gdk_net_client_list (int *count); gint gtksharp_get_gdk_net_number_of_desktops (void); gint gtksharp_get_gdk_net_current_desktop (void); guint gtksharp_get_gdk_net_active_window (void); GList * gtksharp_get_gdk_net_workarea (void); GList * gtksharp_get_gdk_net_supported (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; GList *list = NULL; int i; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_SUPPORTED", FALSE), gdk_atom_intern ("ATOM", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actual_property_type_name; g_critical ("Unable to get _NET_SUPPORTED"); actual_property_type_name = gdk_atom_name (actual_property_type); if (actual_property_type_name) { g_message ("actual_property_type: %s", actual_property_type_name); g_free (actual_property_type_name); } return NULL; } /* Put all of the GdkAtoms into a GList to return */ for (i = 0; i < actual_length / sizeof (long); i ++) { list = g_list_append (list, (GdkAtom) data [i]); } g_free (data); return list; } guint * gtksharp_get_gdk_net_client_list (int *count) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; guint * list = NULL; int i; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_CLIENT_LIST", FALSE), gdk_atom_intern ("WINDOW", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actual_property_type_name; g_critical ("Unable to get _NET_CLIENT_LIST"); actual_property_type_name = gdk_atom_name (actual_property_type); if (actual_property_type_name) { g_message ("actual_property_type: %s", actual_property_type_name); g_free (actual_property_type_name); } return NULL; } *count = actual_length / sizeof (long); list = g_malloc (*count * sizeof (guint)); /* Put all of the windows into a GList to return */ for (i = 0; i < *count; i ++) { list [i] = data [i]; g_message ("WinID: %d", list [i]); } g_free (data); return list; } gint gtksharp_get_gdk_net_number_of_desktops (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; gint num_of_desktops; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_NUMBER_OF_DESKTOPS", FALSE), gdk_atom_intern ("CARDINAL", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actual_property_type_name; g_critical ("Unable to get _NET_NUMBER_OF_DESKTOPS"); actual_property_type_name = gdk_atom_name (actual_property_type); if (actual_property_type_name) { g_message ("actual_property_type: %s", actual_property_type_name); g_free (actual_property_type_name); } return -1; } num_of_desktops = (gint) data[0]; g_free (data); return num_of_desktops; } gint gtksharp_get_gdk_net_current_desktop (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; gint current_desktop; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_CURRENT_DESKTOP", FALSE), gdk_atom_intern ("CARDINAL", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actual_property_type_name; g_critical ("Unable to get _NET_CURRENT_DESKTOP"); actual_property_type_name = gdk_atom_name (actual_property_type); if (actual_property_type_name) { g_message ("actual_property_type: %s", actual_property_type_name); g_free (actual_property_type_name); } return -1; } current_desktop = (gint) data[0]; g_free (data); return current_desktop; } guint gtksharp_get_gdk_net_active_window (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; guint windowID = 0; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_ACTIVE_WINDOW", FALSE), gdk_atom_intern ("WINDOW", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actualPropertyTypeName; g_critical ("Unable to get _NET_ACTIVE_WINDOW"); actualPropertyTypeName = gdk_atom_name (actual_property_type); if (actualPropertyTypeName) { g_message ("actual_property_type: %s", actualPropertyTypeName); g_free(actualPropertyTypeName); } return -1; } windowID = (gint) data [0]; g_free (data); return windowID; } GList * gtksharp_get_gdk_net_workarea (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; int i = 0; GList *list = NULL; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_WORKAREA", FALSE), gdk_atom_intern ("CARDINAL", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actualPropertyTypeName; g_critical ("Unable to get _NET_WORKAREA"); actualPropertyTypeName = gdk_atom_name (actual_property_type); if (actualPropertyTypeName) { g_message ("actual_property_type: %s", actualPropertyTypeName); g_free(actualPropertyTypeName); } return FALSE; } for (i = 0; i < actual_length / sizeof (long); i += 4) { GdkRectangle *rectangle = g_malloc(sizeof (GdkRectangle)); rectangle->x = (int) data [i]; rectangle->y = (int) data [i + 1]; rectangle->width = (int) data [i + 2]; rectangle->height = (int) data [i + 3]; list = g_list_append (list, rectangle); } if (data != NULL) g_free(data); return list; } gtk-sharp-2.12.10/gdk/glue/win32dll.c0000755000175000001440000000044311131157071013776 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.10/gdk/glue/Makefile.in0000644000175000001440000004162011345266364014255 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gdk/glue DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libgdksharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libgdksharpglue_2_la_OBJECTS = dragcontext.lo device.lo event.lo \ selection.lo windowmanager.lo nodist_libgdksharpglue_2_la_OBJECTS = generated.lo libgdksharpglue_2_la_OBJECTS = $(am_libgdksharpglue_2_la_OBJECTS) \ $(nodist_libgdksharpglue_2_la_OBJECTS) libgdksharpglue_2_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libgdksharpglue_2_la_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libgdksharpglue_2_la_SOURCES) \ $(nodist_libgdksharpglue_2_la_SOURCES) DIST_SOURCES = $(libgdksharpglue_2_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libgdksharpglue-2.la libgdksharpglue_2_la_SOURCES = \ dragcontext.c \ device.c \ event.c \ selection.c \ vmglueheaders.h \ windowmanager.c nodist_libgdksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libgdksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgdksharpglue_2_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gdk/glue/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign gdk/glue/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libgdksharpglue-2.la: $(libgdksharpglue_2_la_OBJECTS) $(libgdksharpglue_2_la_DEPENDENCIES) $(libgdksharpglue_2_la_LINK) -rpath $(libdir) $(libgdksharpglue_2_la_OBJECTS) $(libgdksharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/device.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dragcontext.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/selection.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windowmanager.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES libgdksharpglue.dll: $(libgdksharpglue_2_la_OBJECTS) libgdksharpglue.rc libgdksharpglue.def ./build-dll libgdksharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/gdk/glue/dragcontext.c0000644000175000001440000000200711131157071014655 00000000000000/* dragcontext.c: Glue for accessing fields in a GdkDragContext. * * Author: Ettore Perazzoli * * Copyright (c) 2003 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include GList *gtksharp_drag_context_get_targets (GdkDragContext *context); GList * gtksharp_drag_context_get_targets (GdkDragContext *context) { return context->targets; } gtk-sharp-2.12.10/gdk/glue/vmglueheaders.h0000644000175000001440000000011111131157071015165 00000000000000/* Headers for virtual method glue compilation */ #include gtk-sharp-2.12.10/gdk/glue/event.c0000644000175000001440000003233611131157071013464 00000000000000/* event.c : Glue to access fields in GdkEvent. * * Authors: Rachel Hestilow * Mike Kestner * * Copyright (c) 2002 Rachel Hestilow * Copyright (c) 2002 Mike Kestner * Copyright (c) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GdkEventType gtksharp_gdk_event_get_event_type (GdkEvent *event); GdkWindow* gtksharp_gdk_event_get_window (GdkEventAny *event); gint8 gtksharp_gdk_event_get_send_event (GdkEventAny *event); guint32 gtksharp_gdk_event_key_get_time (GdkEventKey *event); guint gtksharp_gdk_event_key_get_state (GdkEventKey *event); guint gtksharp_gdk_event_key_get_keyval (GdkEventKey *event); guint16 gtksharp_gdk_event_key_get_hardware_keycode (GdkEventKey *event); guint8 gtksharp_gdk_event_key_get_group (GdkEventKey *event); guint32 gtksharp_gdk_event_button_get_time (GdkEventButton *event); guint gtksharp_gdk_event_button_get_state (GdkEventButton *event); guint gtksharp_gdk_event_button_get_button (GdkEventButton *event); gdouble gtksharp_gdk_event_button_get_x (GdkEventButton *event); gdouble gtksharp_gdk_event_button_get_y (GdkEventButton *event); gdouble gtksharp_gdk_event_button_get_x_root (GdkEventButton *event); gdouble gtksharp_gdk_event_button_get_y_root (GdkEventButton *event); gdouble* gtksharp_gdk_event_button_get_axes (GdkEventButton *event); GdkDevice* gtksharp_gdk_event_button_get_device (GdkEventButton *event); guint32 gtksharp_gdk_event_scroll_get_time (GdkEventScroll *event); guint gtksharp_gdk_event_scroll_get_state (GdkEventScroll *event); guint gtksharp_gdk_event_scroll_get_direction (GdkEventScroll *event); gdouble gtksharp_gdk_event_scroll_get_x (GdkEventScroll *event); gdouble gtksharp_gdk_event_scroll_get_y (GdkEventScroll *event); gdouble gtksharp_gdk_event_scroll_get_x_root (GdkEventScroll *event); gdouble gtksharp_gdk_event_scroll_get_y_root (GdkEventScroll *event); GdkDevice* gtksharp_gdk_event_scroll_get_device (GdkEventScroll *event); guint32 gtksharp_gdk_event_motion_get_time (GdkEventMotion *event); guint gtksharp_gdk_event_motion_get_state (GdkEventMotion *event); guint16 gtksharp_gdk_event_motion_get_is_hint (GdkEventMotion *event); gdouble gtksharp_gdk_event_motion_get_x (GdkEventMotion *event); gdouble gtksharp_gdk_event_motion_get_y (GdkEventMotion *event); gdouble gtksharp_gdk_event_motion_get_x_root (GdkEventMotion *event); gdouble gtksharp_gdk_event_motion_get_y_root (GdkEventMotion *event); gdouble* gtksharp_gdk_event_motion_get_axes (GdkEventMotion *event); GdkDevice* gtksharp_gdk_event_motion_get_device (GdkEventMotion *event); GdkRectangle* gtksharp_gdk_event_expose_get_area (GdkEventExpose *event); gint gtksharp_gdk_event_expose_get_count (GdkEventExpose *event); GdkRegion* gtksharp_gdk_event_expose_get_region (GdkEventExpose *event); GdkVisibilityState gtksharp_gdk_event_visibility_get_state (GdkEventVisibility *event); guint32 gtksharp_gdk_event_crossing_get_time (GdkEventCrossing *event); guint gtksharp_gdk_event_crossing_get_state (GdkEventCrossing *event); gboolean gtksharp_gdk_event_crossing_get_focus (GdkEventCrossing *event); gdouble gtksharp_gdk_event_crossing_get_x (GdkEventCrossing *event); gdouble gtksharp_gdk_event_crossing_get_y (GdkEventCrossing *event); gdouble gtksharp_gdk_event_crossing_get_x_root (GdkEventCrossing *event); gdouble gtksharp_gdk_event_crossing_get_y_root (GdkEventCrossing *event); GdkNotifyType gtksharp_gdk_event_crossing_get_detail (GdkEventCrossing *event); GdkCrossingMode gtksharp_gdk_event_crossing_get_mode (GdkEventCrossing *event); GdkWindow* gtksharp_gdk_event_crossing_get_subwindow (GdkEventCrossing *event); gint16 gtksharp_gdk_event_focus_get_in (GdkEventFocus *event); gint gtksharp_gdk_event_configure_get_x (GdkEventConfigure *event); gint gtksharp_gdk_event_configure_get_y (GdkEventConfigure *event); gint gtksharp_gdk_event_configure_get_width (GdkEventConfigure *event); gint gtksharp_gdk_event_configure_get_height (GdkEventConfigure *event); guint32 gtksharp_gdk_event_property_get_time (GdkEventProperty *event); GdkAtom gtksharp_gdk_event_property_get_atom (GdkEventProperty *event); guint gtksharp_gdk_event_property_get_state (GdkEventProperty *event); GdkNativeWindow gtksharp_gdk_event_selection_get_requestor (GdkEventSelection *event); GdkAtom gtksharp_gdk_event_selection_get_property (GdkEventSelection *event); GdkAtom gtksharp_gdk_event_selection_get_selection (GdkEventSelection *event); GdkAtom gtksharp_gdk_event_selection_get_target (GdkEventSelection *event); guint32 gtksharp_gdk_event_selection_get_time (GdkEventSelection *event); guint32 gtksharp_gdk_event_dnd_get_time (GdkEventDND *event); gshort gtksharp_gdk_event_dnd_get_x_root (GdkEventDND *event); gshort gtksharp_gdk_event_dnd_get_y_root (GdkEventDND *event); GdkDragContext* gtksharp_gdk_event_dnd_get_context (GdkEventDND *event); GdkDevice* gtksharp_gdk_event_proximity_get_device (GdkEventProximity *event); guint32 gtksharp_gdk_event_proximity_get_time (GdkEventProximity *event); GdkAtom gtksharp_gdk_event_client_get_message_type (GdkEventClient *event); gushort gtksharp_gdk_event_client_get_data_format (GdkEventClient *event); gpointer gtksharp_gdk_event_client_get_data (GdkEventClient *event); GdkWindowState gtksharp_gdk_event_window_state_get_changed_mask (GdkEventWindowState *event); GdkWindowState gtksharp_gdk_event_window_state_get_new_window_state (GdkEventWindowState *event); GdkSettingAction gtksharp_gdk_event_setting_get_action (GdkEventSetting *event); char* gtksharp_gdk_event_setting_get_name (GdkEventSetting *event); /* */ GdkEventType gtksharp_gdk_event_get_event_type (GdkEvent *event) { return event->type; } GdkWindow* gtksharp_gdk_event_get_window (GdkEventAny *event) { return event->window; } gint8 gtksharp_gdk_event_get_send_event (GdkEventAny *event) { return event->send_event; } guint32 gtksharp_gdk_event_key_get_time (GdkEventKey *event) { return event->time; } guint gtksharp_gdk_event_key_get_state (GdkEventKey *event) { return event->state; } guint gtksharp_gdk_event_key_get_keyval (GdkEventKey *event) { return event->keyval; } guint16 gtksharp_gdk_event_key_get_hardware_keycode (GdkEventKey *event) { return event->hardware_keycode; } guint8 gtksharp_gdk_event_key_get_group (GdkEventKey *event) { return event->group; } guint32 gtksharp_gdk_event_button_get_time (GdkEventButton *event) { return event->time; } guint gtksharp_gdk_event_button_get_state (GdkEventButton *event) { return event->state; } guint gtksharp_gdk_event_button_get_button (GdkEventButton *event) { return event->button; } GdkDevice* gtksharp_gdk_event_button_get_device (GdkEventButton *event) { return event->device; } gdouble gtksharp_gdk_event_button_get_x (GdkEventButton *event) { return event->x; } gdouble gtksharp_gdk_event_button_get_y (GdkEventButton *event) { return event->y; } gdouble gtksharp_gdk_event_button_get_x_root (GdkEventButton *event) { return event->x_root; } gdouble gtksharp_gdk_event_button_get_y_root (GdkEventButton *event) { return event->y_root; } gdouble* gtksharp_gdk_event_button_get_axes (GdkEventButton *event) { return event->axes; } guint32 gtksharp_gdk_event_scroll_get_time (GdkEventScroll *event) { return event->time; } guint gtksharp_gdk_event_scroll_get_state (GdkEventScroll *event) { return event->state; } GdkScrollDirection gtksharp_gdk_event_scroll_get_direction (GdkEventScroll *event) { return event->direction; } GdkDevice* gtksharp_gdk_event_scroll_get_device (GdkEventScroll *event) { return event->device; } gdouble gtksharp_gdk_event_scroll_get_x (GdkEventScroll *event) { return event->x; } gdouble gtksharp_gdk_event_scroll_get_y (GdkEventScroll *event) { return event->y; } gdouble gtksharp_gdk_event_scroll_get_x_root (GdkEventScroll *event) { return event->x_root; } gdouble gtksharp_gdk_event_scroll_get_y_root (GdkEventScroll *event) { return event->y_root; } guint32 gtksharp_gdk_event_motion_get_time (GdkEventMotion *event) { return event->time; } guint gtksharp_gdk_event_motion_get_state (GdkEventMotion *event) { return event->state; } guint16 gtksharp_gdk_event_motion_get_is_hint (GdkEventMotion *event) { return event->is_hint; } GdkDevice* gtksharp_gdk_event_motion_get_device (GdkEventMotion *event) { return event->device; } gdouble gtksharp_gdk_event_motion_get_x (GdkEventMotion *event) { return event->x; } gdouble gtksharp_gdk_event_motion_get_y (GdkEventMotion *event) { return event->y; } gdouble gtksharp_gdk_event_motion_get_x_root (GdkEventMotion *event) { return event->x_root; } gdouble gtksharp_gdk_event_motion_get_y_root (GdkEventMotion *event) { return event->y_root; } gdouble* gtksharp_gdk_event_motion_get_axes (GdkEventMotion *event) { return event->axes; } GdkRectangle* gtksharp_gdk_event_expose_get_area (GdkEventExpose *event) { return &event->area; } gint gtksharp_gdk_event_expose_get_count (GdkEventExpose *event) { return event->count; } GdkRegion* gtksharp_gdk_event_expose_get_region (GdkEventExpose *event) { return event->region; } GdkVisibilityState gtksharp_gdk_event_visibility_get_state (GdkEventVisibility *event) { return event->state; } gdouble gtksharp_gdk_event_crossing_get_x (GdkEventCrossing *event) { return event->x; } gdouble gtksharp_gdk_event_crossing_get_y (GdkEventCrossing *event) { return event->y; } gdouble gtksharp_gdk_event_crossing_get_x_root (GdkEventCrossing *event) { return event->x_root; } gdouble gtksharp_gdk_event_crossing_get_y_root (GdkEventCrossing *event) { return event->y_root; } guint32 gtksharp_gdk_event_crossing_get_time (GdkEventCrossing *event) { return event->time; } guint gtksharp_gdk_event_crossing_get_state (GdkEventCrossing *event) { return event->state; } gboolean gtksharp_gdk_event_crossing_get_focus (GdkEventCrossing *event) { return event->focus; } GdkWindow* gtksharp_gdk_event_crossing_get_subwindow (GdkEventCrossing *event) { return event->subwindow; } GdkCrossingMode gtksharp_gdk_event_crossing_get_mode (GdkEventCrossing *event) { return event->mode; } GdkNotifyType gtksharp_gdk_event_crossing_get_detail (GdkEventCrossing *event) { return event->detail; } gint16 gtksharp_gdk_event_focus_get_in (GdkEventFocus *event) { return event->in; } gint gtksharp_gdk_event_configure_get_x (GdkEventConfigure *event) { return event->x; } gint gtksharp_gdk_event_configure_get_y (GdkEventConfigure *event) { return event->y; } gint gtksharp_gdk_event_configure_get_width (GdkEventConfigure *event) { return event->width; } gint gtksharp_gdk_event_configure_get_height (GdkEventConfigure *event) { return event->height; } guint32 gtksharp_gdk_event_property_get_time (GdkEventProperty *event) { return event->time; } GdkAtom gtksharp_gdk_event_property_get_atom (GdkEventProperty *event) { return event->atom; } guint gtksharp_gdk_event_property_get_state (GdkEventProperty *event) { return event->state; } GdkNativeWindow gtksharp_gdk_event_selection_get_requestor (GdkEventSelection *event) { return event->requestor; } GdkAtom gtksharp_gdk_event_selection_get_property (GdkEventSelection *event) { return event->property; } GdkAtom gtksharp_gdk_event_selection_get_selection (GdkEventSelection *event) { return event->selection; } GdkAtom gtksharp_gdk_event_selection_get_target (GdkEventSelection *event) { return event->target; } guint32 gtksharp_gdk_event_selection_get_time (GdkEventSelection *event) { return event->time; } GdkDragContext* gtksharp_gdk_event_dnd_get_context (GdkEventDND *event) { return event->context; } gshort gtksharp_gdk_event_dnd_get_x_root (GdkEventDND *event) { return event->x_root; } gshort gtksharp_gdk_event_dnd_get_y_root (GdkEventDND *event) { return event->y_root; } guint32 gtksharp_gdk_event_dnd_get_time (GdkEventDND *event) { return event->time; } GdkDevice* gtksharp_gdk_event_proximity_get_device (GdkEventProximity *event) { return event->device; } guint32 gtksharp_gdk_event_proximity_get_time (GdkEventProximity *event) { return event->time; } GdkAtom gtksharp_gdk_event_client_get_message_type (GdkEventClient *event) { return event->message_type; } gushort gtksharp_gdk_event_client_get_data_format (GdkEventClient *event) { return event->data_format; } gpointer gtksharp_gdk_event_client_get_data (GdkEventClient *event) { return &event->data; } GdkWindowState gtksharp_gdk_event_window_state_get_changed_mask (GdkEventWindowState *event) { return event->changed_mask; } GdkWindowState gtksharp_gdk_event_window_state_get_new_window_state (GdkEventWindowState *event) { return event->new_window_state; } GdkSettingAction gtksharp_gdk_event_setting_get_action (GdkEventSetting *event) { return event->action; } char* gtksharp_gdk_event_setting_get_name (GdkEventSetting *event) { return event->name; } gtk-sharp-2.12.10/gdk/glue/device.c0000644000175000001440000000234311131157071013575 00000000000000/* device.c : Glue to access fields in GdkDevice. * * Author: Manuel V. Santos * * Copyright (c) Manuel V. Santos * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GdkDeviceAxis gtksharp_gdk_device_get_device_axis (GdkDevice *device, guint i); GdkDeviceKey gtksharp_gdk_device_get_device_key (GdkDevice *device, guint i); GdkDeviceAxis gtksharp_gdk_device_get_device_axis (GdkDevice *device, guint i) { return device->axes[i]; } GdkDeviceKey gtksharp_gdk_device_get_device_key (GdkDevice *device, guint i) { return device->keys[i]; } gtk-sharp-2.12.10/gdk/PixbufAnimation.custom0000644000175000001440000000256011131157072015571 00000000000000// PixbufAnimation.custom - GdkPixbufAnimation class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public PixbufAnimation (System.IO.Stream stream) : base (new PixbufLoader (stream).AnimationHandle) {} public PixbufAnimation (System.Reflection.Assembly assembly, string resource) : base (IntPtr.Zero) { if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); Raw = new PixbufLoader (assembly, resource).AnimationHandle; } static public PixbufAnimation LoadFromResource (string resource) { return new PixbufAnimation (System.Reflection.Assembly.GetCallingAssembly (), resource); } gtk-sharp-2.12.10/gdk/EventOwnerChange.cs0000644000175000001440000000471611131157072014776 00000000000000// Gdk.EventOwnerChange.cs - Custom OwnerChange event wrapper // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventOwnerChange : Event { public EventOwnerChange (IntPtr handle) : base (handle) {} struct NativeStruct { public Gdk.EventType type; public IntPtr window; public sbyte send_event; public uint owner; public Gdk.OwnerChange reason; public IntPtr selection; public uint time; public uint selection_time; } NativeStruct Native { get { return (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); } } public uint Owner { get { return Native.owner; } set { NativeStruct native = Native; native.owner = value; Marshal.StructureToPtr (native, Handle, false); } } public OwnerChange Reason { get { return Native.reason; } set { NativeStruct native = Native; native.reason = value; Marshal.StructureToPtr (native, Handle, false); } } public Gdk.Atom Selection { get { IntPtr sel = Native.selection; return sel == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (sel, typeof (Gdk.Atom), false); } set { NativeStruct native = Native; native.selection = value == null ? IntPtr.Zero : value.Handle; Marshal.StructureToPtr (native, Handle, false); } } public uint Time { get { return Native.time; } set { NativeStruct native = Native; native.time = value; Marshal.StructureToPtr (native, Handle, false); } } public uint SelectionTime { get { return Native.selection_time; } set { NativeStruct native = Native; native.selection_time = value; Marshal.StructureToPtr (native, Handle, false); } } } } gtk-sharp-2.12.10/gdk/Point.custom0000644000175000001440000000413111131157072013561 00000000000000// Gdk.Point.custom - Gdk Point class customizations // // Authors: // Jasper van Putten // Martin Willemoes Hansen // Ben Maurer // Contains lots of c&p from System.Drawing // // Copyright (c) 2002 Jasper van Putten // Copyright (c) 2003 Martin Willemoes Hansen // Copyright (c) 2005 Novell, Inc // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override string ToString () { return String.Format ("({0},{1})", X, Y); } public Point (int x, int y) { this.X = x; this.Y = y; } public Point (Size sz) { this.X = sz.Width; this.Y = sz.Height; } public override bool Equals (object o) { if (!(o is Point)) return false; return (this == (Point) o); } public override int GetHashCode () { return X ^ Y; } public void Offset (int dx, int dy) { X += dx; Y += dy; } public bool IsEmpty { get { return ((X == 0) && (Y == 0)); } } public static explicit operator Size (Point pt) { return new Size (pt.X, pt.Y); } public static Point operator + (Point pt, Size sz) { return new Point (pt.X + sz.Width, pt.Y + sz.Height); } public static Point operator - (Point pt, Size sz) { return new Point (pt.X - sz.Width, pt.Y - sz.Height); } public static bool operator == (Point pt_a, Point pt_b) { return ((pt_a.X == pt_b.X) && (pt_a.Y == pt_b.Y)); } public static bool operator != (Point pt_a, Point pt_b) { return ((pt_a.X != pt_b.X) || (pt_a.Y != pt_b.Y)); } gtk-sharp-2.12.10/gdk/PixbufLoader.custom0000644000175000001440000000746611131157072015072 00000000000000// PixbufLoader.custom - Gdk PixbufLoader class customizations // // Authors: // Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgobject-2.0-0.dll")] static extern IntPtr g_object_ref (IntPtr handle); internal IntPtr PixbufHandle { get { return g_object_ref (gdk_pixbuf_loader_get_pixbuf (Handle)); } } internal IntPtr AnimationHandle { get { return g_object_ref (gdk_pixbuf_loader_get_animation (Handle)); } } public bool Write (byte[] bytes) { return this.Write (bytes, (ulong) bytes.Length); } [Obsolete ("Replaced by Write (byte[], ulong) for 64 bit portability")] public bool Write (byte[] bytes, uint count) { return this.Write (bytes, (ulong) count); } private void LoadFromStream (System.IO.Stream input) { byte [] buffer = new byte [8192]; int n; while ((n = input.Read (buffer, 0, 8192)) != 0) Write (buffer, (uint) n); } public PixbufLoader (string file, int width, int height) : this () { SetSize(width, height); using(System.IO.FileStream stream = new System.IO.FileStream(file, System.IO.FileMode.Open, System.IO.FileAccess.Read)) { InitFromStream(stream); } } public PixbufLoader (System.IO.Stream stream) : this () { InitFromStream(stream); } private void InitFromStream (System.IO.Stream stream) { if (stream == null) throw new ArgumentNullException ("stream"); try { LoadFromStream (stream); } finally { Close (); } } public PixbufLoader (System.IO.Stream stream, int width, int height) : this() { SetSize(width, height); InitFromStream(stream); } public PixbufLoader (System.Reflection.Assembly assembly, string resource) : this () { InitFromAssemblyResource(assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource); } private void InitFromAssemblyResource(System.Reflection.Assembly assembly, string resource) { if (assembly == null) throw new ArgumentNullException ("assembly"); System.IO.Stream s = assembly.GetManifestResourceStream (resource); if (s == null) throw new ArgumentException ("'" + resource + "' is not a valid resource name of assembly '" + assembly + "'."); try { LoadFromStream (s); } finally { Close (); } } public PixbufLoader (System.Reflection.Assembly assembly, string resource, int width, int height) : this () { SetSize(width, height); InitFromAssemblyResource(assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource); } public PixbufLoader (byte[] buffer) : this() { InitFromBuffer(buffer); } private void InitFromBuffer (byte[] buffer) { try { Write (buffer, (uint)buffer.Length); } finally { Close (); } } public PixbufLoader (byte[] buffer, int width, int height) : this() { SetSize(width, height); InitFromBuffer(buffer); } static public PixbufLoader LoadFromResource (string resource) { return new PixbufLoader (System.Reflection.Assembly.GetCallingAssembly (), resource); } gtk-sharp-2.12.10/gdk/Makefile.in0000644000175000001440000005337111345266364013327 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/../Makefile.include $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/gdk-sharp.dll.config.in subdir = gdk ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gdk-sharp.dll.config SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(gapidir)" gapiDATA_INSTALL = $(INSTALL_DATA) DATA = $(gapi_DATA) $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue @ENABLE_MONO_CAIRO_FALSE@local_mono_cairo = @ENABLE_MONO_CAIRO_TRUE@local_mono_cairo = $(top_builddir)/cairo/Mono.Cairo.dll pkg = gdk SYMBOLS = gdk-symbols.xml INCLUDE_API = $(srcdir)/../glib/glib-api.xml ../pango/pango-api.xml METADATA = Gdk.metadata references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll $(local_mono_cairo) glue_includes = gdk/gdk.h sources = \ EventButton.cs \ EventClient.cs \ EventConfigure.cs \ EventCrossing.cs \ Event.cs \ EventDND.cs \ EventExpose.cs \ EventFocus.cs \ EventGrabBroken.cs \ EventKey.cs \ EventMotion.cs \ EventOwnerChange.cs \ EventProperty.cs \ EventProximity.cs \ EventScroll.cs \ EventSelection.cs \ EventSetting.cs \ EventVisibility.cs \ EventWindowState.cs \ Key.cs \ Size.cs \ TextProperty.cs customs = \ Atom.custom \ Color.custom \ Device.custom \ DeviceAxis.custom \ Display.custom \ DisplayManager.custom \ DragContext.custom \ Drawable.custom \ EdgeTable.custom \ GCValues.custom \ Global.custom \ Input.custom \ Keymap.custom \ PangoAttrEmbossed.custom\ PangoAttrEmbossColor.custom \ PangoAttrStipple.custom \ Pixmap.custom \ Pixbuf.custom \ PixbufAnimation.custom \ PixbufFrame.custom \ PixbufLoader.custom \ Pixdata.custom \ Point.custom \ Property.custom \ Rectangle.custom \ Region.custom \ RgbCmap.custom \ Screen.custom \ Selection.custom \ WindowAttr.custom \ Window.custom add_dist = SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix /r:, $(references)) $(MONO_CAIRO_LIBS) @PLATFORM_WIN32_FALSE@GAPI_CDECL_INSERT = @PLATFORM_WIN32_TRUE@GAPI_CDECL_INSERT = $(top_srcdir)/gapi-cdecl-insert --keyfile=$(SNK) $(ASSEMBLY) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gdk/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign gdk/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh gdk-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/gdk-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(gapiDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gapidir)/$$f'"; \ $(gapiDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gapidir)/$$f"; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(gapidir)/$$f'"; \ rm -f "$(DESTDIR)$(gapidir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-dvi install-dvi-am \ install-exec install-exec-am install-gapiDATA install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-gapiDATA uninstall-local $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) $(GAPI_CDECL_INSERT) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/gdk/EventVisibility.cs0000644000175000001440000000232511140655011014713 00000000000000// Gdk.EventVisibility.cs - Custom visibility event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventVisibility : Event { [DllImport("gdksharpglue-2")] static extern VisibilityState gtksharp_gdk_event_visibility_get_state (IntPtr evt); public EventVisibility (IntPtr raw) : base (raw) {} public VisibilityState State { get { return gtksharp_gdk_event_visibility_get_state (Handle); } } } } gtk-sharp-2.12.10/gdk/Pixbuf.custom0000644000175000001440000004025211131157072013731 00000000000000// Pixbuf.custom - Gdk Pixbuf class customizations // // Authors: // Vladimir Vukicevic // Miguel de Icaza // Mike Kestner // Duncan Mak // Gonzalo Paniagua Javier // Martin Willemoes Hansen // Jose Faria // // Copyright (c) 2002 Vladimir Vukicevic // Copyright (c) 2003 Ximian, Inc. (Miguel de Icaza) // Copyright (c) 2003 Ximian, Inc. (Duncan Mak) // Copyright (c) 2003 Ximian, Inc. (Gonzalo Paniagua Javier) // Copyright (c) 2003 Martin Willemoes Hansen // Copyright (c) 2004-2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_pixbuf_get_from_drawable(IntPtr raw, IntPtr src, IntPtr cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); public Gdk.Pixbuf GetFromDrawable(Gdk.Drawable src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height) { IntPtr raw_ret = gdk_pixbuf_get_from_drawable(Handle, src.Handle, cmap.Handle, src_x, src_y, dest_x, dest_y, width, height); Gdk.Pixbuf ret; if (raw_ret == IntPtr.Zero) ret = null; else ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret); return ret; } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_pixbuf_get_from_image(IntPtr raw, IntPtr src, IntPtr cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); public Gdk.Pixbuf GetFromImage(Gdk.Image src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height) { IntPtr raw_ret = gdk_pixbuf_get_from_image(Handle, src.Handle, cmap.Handle, src_x, src_y, dest_x, dest_y, width, height); Gdk.Pixbuf ret; if (raw_ret == IntPtr.Zero) ret = null; else ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret); return ret; } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_pixbuf_render_pixmap_and_mask (IntPtr raw, out IntPtr pixmap_return, out IntPtr mask_return, int alpha_threshold); public void RenderPixmapAndMask (out Pixmap pixmap_return, out Pixmap mask_return, int alpha_threshold) { IntPtr mask_handle, pixmap_handle; gdk_pixbuf_render_pixmap_and_mask (Handle, out pixmap_handle, out mask_handle, alpha_threshold); pixmap_return = GLib.Object.GetObject (pixmap_handle) as Pixmap; mask_return = GLib.Object.GetObject (mask_handle) as Pixmap; } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_pixbuf_render_pixmap_and_mask_for_colormap (IntPtr raw, IntPtr colormap, out IntPtr pixmap_return, out IntPtr mask_return, int alpha_threshold); public void RenderPixmapAndMaskForColormap (Colormap colormap, out Pixmap pixmap_return, out Pixmap mask_return, int alpha_threshold) { IntPtr mask_handle, pixmap_handle; gdk_pixbuf_render_pixmap_and_mask_for_colormap (Handle, colormap == null ? IntPtr.Zero : colormap.Handle, out pixmap_handle, out mask_handle, alpha_threshold); pixmap_return = GLib.Object.GetObject (pixmap_handle) as Pixmap; mask_return = GLib.Object.GetObject (mask_handle) as Pixmap; } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_pixbuf_render_threshold_alpha(IntPtr raw, IntPtr bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold); public void RenderThresholdAlpha(Gdk.Pixmap bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold) { gdk_pixbuf_render_threshold_alpha(Handle, bitmap.Handle, src_x, src_y, dest_x, dest_y, width, height, alpha_threshold); } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_pixbuf_render_to_drawable(IntPtr raw, IntPtr drawable, IntPtr gc, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int dither, int x_dither, int y_dither); public void RenderToDrawable(Gdk.Drawable drawable, Gdk.GC gc, int src_x, int src_y, int dest_x, int dest_y, int width, int height, Gdk.RgbDither dither, int x_dither, int y_dither) { gdk_pixbuf_render_to_drawable(Handle, drawable.Handle, gc.Handle, src_x, src_y, dest_x, dest_y, width, height, (int) dither, x_dither, y_dither); } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_pixbuf_render_to_drawable_alpha(IntPtr raw, IntPtr drawable, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_mode, int alpha_threshold, int dither, int x_dither, int y_dither); public void RenderToDrawableAlpha(Gdk.Drawable drawable, int src_x, int src_y, int dest_x, int dest_y, int width, int height, Gdk.PixbufAlphaMode alpha_mode, int alpha_threshold, Gdk.RgbDither dither, int x_dither, int y_dither) { gdk_pixbuf_render_to_drawable_alpha(Handle, drawable.Handle, src_x, src_y, dest_x, dest_y, width, height, (int) alpha_mode, alpha_threshold, (int) dither, x_dither, y_dither); } public Pixbuf (System.IO.Stream stream) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (stream)) { Raw = pl.PixbufHandle; } } public Pixbuf (System.IO.Stream stream, int width, int height) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (stream, width, height)) { Raw = pl.PixbufHandle; } } public Pixbuf (System.Reflection.Assembly assembly, string resource) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource)) { Raw = pl.PixbufHandle; } } public Pixbuf (System.Reflection.Assembly assembly, string resource, int width, int height) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource, width, height)) { Raw = pl.PixbufHandle; } } public Pixbuf (byte[] buffer) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (buffer)) { Raw = pl.PixbufHandle; } } public Pixbuf (byte[] buffer, int width, int height) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (buffer, width, height)) { Raw = pl.PixbufHandle; } } static public Pixbuf LoadFromResource (string resource) { return new Pixbuf (System.Reflection.Assembly.GetCallingAssembly (), resource); } [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern IntPtr gdk_pixbuf_scale_simple(IntPtr raw, int dest_width, int dest_height, int interp_type); public Gdk.Pixbuf ScaleSimple(int dest_width, int dest_height, Gdk.InterpType interp_type) { IntPtr raw_ret = gdk_pixbuf_scale_simple(Handle, dest_width, dest_height, (int) interp_type); Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret, true); return ret; } [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern IntPtr gdk_pixbuf_composite_color_simple(IntPtr raw, int dest_width, int dest_height, int interp_type, int overall_alpha, int check_size, uint color1, uint color2); public Gdk.Pixbuf CompositeColorSimple(int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint color1, uint color2) { IntPtr raw_ret = gdk_pixbuf_composite_color_simple(Handle, dest_width, dest_height, (int) interp_type, overall_alpha, check_size, color1, color2); Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret, true); return ret; } [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern IntPtr gdk_pixbuf_add_alpha(IntPtr raw, bool substitute_color, byte r, byte g, byte b); public Gdk.Pixbuf AddAlpha(bool substitute_color, byte r, byte g, byte b) { IntPtr raw_ret = gdk_pixbuf_add_alpha(Handle, substitute_color, r, g, b); Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret, true); return ret; } class DestroyHelper { GCHandle gch; GCHandle data_handle; PixbufDestroyNotify notify; public DestroyHelper (byte[] data, PixbufDestroyNotify notify) { gch = GCHandle.Alloc (this); data_handle = GCHandle.Alloc (data, GCHandleType.Pinned); this.notify = notify; } [GLib.CDeclCallback] public delegate void NativeDelegate (IntPtr buf, IntPtr data); void ReleaseHandles (IntPtr buf, IntPtr data) { if (notify != null) notify ((byte[])data_handle.Target); data_handle.Free (); gch.Free (); } NativeDelegate handler; public NativeDelegate Handler { get { handler = new NativeDelegate (ReleaseHandles); return handler; } } } [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern IntPtr gdk_pixbuf_new_from_data(byte[] data, int colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, DestroyHelper.NativeDelegate destroy_fn, IntPtr destroy_fn_data); public Pixbuf (byte[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify destroy_fn) : base (IntPtr.Zero) { if (GetType () != typeof (Pixbuf)) { throw new InvalidOperationException ("Can't override this constructor."); } DestroyHelper helper = new DestroyHelper (data, destroy_fn); Raw = gdk_pixbuf_new_from_data(data, (int) colorspace, has_alpha, bits_per_sample, width, height, rowstride, helper.Handler, IntPtr.Zero); } // overload to default the colorspace public Pixbuf(byte [] data, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify destroy_fn) : this (data, Gdk.Colorspace.Rgb, has_alpha, bits_per_sample, width, height, rowstride, destroy_fn) {} public Pixbuf(byte [] data, bool has_alpha, int bits_per_sample, int width, int height, int rowstride) : this (data, Gdk.Colorspace.Rgb, has_alpha, bits_per_sample, width, height, rowstride, null) {} public Pixbuf(byte [] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride) : this (data, colorspace, has_alpha, bits_per_sample, width, height, rowstride, null) {} public unsafe Pixbuf(byte[] data, bool copy_pixels) : base (IntPtr.Zero) { IntPtr error = IntPtr.Zero; Raw = gdk_pixbuf_new_from_inline(data.Length, data, copy_pixels, out error); if (error != IntPtr.Zero) throw new GLib.GException (error); } [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern unsafe IntPtr gdk_pixbuf_new_from_inline(int len, IntPtr data, bool copy_pixels, out IntPtr error); public unsafe Pixbuf(int data_length, void *data, bool copy_pixels) : base (IntPtr.Zero) { IntPtr error = IntPtr.Zero; Raw = gdk_pixbuf_new_from_inline(data_length, (IntPtr) data, copy_pixels, out error); if (error != IntPtr.Zero) throw new GLib.GException (error); } // // ICloneable interface // public object Clone () { return Copy (); } // // These are factory versions of a couple of existing methods, but simplify // the process by reducing the number of steps required. Here a single // operation will create the Pixbuf instead of two // public static Gdk.Pixbuf FromDrawable (Gdk.Drawable src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height) { IntPtr raw_ret = gdk_pixbuf_get_from_drawable(IntPtr.Zero, src.Handle, cmap.Handle, src_x, src_y, dest_x, dest_y, width, height); return new Pixbuf (raw_ret); } [Obsolete ("Replaced by static FromDrawable method")] public Gdk.Pixbuf CreateFromDrawable (Gdk.Drawable src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height) { IntPtr raw_ret = gdk_pixbuf_get_from_drawable((IntPtr) 0, src.Handle, cmap.Handle, src_x, src_y, dest_x, dest_y, width, height); return new Pixbuf (raw_ret); } // // the 'Pixels' property // [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern IntPtr gdk_pixbuf_get_pixels(IntPtr raw); public IntPtr Pixels { get { IntPtr ret = gdk_pixbuf_get_pixels (Handle); return ret; } } [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern IntPtr gdk_pixbuf_get_formats(); public static PixbufFormat[] Formats { get { IntPtr list_ptr = gdk_pixbuf_get_formats (); if (list_ptr == IntPtr.Zero) return new PixbufFormat [0]; GLib.SList list = new GLib.SList (list_ptr, typeof (PixbufFormat)); PixbufFormat[] result = new PixbufFormat [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = (PixbufFormat) list [i]; return result; } } [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern unsafe bool gdk_pixbuf_save(IntPtr raw, IntPtr filename, IntPtr type, out IntPtr error, IntPtr dummy); public unsafe bool Save(string filename, string type) { IntPtr error = IntPtr.Zero; IntPtr nfilename = GLib.Marshaller.StringToPtrGStrdup (filename); IntPtr ntype = GLib.Marshaller.StringToPtrGStrdup (type); bool ret = gdk_pixbuf_save(Handle, nfilename, ntype, out error, IntPtr.Zero); GLib.Marshaller.Free (nfilename); GLib.Marshaller.Free (ntype); if (error != IntPtr.Zero) throw new GLib.GException (error); return ret; } [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr raw); [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern unsafe bool gdk_pixbuf_save_to_bufferv (IntPtr raw, out IntPtr buffer, out IntPtr buffer_size, IntPtr type, IntPtr[] option_keys, IntPtr[] option_values, out IntPtr error); IntPtr[] NullTerm (string[] src) { if (src.Length == 0) return null; IntPtr[] result = new IntPtr [src.Length + 1]; for (int i = 0; i < src.Length; i++) result [i] = GLib.Marshaller.StringToPtrGStrdup (src [i]); result [src.Length] = IntPtr.Zero; return result; } void ReleaseArray (IntPtr[] ptrs) { if (ptrs == null) return; foreach (IntPtr p in ptrs) GLib.Marshaller.Free (p); } public unsafe byte[] SaveToBuffer (string type) { return SaveToBuffer (type, new string [0], new string [0]); } public unsafe byte[] SaveToBuffer (string type, string[] option_keys, string[] option_values) { IntPtr error = IntPtr.Zero; IntPtr buffer; IntPtr buffer_size; IntPtr ntype = GLib.Marshaller.StringToPtrGStrdup (type); IntPtr[] nkeys = NullTerm (option_keys); IntPtr[] nvals = NullTerm (option_values); bool saved = gdk_pixbuf_save_to_bufferv (Handle, out buffer, out buffer_size, ntype, nkeys, nvals, out error); GLib.Marshaller.Free (ntype); ReleaseArray (nkeys); ReleaseArray (nvals); if (!saved) throw new GLib.GException (error); byte[] result = new byte [(int)buffer_size]; Marshal.Copy (buffer, result, 0, (int) buffer_size); g_free (buffer); return result; } [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern unsafe bool gdk_pixbuf_save_to_callbackv (IntPtr raw, GdkSharp.PixbufSaveFuncNative save_func, IntPtr user_data, IntPtr type, IntPtr[] option_keys, IntPtr[] option_values, out IntPtr error); public unsafe void SaveToCallback (PixbufSaveFunc save_func, string type) { SaveToCallback (save_func, type, new string [0], new string [0]); } public unsafe void SaveToCallback (PixbufSaveFunc save_func, string type, string[] option_keys, string[] option_values) { GdkSharp.PixbufSaveFuncWrapper save_func_wrapper = new GdkSharp.PixbufSaveFuncWrapper (save_func); IntPtr error = IntPtr.Zero; IntPtr ntype = GLib.Marshaller.StringToPtrGStrdup (type); IntPtr[] nkeys = NullTerm (option_keys); IntPtr[] nvals = NullTerm (option_values); bool saved = gdk_pixbuf_save_to_callbackv (Handle, save_func_wrapper.NativeDelegate, IntPtr.Zero, ntype, nkeys, nvals, out error); GLib.Marshaller.Free (ntype); ReleaseArray (nkeys); ReleaseArray (nvals); if (!saved) throw new GLib.GException (error); } gtk-sharp-2.12.10/gdk/RgbCmap.custom0000644000175000001440000000206611131157072014010 00000000000000// Gdk.RgbCmap.custom - Gdk RgbCmap class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Gdk.RgbCmap is a reference type now, use null")] public static RgbCmap Zero = null; [Obsolete("Replaced by RgbCmap(IntPtr) constructor")] public static RgbCmap New (IntPtr raw) { return new RgbCmap (raw); } gtk-sharp-2.12.10/gdk/Drawable.custom0000644000175000001440000000425411131157072014217 00000000000000// Gdk.Drawble.custom - Gdk Drawble class customizations // // Author: Pedro Abelleira Seco // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void DrawRectangle(Gdk.GC gc, bool filled, Gdk.Rectangle area) { gdk_draw_rectangle(Handle, gc.Handle, filled, area.X, area.Y, area.Width, area.Height); } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_draw_polygon(IntPtr raw, IntPtr gc, int filled, Gdk.Point[] points, int npoints); [Obsolete] public void DrawPolygon(Gdk.GC gc, int filled, Gdk.Point[] points) { gdk_draw_polygon(Handle, gc.Handle, filled, points, points.Length); } public void DrawPolygon(Gdk.GC gc, bool filled, Gdk.Point[] points) { gdk_draw_polygon(Handle, gc.Handle, filled ? 1 : 0, points, points.Length); } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_draw_lines(IntPtr raw, IntPtr gc, Gdk.Point[] points, int npoints); public void DrawLines(Gdk.GC gc, Gdk.Point[] points) { gdk_draw_lines(Handle, gc.Handle, points, points.Length); } [DllImport("libgdk-win32-2.0-0.dll")] internal static extern IntPtr gdk_x11_drawable_get_xdisplay (IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll")] internal static extern IntPtr gdk_x11_drawable_get_xid (IntPtr raw); #if MANLY_ENOUGH_TO_INCLUDE public virtual Cairo.Graphics CairoGraphics () { Cairo.Graphics o = new Cairo.Graphics (); IntPtr display = gdk_x11_drawable_get_xdisplay (Handle); o.SetTargetDrawable (display, gdk_x11_drawable_get_xid (Handle)); return o; } #endif gtk-sharp-2.12.10/gdk/Display.custom0000644000175000001440000000651511131157072014105 00000000000000// Display.custom - customizations to Gdk.Display // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_display_get_pointer(IntPtr raw, IntPtr screen, out int x, out int y, out int mask); [Obsolete] public void GetPointer(Gdk.Screen screen, out int x, out int y, out Gdk.ModifierType mask) { int mask_as_int; gdk_display_get_pointer(Handle, screen.Handle, out x, out y, out mask_as_int); mask = (Gdk.ModifierType) mask_as_int; } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_display_get_pointer(IntPtr raw, out IntPtr screen, out int x, out int y, out int mask); public void GetPointer(out Gdk.Screen screen, out int x, out int y, out Gdk.ModifierType mask) { IntPtr screen_handle; int mask_as_int; gdk_display_get_pointer(Handle, out screen_handle, out x, out y, out mask_as_int); screen = (Gdk.Screen) GLib.Object.GetObject(screen_handle); mask = (Gdk.ModifierType) mask_as_int; } public void GetPointer (out int x, out int y) { Gdk.ModifierType mod; Gdk.Screen screen; GetPointer (out screen, out x, out y, out mod); } public void GetPointer (out int x, out int y, out Gdk.ModifierType mod) { Gdk.Screen screen; GetPointer (out screen, out x, out y, out mod); } public void GetPointer (out Gdk.Screen screen, out int x, out int y) { Gdk.ModifierType mod; GetPointer (out screen, out x, out y, out mod); } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_display_list_devices (IntPtr raw); public Device[] ListDevices () { IntPtr raw_ret = gdk_display_list_devices (Handle); if (raw_ret == IntPtr.Zero) return new Device [0]; GLib.List list = new GLib.List(raw_ret); Device[] result = new Device [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Device; return result; } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_display_add_client_message_filter (IntPtr raw, IntPtr message_type, GdkSharp.FilterFuncNative func, IntPtr data); public void AddClientMessageFilter (Gdk.Atom message_type, Gdk.FilterFunc func) { GdkSharp.FilterFuncWrapper func_wrapper = new GdkSharp.FilterFuncWrapper (func); if (!PersistentData.Contains ("client_message_filter_func_list")) PersistentData ["client_message_filter_func_list"] = new ArrayList (); ArrayList func_list = PersistentData ["client_message_filter_func_list"] as ArrayList; func_list.Add (func_wrapper); gdk_display_add_client_message_filter (Handle, message_type == null ? IntPtr.Zero : message_type.Handle, func_wrapper.NativeDelegate, IntPtr.Zero); } gtk-sharp-2.12.10/gdk/Pixmap.custom0000644000175000001440000000606511131157072013736 00000000000000// Gdk.Pixmap.custom - Pixmap extensions // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Pixmap (Gdk.Drawable drawable, int width, int height) : this (drawable, width, height, -1) {} [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_pixmap_colormap_create_from_xpm (IntPtr drawable, IntPtr colormap, IntPtr mask, IntPtr transparent_color, IntPtr filename); public static Gdk.Pixmap ColormapCreateFromXpm(Gdk.Drawable drawable, Gdk.Colormap colormap, string filename) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (filename); IntPtr raw_ret = gdk_pixmap_colormap_create_from_xpm (drawable.Handle, colormap.Handle, IntPtr.Zero, IntPtr.Zero, native); GLib.Marshaller.Free (native); return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_pixmap_colormap_create_from_xpm_d (IntPtr drawable, IntPtr colormap, IntPtr mask, IntPtr transparent_color, IntPtr data); public static Gdk.Pixmap ColormapCreateFromXpmD(Gdk.Drawable drawable, Gdk.Colormap colormap, string data) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (data); IntPtr raw_ret = gdk_pixmap_colormap_create_from_xpm_d (drawable.Handle, colormap.Handle, IntPtr.Zero, IntPtr.Zero, native); GLib.Marshaller.Free (native); return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_pixmap_create_from_xpm (IntPtr drawable, IntPtr mask, IntPtr transparent_color, IntPtr filename); public static Gdk.Pixmap CreateFromXpm(Gdk.Drawable drawable, string filename) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (filename); IntPtr raw_ret = gdk_pixmap_create_from_xpm (drawable.Handle, IntPtr.Zero, IntPtr.Zero, native); GLib.Marshaller.Free (native); return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_pixmap_create_from_xpm_d (IntPtr drawable, IntPtr mask, IntPtr transparent_color, IntPtr data); public static Gdk.Pixmap CreateFromXpmD(Gdk.Drawable drawable, string data) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (data); IntPtr raw_ret = gdk_pixmap_create_from_xpm_d (drawable.Handle, IntPtr.Zero, IntPtr.Zero, native); GLib.Marshaller.Free (native); return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } gtk-sharp-2.12.10/gdk/EventDND.cs0000644000175000001440000000343411140655011013173 00000000000000// Gdk.EventDND.cs - Custom dnd event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventDND : Event { [DllImport("gdksharpglue-2")] static extern uint gtksharp_gdk_event_dnd_get_time (IntPtr evt); [DllImport("gdksharpglue-2")] static extern IntPtr gtksharp_gdk_event_dnd_get_context (IntPtr evt); [DllImport("gdksharpglue-2")] static extern short gtksharp_gdk_event_dnd_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2")] static extern short gtksharp_gdk_event_dnd_get_y_root (IntPtr evt); public EventDND (IntPtr raw) : base (raw) {} public DragContext Context { get { return GLib.Object.GetObject (gtksharp_gdk_event_dnd_get_context (Handle)) as DragContext; } } public uint Time { get { return gtksharp_gdk_event_dnd_get_time (Handle); } } public short XRoot { get { return gtksharp_gdk_event_dnd_get_x_root (Handle); } } public short YRoot { get { return gtksharp_gdk_event_dnd_get_y_root (Handle); } } } } gtk-sharp-2.12.10/gdk/Pixdata.custom0000644000175000001440000000205311131157072014063 00000000000000// Pixdata.Custom // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk_pixbuf-2.0-0.dll")] static extern IntPtr gdk_pixdata_serialize (ref Gdk.Pixdata raw, out uint len); public byte [] Serialize () { uint len; IntPtr raw_ret = gdk_pixdata_serialize (ref this, out len); byte [] data = new byte [len]; Marshal.Copy (raw_ret, data, 0, (int)len); return data; } gtk-sharp-2.12.10/gdk/gdk-sharp.dll.config.in0000644000175000001440000000062111254303646015470 00000000000000 gtk-sharp-2.12.10/gdk/Global.custom0000644000175000001440000001340311140655006013672 00000000000000// Global.custom - customizations to Gdk.Global // // Authors: Mike Kestner // Boyd Timothy // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_devices_list (); public static Device[] DevicesList () { IntPtr raw_ret = gdk_devices_list (); if (raw_ret == IntPtr.Zero) return new Device [0]; GLib.List list = new GLib.List(raw_ret); Device[] result = new Device [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Device; return result; } [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_list_visuals (); public static Visual[] ListVisuals () { IntPtr raw_ret = gdk_list_visuals (); if (raw_ret == IntPtr.Zero) return new Visual [0]; GLib.List list = new GLib.List(raw_ret); Visual[] result = new Visual [list.Count]; for (int i = 0; i < list.Count; i++) result [i] = list [i] as Visual; return result; } [DllImport ("gdksharpglue-2")] static extern IntPtr gtksharp_get_gdk_net_supported (); public static Gdk.Atom[] SupportedWindowManagerHints { get { IntPtr raw_ret = gtksharp_get_gdk_net_supported (); if (raw_ret == IntPtr.Zero) return new Gdk.Atom [0]; GLib.List list = new GLib.List (raw_ret, typeof (Gdk.Atom)); Gdk.Atom[] atoms = new Gdk.Atom [list.Count]; for (int i = 0; i < list.Count; i++) atoms [i] = list [i] as Gdk.Atom; return atoms; } } [DllImport ("gdksharpglue-2")] static extern IntPtr gtksharp_get_gdk_net_client_list (out int count); public static Gdk.Window[] WindowManagerClientWindows { get { int count; IntPtr raw_ret = gtksharp_get_gdk_net_client_list (out count); if (raw_ret == IntPtr.Zero) return new Gdk.Window [0]; Gdk.Window [] windows = new Gdk.Window [count]; int offset = 0; for (int i = 0; i < count; i++) { int windowID = Marshal.ReadInt32 (raw_ret, offset); Console.WriteLine ("WinID: {0}", windowID); offset += IntPtr.Size; windows [i] = Gdk.Window.ForeignNew ((uint) windowID); } return windows; } } [DllImport ("gdksharpglue-2")] static extern int gtksharp_get_gdk_net_number_of_desktops (); public static int NumberOfDesktops { get { return gtksharp_get_gdk_net_number_of_desktops (); } } [DllImport ("gdksharpglue-2")] static extern int gtksharp_get_gdk_net_current_desktop (); public static int CurrentDesktop { get { return gtksharp_get_gdk_net_current_desktop (); } } [DllImport ("gdksharpglue-2")] static extern uint gtksharp_get_gdk_net_active_window (); public static Gdk.Window ActiveWindow { get { uint windowID = gtksharp_get_gdk_net_active_window (); if (windowID == 0) return Gdk.Global.DefaultRootWindow; Console.WriteLine ("Active Window ID: {0}", windowID); Gdk.Window window = Gdk.Window.ForeignNew (windowID); return window; } } [DllImport ("gdksharpglue-2")] static extern IntPtr gtksharp_get_gdk_net_workarea (); public static Gdk.Rectangle[] DesktopWorkareas { get { IntPtr raw_ret = gtksharp_get_gdk_net_workarea (); if (raw_ret == IntPtr.Zero) return new Gdk.Rectangle [0]; GLib.List list = new GLib.List (raw_ret, typeof (Gdk.Rectangle)); Gdk.Rectangle[] workareas = new Gdk.Rectangle [list.Count]; for (int i = 0; i < list.Count; i++) workareas [i] = (Gdk.Rectangle) list [i]; return workareas; } } [DllImport("libgdk-win32-2.0-0.dll")] static extern bool gdk_init_check(ref int argc, ref IntPtr argv); public static bool InitCheck (ref string[] argv) { GLib.Argv a = new GLib.Argv (argv, true); IntPtr buf = a.Handle; int argc = argv.Length + 1; bool result = gdk_init_check (ref argc, ref buf); argv = a.GetArgs (argc); return result; } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_parse_args(ref int argc, ref IntPtr argv); public static void ParseArgs (ref string[] argv) { GLib.Argv a = new GLib.Argv (argv, true); IntPtr buf = a.Handle; int argc = argv.Length + 1; gdk_parse_args (ref argc, ref buf); argv = a.GetArgs (argc); } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_query_depths (out IntPtr depths, out int n_depths); public static int[] QueryDepths () { IntPtr ptr; int count; gdk_query_depths (out ptr, out count); int[] result = new int [count]; Marshal.Copy (ptr, result, 0, count); return result; } [DllImport("libgdk-win32-2.0-0.dll")] static extern void gdk_query_visual_types (out IntPtr types, out int n_types); public static VisualType[] QueryVisualTypes () { IntPtr ptr; int count; gdk_query_visual_types (out ptr, out count); int[] tmp = new int [count]; Marshal.Copy (ptr, tmp, 0, count); VisualType[] result = new VisualType [count]; for (int i = 0; i < count; i++) result [i] = (VisualType) tmp [i]; return result; } public static void AddClientMessageFilter (Gdk.Atom message_type, Gdk.FilterFunc func) { Gdk.Display.Default.AddClientMessageFilter (message_type, func); } gtk-sharp-2.12.10/gdk/GCValues.custom0000644000175000001440000000300511131157072014140 00000000000000// Gdk.GCValues.custom - Gdk GCValues class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Tile property.")] public Gdk.Pixmap tile { get { Gdk.Pixmap ret = (Gdk.Pixmap) GLib.Object.GetObject(_tile); return ret; } set { _tile = value.Handle; } } [Obsolete ("Replaced by Stipple property.")] public Gdk.Pixmap stipple { get { Gdk.Pixmap ret = (Gdk.Pixmap) GLib.Object.GetObject(_stipple); return ret; } set { _stipple = value.Handle; } } [Obsolete ("Replaced by ClipMask property.")] public Gdk.Pixmap clip_mask { get { Gdk.Pixmap ret = (Gdk.Pixmap) GLib.Object.GetObject(_clip_mask); return ret; } set { _clip_mask = value.Handle; } } gtk-sharp-2.12.10/Makefile.include0000644000175000001440000000712411140655417013564 00000000000000SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix /r:, $(references)) $(MONO_CAIRO_LIBS) if PLATFORM_WIN32 GAPI_CDECL_INSERT=$(top_srcdir)/gapi-cdecl-insert --keyfile=$(SNK) $(ASSEMBLY) else GAPI_CDECL_INSERT= endif $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) $(GAPI_CDECL_INSERT) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi gtk-sharp-2.12.10/config.h.in0000644000175000001440000000331411345266407012526 00000000000000/* config.h.in. Generated from configure.in by autoheader. */ /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Platform is Win32 */ #undef PLATFORM_WIN32 /* The size of `off_t', as computed by sizeof. */ #undef SIZEOF_OFF_T /* The size of `void *', as computed by sizeof. */ #undef SIZEOF_VOID_P /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION gtk-sharp-2.12.10/sources/0000777000175000001440000000000011345266754012256 500000000000000gtk-sharp-2.12.10/sources/Makefile.am0000644000175000001440000000215011131156732014207 00000000000000EXTRA_DIST = \ README \ gtk-sharp-2.12-sources.xml \ gtkclipboard.patch \ gtk_tree_model_signal_fix.patch \ gtk_tree_model_signal_fix-2.10.patch GTK_2_12_DOWNLOADS = \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/pango-1.18.2.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/atk-1.20.0.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/gtk+-2.12.0.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/libglade-2.6.2.tar.bz2 api: api-2.12 api-2.12: PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe gtk-sharp-2.12-sources.xml get-source-code: get-2.12-sources get-2.12-sources: for i in $(GTK_2_12_DOWNLOADS); do \ wget $$i --output-document=- | tar -xj ; \ done; ln -f -s gtkfilechooserprivate.h gtk+-2.12.0/gtk/gtkfilechooserpriv.h patch -p0 gtk+-2.12.0/gtk/gtktreemodel.c < gtk_tree_model_signal_fix-2.10.patch echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-2.12.0/gtk/gtkclipboard.h echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-2.12.0/gtk/gtkclipboard.h gtk-sharp-2.12.10/sources/gtk_tree_model_signal_fix.patch0000644000175000001440000000452211131156732020370 00000000000000173,180c173,181 < g_signal_newv ("row_inserted", < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED_BOXED, < G_TYPE_NONE, 2, < row_inserted_params); --- > g_signal_new ("row_inserted", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, row_inserted), > NULL, NULL, > _gtk_marshal_VOID__BOXED_BOXED, > G_TYPE_NONE, 2, > GTK_TYPE_TREE_PATH, > GTK_TYPE_TREE_ITER); 196,203c197,204 < g_signal_newv ("row_deleted", < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED, < G_TYPE_NONE, 1, < row_deleted_params); --- > g_signal_new ("row_deleted", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, row_deleted), > NULL, NULL, > _gtk_marshal_VOID__BOXED, > G_TYPE_NONE, 1, > GTK_TYPE_TREE_PATH); 208,215c209,219 < g_signal_newv ("rows_reordered", < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED_BOXED_POINTER, < G_TYPE_NONE, 3, < rows_reordered_params); --- > g_signal_new ("rows_reordered", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, rows_reordered), > NULL, NULL, > _gtk_marshal_VOID__BOXED_BOXED_POINTER, > G_TYPE_NONE, 3, > GTK_TYPE_TREE_PATH, > GTK_TYPE_TREE_ITER, > G_TYPE_POINTER); > gtk-sharp-2.12.10/sources/README0000644000175000001440000000703411131156732013041 00000000000000The contents of this directory are (basically) the first step in creating .NET bindings, to libraries based on GObject. QUICK INSTRUCTIONS ------------------ Edit the .metadata file(s), then do a: make get-source-code make api You only have to do a "make get-source-code" once! After you have run "make get-source-code" once, do the following... Edit the .metadata file(s), then do a: make api Note, these instructions only generate XML files in the "api" directory. To turn those XML files (in the "api" directory) into C# code; and then turn that C# code into a .DLL, you'll need to perform extra steps, which are NOT described in this document. (If you are going to create a new .NET binding, then you will need to do more than just this.) WHO USES THE SOURCES DIRECTORY ------------------------------ This directory is essentially the "starting point" in the creation of a .NET binding. Most people can safely ignore it. (If all you want to do is build Gtk#, then you can ignore what's in this directory.) This directory is not part of the normal "build process" for Gtk#. But is instead used by people wishing to update an existing .NET binding; or to create a new .NET binding (for a GObject based library). The result of running "make api" on this directory (once everything is set up) are the XML files that you find in the "api" directory. (Those XML files, that you find in the "api" directory, are then used to generate the C# code. And then that C# code is used to create the various .DLL files.) WHAT'S REQUIRED --------------- Before you can do anything here, you need to get the source code to the various libraries (which you are generating .NET bindings for). And then do a little configuring. The current list of libraries that Gtk# supports is: pango-1.4.0 atk-1.6.0 gtk+-2.4.1 libgnome-2.6.0 libgnomecanvas-2.6.0 libgnomeui-2.6.0 libgnomeprint-2.6.0 libgnomeprintui-2.6.0 gtkhtml-3.0.10 files: gtkhtml.[ch], gtkhtml-types.h, gtkhtml-enums.h, gtkhtml-stream.[ch] libglade-2.3.6 libart_lgpl-2.3.16 librsvg-2.6.4 gnome-vfs-2.6.0 gnome-panel-2.6.0 (If you create a new binding, that is part of Gtk#, be sure to add it to this list. Also, you'll need to add an entry in "gtk-sharp.sources". And you should add it to the "makefile" so that it is part of the "get-source-code" rule.) (There are two ways to get this source code. As you will see in the next section.) SETTING THINGS UP ----------------- To set things up, you need to get the source code to the libraries listed above. There are two (alternate) methods of doing this. Method 1) Download it. Unpack the source code (if necessary). Then do the extra cofiguration stuff listed above. Method 2) Run: make get-source-code (Method 2 is probably the easiest way to do it for most people. It automatically goes and downloads everything you need. And configures everything for you.) EDITING .METADATA FILES ----------------------- Part of updating a .NET binding involves editing a .metadata file. (Assuming you already have the required source code, to the libraries...) once you update a binding, you then run: make api ...to create the new updated XML file(s) that will be placed in the "api" directory. gtk-sharp-2.12.10/sources/Makefile.in0000644000175000001440000002552111345266365014242 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sources DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ README \ gtk-sharp-2.12-sources.xml \ gtkclipboard.patch \ gtk_tree_model_signal_fix.patch \ gtk_tree_model_signal_fix-2.10.patch GTK_2_12_DOWNLOADS = \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/pango-1.18.2.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/atk-1.20.0.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/gtk+-2.12.0.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/libglade-2.6.2.tar.bz2 all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sources/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign sources/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am api: api-2.12 api-2.12: PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe gtk-sharp-2.12-sources.xml get-source-code: get-2.12-sources get-2.12-sources: for i in $(GTK_2_12_DOWNLOADS); do \ wget $$i --output-document=- | tar -xj ; \ done; ln -f -s gtkfilechooserprivate.h gtk+-2.12.0/gtk/gtkfilechooserpriv.h patch -p0 gtk+-2.12.0/gtk/gtktreemodel.c < gtk_tree_model_signal_fix-2.10.patch echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-2.12.0/gtk/gtkclipboard.h echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-2.12.0/gtk/gtkclipboard.h # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/sources/gtkclipboard.patch0000644000175000001440000000114411131156732015643 00000000000000--- gtkclipboard.h.orig 2005-03-18 15:41:55.748377369 -0500 +++ gtkclipboard.h 2005-03-18 15:45:36.752348627 -0500 @@ -32,6 +32,9 @@ #define GTK_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CLIPBOARD, GtkClipboard)) #define GTK_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CLIPBOARD)) +typedef struct _GtkClipboard GtkClipboard; +typedef struct _GtkClipboardClass GtkClipboardClass; + typedef void (* GtkClipboardReceivedFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data); gtk-sharp-2.12.10/sources/gtk-sharp-2.12-sources.xml0000644000175000001440000001546111131156732016647 00000000000000 atk-1.20.0/atk pangoatsui.c pangoatsui.h pangoatsui-fontmap.h pangoatsui-private.h pangocairo-atsui.h pangocairo-atsuifont.h pangocairo-fc.h pangocairo-win32.h pangocairo-private.h pangofc-decoder.c pangofc-decoder.h pangofc-font.c pangofc-font.h pangofc-fontmap.c pangofc-fontmap.h pangofc-private.h pangox-fontcache.c pangox-fontmap.c pangox-private.h pangox.h pangox.c pangoxft.h pangoxft-font.c pangoxft-font.h pangoxft-fontmap.c pangoxft-fontmap.h pangoxft-private.h pangoxft-render.c pangoxft-render.h pango-color-table.h pango-impl-utils.h pango-script-lang-table.h pango-script-table.h gdkalias.h keyname-table.h gdk-pixbuf-alias.h gdk-pixbuf-scaled-anim.h xpm-color-table.h gtkalias.h gtkbuiltincache.h gtkdndcursors.h gtkfilechooserdefault.c gtkfilechooserdefault.h gtkfilechooserembed.c gtkfilechooserembed.h gtkfilechooserentry.c gtkfilechooserentry.h gtkfilechoosersettings.c gtkfilechoosersettings.h gtkfilechooserutils.c gtkfilechooserutils.h gtkfilesystem.c gtkfilesystem.h gtkfilesystemmodel.c gtkfilesystemmodel.h gtkfilesystemunix.c gtkfilesystemunix.h gtkfilesystemwin32.c gtkfilesystemwin32.h gtkiconcache.c gtkiconcache.h gtkiconcachevalidator.c gtkiconcachevalidator.h gtkiconthemeparser.h gtkpathbar.c gtkpathbar.h gtkprintbackend.h gtkprinteroption.h gtkprinteroptionset.h gtkprinteroptionwidget.h gtkquery.c gtkquery.h gtkrbtree.c gtkrbtree.h gtksearchengine.c gtksearchengine.h gtksearchenginebeagle.c gtksearchenginebeagle.h gtksearchenginequartz.c gtksearchenginequartz.h gtksearchenginesimple.c gtksearchenginesimple.h gtksearchenginetracker.c gtksearchenginetracker.h gtksequence.c gtksequence.h gtktextbtree.c gtktextbtree.h gtktextsegment.c gtktextsegment.h gtktexttypes.c gtktexttypes.h gtktextutil.c gtktextutil.h gtkthemes.c gtkthemes.h gtktreedatalist.c gtktreedatalist.h gtkwindow-decorate.c gtkwindow-decorate.h gtkxembed.h xembed.h gtkclist.c gtkclist.h gtkctree.c gtkctree.h gtklist.c gtklist.h gtklistitem.c gtklistitem.h gtkoldeditable.c gtkoldeditable.h gtkpixmap.c gtkpixmap.h gtkpreview.c gtkpreview.h gtkprogress.c gtkprogress.h gtktext.c gtktext.h gtktipsquery.c gtktipsquery.h gtktree.c gtktree.h gtktreeitem.c gtktreeitem.h libglade-2.6.2/glade gtk-sharp-2.12.10/sources/gtk_tree_model_signal_fix-2.10.patch0000644000175000001440000000453611131156732020753 00000000000000173,180c173,181 < g_signal_newv (I_("row_inserted"), < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED_BOXED, < G_TYPE_NONE, 2, < row_inserted_params); --- > g_signal_new ("row_inserted", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, row_inserted), > NULL, NULL, > _gtk_marshal_VOID__BOXED_BOXED, > G_TYPE_NONE, 2, > GTK_TYPE_TREE_PATH, > GTK_TYPE_TREE_ITER); 196,203c197,204 < g_signal_newv (I_("row_deleted"), < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED, < G_TYPE_NONE, 1, < row_deleted_params); --- > g_signal_new ("row_deleted", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, row_deleted), > NULL, NULL, > _gtk_marshal_VOID__BOXED, > G_TYPE_NONE, 1, > GTK_TYPE_TREE_PATH); 208,215c209,219 < g_signal_newv (I_("rows_reordered"), < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED_BOXED_POINTER, < G_TYPE_NONE, 3, < rows_reordered_params); --- > g_signal_new ("rows_reordered", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, rows_reordered), > NULL, NULL, > _gtk_marshal_VOID__BOXED_BOXED_POINTER, > G_TYPE_NONE, 3, > GTK_TYPE_TREE_PATH, > GTK_TYPE_TREE_ITER, > G_TYPE_POINTER); > gtk-sharp-2.12.10/pango/0000777000175000001440000000000011345266755011700 500000000000000gtk-sharp-2.12.10/pango/Makefile.am0000644000175000001440000000216711131156745013644 00000000000000SUBDIRS = . glue if ENABLE_MONO_CAIRO local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll else local_mono_cairo= endif pkg = pango METADATA = Pango.metadata SYMBOLS = pango-symbols.xml references = ../glib/glib-sharp.dll $(local_mono_cairo) glue_includes = pango/pango.h sources = \ Attribute.cs \ AttrBackground.cs \ AttrFallback.cs \ AttrFamily.cs \ AttrFontDesc.cs \ AttrForeground.cs \ AttrGravity.cs \ AttrGravityHint.cs \ AttrLanguage.cs \ AttrLetterSpacing.cs \ AttrRise.cs \ AttrScale.cs \ AttrShape.cs \ AttrSize.cs \ AttrStretch.cs \ AttrStrikethroughColor.cs \ AttrStrikethrough.cs \ AttrStyle.cs \ AttrUnderlineColor.cs \ AttrUnderline.cs \ AttrVariant.cs \ AttrWeight.cs \ Scale.cs \ ScriptIter.cs customs = \ Analysis.custom \ AttrIterator.custom \ AttrList.custom \ Context.custom \ Coverage.custom \ FontFamily.custom \ FontMap.custom \ Global.custom \ GlyphItem.custom \ GlyphString.custom \ Item.custom \ Layout.custom \ LayoutLine.custom \ LayoutRun.custom \ Matrix.custom \ TabArray.custom \ Units.custom add_dist = include ../Makefile.include gtk-sharp-2.12.10/pango/pango-symbols.xml0000644000175000001440000000057311131156745015123 00000000000000 gtk-sharp-2.12.10/pango/TabArray.custom0000644000175000001440000000314611131156745014547 00000000000000// Pango.TabArray.custom - Pango TabArray class customizations // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll")] static extern void pango_tab_array_get_tabs (IntPtr raw, out IntPtr alignments, out IntPtr locations); public void GetTabs (out TabAlign[] alignments, out int[] locations) { int sz = Size; IntPtr align_ptr, loc_ptr; alignments = new TabAlign [sz]; locations = new int [sz]; int[] tmp = new int [sz]; if (sz == 0) return; pango_tab_array_get_tabs (Handle, out align_ptr, out loc_ptr); Marshal.Copy (loc_ptr, locations, 0, sz); Marshal.Copy (align_ptr, tmp, 0, sz); for (int i = 0; i < sz; i++) alignments [i] = (TabAlign) tmp [i]; g_free (align_ptr); g_free (loc_ptr); } gtk-sharp-2.12.10/pango/AttrLanguage.cs0000644000175000001440000000262211140654770014512 00000000000000// Pango.AttrLanguage - Pango.Attribute for Pango.Language // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrLanguage : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_language_new (IntPtr language); public AttrLanguage (Pango.Language language) : this (pango_attr_language_new (language.Handle)) {} internal AttrLanguage (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern IntPtr pangosharp_attr_language_get_value (IntPtr raw); public Pango.Language Language { get { IntPtr raw_ret = pangosharp_attr_language_get_value (Handle); return new Pango.Language (raw_ret); } } } } gtk-sharp-2.12.10/pango/AttrStyle.cs0000644000175000001440000000246611140654770014075 00000000000000// Pango.AttrStyle - Pango.Attribute for Pango.Style // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrStyle : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_style_new (Pango.Style style); public AttrStyle (Pango.Style style) : this (pango_attr_style_new (style)) {} internal AttrStyle (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Style Style { get { return (Pango.Style)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/AttrBackground.cs0000644000175000001440000000300311140654770015040 00000000000000// Pango.AttrBackground - Pango.Attribute for background color // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrBackground : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_background_new (ushort red, ushort green, ushort blue); public AttrBackground (ushort red, ushort green, ushort blue) : this (pango_attr_background_new (red, green, blue)) {} public AttrBackground (Pango.Color color) : this (pango_attr_background_new (color.Red, color.Green, color.Blue)) {} internal AttrBackground (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { return pangosharp_attr_color_get_color (Handle); } } } } gtk-sharp-2.12.10/pango/AttrWeight.cs0000644000175000001440000000250511140654770014216 00000000000000// Pango.AttrWeight - Pango.Attribute for Pango.Weight // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrWeight : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_weight_new (Pango.Weight weight); public AttrWeight (Pango.Weight weight) : this (pango_attr_weight_new (weight)) {} internal AttrWeight (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Weight Weight { get { return (Pango.Weight)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/AttrSize.cs0000644000175000001440000000327211140654770013703 00000000000000// Pango.AttrSize - Pango.Attribute for font size // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrSize : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_size_new (int size); [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_size_new_absolute (int size); public AttrSize (int size) : this (pango_attr_size_new (size)) {} public AttrSize (int size, bool absolute) : this (absolute ? pango_attr_size_new (size) : pango_attr_size_new_absolute (size)) {} internal AttrSize (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_size_get_size (IntPtr raw); public int Size { get { return pangosharp_attr_size_get_size (Handle); } } [DllImport("pangosharpglue-2")] static extern bool pangosharp_attr_size_get_absolute (IntPtr raw); public bool Absolute { get { return pangosharp_attr_size_get_absolute (Handle); } } } } gtk-sharp-2.12.10/pango/Analysis.custom0000644000175000001440000000420711131156745014624 00000000000000// Pango.Analysis.custom - Pango Analysis class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Attribute[] ExtraAttrs { get { GLib.SList list = new GLib.SList (_extra_attrs, typeof (IntPtr)); Attribute[] result = new Attribute [list.Count]; int i = 0; foreach (IntPtr attr in list) result [i++] = Attribute.GetAttribute (attr); return result; } } [Obsolete ("Replaced by ShapeEngine property")] public Pango.EngineShape shape_engine { get { return _shape_engine == IntPtr.Zero ? null : new Pango.EngineShape(_shape_engine); } set { _shape_engine = value == null ? IntPtr.Zero : value.Handle; } } [Obsolete ("Replaced by LangEngine property")] public Pango.EngineLang lang_engine { get { return _lang_engine == IntPtr.Zero ? null : new Pango.EngineLang(_lang_engine); } set { _lang_engine = value == null ? IntPtr.Zero : value.Handle; } } [Obsolete ("Replaced by Font property")] public Pango.Font font { get { return GLib.Object.GetObject(_font) as Pango.Font; } set { _font = value == null ? IntPtr.Zero : value.Handle; } } [Obsolete ("Replaced by Language property")] public Pango.Language language { get { return _language == IntPtr.Zero ? null : new Pango.Language(_language); } set { _language = value == null ? IntPtr.Zero : value.Handle; } } gtk-sharp-2.12.10/pango/AttrScale.cs0000644000175000001440000000244511140654770014021 00000000000000// Pango.AttrScale - Pango.Attribute for font size scale // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrScale : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_scale_new (double scale); public AttrScale (double scale) : this (pango_attr_scale_new (scale)) {} internal AttrScale (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern double pangosharp_attr_float_get_value (IntPtr raw); public double Scale { get { return pangosharp_attr_float_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/Layout.custom0000644000175000001440000000643011131156745014316 00000000000000// Pango.Layout.custom - Pango Layout class customizations // // Authors: Pedro Abelleira Seco // Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_layout_get_lines(IntPtr raw); public LayoutLine[] Lines { get { IntPtr list_ptr = pango_layout_get_lines(Handle); if (list_ptr == IntPtr.Zero) return new LayoutLine [0]; GLib.SList list = new GLib.SList(list_ptr, typeof (IntPtr)); LayoutLine[] result = new LayoutLine [list.Count]; for (int i = 0; i < list.Count; i++) result[i] = new LayoutLine ((IntPtr)list[i]); return result; } } [DllImport("libpango-1.0-0.dll")] static extern void pango_layout_set_markup_with_accel (IntPtr raw, IntPtr markup, int length, uint accel_marker, out uint accel_char); public void SetMarkupWithAccel (string markup, char accel_marker, out char accel_char) { uint ucs4_accel_char; IntPtr native_markup = GLib.Marshaller.StringToPtrGStrdup (markup); pango_layout_set_markup_with_accel (Handle, native_markup, -1, GLib.Marshaller.CharToGUnichar (accel_marker), out ucs4_accel_char); GLib.Marshaller.Free (native_markup); accel_char = GLib.Marshaller.GUnicharToChar (ucs4_accel_char); } [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll")] static extern void pango_layout_get_log_attrs (IntPtr raw, out IntPtr attrs, out int n_attrs); public LogAttr [] LogAttrs { get { int count; IntPtr array_ptr; pango_layout_get_log_attrs (Handle, out array_ptr, out count); if (array_ptr == IntPtr.Zero) return new LogAttr [0]; LogAttr [] result = new LogAttr [count]; for (int i = 0; i < count; i++) { IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size); result [i] = LogAttr.New (fam_ptr); } g_free (array_ptr); return result; } } [DllImport ("libpango-1.0-0.dll")] static extern void pango_layout_set_text (IntPtr raw, IntPtr text, int length); public void SetText (string text) { IntPtr native_text = GLib.Marshaller.StringToPtrGStrdup (text); pango_layout_set_text (Handle, native_text, -1); GLib.Marshaller.Free (native_text); } [DllImport ("libpango-1.0-0.dll")] static extern void pango_layout_set_markup (IntPtr raw, IntPtr markup, int length); public void SetMarkup (string markup) { IntPtr native_markup = GLib.Marshaller.StringToPtrGStrdup (markup); pango_layout_set_markup (Handle, native_markup, -1); GLib.Marshaller.Free (native_markup); } gtk-sharp-2.12.10/pango/AttrForeground.cs0000644000175000001440000000300311140654770015073 00000000000000// Pango.AttrForeground - Pango.Attribute for foreground color // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrForeground : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_foreground_new (ushort red, ushort green, ushort blue); public AttrForeground (ushort red, ushort green, ushort blue) : this (pango_attr_foreground_new (red, green, blue)) {} public AttrForeground (Pango.Color color) : this (pango_attr_foreground_new (color.Red, color.Green, color.Blue)) {} internal AttrForeground (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { return pangosharp_attr_color_get_color (Handle); } } } } gtk-sharp-2.12.10/pango/Units.custom0000644000175000001440000000223411140654773014145 00000000000000// Pango.Units.custom - Unit customizations. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. private Units () {} [DllImport("pangosharpglue-2")] static extern int pangosharp_pixels (int units); [DllImport("pangosharpglue-2")] static extern int pangosharp_scale (); public static int FromPixels (int pixels) { return pixels * pangosharp_scale (); } public static int ToPixels (int units) { return pangosharp_pixels (units); } gtk-sharp-2.12.10/pango/AttrFontDesc.cs0000644000175000001440000000306211140654770014473 00000000000000// Pango.AttrFontDesc - Pango.Attribute for Pango.FontDescription // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrFontDesc : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_font_desc_new (IntPtr font_desc); [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_font_description_copy(IntPtr raw); public AttrFontDesc (Pango.FontDescription font_desc) : this (pango_attr_font_desc_new (pango_font_description_copy (font_desc.Handle))) {} internal AttrFontDesc (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern IntPtr pangosharp_attr_font_desc_get_desc (IntPtr raw); public Pango.FontDescription Desc { get { IntPtr raw_ret = pangosharp_attr_font_desc_get_desc (Handle); return new Pango.FontDescription (raw_ret); } } } } gtk-sharp-2.12.10/pango/AttrList.custom0000644000175000001440000000270611131156745014611 00000000000000// Pango.AttrList.custom - Pango AttrList customizations // // Authors: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attribute_copy (IntPtr raw); [DllImport("libpango-1.0-0.dll")] static extern void pango_attr_list_insert (IntPtr raw, IntPtr attr); public void Insert (Pango.Attribute attr) { pango_attr_list_insert (Handle, pango_attribute_copy (attr.Handle)); } [DllImport("libpango-1.0-0.dll")] static extern void pango_attr_list_insert_before (IntPtr raw, IntPtr attr); public void InsertBefore (Pango.Attribute attr) { pango_attr_list_insert_before (Handle, pango_attribute_copy (attr.Handle)); } gtk-sharp-2.12.10/pango/Scale.cs0000755000175000001440000000313211131156745013162 00000000000000// Scale.cs // // Author: Daniel Morgan // // Copyright (C) 2002 Daniel Morgan // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Pango { public sealed class Scale { public static readonly double PangoScale = 1024.0; public static readonly double XXSmall = 0.5787037037037; public static readonly double XSmall = 0.6444444444444; public static readonly double Small = 0.8333333333333; public static readonly double Medium = 1.0; public static readonly double Large = 1.2; public static readonly double XLarge = 1.4399999999999; public static readonly double XXLarge = 1.728; [Obsolete ("Replaced by XXSmall")] public static readonly double XX_Small = XXSmall; [Obsolete ("Replaced by XSmall")] public static readonly double X_Small = XSmall; [Obsolete ("Replaced by XLarge")] public static readonly double X_Large = XLarge; [Obsolete ("Replaced by XXLarge")] public static readonly double XX_Large = XXLarge; } } gtk-sharp-2.12.10/pango/FontMap.custom0000644000175000001440000000363011131156745014404 00000000000000// Pango.FontMap.custom - Pango FontMap class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll")] static extern void pango_font_map_list_families(IntPtr raw, out IntPtr families, out int n_families); public FontFamily [] Families { get { int count; IntPtr array_ptr; pango_font_map_list_families (Handle, out array_ptr, out count); if (array_ptr == IntPtr.Zero) return new FontFamily [0]; FontFamily [] result = new FontFamily [count]; for (int i = 0; i < count; i++) { IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size); result [i] = GLib.Object.GetObject (fam_ptr) as FontFamily; } g_free (array_ptr); return result; } } [DllImport("libpango-1.0-0.dll")] static extern void pango_font_map_list_families(IntPtr raw, IntPtr families, out int n_families); [Obsolete] public int ListFamilies(Pango.FontFamily families) { int n_families; pango_font_map_list_families(Handle, families.Handle, out n_families); return n_families; } gtk-sharp-2.12.10/pango/Pango.metadata0000644000175000001440000002652311234360436014356 00000000000000 call true 1 1 1 1 1 true 1 true GetHash 1 1 1 1 1 out out out out out 1 ref ref ref ref 1 1 1 1 VersionCheck VersionString 1 CairoHelper libpangocairo-1.0-0.dll 1 1 1 1 1 1 ref 1 1 ref 1 1 1 1 true 1 true 1 1 call 1 out out true 1 PangoLayoutLine* GetLinesReadOnly PangoLayoutLine* 1 out out out true out 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 false private ref ref 1 1 1 1 1 /api/namespace/class[@name='Global'] /api/namespace/class[@name='Global'] gtk-sharp-2.12.10/pango/AttrGravity.cs0000644000175000001440000000247111140654770014416 00000000000000// Pango.AttrGravity - Pango.Attribute for Gravity // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrGravity : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_gravity_new (int gravity); public AttrGravity (Gravity gravity) : this (pango_attr_gravity_new ((int) gravity)) {} internal AttrGravity (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Gravity Gravity { get { return (Gravity) pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/AttrIterator.custom0000644000175000001440000000451011131156745015462 00000000000000// Pango.AttrIterator.custom - Pango AttrIterator class customizations // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll")] static extern void pango_attr_iterator_get_font(IntPtr raw, IntPtr desc, out IntPtr language, out IntPtr extra_attrs); public void GetFont (out Pango.FontDescription desc, out Pango.Language language, out Pango.Attribute[] extra_attrs) { desc = new FontDescription (); IntPtr language_handle, list_handle; pango_attr_iterator_get_font (Handle, desc.Handle, out language_handle, out list_handle); desc.Family = desc.Family; // change static string to allocated one language = language_handle == IntPtr.Zero ? null : new Language (language_handle); if (list_handle == IntPtr.Zero) { extra_attrs = new Pango.Attribute [0]; return; } GLib.SList list = new GLib.SList (list_handle); extra_attrs = new Pango.Attribute [list.Count]; int i = 0; foreach (IntPtr raw_attr in list) extra_attrs [i++] = Pango.Attribute.GetAttribute (raw_attr); } [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_iterator_get_attrs (IntPtr raw); public Pango.Attribute[] Attrs { get { IntPtr list_handle = pango_attr_iterator_get_attrs (Handle); if (list_handle == IntPtr.Zero) return new Pango.Attribute [0]; GLib.SList list = new GLib.SList (list_handle); Pango.Attribute[] attrs = new Pango.Attribute [list.Count]; int i = 0; foreach (IntPtr raw_attr in list) attrs [i++] = Pango.Attribute.GetAttribute (raw_attr); return attrs; } } gtk-sharp-2.12.10/pango/Attribute.cs0000644000175000001440000001057711140654770014107 00000000000000// Pango.Attribute - Attribute "base class" // // Copyright (c) 2005, 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class Attribute : GLib.IWrapper, IDisposable { IntPtr raw; internal Attribute (IntPtr raw) { this.raw = raw; } [DllImport("pangosharpglue-2")] static extern Pango.AttrType pangosharp_attribute_get_attr_type (IntPtr raw); public static Attribute GetAttribute (IntPtr raw) { switch (pangosharp_attribute_get_attr_type (raw)) { case Pango.AttrType.Language: return new AttrLanguage (raw); case Pango.AttrType.Family: return new AttrFamily (raw); case Pango.AttrType.Style: return new AttrStyle (raw); case Pango.AttrType.Weight: return new AttrWeight (raw); case Pango.AttrType.Variant: return new AttrVariant (raw); case Pango.AttrType.Stretch: return new AttrStretch (raw); case Pango.AttrType.Size: return new AttrSize (raw); case Pango.AttrType.FontDesc: return new AttrFontDesc (raw); case Pango.AttrType.Foreground: return new AttrForeground (raw); case Pango.AttrType.Background: return new AttrBackground (raw); case Pango.AttrType.Underline: return new AttrUnderline (raw); case Pango.AttrType.Strikethrough: return new AttrStrikethrough (raw); case Pango.AttrType.Rise: return new AttrRise (raw); case Pango.AttrType.Shape: return new AttrShape (raw); case Pango.AttrType.Scale: return new AttrScale (raw); case Pango.AttrType.Fallback: return new AttrFallback (raw); #if GTK_SHARP_2_6 case Pango.AttrType.LetterSpacing: return new AttrLetterSpacing (raw); case Pango.AttrType.UnderlineColor: return new AttrUnderlineColor (raw); case Pango.AttrType.StrikethroughColor: return new AttrStrikethroughColor (raw); #endif #if GTK_SHARP_2_12 case Pango.AttrType.Gravity: return new AttrGravity (raw); case Pango.AttrType.GravityHint: return new AttrGravityHint (raw); #endif default: return new Attribute (raw); } } ~Attribute () { Dispose (); } [DllImport("libpango-1.0-0.dll")] static extern void pango_attribute_destroy (IntPtr raw); public void Dispose () { if (raw != IntPtr.Zero) { pango_attribute_destroy (raw); raw = IntPtr.Zero; } GC.SuppressFinalize (this); } public IntPtr Handle { get { return raw; } } public static GLib.GType GType { get { return GLib.GType.Pointer; } } public Pango.AttrType Type { get { return pangosharp_attribute_get_attr_type (raw); } } [DllImport("pangosharpglue-2")] static extern uint pangosharp_attribute_get_start_index (IntPtr raw); [DllImport("pangosharpglue-2")] static extern void pangosharp_attribute_set_start_index (IntPtr raw, uint index); public uint StartIndex { get { return pangosharp_attribute_get_start_index (raw); } set { pangosharp_attribute_set_start_index (raw, value); } } [DllImport("pangosharpglue-2")] static extern uint pangosharp_attribute_get_end_index (IntPtr raw); [DllImport("pangosharpglue-2")] static extern void pangosharp_attribute_set_end_index (IntPtr raw, uint index); public uint EndIndex { get { return pangosharp_attribute_get_end_index (raw); } set { pangosharp_attribute_set_end_index (raw, value); } } [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attribute_copy (IntPtr raw); public Pango.Attribute Copy () { return GetAttribute (pango_attribute_copy (raw)); } [DllImport("libpango-1.0-0.dll")] static extern bool pango_attribute_equal (IntPtr raw1, IntPtr raw2); public bool Equal (Pango.Attribute attr2) { return pango_attribute_equal (raw, attr2.raw); } } } gtk-sharp-2.12.10/pango/LayoutRun.custom0000644000175000001440000000204611131156745015002 00000000000000// Pango.LayoutRun.custom - Pango.LayoutRun class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Glyphs property")] public Pango.GlyphString glyphs { get { return Glyphs; } } [Obsolete ("Replaced by Item property")] public Pango.Item item { get { return Item; } } gtk-sharp-2.12.10/pango/AttrGravityHint.cs0000644000175000001440000000253611140654770015243 00000000000000// Pango.AttrGravityHint - Pango.Attribute for GravityHint // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrGravityHint : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_gravity_hint_new (int hint); public AttrGravityHint (GravityHint hint) : this (pango_attr_gravity_hint_new ((int) hint)) {} internal AttrGravityHint (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public GravityHint GravityHint { get { return (GravityHint) pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/AttrFallback.cs0000644000175000001440000000247111140654770014470 00000000000000// Pango.AttrFallback - Pango.Attribute for font fallback // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrFallback : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_fallback_new (bool fallback); public AttrFallback (bool fallback) : this (pango_attr_fallback_new (fallback)) {} internal AttrFallback (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public bool Fallback { get { return pangosharp_attr_int_get_value (Handle) != 0; } } } } gtk-sharp-2.12.10/pango/Item.custom0000644000175000001440000000222211131156745013732 00000000000000// Pango.Item.custom - Pango Item class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Pango.Item is a reference type now, use null")] public static Item Zero = null; [Obsolete("Replaced by Item(IntPtr) constructor")] public static Item New (IntPtr raw) { return new Item (raw); } [Obsolete("Replaced by Item() constructor")] public static Item New () { return new Item (); } gtk-sharp-2.12.10/pango/AttrStrikethrough.cs0000644000175000001440000000255311140654770015634 00000000000000// Pango.AttrStrikethrough - Pango.Attribute for strikethrough // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrStrikethrough : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_strikethrough_new (bool strikethrough); public AttrStrikethrough (bool strikethrough) : this (pango_attr_strikethrough_new (strikethrough)) {} internal AttrStrikethrough (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public bool Strikethrough { get { return pangosharp_attr_int_get_value (Handle) != 0; } } } } gtk-sharp-2.12.10/pango/FontFamily.custom0000644000175000001440000000356111131156745015113 00000000000000// Pango.FontFamily.custom - Pango FontFamily class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll")] static extern void pango_font_family_list_faces(IntPtr raw, out IntPtr faces, out int n_faces); public FontFace [] Faces { get { int count; IntPtr array_ptr; pango_font_family_list_faces (Handle, out array_ptr, out count); if (array_ptr == IntPtr.Zero) return new FontFace [0]; FontFace [] result = new FontFace [count]; for (int i = 0; i < count; i++) { IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size); result [i] = GLib.Object.GetObject (fam_ptr) as FontFace; } g_free (array_ptr); return result; } } [DllImport("libpango-1.0-0.dll")] static extern void pango_font_family_list_faces(IntPtr raw, IntPtr faces, out int n_faces); [Obsolete] public int ListFaces(Pango.FontFace faces) { int n_faces; pango_font_family_list_faces(Handle, faces.Handle, out n_faces); return n_faces; } gtk-sharp-2.12.10/pango/LayoutLine.custom0000644000175000001440000000330711131156745015126 00000000000000// Pango.LayoutLine.custom - Pango LayoutLine class customizations // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if NOT_BROKEN [DllImport("libpango-1.0-0.dll")] static extern void pango_layout_line_get_x_ranges(IntPtr raw, int start_index, int end_index, out IntPtr ranges_handle, out int n_ranges); #endif public void GetXRanges(int start_index, int end_index, out int[][] ranges) { // FIXME: this is broken throw new NotImplementedException (); #if NOT_BROKEN int count; IntPtr array_ptr; pango_layout_line_get_x_ranges(Handle, start_index, end_index, out array_ptr, out count); ranges = new int[count] []; for (int i = 0; i < count; i++) { IntPtr tmp = new IntPtr (array_ptr + 2 * i * IntPtr.Size); IntPtr rng_ptr = Marshal.ReadIntPtr (tmp); IntPtr end_ptr = Marshal.ReadIntPtr (tmp, IntPtr.Size); } Marshal.Copy (array_ptr, ranges, 0, count); g_free (array_ptr); #endif } gtk-sharp-2.12.10/pango/Coverage.custom0000644000175000001440000000251211131156745014571 00000000000000// Pango.Coverage.custom - Pango Coverage class customizations // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll")] static extern void pango_coverage_to_bytes (IntPtr raw, out IntPtr bytes, out int n_bytes); public void ToBytes(out byte[] bytes) { int count; IntPtr array_ptr; pango_coverage_to_bytes (Handle, out array_ptr, out count); bytes = new byte [count]; Marshal.Copy (array_ptr, bytes, 0, count); g_free (array_ptr); } gtk-sharp-2.12.10/pango/GlyphItem.custom0000644000175000001440000000344411131156745014745 00000000000000// Pango.GlyphItem.custom - Pango GlyphItem class customizations // // Author: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_glyph_item_apply_attrs(ref Pango.GlyphItem raw, IntPtr text, IntPtr list); public GlyphItem[] ApplyAttrs (string text, Pango.AttrList list) { IntPtr native_text = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr list_handle = pango_glyph_item_apply_attrs (ref this, native_text, list.Handle); GLib.Marshaller.Free (native_text); if (list_handle == IntPtr.Zero) return new GlyphItem [0]; GLib.SList item_list = new GLib.SList (list_handle, typeof (GlyphItem)); GlyphItem[] result = new GlyphItem [item_list.Count]; int i = 0; foreach (GlyphItem item in item_list) result [i++] = item; return result; } [Obsolete ("Replaced by Glyphs property")] public Pango.GlyphString glyphs { get { return Glyphs; } } [Obsolete ("Replaced by Item property")] public Pango.Item item { get { return Item; } } gtk-sharp-2.12.10/pango/glue/0000777000175000001440000000000011345266755012634 500000000000000gtk-sharp-2.12.10/pango/glue/Makefile.am0000644000175000001440000000107511131156745014575 00000000000000lib_LTLIBRARIES = libpangosharpglue-2.la libpangosharpglue_2_la_SOURCES = \ attribute.c \ units.c nodist_libpangosharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libpangosharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libpangosharpglue_2_la_LIBADD = $(PANGO_LIBS) INCLUDES = $(PANGO_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libpangosharpglue.dll: $(libpangosharpglue_2_la_OBJECTS) libpangosharpglue.rc libpangosharpglue.def ./build-dll libpangosharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.10/pango/glue/attribute.c0000644000175000001440000000656511131156745014721 00000000000000/* attribute.c : Glue to access fields in PangoAttribute and * subclasses. * * Copyright (c) 2005 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ PangoAttrType pangosharp_attribute_get_attr_type (PangoAttribute *attr); guint pangosharp_attribute_get_start_index (PangoAttribute *attr); void pangosharp_attribute_set_start_index (PangoAttribute *attr, guint ind); guint pangosharp_attribute_get_end_index (PangoAttribute *attr); void pangosharp_attribute_set_end_index (PangoAttribute *attr, guint ind); const char *pangosharp_attr_string_get_value (PangoAttrString *attr); PangoLanguage *pangosharp_attr_language_get_value (PangoAttrLanguage *attr); PangoColor pangosharp_attr_color_get_color (PangoAttrColor *attr); int pangosharp_attr_int_get_value (PangoAttrInt *attr); double pangosharp_attr_float_get_value (PangoAttrFloat *attr); PangoFontDescription *pangosharp_attr_font_desc_get_desc (PangoAttrFontDesc *attr); PangoRectangle pangosharp_attr_shape_get_ink_rect (PangoAttrShape *attr); PangoRectangle pangosharp_attr_shape_get_logical_rect (PangoAttrShape *attr); #ifdef GTK_SHARP_2_6 int pangosharp_attr_size_get_size (PangoAttrSize *attr); gboolean pangosharp_attr_size_get_absolute (PangoAttrSize *attr); #endif /* */ PangoAttrType pangosharp_attribute_get_attr_type (PangoAttribute *attr) { return attr->klass->type; } guint pangosharp_attribute_get_start_index (PangoAttribute *attr) { return attr->start_index; } void pangosharp_attribute_set_start_index (PangoAttribute *attr, guint ind) { attr->start_index = ind; } guint pangosharp_attribute_get_end_index (PangoAttribute *attr) { return attr->end_index; } void pangosharp_attribute_set_end_index (PangoAttribute *attr, guint ind) { attr->end_index = ind; } const char * pangosharp_attr_string_get_value (PangoAttrString *attr) { return attr->value; } PangoLanguage * pangosharp_attr_language_get_value (PangoAttrLanguage *attr) { return attr->value; } PangoColor pangosharp_attr_color_get_color (PangoAttrColor *attr) { return attr->color; } int pangosharp_attr_int_get_value (PangoAttrInt *attr) { return attr->value; } double pangosharp_attr_float_get_value (PangoAttrFloat *attr) { return attr->value; } PangoFontDescription * pangosharp_attr_font_desc_get_desc (PangoAttrFontDesc *attr) { return attr->desc; } PangoRectangle pangosharp_attr_shape_get_ink_rect (PangoAttrShape *attr) { return attr->ink_rect; } PangoRectangle pangosharp_attr_shape_get_logical_rect (PangoAttrShape *attr) { return attr->logical_rect; } #ifdef GTK_SHARP_2_6 int pangosharp_attr_size_get_size (PangoAttrSize *attr) { return attr->size; } gboolean pangosharp_attr_size_get_absolute (PangoAttrSize *attr) { return attr->absolute; } #endif gtk-sharp-2.12.10/pango/glue/win32dll.c0000644000175000001440000000044311131156745014341 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.10/pango/glue/Makefile.in0000644000175000001440000004117311345266365014620 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = pango/glue DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(libdir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libpangosharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libpangosharpglue_2_la_OBJECTS = attribute.lo units.lo nodist_libpangosharpglue_2_la_OBJECTS = generated.lo libpangosharpglue_2_la_OBJECTS = $(am_libpangosharpglue_2_la_OBJECTS) \ $(nodist_libpangosharpglue_2_la_OBJECTS) libpangosharpglue_2_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libpangosharpglue_2_la_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libpangosharpglue_2_la_SOURCES) \ $(nodist_libpangosharpglue_2_la_SOURCES) DIST_SOURCES = $(libpangosharpglue_2_la_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libpangosharpglue-2.la libpangosharpglue_2_la_SOURCES = \ attribute.c \ units.c nodist_libpangosharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libpangosharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libpangosharpglue_2_la_LIBADD = $(PANGO_LIBS) INCLUDES = $(PANGO_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign pango/glue/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign pango/glue/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libpangosharpglue-2.la: $(libpangosharpglue_2_la_OBJECTS) $(libpangosharpglue_2_la_DEPENDENCIES) $(libpangosharpglue_2_la_LINK) -rpath $(libdir) $(libpangosharpglue_2_la_OBJECTS) $(libpangosharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attribute.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/units.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES libpangosharpglue.dll: $(libpangosharpglue_2_la_OBJECTS) libpangosharpglue.rc libpangosharpglue.def ./build-dll libpangosharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/pango/glue/units.c0000644000175000001440000000204511131156745014045 00000000000000/* units.c : Glue to access unit macros. * * Author: Mike Kestner * * Copyright (c) 2005 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ int pangosharp_scale (void); int pangosharp_pixels (int units); /* */ gint pangosharp_scale () { return PANGO_SCALE; } gint pangosharp_pixels (gint units) { return PANGO_PIXELS (units); } gtk-sharp-2.12.10/pango/AttrStretch.cs0000644000175000001440000000252411140654770014404 00000000000000// Pango.AttrStretch - Pango.Attribute for Pango.Stretch // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrStretch : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_stretch_new (Pango.Stretch stretch); public AttrStretch (Pango.Stretch stretch) : this (pango_attr_stretch_new (stretch)) {} internal AttrStretch (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Stretch Stretch { get { return (Pango.Stretch)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/AttrStrikethroughColor.cs0000644000175000001440000000311111140654770016622 00000000000000// Pango.AttrStrikethroughColor - Pango.Attribute for strikethrough color // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrStrikethroughColor : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_strikethrough_color_new (ushort red, ushort green, ushort blue); public AttrStrikethroughColor (ushort red, ushort green, ushort blue) : this (pango_attr_strikethrough_color_new (red, green, blue)) {} public AttrStrikethroughColor (Pango.Color color) : this (pango_attr_strikethrough_color_new (color.Red, color.Green, color.Blue)) {} internal AttrStrikethroughColor (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { return pangosharp_attr_color_get_color (Handle); } } } } gtk-sharp-2.12.10/pango/GlyphString.custom0000644000175000001440000000233011131156745015306 00000000000000// Pango.GlyphString.custom - Pango GlyphString class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Pango.GlyphString is a reference type now, use null")] public static GlyphString Zero = null; [Obsolete("Replaced by GlyphString(IntPtr) constructor")] public static GlyphString New (IntPtr raw) { return new GlyphString (raw); } [Obsolete("Replaced by GlyphString() constructor")] public static GlyphString New () { return new GlyphString (); } gtk-sharp-2.12.10/pango/AttrRise.cs0000644000175000001440000000242111140654770013666 00000000000000// Pango.AttrRise - Pango.Attribute for baseline displacement // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrRise : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_rise_new (int rise); public AttrRise (int rise) : this (pango_attr_rise_new (rise)) {} internal AttrRise (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public int Rise { get { return pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/Makefile.in0000644000175000001440000005267511345266365013675 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ DIST_COMMON = $(srcdir)/../Makefile.include $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/pango-sharp.dll.config.in subdir = pango ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = pango-sharp.dll.config SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(gapidir)" gapiDATA_INSTALL = $(INSTALL_DATA) DATA = $(gapi_DATA) $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue @ENABLE_MONO_CAIRO_FALSE@local_mono_cairo = @ENABLE_MONO_CAIRO_TRUE@local_mono_cairo = $(top_builddir)/cairo/Mono.Cairo.dll pkg = pango METADATA = Pango.metadata SYMBOLS = pango-symbols.xml references = ../glib/glib-sharp.dll $(local_mono_cairo) glue_includes = pango/pango.h sources = \ Attribute.cs \ AttrBackground.cs \ AttrFallback.cs \ AttrFamily.cs \ AttrFontDesc.cs \ AttrForeground.cs \ AttrGravity.cs \ AttrGravityHint.cs \ AttrLanguage.cs \ AttrLetterSpacing.cs \ AttrRise.cs \ AttrScale.cs \ AttrShape.cs \ AttrSize.cs \ AttrStretch.cs \ AttrStrikethroughColor.cs \ AttrStrikethrough.cs \ AttrStyle.cs \ AttrUnderlineColor.cs \ AttrUnderline.cs \ AttrVariant.cs \ AttrWeight.cs \ Scale.cs \ ScriptIter.cs customs = \ Analysis.custom \ AttrIterator.custom \ AttrList.custom \ Context.custom \ Coverage.custom \ FontFamily.custom \ FontMap.custom \ Global.custom \ GlyphItem.custom \ GlyphString.custom \ Item.custom \ Layout.custom \ LayoutLine.custom \ LayoutRun.custom \ Matrix.custom \ TabArray.custom \ Units.custom add_dist = SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix /r:, $(references)) $(MONO_CAIRO_LIBS) @PLATFORM_WIN32_FALSE@GAPI_CDECL_INSERT = @PLATFORM_WIN32_TRUE@GAPI_CDECL_INSERT = $(top_srcdir)/gapi-cdecl-insert --keyfile=$(SNK) $(ASSEMBLY) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign pango/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign pango/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh pango-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/pango-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) test -z "$(gapidir)" || $(MKDIR_P) "$(DESTDIR)$(gapidir)" @list='$(gapi_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(gapiDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gapidir)/$$f'"; \ $(gapiDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gapidir)/$$f"; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(gapidir)/$$f'"; \ rm -f "$(DESTDIR)$(gapidir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-dvi install-dvi-am \ install-exec install-exec-am install-gapiDATA install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-gapiDATA uninstall-local $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) $(GAPI_CDECL_INSERT) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/pango/AttrVariant.cs0000644000175000001440000000252411140654770014374 00000000000000// Pango.AttrVariant - Pango.Attribute for Pango.Variant // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrVariant : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_variant_new (Pango.Variant variant); public AttrVariant (Pango.Variant variant) : this (pango_attr_variant_new (variant)) {} internal AttrVariant (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Variant Variant { get { return (Pango.Variant)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/Context.custom0000644000175000001440000000362411131156745014467 00000000000000// Pango.Context.custom - Pango Context class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll")] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll")] static extern void pango_context_list_families(IntPtr raw, out IntPtr families, out int n_families); public FontFamily [] Families { get { int count; IntPtr array_ptr; pango_context_list_families (Handle, out array_ptr, out count); if (array_ptr == IntPtr.Zero) return new FontFamily [0]; FontFamily [] result = new FontFamily [count]; for (int i = 0; i < count; i++) { IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size); result [i] = GLib.Object.GetObject (fam_ptr) as FontFamily; } g_free (array_ptr); return result; } } [DllImport("libpango-1.0-0.dll")] static extern void pango_context_list_families(IntPtr raw, IntPtr families, out int n_families); [Obsolete] public int ListFamilies(Pango.FontFamily families) { int n_families; pango_context_list_families(Handle, families.Handle, out n_families); return n_families; } gtk-sharp-2.12.10/pango/AttrUnderlineColor.cs0000644000175000001440000000304511140654770015713 00000000000000// Pango.AttrUnderlineColor - Pango.Attribute for underline color // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrUnderlineColor : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_underline_color_new (ushort red, ushort green, ushort blue); public AttrUnderlineColor (ushort red, ushort green, ushort blue) : this (pango_attr_underline_color_new (red, green, blue)) {} public AttrUnderlineColor (Pango.Color color) : this (pango_attr_underline_color_new (color.Red, color.Green, color.Blue)) {} internal AttrUnderlineColor (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { return pangosharp_attr_color_get_color (Handle); } } } } gtk-sharp-2.12.10/pango/AttrFamily.cs0000644000175000001440000000313311140654770014206 00000000000000// Pango.AttrFamily - Pango.Attribute for font families // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrFamily : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_family_new (IntPtr family); public AttrFamily (string family) : base (NewAttrFamily (family)) {} static IntPtr NewAttrFamily (string family) { IntPtr family_raw = GLib.Marshaller.StringToPtrGStrdup (family); IntPtr attr_raw = pango_attr_family_new (family_raw); GLib.Marshaller.Free (family_raw); return attr_raw; } internal AttrFamily (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern IntPtr pangosharp_attr_string_get_value (IntPtr raw); public string Family { get { IntPtr raw_family = pangosharp_attr_string_get_value (Handle); return GLib.Marshaller.Utf8PtrToString (raw_family); } } } } gtk-sharp-2.12.10/pango/AttrUnderline.cs0000644000175000001440000000256211140654770014717 00000000000000// Pango.AttrUnderline - Pango.Attribute for Pango.Underline // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrUnderline : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_underline_new (Pango.Underline underline); public AttrUnderline (Pango.Underline underline) : this (pango_attr_underline_new (underline)) {} internal AttrUnderline (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Underline Underline { get { return (Pango.Underline)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/AttrShape.cs0000644000175000001440000000324511140654770014031 00000000000000// Pango.AttrShape - Pango.Attribute for shape restrictions // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrShape : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_shape_new (ref Pango.Rectangle ink_rect, ref Pango.Rectangle logical_rect); public AttrShape (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect) : this (pango_attr_shape_new (ref ink_rect, ref logical_rect)) {} internal AttrShape (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern Pango.Rectangle pangosharp_attr_shape_get_ink_rect (IntPtr raw); public Pango.Rectangle InkRect { get { return pangosharp_attr_shape_get_ink_rect (Handle); } } [DllImport("pangosharpglue-2")] static extern Pango.Rectangle pangosharp_attr_shape_get_logical_rect (IntPtr raw); public Pango.Rectangle LogicalRect { get { return pangosharp_attr_shape_get_logical_rect (Handle); } } } } gtk-sharp-2.12.10/pango/AttrLetterSpacing.cs0000644000175000001440000000256011140654770015534 00000000000000// Pango.AttrLetterSpacing - Pango.Attribute for baseline displacement // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrLetterSpacing : Attribute { [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_attr_letter_spacing_new (int letter_spacing); public AttrLetterSpacing (int letter_spacing) : this (pango_attr_letter_spacing_new (letter_spacing)) {} internal AttrLetterSpacing (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2")] static extern int pangosharp_attr_int_get_value (IntPtr raw); public int LetterSpacing { get { return pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.10/pango/pango-api.raw0000644000175000001440000032165511131156745014204 00000000000000 gtk-sharp-2.12.10/pango/ScriptIter.cs0000644000175000001440000000432311131156745014223 00000000000000// Pango.ScriptIter // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class ScriptIter : GLib.Opaque { IntPtr native_text; public ScriptIter(IntPtr raw) : base(raw) {} [DllImport("libpango-1.0-0.dll")] static extern IntPtr pango_script_iter_new(IntPtr text, int length); public ScriptIter (string text) { native_text = GLib.Marshaller.StringToPtrGStrdup (text); Raw = pango_script_iter_new (native_text, -1); } [DllImport("libpango-1.0-0.dll")] static extern void pango_script_iter_free (IntPtr raw); ~ScriptIter () { GLib.Marshaller.Free (native_text); pango_script_iter_free (Raw); Raw = IntPtr.Zero; } [DllImport("libpango-1.0-0.dll")] static extern void pango_script_iter_get_range (IntPtr raw, out IntPtr start, out IntPtr end, out Pango.Script script); [DllImport("libglib-2.0-0.dll")] static extern IntPtr g_utf8_pointer_to_offset (IntPtr str, IntPtr pos); public void GetRange (out int start, out int len, out Pango.Script script) { IntPtr start_ptr; IntPtr end_ptr; pango_script_iter_get_range (Handle, out start_ptr, out end_ptr, out script); start = (int)g_utf8_pointer_to_offset (native_text, start_ptr); len = (int)g_utf8_pointer_to_offset (start_ptr, end_ptr); } [DllImport("libpango-1.0-0.dll")] static extern bool pango_script_iter_next (IntPtr raw); public bool Next () { return pango_script_iter_next (Handle); } [Obsolete ("Replaced by garbage collection")] public void Free () { } } } gtk-sharp-2.12.10/pango/pango-sharp.dll.config.in0000644000175000001440000000060111140655032016355 00000000000000 gtk-sharp-2.12.10/pango/Matrix.custom0000644000175000001440000000206311131156745014303 00000000000000// Pango.Matrix.custom - Pango Matrix class customizations // // Authors: John Luke // // Copyright (c) 2005 John Luke. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. static Matrix () { Identity.Xx = 1.0; Identity.Xy = 0.0; Identity.Yx = 0.0; Identity.Yy = 1.0; Identity.X0 = 0.0; Identity.Y0 = 0.0; } public static Matrix Identity; gtk-sharp-2.12.10/pango/Global.custom0000644000175000001440000000417411131156745014244 00000000000000// Pango.Global.custom - Pango Global class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll")] static extern bool pango_scan_int(IntPtr pos, out int out_param); [Obsolete] public static bool ScanInt(string pos, out int out_param) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (pos); bool raw_ret = pango_scan_int(native, out out_param); GLib.Marshaller.Free (native); bool ret = raw_ret; return ret; } [DllImport("libpango-1.0-0.dll")] static extern bool pango_parse_markup (IntPtr markup, int length, uint accel_marker, out IntPtr attr_list_handle, out IntPtr text, out uint accel_char, IntPtr err); public static bool ParseMarkup (string markup, char accel_marker, out Pango.AttrList attrs, out string text, out char accel_char) { uint ucs4_accel_char; IntPtr text_as_native; IntPtr attrs_handle; IntPtr native_markup = GLib.Marshaller.StringToPtrGStrdup (markup); bool result = pango_parse_markup (native_markup, -1, GLib.Marshaller.CharToGUnichar (accel_marker), out attrs_handle, out text_as_native, out ucs4_accel_char, IntPtr.Zero); GLib.Marshaller.Free (native_markup); accel_char = GLib.Marshaller.GUnicharToChar (ucs4_accel_char); text = GLib.Marshaller.Utf8PtrToString (text_as_native); attrs = new Pango.AttrList (attrs_handle); return result; } gtk-sharp-2.12.10/gtkdotnet/0000777000175000001440000000000011345266755012577 500000000000000gtk-sharp-2.12.10/gtkdotnet/Makefile.am0000644000175000001440000000515611136512035014535 00000000000000if ENABLE_DOTNET TARGET = $(ASSEMBLY) $(ASSEMBLY).config pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA=gtk-dotnet-2.0.pc else TARGET = endif ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = gtk-dotnet noinst_DATA = $(ASSEMBLY) $(POLICY_ASSEMBLIES) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../gdk/gdk-sharp.dll build_references = $(addprefix -r:, $(references)) -r:System.Drawing.dll sources = \ Graphics.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs EXTRA_DIST = \ $(sources) \ $(ASSEMBLY).config.in \ gtk-dotnet-2.0.pc.in gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk cp $(top_srcdir)/gtk-sharp.snk . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . if PLATFORM_WIN32 GAPI_CDECL_INSERT=$(top_srcdir)/gapi-cdecl-insert --keyfile=gtk-sharp.snk $(ASSEMBLY) else GAPI_CDECL_INSERT= endif $(ASSEMBLY): $(build_sources) $(references) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(build_references) $(build_sources) $(GAPI_CDECL_INSERT) policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk $(AL) -link:policy.$*.config -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi gtk-sharp-2.12.10/gtkdotnet/Graphics.cs0000644000175000001440000000702311131157066014567 00000000000000// Graphics.cs - System.Drawing integration with Gtk# // // Author: Miguel de Icaza // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // API issues: // Maybe make the translation `out' parameters so they are explicit and the user knows about it? // Add a way to copy a Graphics into a drawable? // using System; using System.Reflection; using System.Runtime.InteropServices; namespace Gtk.DotNet { public class Graphics { private Graphics () {} [DllImport("libgdk-win32-2.0-0.dll")] internal static extern IntPtr gdk_win32_drawable_get_handle(IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll")] internal static extern IntPtr gdk_win32_hdc_get(IntPtr drawable, IntPtr gc, int usage); [DllImport("libgdk-win32-2.0-0.dll")] internal static extern void gdk_win32_hdc_release(IntPtr drawable,IntPtr gc,int usage); [DllImport("libgdk-win32-2.0-0.dll")] internal static extern IntPtr gdk_x11_drawable_get_xdisplay (IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll")] internal static extern IntPtr gdk_x11_drawable_get_xid (IntPtr raw); public static System.Drawing.Graphics FromDrawable (Gdk.Drawable drawable) { return FromDrawable (drawable, true); } public static System.Drawing.Graphics FromDrawable(Gdk.Drawable drawable, bool double_buffered) { IntPtr x_drawable; int x_off = 0, y_off = 0; PlatformID osversion = Environment.OSVersion.Platform; if (osversion == PlatformID.Win32Windows || osversion == PlatformID.Win32NT || osversion == PlatformID.Win32S || osversion == PlatformID.WinCE){ if (drawable is Gdk.Window && double_buffered) ((Gdk.Window)drawable).GetInternalPaintInfo(out drawable, out x_off, out y_off); Gdk.GC gcc = new Gdk.GC(drawable); IntPtr windc = gdk_win32_hdc_get(drawable.Handle, gcc.Handle, 0); System.Drawing.Graphics g = System.Drawing.Graphics.FromHdc(windc); if (double_buffered) { gdk_win32_hdc_release(drawable.Handle, gcc.Handle, 0); } g.TranslateTransform(-x_off, -y_off); return g; } else { if (drawable is Gdk.Window && double_buffered) ((Gdk.Window) drawable).GetInternalPaintInfo(out drawable, out x_off, out y_off); x_drawable = drawable.Handle; IntPtr display = gdk_x11_drawable_get_xdisplay (x_drawable); Type graphics = typeof (System.Drawing.Graphics); MethodInfo mi = graphics.GetMethod ("FromXDrawable", BindingFlags.Static | BindingFlags.NonPublic); if (mi == null) throw new NotImplementedException ("In this implementation I can not get a graphics from a drawable"); object [] args = new object [2] { (IntPtr) gdk_x11_drawable_get_xid (drawable.Handle), (IntPtr) display }; object r = mi.Invoke (null, args); System.Drawing.Graphics g = (System.Drawing.Graphics) r; g.TranslateTransform (-x_off, -y_off); return g; } } } } gtk-sharp-2.12.10/gtkdotnet/gtk-dotnet-2.0.pc.in0000644000175000001440000000034511131157066016006 00000000000000prefix=${pcfiledir}/../.. exec_prefix=${prefix} libdir=${exec_prefix}/lib Name: Gtk.DotNet Description: .NET Extensions for Gtk Version: @VERSION@ Requires:gtk-sharp-2.0 Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-dotnet.dll gtk-sharp-2.12.10/gtkdotnet/Makefile.in0000644000175000001440000003422311345266364014560 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gtkdotnet DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/gtk-dotnet-2.0.pc.in \ $(srcdir)/gtk-dotnet.dll.config.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gtk-dotnet.dll.config gtk-dotnet-2.0.pc SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(pkgconfigdir)" pkgconfigDATA_INSTALL = $(INSTALL_DATA) DATA = $(noinst_DATA) $(pkgconfig_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ @ENABLE_DOTNET_FALSE@TARGET = @ENABLE_DOTNET_TRUE@TARGET = $(ASSEMBLY) $(ASSEMBLY).config @ENABLE_DOTNET_TRUE@pkgconfigdir = $(libdir)/pkgconfig @ENABLE_DOTNET_TRUE@pkgconfig_DATA = gtk-dotnet-2.0.pc ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = gtk-dotnet noinst_DATA = $(ASSEMBLY) $(POLICY_ASSEMBLIES) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) references = ../glib/glib-sharp.dll ../pango/pango-sharp.dll ../gdk/gdk-sharp.dll build_references = $(addprefix -r:, $(references)) -r:System.Drawing.dll sources = \ Graphics.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs EXTRA_DIST = \ $(sources) \ $(ASSEMBLY).config.in \ gtk-dotnet-2.0.pc.in @PLATFORM_WIN32_FALSE@GAPI_CDECL_INSERT = @PLATFORM_WIN32_TRUE@GAPI_CDECL_INSERT = $(top_srcdir)/gapi-cdecl-insert --keyfile=gtk-sharp.snk $(ASSEMBLY) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gtkdotnet/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign gtkdotnet/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh gtk-dotnet.dll.config: $(top_builddir)/config.status $(srcdir)/gtk-dotnet.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ gtk-dotnet-2.0.pc: $(top_builddir)/config.status $(srcdir)/gtk-dotnet-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-data-local install-pkgconfigDATA install-dvi: install-dvi-am install-exec-am: install-html: install-html-am install-info: install-info-am install-man: install-pdf: install-pdf-am install-ps: install-ps-am installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local uninstall-pkgconfigDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-data-local install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am uninstall uninstall-am uninstall-local \ uninstall-pkgconfigDATA gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk cp $(top_srcdir)/gtk-sharp.snk . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . $(ASSEMBLY): $(build_sources) $(references) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(build_references) $(build_sources) $(GAPI_CDECL_INSERT) policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk $(AL) -link:policy.$*.config -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i policy.$$i.$(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/gtkdotnet/gtk-dotnet.dll.config.in0000644000175000001440000000020611254303646017125 00000000000000 gtk-sharp-2.12.10/Makefile.in0000644000175000001440000005220011345266365012551 00000000000000# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = . DIST_COMMON = README $(am__configure_deps) \ $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/policy.config.in $(top_srcdir)/configure AUTHORS \ COPYING ChangeLog NEWS config.guess config.sub depcomp \ install-sh ltmain.sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = AssemblyInfo.cs policy.config SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = sources generator parser glib cairo pango atk gdk gtk glade gtkdotnet sample doc msi EXTRA_DIST = \ mono.snk \ gtk-sharp.snk \ gapi-cdecl-insert \ makefile.win32 \ policy.config.in \ AssemblyInfo.cs.in \ ChangeLog \ HACKING \ README \ README.generator all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 AssemblyInfo.cs: $(top_builddir)/config.status $(srcdir)/AssemblyInfo.cs.in cd $(top_builddir) && $(SHELL) ./config.status $@ policy.config: $(top_builddir)/config.status $(srcdir)/policy.config.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d $(distdir) || mkdir $(distdir) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ am__remove_distdir=: \ am__skip_length_check=: \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-exec-am: install-html: install-html-recursive install-info: install-info-recursive install-man: install-pdf: install-pdf-recursive install-ps: install-ps-recursive installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ install-strip .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \ distclean distclean-generic distclean-hdr distclean-libtool \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am configure.in: bootstrap.status configure.in.in $(SHELL) $< # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.10/gtk-sharp.snk0000755000175000001440000000112411131157074013110 00000000000000$RSA2qëlUuRœ¿rD÷¦êb„ùêà;ÏòÌ,œI ³ ê°µkÎDõÙÀ¨R…;pâûCK¬úb"¨˜·¡§³¯™A#$»C%ö¸e»dëöÑÂÕs-ß¼p§8žå> $n2ytÐä˜Bá›ó{‹@!&Ë6‰Âêd–¤|´¿‘•аõpRUšuCIÉã[ë2ï/n«“”Ί'8HgC®IFXD+ÑUÿá½;_—|0ªŠ‚õ(íÃ]–÷TÜÏn$W´µƒÕ3gOœ¦]B]Gðš=7¾›ôò½¦,ã˜ãè=4´(òüÍ_ â‘ Qál{Ü¡¤ú”6j L„š[Ãr;Ï!Äfæñ%]Û=ËO3Ø–¨ñù·ŠòJFt€} Ut ÖqÚ¼évTüv~°˜6E¶j¾I¦lB,Àÿÿ7a‚n´é~Î+ K§Ûb®•# ‹LôD>d¢úSŽâk?Vv&áƒ.{‘lÇó_5{¿ãj.U›»£Üä,aøVqâê&rbòúÎUxý‡/gtk-sharp-2.12.10/missing0000755000175000001440000002557711115454704012113 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gtk-sharp-2.12.10/gapi-cdecl-insert0000755000175000001440000000374211132220700013704 00000000000000#!/usr/bin/perl # # gapi-cdecl-insert : Inserts il into an assembly for CDecl callback delegates. # # Authors: Mike Kestner # # Copyright (c) 2005 Novell, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. die "Usage: gapi-cdecl-insert [--keyfile=] \n" if ($ARGV > 2); foreach $arg (@ARGV) { if ($arg =~ /--keyfile=(.*)/) { $key = $1; } elsif (-e $arg) { $assembly = $arg; } else { die "Usage: gapi-cdecl-insert [--keyfile=] \n"; } } if (`which ildasm 2> /dev/null`) { $dasm = "ildasm /out:"; } else { $dasm = "monodis --output="; } if ($assembly =~ /(.*)\.dll/) { $basename = $1; `$dasm$basename.raw $assembly`; open(INFILE, $basename . ".raw") || die "Couldn't open $basename.raw\n"; open(OUTFILE, "> $basename.il") || die "Couldn't open $basename.il\n"; while ($line = ) { $insert = 1 if ($line =~ /\.custom instance void .*GLib\.CDeclCallbackAttribute/); if ($insert && $line =~ /(.*)\s+(Invoke\s*\(.*)/) { print OUTFILE "$1 modopt([mscorlib]System.Runtime.CompilerServices.CallConvCdecl) $2"; $insert = 0; next; } print OUTFILE $line; } `ilasm /DLL /QUIET $basename.il`; `sn -R $assembly gtk-sharp.snk` if ($key); unlink "$basename.raw"; unlink "$basename.il"; unlink "$basename.res"; } else { print "This script only works for dlls.\nUsage: gapi-cdecl-insert [--keyfile=] \n"; } gtk-sharp-2.12.10/ChangeLog0000644000175000001440000163204511345266664012274 000000000000002010-03-08 Mike Kestner * configure.in.in: revert the -platform flag usage on windows until we can figure out why it breaks Gtk# on mono. 2010-03-01 Mike Kestner * msi/gtk-sharp-2.0.wxs.in: use the netfx runtime version checks. Check for version 2.0 or greater. * msi/Makefile.am: ref the netfx extension. 2010-02-26 Mike Kestner * configure.in.in: backport the mono-2 configure fallback. 2010-02-26 Mike Gorse * atk/Object.custom, atk/glue/object.c: Bind GetAttributes. 2010-01-11 Mike Kestner * configure.in.in: checks for wix and add platform switch to win32 builds to ensure 32BIT+ and PE32 are set. [Fixes #473566] * gtk-sharp-2.0.wxs.in: moved to msi dir and enhanced. see below. * license.rtf: moved to msi dir * Makefile.am: add new dir, move installer target to msi Makefile. * msi/*: new installer building framework. conditionally builds on wix availability. downloads official binary bundles to build an unmanaged module. adds the .mo files to support translation [Fixes #513017] updated gtk+ version to 2.16.6. still depends on win32-installers build for mono-posix and mono-cairo modules. 2009-11-30 Mike Kestner * generator/Method.cs: support win32_utf8_variant attribute on methods. * glib/*.cs: support win32 utf8 variant methods. * gtk/*.custom: support win32 utf8 variant methods. * gtk/Gtk.metadata: mark some win32_utf8_variant methods. [Fixes #550961] Adapted from a patch by Tor Lillqvist. 2009-11-23 Christian Hoff * generator/Signal.cs: Return a GInterfaceAdapter in the signalargs's accessor properties instead of trying to return the implementor as stored in the arguments array. 2009-11-20 Gabriel Burt * bootstrap-2.12: Bump GTK_SHARP_VERSION to 2.12.10 2009-11-20 Gabriel Burt Make TextBufferSerializeFunc return byte [] * gtk/Makefile.am: * gtk/textbuffer-serializefunc.patch: * gtk/GtkSharp.TextBufferSerializeFuncNative.cs: * gtk/TextBufferSerializeFunc.cs: Copy of generated bindings, fixed to be usable. [Fixes #555495] * gtk/TextBuffer.custom: Add binding of RegisterSerializeFormat since no longer generated. * gtk/Gtk.metadata: Remove GtkTextBufferSerializeFunc and RegisterSerializeFormat so bindings not generated. 2009-11-10 Gabriel Burt * atk/atk-table.patch: * atk/ColumnDeletedHandler.cs: * atk/Table.cs: * atk/TableAdapter.cs: * atk/ColumnInsertedHandler.cs: * atk/Atk.metadata: * atk/RowDeletedHandler.cs: * atk/RowInsertedHandler.cs: We have to implement AtkTable's GetSelectedRows/Columns methods manually, and the only way to do that is to not generate those classes. So these files are the generated files with the necessary modifications (see atk-table.patch). This fixes support for custom widgets to add AtkTable a11y (BNC #512477) * atk/NoOpObject.custom: Manually implement Atk.Table iface * atk/Makefile.am: Add new files to build 2009-10-30 Mike Kestner * glib/GType.cs: avoid another exception on bogus assm.Locations. [Fixes #546045] 2009-10-23 Christian Hoff * gtk/CellRenderer.custom: Pass the GdkRectangle parameters of CellRenderer.Render by reference. Patch by Diego Pettenò. 2009-09-22 Brad Taylor * glib/Idle.cs: * glib/Timeout.cs: Don't try to remove the handler from the managed hashtable twice, add a comment explaining the need for the else branch. 2009-09-22 Brad Taylor * glib/Idle.cs: * glib/Timeout.cs: Make sure to remove the unmanaged reference to the delegate when we're disposed or finalized. In particular, this fixes a problem where GLib.Object's PerformQueuedUnrefs was being called after both the object and the handler had been GC'ed, resulting in a segfault. 2009-09-16 Mike Kestner * gtk/Gtk.metadata: hide StatusIcon.GetGeometry for custom impl. * gtk/StatusIcon.custom: custom GetGeometry implementation to avoid marshaling exceptions on win32. [Fixes #518169] 2009-09-11 Christian Hoff * gtk/Application.cs: Port the theming-relevant part of the SWF.Application.DoEvents code to avoid loading the assembly at runtime on the Windows platform. 2009-08-23 Christian Hoff * gdk/Gdk.metadata: Mark PixbufFormat.Extensions and PixbufFormat.MimeTypes as null-terminated arrays. [Fixes #533472] 2009-08-12 Christian Hoff * configure.in.in: Detect GDK backend. * */*.dll.config.in: Link against the libs of the correct GDK backend instead of using x11 on Linux/win32 on Windows. Patch by Christian Hergert. [Fixes 527840] 2009-08-05 Christian Hoff * sample/CustomcellRenderer.cs: Use GObject property registration instead of a CellDataFunc. 2009-08-05 Christian Hoff * glib/glue/object.c: Use -G_MINFLOAT and -G_MINDOUBLE since these constants return the minumum positive values for this type. 2009-07-30 Mike Kestner * generator/InterfaceGen.cs: remove var keyword usage to fix build on .net 2.0. Fix a few mixed line endings as well. 2009-07-27 Mike Gorse * atk/Atk.metadata: Remove owned for Relation.GetTarget. 2009-07-21 Christian Hoff * glib/GInterfaceAdapter.cs: Fix a leak related to GCHandles not being freed. Patch from Mike Kestner with a minor tweak by me. [Fixes #523306] 2009-07-13 Gabriel Burt * generator/GenBase.cs: Add AppendCustom override that you can pass the type name in, used to include .custom for Name + Adapter and Name + Implementor .custom files for interface gen. * generator/InterfaceGen.cs: Use the new AppendCustom override for the Name + Adapter.custom file, and add support for including custom file for the Name + Implementor interface; necessary to manually implement an interface method. 2009-07-10 Christian Hoff * pango/Pango.metadata: Mark "ink_rect" and "logical_rect" parameters of Get*Extends methods as "out". [Fixes #510105] 2009-06-08 Christian Hoff * atk/ObjectFactory.custom: Reimplement ObjectFactory virtual methods. Patch provided by Mike Kestner and Gabriel Burt. 2009-05-31 Mike Kestner * gtk-sharp-2.0.wxs.in: move the RemoveExistingVersions action after InstallFinalize to avoid a problem where the GAC assemblies disappear. [Fixes #508580] 2009-05-27 Mike Kestner * bootstrap-2.12: bump version to 2.12.9. * gtk-sharp-2.0.wxs.in: merge mono-posix-lib module. Add update element so that we remove existing older installs. 2009-05-12 Mike Kestner * gtk/Application.cs: add the theme initialization workaround for windows. Hopefully we can find a better solution that doesn't involve loading SWF. [Fixes #471682] 2009-05-06 Mike Kestner * gtk/TargetList.custom: fix intptr indexing in cast. 2009-05-05 Mike Kestner * glib/GType.cs: ensure threading is initialized in cctor. * gtk/Application.cs: ditto. 2009-04-27 Mike Kestner * gtk-sharp-2.0.wxs.in: add an InstallFolder key. [Fixes #498298] 2009-04-23 Mike Kestner * gtk/TargetList.custom: use gtk_target_table_new_from_list to implement the TargetEntry[] cast to avoid crashes on win32. This can only be backported to 2.10 if necessary. 2009-04-09 Mike Kestner * glib/ListBase.cs: fix g_object_unref dllimport lib. [Fixes #493128] 2009-03-28 Christian Hoff * gtk/TextBuffer.custom: Use the right overload of Marshal.Copy [Fixes #480010] 2009-02-06 Christian Hoff * gtk/Gtk.metadata: Fix TreeModel.EmitRowsReordered signature 2009-02-02 Mike Kestner * gtk-sharp-2.0-wxs.in: switch the VS assembly reference registry magic to HKLM/SOFTWARE/Microsoft/.NetFramework/AssemblyFolders. Add a single key there to get all versions of VS. 2009-01-31 Mike Kestner * Makefile.am: add installer-bundle target. This creates a versioned subdir containing all the binaries, wxs, license.rtf, and a build-installer script. * README: add installer build instructions. * configure.in.in: move the evil cygwin libname sed hack after AC_OUTPUT since newer autoconf apparently changed the behavior of when libtool is created. * gtk-sharp-2.0-wxs.in: add 2.10 policy components and update paths for installer-bundle build. This used to be -lib.wxs.in, but we are moving to a single installer without C devel. No longer produces an msm. It's an msi which merges the gtk, glade and mono-cairo msm modules from win32-installers. * gtk-sharp-2.0-dev.wxs.in: killed. * license.rtf: copied from win32-installers module. 2009-01-29 Andrés G. Aragoneses * atk/Object.custom: add binding for "focus-event" signal: http://library.gnome.org/devel/atk/unstable/AtkObject.html#AtkObject-focus-event 2009-01-29 Mike Kestner * generator/OpaqueGen.cs: generate a finalizer for classes which have free or unref methods and ensure it runs on the gui thread. * glib/Opaque.cs: remove finalize handling. Fixes a 'resurrection' issue with the previous 419777 fix. 2009-01-27 Mike Kestner * glib/Opaque.cs: ensure we are running on the gui thread when we dispose from the finalizer. [Fixes #419777] 2009-01-23 Mike Kestner * Makefile.include: * doc/Makefile.am: * glib/Makefile.am: * gtkdotnet/Makefile.am: parallel make patches from Diego Pettenò and Bertrand Lorentz. [Fixes #421063] 2009-01-21 Mike Kestner * configure.in.in: cross-compile fixes for CC assignment * gapi-cdecl-insert: use monodis if ildasm isn't available 2009-01-13 Brad Taylor * atk/Atk.metadata: Bind GetRunAttributes and GetDefaultAttributes as Atk.Attribute[] instances instead of GLib.SList. [Fixes #393565] 2009-01-08 Mike Kestner * configure.in.in: improve cairo config message. * mono.snk: copied for compatible Mono.Cairo.dll build. * Makefile.am: dist the snk. * cairo/AssemblyInfo.cs: use a hardcoded file. * cairo/Makefile.am: use mono.snk to sign the Mono.Cairo assembly so that it's compatible with mono built versions. Initial patch from Christian Hoff with a few tweaks. 2009-01-07 Mike Kestner * doc/gtk-sharp-docs.source: add node element for new monodoc. 2009-01-07 Mike Kestner * generator/MethodBody.cs: avoid null ref when passing null to destroy notified callback parameters. [Fixes #464120] 2008-12-12 Mike Kestner * bootstrap-2.12: tagged for 2.12.7. Bump svn version. * audit/base: update base apiinfo's for 2.12 stable api. 2008-12-08 Andrés G. Aragoneses * glib/Signal.cs: Improve protection against invalid signals. 2008-12-02 Stephane Delcroix * generator/Ctor.cs: * generator/Method.cs: * generator/MethodBase.cs: refactor the Protection from Method to MethodBase, generate ctors with the correct proteciton too. 2008-12-01 Mike Kestner * gtk/Gtk.metadata: automarshal TreeSelection.GetSelectedRows. * gtk/TreeSelection.custom: kill GetSelectedRows customization. [Fixes #450689] 2008-12-01 Mike Kestner * gtk/Gtk.metadata: automarshal TreeView.Columns. * gtk/TreeView.custom: kill Columns customization. [Fixes #450685] 2008-11-28 Mike Kestner * generator/Signal.cs: remove ref int workaround now that we fallback to signal-specific marshalers for G_TYPE_POINTER using signals. Fixes #450119. 2008-11-26 Stephane Delcroix * gtk/Image.custom: * gtk/Gtk.metadata: obsolete Image.FromPixbuf, FromAnimation, FromFile setters in favor of already existing Pixbuf, Animation and File. 2008-11-26 Mike Kestner * bootstrap-2.12: bump svn version. * cairo/Makefile.am: policy config is hard-coded, not generated. 2008-11-26 Mike Kestner * configure.in.in: prepend CFLAGS environment setting to AC_SUBST. Patch from Diego Petteno. [Fixes #443175] 2008-11-25 Mike Kestner * glib/Value.cs: fix for 'IntPtr as object' value construction. 2008-11-24 Andrés G. Aragoneses * atk/Makefile.am: * atk/SelectionAdapter.custom: new method for firing selection-changed ( http://library.gnome.org/devel/atk/stable/AtkSelection.html#AtkSelection-selection-changed ) 2008-11-21 Mike Kestner * glib/ManagedValue.cs: rework to ref count a ManagedValue instance and pass a GCHandle to it around, instead of taking out multiple gchandles on the managed target itself. 2008-11-21 Stephane Delcroix * glib/Global.cs: implement Global.ApplicationName for localized application name. 2008-11-21 Stephane Delcroix * Makefile.am: * glib/Format.cs: new class to map the g_format methods 2008-11-15 Mike Kestner * gdk/Event.cs: add EventOwnerChange to GetEvent. * gdk/EventOwnerChange.cs: manual subclass of Gdk.Event. * gdk/Gdk.metadata: hide EventOwnerChange. * gdk/Makefile.am: add EventOwnerChange.cs. * gdk/gdk-symbols.xml: add EventOwnerChange. 2008-11-15 Mike Kestner * gtk/Gtk.metadata: mark the SpinButton::Output signal as manually marshaled to avoid a compat break. The old manual marshaler expected and int RetVal and the new signal closure more accurately expects a bool. Since returning 1 previously worked, we need to revert to the int expectation, even though bool is technically more correct. 2008-11-14 Brad Taylor * glib/Object.cs: Bind g_object_notify. * doc/en/GLib/Object.xml: Document new API. 2008-11-05 Mike Kestner * atk/atk-api-2.12.raw: regen * gtk/gtk-api-2.12.raw: regen * generator/Signal.cs: reinstate old custom marshaler generation and generate custom marshaling when 'manual' attr is set. * parser/gapi2xml.pl: set manual attr on sigs that have G_TYPE_POINTER parameters since the generic closure can't cope with them. 2008-11-05 Mike Kestner * gtk/Builder.custom: #if the new API for 2.14 for now so it doesn't get confused as stable API yet. 2008-11-04 Mike Gorse * glib/PtrArray.cs, glib/glue/ptrarray.c, glib/Makefile.am, glib/glue/Makefile.am, glib/gtype.cs, generator/SymbolTable.cs, generator/ReturnValue.cs: Add PtrArray. * glib/Marshaller.cs: Add PtrArrayToArray. * atk/Atk.metadata: Specify GetTarget return type. * atk/Object.custom, atk/glue/object.c: Support overriding RefRelationSet. 2008-11-03 Stephane Delcroix * gtk/Gtk.metadata: * gtk/StatusIcon.custom: Obsolete the duplicated properties. 2008-10-29 Mike Kestner * glib/Signal.cs : custom marshaling hooks * glib/SignalClosure.cs : support for custom marshalers. 2008-10-28 Stephane Delcroix * gtk/Gtk.Metadata: hide ConnectSignals. * gtk/Builder.Custom: connect the signals, and the objects. GetObjectRaw method: allows very neat object inheritance. 2008-10-27 Stephane Delcroix * glib/ListBase.cs: DataMarshal: create the right object for *Adapter list items. 2008-10-08 Mike Gorse * atk/Object.custom: Pass Handle in EmitChildrenChanged (fix critical) 2008-10-24 Mike Kestner * glib/GType.cs: register IntPtr. 2008-10-22 Peter Johanson * gtk/TreeModelAdapter.custom: * gtk/TreeModelFilter.custom: * gtk/TreeModelSort.custom: * gtk/TreeStore.custom: Don't trigger any gtk+ critical warnings when the 'rows-reodered' signal is fired. 2008-10-21 Mike Kestner * tagged 2.12.5. 2008-10-21 Mike Kestner * cairo/*: add a policy assembly for 1.0 defering to 2.0. 2008-10-13 Brad Taylor * Makefile.am: * configure.in.in: * gtk-sharp-2.0-lib.wxs.in: * gtk-sharp-2.0-dev.wxs.in: Replace version numbers in wxs files, import gtk-sharp-2.0-dev.wxs. 2008-10-13 Mike Kestner * Makefile.am: installer target * gtk-sharp-2.0-lib.wxs: new installer config file 2008-10-12 Andrés G. Aragoneses Fixes BNC#426876. * generator/InterfaceGen.cs: throw ArgumentNullException in the Adapter's constructor that receives an implementor. 2008-10-09 Mike Kestner * cairo/*.cs: flatten source hierarchy to simplify win32 build. * sample/Makefile.am: fix a ref issue with local cairo. 2008-10-09 Mike Kestner * configure.in.in: magic for local Mono.Cairo build. * cairo/*: a local build of Mono.Cairo for .Net-only builds on win32. * */Makefile.am: use local Mono.Cairo where necessary. 2008-10-09 Mike Kestner * configure.in.in: kill dead config.in. * sample/CairoSample.cs: some dispose handling and cleanup. * sample/cairo-sample.exe.config.in: kill, no pinvoke needed now. * sample/GException.cs: GException test sample. * sample/GtkCairo.cs: kill, replaced by Gdk.CairoHelper.Create. * sample/Makefile.am: cleanup. 2008-10-08 Mike Gorse * Atk/Makefile.am, Atk/ObjectFactory.custom, Atk/glue/Makefile.am, Atk/glue/object_factory.c: Add ObjectFactory.custom and glue/object_factory.c. 2008-10-02 Mike Gorse * Atk/Makefile.am, Atk/Hyperlink.custom, Atk/glue/Makefile.am, Atk/glue/hyperlink.c: Add Hyperlink.custom and glue/hyperlink.c. 2008-09-30 Mike Kestner * generator/EnumGen.cs: * generator/InterfaceGen.cs: * generator/StructBase.cs: fix build breakage in prev commit. 2008-09-30 Stephane Delcroix * generator/CallbackGen.cs: * generator/ClassGen.cs: * generator/EnumGen.cs: * generator/GenBase.cs: * generator/InterfaceGen.cs: * generator/Method.cs: * generator/OpaqueGen.cs: * generator/StructBase.cs: * generator/ObjectGen: check for the internal attribute * generator/Method.cs: check for the accessibility attribute; 2008-09-24 Mike Gorse * atk/Atk.metadata: Mark rect in GetRangeExtents as out. 2008-09-24 Mike Kestner * glib/GType.cs: kill the FindTypeInReferences recursive loading algorithm and instead do a name-based search through the references of loaded assemblies only. Fixes the original bug #400595 and it hopefully will have fewer sideeffects that the recursive loading approach. 2008-09-24 Mike Kestner * glib/GType.cs: just fail on location null or empty instead of checking the assembly type. Avoids failures on the ms runtime. 2008-09-23 Mike Kestner * bootstrap-2.12: bump svn version after tag. 2008-09-23 Mike Gorse * atk/Makefile.am: add atk/atk.h to glue_includes. * atk/glue/Makefile.am: Compile atk/glue/generated.c. 2008-09-23 Andrés G. Aragoneses Fixes BNC#384475. * atk/Object.custom: Provide a new overload that receives an enum instead of an ulong, for a friendlier managed API. 2008-09-18 Mike Kestner * bootstrap-2.12: bump svn version. * generator/Signal.cs: add a workaround for G_TYPE_POINTER usage in the GtkEditable::text_inserted signal. The signal parameter received by the closure will be an IntPtr, which we then have to use to read/write the value directly from unmanaged memory. [Fixes #427588] 2008-09-18 Mike Kestner * generator/LPGen.cs: remove WIN64LONGS hackery. * generator/LPUGen.cs: remove WIN64LONGS hackery. * generator/SymbolTable.cs: for WIN64LONGS, map them directly to (u)int SimpleGens instead of using the LP generatables. 2008-09-16 Jeffrey Stedfast * generator/Property.cs (IsDeprecated): Allow "1" or "true". * generator/Method.cs (.ctor): Allow "1" or "true". * generator/ClassBase.cs: Allow a value of "true" to work the same as "1" for the deprecated and abstract attributes. * generator/ObjectGen.cs (Generate): Remove the extra generated space if the class isn't abstract. 2008-09-12 Zoltan Varga * glib/GType.cs (FindTypeInReferences): Put a try-catch around the assembly loading as failure to load a referenced assembly is not really an error. 2008-09-12 Mike Gorse * atk/Object.custom, atk/glue/object.c: Support GetIndexInParent. 2008-09-09 Mike Kestner * generator/ReturnValue.cs: warning cleanup. * gtk/Gtk.metadata: warning cleanup. 2008-09-09 Zoltan Varga * glib/GType.cs (FindTypeInReferences): Skip dynamic assemblies. 2008-09-08 Mike Kestner * glib/GType.cs: beef up the referenced assembly loading code to handle assemblies located in the same directory as the referring assembly. Fixes #423450. 2008-09-05 Andrés G. Aragoneses Fixes BNC#387220. * glib/glue/signal.c: New glue file to call g_signal_query(). * glib/glue/Makefile.am: Add signal.c. * glib/Signal.cs: check return type prior to emitting. 2008-08-28 Andrés G. Aragoneses * atk/Util.custom: unregister get_root function when the setter receives null. Partial fix for BNC#411444. 2008-08-27 Mike Kestner * generator/ManagedCallString.cs: use existing Parameters.IsHidden method to check for hidden user data. 2008-08-27 Mike Kestner * generator/ManagedCallString.cs: revert last change. There are a lot of "broken" callback sigs out there which expose user data because it's not in the last parameter in the list. I don't think we can reasonably make a change to hide all those at this point. This change at least hides all the user_data which comes right before a GError param at the end of the list. I need to follow up with a change which handles data parameters in any parameter position, but allows the user to mark "exposed" data params for compatibility reasons. * generator/Parameters.cs: hide data params which are at the end of a list behind an error param. * gtk/Gtk.metadata: mark an array parameter on TextBufferDeserializeFunc. 2008-08-27 Mike Kestner * glib/Signal.cs: multiple dispose guarding for closures. 2008-08-27 Mike Kestner * generator/ManagedCallString.cs: fixes for data parameter hiding in native to managed callback generation. 2008-08-20 Mike Kestner * glib/Object.cs: * glib/Signal.cs: fix a couple 2.0-isms. Patch from Christian Hoff. 2008-08-20 Mike Kestner * bootstrap-2.12: bump svn version after tag. 2008-08-20 Mike Kestner * generator/ReturnValue.cs: use new ListPtrToArray marshaler for lists with known element types. * glib/Marshaller.cs: new ListPtrToArray marshaller with more aggressive list disposal. * gtk/Container.custom: remove manual Children impl. Use Children in GetEnumerator instead of pinvoking directly. * gtk/Gtk.metadata: remove hidden attr and add element type and owned for Container.GetChildren to generate it properly. 2008-08-20 Mike Kestner Patch from Christian Hoff fixing bug #396195. * generator/Property.cs: handle interface adapter values. * generator/InterfaceGen.cs: register the gtype so mapping occurs automatically for interface adapters. New GetObject overload to handle already wrapped objects more efficiently. * glib/Value.cs: handle set_Val for interface adapter objects. 2008-08-19 Brad Taylor * atk/Object.custom: Add method to allow emission of visible-data-changed signal. * atk/TextChangedDetail.cs: * atk/TextAdapter.custom: Add method to allow emission of text-changed signal. 2008-08-13 Mike Kestner * atk/Atk.metadata: switch Value methods to ref params since atk actually checks for initialized values instead of just treating it like uninitialized memory. Makes for uglier API, but avoids crashes in unfortunate memory content scenarios. 2008-08-04 Mike Kestner * gtk/IconTheme.custom: elements and the list returned by ListIcons are owned. 2008-08-04 Mike Kestner * gtk/Gtk.metadata: mark IconTheme.LoadIcon return as owned. 2008-07-23 Mike Kestner * atk/Atk.metadata: map some out params on Atk.Value. They were unusable in their existing form. 2008-07-08 Mike Kestner Patch from Christian Hoff with a few minor tweaks. * generator/CallbackGen.cs: refactor to use ManagedCallString and drop a ton of redundant, half-baked code. * generator/ManagedCallString.cs: add Unconditional setup method for stuff that has to happen before the try block. Add "drop_first" concept so it can be reused by CallbackGen which doesn't drop first params. * generator/Signal.cs: use Unconditional method for prep. * generator/VirtualMethod.cs: use Unconditional method for prep. * gtk/Gtk.metadata: mark a ref param. [Fixes #394352] 2008-06-28 Mike Kestner * gtk/Gtk.metadata: mark ListStore.Reorder array param. * gtk/ListStore.cs: compat obsolete method, though the old one was useless. 2008-06-28 Mike Kestner * glib/Marshaller.cs: some 64 bit fixes for time_t marshaling issue found by Federico. 2008-06-28 Mike Kestner * gtk/TreeSelection.custom: use list marshaler to avoid O(n^2) copy from old custom code. [Fixes #404669] 2008-06-28 Mike Kestner * gtk/Gtk.metadata: mark a const string. [Fixes #404630] 2008-06-27 Mike Kestner * gtk/Gtk.metadata: fix a couple out params. 2008-06-20 Mike Kestner * glib/Value.cs: Patch from Christian Hoff. Support for byte and sbyte values. 2008-06-17 Mike Kestner * glib/SignalClosure.cs: post back the gvalues after the closure is invoked using a new Update method on GLib.Value. This only impacts boxed types, since they are the only "value types" passed by ref in the signal marshaling environment. We can't call set_boxed on the value to update it, since that allocs new memory, we need to marshal the updated struct out to the existing native memory address using g_value_get_boxed. * glib/Value.cs (Update): new update method for writing values to an existing boxed type instance instead of allocating a new native struct. Fixes #398929. 2008-06-17 Mike Kestner * glib/GType.cs (LookupType): traversed referenced assemblies to find types in currently unloaded assemblies. Fixes #400595. 2008-06-16 Andrés G. Aragoneses * atk/Object.custom: * atk/glue/object.c: Simplified code for previous issue (recommendation from mkestner). 2008-06-16 Mike Kestner * glib/glue/object.c: fixes for object, boxed, and gtype property paramspec creation. Patch provided by Christian Hoff. 2008-06-09 Andrés G. Aragoneses * atk/Object.custom: * atk/glue/object.c: Temporary workaround for infinite recursion issue. 2008-06-06 Andrés G. Aragoneses * glib/glue/thread.c: Fix a warning. 2008-06-06 Mike Kestner Initial Patch submitted by Christian Hoff with some small style alterations and a round trip sample by me. Supports the registration of managed properties with the GType system, so that things like custom cell renderers can be accessed via the native property system from treeview. * glib/glue/object.c : property registration related glue. * glib/Object.cs: implement managed property registration. * glib/PropertyAttribute.cs: add new props and ctor for managed property registration. * sample/PropertyRegistration.cs: little test app to test round- tripping of registered properties. * sample/Makefile.am: add new sample. 2008-06-06 Mike Kestner * atk/Object.custom: use 'as StateSet' instead of cast to avoid cast exceptions in the null case. Apparently it's not an exception any more, according to folks on #monodev. I still prefer as for GetObject 'casting'. 2008-06-06 Andres G. Aragoneses * atk/Object.custom: * atk/glue/object.c: Implement virtual method OnRefStateSet(). 2008-05-30 Mike Kestner * gdk/Pixbuf.custom: don't use the autogenerated PixbufDestroyNative delegate type since is has a byte[] parameter that blows up. 2008-05-30 Mike Kestner * gtk/Object.custom: * gtk/glue/object.c: remove the destroy override. it doesn't work. 2008-05-28 Mike Kestner * gtk/Object.custom: move Dispose call to a vm override so that it runs after all signals and native overrides have run. * gtk/glue/object.c: destroy override implementation. 2008-05-28 Lluis Sanchez Gual * gtk/Object.custom: If all destroy handlers have been unregistered, remove the hashtable entry since it is not needed anymore. 2008-05-27 Mike Kestner * generator/Method.cs (GenerateBody): when generating value type methods, we should demarshal the 'this' memory before any ref or out parameters in the event that someone passes 'this' as a param. That will ensure that an updated value coming back from the native side ends up in the memory location. 2008-05-22 Mike Kestner * gtk/Widget.custom: guard against MissingIntPtrCtorException in the Activate and SetScrollAdjustments funky signal VM impl. Can't use SignalClosure easily. Could be reworked more cleanly at some point. Or not. 2008-05-21 Mike Kestner * gtk/Object.custom (OnDestroyed): ensure Dispose runs even if no Destroyed handlers are connected. 2008-05-21 Mike Kestner * gtk/Application.cs (CurrentEvent): use Event.GetEvent to retrieve an explicit event subclass. 2008-05-15 Mike Kestner * kill the makefile.win32 build system. it has been unmaintained for quite some time, replaced by the auto* build in cygwin. 2008-05-14 Andres G. Aragoneses * atk/Object.custom: Track API changes in GLib.Signal. * glib/Signal.cs: AddEmissionHook binding (for closing #386950), and change API of Emit to mimic the detailed_signal pattern. * glib/GType.cs: GType.FromName: new wrapper for native call. * glib/ObjectManager.cs: Use the new FromName managed method. 2008-05-08 Mike Kestner * atk/atk-api-2.12.raw: reparsed. * gdk/gdk-api-2.12.raw: reparsed. * gtk/gtk-api-2.12.raw: reparsed. * parser/gapi2xml.pl: fixes for signal and vm order needed for proper interface struct layout. [Fixes #386802] 2008-05-07 Stephane Delcroix * gtk/Object.custom: swap the event removing and destroy calls. 2008-05-07 Andres G. Aragoneses * atk/Object.custom, atk/glue/object.c: Remove unneeded return types (I don't know why gcc ever let this compile...). 2008-05-06 Mike Kestner * glib/Object.cs: revert the connection optimization from r102349. It breaks under the current CellRenderer implementation which probably can't be reworked compatibly to take advantage of this code. * glib/SignalClosure.cs: use IntPtr.ToInt64 instead of (long) since the cast apparently has issues on bleeding edge mono. 2008-05-06 Mike Kestner * gtk/Gtk.metadata: mark Rc.DefaultFiles accessors as null_term_array. 2008-05-02 Mike Kestner * generator/GenerationInfo.cs: refactor glue writer implementation so that GlueEnabled means there is a valid glue writer available. Avoids crashes in scenarios where an unwriteable glue path is provided to the generator. Generate a glue function which scans the type hierarchy of an object for the most-derived unmanaged ancestor so that we can invoke class methods on it, avoiding infinite recursions. * generator/Signal.cs: revamp the default handler vm overriding mechanism. When class fields exist which can be directly hooked into, we now generate glue to override and chain up to unmanaged base funcs. This avoids some strangeness in the g_signal_override_class_closure and g_signal_chain_from_overridden reported in #332300 and also lays the groundwork for automated generation of non-signal VMs. * gtk/Gtk.metadata: block signal glue generation for a few types which don't seem to install headers. 2008-05-02 Mike Kestner * glib/Object.cs: Don't bother hooking VM into the class field if another managed ancestor has already done so. Add a LogFunc printing a stack trace for the GObject log domain if GTK_SHARP_DEBUG is set in the environment. It's a bit noisy to do unconditionally. 2008-05-02 Mike Kestner * gtk/Object.custom: some NULL guarding in Dispose and Destroy handling. 2008-05-02 Mike Kestner * atk/Atk.metadata: hide Global.AddGlobalEventListener. * atk/Global.custom: AddGlobalEventListener impl. * atk/Util.custom: AddGlobalEventListenerHandler prop. [Fixes the rest of #365437] 2008-05-01 Mike Kestner * gtk/gtk-api-2.12.raw: regen, removes some private printing API. * source/gtk-sharp-2.12-sources.xml: hide some private printing API. 2008-05-01 Mike Kestner * generator/InterfaceGen.cs: use CName and mangle it. ClassFieldName is not guaranteed to be set now. * generator/Signal.cs: read ClassFieldName from the api xml. Move glue writer lookup inside the block to avoid exceptions for now. 2008-04-30 Mike Kestner * generator/InterfaceGen.cs: * generator/Signal.cs: use generic signal marshaling instead of generating signature specific marshaling callbacks. * glib/glue/closure.c: glue for new closure impl. * glib/Object.cs: open up a couple hashes internally. * glib/Signal.cs: hook in closure based connection and expose EmissionHook functionality for atk usage. * glib/SignalClosure.cs: new generic signal marshaling mechanism. * glib/ToggleRef.cs: null guarding in Target and let Signal remove itself from hash when it disposes itself. 2008-04-30 Mike Kestner * parser/gapi2xml.pl: put class struct field in the signal elems. * atk/atk-api-2.12.raw: * gdk/gdk-api-2.12.raw: * gtk/gtk-api-2.12.raw: 2008-04-28 Mike Kestner * glib/Value.cs : Add GParam support and beef up the Boxed type marshaling to support types with New methods via reflection. 2008-04-28 Mike Kestner * glib/GType.cs : Add a few missing static fields. 2008-04-24 Mike Kestner * gdk/Window.custom (Destroy): take a normal ref for the native method to release, and Dispose our toggle ref. Fixes #382186. 2008-04-24 Andres G. Aragoneses * glib/Signal.cs: Remove unneeded cast. 2008-04-24 Andres G. Aragoneses * atk/Object.custom: custom protected method for firing the ChildrenChanged signal. * glib/Signal.cs: first implementation of a managed method for emitting signals. 2008-04-19 Mike Kestner * gtk/glue/statusicon.c: fix time parameter usage. Not even sure how that compiled. I <3 C. 2008-04-17 Mike Kestner * atk/glue/misc.c: glue for vms and singleton setup. * atk/Misc.custom: add OnThreadsEnter, OnThreadsLeave, and SetSingletonInstance members for Bridge implementors. [More of #365437] 2008-04-17 Mike Kestner * glib/Object.cs: add Harden method to reduce the reflection overhead in Gnome.Program. 2008-04-17 Mike Kestner * glib/ToggleRef.cs: Add a Harden method to switch to a standard ref and just leak it. * gtk/Application.cs: revert the QuitPrepare stuff since it didn't always work. 2008-04-17 Mike Kestner * gtk/TreeModelAdapter.custom: * gtk/TreeModelFilter.custom: * gtk/TreeModelSort.custom: reworked patch from Christian Hoff to throw NotImplementedException for SetValue methods. Those should never have been added to the interface, and it's better to throw an exception than have infinite recursion kill the program. [Fixes #379542] 2008-04-16 Mike Kestner * gtk/Gtk.metadata: hide PrintContext.get_CairoContext. * gtk/PrintContext.custom: manual get_cairo_context implementation. Mono.Cairo assumes it is wrapping owned references, so we need to take a ref out on the returned cairo_t pointer. * sample/GtkDemo/DemoPrinting.cs: dispose the CairoContext in to be a good citizen and avoid warnings. 2008-04-15 Mike Kestner * generator/ReturnValue.cs: use new GLib.Opaque.OwnedCopy for owned opaque return values. * glib/Opaque.cs: introduce OwnedCopy property to support returning owned opaque instances from native to managed callbacks. [Fixes #374641] 2008-04-15 Mike Kestner * gtk/Gtk.metadata: hide GtkKey_ for manual impl. * gtk/Key.cs: manual implementation to manage delegate wrapper persistence. [Fixes #378989] 2008-04-15 Mike Kestner * gtk/FileSystemModel.custom: remove dead file. 2008-04-15 Mike Kestner * glib/Marshaller.cs: marshal null string arrays as a null IntPtr[]. [Fixes #378514] 2008-04-14 Mike Kestner * gtk/Application.cs: add QuitPrepare event for Gnome.Program usage. 2008-04-08 Marek Habersack * generator/InterfaceGen.cs: added a check for null obj in the generated GetObject method. 2008-04-04 Mike Kestner * atk/Atk.metadata: add a few more owned refs. 2008-04-04 Mike Kestner * glib/Global.cs: renamed from Program.cs. Program.Name is now Global.ProgramName to try to avoid clashes with existing Gnome.Program usage. * gtk/Application.cs: s/GLib.Program.Name/GLib.Global.ProgramName. 2008-04-04 Mike Kestner * atk/Atk.metadata: markup all the Ref* methods to indicate owned refs. * generator/ReturnValue.cs: Add owned object ToNative handling. * generator/VirtualMethod.cs: Split ToNative call from managed method invocation to avoid duplicate calls in null checking scenarios. * glib/Object.cs: add OwnedHandle property for use by language binding code which needs to pass owned refs to native methods. 2008-04-04 Mike Kestner * atk/Object.custom: take out a ref on the return value of OnRefChild. Also add some null guarding and default to IntPtr.Zero on exceptions. 2008-04-01 Mike Kestner * generator/InterfaceGen.cs: support "generic" interface implementations like those exposed by gio. This is specifically for libraries which return GTypes which are not exposed by the library but which implement GInterfaces which are exposed by the library. 2008-03-28 Andres G. Aragoneses * atk/Object.custom: custom properties for overriding class methods. * atk/Makefile.am: include Object.custom. * atk/glue/object.c: glue to override class methods. * atk/glue/Makefile.am: include object.c. 2008-03-27 Andres G. Aragoneses * glib/Program.cs: Add new static class for utility property, moving the code to call g_set_prgname() from gtk/Application.cs to here, and changing return value of g_set_program_name from bool to void. * gtk/Application.cs: Use Program.Name as a replacement of calling the native function g_set_prgname(). * glib/Makefile.am: add Program.cs. 2008-03-21 Mike Kestner * bootstrap-2.12: bump svn version * generator/CallbackGen.cs: add dnotify support to invoker. Store and respond with incoming UserData params. Start using __prefixed private vars to avoid collisions with parameters, like the 'result' params in gio. * generator/ManagedCallString.cs: use new data/dnotify invoker ctors. * generator/MethodBody.cs: * generator/Parameters.cs: don't link "out" length params to preceding strings. * generator/VMSignature.cs: don't require UserData to be last param, since it can have things like error after it. 2008-03-21 Mike Kestner * gtk/Gtk.metadata: s/GtkDestroyNotify/GDestroyNotify in vms too. 2008-03-14 Mike Kestner * pango/AttrList.custom: pass copies of the attrs to insert* since the list assumes ownership. * pango/Makefile.am: add new custom file. * pango/Pango.metadata: hide AttrList.Insert* for custom impl. 2008-03-12 Mike Kestner * glib/GType.cs: add an Init method for explicit initialization. 2008-03-04 Mike Kestner * bootstrap-2.12: update version to 2.12 and tag 2008-02-29 Mike Kestner * gdk/Event.cs: add New method for consistency with generated boxed types. Will be used by GLib.Value in the future. 2008-02-29 Mike Kestner * generator/ReturnValue.cs: null-term array handling. * glib/Marshaller.cs: marshaling methods for null-term arrays. 2008-02-29 Mike Kestner * sample/Action.cs: qualify Action usage. * sample/GtkDemo/DemoApplicationWindow.cs: qualify Action usage. * sample/GtkDemo/DemoUIManager.cs: qualify Action usage. 2008-02-29 Mike Kestner * configure.in.in: atk checks and SUBSTs. * atk/Util.custom: custom properties for overriding class methods. * atk/glue/util.c: glue to override class methods. 2008-02-26 Mike Kestner * generator/ByRefGen.cs: fix mismatched alloc/free. 2008-02-22 Mike Kestner * gdk/Pixbuf.custom: add destroy notification and pin byte[] to avoid GC complications. Add a couple new convenience ctors as well. [Fixes #362951] 2008-02-21 Mike Kestner * glib/Source.cs: rework proxy removal to avoid boxing profile. * glib/Idle.cs: save src_id in proxy to facilitate removal. * glib/Timeout.cs: save src_id in proxy to facilitate removal. [Fixes #359561] 2008-02-07 Mike Kestner * generator/ReturnValue.cs: null term array marshaling. * glib/Marshaller.cs: new marshalers for null-terminated string arrays. [Fixes #342113] 2008-02-07 Mike Kestner * generator/Parameters.cs: fix off-by-1 in null term array marshaling. 2008-02-06 Mike Kestner * gdk/Gdk.metadata: mark ApplyEmbeddedOrientation return as owned. 2008-01-30 Mike Kestner * generator/ClassBase.cs: null check ifaces in recursive method and signal lookup. 2008-01-29 Mike Kestner * generator/ManagedCallString (Setup): use error param name instead of hardcoding error. 2008-01-29 Mike Kestner * generator/VirtualMethod (CName): mangle the name. * generator/SymbolTable.cs (MangleName): add 'remove' and 'foreach' mappings. Should probably just get a C# keyword list and map all of them instead of onesy twoseys. Fixes for tnymail binding generation. 2008-01-24 Lluis Sanchez Gual * glade/XML.custom: due to a recent Mono fix (bug #322762), Type.GetFields does not return private fields from base classes anymore, so the BindFields now has to go through the class hierarchy to get all fields. 2008-01-23 Mike Kestner * bootstrap-2.12: update version and tag 2.11.91. 2008-01-22 Mike Kestner * glib/Object.cs: expose an internal ToggleRef prop. * glib/Signal.cs: use ToggleRef for lookups instead of Object. Add a Free method and release connections and gchandles. * glib/ToggleRef.cs: add signal hash and release signals on free. 2008-01-17 Mike Kestner * glib/Object.cs: remove ref from Objects hash prior to releasing it. 2008-01-17 Mike Kestner * glib/ToggleRef.cs: check for null reference in IsAlive. 2008-01-17 Mike Kestner * generator/Property.cs: missing Parent null check needed for direct GLib.Object subclasses. Suggested by mario@gnome.cl. [Fixes #321536] 2008-01-17 Mike Kestner * sample/Assistant.cs: new Gtk.Assistant sample. * sample/Makefile.am: hook in new sample. 2008-01-11 Mike Kestner * bootstrap-2.12: update version to 2.11.90. * configure.in.in: incorporate build service patch. * glib/glib-sharp-2.0.pc.in: add cflags for new api.xml. * glib/Makefile.am: install api.xml to correct dir. 2008-01-07 Mike Kestner * generator/SymbolTable.cs: map "unsigned long" to LPUGen. 2008-01-02 Mike Kestner * gtk/MoveFocusHandler.cs: obsolete event types. * gtk/TextView.custom: obsolete move-focus signal. * gtk/Window.custom: obsolete move-focus signal. Compat fixes for removal of signals from gtk+ API. [Fixes #350770] 2007-12-17 Mike Kestner * parser/gapi_pp.pl: parse 'typedef struct\n{' properly. 2007-12-12 Mike Kestner * generator/Parameters.cs: fix marshaling for ArrayCount params where casting is required, like gsize/size_t count parameters. 2007-12-11 Mike Kestner * parser/gapi2xml.pl: fix tightloop in single-line prop declarations. 2007-12-06 Mike Kestner * * : update to 2.12 API. 2007-12-04 Mike Kestner * generator/SymbolTable.cs: add goffset mapping. 2007-12-04 Mike Kestner * configure.in.in: check for default off_t size * generator/SymbolTable.cs: map off_t based on configure check. * generator/Makefile.am: add OFF_T_FLAGS to compile. 2007-12-03 Mark Probst * generator/SymbolTable.cs: Added "where" to the list of mangled names. 2007-11-29 Mike Kestner * parser/gapi_pp.pl: collapse embedded multiline function fields to a single line. [Fixes #344853] 2007-11-29 Mike Kestner * generator/MethodBase.cs: move Name stuff from subclasses. Check for (G|S)et in new Has props. * generator/Method.cs: * generator/VirtualMethod.cs: refactor out Name stuff. Use new Has(G|S)etterName props. * pango/Pango.metadata: workaround Has/Hash collision with the old broken getter check. [Fixes #344954] 2007-11-29 Mike Kestner * glib/Signal.cs: ignore GCHandles with null targets since their object has been collected. [Fixes #344250 again] 2007-11-28 Mike Kestner * glib/Object.cs: take ref using method param to avoid NREs. [Fixes #344250] 2007-11-16 Mike Kestner * glib/Object.cs: use toggle refs for all objects. de-obsolete Data hash. Add internal Signals hash. * glib/Signal.cs: switch to weak gchandles. * glib/WeakObject.cs: kill. 2007-11-16 Eskil Bylund * gtk/ListStore.custom: * gtk/TreeStore.custom: Implement InsertWithValues. * gtk/Gtk.metadata: Deprecate the old generated method. [Fixes #325040] 2007-11-12 Mike Kestner * sample/TreeModelDemo.cs: lt/gt typo bugfix [Fixes #333653] 2007-11-12 Mike Kestner * generator/SymbolTable.cs: remove GCallback mapping. * glib/GCallback.cs: kill, bad idea. 2007-11-12 Mike Kestner * glib/IOChannel.cs: IOChannel wrapper implementation. * glib/Makefile.am: build new files. * glib/Marshaller.cs: new string array marshaling methods. * glib/Spawn.cs: g_spawn* wrapper implementation. * sample/SpawnTests.cs: tests for the new GLib.Process class and a cursory exercise of IOChannel for SpawnAsyncWithPipes. 2007-11-09 Mike Kestner * generator/Parameters.cs: support for null_term_array attribute. 2007-11-08 Mike Kestner * glib/Marshaller.cs: new null-terminated string[] marshaler from Mono.Unix with adaptations by Michael Hutchinson. 2007-11-02 Mike Kestner * glib/SList.cs: * glib/List.cs: add Array dup of object[] ctor since we are passing typed arrays from generated code. 2007-11-02 Mike Kestner * generator/Method.cs: need to use on the Base method name to lookup complements and determine if the method is a getter or setter when an explicit interface method name is used. 2007-10-24 Mike Kestner * generator/SymbolTable.cs: mappings for GCallback and GSourceFunc. * glib/GCallback.cs: GCallback declaration. * glib/Source.cs: GSourceFunc declaration. 2007-10-24 Mike Kestner * generator/VirtualMethod.cs: clean up compiler warning and duplicate call. 2007-10-24 Mike Kestner * generator/InterfaceGen.cs: generate an Implementor prop on the adapters to obtain the underlying object. 2007-10-22 Mike Kestner * configure.in.in: add a win64 check and a compiler define for handling win64 32bit longs. * generator/LPGen.cs: use int to marshal on win64. * generator/LPUGen.cs: use uint to marshal on win64. * generator/SymbolTable.cs: remove fixme. 2007-10-16 Mike Kestner * gtk/CellRenderer.custom : marshal GTypes as IntPtr like the generator does. * gtk/Container.custom : ditto. [Fixes comment #8 on 327058] 2007-10-15 Mike Kestner * generator/InterfaceGen.cs : gen Handle props as overrides. * glib/GInterfaceAdapter.cs : add abstract Handle prop. * glib/Value.cs: add ctor (GInterfaceAdapter). 2007-10-04 Peter Johanson * gtk/Gtk.metadata: Make the public fields on Gtk.Rcstyle writeable. 2007-10-04 Mike Kestner * glib/DestroyNotify.cs: add CDeclCallback to the delegate. * glib/Signal.cs: use DestroyHelper. * gdk/Input.custom: use DestroyHelper. * gtk/Quit.custom: remove new on DestroyHelper handler. * gtk/TreeModelFilter.custom: remove new on DestroyHelper handler. * gtk/TreeViewColumn.custom: remove new on DestroyHelper handler. 2007-10-02 Mike Kestner * generator/*.cs: implement the interfaces on the adapters too. Generate an Implementor interface for users which exposes the methods to implement. Register based on the Implementor sub-iface. * gtk/*Adapter.custom: custom implementations for the custom interface members. * gtk/TreeIter.custom: make UserData public. * sample/TreeModelDemo.cs: sample for implementing a TreeModel interface. 2007-10-01 Mike Kestner * generator/OpaqueGen.cs: disable Copy generation fix until I can figure out why it breaks DnD. 2007-10-01 Mike Kestner * gtk/TreePath.custom: use Marshal.Copy to copy indices array. 2007-10-01 Mike Kestner * glib/Object.cs: add ctor (), which invokes CreateNativeObject to allow direct subclasses that do all the registration automatically. 2007-09-21 Mike Kestner * generator/*.cs: add DefaultValue prop for obtaining a sane value when we need to return a value but something bad has happened such that we can't get a real value. Needed for iface signal marshaling, among other places we're partially working around it now. 2007-09-19 Mike Kestner * generator/InterfaceGen.cs: remove some dead code from a previous implementation attempt. 2007-09-19 Mike Kestner * generator/VirtualMethod.cs: refactor delegate generation into GenerateCallback and add [CDeclCallback] which was missing. * generator/InterfaceGen.cs: kill GenerateDelegates. They are now generated by VirtualMethod.GenerateCallback. 2007-09-14 Mike Kestner * generator/CallbackGen.cs (GenInvoker): null check the sig field and set it up. This can happen when generating the marshaling types from dependent libraries instead of via the Generate method. 2007-09-11 Mike Kestner * gtk/Gtk.metadata: virtual_method rules for GInterface generation. * generator/ReturnValue.cs (ToNative): new method for the virtual method generation. * generator/Parameters.cs (FromNative): null guarding. * generator/ManagedCallString.cs: rework for interface method generation including callback and error param support. * generator/CallbackGen.cs: Invoker support. new class that deals with persistence of native and wrapper delegates in native to managed callback method signatures. * generator/VirtualMethod.cs: support for generation of interface methods, and all the funky parameters that come with that. * generator/InterfaceGen.cs: Fill out the adapter implementation. * generator/MethodBody.cs: Initialize overload. Extend ThrowsException to support GError outside the last parameter slot. * glib/GInterfaceAttribute.cs: New attribute to mark interfaces and obtain adapter type. * glib/Object.cs (AddInterfaces): interface registration method. * glib/GInterfaceAdapter.cs: New abstract class for interface adapter generation. * glib/Makefile.am: add new files. 2007-09-11 Mike Kestner * gtk/Object.custom (Destroy): add a null check to avoid Gtk criticals. The destroy case seems to be problematic with a bunch of existing code, so this turns it into a noop. 2007-09-06 Mike Kestner * AssemblyInfo.cs.in : add IgnoreClassInitializers attr to all. * generator/ObjectGen.cs : add custom-attr generation for objects. * glib/ClassInitializerAttribute.cs : obsolete * glib/IgnoreClassInitializersAttribute.cs : new assembly attr to avoid a blind GetMethods reflection. * glib/Makefile.am : add files * glib/TypeInitializerAttribute.cs : new attr to specify init method to be run at type registration. * gtk/Widget.custom : remove the ClassInitializerAttr. * gtk/Gtk.metadata : add a custom-attr node to GtkWidget. * sample/Subclass.cs : use the IgnoreClassInitializers attr. 2007-08-14 Mike Kestner * gtk/Gtk.metadata : kill a few "new" warnings in FileChooser implementors. 2007-08-14 Mike Kestner * glib/ListBase.cs : add AllocNativeElement method and an Append (object) method that uses it. * glib/List.cs : add object[] ctor using new append method. * glib/SList.cs : add object[] ctor using new append method. These are needed to return G(S)List* values as virtual method return values. 2007-08-13 Mike Kestner * generator/MethodBody.cs : finally kill the s/out ref/ref/ hack. * generator/Parameter.cs : ditto. 2007-08-13 Mike Kestner * generator/ByRefGen.cs : implement IManualMarshaler. * generator/Parameter.cs : use StructParameter for ByRefGen. 2007-08-13 Mike Kestner * generator/*.cs : switch to IntPtr marshaling for struct types in the managed to native direction. * gtk/*.custom : adjust to new gapi struct pinvoke sigs. 2007-08-01 Mike Kestner * generator/CallbackGen.cs : use Parameters.NativeCallbackSignature. * generator/Ctor.cs : use Parameters.ImportSignature prop. * generator/ImportSignature.cs : kill * generator/MethodBase.cs : kill ImportSignature prop. * generator/Method.cs : use Parameters.ImportSignature prop. * generator/NativeCallbackSignature.cs : kill * generator/Parameters.cs : add ImportSig and NativeCallbackSig. * generator/Signal.cs : use Parameters.NativeCallbackSignature prop. * generator/VirtualMethod.cs : use Parameters.ImportSignature prop. 2007-07-31 Mike Kestner * generator/Ctor.cs : Validate before generating and adjust protection on a couple private methods. * generator/Parameters.cs : remove unused var to kill warning. 2007-07-30 Mike Kestner * generator/MethodBody.cs : refactor finish logic into parameter. * generator/Parameters.cs : refactor finish logic into parameter and fix some failures to marshal ref params post call. 2007-07-27 Mike Kestner * generator/OpaqueGen.cs : only generate Copy override for methods with no parameters. Fixes a gnome-sharp build problem. 2007-07-26 Mike Kestner * parser/gapi2xml.pl : beef up error message for signal vm parse. [Fixes #82149] 2007-07-24 Mike Kestner * bootstrap-2.10 : bump version and tag 2.10.2. 2007-07-20 Mike Kestner * gtk/Calendar.custom : workaround invalid states in widget when raising month_changed signals. [Fixes #78524] 2007-07-20 Mike Kestner * gtk/gtk-api-2.10.raw : refresh. * parser/gapi_pp.pl : combine lines that end in '\' before sending them through the pattern matching. [Fixes #79214] 2007-07-19 Mike Kestner * generator/OpaqueGen.cs : override the new Copy vm if a Copy method exists for the type. * glib/Opaque.cs : add a virtual method to allow subclasses with Copy methods to override. Use the method in GetOpaque for unowned instantiations to try to obtain an owned instance. [Fixes #82037] 2007-07-18 Mike Kestner * gdk/EventExpose.cs : return a pointer from the get_area glue pinvoke to avoid VS crashes on win32. * gdk/glue/event.c : return a GdkRectangle* to avoid stack imbalance on VS debugger. [Fixes #82098] 2007-07-17 Mike Kestner * gtk/Gtk.metadata : map TreeModelFilter ctor param to prop to avoid subclass ctor exception. [Fixes #82115] 2007-07-17 Mike Kestner * generator/CallbackGen.cs : make GError** signatures fatal to avoid compilation problem in gmime-sharp. 2007-07-12 Mike Kestner * generator/StructBase.cs : use typeof to pass type to PtrToStruct to avoid an instantiation and method call. Duh. 2007-07-10 Mike Kestner * generator/ImportSignature.cs : use Parameter.NativeSignature prop and refactor out some GError handling. * generator/MethodBody.cs : Refactor logic into Parameters. * generator/Parameters.cs : add ArrayParameter, ArrayCountPair, and ErrorParameter subclasses to refactor spaghetti code in MethodBody. 2007-07-03 Mike Kestner * bootstrap-generic : use automake --foreign to make automake-1.10 happy with gnu make function usage. 2007-06-25 Mike Kestner * gtk/StatusIcon.custom : present_icon is in the glue lib. 2007-06-25 Ankit Jain * gdk/Gdk.metadata : hide Property.Get for manual impl. * gdk/Property.custom : manually marshal the data param in Get. 2007-06-19 Mike Kestner * gdk/Property.custom : obsolete compat overload for Change(). * gdk/Gdk.metadata : array attr for Property.Change (). * gdk/Makefile.am : add custom file. 2007-06-18 Mike Kestner * bootstrap-2.10 : bump version and tag. 2007-06-05 Mike Kestner * glib/ManagedValue.cs (ReleaseWrapper): new method. * glib/Value.cs : release the ManagedValue wrapper to avoid leaks. [Fixes #81799] 2007-05-03 Wade Berrier * generator/gapi2-codegen.in: * parser/gapi2-fixup.in: * parser/gapi2-parser.in: Don't use 'which' anymore, as it doesn't work in all caes (ie: when symlinks are in the way) 2007-04-28 Mike Kestner * generator/NativeCallbackSignature.cs : * generator/Signal.cs : don't use ref IntPtr in native callback sigs for struct parameters. Use IntPtr and StructureToPtr. Fixes the layout issues in MD introduced by the structure marshaling rework. 2007-04-24 Aaron Bockover * gtk/Widget.custom (StyleGetProperty): return null if gtksharp_widget_style_get_property returns FALSE (property doesn't exist) [Fixes #81445] * gtk/glue/widget.c (gtksharp_widget_style_get_property): check return of gtk_widget_class_find_style_property for NULL; function now returns TRUE if spec is not NULL, FALSE otherwise 2007-04-23 Brad Taylor * gtk/TreePath.custom: Override Equals and compare based upon the underlying indicies, instead of the object reference. [Fixes #81398] 2007-04-23 Mike Kestner * glib/Value.cs : add support for accessing generic struct boxed types as objects. [Fixes #79224] 2007-04-20 Mike Kestner * generator/CallbackGen.cs : switch to NativeCallbackSignature. * generator/GenBase.cs : add NativeCallbackType member. * generator/IGeneratable.cs : add NativeCallbackType member. * generator/ManagedCallString.cs : add guarded post call struct marshaling back to the native struct. * generator/NativeCallbackSignature.cs : new parallel to ImportSignature but using NativeCallbackType instead of MarshalType. * generator/Signal.cs : switch vm and sig marshaler callbacks to NativeCallbackSignature. Perform guarding post call struct marshaling back to the native struct. * generator/Parameters.cs : add NativeCallbackType member. * generator/SimpleBase.cs : add NativeCallbackType member. * generator/StructBase.cs : add NativeCallbackType member using IntPtr to support NULL handling. * gtk/NodeCellDataFunc.cs : update native marshaler sig. 2007-04-17 Mike Kestner * gtk/Gtk.metadata : hide TreeModel.RowsReordered signal so we can do a correct implementation while maintaining compat with the existing broken "NewOrder" parameter. * gtk/ListStore.custom : manual RowsReordered signal implementation. * gtk/RowsReorderedHandler.cs : manual implementation for preserve compat in the Args class. Adds NewChildOrder to replace the broken ChildOrder. * gtk/TreeModel.custom : manual RowsReordered signal declaration. * gtk/TreeModelFilter.custom : manual RowsReordered signal implementation. * gtk/TreeModelSort.custom : manual RowsReordered signal implementation. * gtk/TreeStore.custom : manual RowsReordered signal implementation. [Fixes #78512] 2007-04-17 Ben Motmans * doc/en/Gtk/Widget.xml: removed documentation for internal method 2007-04-17 Ben Motmans * gtk/Widget.custom: StyleGetPropertyValue that returns a GLib.Value when StyleGetProperty cannot automatically cast the GLib.Value (eg: Gdk.Color) [Fixes #81253] * doc/en/Gtk/Widget.xml: Documentation for the new StyleGetPropertyValue method and improved documentation for StyleGetProperty * gtk/TreeView.custom: OddRowColor and EvenRowColor properties * doc/en/Gtk/TreeView.xml: documentation for OddRowColor and EvenRowColor properties 2007-04-12 Brad Taylor * doc/en/Gtk/Widget.xml: Documentation for OnActivate, but only because Mike asked so nicely. 2007-04-12 Mike Kestner * glib/Object.cs : do the Timeout switch in the finalizer instead of in Dispose, where it can cause problems if people override Dispose. * generator/ObjectGen.cs : don't generate finalizers for every subclass, just rely on the ~GLib.Object implementation. 2007-04-12 Mike Kestner * glib/Idle.cs : * glib/Timeout.cs : don't add the CDeclCallback attr to the public delegate type, since it causes a MissingMethod exception on win32. 2007-04-09 Brad Taylor * gtk/glue/widget.c: * gtk/Widget.custom: Bind activate_signal in GtkWidgetClass. [Fixes #81343] 2007-04-05 Mike Kestner * glib/ToggleRef.cs : flush a few leftover changes from a ToggleRef refinement. 2007-03-15 Mike Kestner * generator/CallbackGen.cs : generate try/catch blocks for native to managed marshallers. [Fixes the rest of #80516] 2007-03-08 Mike Kestner * glib/Signal.cs : guard against NULL gchandles. * gdk/Input.custom : add try/catch blocks to native callbacks. * gtk/*.custom : ditto * gtk/NodeStore.cs : ditto 2007-03-08 Mike Kestner * glib/*.cs : add try/catch blocks to native callback methods for DestroyNotify, Copy/Free, and ToggleNotify handlers. Raise UnhandledException events on catches. 2007-03-06 Mike Kestner * generator/Signal.cs : add try/catch blocks to native callback virtual method delegate too. 2007-03-06 Mike Kestner * generator/Signal.cs : add try/catch blocks to native callback delegates so that exceptions are not propagated across the native boundary. Now raises GLib.ExceptionManager.UnhandledException. * glib/ExceptionManager.cs : new class with UnhandledException event and a static method to raise it. * glib/Signal.cs : wrap the generic EventHandler callback delegate with try/catch blocks and raise the UnhandledException event. 2007-03-05 Mike Kestner * gtk/Application.custom : set prgname in Init methods so that WM_CLASS is more appropriate. Programs using Gnome.Program already get a nice prgname, but Gtk.Application.Init apps were getting a path instead of a filename without extension. 2007-03-01 Brad Taylor * gtk/Dialog.custom: obsolete old, improperly bound SetAlternateButtonOrderFromArray. * gtk/Gtk.metadata: fix binding of the gtk_dialog_set_alternate_button_order_from_array. [Fixes #80706] 2007-03-01 Mike Kestner * generator/MethodBody.cs : handle set method conversion to property for array parameters with preceding count params. 2007-02-21 Peter Johanson * gtk/glue/cellrenderer.c: revert to previous implementation of _base_ functions to maintain backward-stability. [Fixes #77949] 2007-02-16 Peter Johanson * gtk/CellRenderer*.custom: new custom overrides for VMs. * gtk/glue/cellrenderer.c: add GType parameters to the invoke methods so we can identify the correct vtable to invoke from. 2007-02-16 Mike Kestner * glib/Object.cs : switch to ToggleRefs for all items created with CreateNativeObject. This gets all managed subclasses, with a little overhang into simple wrappers. * glib/ToggleRef.cs : new class to manage the weak to strong ref transitions as a native object flips between shared and unshared ownership. * gtk/Object.custom : revamp of the Destroyed signal handling. * gtk/Gtk.metadata : hide destroy signal so we can deal with it manually. [Fixes the reopen note of #72018.] 2007-02-03 Mike Kestner * gtk/StatusIcon.custom : obsolete overload for backcompat on GetGeometry, and custom PresentMenu method to invoke new glue. * gtk/glue/statusicon.c : glue method to connect to gtk_menu_popup without having to go across the native/managed boundary multiple times using gtk_status_icon_position_menu wrapper. [Fixes #79500] 2007-02-02 Brad Taylor * gdk/Gdk.metadata: fix incorrect ref_count with Pixbuf's RotateSimple method. 2007-01-09 Mike Kestner * generator/CallbackGen.cs : add PersistUntilCalled method generation to the wrapper class. Holds a GCHandle for the wrapper which is Freed when the delegate is invoked. * generator/MethodBody.cs : add "async" case for delegate scope. Use this scope to identify a callback parameter that needs to persist until the native side calls back. Only valid for single-invoke callbacks. * gtk/Gtk.metadata : mark Print.RunPageSetupDialogAsync done_cb param with the new async scope. 2007-01-09 Mike Kestner * sample/GtkDemo/DemoPixbuf.cs : use Marshal.Copy properly to avoid expose crashes. Revised from patch provided by Fabian Sturm. [#78262] 2007-01-09 Mike Kestner * sample/GtkDemo/DemoIconView.cs : use Gtk.Stock icons to avoid crashes when the previous gnome icons aren't installed. [#78212] 2007-01-09 Bart Deleye * parser/gapi_pp.pl : regex fix for tinymail parse. 2007-01-09 Brad Taylor * gdk/Pixbuf.custom: Properly dispose of PixbufLoaders when we're done with them. 2006-12-28 Brad Taylor * sample/GtkDemo/Makefile.am: * sample/GtkDemo/DemoPrinting.cs: Fix build on Win32. 2006-08-21 Mike Kestner * bootstrap-2.10 : tag and bump version to 2.10.0. 2006-08-10 Mikkel Kruse Johnsen * sample/GtkDemo/DemoPrinting.cs : new Gtk.Print sample. * sample/GtkDemo/Makefile.am : build new source. 2006-08-10 Mike Kestner * pango/Pango.metadata : add library attr to pango_cairo methods. * pango/pango-sharp.dll.config.in : add libpangocairo mapping. 2006-08-10 Mike Kestner * pango/Pango.metadata : some pango_cairo fixup. * pango/pango-api-2.10.raw : regen with pangocairo.h API. * sources/gtk-sharp-2.10-sources.xml : don't exclude pangocairo.h. 2006-08-10 Mike Kestner * parser/gapi2xml.pl : class parsing regex needs to handle protected comments too. 2006-08-07 Mike Kestner * gtk/Gtk.metadata : remainder of new API massaging for existing types. * gtk/Printer.custom : new static method. * gtk/TextBuffer.custom : serialization API implementations. 2006-08-07 Mike Kestner * gtk/Gtk.metadata : mark an out param in Style.LookupColor. Some tweaks to duplicated label api. 2006-08-07 Mike Kestner * gtk/Gtk.metadata : markup for new Clipboard Rich text funcs. * gtk/Clipboard.custom : manually implement RequestRichText and WaitForRichText methods to deal with array marshaling and delegate persistence. 2006-08-04 Mike Kestner * gtk/Gtk.metadata : a few tweaks to the 2.10 API found in doc/ audit pass. 2006-08-04 Mike Kestner * gdk/Screen.custom : manually implement FontOptions property so we can use reflection to access the internal Mono.Cairo ctor. * gdk/Gdk.metadata : list marshaling, method-to-property renames, and some hides form manual implementation. Hide gdk_atom_intern_static_string wrapper since it is pointless outside the context of C code. 2006-08-03 Mike Kestner * pango/pango-api-2.10.raw : regen for 1.12.x * sources/Makefile.am : use pango-1.12.3 for parse * sources/gtk-sharp-2.10-sources.xml : ditto 2006-08-01 Mike Kestner * gtk/Gtk.metadata : fix a couple of compat breaks against 2.8. * gtk/TreeModelFilter.cs : hand implement ConvertChildIterToIter to match the 2.8 version of the method. 2006-08-01 Mike Kestner * gtk/gtk-api-2.10.raw : reparsed * parser/gapi_pp.pl : put a newline after G_DEFINE_TYPE macros on the output and do a next if we shouldn't fall out of the branch. 2006-07-29 Alp Toker * sample/GstPlayer.cs: Remove the 2002 GStreamer sample. gst-sharp has long since found a new home. 2006-07-28 Mike Kestner * *: huge amounts of surgery to split off gnome-sharp module. Clean out all the gnome related stuff from the auto* files. make distcheck works on the leaner-meaner gtk-sharp module. 2006-07-27 Mike Kestner * bootstrap*: kill the 2.4/2.6/2.8 straps, they are on a branch now. update 2.10 strap for new apis. * sources/Makefile.am : parse 2.16 sources for gnome libs. * sources/gtk-sharp-2.10-sources.xml : ditto. * parser/gapi-parser.cs : explicitly use an indented XML writer. * gnomevfs/gnome-vfs-api-2.16.raw: regen * gnomevfs/Gnomevfs.metadata: some build fixes * gnome/gnome-api-2.16.raw: regen * gnome/Gnome.metadata: some build fixes * sample/PrintSample.cs: remove new Gtk/Gnome ambiguities. 2006-07-27 Mike Kestner * gnome/PanelApplet.custom : hold UIVerbs in SetupMenu so the callback delegates don't get GC'd. 2006-07-15 Mike Kestner * parser/gapi2xml.pl : regex fix needed for vfs 2.15.3 parse. 2006-07-15 Mike Kestner * sources/gtk-sharp-2.10-sources.xml : update to gnome 2.15.4 sources for the 2.10 api build. * sources/Makefile.am : ditto. 2006-07-14 Mike Kestner * sources/gtk-sharp-2.10-sources.xml : update to gtk+-2.10.0 and pango-1.13.3 * sources/Makefile.am : ditto. * gtk/Gtk.metadata : some hides and renames to fix build. * gdk/gdk-api-2.10.raw : refresh. * gtk/gtk-api-2.10.raw : refresh. * pango/pango-api-2.10.raw : refresh. 2006-07-14 Mike Kestner * sample/gnomevfs/Makefile.am : build fix for !ENABLE_GNOMEVFS. 2006-06-21 Gonzalo Paniagua Javier * glade/HandlerNotFoundExeception.cs: * glade/XML.custom: provide a better error when the signature of a handler does not match the one of the event. 2006-05-10 Mike Kestner * bootstrap-2.10 : strap for the new 2.9.0 API. * generator/SymbolTable.cs : add GLib.InitiallyUnowned mapping. * glib/InitiallyUnowned.cs : new floating class "stub". * glib/Makefile.am : build new class. * gdk/gdk-api-2.10.raw: parse from 2.9.0 * gtk/Gtk.metadata: cleanup conflicts in 2.10 API. * gtk/gtk-api-2.10.raw: parse from 2.9.0 * pango/pango-api-2.10.raw: parse from 1.11.99 * sources/Makefile.am : 2.10 parse setup and api-2.10 * sources/gtk_tree_model_signal_fix-2.10.patch : 2.10 patch. * sources/gtk-sharp-2.10-sources.xml : parse rules for 2.10 2006-05-08 Joe Shaw * glib/ValueArray.cs: Don't immediately free ValueArrays; queue them up to be freed in the main thread by using a Timeout. This fixes SMP deadlocks when the GValues contained therein aren't threadsafe (like GDK resources). Fixes Novell bug #168650. 2006-05-04 Peter Johanson * gtk/glue/cellrenderer.c: Revert r59683, as it causes issues for overrides calling base.GetSize (), etc. 2006-05-03 Mike Kestner * gdk/Drawable.custom : remove manual DrawPoints impl. * gdk/Gdk.metadata : properly mark array and count params for Drawable.DrawPoints. 2006-05-02 Zac Bowling * docs/en/Gdk/Drawable.xml * gdk/Drawable.custom * gdk/Gdk.metadata : Fix Drawable.DrawPoints points param signature. 2006-04-20 Peter Johanson * gtk/glue/cellrenderer.c: Make GetSize, Render, etc behave correctly for all cases. Fixes #77949. 2006-04-15 Zac Bowling * README.generator : Updated with link to GAPI guide on Wiki 2006-03-27 Mike Kestner * gnomevfs/MimeType.cs : remove string from all pinvoke sigs. now adheres to the const/non-const conventions specified in the vfs headers. Fixes #77534. 2006-03-27 Mike Kestner * glib/ListBase.cs : deal with ownership of Opaque elements. * glib/Marshaller.cs : add a hack to deal with Opaque ownership in ListToArray marshaling. 2006-02-28 Mike Kestner * bootstrap-2.* : update for 2.x.2 releases. 2006-02-28 Mike Kestner * pango/Context.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/FontFamily.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/FontMap.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/Layout.custom : use ReadIntPtr (ptr, offset) for 64 bit. 2006-02-28 Mike Kestner * gdk/Region.custom : 64 bit fix for ptr arithmetic. [Fixes #77658] Tue Feb 28 09:44:23 CET 2006 Paolo Molaro * gdk/Pixbuf.custom: use correct type for buffer_size in gdk_pixbuf_save_to_bufferv() (fixes bug# 77662). 2006-02-16 Mike Kestner * sample/gnomevfs/Makefile.am : make TestXfer conditional to a mono build since it uses Mono.GetOptions. [Fixes #77497] 2006-02-03 Mike Kestner * sample/gnomevfs/TestVolume.cs : remove C# 2.0 usage. 2006-02-03 Mike Kestner * bootstrap-2.* : update for 2.x.1 releases. 2006-02-03 Mike Kestner * generator/Signal.cs : virtual method enum retvals must be case to Enum before casting to their ultimate type. Also dispose retval gvalues to avoid reference leaks. 2006-01-31 Mike Kestner * gnome/About.custom : fix some nullterm issues in subclass construction as reported on irc by latexer. 2006-01-31 Mike Kestner * gtk/Dialog.custom : null check a parent arg. [Fixes #77400] 2006-01-22 Mike Kestner * configure.in.in : work around broken vte that doesn't advertise its gtk+ dependency to pkg-config. [Fixes #77323] 2006-01-21 Mike Kestner * generator/SymbolTable.cs : alias off_t to ssize_t as it is signed according to harold. [Fixes #77016] 2006-01-21 Mike Kestner * gtk/RadioToolButton.custom : manually implement the GLib.List group ctors. [Fixes #76992] 2006-01-17 Mike Kestner * gnome/Canvas.custom : add a ctor (bool is_aa) using the construct-only prop. [Fixes #77017] 2006-01-17 Wade Berrier * Have vte-sharp only depend on gtk-sharp instead of gnome-sharp * sample/VteTest.cs: use gtk# calls instead of gnome# * vte/vte-sharp-2.0.pc.in: depend on gtk-sharp instead of gnome-sharp * configure.in.in: Allow vte to be build if gnome isn't going to be built [Fixes #77182] 2006-01-13 Mike Kestner * glib/Marshaller.cs : subtract utc_offset when marshaling to time_t. [Fixes #77244] 2006-01-12 Mike Kestner * sources/MethodBody.cs : use Utf8.GetByteCount for hidden len params. [Fixes #77097] 2006-01-11 Mike Kestner * bootstrap-2.8 : bump version to 2.8.0 2005-12-30 Alp Toker * Thread.cs: Add GLib.Thread.Supported, should be checked to avoid doing Thread.Init() twice (Mono runtime initialises GLib threads itself, MS runtime doesn't) * glue/thread.c: g_thread_supported() is a macro, so needs glue * glue/Makefile.am: * glue/makefile.win32: Update makefiles with new glue file. 2005-12-21 Lluis Sanchez Gual * generator/FieldBase.cs: Properly convert marshalled value to native value. * generator/CallbackGen.cs: Added parens to the result of ToNativeReturn, since it may have problems with the cast. 2005-12-16 John Luke * samples/CairoSample.cs: * samples/GtkCairo.cs: * samples/Makefile.am: update the cairo sample, fixes bug #76324 2005-12-16 Mike Kestner * gdk/PixbufLoader.custom (InitFromAssemblyResource): move stream access code outside the try block so only the Load is cleaned up with the finally block. Add some other arg checking. [Fixes #76997] 2005-12-13 Mike Kestner * sources/Makefile.am : move to stable gtk 2.8 versions. * sources/gtk-sharp-2.8-sources.xml : move to stable gtk 2.8 versions. * */*.raw : regenerate. * gdk/Gdk.metadata : hide a few gtk+ internal methods. * gtk/Gtk.metadata : hide a win32 internal enum. 2005-12-13 Mike Kestner * bootstrap-2.8 : bump version to 2.7.90. 2005-12-13 Mike Kestner * gconf/GConf/Makefile.am : add GAPI_CDECL_INSERT step. * gconf/GConf.PropertyEditors/Makefile.am : add GAPI_CDECL_INSERT step. 2005-12-13 Mike Kestner * configure.in.in : check for mono-cairo.pc. * Makefile.include : use AC_SUBST for cairo ref. * gdk/Gdk.metadata : s/Cairo.Graphics/Cairo.Context. 2005-12-12 Mike Kestner * gnomevfs/Gnomevfs.metadata : mark some const strings. [Fixes #76270] 2005-12-12 Mike Kestner * gdk/EventClient.cs : fix native long marshaling issue. Thanks to ed@catmur.co.uk for the bug report and investigation. [Fixes #76740] 2005-12-12 Itamar Rogel * NodeView.cs : add default ctor and NodeStore setter. [Fixes #76827] 2005-12-12 Mike Kestner * generator/Signal.cs : pass byte cnt for autogenerated string length parameters. Thanks to Itamar Rogel for the report and a candidate patch. [Fixes #76952] 2005-12-10 Mike Kestner * gtk/gtk-api-2.8.raw : regenerated. * gtk/IconView.custom : manually implement a new interface method. * parser/gapi_pp.pl : more general G_DEFINE_TYPE_WITH_CODE parsing implementation. [Fixes #76266] 2005-12-10 Mike Kestner * gdk/gdk-symbols.xml : add GrabBroken mapping. * gdk/Event.cs : add GrabBroken to GetEvent. * gdk/EventGrabBroken.cs : manual Event subclass. * gdk/Gdk.metadata : hide new GrabBroken event. * gdk/Makefile.am : add new source file. 2005-12-09 Mike Kestner * pango/Pango.metadata : 2.8 API tweaks * gdk/Gdk.metadata : 2.8 API tweaks * gtk/Gtk.metadata : 2.8 API tweaks * gtk/IconView.custom : overloads for the weird ScrollToPath. * gtk/Makefile.am : add custom 2005-11-19 Mike Kestner * generator/ManualGen.cs (CallByName): add null handling. [Fixes #76540] 2005-11-15 Ben Maurer * gdk/Rectangle.custom: Fix up Intersect using p/invoke, per miguel's request. 2005-11-10 Mike Kestner * bootstrap-2.6 - renamed from bootstrap * bootstrap-2.8 : renamed from bootstrap-for-the-insane, removed message of doom, require Gtk 2.8. Change version to 2.7.1. 2005-10-31 Wade Berrier * .pc and wrapper scripts: Use relative paths so gtk-sharp is relocatable 2005-10-19 Mike Kestner * gtk/TextBuffer.custom : add some obsolete overloads for backward compat with some not-completely-unusable 1.0.x methods. 2005-10-19 Gonzalo Paniagua Javier * glib/Object.cs: remove the fast path. It was causing troubles with MD. 2005-10-19 Mike Kestner * gnome/PrintContext.custom (SetFont): pass the font by handle, not ref. 2005-10-19 Mike Kestner * bootstrap : bump version for 2.6.0. * bootstrap-2.4 : bump version for 2.4.0. 2005-10-08 Miguel de Icaza * gtk/Application.cs (Invoke): Use Timeout instead of Idle add to trigger the event on the Gtk thread. 2005-10-09 Mike Kestner * Makefile.include : reference Mono.Cairo.dll. * gdk/Gdk.metadata : add cairo_t symbol element. 2005-10-09 Mike Kestner * configure.in.in : string quote the POLICY_VERSIONS. * Makefile.include : multiple policy fixes. * */Makefile.am : multiple policy fixes. 2005-10-08 Mike Kestner * generator/Signal.cs : handle enum return values GTypes. * gtk/TextBuffer.custom : mark Text prop !GTK_SHARP_2_8. [Fixes #75885] 2005-10-08 Ben Maurer * glade/XML.custom: Do not look at inherited custom attrs. Increases performance. * glib/SignalAttribute.cs: Add AttributeUsage attr to increase perf and compiler checking 2005-10-07 Gonzalo Paniagua Javier * glib/MainContext.cs: added a Depth property to p/invoke g_main_depth. * glib/Object.cs: (Dispose): immediately call g_object_unref without queueing when possible (MainContext.Depth > 0) and use Timeout.Add instead of Idle.Add to get our unref callback scheduled more reliably. 2005-10-05 Mike Kestner * bootstrap : bump version for beta3. * bootstrap-2.4 : bump version for beta3. 2005-09-27 Mike Kestner * glib/Opaque.cs : remove the Opaques hash. As f-spot demonstrated, we cannot rely on a pointer continuing to point at the same type in memory, since there is no destroy notification for most opaques. * glib/Value.cs : use more explicit GetOpaque overload. * gtk/Style.custom : use more explicit GetOpaque overload. 2005-09-24 Christian Hergert * vte/Vte.metadata: Fix Vte.Terminal.SetColors to reflect proper mapping to vte_terminal_set_colors. palette is now Gdk.Color[]. * sample/VteTest.cs: Update to work with fixed parameter. * doc/en/Vte/Terminal.xml: Update vte docs to reflect parameter fix. 2005-09-23 Mike Kestner * configure.in.in : expand glib-sharp-2.0.pc. * glib/glib-sharp-2.0.pc.in : new pc file template. * glib/Makefile.am : dist and install pc file. * gtk/gtk-sharp-2.0.pc.in : Require glib-sharp-2.0. 2005-09-21 Mike Kestner * bootstrap* : expose POLICY_VERSIONS variable. * configure.in.in : AC_SUBST new POLICY_VERSIONS. * Makefile.include : build/install policy assemblies. * policy.config.in : policy config skeleton. * */Makefile.am : ditto. 2005-09-19 Tambet Ingo * glib/Opaque.cs: Set owned property in any case. Generated code will set owned to false after unref. 2005-09-15 Mike Kestner * configure.in.in : make gtkhtml-3.8 check >= 3.8.0. [Fixes #76119] 2005-09-15 Mike Kestner * glade/Glade.metadata : mark Interface.toplevels private to allow manual implementation. * glade/Interface.custom : add manual impl for Toplevels and obsolete old toplevels impl. * glade/Makefile.am : add new custom. 2005-09-15 Mike Kestner * parser/gapi-fixup.cs : warn on unmatched rules. reworked from a Dan Winship patch. [Fixes #76088] 2005-09-08 Dan Winship * gtk/Gtk.metadata: Hide Gtk.Drag.SetIconDefault. Mark Gtk.TreeView.GetVisibleRect's arg as "out". * gtk/Drag.custom: gtk_drag_set_icon_default(ctx) should translate to Gtk.Drag.SetIconDefault(ctx), not Gtk.Drag.IconDefault = ctx. * gtk/TreeView.custom: add obsolete GetVisibleRect() 2005-09-07 Mike Kestner * bootstrap : bump version for beta2. * bootstrap-2.4 : bump version for beta2. 2005-09-07 Eric Butler * gtk/NodeStore.cs : Add Clear() method * doc/en/Gtk/NodeStore.xml : Add documentation for above method 2005-09-07 Mike Kestner * configure.in.in : check for monodoc sources dir and warn if we are configuring for a different prefix. * doc/Makefile.am : add install targets. 2005-09-06 Mike Kestner * gtk/NodeStore.cs : fix recursive emit of row_inserted. 2005-09-02 Tambet Ingo * glib/Object.cs: Clean disposed flag from resurrected objects. 2005-09-02 Miguel de Icaza * gtk/Application.cs (Invoke): Add new overloads to easily invoke methods on the executing thread. 2005-09-01 Miguel de Icaza * gtk/Application.cs (Invoke): Add sugar to invoke a method on the main thread. 2005-09-02 Ben Maurer * sample/NodeViewDemo.cs: take advantage of the stuff below * gtk/TreeNodeValueAttribute.cs: Allow on props * gtk/TreeNodeAttribute.cs: Obsolete column count * gtk/NodeStore.cs: Change this to not need the TreeNodeAttribute column count. Handle fields as well as properties. 2005-08-30 Mike Kestner * gdk/Event.cs : add some null guarding to GetEvent. [Fixes #75642] 2005-08-30 Mike Kestner * parser/gapi_pp.pl : ignore ifndef *_H_ lines like in 1.0.x. [Fixes #75938] 2005-08-30 Mike Kestner * gtk/NodeStore.custom : recursively emit row_inserted for AddNode. [Fixes #75853] 2005-08-29 Mike Kestner * gtk/Widget.custom : add overloads for Modify* without a Gdk.Color param to reset color to default. [Fixes #75913] 2005-08-28 Ben Maurer * configure.in.in: Enable doc building without mono-tools being built. * gtk/NodeSelection.cs: helper api 2005-08-27 Peter Williams * gnome/Program.custom: Use a GLib.Argv in PersistentData to store a handle to argv, so that the unmanaged strings aren't freed out from under popt. This allows the popt context to actually be used. 2005-08-26 John Luke * glib/Signal.cs: deal with obj.Handle == IntPtr.Zero to avoid assertions 2005-08-25 Mike Kestner * configure.in.in : move GACUTIL check forward ahead of a use. * Makefile.include : distcheck fixes * glib/Makefile.am : distcheck fixes * gtkdotnet/Makefile.am : distcheck fixes 2005-08-25 Mike Kestner * configure.in.in : add PLATFORM_WIN32 conditional. Borrow mono's libtool s/cyg// hack. Improve/relocate System.Drawing check. * Makefile.include : add gapi-cdecl-insert handling for win32. * glib/Makefile.am : add gapi-cdecl-insert handling for win32. * gtkdotnet/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/. * sample/DrawingSample.cs : remove C# 2.0-isms. * sample/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/. 2005-08-25 Mike Kestner * bootstrap : bump version to 2.5.90.99 * bootstrap-2.4 : bump version to 2.3.90.99 2005-08-25 Mike Kestner * sample/GtkDemo/DemoIconView.cs : remove C# 2.0-isms. * sample/opaquetest/OpaqueTest.cs : remove C# 2.0-isms. * sample/valuetest/ValueTest.cs : remove C# 2.0-isms. * sample/PolarFixed.cs : remove C# 2.0-isms. 2005-08-23 Ben Maurer * glib/Object.cs: Escape names and ensure stuff is unique. 2005-08-23 Joe Shaw * generator/SymbolTable.cs: Add "unsigned" as a type which maps to "uint". * parser/gapi2xml.pl: Handle "type const *" return types as well. I think this is all of them! 2005-08-23 Joe Shaw * parser/gapi2xml.pl: Fix a cut-and-paste error in handling "type const *" fields. 2005-08-23 Mike Kestner * parser/gapi2xml.pl : handle foo const * fields. * gnome/gnome-api-2.10.raw : regen. 2005-08-23 Mike Kestner * bootstrap-for-the-insane : restore the message of doom that was removed during the "bootstrap-generic" reorganization. 2005-08-22 Joe Shaw * parser/gapi2xml.pl: Fix a minor bug handling "type const *" parameters. 2005-08-22 Ben Maurer * gtk/TreeNode.cs: Add Interlocked.Increment rather than ++. This makes it safe to create tree nodes in a worker thread as long as you reparent them into the tree with another thread. Thanks to mk for allowing a bit of threadedness in :-). * gtk/NodeView.cs: Fix leak here. r=mkestner 2005-08-22 Mike Kestner * parser/gapi2xml.pl : handle "type const *" parameters. * gdk/gdk-api-2.8.raw : regened probably from one of danw's parser fixes. [Fixes #75844] 2005-08-22 Dan Winship * generator/Property.cs (Generate): Mark properties [Obsolete] if they or their accessors are marked deprecated. (Affects Gtk.Entry.Editable, Gtk.FontSelection.Font, Gtk.Notebook.*TabBorder, Gtk.Object.UserData, and a bunch of old Gtk.ProgressBar properties). * gtk/Gtk.metadata: Hide Entry.Editable. Mark Notebook.Homogeneous deprecated. * gtk/Entry.custom: Implement Editable property with an Obsolete pointing to IsEditable. 2005-08-22 Dan Winship * generator/CallbackGen.cs (Validate, MarshalType): if validation fails, set MarshalType to "" to propagate that failure into methods that have args of this type. [Fixes #75851] 2005-08-15 Peter Williams * bootstrap-generic: New script, handles bootstrapping stuff generically and saves bootstrap settings so we can regenerate configure.in from configure.in.in. * bootstrap * bootstrap-2.4 * bootstrap-for-the-insane: Modify to use bootstrap-generic * Makefile.am (configure.in): Add a rule to run bootstrap.status to regenerate configure.in if configure.in.in changes. 2005-08-15 Mike Kestner * bootstrap : update for 2.5.90 release. * bootstrap-2.4 : update for 2.3.90 release. 2005-08-15 Mike Kestner * gtk/glue/makefile.win32 : s/.c/.o typo. 2005-08-15 Mike Kestner * pango/makefile.win32 : process symbols file at fixup target. 2005-08-15 Mike Kestner * sample/opaquetest/Makefile.am : make clean fixes * sample/valtest/Makefile.am : make clean fixes 2005-08-15 Dan Winship * sample/opaquetest/Makefile.am (EXTRA_DIST): add missing files (generated/*.cs): fix for srcdir!=builddir * sample/valtest/Makefile.am (EXTRA_DIST): add missing files (Valobj.cs): fix for srcdir!=builddir 2005-08-15 Mike Kestner * glib/Object.cs : hold strong refs for managed subclasses and weakrefs for wrappers. * gtk/Object.custom : don't hold managed refs here, they are now held in GLib.Object. 2005-08-11 Dan Winship * parser/gapi2xml.pl (addFuncElems): if a struct or boxed type has a constructor or a ref, unref, or destroy method, then it must be a reference type, so mark it "opaque" but then also mark all of its fields public and writable. * */*-api*.raw: Regen * generator/Parser.cs (ParseNamespace): make the opaque attribute check actually look at the value of the attribute rather than just checking if it's there, so that you can change a struct's opaque attribute from "true" to "false" via metadata and have that work. * generator/BoxedGen.cs (Generate): do not generate the boxed's "Free" method (since it's guaranteed to crash when we pass it a stack pointer). If "Copy" is marked deprecated, create a deprecated no-op for it, otherwise just skip it (since otherwise it will just leak memory when we copy its result onto the stack). * pango/Pango.metadata: deprecate Pango.Color.Copy and Pango.Matrix.Copy. Hide some array fields in Pango.GlyphString that we've never generated correctly. Tweak Pango.LayoutLine fields to be the same as they used to be. * pango/GlyphItem.custom (glyphs, item): * pango/GlyphString.custom (Zero, New): * pango/Item.custom (Zero, New): * pango/LayoutRun.custom (glyphs, item): add deprecated API compat * gdk/Gdk.metadata: undo the parser's new opaquification of Gdk.Font; it's been deprecated since pre-gtk# times, and no one should be using it, so there's no point in fixing it now. Fix up a few other things to match how they used to be. Fix RgbCmap's constructor args. * gdk/RgbCmap.custom (Zero, New): deprecated API compat * gdk/PangoAttrEmbossed.custom: * gdk/PangoAttrStipple.custom (Zero, New, Attr): deprecated API compat (explicit operator ...): allow casting back and forth between Pango.Attribute. (We can't usefully make them real subclasses of Pango.Attribute, because there's no way for Pango.Attribute.GetAttribute() to be able to dtrt with them.) * gtk/Gtk.metadata: deprecate Gtk.Requisition.Copy, Gtk.TextIter.Copy, and Gtk.TreeIter.Copy. Mark the return value of TextView.DefaultAttributes as "owned". Mark TargetList's fields private so it stays how it used to be. * gtk/TextAttributes.custom (Zero, New): deprecated API compat * gnomevfs/Gnomevfs.metadata: remove a bunch of opaque declarations that the parser figures out on its own now. * art/Art.metadata: * glade/Glade.metadata: * rsvg/Rsvg.metadata: un-mark everything the parser marked opaque in these libraries, because all of the structs in question would still be unusably broken, so the API churn would be pointless. 2005-08-11 Dan Winship * generator/OpaqueGen.cs (Generate): * generator/StructBase.cs (Generate): Add the [Obsolete] attribute to deprecated structs/boxeds/opaques too. (Affects Gdk.Font, Gtk.Arg, Gtk.ItemFactoryEntry, Gnome.IconData, and [in 2.6] Gnome.Vfs.MimeAction) 2005-08-09 Dan Winship * configure.in.in: kill off all gda/gnomedb references. (Henceforth gda# and gnomedb# will be part of gda and gnomedb. Or maybe separate modules in Mono SVN. Not part of gtk-sharp though.) * Makefile.am (SUBDIRS): remove gda and gnomedb * gda/, gnomedb/: buh-bye * sources/Makefile.am: remove gda/gnomedb * sources/gda.patch, sources/gnomedb.patch: gone 2005-08-09 Dan Winship * generator/ClassBase.cs (Validate): Don't fully validate the parent class and interfaces (because we don't want to see the warnings about certain GtkWidget methods in every single library that defines a widget, etc). Instead, use the new ValidateForSubclass() method. (ValidateForSubclass): only validate the signals * generator/InterfaceGen.cs (ValidateForSubclass): for interfaces we need to validate the methods too. * generator/ObjectGen.cs (Generate): Check for interface method collisions against the class's own methods too, not just its other interfaces. Also, it's only a collision if the methods' signatures have the same types. * generator/Method.cs (GenerateDeclCommon): Strip "Get"/"Set" even in the context of "Gtk.TreeModel.GetNColumns" * generator/Signal.cs (GenDefaultHandlerDelegate): Use "{0}_managed" rather than "obj" for the internal variable name, to avoid compile problems with signals that have a parameter named "obj". * generator/SymbolTable.cs (MangleName): mangle "internal" to "_internal". * generator/CallbackGen.cs (GenWrapper): treat InterfaceGen return values the same as ObjectGen 2005-08-09 Dan Winship * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref a bit; only Ref the pointer if Owned is false (and then set it to true), and vice versa for Unref. * glib/Opaque.cs (Opaque): set owned before setting Raw, so that Raw will be reffed properly. (GetOpaque): Fix this up to dtrt in all cases with refcounted opaques. * gtk/TreeView.custom (GetPathAtPos): Use "GetOpaque(...)" rather than "new TreePath()" * sample/opaquetest/*: regression test for opaque free/ref/unref handling * sample/Makefile.am (SUBDIRS): add opaquetest * configure.in.in (AC_OUTPUT): add opaquetest files 2005-08-04 Dan Winship Change the way generatable validation works. Some generatable properties can't be set until Validate-time (eg, Method.IsGetter), but it's annoying for every potential user of those properties to have to make sure it has Validated the generatable first. So now we add an explicit Validate() step after everything is loaded but before anything is Generated, so that at Generation time, everything can be assumed to have been Validated. * generator/IGeneratable.cs: add "bool Validate()" * generator/CodeGenerator.cs (Main): after loading all of the generatables, DeAlias the SymbolTable, Validate() all the generatables, and discard any invalid ones. * generator/*.cs: Implement Validate() trivially in generatables that didn't implement it before. Move Validate() calls from Generate() to Validate(). Remove non-hierarchical Validate() calls. * generator/SymbolTable.cs: GPtrArray is IntPtr, not IntPtr[] 2005-08-04 Dan Winship * gtk/TargetList.custom: add an operator for casting to TargetEntry[], so you can use methods like TargetList.AddTextTargets() in situations where you need a TargetEntry[] rather than a TargetList. * gtk/glue/targetlist.c: glue for that 2005-08-04 Mike Kestner * generator/Ctor.cs : call Finish and HandleException for static ctor method bodies. [Fixes #75493] 2005-08-03 Mike Kestner * bootstrap : use gnome and vfs 2.10 api. * bootstrap-2.4 : use gnome and vfs 2.6 api. * bootstrap-for-the-insane : use gnome and vfs 2.10 api for now. * configure.in.in : substitute GNOME_REQUIRED_VERSION. * gnome/gnome-api.raw : rename to gnome-api-2.6.raw. * gnome/gnome-api-2.10.raw : new 2.10 parse. * gnomevfs/gnome-vfs-api.raw : rename to gnome-api-2.6.raw. * gnomevfs/gnome-vfs-api-2.10.raw : new 2.10 parse. * gnomevfs/Gnomevfs.metadata : mark MimeApplication opaque. * sources/Makefile.am : split gnome parse for 2.6/2.10. * sources/gtk-sharp-2.4-sources.xml : parse GNOME 2.6. * sources/gtk-sharp-2.6-sources.xml : parse GNOME 2.10. * sources/gtk-sharp-2.8-sources.xml : parse GNOME 2.10 for now. 2005-08-02 Dan Winship * generator/Property.cs (Generate): cast GLib.Values to System.Enum before casting them to an enum type, to fix the build with csc 1.1. 2005-07-29 Dan Winship Automatic memory management for opaque types [#49565] * glib/Opaque.cs (Owned): new property saying whether or not gtk# owns the memory. (Opaque): Set Owned to true in the void ctor and false in the IntPtr one. (GetOpaque): add a new overload that can also create opaques, a la GLib.Object.GetObject. (Ref, Unref, Free): empty virtual methods to be overridden by subclasses. (set_Raw): Unref() and possibly Free() the old value, Ref() the new one. (~Opaque, Dispose): set Raw to IntPtr.Zero (triggering Free/Unref if needed) * parser/gapi2xml.pl (addReturnElem): if the method is named Copy and returns a pointer, set the "owned" attribute on the return-type. * */*-api.raw: Regen * generator/HandleBase.cs (FromNative): Add new FromNative/FromNativeReturn overloads that takes a "bool owned" param. Implement the 1-arg FromNative and FromNativeReturn in terms of that. * generator/ObjectBase.cs (FromNative): Implement HandleBase's new overload. Use the two-arg version of GLib.Object.GetObject when "owned" is true. * generator/OpaqueGen.cs (Generate): Pull out Ref, Unref, and Free/Destroy/Dispose methods and handle them specially by overriding Opaque.Ref, .Unref, and .Free appropriately. (If any of the methods are marked deprecated, output a deprecated do-nothing method as well, to save us from having to write all those deprecated methods by hand.) (FromNative): use GetOpaque, passing "owned". * generator/ReturnValue.cs (FromNative): if the value is a HandleBase, pass Owned to its FromNative(). * generator/Parameters.cs (Owned): new property (for use on out params) (FromNative): Call FromNative() on the generatable, handling Owned in the case of HandleBase. * generator/ManagedCallString.cs: * generator/MethodBody.cs: * generator/Signal.cs: use param.FromNative() rather than param.Generatable.FromNative(), to get ownership right. * */*.metadata: Mark opaque ref/unref/free methods deprecated (except where we were hiding them before). Add "owned" attributes to return values and out params as needed. * pango/AttrIterator.custom (GetFont): work around a memory-management oddity of the underlying method. * pango/AttrFontDesc.cs (AttrFontDesc): copy the passed-in FontDescriptor, since the attribute will assume ownership of it. * gtk/TreeView.custom (GetPathAtPos): set the "owned" flag on the returned TreePaths. * gtk/TargetList.custom: Remove refcounting stuff, which is now handled automatically * gtk/NodeStore.cs (GetPath): clear the Owned flag on the created TreePath so that the underlying structure doesn't get freed when the function returns * gtkhtml/HTMLStream.custom (Destroy): hide this and then reimplement it by hand to keep OpaqueGen from using it in Dispose(), since calling it after an HTMLStream.Close() will result in a crash. 2005-08-01 Todd Berman * gtk/Gtk.metadata: Change the Gtk.Style.Paint* methods to use a Gdk.Drawable instead of a Gdk.Window * doc/en/Gtk/Style.xml: Update the documentation for the above change. 2005-07-28 Mike Kestner * bootstrap-for-the-insane : beginnings of 2.8 binding. * */*-api-2.8.raw : 2.8 api files. * gdk/Gdk.metadata : work around #define used in Pixbuf props in 2.7. * parser/gapi2xml.pl : collision guarding for privatestruct defs. * sources/gtk-sharp-2.8-sources.xml : parse for 2.8. * sources/Makefile.am : api-2.8, get-2.8-sources, etc... 2005-07-28 Dan Winship * sources/gtk-sharp-2.4-sources.xml: * sources/gtk-sharp-2.6-sources.xml: exclude a bunch of gnome-print stuff that is not part of gnome-print's public API. * gnome/gnome-api.raw: regen * gnome/Gnome.metadata: remove some no-longer-needed metadata * gnome/GPFontEntry.custom: * gnome/GPPath.custom: no longer needed * gnome/FontFamily.cs: moved from FontFamily.custom, since there's no longer any non-custom portion of this. 2005-07-27 Dan Winship * gtk/ComboBoxEntry.custom: add an "Entry" property to cleanly fetch the ComboBoxEntry's Gtk.Entry 2005-07-27 Dan Winship * parser/gapi2xml.pl (addParamsElem): deal with G_CONST_RETURN in params... some functions use that to mark const "out" params. In fact, let's use it as a hint to mark them pass_as="out" too... * pango/pango-api-2.4.raw: * pango/pango-api-2.6.raw: * gtk/gtk-api-2.6.raw: Regen, fixing pango_script_iter_get_range and gtk_image_get_icon_name. * pango/Pango.metadata: * pango/ScriptIter.cs: Alas, exposing GetRange makes it clear that PangoScriptIter is really weird and we weren't wrapping it correctly before anyway, so mark the whole thing hidden and wrap it by hand. 2005-07-25 Mike Kestner * gnome/Gnome.metadata : mark IconList.GetIconFilename retval const. [Fixes #75530] 2005-07-21 Dan Winship * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject constructors and casts. Add a new Enum cast. (Val): Handle Pointer values. Change the handling of Enum/Flags values to return the value directly rather than returning an EnumWrapper. Remove the Char (ie, "byte") handling since there aren't any char properties in all of gtk-sharp and the generator mistakenly converts them to strings anyway. * glib/EnumWrapper.cs: * glib/UnwrappedObject.cs: Mark these Obsolete. * glib/glue/type.c (gtksharp_get_parent_type, gtksharp_get_type_name_for_id): * glib/glue/value.c (gtksharp_value_get_value_type): Remove some unneeded glue methods. * generator/Ctor.cs (Generate): * generator/Property.cs (Generate): Simplify the enum and object property glue to not use EnumWrapper or UnwrappedObject. * sample/valtest/*: a regression test for GLib.Value * configure.in.in: add sample/valtest 2005-07-21 Dan Winship * parser/gapi2xml.pl (parseInitFunc): handle interface properties as well as class properties * gtk/gtk-api-2.4.raw: * gtk/gtk-api-2.6.raw: Regen (adding properties to GtkFileChooser). * generator/Property.cs (GenerateDecl): new method to generate just a property declaration (for an interface). (Generate): Add an "implementor" arg as with Method.Generate. * generator/InterfaceGen.cs (Generate): Generate properties. Also, validate methods *before* checking if they should be ignored, since certain Method properties aren't set until Validate-time. * generator/*.cs: misc minor changes/reorg for the above. 2005-07-19 Todd Berman * gtk/TreeSelection.custom: Add an overload for GetSelected to remove the need to always pass in that damn TreeModel. * doc/en/Gtk/TreeSelection.xml: Add documentation for the new overload. 2005-07-19 Dan Winship * parser/gapi2xml.pl (addParamsElem): change the handling of anonymous function pointer types in method signatures. Before, we added a child to the node, but the generator just ignored it. Now we add the callback (with a made-up name) to the toplevel node, and add an ordinary node referencing it to the node. Also, if the last param of the callback is a gpointer, rename it from "arg#" to "data" so it will be treated correctly (as the user data passed from the calling method). [Fixes #66241] * art/art-api.raw: * gdk/gdk-api-2.4.raw: * gdk/gdk-api-2.6.raw: Regen * generator/Parameters.cs (IsHidden): loosen the definition of hideable user_data; it doesn't have to occur at the end of the parameter list, as long as there's a callback arg before it. * generator/MethodBody.cs (GetCallString): Use Parameters.IsHidden to decide whether or not to squash user_data params, rather than trying to duplicate its logic. As a side effect, this also causes a handful of methods that take non-hidden IntPtr arguments to start actually passing those arguments to C rather than always passing IntPtr.Zero. * generator/Method.cs (Equals, GetHashCode): Remove unnecessary and possibly erroneous hashing overrides. * gtk/Gtk.metadata: Hide Gtk.Container.ForeachFull, since it's useless and wasn't in gtk# 1.0 * gtk/Menu.custom (Popup): * gtk/TextIter.custom (ForwardFindChar, BackwardFindChar): * gnome/App.custom (CreateMenusInterp, InsertMenusInterp, CreateToolbarInterp): * gnome/Client.custom (RequestInteractionInterp): * gnome/Popup.custom (MenuDoPopupModal, MenuDoPopup): Add [Obsolete] compat overloads for methods that have now lost a useless IntPtr. 2005-07-19 Dan Winship * generator/Parameters.cs: Remove the AllowComplexRefs flag. (They're always allowed now.) * generator/Signal.cs (GenVirtualMethod): Fix up the use of CSType vs MarshalType in the ref/out-handling code so that this can marshal any type. 2005-07-18 Dan Winship * parser/gapi2xml.pl: Change a few instances of "last if ($line =~ /^}/);" to "last if ($line =~ /^(deprecated)?}/);" to prevent runaway parsing (in particular in libgnomeui). * sources/gtk-sharp-2.4-sources.xml: * sources/gtk-sharp-2.6-sources.xml: exclude a handful of libgnomeui files that were omitted in gtk# 1.0 due to the parser bug, but which are entirely deprecated anyway. (Some of them showed up in earlier 1.9/2.4/2.6 releases but are going away again now.) * gnome/gnome-api.raw: Regen * gnome/Gnome.metadata: Hide a few more things that should be hidden, remove a few rules that aren't needed any more. Keeping hiding GnomeIconTheme though and using the old by-hand IconTheme for the moment, since the by-hand one isn't compatible with the autogenerated one. * gnome/IconData.cs: kill this, use the autogenerated version 2005-07-13 Dan Winship * sources/gtk-sharp-2.4-sources.xml: * sources/gtk-sharp-2.6-sources.xml: remove some gnome-vfs files: gnome-vfs-method and gnome-vfs-transform, because they're internal/part of the module API, and gnome-vfs-file-size.h, because it's generated and shouldn't be in the source tarball (and we don't parse it right anyway). * gnomevfs/gnome-vfs-api.raw: Regen * gnomevfs/gnomevfs-symbols.xml: add GnomeVFSFileOffset * gnomevfs/Gnomevfs.metadata: remove a whole bunch of callback types that are only used from methods and structs that we hide. 2005-07-08 Mike Kestner * */*.raw : regen. * parser/gapi2xml.pl : access comment doesn't have to start at beginning of line. 2005-07-08 Mike Kestner * pango/*.raw : regen. * sources/gtk-sharp-2.4-sources.xml : exclude some xft and fc files. * sources/gtk-sharp-2.6-sources.xml : exclude some xft and fc files. 2005-07-07 Dan Winship * gnome/Gnome.metadata: opaquify ModuleInfo and hide the types that are only used inside ModuleInfo, so we don't marshal the function pointers into (incorrect) delegates. * gnome/Modules.cs: * gnome/Program.custom: update for ModuleInfo being a class rather than a struct now 2005-07-02 Mike Kestner * generator/StructField.cs : fix name exception throw conditional. 2005-07-02 Mike Kestner * generator/CallbackGen.cs : implement new IAccessor iface so that callback fields on structs can now be accessed. * generator/ClassBase.cs : remove/abstract some methods incorrectly located here. * generator/ClassGen.cs : implement methods previously inherited from ClassBase incorrectly. * generator/HandleBase.cs : new base class for native ptr wrappers. Implements new IAccessor interface and code moved from ClassBase. * generator/IAccessor.cs : new iface to generate field/prop accessors. * generator/InterfaceGen.cs : derive from new ObjectBase. * generator/LPGen.cs : implement IAccessor. * generator/LPUGen.cs : implement IAccessor. * generator/ObjectBase.cs : new base class for Object/Iface types. * generator/ObjectGen.cs : derive from new ObjectBase. * generator/OpaqueGen.cs : derive from HandleBase. * generator/StructField.cs : refactor Generate method using new IAccessor interface. * */*.custom : add obsolete impls for some existing c_cased struct field accessors that are now StudlyNamed. 2005-07-02 Mike Kestner * generator/CallbackGen.cs : remove an old workaround that put the native wrapper class into the implementor's *Sharp namespace. Use new ImportSignature sig. * generator/ImportSignature.cs : don't mangle the callback wrapper namespace any more. Remove impl_ns ctor param and field. * generator/MethodBase.cs : use new MethodBody and ImportSignature ctor sigs. * generator/MethodBody.cs : drop the impl_ns ctor param. * generator/Signal.cs : use new ImportSignature ctor sig. * generator/VirtualMethod.cs : use new ImportSignature ctor sig. 2005-07-01 Mike Kestner * generator/Parameters.cs : init allow_complex_refs to true to fix build. 2005-06-30 Dan Winship * generator/Parameters.cs (AllowComplexRefs): new property for whether or not to allow "complex" ref/out args. (Validate): update for that * generator/Signal.cs: set AllowComplexRefs false on the params. (Validate): fix the messages (GenCallback, GenEventHandler): properly handle ref/out args, by manually pointerifying them (except for boxed args, which are already pointers). * glib/Marshaller.cs (StructureToPtrAlloc): Rename from PtrToStructureAlloc, since it wraps Marshal.StructureToPtr. 2005-06-28 Mike Kestner * gtk/ComboBox.custom : add ctor (string[]). * gtk/ComboBoxEntry.custom : add ctor (string[]). * sample/test/TestComboBox.cs : simple new ComboBox tester. * sample/test/WidgetViewer.cs : button for simple new ComboBox tester. 2005-06-27 Mike Kestner * gnome/CanvasBpath.custom : a BPath property to wrap the ugly Bpath IntPtr prop. [Fixes #75381] 2005-06-24 Mike Kestner * atk/Atk.metadata : couple of small api cleanups. 2005-06-24 Mike Kestner * gtk/Gtk.metadata : remove the one reference to FileChooserEmbed. * gtk/gtk-api-2.*.raw : regen. * sources/gtk-sharp-2.*-sources.xml : exclude FileChooserEmbed files. 2005-06-23 Mike Kestner * generator/ReturnValue.cs : support owned and elements_owned for lists. * glib/List.cs : add ctor overloads for memory mgmt. * glib/ListBase.cs : add ctor overloads for memory mgmt. Dispose elements if specified. * glib/SList.cs : add ctor overloads for memory mgmt. * gnome/Gnome.metadata : unhide and generate a List prop. * gnomevfs/Gnomevfs.metadata : unhide and generate a List prop. * gtk/FileChooser.custom : new. add hidden props. * gtk/FileChooserButton.custom : new. impl hidden props. * gtk/FileChooserDialog.custom : remove some List props and use the GLib.Marshaller for the remaining ones.. * gtk/FileChooserWidget.custom : remove some List props and use the GLib.Marshaller for the remaining ones.. * gtk/Gtk.metadata : unhide and let the generator do some List props. 2005-06-23 Mike Kestner * gconf/GConf/Client.cs : support add/remove of a single notify handle to multiple directories. [Fixes #55877] 2005-06-22 Mike Kestner * sample/GladeTest.cs : add a menu item signal connect to test for the problem described in bug#74946. * sample/test.glade : add menubar. 2005-06-22 Mike Kestner * sample/GtkDemo/DemoHyperText.cs : replace PersistentData usage that breaks on csc. * sample/GtkDemo/DemoTreeStore.cs : fix a 2.0 usage. 2005-06-22 Mike Kestner * generator/ManagedCallString.cs : don't assume ref for structs. * generator/VMSignature.cs : don't assume ref for structs. 2005-06-21 Mike Kestner * generator/ConstStringGen.cs : override ToNativeReturn (). * generator/ClassBase.cs : use fully qualified interface names for conflicting implementations. 2005-06-20 Mike Kestner * parser/gapi2xml.pl : fix const foo * const * fields/params. [Fixes #75266] 2005-06-17 Mike Kestner * Makefile.include : add included apis as deps on the generation target to force regen if dependency lib api changes. * pango/Analysis.custom : new custom to implement the ExtraAttrs property. [Fixes #74668] * pango/Makefile.am : add new custom file. 2005-06-17 Mike Kestner * bootstrap : use assembly version 2.6.0.0. * bootstrap-2.4 : use assembly version 2.4.0.0. * configure.in.in : substitute the assembly version. 2005-06-14 Mike Kestner * gtk/Gtk.metadata : add nodes for all the *Set props on TextTag. [Fixes #75219] 2005-06-10 Dan Winship * parser/gapi2xml.pl (addPropElem): Distinguish CONSTRUCT ("must be set at construct time") and CONSTRUCT_ONLY ("can only be set at construct time") properties, rather than marking them all "construct-only". * gnome/gnome-api.raw: * gtk/gtk-api-2.4.raw: * gtk/gtk-api-2.6.raw: Regen, causing a few formerly-read-only properties to become writable. 2005-06-10 Mike Kestner * glade/XML.custom : add a try block on field autoconnect to make it easier to catch type mismatches and such. Suggestion from Gonzalito. 2005-06-09 Lluis Sanchez * glib/Marshaller.cs: Added null check in FilenamePtrToString. 2005-06-08 Mike Kestner * generator/SimpleBase.cs : off-by-one in namespace join. * glib/ListBase.cs : support IntPtr element_type. * gnomevfs/FileInfo.cs : make it ManualGen friendly. * gnomevfs/*.cs : rework for FileInfo api changes. * gnomevfs/Gnomevfs.metadata : make FileInfo a manual symbol. * gnomevfs/Uri.custom : rework for FileInfo api changes. * gnome/Makefile.am : add gnomevfs dependency to pick up some more api symbols. * gnome/gnome-sharp-2.0.pc.in : advertise the vfs dep. [Fixes #71060] 2005-06-08 Mike Kestner * generator/ReturnValue.cs : don't write a sem in FromNative. * glib/ListBase.cs : handle GLib.Object explicit element types. * glib/Marshaler.cs : only copy lists if Count > 0. * gtk/Gtk.metadata : unhide Window.ListToplevels with a proper element type for automatic list to array marshaling. * gtk/Window.custom : kill manual ListToplevels impl. 2005-06-08 Mike Kestner * generator/ReturnValue.cs : improved list to array marshaling. * glib/Marshaller.cs : added ListToArray (). * gnomevfs/Gnomevfs.metadata : mark element_type on Mime.GetAllApplications. [Fixes #71888] 2005-06-06 Mike Kestner * generator/ImportSignature.cs : fix native delegate namespacing hack. * gnomevfs/gnome-vfs-api.raw : regen. * gnomevfs/Gnomevfs.metadata : replace all the type renames with a namespace rename. remove-node several manually implemented callback types and broken generated types for now. * gnomevfs/Async.cs : use Opaque.Handle. * gnomevfs/Handle.cs : kill. replaced by generated GLib.Opaque type. * gnomevfs/Makefile.am : kill Handle.cs. * gnomevfs/Sync.cs : use Opaque.Handle. * sources/gtk-sharp-2.6-sources.xml : s/Gnome.Vfs/GnomeVFS. 2005-06-06 Mike Kestner * Makefile.include : depend on gapi-fixup.exe for the api target. * parser/gapi-fixup.cs : remove-node rule handling. 2005-06-06 Dan Winship * sample/GtkDemo/DemoRotatedText.cs (RotatedTextExposeEvent): Use Gdk.PangoRenderer.GetDefault() like the C gtk-demo rather than creating a new Gdk.PangoRenderer. [Fixes #74865] * gdk/Gdk.metadata: fix return type of Gdk.PangoRenderer.GetDefault * glib/GType.cs (cctor): call g_type_init(). (Avoids debug spew when monodocer updates doc/en/GLib/GType.xml.) 2005-06-02 Mike Kestner * gtk/gtk-api-2.6.raw : regen. * parser/gapi_pp.pl : add G_DEFINE_TYPE_WITH_CODE handling. * parser/gapi2xml.pl : add G_DEFINE_TYPE_WITH_CODE parsing. [Fixes #74833] 2005-06-02 Mike Kestner * glib/ListBase.cs : add a nested class to support filename encoded string element marshaling. * gtk/Gtk.metadata : mark the filenames and folders as filename encoded. * gtk/FileChooserDialog.custom : use new ListBase.FilenameString type for list element type of filenames and folders. * gtk/FileChooserWidget.custom : use new ListBase.FilenameString type for list element type of filenames and folders. [Fixes #72701] 2005-06-02 Mike Kestner * generator/ConstFilenameGen.cs : new generatable for filename encoded const string marshaling * generator/Makefile.am : add new file * generator/SymbolTable.cs : add new gfilename types. * glib/Marshaller.cs : add new filename-encoded string marshalers. * gtk/FileSelection.custom : use FilenamePtrToString to marshal. * gtk/Gtk.metadata : map the FileSelector filename types to my new imaginary gfilename type. [Fixes #74963] 2005-06-02 Mike Kestner * gtk/Object.custom : only connect to Destroyed for managed subclasses and let the wrappers get disposed by the GC. 2005-06-01 Mike Kestner * glib/Value.cs : handle enum/flags types in Val. [Fixes #75112] 2005-06-01 Dan Winship * glib/Value.cs: Add a constructor and an explicit cast for string[] (using a G_TYPE_STRV boxed value). * generator/SymbolTable.cs (SymbolTable): Map GStrv to string[]. (The mapping relies on the above GLib.Value magic, so it only works correctly for properties, but that's ok, because GStrv isn't a real type anyway and only shows up in the api files for G_TYPE_STRV properties.) Makes the Gtk.AboutDialog Artists, Authors, and Documenters properties show up. * gtk/Gtk.metadata: hide AboutDialog.Get/SetArtists/Authors/Documenters, which can't be used to implement the Artists/Authors/Documenters properties, because the generated code doesn't know to NULL-terminate the arrays. 2005-05-31 Mike Kestner * glib/Object.cs : rework the weakref release mechanism to avoid a couple "resurrection" issues. 2005-05-25 Mike Kestner * configure.in.in : remove crosspkgdir arg that causes trouble with newer pkgconfigs. 2005-05-24 Dan Winship * parser/gapi2xml.pl: Make the enum value parser do the right thing with parenthesized values ("FOO = (1 << 2)") and within-type aliases ("GTK_ANCHOR_N = GTK_ANCHOR_NORTH"). Make it intentionally do the wrong thing with unparsable values (outputting them as-is into the api file) so that we are forced to fix them with metadata rather than silently getting incorrect values. * gdk/gdk-api-2.4.raw: * gdk/gdk-api-2.6.raw (PixdataType): Now recognized as flags, not enum * gtk/Gtk.metadata: hide the enums ArgFlags and RcTokenType (which are not used by any wrapped API, and which formerly contained entirely wrong values). * gtk/gtk-api-2.4.raw: * gtk/gtk-api-2.6.raw (AnchorType, SelectionMode): update with values for aliases * gnome/Gnome.metadata: fix value of Gnome.PrintButtons.Cancel * gnome/gnome-api.raw (PrintUnitBase, PaperSelectorFlags, PrintDialogFlags, PrintDialogRangeFlags): Now recognized as flags, with values. 2005-05-24 John Luke * configure.in.in: remove doc/updater/Makefile to fix build 2005-05-23 Mike Kestner * configure.in.in : add monodocer-fu. 2005-05-21 Mike Kestner * audit : add a compatibility auditing framework. * audit/base/*.apiinfo : initial checkin of 1.0.10 API for diffs. * audit/extract-missing.cs : XPath tool to grab presence='missing'. * audit/get-apidiff.pl : diffs api-infos to the base. * audit/get-apiinfo.pl : drives a module-wide api-info extraction. * audit/get-missing.pl : drives the extract-missing.exe tool. * audit/makefile : all and check targets. no dist support. * audit/mono-api-info.cs: copied from mcs/tools/corcompare. * audit/mono-api-diff.cs: copied from mcs/tools/corcompare. 2005-05-17 Jordi Mas i Hernandez * gnome/About.custom: fixes exception when passing null argument 2005-05-16 Mike Kestner * makefile.win32 : remove 1.0 csc, default to 1.1. * gtk/TreeEnumerator.cs : remove C# 2.0 usage. * gtk/glue/makefile.win32 : remove duplicated cellrenderer.o. * vte/glue/Makefile.am : use VTE_DEPENDENCIES_CFLAGS. * */makefile.win32 : add glue args to generation target. 2005-05-16 Mike Kestner * configure.in.in : expand new vte glue makefile. * vte/glue/Makefile.am : add GTK_CFLAGS to fix build. Remove win32 dist files. 2005-05-16 Dan Winship * generator/StructBase.cs: update field-generation logic a bit * generator/CodeGenerator.cs: add a --glue-includes flag * generator/GenerationInfo.cs: Accept glue_includes value from Main and output it to the glue_filename. * generator/FieldBase.cs (Ignored): handle more ignorable cases. (CheckGlue): New method to figure out what kind of glue we'll need for a field. (GenerateImports): generate appropriate imports per CheckGlue. (GenerateGlue): Generate C glue for accessing a struct field; either a fully-C-based accessor, or a method to just return the field's offset in the struct. (Generate): Use the generated glue to read the field. * generator/PropertyBase.cs (CType): if the field is a single bit, set its type to gboolean. * generator/ObjectGen.cs (Generate): * generator/OpaqueGen.cs (Generate): Call GenFields. * generator/StructField.cs: Use FieldBase's glue-generation code to handle bitfields. [#54489] * generator/ObjectField.cs: Generates accessors for public fields of objects and opaque structs. [#69514] * generator/ClassBase.cs (ClassBase): Parse nodes and create ObjectField objects. (GenFields): Output field properties (IgnoreMethod): Ignore Get/Set methods that duplicate fields * generator/Makefile.am (sources): update * {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as public. Rename/retype some fields for consistency with earlier hand-coded bindings. * {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can now be autogenerated. * {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now be autogenerated * {gdk,glade,gnome,gtk,pango,vte}/Makefile.am * {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am * {gdk,gnome,gtk,pango}/glue/makefile.win32: Update 2005-05-15 Ben Maurer * bootstrap (GTK_SHARP_VERSION): Bump so that Todd's md tarballs work. Not yet tagged... 2005-05-13 Mike Kestner * gtk/Object.custom : hold refs for all managed subclasses. Release on Destroy. Dispose plain wrappers on Destroy also. * gtk/Widget.custom : remove the parent set hack since it's "handled" on Gtk.Object now. All this will get fixed properly when we have access to owen's toggle_refs. 2005-05-13 Mike Kestner * generator/MethodBody.cs : don't create a new destroy notify delegate, just use GLib.DestroyHelper.NotifyHandler directly. 2005-05-11 Mike Kestner * glib/Object.cs : mark Dispose virtual. * gtk/Object.cs : release the Destroy handler in Dispose. 2005-05-11 Mike Kestner * configure.in.in : s/-g/-debug 2005-05-11 Mike Kestner * gtk/Gtk.metadata : hide IconTheme.GetIconSizes. * gtk/IconTheme.custom : implement GetIconSizes because of its zero terminated array return value. 2.6 only. [Fixes #74844] 2005-05-11 Mike Kestner * pango/Makefile.am : add file. * pango/Units.cs : new class to wrap PANGO_SCALE and PANGO_PIXELS. * pango/glue/units.c : accessors for the macros. * pango/glue/Makefile.am : build it. * pango/glue/makefile.win32 : build it on win. [Fixes #74837] 2005-05-11 Eric Butler * gtk/Gtk.metadata : add IEnumerable iface to ListStore. * gtk/ListStore.cs : add GetEnumerator. * gtk/Makefile.am : add file. * gtk/TreeEnumerator.cs : root node enumerator for a TreeModel. 2005-05-11 Mike Kestner * gtk/Widget.custom : manual ListMnemonicLabels implementation to return a Widget[]. [Fixes #74786] 2005-05-11 Mike Kestner * generator/ObjectGen.cs : default empty assembly names for the mapper. [Fixes #74769] 2005-05-10 Mike Kestner * gtk/Object.custom : Dispose on a Destroyed event. * gtk/Widget.custom : rework the parent_set hack to go direct to the native signal instead of using the event so we avoid rewrapping of already destroyed parents. 2005-05-10 Mike Kestner * gdk/Pixbuf.custom : use non-obsolete PixbufLoader.Write overload. * gdk/PixbufLoader.custom : add obsolete PixbufLoader.Write overload for the uint case for backcompat. Update other uses to the new ulong overload. * sample/GtkDemo/DemoImage.cs : use PixbufLoader.Write (byte[]) overload. 2005-05-09 Mike Kestner * glib/Object.cs : add a try/catch block to g_object_unref calls to help identify "extra unref" bugs when exceptions occur. 2005-05-06 John Luke * pango/Makefile.am: add Matrix.custom * pango/Matrix.custom: add Pango.Matrix.Identity field which is the equivalent of PANGO_MATRIX_INIT * sample/GtkDemo/DemoRotatedText.cs: use Pango.Matrix.Identity * doc/en/Pango/Matrix.xml: add docs for Pango.Matrix.Identity 2005-05-06 Mike Kestner * configure.in.in : always enable debug build in maintainer_mode. 2005-05-06 Mike Kestner * gdk/Pixbuf.custom : move the GetCallingAssembly invocations back out the the public methods. * gdk/PixbufLoader.custom : ditto. 2005-05-06 Mike Kestner * bootstrap : * bootstrap-2.4 : use ln instead of cp for api files so reparsing causes rebuilds. * sources/gtk-sharp-2.6-sources.xml : moved from gtk-sharp-sources.xml plus fixed the pango, atk, and gdk raw filenames. * sources/gtk-sharp-2.4-sources.xml : sources file for 2.4 api. * sources/Makefile.am : added 2.4/2.6 targets for api and get-source with make api/get-source-code getting/parsing both versions. * */*.raw : regenerate 2005-05-06 Jose Faria * gdk/Pixbuf.custom : new width/height ctor overloads. * gdk/PixbufLoader.custom : new width/height ctor overloads. 2005-05-04 Mike Kestner * autogen.sh : error out with bootstrap help message. * bootstrap : replaces autogen.sh for the 2.5.x release line. * bootstrap-2.4 : replaces autogen.sh for the 1.9.x release line. * configure.in.in : renamed from configure.in and added substitution for version, dependencies, CFLAGS and CSFLAGS. * README : bootstrap docs * */*-api.raw : moved to api-2.6.raw for bootstrapping. * */*-api-2.4.raw : added 2.4 api files for bootstrapping. * */glue/Makefile.am : add GTK_SHARP_VERSION_CFLAGS. * pango/Attribute.cs : add a #if GTK_SHARP_2_6 block. * pango/glue/attribute.c : add a couple #ifdef GTK_SHARP_2_6 blocks. * sample/GtkDemo/* : make the 2.6 demos conditional. 2005-05-04 Mike Kestner * glib/Signal.cs : s/DestroyNotify/SignalDestroyNotify to fix mcs 1.0 compilation. * gdk/Input.custom : ditto. 2005-05-04 Todd Berman * glade/XML.custom: Store the callback wrapper so it doesn't get GC'd. 2005-05-04 Dan Winship * parser/gapi2xml.pl: make note of _get_type methods for enums * */*-api.xml: Regen, adding gtype="..." to many enum types * generator/EnumGen.cs (Generate): if the enum has the "gtype" property, add a GTypeAttribute pointing to an internal FooGType class whose GType property can be used to get the enum's GType. * generator/ObjectGen.cs: s/ObjectManager.RegisterType/GType.Register/ * glib/GTypeAttribute.cs: attribute for indicating a property that will return the GType of a type (particularly for enums, which can't have GType properties added to them). * glib/GType.cs: renamed from Type.cs to match the type name (public static readonly GType ...): add a few missing types. (Register): moved from ObjectManager.RegisterType (LookupGType): moved from TypeConverter.LookupType and extended to handle GTypeAttribute. Also, fix mappings for sbyte/byte/char, and return specific GTypes for Object subclasses rather than always returning GType.Object. [Fixes #74699] (LookupType): moved from ObjectWrapper.LookupType (ToString): return the type name * glib/Object.cs (RegisterGType): s/ObjectManager.Register/GType.Register/ (LookupGType): Make this protected internal so GType can access it. * glib/ObjectManager.cs (RegisterType): deprecate in favor of GType.Register. (LookupType): moved to GType * glib/TypeConverter.cs (LookupType): now a deprecated wrapper around GType.LookupGType. * glib/Value.cs: Use GType casts rather than TypeConverter * gtk/NodeStore.cs (ScanType): * gtk/ListStore.custom (ListStore): * gtk/TreeStore.custom (TreeStore): Use (GType) cast rather than TypeConverter. Remove the error check and exception, since the cast never returns GType.Invalid. (The check probably predates GLib.ManagedValue.) * gnome/PanelAppletFactory.cs (Register): Use a GType cast rather than GLib.Object.LookupGType (which is no longer accessible after an mcs bugfix) * sample/GtkDemo/DemoIconView.cs (CreateStore): use the Type[] constructor rather than the GType[] constructor, since it translates typeof(Gdk.Pixbuf) correctly now. 2005-05-04 Dan Winship * generator/Parameters.cs (Parameters.Validate): If the parameters end with "callback, gpointer, GDestroyNotify", then mark the callback as having "notified" Scope. (Parameters.IsHidden): Hide user_data and GDestroyNotify after a callback. (Parameter.Scope): make this settable (Parameter.IsDestroyNotify): new test * generator/MethodBody.cs (Initialize): Handle "notified" callback scope (using a GCHandle and GLib.DestroyHelper.NotifyHandler) * generator/CallbackGen.cs (GenWrapper): Add a static "GetManagedDelegate" method to the wrapper type, to translate a native delegate back to its corresponding managed delegate. (FromNative): use GetManagedDelegate. * generator/ReturnValue.cs (Validate): We handle callback return values now * generator/SymbolTable.cs: marshal GDestroyNotify as GLib.DestroyNotify * glib/DestroyNotify.cs: Moved from gtk * gtk/Gtk.metadata: globally change GtkDestroyNotify to GDestroyNotify, but then change back the ones that are exposed in the API. Un-hide lots of methods we can correctly autogenerate now. * gtk/DestroyHelper.cs: moved to glib * gtk/*.custom: remove methods that are autogenerated now, add Obsolete wrappers where needed, replace Gtk.DestroyHelper usage with GLib.DestroyHelper. * gdk/Gdk.metadata: * gnome/Gnome.metadata: Turn Gdk.Drawable.SetData and Gnome.IconList.SetIconDataFull's GDestroyNotify args into gpointers so the generated API stays the same as it used to be. * rsvg/Handle.custom: implement deprecated SetSizeCallback * sample/GtkDemo/DemoIconView.cs (CreateSort): update for API changes 2005-05-03 Mike Kestner * parser/gapi2xml.pl : parse const * const * Foo () properly. [Fixes #74710] 2005-05-02 Dan Winship * generator/Parameters.cs (IsHidden): method to check if a parameter should be hidden in the managed sig (eg, because it's user_data, or it's the length of the preceding array/string, etc). (VisibleCount): the number of parameters that will actually be exposed in the managed signature. (IsAccessor): test VisibleCount, not Count (AccessorReturnType, AccessorName): deal with the fact that the accessor parameter might not be the first one. * generator/CallbackGen.cs: * generator/Signature.cs: use Parameters.IsHidden. * generator/Method.cs (Initialize): set is_set based on VisibleCount, not Count. (Validate): call base.Validate() before Initialize() so that VisibleCount will be correct in Initialize. * generator/MethodBody.cs (GetCallString, CallArrayLength, Initialize): update to deal with accessors with multiple args. * gtk/Clipboard.custom (SetText): implement as an Obsolete variant of the Text property * gtk/IconTheme.custom (SearchPath, SetSearchPath): obsolete SetSearchPath, implement a setter on SearchPath instead. * gtk/ListStore.custom (SetColumnTypes): * gtk/TreeStore.custom (SetColumnTypes): implement as an Obsolete variant of the ColumnTypes property. * glade/XML.custom (CustomHandler): implement as a property (SetCustomHandler): Mark this obsolete * glade/Global.custom (SetCustomHandler): deprecate in favor of XML.CustomHandler. * gnomedb/Editor.custom (SetText): implement as an Obsolete variant of the Text property 2005-05-02 Dan Winship Apply the parts of the generator reorganization from #69514 that don't actually affect the generated output * generator/PropertyBase.cs: new base class for fields and properties (mostly containing code formerly in Property.cs). * generator/Property.cs: derive from PropertyBase * generator/FieldBase.cs: base class for fields (containing some code formerly in Field.cs) * generator/StructField.cs: class for struct fields (the rest of what used to be Field.cs) * generator/StructBase.cs: s/Field/StructField/ * gnome/Gnome.metadata: hide a few _get_ methods that the generator is just now noticing, to preserve the old output. 2005-05-02 Mike Kestner * generator/Property.cs : fix interface setter generation. [Fixes #74766] 2005-04-27 Ben Maurer * */Makefile.am: more build fixes * configure.in: amd64 build fix 2005-04-26 Miguel de Icaza * gtkdotnet/Graphics.cs: Contribution from Sebastian Faltoni that implements support for using System.Drawing on Windows. 2005-04-26 Mike Kestner * gtk/NodeStore.cs : implement IEnumerable. 2005-04-24 Dan Winship * pango/Attribute.cs: Base class for Pango attributes, a la Gdk.Event * pango/pango-symbols.xml: explain how to marshal PangoAttribute. * pango/AttrBackground.cs: * pango/AttrFallback.cs: * pango/AttrFamily.cs: * pango/AttrFontDesc.cs: * pango/AttrForeground.cs: * pango/AttrLanguage.cs: * pango/AttrLetterSpacing.cs: * pango/AttrRise.cs: * pango/AttrScale.cs: * pango/AttrShape.cs: * pango/AttrSize.cs: * pango/AttrStretch.cs: * pango/AttrStrikethrough.cs: * pango/AttrStrikethroughColor.cs: * pango/AttrStyle.cs: * pango/AttrUnderline.cs: * pango/AttrUnderlineColor.cs: * pango/AttrVariant.cs: * pango/AttrWeight.cs: subclasses of Attribute, with proper constructors. These don't actually correspond one-to-one with the underlying types, but they're nicer this way. * pango/Pango.metadata: Hide Attribute and its subclasses from the generator. Also hide "Attr" (which previously contained non-working badly-named static methods to create Attributes) and AttrClass (which is not really useful outside of pango itself). * pango/AttrIterator.custom: use Pango.Attribute.GetAttribute. * pango/glue/attribute.c: glue for Attribute and its subclasses [Fixes #52575 and its semi-dup #46552] 2005-04-22 Dan Winship * gnome/Gnome.metadata: mark GnomeTriggerActionFunction's char** param const * glib/Marshaller.cs (Utf8PtrToString): Add an IntPtr[]->string[] overload, since that's what we actually need in the case where it's used (above). Leave the IntPtr[]->string[] overload of PtrToStringGFree in case anyone is using it manually. * gtk/Gtk.metadata: hide GtkModuleInitFunc and GtkModuleDisplayInitFunc; they are the signatures of user-defined methods that gtk only ever resolves via g_module_symbol(), so they're not useful from C#. (And the marshalling was all wrong anyway...) * glib/Type.cs: * glib/TypeConverter.cs: * glib/Value.cs: sort lists of GTypes into TypeFundamental order 2005-04-22 Mike Kestner * configure.in : bump version to 2.5.0 for trunk. 2005-04-21 Mike Kestner * configure.in : require gtk+ 2.6. * generator/ReturnValue.cs : invalidate Callback returns for now. * gtk/Gtk.metadata : some renames for conflicting new API. * parser/gapi2xml.pl : whitespace tweak for class VM regexen. * sources/Makefile.am : add new patch, kill atk patch, revise dirs. * sources/atkhyperlink.patch : kill unnecessary patch. * sources/gtkclipboard.patch : add new clipboard patch. * sources/gtk-sharp-sources.xml : parse gtk+-2.6. * */*-api.raw : regen pango, atk, gdk, and gtk for new versions. 2005-04-21 Dan Winship * parser/gapi_pp.pl: add "#if 0" to $eatit_regex * gdk/EventClient.cs (gtksharp_gdk_event_client_get_time): * glib/Object.cs (gtksharp_get_type_id): * glib/Value.cs (gtksharp_object_get_ref_count, g_value_take_boxed): * gnome/PrintContext.custom (gnome_print_concat, gnome_print_glyphlist, gnome_print_setdash): * gtk/NodeStore.cs (gtksharp_node_store_new, stamp): * gtk/NodeView.cs (gtk_tree_view_new_with_model): * gtk/Widget.custom (gtksharp_gtk_widget_set_allocation): * pango/LayoutLine.custom (g_free): Remove unused prototypes/fields 2005-04-21 Mike Kestner * Makefile.include : make mcs shaddup about 169. 2005-04-20 Mike Kestner * generator/*.cs : cleanup the unused private member warnings. 2005-04-20 Mike Kestner * parser/gapi-parser.cs : add a directory element with child exclude elements to simplify source version updating. * sources/gtk-sharp-sources.xml : switch to directory elements. 2005-04-19 Mike Kestner * gdk/Gdk.metadata : add a None member to ModifierType and fix the definition for ModifierMask since the parser barfs on it. [Fixes #74594] 2005-04-17 Jeroen Zwartepoorte * sample/PolarFixed.cs: (PolarFixed.PolarFixedChild): Fix compilation problem. 2005-04-15 Mike Kestner * configure.in : remove unnecessary libxml check. * parser/gapi-parser.cs : use a System.Xml to kill gapi_format_xml. * parser/formatXml.c : kill. * parser/Makefile.am : kill gapi_format_xml * */*-api.raw : enormous whitespace diff. sorry dawgs on mono-patches. 2005-04-15 Mike Kestner * parser/gapi-parser.cs : C# rewrite of the old perl driver script. * parser/gapi_parser.pl : kill. * parser/gapi2-parser.in : invoke via $(RUNTIME). * parser/Makefile.am : build rework for C# parser driver. * sources/Makefile.am : use $(RUNTIME) to invoke new parser assm. 2005-04-12 Mike Kestner * configure.in : bump version to 1.9.3 and tag. 2005-04-11 Mike Kestner * gdk/Pixbuf.custom : fix out params on RenderPixmapAndMask* methods. 2005-04-11 Dan Winship * generator/ClassBase.cs (ParseImplements): record both managed and unmanaged interface declarations. (Implements): check recursively * generator/ObjectGen.cs (Generate): output managed interfaces * gtk/Gtk.metadata: make Container implement IEnumerable * gtk/Container.custom (GetEnumerator): implement (a simplified form of Children). (AllChildren): add this (which accumulates the results of Forall()). (ForAll): mark ForAll(bool,CallbackInvoker) obsolete and add a ForAll(bool,Gtk.Callback) overload to replace it. * sample/PolarFixed.cs: new silly but fully-functional demo of how to subclass container. * sample/CustomNotebook.cs: kill this, since it was really complicated, and never fully functional. * sample/GtkDemo/DemoImages.cs (ToggleSensitivity): Use foreach directly on the container, rather than on its .Children. 2005-04-11 Mike Kestner * gtk/Quit.custom : obsolete AddFull and implement Add properly. * gtk/TreePath.custom : add ctor (int[] indices). * gtk/Gtk.metadata : hide Quit.Add* and some ellipsis methods that are implemented manually already. 2005-04-08 Dan Winship * configure.in: Add an --enable-debug flag, to build .mdb files for all of the assemblies * Makefile.include: * gconf/GConf/Makefile.am: * gconf/GConf.PropertyEditors/Makefile.am: * glib/Makefile.am: * gtkdotnet/Makefile.am (CLEANFILES): add $(ASSEMBLY).mdb $(ASSEMBLY): build with $(CSFLAGS). Always delete $(ASSEMBLY).mdb before building $(ASSEMBLY), so that if you first build with debugging enabled, then update, then rebuild without debugging enabled, you don't end up with an out-of-date .mdb file. 2005-04-08 Alp Toker * atk/makefile.win32: gapi-cdecl-insert was called in the wrong place and broke the win32 build. 2005-04-07 Dan Winship * gtk/Object.custom (Raw): Always ref the object, even if it's not floating when we get it, since GLib assumes we hold a ref on it. [Fixes #74468] * gtk/Window.custom: remove refcount special-handling here 2005-04-06 Mike Kestner * gtk/FileFilter.custom : AddCustom delegate is destroy notified. * gtk/Gtk.metadata : hide FileFilter.AddCustom. hide gtk_object_get|set. 2005-04-05 Mike Kestner * gtk/*.custom : persistent delegates for most of the remaining "interesting" methods. 2005-04-05 Dan Winship * gdk/PixbufLoader.custom: Fix the new constructors to make sure they call Close() in the event of an exception, to prevent a g_warning. 2005-04-05 Mike Kestner * gtk/DestroyHelper.cs : implement an internal DestroyNotify handler to release GCHandles. * gtk/*.custom : rework existing persistent delegate implementations to use destroy notify or PersistentData. 2005-04-05 Alp Toker * gtk/Menu.custom: don't re-implement the Screen getter in Gtk.Menu. Instead just return base.Screen, which is implemented by Widget. 2005-04-04 Dan Winship * pango/Scale.cs: rename the size constants to not have underscores in their names (and add obsolete aliases for the old names). * sample/GtkDemo/DemoTextView.cs: use the new names 2005-04-04 Mike Kestner * gtk/Gtk.metadata : mark all the call scope callback params to quiet the warnings. 2005-04-04 Mike Kestner * gdk/Gdk.metadata : hide some manually implemented callback methods. * gdk/*.custom : implement several methods containing persistent callback parameters. * generator/BoxedGen.cs : set gen_info.CurrentType in Generate. * generator/ClassGen.cs : set gen_info.CurrentType in Generate. * generator/Ctor.cs : set gen_info.CurrentMember in Generate. * generator/GenerationInfo.cs : add CurrentMember and CurrentType. * generator/Method.cs : set gen_info.CurrentMember in Generate. * generator/MethodBody.cs : always generate null guarding for array parameters, and add a nag for callback parameters without a scope attr. * generator/ObjectGen.cs : set gen_info.CurrentType in Generate. * generator/OpaqueGen.cs : set gen_info.CurrentType in Generate. * generator/Parameters.cs : kill NullOk. add Scope property. * generator/StructGen.cs : set gen_info.CurrentType in Generate. * gtk/Gtk.metadata : kill a few null_ok attrs. * pango/Pango.metadata : mark the callback params as call scope. kill a couple null_ok attrs. 2005-04-01 Dan Winship * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some gratuitous differences from the C version. Make comment and indent style consistent. Don't use "this." where not needed. Override OnDeleteEvent rather than connecting one's own DeleteEvent signal. * sample/GtkDemo/DemoApplicationWindow.cs (static DemoApplicationWindow): register the Gtk logo icon with StockManager so it shows up correctly in the toolbar. (AddActions): Register the radio items as radio items so they work right. * sample/GtkDemo/DemoHyperText.cs (EventAfter): handle link-clicking from Widget.WidgetEventAfter (as in the C version), rather than ButtonRelease, now that WidgetEventAfter is wrapped. * sample/GtkDemo/DemoImages.cs (DemoImages): use Gtk.Image.LoadFromResource (particularly to make the animation work right). (OnDestroyed): handle clean up (remove the timeout, etc) * sample/GtkDemo/DemoMain.cs (LoadStream): Fix handling of blank lines and whitespace to match the C version. * sample/GtkDemo/DemoPixbuf.cs (Expose): Use System.Runtime.InteropServices.Marshal.Copy() to copy pixbuf.Pixels to pass to DrawRgbImageDithalign, to make this more like the C version (and probably faster?) (timeout): Remove the FIXME since it seems to work now * sample/GtkDemo/DemoStockBrowser.cs: Simplify a bunch. Use reflection to get the C# names of the stock icons rather than trying to correctly re-mangle the ids. Display the Label with the accelerator underlined. * sample/GtkDemo/DemoTextView.cs (AttachWidgets): use Gtk.Image.LoadFromResource, so the image is properly loaded as an animation, not a static image. Don't set the combobox's "Active" property (for consistency with the C version). (InsertText): Fix miscellaneous differences with the C version. Remove some leftover cruft from earlier workarounds for gtk# bugs. * sample/GtkDemo/DemoTreeStore.cs (AddColumns): Make this more like the C version so the checkboxes are sensitized and hidden correctly on a per-row basis. * sample/GtkDemo/DemoUIManager.cs: Make the radio menu items work. * sample/GtkDemo/README: * sample/GtkDemo/TODO: update 2005-04-01 Mike Kestner * gtk/TreeModelFilter.custom : manually implement SetVisibleFunc and SetModifyFunc to handle delegate persistence. * gtk/Gtk.metadata : hide methods. 2005-04-01 Mike Kestner * gtk/Clipboard.custom : manually implement SetWithData and SetWithOwner to handle delegate persistence. * gtk/Gtk.metadata : hide methods. 2005-03-31 Dan Winship * gdk/PixbufLoader.custom: Implement System.IO.Stream and resource-file constructors (using code formerly in Pixbuf.custom) * gdk/Pixbuf.custom: Redo the stream and resource ctors in terms of the PixbufLoader ones. * gdk/PixbufAnimation.custom: Add stream and resource ctors * gtk/Image.custom: Add stream and resource ctors 2005-03-31 Mike Kestner * glib/ManagedValue.cs : add null/NULL guarding to Copy, Free, WrapObject, and ObjectForWrapper. [Fixes #74197] 2005-03-30 Jeroen Zwartepoorte * parser/gapi2xml.pl : parse gst type macros. 2005-03-30 Anthony Taranto * gtk/Widget.custom : cause Allocation.Set to call SizeUpdate(). * gtk/glue/widget.c : remove gtksharp_gtk_widget_set_allocation(). 2005-03-29 Mike Kestner * gtk/TreeStore.custom : fix a CLS incompliance in the Append Prepend, Insert, InsertBefore, and InsertAfter methods by obsoleting them and adding new *Node methods that are CLS compliant. [Fixes #73876] 2005-03-29 Mike Kestner * generator/Parser.cs : add symbol type='marshal' support. * gdk/Event.cs : add GetEvent method to wrap arbitrary events. * gdk/gdk-symbols.xml : make Event, EventAny, and EventNoExpose marshal symbols using Event.GetEvent (). [Fixes #74184] 2005-03-29 Mike Kestner * glib/Marshaller.cs : special case ucs4 "0" conversion. [Fixes #74175] 2005-03-28 Mike Kestner * gdk/Pixbuf.custom : add FromDrawable static method and obsolete CreateFromNative, which should've been static. [Fixes #74155] 2005-03-28 Mike Kestner * generator/Signal.cs : Dispose the values passed to g_signal_chain_from_overriden in base VM invocations. [Fixes #73522] 2005-03-25 Mike Kestner * */makefile.win32 : add gapi-cdecl-insert to assembly target. 2005-03-25 Mike Kestner * generator/CallbackGen.cs : add CDeclCallback attrs to native dels. * generator/Signal.cs : add CDeclCallback attrs to native dels. 2005-03-25 Mike Kestner * */*.cs : tag native callback delegates with [CDeclCallback]. * */*.custom : tag native callback delegates with [CDeclCallback]. 2005-03-24 Mike Kestner * generator/CallbackGen.cs : don't create native delegates for nulls. * generator/ObjectGen.cs : revamp the ObjectManager code. * glib/Object.cs : use new ObjectManager.RegisterType overload. * glib/ObjectManager.cs : rewrite to kill the lameass LoadWithPartial hack and keep a GType to Type mapping for quicker lookup/activation. 2005-03-23 Mike Kestner * gapi-cdecl-insert : a little perl script to insert modopts * Makefile.am : dist the new script. for cdecl callback delegates on win32. * glade/makefile.win32 : use gapi-cdecl-insert * glade/XML.custom : add [GLib.CDeclCallback] to RawXMLConnectFunc. * glib/Makefile.am : add new file. * glib/makefile.win32 : use gapi-cdecl-insert * glib/CDeclCallbackAttribute.cs : new attr to tag delegates with that will be invoked from native code. We have to mangle the il with a modopt otherwise they are stdcall'd. * glib/ManagedValue.cs : add [GLib.CDeclCallback] to Copy/Free. switch to using GCHandles instead of the current IntPtr hack. 2005-03-15 Mike Kestner * gtk/Gtk.metadata : hide TreeSortable.SetSortFunc. * gtk/ListStore.custom : implement SetSortFunc for persistence. * gtk/Makefile.am : add custom file. * gtk/TreeModelSort.custom : implement SetSortFunc for persistence. * gtk/TreeSortable.custom : new file, add hidden method decls. * gtk/TreeStore.custom : implement SetSortFunc for persistence. 2005-03-15 John Luke * glib/Object.cs: use IsDefined to check for ClassInitializer attribute, fixes a warning and is supposedly better for performance 2005-03-15 Dan Winship Re-fix for yesterday's fix that didn't actually work. * gtk/ITreeNode.cs: add a "child" arg to TreeNodeRemovedHandler * gtk/TreeNode.cs (RemoveChild, OnChildRemoved): update for that * gtk/NodeStore.cs (child_deleted_cb): use the passed-in child; GetNodeAtPath won't work because the parent node already removed the child from its list 2005-03-14 Mike Kestner * configure.in : rework the gtkhtml check for 3.6. 2005-03-14 Dan Winship * gtk/TreeNode.cs (AddNode): add an overload that takes a position * gtk/NodeStore.cs (AddNode): likewise (AddNode, child_added_cb): when adding a node, recursively connect to the node signals on its children (RemoveNode, child_deleted_cb): when removing a node, recursively remove its children from node_hash. 2005-03-12 Mike Kestner * glade/Glade.metadata : mark the XMLCustomWidgetHandler string params const-gchar*. Wonder how many of these are gonna screw us? 2005-03-12 Mike Kestner * gtk/TreeViewColumn.custom : use PersistentData to hold the CellDataFuncs. 2005-03-12 Mike Kestner * glib/Makefile.am : add new file. * glib/Object.cs : add protected PersistentData hash to hold data across GC cycles. * glib/WeakObject.cs : new object to hold managed refs weakly against the native object. * gtk/ListStore.custom : hold refs for DefaultSortFuncs. * gtk/TreeModelSort.custom : hold refs for DefaultSortFuncs. * gtk/TreeStore.custom : hold refs for DefaultSortFuncs. 2005-03-12 Mike Kestner * generator/CallbackGen.cs : don't derive Wrappers from DelegateWrapper any more. It leaks delegates like crazy. We effectively now use call scope as the default for delegate parameters. * generator/MethodBody.cs : use new simpler Wrapper ctor. * glib/DelegateWrapper.cs : mark the ctor obsolete so people know to update any manually coded wrappers out there. * */*.custom : use new simpler Callback Wrapper ctors. 2005-03-11 Mike Kestner * glib/DelegateWrapper.cs : call g_object_set_data_full since we are using its sig, not set_data. 2005-03-10 Mike Kestner * generator/SymbolTable.cs : fix gssize and gsize, they aren't 32 bit like the docs say they are. 2005-03-10 Mike Kestner * glib/Marshaller.cs : don't use g_utf8_strlen to determine the byte count to be copied, it returns chars, not bytes. * glib/glue/unichar.c : implement a quick and dirty strlen glue func. 2005-03-10 Mike Kestner * gtk/Style.custom : add bg_pixmap accessors. remove IntPtr[] vars and s/6/5 for array sizes. * gtk/glue/style.c : add bg_pixmap field glue. [Fixes #73532] 2005-03-09 Mike Kestner * */*.custom : scrub for string usage in DllImports. * gnome/Makefile.am : remove IconTheme.custom, it's not generated. 2005-03-09 Mike Kestner * glib/Marshaller.cs : add IntPtr.Zero guarding. 2005-03-09 Alexandre Gomes * gtk/Gtk.metadata: Set GetVisibleRect param to be passed as out. 2005-03-08 Mike Kestner * */*.cs : scrub for StringToPtrAnsi and string usage in DllImports. * */*.custom : begin the scrub here too. * generator/ConstStringGen.cs : implement IManualMarshaler and move to 100% IntPtr marshaling. * generator/Ctor.cs : call Body.Finish too. * generator/IManualMarshaler.cs : new interface for generatables that marshal manually and need cleanup. * generator/Makefile.am : new file. * generator/MethodBody.cs : use IManualMarshaler if applicable. 2005-03-07 Mike Kestner * generator/MethodBody.cs : remove an unused var. * generator/ReturnValue.cs : privatize a couple props. Refactor the SymbolTable lookup logic to be generatable based. 2005-03-04 Mike Kestner * generator/ImportSignature.cs : out param handling fix. * generator/Makefile.am : kill StringGen.cs. * generator/MethodBody.cs : simplify out param handling. * generator/StringGen.cs : kill it, now using MarshalGen. * generator/SymbolTable.cs : make non-const strings use an appropriate MarshalGen. Non-const strings are now correctly marshaled as Utf8. * glib/Marshaller.cs : add some utf8-fu for strdup/free marshaling. Add a method to alloc/copy structs to native memory, unused yet. * gtk/Gtk.metadata : partially fix a broken delegate. 2005-03-04 Mike Kestner * generator/Method.cs : refactor out some retval logic. * generator/ReturnValue.cs : add FromNative and IsVoid members. 2005-03-03 Mike Kestner * gdk/Gdk.metadata : remove unnecessary null_ok rules. * generator/Ctor.cs : don't add null params to CreateNativeObject call for InterfaceGen or OpaqueGen in addition to ObjectGen. * generator/Field.cs : simplify Object/Opaque gen. * generator/Method.cs : remove OpaqueGen special casing. * generator/OpaqueGen.cs : make FromNative null_ok robust. * generator/Signal.cs : remove arg marshaling ClassBase special case. * gtk/Gtk.metadata : remove unnecessary null_ok rules. 2005-03-03 Mike Kestner * generator/ClassBase.cs : use "as" instead of a cast in FromNative. * generator/Method.cs : remove the if/else checks for Object retvals. * glib/Object.cs : return null immediately for NULL in GetObject. 2005-03-03 Mike Kestner * generator/ClassBase.cs : add null checking to CallByName. No sense manually adding this for the ones that need it. Better to have g_criticals then NullRefExceptions anyway. * generator/MethodBody.cs : simplify out handle generation. [A babystep toward #68820] 2005-02-28 Dan Winship * gtk/Container.custom (ChildType): fix this to just call gtk_container_child_type(). * gtk/glue/container.c (gtksharp_container_base_child_type): kill 2005-02-28 Mike Kestner * glib/Idle.cs : add locking on the source_handlers. * glib/Source.cs : add locking on the source_handlers. * glib/Timeout.cs : add locking on the source_handlers. 2005-02-25 Mike Kestner * glib/Source.cs : remove from the hash by key. * glib/Idle.cs : remove from the hash by key. 2005-02-23 Dan Winship * sources/gnomedb.patch: Patch over a bug in gnome-db-editor.h * gnomedb/gnomedb-api.raw: Regen 2005-02-23 Dan Winship * parser/gapi2xml.pl (parseTypeToken): don't parse punctuation into the type name. [Fixes #72925] * gtk/gtk-api.raw: Regen, exposing the previously-broken AccelGroup.AccelActivate, AccelMap.Changed, ActionGroup.ConnectProxy, ActionGroup.DisconnectProxy, ActionGroup.PreActivate, ActionGroup.PostActivate, and Widget.EventAfter. * gtk/Gtk.metadata: Give proper names to the parameters of those signals 2005-02-23 Dan Winship * generator/Field.cs (Validate): new, to check that a field has a valid type (or is hidden). * generator/StructBase.cs (Validate): new, to check that all of the struct fields have valid types * generator/BoxedGen.cs (Generate): * generator/StructGen.cs: (Generate): Call Validate() and bail out if it fails; it's no good to generate a struct with the wrong layout. * gdk/gdk-symbols.xml: add a line for GdkKey -> Gdk.Key. (There's no actual C type GdkKey, but we can use metadata to change uints to GdkKeys, which will then become Gdk.Keys.) * gtk/AccelKey.custom: remove the "Key" field (which was being added in the wrong place in the struct), since it's properly generated now. * gtk/Gtk.metadata: Fix the line that renames AccelKey.AccelKey to AccelKey.Key * gnomevfs/Gnomevfs.metadata: hide the (mis-parsed) "action" field in MimeAction, leaving the struct in the same broken state it was in with the old generator code * parser/gapi2xml.pl: add a hack to allow "foo_bar_get_type()" rather than "FOO_TYPE_BAR" in G_TYPE_CHECK_INSTANCE_CAST macros, allowing large parts of libgda that were previously misparsed to be parsed correctly * gda/gda-api.raw: Regen * gda/Gda.metadata: Make Gda.Value opaque, since it's mostly a union and we're horribly butchering its layout. 2005-02-22 Raja R Harinath * Makefile.include: Use $(top_builddir)/ instead of ../ so that it is usable from directories two-or-more deep. 2005-02-18 Mike Kestner * gtk/Gtk.metadata : remove an incorrect and harmful rule on ClipboardGetFunc. [Fixes #69013] 2005-02-17 Mike Kestner * */Makefile.am : define SYMBOLS if it isn't already to fix breakage with older automakes. 2005-02-15 Dan Winship * generator/ObjectGen.cs (GenChildProperties): If the class has an ancestor that also defines child properties, make its child properties class be a subclass of that ancestor's child properties class. (Eg, make Gtk.ButtonBox.ButtonBoxChild be a subclass of Gtk.Box.BoxChild.) 2005-02-14 Mike Kestner * gdk/Gdk.metadata : mark the color in Rgb.FindColor ref. 2005-02-11 Mike Kestner * gtk/Gtk.metadata : hide Menu.SetScreen. * gtk/Menu.custom : manually implement Screen prop. 2005-02-11 Dan Winship * gtk/Gtk.metadata: Hide StyleGetProperty and StyleGetValist since they're generated wrong, and StyleGet to avoid an ellipsis warning. (Also hide the deprecated ellipsis method "Set".) * gtk/Widget.custom (StyleGetProperty): implement manually, a la Gtk.Container.ChildGetProperty. * gtk/glue/widget.c (gtksharp_widget_style_get_property): glue for that * generator/MethodBase.cs (Validate): use CName rather than always saying "in ctor" 2005-02-10 Jeroen Zwartepoorte * sample/Actions.cs: Remove obsolete & unsafe GLib.Object.Data usage. 2005-02-10 Mike Kestner * configure.in : update version for 1.9.2 release. 2005-02-09 Mike Kestner * gtk/Widget.custom : use a static method for the ParentSet hack so we don't leak objects because the delegate holds an object ref. 2005-02-07 Ben Maurer * gdk/Point.custom, gdk/Rectangle.custom: misc. new apis to make this more like the S.D structs. 2005-02-03 Mike Kestner * gtk/NodeStore.cs : use CreateNativeObject to allow subclassing. [Fixes #71749] 2005-02-03 Mike Kestner * glib/ObjectManager.cs (GetValidParentType): return null if G_TYPE_INVALID is returned from glue. [Fixes #72150] 2005-02-02 Mike Kestner * generator/Signal.cs : kill unnecessary BaseName prop. 2005-02-02 Mike Kestner * generator/Makefile.am : remove source file. * generator/Signal.cs : generate marshaling callbacks and use new GLib.Signal marshaling class for events. * generator/SignalHandler.cs : kill. byebye SignalCallback subclasses. * glib/Makefile.am : update source files. * glib/GLibSharp.voidObjectIntPtrSignal.cs : kill. * glib/Object.cs : mark the old Before/After props Obsolete. Use GLib.Signal for the notify prop methods. * glib/Signal.cs : new signal marshaling class. It manages all the ConnectBefore/After stuff internally and connects itself to the native object using GCHandles and DestroyNotify lifecycle management. * glib/SignalCallback.cs : mark Obsolete. [Fixes #72018 and #69847] 2005-02-01 Fredrik Nilsson * glib/Marshaller.cs : DateTime marshaling fix. 2005-01-31 Mike Kestner * gtk/FileChooserDialog.custom : move backend to first param to avoid conflicts with button names in overloaded ctor. 2005-01-31 Mike Kestner * generator/SymbolTable.cs : handle unsigned-*. * parser/gapi2xml.pl : handle const unsigned * parameters. Also fix a G_GNUC_PRINTF parsing bug exposed by a GMime. * */*-api.raw : regen. [Fixes #71825] 2005-01-28 Mike Kestner * generator/ReturnValue.cs : use ToNativeReturnType for ToNativeType instead of MarshalType. * generator/Signal.cs : deal with boxed return values. beef up return handling in the default handler generation code. * generator/SignalHandler.cs : use ToNative return types for native callbacks. Remove redundant casting/conversion in callback impl. [Fixes #71899] 2005-01-28 Dan Winship * glib/Object.cs (AddNotification, RemoveNotification): methods to subscribe to the "notify" signal (with property details). [#71684] * glib/GLibSharp.voidObjectIntPtrSignal.cs: autogenerated, for notifications * glib/NotifyHandler.cs: sort of autogenerated 2005-01-28 Mike Kestner * gtk/Dialog.custom : add a params array for button info to the ctor. * gtk/FileChooserDialog.custom : add a params array for button info to both ctors. Chain them to IntPtr.Zero. * gtk/Gtk.metadata : hide the ellipsis ctors for the dialog types. [Fixes #71818] * sample/GtkDemo/DemoDialog.cs : make the InteractiveDialog use the new Dialog ctor as it does in the c version. 2005-01-27 Mike Kestner * gtk/NodeSelection.cs : use new GetSelectedRows() overload. * gtk/TreeSelection.custom : add a GetSelectedRows overload without the out model param. [Fixes #71814] 2005-01-27 Mike Kestner * gtk/NodeView.cs : fix the value creation in the ctor. 2005-01-26 Mike Kestner * glib/Value.cs : add a private debugging DllImport for ref_counts since the glue is there already. g_value_get_object returns an unowned ref, so don't pretend like we own it. Make get_Val work for GObject subclasses. [Fixes #71125] 2005-01-26 Mike Kestner * gtk/NodeView.cs : always use CreateNativeObject. 2005-01-26 Mike Kestner * gtk/Gtk.metadata : hide 3 IM related internal types. [Fixes #71021] 2005-01-26 Mike Kestner * generator/*.cs : refactoring of Parameters class. Added IEnumerable to Parameters and gracefully handle elem == null instead of special casing parms == null all over the place. Parameter logic is now Count driven. [Fixes #71750] 2005-01-26 Dan Winship * generator/Property.cs (Generate): Remove a redundant WriteLine (that resulted in there being 2 blank lines before every property). * generator/Signal.cs (Generate): s/Write/WriteLine/ to fix a weirdly-formatted if statement in the generated code. 2005-01-25 John Luke * sample/CustomNotebook.cs: * sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid obsolete warning 2005-01-25 Mike Kestner * gnome/About.custom : implement a subclassable ctor. * gnome/Gnome.metadata : hide About ctor, fix About.Construct parms. * gnome/Makefile.am : add the new custom. [Fixes #71271] 2005-01-25 Mike Kestner * gdk/Gdk.metadata : hide all the Pixbuf.SaveTo methods. * gdk/Pixbuf.custom : implement the SaveTo methods. [Fixes #71430] 2005-01-25 Mike Kestner * gtk/Gtk.metadata : hide all the SignalFunc using Toolbar methods. * gtk/Makefile.am : add the new custom. * gtk/Toolbar.custom : implement the SignalFunc methods. Deal with null for Widget params in *Element. [Fixes #71428] 2005-01-24 Jeroen Zwartepoorte * generator/MethodBody.cs : fix out LPUGen params. 2005-01-24 Mike Kestner * gda/Makefile.am : add new custom. * gda/XmlConnection.custom : add backcompat static ctor. * generator/ClassBase.cs : refactor lookup logic to here from Ctor and improve the collision resolution. * generator/Ctor.cs : refactor to use MethodBase. * generator/Makefile.am : add new file. * generator/MethodBase.cs : new base class for ctors and methods. * generator/Method.cs : refactor to use MethodBase. * generator/StructBase.cs : move some logic from here to Ctor. * gnome/CanvasPathDef.custom : add backcompat static ctor. * gnome/GPPath.custom : add backcompat static ctor. * gnome/Makefile.am : add new custom. * gtk/Gtk.metadata : mark a colliding Button ctor shared. 2005-01-23 Jeroen Zwartepoorte * gtk/ActionGroup.custom: Add a string index for the GetAction method. 2005-01-20 Dan Winship * glib/Marshaller.cs (StringFormat): Calls String.Format and makes sure the output has no unescaped "%"s. (For wrapping printf-style unmanaged methods with String.Format-style managed ones.) * gtk/MessageDialog.custom (MessageDialog): use it. #71405. Also, use gtk_message_dialog_new_with_markup by default, and add an overloaded ctor that lets you use the non-markup version. * gtk/Gtk.metadata: hide the GtkMessageDialog ctors so we don't get ellipsis warnings about them. * sample/GtkDemo/DemoApplicationWindow.cs: * sample/GtkDemo/DemoDialog.cs: simplify the MessageDialog usage; don't need to call String.Format separately now. 2005-01-18 Mike Kestner * generator/Method.cs : deal with owned retvals. * generator/ReturnValue.cs : add Owned prop. * gnome/Gnome.metadata : mark Thumbnail.ScaleDownPixbuf return owned. [Fixes #71335] 2005-01-18 Mike Kestner * gtk/gtk-api.raw : regen. * parser/gapi2xml.pl : deal with G_GNUC_PRINTF. 2005-01-17 Mike Kestner * gtk/Style.custom : add Light, LightColors, Mid, MidColors, Dark, and DarkColors. * gtk/glue/style.c : add get_light and get_dark 2005-01-17 Mike Kestner * gtk/Gtk.metadata : hide Stock. * gtk/Makefile.am : add new file. * gtk/StockManager.cs : stock item management methods. 2005-01-14 Dan Winship * glib/Object.cs (ConnectDefaultHandlers): Don't call a signal's ConnectionMethod if it's already been called for a superclass of the current class. #71278 2005-01-13 Zac Bowling * makefile.win32 : new "gac" target for automatic for gacutil calls, added copying of gtk-sharp.snk to each folder being built to fix fresh builds and after cleaning, added support for switching C# compilers, and added handling of spaces in filenames for mcs builds * gtkdotnet/makefile.win32 : add one more reference to fix mcs builds. 2005-01-13 Mike Kestner * configure.in : make vte check conditional on gnome. * gtkdotnet/Makefile.am : add some references. 2005-01-13 Dan Winship * generator/ObjectGen.cs: Make ContainerChild constructors "protected internal" rather than just "internal", so the classes can be subclassed nicely. 2005-01-13 Zac Bowling * gtkdotnet/makefile.win32 : fixed references to build on Win32 2005-01-12 Mike Kestner * sample/gnomevfs/Makefile,am : conditionally build. 2005-01-12 Mike Kestner * sample/gnomevfs/*.cs : s/Test.Gnome.VFS/TestGnomeVfs to avoid namespace collision problems with current mcs. 2005-01-11 Ben Maurer * configure.in: There might be multiple S.D assemblies (eg, if you build the 2.0 crap, you get a 1.1 and a 2.0). So use head -n1 when looking at gacutil 2005-01-11 Mike Kestner * configure.in : add test for System.Drawing. expand gtkdotnet. * Makefile.am : add gtkdotnet. * makefile.win32 : add gtkdotnet. * gtkdotnet/* : new .Net extensions assembly. Moved the sample sysdraw.cs Graphics class in here under the Gtk.DotNet namespace. * sample/sysdraw.cs : moved to gtkdotnet/Graphics.cs. * sample/drawing-sample.exe.config.in : killed. * sample/DrawingSample.cs : use Gtk.DotNet.Graphics. * sample/Makefile.am : make drawing-sample.exe build conditional on gtk-dotnet presence. 2005-01-11 Mike Kestner * gdk/Window.custom : add AddFilterForAll and RemoveFilterForAll methods to handle the window==null native case. [Fixes #71065] 2005-01-11 Mike Kestner * glib/Argv.cs : add automatic progname handling. * gdk/Global.custom : kill obsolete warnings by using GLib.Argv. 2005-01-11 Mike Kestner * gdk/Gdk.metadata : kill Colors since its methods are deprecated and it doesn't exist in 1.0. 2005-01-08 Ben Maurer * Makefile.include (install-data-local, uninstall-local): make this actually work for things that are disabled. 2005-01-08 Mike Kestner * configure.in : kill a ton of redundant stuff. * AssemblyInfo.cs.in : moved here, only need one. * Makefile.include : rules for building generated assemblies. * Makefile.am : removed gtk-sharp-2.0.pc handling. * */AssemblyInfo.cs.in : killed * */Makefile.am : refactored out a ton of rules to an include. * */*-pc.in : added Cflags entries pointing to the gapi files. * generator/CodeGenerator.cs : add -I: synonym --include. * gnomevfs/gnome-vfs-api.raw : remamed from gnomevfs-api.raw. * gtk/gtk-sharp-2.0.pc.in : moved here from top. * parser/gapi-fixup.cs : add --symbol arg to merge sym files. * sources/gtk-sharp-sources.xml : remamed gnome-vfs-api.raw. 2005-01-07 Mike Kestner * sample/Makefile.am : mdb cleanup. * sample/GtkDemo/Makefile.am : mdb cleanup. 2005-01-07 Mike Kestner * configure.in : check for panelapplet in enable_gnome and remove all the stuff for a separate panelapplet-sharp assembly. * Makefile.am : remove panelapplet dir from build. * gnome/BonoboUIVerb.cs : moved from panelapplet. * gnome/Gnome.metadata : add rules from panelapplet. * gnome/Makefile.am : add new files. * gnome/PanelApplet.custom : moved from panelapplet. * gnome/PanelAppletFactory.cs : moved from panelapplet. * gnome/glue/panelapplet.c : moved from panelapplet. * gnome/glue/Makefile.am : add new file. * gnomedb/GnomeDb.metadata : hide a newly parsed "obsolete" type. * gtk/Gtk.metadata : hide a newly parsed "obsolete" callback type. * panelapplet : kill dir. * parser/gapi2xml.pl : update callback name sanity check. * sources/gtk-sharp-sources.xml : move panelapplet parse into gnome. * */*-api.raw : regen. 2005-01-07 Dan Winship * gtk/Gtk.metadata: Hide the Gtk.Image ctors generated from gtk_image_new_from_icon_set and gtk_image_new_from_stock. * gtk/Image.custom: Implement them here, taking into account the fact that the "icon_size" property is mysteriously an int rather than a Gtk.IconSize. * gtk/Makefile.am (customs): add Image.custom * gtk/Gtk.metadata: gtk_window_set_focus accepts NULL 2005-01-06 Larry Ewing * gtk/StockItem.custom: add a ctor for StockItem. * gtk/Makefile.am: add StockItem.custom to the build. 2005-01-06 Dan Winship * gtk/Gtk.metadata: Rename gtk_stock_add() back to Gtk.StockManager.Add like it was in 1.0; Gtk.Stock.Add already means something else. [#71044] 2005-01-06 Mike Kestner * gtk/Gtk.metadata : hide GtkSignal and SignalRunType. 2005-01-06 Mike Kestner * gnomevfs/gnomevfs-symbols.xml : FileSize is a long long. * generator/SymbolTable.cs : map longlong to C# long. 2005-01-05 Mike Kestner * gtk/gtk-api.raw : regen. * sources/gtk-sharp-sources.xml : hide xembed.h and gtkxembed.h. 2005-01-05 Mike Kestner * gtk/TreeView.custom : add back the TreeCellDataFunc overloads for backward compat. * gtk/TreeViewColumn.custom : add back the TreeCellDataFunc overloads for backward compat. 2005-01-05 Mike Kestner * generator/Field.cs : deal with LPGen/LPUGen fields. 2005-01-05 Mike Kestner * gtk/gtk-api.raw : regen. * sources/gtk-sharp-sources.xml : exclude gtkiconthemeparser.h. [Fixes #70898] 2005-01-05 Mike Kestner * gtk/Gtk.metadata : hide some internal Image*Data structs. 2005-01-05 Alp Toker * gtk/TextBuffer.custom : Mark SetText obsolete in favour of the Text property, and use Text in SetText in the meantime. 2005-01-04 Mike Kestner * gtk/gtk-api.raw : regen'd. * sources/gtk-sharp-sources.xml : exclude file system backend source. [Fixes #70904, #70897, and #70900] 2005-01-04 Mike Kestner * gtk/Gtk.metadata : mark out params for IMContext.GetSurrounding and GetPreeditString. [Fixes #70995] 2005-01-04 Mike Kestner * gtk/CellLayout.custom : declare SetAttributes and SetCellDataFunc. * gtk/CellView.custom : impl SetAttributes and SetCellDataFunc. * gtk/ComboBox.custom : impl SetAttributes and SetCellDataFunc. * gtk/EntryCompletion.custom : impl SetAttributes and SetCellDataFunc. * gtk/Gtk.metadata : hide some methods to be manually implemented. * gtk/Makefile.am : add new customs. * gtk/NodeCellDataFunc : use CellLayoutDataFuncNative. * gtk/TreeView.custom : use CellLayoutDataFunc not TreeCellDataFunc. * gtk/TreeViewColumn.custom : impl SetAttributes and SetCellDataFunc. [Fixes #70941] 2005-01-04 Mike Kestner * gtk/Gtk.metadata : set preferred on CellViewMenuItem.NewWithText. [Fixes #70938] 2005-01-03 Mike Kestner * gtk/NodeStore.cs : expose TreeModelFlags.ListOnly if the TreeNode has ListOnly set. * gtk/TreeNodeAttribute.cs : add ListOnly named value. 2004-12-30 Mike Kestner * glib/Object.cs : mark the Data hashtable obsolete. 2004-12-30 Mike Kestner * gtk/Gtk.metadata : hide TreeView.InsertColumnWith*. * gtk/TreeView.cs : manual implementations of InsertColumn overloads for WithAttributes and WithDataFunc. 2004-12-30 Alp Toker * README.generator: Close tag fix for example XML. 2004-12-28 Jeroen Zwartepoorte * sample/gnomevfs/TestVolumes.cs: Update sample. 2004-12-28 Jeroen Zwartepoorte * gnomevfs/Gnomevfs.metadata: Hide some more API. * gnomevfs/VfsStreamAsyncResult.cs: Make Done property internal. * gnomevfs/VolumeMonitor.custom: Hide GList API. 2004-12-28 Jeroen Zwartepoorte * gnomevfs/Directory.cs: PInvoke the _uri methods directory instead of using the ToString() methods. * gnomevfs/FileInfo.cs: Make the FileInfoNative field internal. * gnomevfs/Gnomevfs.metadata: Hide a bunch of unwanted API. * gnomevfs/Uri.custom: New API. * gnomevfs/Vfs.cs: Idem. 2004-12-27 Mike Kestner * generator/CallbackGen.cs : use ReturnValue and more of Parameter. * generator/GenBase.cs : remove unused NSElem prop. 2004-12-27 Jeroen Zwartepoorte * gnomevfs/Directory.cs: s/uint/FilePermissions/. * gnomevfs/Gnomevfs.metadata: Make a bunch of API more user-friendly & C# like. * gnomevfs/Monitor.cs: Add internal MonitorEventType enum. * gnomevfs/Uri.custom: Move a bunch of API from Vfs.cs to Uri. * gnomevfs/Vfs.cs: Only put initialize & shutdown methods in here (plus some debug API). * gnomevfs/VfsStream.cs: Use new Uri API. * sample/gnomevfs/TestUnlink.cs: Fix sample. 2004-12-27 Mike Kestner * generator/EnumGen.cs : rework for a single pass thru ChildNodes. * generator/Parameters.cs : simplify PassAs logic. * generator/SimpleBase.cs : mark abstract. 2004-12-27 Mike Kestner * generator/AliasGen.cs : derive from SimpleBase. * generator/ConstStringGen.cs : derive from SimpleBase. * generator/GObjectGen.cs : kill. now uses ManualGen. * generator/GStringGen.cs : kill. now uses MarshalGen. * generator/GUnicharGen.cs : kill. now uses MarshalGen. * generator/LPGen.cs : derive from SimpleGen. * generator/Makefile.am : update source files. * generator/ManualGen : make this general for handle types. * generator/MarshalGen : new CallByName/FromNative formatter class. * generator/SymbolTable.cs : needed some reorganizing and some restructuring of types to use MarshalGen. * generator/TimeTGen.cs : kill. now uses MarshalGen. 2004-12-26 Mike Kestner * generator/Makefile.am : add new file. * generator/SimpleBase.cs : new class for non-generated type mappers. * generator/*Gen.cs : first refactoring of "Simple" generatable types. Derive them all from SimpleBase. More to come. 2004-12-26 Mike Kestner * generator/CustomMarshalerGen.cs : kill bad idea unused class. * generator/Makefile.am : remove CustomMarshalerGen.cs. * generator/Method.cs : remove CustomMarshalerGen reference. 2004-12-26 Mike Kestner * generator/*Gen.cs : implement IGeneratable fully on GenBase with abstract methods where necessary to refactor a ton of redundant code. 2004-12-23 Mike Kestner * glib/ClassInitializerAttribute.cs : new attr for identifying type. inialization methods to be run by RegisterGType. * glib/Makefile.am : add file. * glib/Object.cs : add private method to invoke ClassInitializers. * gtk/glue/widget.c : some new glue for binding registration. * gtk/BindingAttribute.cs : new attr for registering key bindings. * gtk/Makefile.am : add file. * gtk/Widget.custom : add ClassInitializer method to scan types for [Binding] and register key bindings. 2004-12-22 Dan Winship * generator/Signal.cs: fix some WriteLine()s that should have been Write()s 2004-12-22 Dan Winship * sources/gtk-sharp-sources.xml: exclude a bunch of uninstalled gtk headers. * gtk/gtk-api.raw: regen * gtk/Gtk.metadata: Remove some explicit hiding of things that shouldn't have been there anyway. Hide a few types that just show up as unusable stubs. 2004-12-22 Mike Kestner * gdk/gdk-api.raw : update enum values. * gnome/gnome-api.raw : update enum values. * gtk/gtk-api.raw : update enum values. * pango/pango-api.raw : update enum values. * parser/gapi2xml.pl : pull whitespace out of enum prefixing logic. [Fixes #70593] 2004-12-21 Mike Kestner * glib/Argv.cs : argv marshaling class. * glib/Makefile.am : add file. * glib/Marshaller.cs : mark the argv methods obsolete. * gtk/Application.cs : use GLib.Argv. [Fixes #68812] 2004-12-21 Dan Winship * generator/CallbackGen.cs: * generator/CodeGenerator.cs: * generator/ManagedCallString.cs: * generator/Property.cs: Remove unused vars * generator/Method.cs (GetHashCode): have to implement this since we're overriding Equals. * generator/CallbackGen.cs: print a message when generating a broken struct-returning callback. (Currently affects GtkSharp.TextSegSplitFuncNative and GtkSharp.TextSegCleanupFuncNative) * gdk/glue/device.c: * gdk/glue/dragcontext.c: Add missing prototypes * gtk/Gtk.metadata: Mark SeparatorToolItem.Draw "new". Re-rename CheckMenuItem.Toggled to EmitToggled rather than Toggle, since that's a better description of what it does. * gtk/CheckMenuItem.custom: implement a "Toggle" method that does what the documentation claims it does. * gtk/NodeStore.cs: remove unused var * gnome/Gnome.metadata: mark DateEdit.Flags, Dialog.Default, and PropertyBox.State "new". Hide GnomePixmapEntry.GnomeEntry and GnomePixmapEntry.GtkEntry since they do exactly the same thing as the methods of the same names inherited from GnomeFileEntry. * gnome/glue/canvas-proxy.c: * gnome/glue/canvas-proxy.h: * gnome/glue/canvas-proxy-marshal.c: * gnome/glue/canvas-proxy-marshal.h: * gnome/glue/canvas-proxy-marshal.list: Remove unused code * gnome/glue/Makefile.am (libgnomesharpglue_2_la_SOURCES): update * panelapplet/PanelApplet.metadata: mark PanelApplet.Flags "new" * sample/CanvasExample.cs: * sample/CustomCellRenderer.cs: * sample/CustomNotebook.cs: * sample/DrawingSample.cs: * sample/Fifteen.cs: * sample/GladeTest.cs: * sample/GtkDemo/DemoHyperText.cs: * sample/GtkDemo/DemoPixbuf.cs: * sample/ScribbleXInput.cs: remove unused vars, use GLib.Timeout.Add rather than the deprecated Gtk.Timeout.Add 2004-12-21 Jeroen Zwartepoorte * gnomevfs/Async.cs: * gnomevfs/Directory.cs: * gnomevfs/Sync.cs: * gnomevfs/Vfs.cs: Make the constructors private so they don't show up in monodoc (these classes aren't meant to be instantiated). 2004-12-21 Jeroen Zwartepoorte * gnomevfs/Gnomevfs.metadata: Hide the auto-generated ModuleCallback stuff in favor of the more developer friendly custom bindings. * gnomevfs/Makefile.am: * gnomevfs/ModuleCallbackAuthentication.cs: * gnomevfs/ModuleCallbackFillAuthentication.cs: * gnomevfs/ModuleCallbackFullAuthentication.cs: * gnomevfs/ModuleCallbackSaveAuthentication.cs: * gnomevfs/ModuleCallbackStatusMessage.cs: Complete the module callback implementations. 2004-12-20 Mike Kestner * gdk/Gdk.metadata : mark a couple array params. * generator/Field.cs : remove the MarshalAs hack. We have to do something much more evil since MarshalAs can't hang. * generator/ImportSignature.cs : deal with out LP(U)Gen params. * generator/LPGen.cs : moved from SSizeTGen and generalized. * generator/LPUGen.cs : moved from SizeTGen and generalized. * generator/Makefile.am : update sources. * generator/MethodBody.cs : deal with out LP(U)Gen params. * generator/Parameters.cs : deal with out LP(U)Gen params. * generator/SymbolTable.cs : make all longs and size_t types LP(U)Gens. 2004-12-20 Dan Winship * generator/GUnicharGen.cs: generatable for gunichar, using GLib.Marshaller.CharToGUnichar and .GUnicharToChar [#70704] * generator/SymbolTable.cs (SymbolTable): add a GUnicharGen. * generator/Makefile.am (sources): add GUnicharGen.cs * parser/gapi2xml.pl (addPropElem): g_param_spec_unichar() has type "gunichar" not "unichar". * gtk/gtk-api.raw: Regen * glib/Marshaller.cs: Import CharToGUnichar's glue method by the right name 2004-12-20 Dan Winship * gtk/Gtk.metadata: Don't rename GtkStock to StockManager, hide Lookup (so we can customize it) and AddStatic (since it can't work right from managed code), and tweak the params of Add. * gtk/Stock.custom: Implement Lookup() using a special ConstStockItem struct so the p/invoke layer won't try to free static strings. [#70589] * sample/GtkDemo/DemoStockBrowser.cs: update this to work with that. (It used to crash.) 2004-12-20 Mike Kestner * generator/Property.cs : generate Interface properties. * gtk/ComboBox.custom : remove dup model prop. * gtk/TreeView.custom : remove dup model prop. 2004-12-20 Jeroen Zwartepoorte * gnomevfs/Makefile.am: * gnomevfs/ModuleCallback.cs: * gnomevfs/ModuleCallbackAuthentication.cs: * gnomevfs/ModuleCallbackFullAuthentication.cs: * gnomevfs/Vfs.cs: Use a custom VfsException for Result errors. * gnomevfs/VfsException.cs: new custom Exception class. * sample/gnomevfs/Makefile.am: * sample/gnomevfs/TestCallback.cs: Implement custom bindings for the ModuleCallback mechanism. Atm, only the GNOME_VFS_MODULE_CALLBACK_AUTHENTICATION and GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION callbacks are implemented. Also added a test-case using the full authentication callback (tested using the sftp: method). [Partially fixes #70602] 2004-12-18 Mike Kestner * configure.in : bump version in preparation for 1.9.1 release. 2004-12-18 Mike Kestner * gtk/ColorSelectionDialog.custom : fix some incorrect object wrapping and mark the ColorSelectionButton nested class Obsolete with a heinous warning message. [Fixes #68450] 2004-12-18 Mike Kestner * generator/Field.cs : add MarshalAs attrs for (u)longs. 2004-12-18 Mike Kestner * gconf/GConf/ChangeSet.cs : add internal Handle prop. * gconf/GConf/Engine.cs : new class to expose the default gconf engine perform changeset commits and reverses. 2004-12-17 Mike Kestner * gtk/ListStore.custom : dispose a bunch of GLib.Values. * gtk/TreeStore.custom : ditto. Reworked and expanded from a patch by Ben "valgrind-boy" Maurer. [Fixes #69925] 2004-12-17 Mike Kestner * glade/XML.custom (BindFields) : support multiple autoconnects in different roots by not writing null widgets to the tagged fields. [Fixes #68455] 2004-12-17 Mike Kestner * gtk/Gtk.metadata : hide Object and Widget.Destroy. * gtk/Object.custom : manual virtual Destroy impl. * gtk/Widget.custom : manual virtual Destroy impl. * gtk/Window.custom : hold a managed ref for all toplevels. Release it in a Destroy override. Window is frequently subclassed and is never parented, so this keeps a managed ref around to avoid GC. [Fixes #70120] 2004-12-17 Mike Kestner * gdk/Gdk.metadata : mark out param on Window.GetFrameExtents. * gdk/WindowAttr.custom : new typed Mask prop. * gtk/Widget.custom : new typed WidgetFlags prop. mark Flags obsolete. 2004-12-17 Mike Kestner * gtk/Makefile.am : add new file. * gtk/glue/makefile.win32 : add missing file. * gtk/NodeCellDataFunc.cs : new callback delegate type and marshaler for NodeStore tree views using GtkTreeCellDataFuncs. * gtk/NodeStore.cs : add internal GetNode overload by TreeIter. * gtk/NodeView.cs : add AppendColumn overload that uses data funcs. * gtk/TreeViewColumn.custom : manual implementation for SetCellDataFunc to support both TreeIter and ITreeNode models. We need to hold a ref to a delegate for each cell renderer on a column. [Fixes #63062] * sample/NodeViewDemo.cs : use a NodeCellDataFunc for one of the cell renderers in the tree. 2004-12-17 Dan Winship * generator/Field.cs (StudlyName): Fall back to using "cname" if "name" isn't defined (ie, when using the latest generator against api files output by an older parser). 2004-12-17 Dan Winship * generator/ClassBase.cs (IgnoreMethod): Don't ignore GetFoo and SetFoo methods if they aren't in the right form to be turned into property accessors. (Causes 13 previously ignored methods to now be wrapped. See doc/ChangeLog.) * gtk/Gtk.metadata: Fix up a few of those newly-exposed methods 2004-12-16 Dan Winship * generator/ManagedCallString.cs (Setup, Finish, ToString): Add new methods to allow arbitrary setup and teardown code around the managed call. When passing a type with "complicated" marshalling requirements as a ref or out param, first assign the value to a temporary variable (in Setup), then pass the temp as the ref or out param (in ToString), and then assign the new value back to the original argument (in Finish). * generator/Signal.cs: * generator/SignalHandler.cs: Update to generate correct glue for signals with "ref" or "out" params. (#70566) * generator/VirtualMethod.cs: Update for ManagedCallString change * generator/IGeneratable.cs: add comments explaining what each member does * gtk/Gtk.metadata: mark Editable.InsertText's "position" arg pass-by-ref * sample/Size.cs: connect to the SizeRequested event and override it, to test/demo the changes 2004-12-16 Dan Winship * parser/gapi_pp.pl: Don't strip out /*< public >*/ and /*< private >*/ comments. * parser/gapi2xml.pl: Use those comments to determine the accessibility of struct/object fields, and set the "access" attribute on fields with non-default accessibiliy (private for structs, public for objects). Also, output a StudlyName for each field as well as a c_name. * */*-api.raw: Regen * generator/Field.cs (StudlyName): Use the parser-generated studly name rather than studlifying Name, which might have been mangled to avoid conflicts with an all-lowercase keyword. (Generate): Respect the access property on all field types rather than always making certain types public. Don't bother outputting wrapper properties for private fields, since the only code that could use them is the generated code, which won't. Part of #69514. See doc/ChangeLog for the (very minimal) fallout from these changes. 2004-12-16 Mike Kestner * sample/NodeViewDemo.cs : rework of TreeViewDemo to use NodeStore. * sample/TreeViewDemo.cs : added some timing and node counting fu. 2004-12-16 Duncan Mak * gtk/Makefile.am (sources): Added NodeSelection and NodeView. * gtk/NodeSelection.cs: New file, an implementation of TreeSelection that exposes ITreeNodes instead of TreeIters. * gtk/NodeStore.cs : added internal GetIter and GetPath methods for NodeSelection. Reworked [TreeNodeValue] lookup logic. out what the Type of data the store holds. * gtk/NodeView.cs: New subclass of TreeView utilizing NodeStore and NodeSelection. * gtk/TreeIter.custom : new internal UserData prop. * gtk/TreeNodeValueAttribute.cs: Set AllowMultiple to true. * gtk/TreeView.custom: Obsoleted constructor that uses a NodeStore as parameter. NodeView should be used instead. 2004-12-16 Tambet Ingo * glib/Opaque.cs : hold a weakref in the hash, not a strong ref. 2004-12-15 Mike Kestner * gnome/Gnome.metadata : resolve a collision that was causing Print class methods to be lost. 2004-12-13 Mike Kestner * configure.in : make gtkhtml conditional on enable_gnome. [Fixes #70502] 2004-12-09 Mike Kestner * gtkhtml/HTML.custom : remove obsolete attr for Write overload. * gtkhtml/HTMLStream.custom : ditto. 2004-12-09 Mike Kestner * gtkhtml/HTML.custom : add an back-compat obsolete overload for Write. * gtkhtml/HTMLStream.custom : add an obsolete overload for Write. 2004-12-09 Mike Kestner * generator/Makefile.am : new files. * generator/MethodBody.cs : fix for length param code. * generator/SizeTGen.cs : smarter size_t marshaling. * generator/SSizeTGen.cs : smarter ssize_t marshaling. * generator/SymbolTable.cs : use the new generatables. 2004-12-08 John Luke * sources/README: update versions of the libs 2004-12-08 Mike Kestner * art/Art.metadata : mark some ints as bools. [Fixes #61047] 2004-12-08 Jeroen Zwartepoorte * sample/Makefile.am: Readded TestVfs.cs back and make it conditional. * sample/TestVfs.cs: New sample contributed by Tamara Roberson. [Fixes #70262] 2004-12-07 Mike Kestner * gtk/glue/style.c : add missing method and prototype. [Fixes #70216] 2004-12-07 Mike Kestner * */*.cs : s/glue-2.0/glue-2 so that dllimport works on win32. * */*.custom : s/glue-2.0/glue-2 * */glue/makefile.win32 : s/glue-2.0/glue-2 * */glue/Makefile.am : s/glue-2.0/glue-2 2004-12-06 John Luke * gtk/Gtk.metadata: set with_mnemonic as the preferred ctor * doc/en/Gtk/Expander.xml: update 2004-12-06 John Luke * gtk/Action.custom * gtk/ActionGroup.custom * gtk/UIManager.custom * gtk/Gtk.metadata * doc/en/Gtk/ActionGroup.xml * file doc/en/Gtk/Action.xml * doc/en/Gtk/UIManager.xml: replace List and SList with arrays and update the docs 2004-12-06 Mike Kestner * generator/SymbolTable.cs : add off_t as an IntPtr. 2004-12-06 Mike Kestner * generator/SignalHandler.cs : s/[]/Array in BaseName. [Fixes #69383] 2004-12-06 Mike Kestner * doc/en/*/*.xml : docs for new GValue members and size_t changes. * generator/SymbolTable.cs : add ssize_t and make size_t a UIntPtr instead of the current broken int mapping on 64 bit platforms. * gtkhtml/HTMLStream.custom : fix size_t related overload. [fixes #69574] 2004-12-03 Dan Winship * gdk/gdk-symbols.xml: alias GdkBitmap to GdkPixmap [Fixes #68824] * gdk/Gdk.metadata: Remove the earlier GdkBitmap hack now that it's aliased. Also move Gdk.Bitmap.CreateFromData to Gdk.Pixmap.CreateBitmapFromData * gdk/Pixbuf.custom (RenderPixmapAndMask, RenderPixmapAndMaskForColormap, RenderThresholdAlpha): s/Bitmap/Pixmap/ * sample/GtkDemo/DemoTextView.cs: uncomment the fg/bg stipple code, since that works now * parser/gapi-fixup.cs: Add an "add-node" rule. This turned out to not actually be needed for this fix, but we know we'll need it later, so here it is. 2004-12-03 Jorge Garcia * glib/Type.cs: add Int64 and UInt64 support. * glib/TypeConverter.cs: add Int64 and UInt64 support. * glib/Value.cs: add Int64 and UInt64 support. 2004-12-03 Mike Kestner * gtk/Dialog.custom : correct return value for AddButton overload. [Fixes #70121] 2004-12-03 Mike Kestner * gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor. [Fixes #69041] 2004-12-03 Dan Winship * gtk/Gtk.metadata: Pass TextIters by ref almost everywhere. [Fixes #70187]. Kill two varargs warnings. * gtk/TextBuffer.custom: Update for that, and also implement InsertWithTagsByName * sample/GtkDemo/DemoHyperText.cs: * sample/GtkDemo/DemoTextView.cs: Remove kludges for broken TextIter handling. Also fix the i18n demo bits by translating the octal-encoded UTF-8 to hex-encoded UTF-16. 2004-12-03 Mike Kestner * gtk/Gtk.metadata : hide junk methods in Global. [Fixes #60895] 2004-12-03 Mike Kestner * gtk/Gtk.metadata : hide Visibility enum. [Fixes #60704] 2004-12-01 Todd Berman * generator/StructGen.cs: Check to see if a GType is going to be generated. If not, generate a GType.Pointer. This fixes bug #70017. * glib/TypeConverter.cs: Remove the .IsValueType check, as those now have GType properties. * gda/Gda.metadata: Change GdaValue.GType to GdaValue.GdaType. * doc/en/Gda/Value.xml: Regenerated to reflect new API. 2004-11-30 Dan Winship * sample/GtkDemo/DemoImages.cs: Fix some crashers discovered while trying to use this as a test case to figure out whether or not I'd broken Gtk#. Sigh. :) 2004-11-30 Mike Kestner * glib/glue/value.c : add back some code lost in the merge of 2-4-branch. [Fixes #70045] 2004-11-26 Jeroen Zwartepoorte * gtk/ActionEntry.cs: * gtk/ActionGroup.custom: * gtk/Gtk.metadata: * gtk/Makefile.am: * gtk/RadioActionEntry.cs: * gtk/ToggleActionEntry.cs: * gtk/UIManager.custom: * sample/Actions.cs: Updated to use the new *ActionEntry code. Reflects testactions.c from gtk+ now. Added C# syntactic sugar for easily defining Action's for the UIManager. Derived from the same ActionEntry structs in gtk+. 2004-11-22 Dan Winship * generator/ClassBase.cs: * generator/ObjectGen.cs: Move child property handling from ClassBase to ObjectGen (as suggested by Mike) since it's only used there 2004-11-18 Mike Kestner * generator/InterfaceGen.cs : beginnings of a real implementation for GInterfaces. Not quite ready yet, so it's not active in generation. 2004-11-18 Mike Kestner * generator/Makefile.am : add new file. * generator/Method.cs : add Declaration property. * generator/VirtualMethod.cs : new class to generate virtual methods for Interfaces and objects. Unfinished. 2004-11-18 Mike Kestner * generator/ClassBase.cs : remove a "new" string in the ChildProp class holder decl to fix build warnings. 2004-11-18 Mike Kestner * atk/Atk.metadata : mark an out param on Value. 2004-11-18 Mike Kestner * generator/*Gen.cs : add ToNativeReturnType to deal with the g_free string nonsense in the virtual method case. 2004-11-18 Mike Kestner * generator/AliasGen.cs : make this a SimpleGen. 2004-11-18 Mike Kestner * parser/gapi2xml.pl : fix a missing semi in a vm regex. * */*-api.raw : regen with missing vms. 2004-11-18 Dan Winship Redo child property handling; now we generate classes to hold the child properties for a given widget in a container, and generate the child properties as properties on those classes. * parser/gapi2xml.pl (addPropElem): don't prepend "child_" to child prop names any more * generator/ClassBase.cs (ClassBase): keep childprops separate from properties (GenChildProperties): create a subclass of Gtk.ContainerChild containing the container type's child properties, and override the Container indexer to return that type. * generator/ObjectGen.cs (Generate): call GenChildProperties * generator/Property.cs: * generator/ChildProperty.cs: Simplify these a bunch, since child properties are now represented as C# properties as well. Also add [GLib.Property(cname)] and [Gtk.ChildProperty(cname)] attributes. * glib/Makefile.am (sources): add PropertyAttribute.cs * glib/PropertyAttribute.cs: attribute used to label GObject properties * gtk/Makefile.am (sources): add ChildPropertyAttribute.cs * gtk/gtk-api.raw: regenerate for parser changes (remove "Child"/"child_" from child property names). * gtk/ChildPropertyAttribute.cs: attribute used to label GtkContainer child properties * gtk/Container.custom: define the ContainerChild class, and an indexer to return instances of it. 2004-11-17 Jorn Baayen * gtk/FileChooserDialog.custom : set TransientFor, not Parent. [Fixes #69626] 2004-11-17 Mike Kestner * gnome/Makefile.am : kill unused file. * gnome/voidObjectAffineSVPintSignal.cs : kill old file. 2004-11-17 Mike Kestner * generator/Makefile.am : add new file. * generator/Method.cs : refactoring to use ReturnValue. * generator/MethodBody.cs : remove unnecessary code. * generator/ReturnValue.cs : class for redundant retval handling. * generator/Signal.cs : refactoring for ReturnValue. * generator/SignalHandler.cs : refactoring for ReturnValue. 2004-11-16 Dan Winship * glib/Value.cs: add new constructors for enum and boxed values that take the name of the type rather than an object/property name pair; this way they work for both GObject properties and GtkContainer child properties. * glib/glue/value.c (gtksharp_value_create_from_type_name): glue for that * glib/Opaque.cs (GetOpaque): Fix this. * generator/Property.cs (Generate): Use the new GLib.Value constructors. (Fixes setting of enum-valued child properties.) 2004-11-15 Dan Winship * gtk/glue/container.c (gtksharp_container_get_focus_child): New glue method to get container->focus_child * gtk/Gtk.metadata: hide SetFocusChild * gtk/Container.custom (FocusChild): implement with both getter and setter 2004-11-15 Mike Kestner * gtk/Gtk.metadata : hide the Get/Set Color methods that are marked deprecated but didn't exist in 1.0. 2004-11-13 Duncan Mak * generator/SymbolTable.cs: Add support for GDestroyNotify, so that `gtk_cell_layout_set_cell_data_func' will be generated in Gtk.ComboBox. 2004-11-13 Mike Kestner * */*-api.raw : rerun the parser for new vm-age and cleanups. * parser/gapi_pp.pl : suppress union types, since we can't generate them. smarter get_type regex. ignore #errors. * parser/gapi2xml.pl : generate vm elements for GInterfaces. Deal with G_CONST_RETURN in vms. deal with "struct _foo" types in method prototypes. * gtk/ComboBox.custom : remove now correctly generated dllimport. 2004-11-13 Mike Kestner * sources/gda.patch : fix broken signal defs. * sources/gnomedb.patch : fix broken signal defs. * sources/Makefile.am : apply new patches, and dist some others. 2004-11-12 Mike Kestner * parser/gapi_pp.pl : fix multi-line extern parsing. 2004-11-12 Mike Kestner * parser/gapi_pp.pl : fix a struct parsing bug. 2004-11-12 Mike Kestner * sources/gtk-sharp-sources.xml : exclude a couple more pango headers. 2004-11-09 Mike Kestner * */Makefile.am : make the Obsolete warnings shaddup. 2004-11-09 Mike Kestner * configure.in : conditional stuff for gnomevfs * doc/Makefile.am : conditionally update panelapplet and gnomevfs. * doc/en/*/* : update to add PanelApplet and Gnome.Vfs stubs. * gnomevfs/Makefile.am : make conditional 2004-11-08 Dan Winship * glib/Object.cs (CreateNativeObject): virtualize (Object(GType)): Mark this ctor Obsolete * gtk/Gtk.metadata: disable the generated GType ctor on Gtk.Widget * gtk/Widget.custom (Widget, CreateNativeObject, Widget_ParentSet): Connect to our own ParentSet event from CreateNativeObject and the GType ctor, and keep a static Hashtable of parented widgets, so that adding a managed widget to a container keeps both the GObject and the managed object alive. * generator/ObjectGen.cs (GenCtors): handle the disable_gtype_ctor flag. Also, mark GType ctors [Obsolete] * generator/ChildProperty.cs: * generator/Property.cs: Fix child property names. 2004-11-07 Jeroen Zwartepoorte * gtk/Gtk.metadata: Fix some TreeModelFilter stuff (similar to TreeModelSort). 2004-11-05 Jeroen Zwartepoorte * gnomevfs/*.cs: Add copyright/LGPL header. * gnomevfs/*.custom: Idem. * gnomevfs/Mime.cs: Obsolete, replaced by MimeType.cs. * gnomevfs/MimeActionType.cs: Obsolete, generated now. * gnomevfs/OpenMode.cs: Idem. * gnomevfs/Result.cs: Idem. * gnomevfs/SeekPosition.cs: Idem. 2004-11-05 Dan Winship * parser/gapi2xml.pl (parseInitFunc, addPropElem): handle GtkContainer child properties * generator/Property.cs: * generator/ChildProperty.cs: make Property subclassable and add a "ChildProperty" subclass. * generator/Makefile.am (sources): add ChildProperty.cs * generator/ClassBase.cs: handle "childprop" nodes by creating ChildProperty objects. * glib/Value.cs (explicit operator EnumWrapper): use g_value_get_flags() rather than g_value_get_enum() when appropriate. * glib/glue/value.c (glibsharp_value_holds_flags): glue for that * gtk/gtk-api.raw: regen to pick up child properties * gtk/Gtk.metadata: * gtk/Container.custom: hide the auto-generated Gtk.Container.ChildGetProperty and implement a nicer one by hand. * gtk/glue/container.c (gtksharp_container_child_get_property): utility function to set up an appropriate GValue for us 2004-11-05 Tambet Ingo * generator/OpaqueGen.cs: Add optional "parent" attribute to Opaque types. 2004-11-04 Jeroen Zwartepoorte * gnomevfs/Directory.cs: Add async GetEntries Uri alias. * gtk/FileChooserDialog.custom: Add nice custom properties for Uris. ListFilters, ListShortcutFolders and ListShortcutFolderUris. * gtk/FileChooserWidget.custom: Idem. * gtk/Gtk.metadata: Idem. 2004-11-04 Todd Berman * glib/ListBase.cs: In Empty, call FreeList, not Dispose. 2004-11-04 Todd Berman * glib/ListBase.cs: Make sure to properly check if it is a GLib.Object subclass. 2004-11-04 Todd Berman * doc/en/GLib/ListBase.xml: Add documentation for ListBase.Empty * glib/ListBase.cs: Add ListBase.Empty, frees the children and the list. * glib/Markup.cs: Fix Alex's tomboy crash, sending -1 instead of Length. * gtk/FileChooserDialog.custom: * gtk/FileChooserWidget.custom: properly free the list. 2004-11-03 Todd Berman * gtk/FileChooserDialog.custom: * gtk/FileChooserWidget.custom: Properly implement .Filenames. The old code was a really bad c&p job. 2004-11-02 Jeroen Zwartepoorte * gnomevfs/AsyncDirectoryLoadCallback.cs: * gnomevfs/AsyncDirectoryLoadCallbackNative.cs: * gnomevfs/Directory.cs: Implement asynchronous directory loading. * gnomevfs/FileInfo.cs: Clear the FileInfoNative struct in the destructor. * gnomevfs/Makefile.am: Add new callback files. * sample/gnomevfs/TestDirectory.cs: Add async test. 2004-11-01 Jeroen Zwartepoorte * gnomevfs/Directory.cs: New Create and Delete methods. Free the FileInfo List returned by gnome_vfs_directory_list_load. * gnomevfs/FileInfo.cs: Copy the FileInfoNative struct so the original can be properly freed. * gnomevfs/Vfs.cs: Move MakeDirectory and RemoveDirectory to Directory. 2004-11-01 Jeroen Zwartepoorte * gnomevfs/Directory.cs: Bind gnome_vfs_directory_list_load as a static FileInfo[] GetEntries (uri) method. * gnomevfs/FileInfo.cs: Add internal FileInfoNative constructor to create a FileInfo class based on an existing FileInfoNative struct. * gnomevfs/Makefile.am: * sample/gnomevfs/Makefile.am: * sample/gnomevfs/TestDirectory.cs: 2004-10-30 Todd Berman * gtk/ComboBox.custom: * gtk/FileChooserDialog.custom: * gtk/FileChooserWidget.custom: Fix c&p error with filename. 2004-10-29 Todd Berman * gtk/ComboBox.custom: Add a header. * gtk/FileChooserDialog.custom: Add subclassing support, and a header. * gtk/FileChooserWidget.custom: Add a header. 2004-10-29 Todd Berman * gtk/FileChooserDialog.custom: Add Filenames property to return the data as a string[] instead of a GSList. * gtk/FileChooserWidget.custom: Same as above. * gtk/Makefile.am: Add FileChooserWidget.custom 2004-10-30 Jeroen Zwartepoorte * sources/gtk-sharp-sources.xml: Invalid XML due to unremoved --> closing comment tag. 2004-10-29 Todd Berman * gtk/FileChooserDialog.custom: Allow a null parent. 2004-10-29 Todd Berman * gconf/GConf/gconf-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp 2004-10-29 Todd Berman * gtk-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp 2004-10-26 Dan Winship * gdk/Gdk.metadata: Remap all "out Gdk.Bitmap" params to be Gdk.Pixmaps instead, because the former will crash. Also fix the "data" param to Pixmap.CreateFromXpmD and Pixmap.ColormapCreateFromXpmD * gtk/Style.custom (TextAAGC, SetTextAAGC, LightGC, SetLightGC, DarkGC, SetDarkGC, MidGC, SetMidGC): add these to go along with BaseGC, SetBaseGC, etc. * gtk/glue/style.c: add the glue methods needed for the above 2004-10-21 Mike Kestner * generator/SymbolTable.cs : map unsigned int to uint. [Fixes #67732] 2004-10-21 Mike Kestner * configure.in : guard against broken installs where enable_gnome fails but enable_gnomedb succeeds. [Fixes #67986] 2004-10-20 Dan Winship * gdk/Window.custom: add a new constructor that takes a Gdk.WindowAttributesType rather than an int for attributes_mask. 2004-10-18 Dan Winship * generator/OpaqueGen.cs: Don't build the (IntPtr raw) constructor if "disable_raw_ctor" is set on the opaque type. * gtk/Gtk.metadata: Make GtkTargetList opaque (fixes a crash in Gtk.Drag.Begin), hide the generated constructor and ref/unref methods, and fix up the interpretation of AddTable. * gtk/TargetList.custom (TargetList, ~TargetList): Implement the suppressed constructors and add a finalizer, which handle refcounting the underlying struct. (Add, Find, Remove): convenience overloads that take string instead of Gdk.Atom. * gtk/Makefile.am (customs): add TargetList.custom 2004-10-07 Mike Kestner * gdk/Makefile.am : add missing custom file. * gdk/Pixmap.custom : add overloads for *CreateFromXPM* methods which default transparency mask and color. 2004-10-07 Todd Berman * gtk/Gtk.metadata: Mark ComboBox.GetActiveIter as an out param. 2004-10-06 John Luke * gtk/Action.custom: add overload for string, string, null, null * gtk/UIManager.custom: add overload to get the UI from a resource * gtk/Makefile.am: add the 2 new custom files * sample/Action.cs: remove using GtkSharp, make ui_info const, quit on Quit 2004-10-05 Todd Berman * gtk/ComboBox.custom: Add SetCellDataFunc to allow you to set a CellLayoutDataFunc on a ComboBox. 2004-10-05 Todd Berman * gtk/ComboBox.custom: new file, to allow get/set access to 'model'. * gtk/Makefile.am: add ComboBox.custom. 2004-10-05 Mike Kestner * gtk/Gtk.metadata : hide Selection.GetTargets. * gtk/SelectionData.custom : impl Targets prop and add Selection, Target, and Type field accessors. * gtk/glue/selectiondata.c : field accessor glue. 2004-10-04 Todd Berman * Merge forward patch from Miguel to fix delegate marshalling in 1.1.1. Original Changelog follows 2004-10-04 Todd Berman * */*.pc.in: Fix the Requires to use -2.0 2004-09-29 Mike Kestner * gtk/Gtk.metadata : hide some ellipsis methods, add pass_as attrs. * gtk/Object.custom : new IsFloating property. * gtk/glue/object.c : new gtksharp_object_set_floating glue. 2004-09-29 Mike Kestner * generator/GStringGen.cs : new generatable impl for GStrings. * generator/InterfaceGen.cs : better error reporting. * generator/Makefile.am : add new source file. * generator/Method.cs : better error reporting. * generator/SymbolTable.cs : add new GString igen. 2004-09-29 Mike Kestner * glib/GString.cs : new marshaling class for GStrings. Used by generator to map GString params and returns onto managed strings. * glib/Makefile.am : add new file. 2004-09-27 Mike Kestner * gtk/Button.custom : add a ctor (Widget). reworked from patch by John Luke. [Fixes #66228] 2004-09-26 Mike Kestner * glib/Idle.cs : proxy hash keys are uints, not ints. 2004-09-24 Mike Kestner * gtk/Bin.custom : make Child get/set. * gtk/Gtk.metadata : hide the Bin.get_child method. [Fixes #66232] 2004-09-23 Mike Kestner * gtk/Widget.custom : new OnSetScrollAdjustments VM. * gtk/glue/widget.c : glue for new VM. 2004-09-18 Miguel de Icaza * glib/Source.cs: Add new base class to hold the method to be called, and the proxy handler we use to keep references to them and avoid a collection. Exposes a new variables that references all the active Timeouts and Idle handlers to avoid collection/ * glib/Timeout.cs: Implement TimeoutProxy that acts as a filter to remove the proxy when the timeout is removed. Register a TimeoutProxy when we create a timeout. * glib/Idle.cs: Implement IdleProxy that acts as a filter to remove the proxy when the idle handler is removed. Register an IdleProxy when we create a timeout. 2004-09-17 Mike Kestner * configure.in : bump version and tag for 1.0.2. 2004-09-17 Mike Kestner * configure.in : bump version and tag for 1.0.2. 2004-09-17 Mike Kestner * configure.in : use either gtkhtml 3.0 or 3.2 2004-09-14 Mike Kestner * gdk/* : remaining API audit fixes. 2004-09-09 Mike Kestner * gdk/Device.custom : manual GetHistory impl. * gdk/Display.custom : manual GetPointer overloads. * gdk/Gdk.metadata : hides and array params. * gdk/Makefile.am : add new file. * gdk/TextProperty.cs : new manual impl of methods. 2004-09-03 Mike Kestner * configure.in : expand new doc/updater makefile * gtk/Gtk.metadata : hide Init.Check and AbiCheck*. * gtk/Init.custom : manual Init.Check impl. * gtk/Makefile.am : add Init.custom. 2004-08-31 Mike Kestner * gdk/Gdk.metadata : mark out params on *CreateWithXpm*. [Fixes #61116] 2004-08-31 Mike Kestner * gtk/NodeStore.cs : add GType prop to expose native gtype. [Fixes #61226] 2004-08-31 Mike Kestner * glib/Marshaller.cs : fix utc offseting for time_tToDateTime. [Fixes #60960] 2004-08-30 Tambet Ingo * glib/ListBase.cs : indexing bugfix for CopyTo. 2004-08-28 John Luke * gdk/Gdk.metadata: change Gdk.KeyVal name return-type from gchar* to const-gchar*, so we do not try to modify it (call gfree). [Fixes #64421] 2004-08-27 Jeroen Zwartepoorte * gnomevfs/Async.cs: Add Priority enum. Add methods which take an Uri object (similar to Sync methods). * gnomevfs/Vfs.cs: Add Truncate bindings. * gnomevfs/VfsStream.cs: Major fixes. Don't use the AsyncWaitHandle for blocking until an operation has finished. Fix (a)sync reading & writing. You either use sync/async throughout the code. Can't mix sync and async gnome-vfs method calls (different Handle objects). * gnomevfs/VfsStreamAsyncResult.cs: Throw NotSupportedException when AsyncWaitHandle property is accessed. * sample/gnomevfs/Makefile.am: New test programs. * sample/gnomevfs/TestAsync.cs: * sample/gnomevfs/TestAsyncStream.cs: * sample/gnomevfs/TestSyncStream.cs: 2004-08-26 Manuel V. Santos * gdk/Device.custom : glue to expose object fields. * gdk/DeviceAxis.custom : expand the ToString to incl use: * gdk/EventButton.custom : fix for Axes prop. * gdk/EventMotion.custom : fix for Axes prop. * gdk/Gdk.metadata : hide some accessors on Device. * gdk/Makefile.am : add new custom. * gdk/glue/Makefile.am : add new .c * gdk/glue/makefile.win32 : add new .o * gdk/glue/device.c : ditto. * gtk/InputDialog.custom : glue to expose button fields. * gtk/Makefile.am : add new custom. * gtk/glue/Makefile.am : add new .c * gtk/glue/makefile.win32 : add new .o * gtk/glue/inputdialog.c : ditto. * sample/ScribbleXInput.cs : new sample using extension events. 2004-08-25 Mike Kestner * generator/Signal.cs : use typeof instead of Type.GetType to specify the event args type. * glib/ObjectManager.cs : beef up the type lookup code using Assembly.LoadWithPartialName to fix a very popular win32 bug. [Fixes #61139 and friends] Thanks to John Luke for expert patch testing on win32. 2004-08-25 John Luke * glib/MainLoop.cs: MainLoop implementation by Jeroen [Fixes #61493] 2004-08-24 Mike Kestner * gtk/Gtk.metadata : kill TreeDataList and TreeDataSortHeader internal types. 2004-08-24 Larry Ewing * gtk/Gtk.metadata : Style.PaintPolygon has an array of points. 2004-08-24 John Luke * gtk/Makefile.am: add Menu.custom * gtk/Menu.custom: new custom for Popup () overload [Fixes #60668] * rsvg/Pixbuf.custom: new custom file * rsvg/Makefile.am: add Pixbuf.custom to build * rsvg/Tool.cs: remove double ; that cause warnings * rsvg/rsvg-sharp.pc.in: add Requires: gtk-sharp art-sharp [Fixes #60894] * gdk/PixbufLoader.custom: add Write () overload [Fixes #62681] 2004-08-24 Larry Ewing * gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults to the entire pixbuf width/height. [Fixes #60703] 2004-08-24 Mike Kestner * gdk/Drawable.custom : add a DrawPolygon overload with bool filled and mark the old int filled overload Obsolete. [Fixes #60702] 2004-08-23 Todd Berman * panelapplet/BonoboUIVerb.cs: * panelapplet/ContextMenuItem.cs: * panelapplet/Makefile.am: * panelapplet/PanelApplet.custom: Remove the ContextMenuItem and the need for the glue. Add BonoboUIVerb to directly call the setup_menu function. Leave the glue library for now, as I think getting the proper orientation stuff setup will require some glue work. * sample/panelapplet/testapplet.cs: Update sample to reflect new api. Need to make this installable. 2004-08-22 Jeroen Zwartepoorte * gnomevfs/Makefile.am: Remove ADDITIONAL_API variable. 2004-08-20 Mike Kestner * atk/Atk.metadata : mark an array param on Relation ctor. 2004-08-19 Borja Sanchez Zamorano * gtk/Gtk.metadata : hide some methods on TextBuffer. * gtk/TextBuffer.custom : pass -1 for the text length to some more methods. 2004-08-19 Jeroen Zwartepoorte * gnomevfs/Makefile.am: Add Monitor.cs. * gnomevfs/Monitor.cs: New custom class wrapping the gnome_vfs_monitor_* methods. * sample/gnomevfs/Makefile.am: Added TestMonitor.cs. * sample/gnomevfs/TestMonitor.cs: Test case for using the new Monitor class. 2004-08-18 John Luke * AUTHORS: fix my name * glade/XML.custom: remove doc comments (in monodoc) add overload ctor for the most common case so far [Fixes #62238] 2004-08-18 John Luke * pango/Pango.metadata : hide a couple methods on Layout. * pango/Layout.custom : impl SetText and SetMarkup w/ length=-1. [Fixes #63057] 2004-08-18 Mike Kestner * gtk/Gtk.metadata : unhide ExpanderStyle. * doc/en/Gtk/Style.xml : doc PaintExpander. * doc/en/Gtk/ExpanderStyle.xml : new enum docs. [Fixes #60480] metadata patch from Jeroen Zwartepoorte. 2004-08-17 Mike Kestner * pango/Pango.metadata : metadata for the pango audit. * pango/*.custom : customizations to fix audited API. * doc/en/* : docs for some api changes and additions. * glib/Marshaller.cs : some gunichar marshal-fu. * glib/glue/unichar.c : a new glue method. 2004-08-14 Todd Berman * gnomevfs/VfsStream.cs: if ErrorEof is returned in Read, return 0 instead of throwing an exception. 2004-08-13 John Luke * gtk/Gtk.metadata: mark Gtk.StockManager.Lookup param as ref patch by jaspervp@gmx.net (Jasper van Putten) [Fixes #61893] 2004-08-13 Mike Kestner * gtk/Gtk.metadata : hide Insert and SetText for manual impl. * gtk/TextBuffer.custom : pass -1 for length to Insert and SetText. Adapted from a patch by borsanza@yahoo.es (Borja Sanchez Zamorano). [Fixes #62985] 2004-08-10 Todd Berman * gnomevfs/AssemblyInfo.cs.in: use the .snk, not the .pub. 2004-08-10 Jeroen Zwartepoorte * glib/MainLoop.cs: * gnomevfs/.cvsignore: * gnomevfs/Async.cs: * gnomevfs/FileInfo.cs: * gnomevfs/Gnomevfs.metadata: * gnomevfs/Makefile.am: * gnomevfs/MimeType.cs: * gnomevfs/Sync.cs: * gnomevfs/Uri.custom: * gnomevfs/VfsStream.cs: * gnomevfs/VfsStreamAsyncResult.cs: * gnomevfs/VolumeMonitor.custom: * gnomevfs/Xfer.cs: * gnomevfs/XferProgressCallback.cs: * gnomevfs/XferProgressCallbackNative.cs: * gnomevfs/filesize.diff: * gnomevfs/gnomevfs-api.raw: * sample/gnomevfs/.cvsignore: * sample/gnomevfs/Makefile.am: * sample/gnomevfs/TestInfo.cs: * sample/gnomevfs/TestMime.cs: * sample/gnomevfs/TestSync.cs: * sample/gnomevfs/TestSyncCreate.cs: * sample/gnomevfs/TestSyncWrite.cs: * sample/gnomevfs/TestUnlink.cs: * sample/gnomevfs/TestVolumes.cs: * sample/gnomevfs/TestXfer.cs: Commit new gnomevfs files and samples. Also the GLib.MainLoop addition for programs which don't want to use Gtk.Application.Run (), but still use the GLib main loop. 2004-08-04 Raja R Harinath * configure.in (GTKHTML): Use SOVERSION=11 for GtkHTML 3.1.18. * gda/Makefile.am ($(API)): Remove duplicated $(srcdir). 2004-07-30 Mike Kestner * parser/gapi2xml.pl : char const * fixes for clahey's gsf binding. 2004-07-28 Jeroen Zwartepoorte * */*: merge from HEAD again. 2004-07-24 Mike Kestner * gdk/Gdk.metadata : hide Window.Destroy. * gdk/Window.custom : manually impl Destroy since it releases our ref. * glib/Object.cs : support unset of Raw values. 2004-07-22 Mike Kestner * glib/Value.cs : allow null for ctor(GLib.Object). 2004-07-18 Todd Berman * panelapplet/Makefile.am: We dont actually use gnome-sharp.dll, remove it. 2004-07-16 John Luke * gtk/Gtk.metadata: * glade/Glade.metadata: mark return type as const-gchar* for Gtk.Global.CheckVersion and Glade.Global.ModuleCheckVersion so Gtk# does not try to free them. Thanks to jaspervp@gmx.net (Jasper van Putten) for identifying the Glade part. Fixes bugs #61329 and #60954 2004-07-12 Martin Willemoes Hansen * gnome/Gnome.metadata: Fixed typo i to 1 Remove unnessesary disabledefaultconstructor * gnome/PrintJob.custom: Change ctor to an overload ctor 2004-07-11 Todd Berman * panelapplet/ContextMenuItem.cs: New struct to hold context menu item information. * panelapplet/Makefile.am: added new file. * panelapplet/PanelApplet.custom: add glue accessor to set the context menu. * panelapplet/glue/panelapplet.c: new glue functionality to setup a context menu. * sample/panelapplet/testapplet.cs: expand sample to show context menu code. 2004-07-10 Todd Berman * panelapplet/panelapplet-sharp-2.0.pc.in: fix path. 2004-07-09 Mike Kestner * gdk/Gdk.metadata : mark gc param of Drawable.DrawPixbuf null_ok. 2004-07-09 Todd Berman * Makefile.am: * configure.in: Add panelapplet stuff to configure.in and the subdirs. * generator/ClassBase.cs: * generator/ObjectGen.cs: Add a new attribute 'abstract' to allow a class to be defined to be abstract. PanelApplet.PanelApplet uses this. * panelapplet/.cvsignore: * panelapplet/AppletFactory.cs: * panelapplet/AssemblyInfo.cs.in: * panelapplet/Makefile.am: * panelapplet/PanelApplet.cs: * panelapplet/PanelApplet.custom: * panelapplet/PanelApplet.metadata: * panelapplet/panelapplet-api.raw: * panelapplet/panelapplet-sharp-2.0.pc.in: * panelapplet/panelapplet-sharp.dll.config.in: * panelapplet/glue/.cvsignore: * panelapplet/glue/Makefile.am: * panelapplet/glue/panelapplet.c: Initial import of the panelapplet code. This code is largely untested, and will need a good amount of glue. For sure glue code is needed for the context menu items. * sample/panelapplet/CSharpTestApplet_Factory.server: * sample/panelapplet/monodoc.png: * sample/panelapplet/testapplet.cs: A small testcase for the panelapplet. There is no makefile yet, and the server needs some help as it uses an absolute path that will only work on my box. When I get back to Toronto (so some point this weekend) I will fix this code to build/install properly and add a README file to help with any potential issues. * sources/Makefile.am: * sources/gtk-sharp-sources.xml: Add the panelapplet-sharp stuff to the build here. 2004-07-06 Todd Berman * sources/gtk_tree_model_signal_fix.patch: duh, this is the real patch. 2004-07-06 Todd Berman * sources/Makefile.am: * sources/gtk_tree_model_signal_fix.patch: a new hacky patch to fix the signal generation on the tree model structs. * */*-api.raw: regen. * glib/Object.cs: merge forward a small patch. 2004-07-06 Todd Berman * Makefile.am: * configure.in: * gtk-sharp-2.0.pc.in: * gtk-sharp.pc.in: * art/.cvsignore: * art/Makefile.am: * art/art-sharp-2.0.pc.in: * art/art-sharp.pc.in: * gconf/GConf/.cvsignore: * gconf/GConf/Makefile.am: * gconf/GConf/gconf-sharp-2.0.pc.in: * gconf/GConf/gconf-sharp.pc.in: * gda/.cvsignore: * gda/Makefile.am: * gda/gda-sharp-2.0.pc.in: * gda/gda-sharp.pc.in: * glade/.cvsignore: * glade/Makefile.am: * glade/glade-sharp-2.0.pc.in: * glade/glade-sharp.pc.in: * gnome/.cvsignore: * gnome/Makefile.am: * gnome/gnome-sharp-2.0.pc.in: * gnome/gnome-sharp.pc.in: * gnomedb/.cvsignore: * gnomedb/Makefile.am: * gnomedb/gnomedb-sharp-2.0.pc.in: * gnomedb/gnomedb-sharp.pc.in: * gnomevfs/.cvsignore: * gnomevfs/gnome-vfs-sharp-2.0.pc.in: * gnomevfs/gnome-vfs-sharp.pc.in: * gtkhtml/.cvsignore: * gtkhtml/Makefile.am: * gtkhtml/gtkhtml-sharp-2.0.pc.in: * gtkhtml/gtkhtml-sharp.pc.in: * rsvg/.cvsignore: * rsvg/Makefile.am: * rsvg/rsvg-sharp-2.0.pc.in: * rsvg/rsvg-sharp.pc.in: * sample/rsvg/Makefile.am: * vte/.cvsignore: * vte/Makefile.am: * vte/vte-sharp-2.0.pc.in: * vte/vte-sharp.pc.in: Make gtk-sharp-2.0 parallel installable with gtk-sharp. Now you can install both and do -pkg:gtk-sharp-2.0 or similar to compile against the gtk-sharp-2.0 assemblies. Basically this change comprised some small configure.in changes to change the $(PACKAGE) to gtk-sharp-2.0, and check for the appropriate versions of the gnome 2.6 based libraries. Also, every .pc file was renamed -2.0.pc to allow for the parallel install, and the .cvsignore and Makefile.am rules were updated to reflect this change. 2004-07-05 John Luke * sample/VteTest.cs: improve the scrolling in the sample and pass on the Environment variables 2004-07-02 Mike Kestner * configure.in : dist the HACKING file from now on. 2004-07-01 Mike Kestner * sample/rsvg/Makefile.am : add an art-sharp /r. 2004-06-30 John Luke * vte/Vte.metadata: remove unneeded metadata and add comments 2004-06-29 Mike Kestner * configure.in : bump version to 1.0 and tag. Woot! 2004-06-25 Mike Kestner * */*.cs : add lgpl license blurb and clean up (c)'s. * */*.custom : add lgpl license blurb and clean up (c)'s. * */glue/*.c : add lgpl license blurb and clean up (c)'s. file adds without license from now on are punishable by wedgie. 2004-06-25 Mike Kestner * generator/*.cs : add gpl license blurb and clean up (c)'s. * parser/* : ditto * doc/*.cs : ditto * doc/gen-handlerargs-docs.cs : add little scripty. 2004-06-25 Mike Kestner * configure.in : tag and bump version to 0.99. 2004-06-23 Todd Berman * doc/*/*.xml: s/GtkSharp.SignalArgs/GLib.SignalArgs/; 2004-06-22 Mike Kestner * configure.in : GLIB check for gobject, not glib. 2004-06-20 Jeroen Zwartepoorte * gdk/Gdk.metadata: Fix merging errors. * gnome/CanvasItem.custom: Idem. * gtk/Widget.custom: Idem. 2004-06-20 Jeroen Zwartepoorte * *: Merge with HEAD. 2004-06-17 Larry Ewing * gdk/Makefile.am (sources): add Pixdata.custom * gdk/Pixdata.custom: add new file to fix Serialize. * gnome/CanvasItem.custom: remove the incorrect custom bindings. * gnome/Gnome.metadata: stop hiding the AffineRelative and AffineAbsolute the generator gets them right they are not out params. * gdk/Gdk.metadata: mark the Pixdata byte stream as and array hide the broken serialize method. 2004-06-18 John Luke * sample/rsvg/Makefile.am: do not reference gnome-sharp and art-sharp * sample/rsvg/svghelloworld.cs: rework with just gtk (no gnome deps) 2004-06-15 Mike Kestner * gtk/Gtk.metadata : hide the button_new_from_stock ctor. * gtk/Button.custom : add a manual ctor implementation. 2004-06-14 Mike Kestner * configure.in : another "really frozen this time" release. * gdk/Gdk.metadata : mark a couple array params on Pixbuf.Savev. * gdk/Pixbuf.custom : add a Save implementation. 2004-06-14 Mike Kestner * configure.in : bump the version to 0.97, tag. 2004-06-12 Todd Berman * glib/ObjectManager.cs: change CreateInstance overload being used to properly pick up protected ctors. 2004-06-11 Todd Berman * gtk/Container.custom: * gtk/CellRenderer.custom: * gnome/CanvasItem.custom: mark Override* private. * doc/en/*/*.xml: update to remove Override* methods. 2004-06-11 Mike Kestner * doc/en/*/*.xml : update to remove Override* methods. * generator/Signal.cs : make the Override* methods private. They should not ever be called manually and it saves about 800 "do not call this method" doc entries. 2004-06-11 Mike Kestner * configure.in : require mono-0.96, bump the version, tag. 2004-06-11 Mike Kestner * configure.in : remove the mint usage for darwin. 2004-06-11 Mike Kestner * configure.in : deal with a csc-ism in source paths. * */Makefile.am : use the GENERATED_SOURCES var. * */glue/Makefile.am : add -no-undefined for win32 dll builds. 2004-06-10 Mike Kestner * configure.in : break the monodoc dep, even though it was optional it was a pain in the backside. * doc/Makefile.am : add assemble target to build docs using monodoc. we now have two manual targets which use monodoc, but aren't required for the default build (update and assemble). 2004-06-10 Mike Kestner * configure.in : AC_SUBST GACUTIL_FLAGS. require mono-0.95 (though it's really cvs bleeding edge.) * * AssemblyInfo.cs.in : s/pub/snk. delaysign=no. * * Makefile.am : s/pub/snk. portability fixes to csc from John Luke. Switch to GACUTIL_FLAGS. * doc/Makefile.am : don't build docs, install raw xml to the prefix. 2004-06-10 Todd Berman * gtk/Container.custom: add C# glue for virtualizing ChildType () * gtk/glue/container.c: add C glue for virtualizing ChildType () * gtk/Gtk.metadata: hide Container.ChildType () * gtk/Widget.custom: Add ClearFlag, and SetFlag convenience methods. Also add various IsFlag bool properties for checking for flags. * gtk/glue/widget.c: Fix setting flags. * doc/*: updated Widget docs. 2004-06-09 Todd Berman * gdk/Gdk.metadata: mark Window.SetBackPixmap as null_ok. * glib/Object.cs: in set_Raw, if value == IntPtr.Zero, dont put that in the weakref hashtable, as it creates later issues with gtk+ returning null and gtk# mistaking if for an object. 2004-06-08 Mike Kestner * gnomedb/Application.cs : add a missing DllImport. 2004-06-08 Mike Kestner * gdk/Gdk.metadata : mark array param on Drawable.*Image. 2004-06-08 Mike Kestner * gdk/Gdk.metadata : mark array param on Drawable.DrawGrayImage. 2004-06-07 Mike Kestner * */Makefile.am : s|--unsafe|/unsafe to remove a mcs-ism that jluke exposed in his cygwin build patch. 2004-06-07 Jeroen Zwartepoorte * configure.in: Add pango pkg-config check. * pango/Layout.custom: Updated custom code to new opaque LayoutLine. * pango/LayoutLine.custom: Properties for LayoutLine struct fields. * pango/Makefile.am: * pango/Pango.metadata: Make LayoutLine opaque [Fixes #59666]. * pango/glue/.cvsignore: * pango/glue/Makefile.am: * pango/glue/layoutline.c: glue for the LayoutLine struct fields. * pango/glue/makefile.win32: * pango/glue/win32dll.c: 2004-06-07 Todd Berman * gtk/Widget.custom: expose some easy bool properties for checking certain WidgetFlags. Make Allocation a settable property. * gtk/glue/widget.c: bit of glue to make Allocation settable. * gdk/Window.custom: expose UserData as a usable IntPtr property. * gdk/Gdk.metadata: hide old GetUserData/SetUserData methods. * doc/*: ran the updater. 2004-06-07 Jeroen Zwartepoorte * gtk/Widget.custom: Add FocusLineWidth property. * gtk/glue/widget.c: (gtksharp_gtk_widget_set_flags), (gtksharp_gtk_widget_style_get_int): glue for getting an integer style property. 2004-06-07 John Luke * doc/Makefile.am: install the docs if monodoc is there 2004-06-07 Peter Williams * configure.in (MONODOC_REQUIRED_VERSION): Fix missing 'test' in shell if statement. 2004-06-07 Jeroen Zwartepoorte * gtk/Widget.custom: Add the AddAccelerator method back which got removed by accident during the last merge. * sample/CustomNotebook.cs: New sample showing of a custom Notebook. 2004-06-07 Jeroen Zwartepoorte * *: Merge with HEAD. 2004-06-04 Todd Berman * glib/Object.cs: ConnectDefaultHandlers needs to look at public api as well for virtual methods. * gtk/CellRenderer.custom: * gtk/Container.custom: * gnome/CanvasItem.custom: Add DefaultSignalHandler to remove the need for the static ctor. 2004-06-04 Todd Berman * gnome/CanvasItem.custom: Changed from OnXXX vmethods to XXX vmethods * gnome/CanvasProxy.cs: removed, unused code * gnome/GtkSharp.BoundsHandler.cs: removed * gnome/GtkSharp.DrawHandler.cs: removed * gnome/GtkSharp.PointHandler.cs: removed * gnome/GtkSharp.RenderHandler.cs: removed * gnome/GtkSharp.UpdateHandler.cs: removed * gnome/Makefile.am: updated to reflect removing of old files. * gtk/CellRenderer.custom: Changed from OnXXX vmethods to XXX vmethods, and added StartEditing vmethod * gtk/Container.custom: Changed from OnForall to ForAll * gtk/Gtk.metadata: hide CellRenderer.GetSize and StartEditing * gtk/glue/cellrenderer.c: new glue for CellRenderer.StartEditing override. * sample/CustomCellRenderer.cs: updated signatures to reflect new code. 2004-06-02 Vladimir Vukicevic * gdk/Pixbuf.custom : Pixels prop isn't unsafe 2004-06-02 Mike Kestner * generator/Field.cs : add field hiding, for manual impl. * generator/StructBase.cs : support disable_new, for manual impl. 2004-06-01 Jeroen Zwartepoorte * sample/CustomWidget.cs: remove custom GType stuff. 2004-06-01 Mike Kestner * generator/ObjectGen.cs : generate protected ctor () for all GLib.Objects that don't have any ctors. * gtk/CellRenderer.custom : remove ctor (). * gtkhtml/Gtk.metadata : add a disable_void_ctor rule for HTML. 2004-06-01 Jeroen Zwartepoorte * configure.in: Merge with HEAD again. * gdk/Gdk.metadata: * gnome/CanvasItem.custom: * gtk/Gtk.metadata: * sample/.cvsignore: * sample/CustomWidget.cs: Inherit from Gtk.Bin and make it a better suited sample. 2004-06-01 Mike Kestner * gtk/Gtk.metadata : mark SizeRequest requisition as out, not ref. [Fixes #59388] 2004-06-01 Jeroen Zwartepoorte * sample/CustomWidget.cs: Fixed Widget.SizeRequest usage. Works properly now. 2004-05-31 Mike Kestner * configure.in : Bump version to 0.93 and tag. 2004-05-31 Jeroen Zwartepoorte * gtk/Gtk.metadata: unhide WidgetFlags. * gtk/Widget.custom: add setter for GdkWindow prop. Add Flags prop. * gtk/glue/widget.custom: setter for window, accessors for flags. [Fixes #59337] 2004-05-31 Jeroen Zwartepoorte * gdk/Gdk.metadata: fix member names in WindowClass. [Fixes #59336] 2004-05-31 Jeroen Zwartepoorte * gdk/Gdk.metadata: mark dest rects as out for Intersect and Union. [Fixes #59341] 2004-05-31 Jeroen Zwartepoorte * gtk/Gtk.metadata: Unhide the GtkWidgetFlags enum. * gtk/Makefile.am: Remove WidgetFlags.cs. * gtk/WidgetFlags.cs: Obsolete. 2004-05-31 Jeroen Zwartepoorte * sample/CustomWidget.cs: The Gtk.Requisition is passed by reference in the OnSizeRequested handler. 2004-05-31 Jeroen Zwartepoorte * *: Merge changes from HEAD again. 2004-05-31 Jeroen Zwartepoorte * gtk/Container.custom: Merged fix for Container.Forall handler. * gtk/Makefile.am: Added WidgetFlags.cs. * gtk/Widget.custom: Added Flags property and setter to GdkWindow. * gtk/WidgetFlags.cs: Enumeration of widget flags (from widget.h). * gtk/glue/container.c: (gtksharp_container_invoke_gtk_callback): Fixes for Container.Forall handler. * gtk/glue/widget.c: (gtksharp_gtk_widget_set_window), (gtksharp_gtk_widget_get_state), (gtksharp_gtk_widget_get_flags), (gtksharp_gtk_widget_set_flags): Added new API which is needed to write custom gtk widgets. * parser/gapi_pp.pl: Match #if !defined (*_DISABLE_DEPRECATED) properly. * sample/CustomWidget.cs: new sample for creating a custom Gtk widget. * sample/Makefile.am: Added CustomWidget.cs sample. 2004-05-29 Mike Kestner * gnome/CanvasItem.custom : for OnUpdate, Art.SVP can be NULL so treat it as an IntPtr with Zero checks and manual marshaling. 2004-05-28 Vladimir Vukicevic * gtk/CellRenderer.custom: fix GetSize_cb, cell_area can be NULL coming from Gtk (so can't use ref Gdk.Rectangle, have to use IntPtr) 2004-05-28 Miguel de Icaza * Added System.Drawing samples. 2004-05-28 Mike Kestner * configure.in : bump for next version, tagged 0.92. 2004-05-28 Vladimir Vukicevic * generator/ObjectGen.cs : adjust to ObjectManager ns change. * glib/ManagedValue.cs : move to GLib and internalize. * glib/Object.cs : adjust to ObjectManager ns change. * glib/ObjectManager.cs : move to GLib. * glib/TypeConverter.cs : move to GLib. return ManagedValue.GType when we can't match a type instead of GType.None. * gtk/*.custom: adjust for new TypeConverter ns and behavior. 2004-05-28 Mike Kestner * gtk/Makefile.am : add new custom. * gtk/Settings.custom: add props for unparsed API. 2004-05-27 Mike Kestner * glib/Object.cs: mark GType property public. 2004-05-27 Jeroen Zwartepoorte * gtk/Gtk.metadata: Hide the GtkCtree class (old gtk+ 1.x junk). 2004-05-26 Mike Kestner * gtkhtml/Gtk.metadata : hide Gtk.HTML the ctors. * gtkhtml/HTML.custom : new manual impl for ctors. * gtkhtml/Makefile.am : add new custom [Fixes #59148] 2004-05-25 Jeroen Zwartepoorte * gnome/Gnome.metadata: Don't hide the GtkEntry and GnomeEntry properties. * gtk/Accel.custom: Add custom methods for backwards compatibility of the gtk_accel_map_* methods. [Fixes #58954] 2004-05-25 Dan Winship * gtk/Gtk.metadata : mark a ref param in SizeRequested 2004-05-25 Mike Kestner * */Makefile.am : rm generated/* in generated-stamp target. 2004-05-25 Mike Kestner * configure.in : don't expand the GAPI Makefile. * parser/Makefile.am : remove SUBDIRS. * parser/gapi2xml.pl : remove GAPI::Metadata usage. * parser/GAPI/* : kill. long live gapi-fixup. 2004-05-25 Mike Kestner * gtk/Container.custom : use glue to invoke the GtkCallback in Forall. * gtk/glue/container.c : add gtksharp_container_invoke_gtk_callback. 2004-05-23 Mike Kestner * generator/SignalHandler.cs : put back the ObjectGen hack for param wrapping. [Fixes #58876] 2004-05-23 Jeroen Zwartepoorte * atk/atk-api.xml: Removed. * gdk/gdk-api.xml: Idem. * glade/glade-api.xml: Idem. * gnome/IconTheme.cs: s/GLibSharp/GLib/ * gnome/gnome-api.xml: Removed. * gtk/Adjustment.custom: Obsolete custom property code. * gtk/glue/adjustment.c: (gtksharp_gtk_adjustment_set_bounds): Idem. * gtk/gtk-api.xml: Removed. * pango/pango-api.xml: Idem. 2004-05-23 Jeroen Zwartepoorte Merge changes from HEAD since yesterday. 2004-05-22 Mike Kestner * configure.in : require mono-0.91.99. Sorry, but we need to require mono cvs until beta2 because of some recent breakage in Gnome.Program custom code while reflecting against the runtime. 2004-05-22 Todd Berman * gnome/Program.custom: Change the Mono.Runtime stuff to reflect its new internal nature. This fixes MD, gnunit, and all gnome# programs that were blowing up for no reason. 2004-05-23 Jeroen Zwartepoorte * *: Merge changes from HEAD again. 2004-05-22 Radek Doulik * gtk/TreeView.custom(GetPathAtPos): change Gtk.TreeViewColumn column parameter to out[put] as gtk_tree_view_get_path_at_pos returns column address to column parameter (GetPathAtPos): use GLib.Object.GetObject so that we don't create new TreeViewColumn object duplicates 2004-05-19 Mike Kestner * gtk/Container.custom : add CallbackInvoke and use it in OnForall. 2004-05-19 Mike Kestner * generator/Makefile.am : add TimeTGen.cs * generator/SymbolTable.cs : use new TimeTGen. * generator/StringGen.cs : s/GLibSharp/GLib * generator/TimeTGen.cs : generatable to marshal time_t. * glib/time_t_CustomMarshaler.cs : kill * glib/Makefile.am : remove time_t_CustomMarshaler.cs * glib/Markup.cs : s/GLibSharp/GLib * glib/Marshaller.cs : move to GLib namespace. Add methods to marshal time_t to and from DateTime. * glib/glue/time_t.c : kill * glib/glue/Makefile.am : remove time_t.c * glib/glue/makefile.win32 : remove time_t.o * gnome/*.custom : use GLib.Marshaller instead of the time_t custom marshaler. * gtk/*.custom : s/GLibSharp/GLib 2004-05-18 Zoltan Varga * glib/time_t_CustomMarshaler.cs: Fix custom marshalling after runtime changes. 2004-05-18 Vladimir Vukicevic * gdk/Pixbuf.custom: Changed Pixbuf.Pixels to return an IntPtr instead of a byte * -- anyone who needs a byte * can do the cast in an unsafe context already. 2004-05-18 Todd Berman * samples/Scribble.cs: Im bored, you can erase, etc 2004-05-18 Mike Kestner * glib/MissingIntPtrCtorException.cs : new exception to throw if unable to access an IntPtr ctor on a GLib.Object subclass. We need an IntPtr ctor to be able to wrap arbitrary object handles. * glib/Object.cs : have NativeType call LookupGType. * glib/ObjectManager.cs : throw the new exception in a try/catch. 2004-05-17 Mike Kestner * generator/ObjectGen.cs : Generate a .cctor that calls the assembly's ObjectManager.Initialize method if the class will need to be registered with GLib.ObjectManager. Enhance the Initialize method to allow multiple invocations. 2004-05-17 Mike Kestner * generator/SignalHandler.cs : fix some broken/redundant generation in the Object/Struct wrapping for sig params. * glib/Object.cs : internalize/protect lots of API that shouldn't need to be used by non-subclass/non-glib code. Return GType.Object as GType. * glib/Value.cs : use internal GLib.Object.NativeType prop. * sample/TestDnd.cs : use ToString instead of TypeName. 2004-05-14 Todd Berman * glib/Object.cs: make static GLib.Object.LookupGType protected for now. * gtk/CellRenderer.custom: code to allow for subclassing and implementing a custom cell renderer. * gtk/Makefile.am: add custom to build. * gtk/glue/Makefile.am: add glue to build. * gtk/glue/cellrenderer.c: glue code to override get_size and render from cellrenderer. * sample/CustomCellRenderer.cs: new sample to show how to implement a custom cell renderer. * sample/Makefile.am: add CustomCellRenderer sample. 2004-05-13 Todd Berman * *.pc.in: add .dll to the end of the Libs: references, and convert them to be absolute paths. 2004-05-11 Mike Kestner * *.pc.in : add Requires so that dependent libs are pulled in too. 2004-05-11 Mike Kestner * gconf/GConf/NotifyWrapper.cs : add some defensive null checking. [fixes #57902] 2004-05-11 Mike Kestner * gtk/SelectionData.custom : add a Set overload without length param. 2004-05-10 Mike Kestner * gtk/Gtk.metadata : mark some Dialog API params as ResponseType instead of int. [fixes #58240] 2004-05-10 Mike Kestner * glib/Value.cs : fix GBoxed GLib.Value setting. [fixes #58229] 2004-05-10 Mike Kestner * gtk/Gtk.metadata : change return-type on Global.EventsPending to a bool to avoid compat problems in 2.4. Also rename to GetEventsPending so that it's generated as a property. [fixes #58292] 2004-05-10 Mike Kestner * gtk/Gtk.metadata : hide some ctors and map some prop names. * gtk/Makefile.am : add new customs. * gtk/ItemFactory.custom : implement ctor for subclassing. * gtk/Plug.custom : implement ctors for subclassing. 2004-05-09 Jeroen Zwartepoorte * gdk/Gdk.metadata: Misc fixes for getting Muine to build & run. * gtk/FileSelection.custom: Add this back. * gtk/Gtk.metadata: Misc fixes for getting Muine to build & run. 2004-05-08 Jeroen Zwartepoorte * gconf/GConf.PropertyEditors/Makefile.am: Reinclude the OptionMenu property editor. * gdk/Gdk.metadata: * gdk/Pixbuf.custom: Add backwards compatible implementations of GetFromDrawable, RenderPixmapAndMask and a couple of others which are now static in gtk+ 2.4. These methods have the same API as the ones generate for gtk+ 2.2. * gdk/gdk-api.raw: * generator/ClassBase.cs: Generate an [Obsolete] tag for deprecated code. * generator/ClassGen.cs: Idem. * generator/Method.cs: Idem. * generator/ObjectGen.cs: Idem. * gnome/Gnome.metadata: * gnome/IconData.cs: * gnome/IconTheme.cs: GnomeIconTheme inherits directly from GtkIconTheme in libgnomeui-2.6. This breaks the parser, so it won't generate the proper code. This is a manual class implementation for backward compatibility with gtk+ 2.2 version of gtk#. * gnome/IconTheme.custom: Removed * gnome/Makefile.am: * gnome/gnome-api.raw: * gtk/Gtk.metadata: * gtk/IconTheme.custom: Added custom methods previously found in ../gnome/IconTheme.custom. * gtk/gtk-api.raw: * pango/pango-api.raw: * parser/gapi2xml.pl: Check for "deprecated" prefixes and add a deprecated attribute to the appropriate elements when found. * parser/gapi_pp.pl: Prefix everything that's in a #ifndef *_DISABLE_DEPRECATED block with "deprecated". * sample/GtkDemo/DemoMain.cs: s/File/System.IO.File/ since there's now also a Gtk.File class. * sample/GtkDemo/DemoSizeGroup.cs: Use the original OptioMenu code. * sample/GtkDemo/DemoTextView.cs: s/File/System.IO.File/. * sample/Makefile.am: * sources/gtk-sharp-sources.xml: Add a bunch of s to the Gtk namespace so it won't generate API for _really_ old deprecated widgets like GtkCList, GtkCTree etc. This commit adds support for deprecated widgets to gtk#. This is necessary since some widgets have been deprecated from gtk+ 2.2->2.4, but are still in use (any program that uses Gtk.OptionMenu, Gtk.Combo and methods in Gtk.Toolbar to name a few). This is done in C# by using the [Obsolete] metadata tag. 2004-05-07 Todd Berman * gnome/Makefile.am: add DruidPageEdge.custom * gnome/Gnome.metadata: hide DruidPageEdge ctors * gnome/DruidPageEdge.custom: subclassable ctors. 2004-05-07 Todd Berman * gnome/IconList.custom: subclassable ctor. * gnome/Gnome.metadata: hide IconList ctor. 2004-05-07 Mike Kestner * gnome/Canvas.custom : PixelsPerUnit prop. * gnome/Gnome.metadata : hide Canvas.SetPixelsPerUnit. * gnome/glue/Makefile.am : get_pixels_per_unit. * gnome/glue/canvas.c : get_pixels_per_unit. * gtk/Container.custom : OnForall virtual method impl. * gtk/glue/Makefile.am : add container.c * gtk/glue/container.c : virtual method glue for forall. * gtk/glue/makefile.win32 : add container.o 2004-05-07 Todd Berman * gnome/Gnome.metadata: map properties for with_flags DateEdit ctor, and hide the DateTime, bool, bool ctor * gnome/Makefile.am: Add DateEdit.custom. * gnome/DateEdit.custom: Add subclassable ctor for DateEdit and add enough overloads that accept variable parameter lists to make Mike Kestner sick. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide App ctor. * gnome/Makefile.am: add App.custom. * gnome/App.custom: New custom for subclassing. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide Scores ctor. * gnome/Makefile.am: add Scores.custom. * gnome/Scores.custom: New custom for overridable ctor. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : map some RadioButton ctor props. 2004-05-07 Mike Kestner * gnome/Druid.custom : fix Todd's broken code. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide TextView with_buffer ctor. map some parms to props. * gtk/Makefile.am : add new custom. * gtk/TextView.custom : implement with_buffer ctor for subclassing. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide Druid with_window ctor, map About property. add some null_ok from bug #57948. * gnome/Druid.custom: implement with_window ctor for subclassing, and a 3 paramatered version for when you dont care about the returned window. another 3 parametered version for when you have want null parent, and a 2 parametered version for the null parent and the discarding of the window (THANKS MIKE!) * gnome/Makefile.am: add new custom. 2004-05-07 Mike Kestner * gtk/TreeView.custom : make the NodeStore ctor subclassable. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide SpinButton with_range ctor. * gtk/Makefile.am : add new custom. * gtk/SpinButton.custom : implement with_range ctor for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide ListStore and TreeStore newv ctors. * gtk/ListStore.custom : rework the ctors for subclassing. * gtk/TreeStore.custom : rework the ctors for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide HScale and VScale with_range ctors. * gtk/Makefile.am : add new customs. * gtk/HScale.custom : implement with_range ctor for subclassing. * gtk/VScale.custom : implement with_range ctor for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : map AccelLabel ctor parm to prop and hide Adjustment ctor. * gtk/Adjustment.custom : add set accessors for Upper/Lower and implement ctor with subclassing. * gtk/CheckMenuItem.custom : return from subclass branch. * gtk/ImageMenuItem.custom : return from subclass branch. * gtk/MenuItem.custom : return from subclass branch. * gtk/RadioMenuItem.custom : return from subclass branch. * gtk/glue/adjustment.c : add setters for lower/upper. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide some *MenuItem ctors. * gtk/CheckMenuItem.custom : implement string ctor. * gtk/ImageMenuItem.custom : implement string ctor. * gtk/MenuItem.custom : use AccelLabel. * gtk/RadioMenuItem.custom : fix string ctor for subclassing. * gtk/Makefile.am : add new customs. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide some MenuItem ctors. * gtk/Makefile.am : add the new custom. * gtk/MenuItem.custom : implement the string ctor. 2004-05-07 Mike Kestner * sample/GnomeHelloWorld.cs : guard against null args.Event in the icon_selected_cb, which occurs on button-presses for some reason. Thanks to wmealing on irc for the bug report. 2004-05-07 Mike Kestner * sample/*/Makefile.am : rebuild if the assemblies change 2004-05-07 Mike Kestner [Derived from a patch by Ben Maurer] * generator/Ctor.cs : generate code to detect subclassing and handle GType registration and native object creation properly. * generator/Parameters.cs : add PropertyName accessor for param attr. * generator/Property.cs : use a new GLib.Value ctor. * glib/ObjectManager.cs : redo hash access. * glib/Object.cs : CreateNativeObject method to invoke g_object_newv and some refactoring of RegisterGType and LookupGType. * glib/Value.cs : make gtype field an IntPtr. * glib/glue/object.c : glue for g_object_newv use. * glib/glue/value.c : new glue for value creation. * gtk/Dialog.custom : fix a ctor declaration for auto-reg. * gtk/Gtk.metadata : mark a couple property_name attrs as examples. * sample/Subclass.cs : use auto-GType-registration now. 2004-05-06 Mike Kestner * gdk/Gdk.metadata : some out and array magic for Property.Get. [Fixes #56513] 2004-05-06 Jeroen Zwartepoorte * generator/Method.cs: Don't use the "unsafe" modifier for methods which are part of an interface [fixes #58059]. 2004-05-06 Mike Kestner * configure.in : bump version for cvs. 2004-05-06 Jeroen Zwartepoorte * Makefile.in: * configure.in: * gconf/GConf.PropertyEditors/Makefile.in: * glade/Makefile.in: * gnomevfs/.cvsignore: * gnomevfs/AssemblyInfo.cs.in: * gnomevfs/Makefile.am: * gnomevfs/Makefile.in: * gnomevfs/gnome-vfs-sharp.dll.config.in: * gnomevfs/gnome-vfs-sharp.pc.in: * sample/Actions.cs: Remove System.Drawing.Size usage. * sample/Makefile.am: Added actions.exe. * sample/Makefile.in: Remove obsolete Makefile.in files from the repository. Auto*ify the gnomevfs assembly. 2004-05-06 Jeroen Zwartepoorte Merge changes from HEAD to the jeroen-gtk-2-4 branch. The correct gnome 2.6.0 & gtk+-2.4.1 sources are now also downloaded when you run "make get-source-code". Some samples are disabled for now since they use deprecated API and fail to build. 2004-05-05 Mike Kestner * generator/BoxedGen.cs : remove g_value_init DllImport and change (g|s)et_boxed to use a glue method to simplify dllmapping. * glib/Value.cs : add Init method. * glib/glue/value.cs : add get/set_boxed glue methods. * */*.config.in : remove libgobject mappings for dlls that no longer need them. 2004-05-05 Larry Ewing * gtk/Adjustment.custom: add an a set method for StepIncrement. * gtk/glue/adjustment.c: add gtk_adjustment_set_step_increment. 2004-05-05 Mike Kestner * generator/Signal.cs : rmv Handle param to SignalCallback ctor calls. s/GtkSharp.Signal*/GLib.Signal*. * generator/SignalHandler.cs : rmv Handle param to ctors as it's redundant. s/GtkSharp.Signal*/GLib.Signal*. Use new Connect/Disconnect instead of generating DllImports into libgobject directly. * glib/SignalArgs.cs : move the the GLib namespace. * glib/SignalCallback.cs : expose Connect and Disconnect methods to hide some pinvokes that were previously generated. Also move to the GLib namespace. gnome/*Handler.cs : update to new SignalHandler API. gnome/CanvasProxy.cs : ditto gnome/void*Signal.cs : ditto 2004-05-05 Mike Kestner * sample/gconf/Makefile.am : fix some whitespace. I love you, auto*. 2004-05-05 Mike Kestner * configure.in : fix gtkhtml versioning *again*. * sample/gconf/Makefile.am : conditional build on ENABLE_GNOME. 2004-05-04 Mike Kestner * configure.in : require gtkhtml-3.0.10 so we can use a single so version (.4). * sources/* : update to gtkhtml-3.0.10. This produces zero change in the generated API. 2004-05-03 Todd Berman * */*.pc.in: change to use @PACKAGE@ where its needed, fixes pc bug 2004-05-03 Todd Berman * configure.in: bump mono dep to 0.90 2004-05-03 Todd Berman * configure.in: bump to 0.91, dont kill me mike. 2004-05-03 Todd Berman * gtk-sharp.pc.in: add PACKAGE stuff here 2004-05-03 Mike Kestner * */Makefile.am : fix gacutil for new package switch * */*.pc.in : fix -libs var for new dll path 2004-05-03 Mike Kestner * configure.in : add some checks for gtkhtml-3.1 and use it if avail. * gtkhtml/gtkhtml-sharp.dll.config.in : deal with 3.1 versioning. 2004-05-03 Miguel de Icaza * gtkhtml/Gtk.metadata: Patch from Mike Kestner: make GtkHTMLStream opaque, to fix a bug that was found by running Monodoc on MacOS X. We were passing a pointer to a managed object, instead of a pointer to a HTMLStream-allocated object. * HTMLStream.custom: Update custom file to reflect change to Opaque: use Handle instead of this. 2004-04-30 Mike Kestner * gdk/glue/makefile.win32 : remove windowmanager.o for now. It was breaking the build on win32. 2004-04-30 Mike Kestner * configure.in : lookup gacutil and error out if not found. * */Makefile.am : add install-data-local and uninstall-local targets for GAC installation. Add gtk-sharp.pub target to cp the key in for distcheck. * */AssemblyInfo.cs.in : remove ../ from key path for VPATH build. 2004-04-30 Mike Kestner * configure.in : remove BASE_DEPENDENCIES LIBS and CFLAGS and expose more specific versions for glue building. * */glue/Makefile.am : use more specific versions of LIBS and CFLAGS to reduce the ldd footprint. 2004-04-30 Mike Kestner * configure.in : AC_SUBST an API_VERSION=1.0.0.0 for the AssemblyVersionAttributes. * */AssemblyInfo.cs.in : s/@VERSION@/@API_VERSION@/ 2004-04-30 Mike Kestner * */AssemblyInfo.cs.in : s/@VERSION@.0.0/@VERSION@/ 2004-04-30 Mike Kestner * sample/gconf/* : break System.Drawing dependency. 2004-04-30 Owen Fraser-Green * gconf/tools/gconfsharp-schemagen.in : fixed variables * sources/Makefile.am : remove reference to old gst target 2004-04-30 Erik Dasque * gtk/Calendar.custom : new Date property with setter 2004-04-29 Mike Kestner * mapdllnames.pl : remove unneccessary script 2004-04-29 Mike Kestner * gst/* : kill. it's been spun out the the gst-sharp module. * sources/Makefile.am : remove gst source download target. * sources/gtk-sharp-sources.xml : remove gst nodes. 2004-04-29 Mike Kestner * configure.in : expand the AssemblyInfo.cs files. * */AssemblyInfo.cs.in : new assembly info files. * */Makefile.am : dist, make, and clean assmbly info files. 2004-04-29 Owen Fraser-Green * generator/ClassBase.cs: added base case to Parent to avoid infinite recursion. * glib/Marshaller.cs: changed SizeOf(typeof's to int and long instead of string. 2004-04-29 Duncan Mak * vte/vte-sharp.dll.config.in: Removed extra element. 2004-04-29 Owen Fraser-Green * gnome/CanvasGroup.custom : added public constructor. 2004-04-29 Mike Kestner * configure.in : expand the new config files. * */*config.in : the per-assembly config files. * */Makefile.am : dist, clean, and install the configs. * gnome/*.c* : fix some errant DllImports. 2004-04-28 Mike Kestner [Expanded from patch by John Luke attached to bug.] * gdk/Gdk.metadata : rename Atom.Name to GetName so it props. * gdk/Atom.custom : new string cast operator. * sample/TestDnd.cs : fix Atom.Name reference * sample/GtkDemo/DemoEditableCell.cs : fix a ListStore.Remove ref broken by last commit. [Fixes #57721] 2004-04-28 Mike Kestner * gtk/Gtk.metadata : mark ListStore.Remove iter pass_as=ref. [Fixes #56945] 2004-04-28 Mike Kestner * Makefile.am : dist the public signing key baulig just added. 2004-04-27 Mike Kestner * gnome/glue/canvaspoints.c : remove some g_prints spotted by Jorge Garcia. 2004-04-16 Rachel Hestilow * generator/GObjectGen.cs: Added new generatable to handle plain GObjects the same way we do subclasses. * generator/ManualGen.cs: Make FromNative/FromNativeReturn virtual to allow overriding. * generator/SymbolTable.cs: Use GObjectGen instead of ManualGen for GObject. * generator/Makefile.am: Add GObjectGen.cs. 2004-04-16 Boyd Timothy * gdk/Global.custom : properties to expose window manager spec properties. * gdk/glue/windowmanager.c : glue to retrieve window manager props using gdk_property_get. * gdk/glue/Makefile.am : add new file. * gdk/glue/makefile.win32 : add new file. 2004-04-13 Mike Kestner * glib/Value.cs : fix a csc-breaker. 2004-04-12 Mike Kestner * gnome/Program.custom : add ArgumentException for app_id containing spaces. [fixes #56594] 2004-04-12 Mike Kestner [Rework of a patch from Ben Maurer to turn GLib.Value into a valuetype.] * generator/BoxedGen.cs : fix operators for new valuetype GValues. * generator/ByRefGen.cs : new generatable for byref value types. * generator/Makefile.am : add ByRefGen.cs. * generator/MethodBody.cs : remove GValue special casing. * generator/Property.cs : rework value handling. * generator/Signal.cs : fix base virtual method value passing. * generator/SymbolTable.cs : map GValue to ByRefGen. * glib/Object.cs : rework GetProperty and SetProperty. * glib/Value.cs : make it a value type. * glib/ValueArray.cs : fix GValue passing. * glib/glue/value.c : rework for valuetype GValues. * gnome/Program.custom : fix GValue passing * gtk/Gtk.metadata : make TreeModel.GetValue value param pass_as=ref. * gtk/ListStore.custom : fix GValue passing * gtk/NodeStore.cs : fix GValue passing * gtk/TextTag.custom : fix GValue passing * gtk/TreeModelSort.custom : fix GValue passing * gtk/TreeStore.custom : fix GValue passing 2004-04-05 Larry Ewing * gnome/Gnome.metadata: Make data an array type so that the image functions can be used. * gnome/Print.custom: add a custom handler to print Pixbufs. * gnome/Makefile.am: add Print.custom. 2004-04-07 Mike Kestner * generator/ClassBase.cs : remove default ctor generation and hasDefaultConstructor field. * generator/Ctor.cs : chain to base (IntPtr.Zero). * generator/StructBase.cs : remove hasDefaultConstructor usage. * glib/Object.cs : remove Object () ctor. Add Ben's GetGType method, although nothing uses it yet. Still working on integrating the remainder of Ben's patch. * gtk/Gtk.metadata : remove all the disabledefaultctor rules. * */*.custom : add base (IntPtr.Zero) or this (...) chaining for all ctors. 2004-04-07 John Luke * gtk/Gtk.metadata: mark Gtk.Widget.ModifyFont font_desc null_ok 2004-04-07 Gonzalo Paniagua Javier * glib/Value.cs: added StructLayout attribute as requested by the runtime. Now --aot works again. 2004-04-04 Mike Kestner * generator/SymbolTable.cs : don't use StringGen for gunichar. * glib/glue/unichar.c : glue to fetch a gunichar as a utf8 string. * glib/glue/Makefile.am : add unichar.c * glib/glue/makefile.win32 : add unichar.c * gtk/Gtk.metadata : hide TextIter.GetChar * gtk/TextIter.custom : manually impl Char prop. [fixes #53425] 2004-04-04 Mike Kestner * pango/Layout.custom : increment an indexer. thanks to Moritz Balz for the bug report and candidate patch. 2004-04-04 Mike Kestner * generator/BoxedGen.cs : DllImport glibsharpglue for value_create. 2004-04-04 Mike Kestner * gnome/glue/canvasitem.c : add glue to override VMs. * gnome/CanvasItem.cs : expose virtual methods for update, point, realize, draw, and render. 2004-04-04 John Luke * vte/Vte.metadata: mark argv and envv parameters to Vte.Terminal.ForkCommand as arrays, it finally works * sample/Vte-test.cs: adjust for above 2004-04-02 Todd Berman * gtk/Gtk.metadata: fix Gtk.SelectionData.Set. 2004-04-02 Todd Berman * configure.in: added new .pc files * gtk-sharp.pc.in: modified to include Libs: line * art/.cvsignore: added art-sharp.pc * art/Makefile.am: added rules for installing .pc * art/art-sharp.pc.in: new .pc file * gconf/GConf/.cvsignore: added gconf-sharp.pc * gconf/GConf/Makefile.am: added rules for installing .pc * gconf/GConf/gconf-sharp.pc.in: new .pc file * gda/.cvsignore: added gda-sharp.pc * gda/Makefile.am: added rules for installing .pc * gda/gda-sharp.pc.in: new .pc file * glade/.cvsignore: added glade-sharp.pc * glade/Makefile.am: added rules for installing .pc * glade/glade-sharp.pc.in: new .pc file * gnome/.cvsignore: added gnome-sharp.pc * gnome/Makefile.am: added rules for installing .pc * gnome/gnome-sharp.pc.in: new .pc file * gnomedb/.cvsignore: added gnomedb-sharp.pc * gnomedb/Makefile.am: added rules for installing .pc * gnomedb/gnomedb-sharp.pc.in: new .pc file * gtkhtml/.cvsignore: added gtkhtml-sharp.pc * gtkhtml/Makefile.am: added rules for installing .pc * gtkhtml/gtkhtml-sharp.pc.in: new .pc file * rsvg/.cvsignore: added rsvg-sharp.pc * rsvg/Makefile.am: added rules for installing .pc * rsvg/rsvg-sharp.pc.in: new .pc file * vte/.cvsignore: added vte-sharp.pc * vte/Makefile.am: added rules for installing .pc * vte/vte-sharp.pc.in: new .pc file 2004-04-01 Mike Kestner * art/Art.metadata : mark dst pass_as=out on Affine.Point 2004-04-01 Jorn Baayen * gtk/Style.custom : wrappers for Text[] and Base[] * gtk/glue/style.c : glue to access text[] and base[] [fixes #54805] 2004-04-01 Jeroen Zwartepoorte * gnome/IconTheme.custom : GetSearchPath impl [fixes #51599]. 2004-04-01 Joshua Tauberer * gdk/Gdk.metadata : hide Region.GetRectangles * gdk/Region.custom : implement Rectangles prop [fixes #55811] 2004-04-01 Mike Kestner * glib/Value.cs : NULL check for g_value_get_string Thanks to Jeroen Zwartepoorte for the bug report with patch [fixes #54979]. 2004-03-31 Miguel de Icaza * configure.in: If monodoc is not found, then turn off enable_monodoc, so the value is properly propagated. 2004-03-31 Mike Kestner * configure.in : tagged for 0.18 and bumped release to 0.18.99 for cvs. 2004-03-31 Mike Kestner * configure.in : remove atk/glue/Makefile * atk/Makefile.am : comment out subdirs for now * atk/makefile.win32 : don't build glue * */glue/Makefile.am : remove generated.c from sources * */glue/makefile.win32 : remove generated.c from sources * generator/ObjectGen.cs : disable vm glue generation for now. 2004-03-30 John Luke [Reworked a bit by MK] * Makefile.am : add doc dir * configure.in : test for monodoc, expand doc/Makefile * doc/Makefile.am : build and dist docs * doc/makefile : kill 2004-03-30 Mike Kestner * gtk/Makefile.am : add the customs that miggie didn't add. 2004-03-30 Mike Kestner * rsvg/Makefile.am : apply metadata to api * rsvg/Rsvg.metadata : mark an array param 2004-03-29 Todd Berman * sample/Makefile.am: small resource build fix for glade-test.exe 2004-03-27 Jeroen Zwartepoorte * gnomevfs/Mime.cs: * gnomevfs/MimeActionType.cs: * gnomevfs/Vfs.cs: Implemented more gnome-vfs methods. 2004-03-25 Mike Kestner * gtk/Gtk.metadata : Widget.Events is a Gdk.EventMask, not int * sample/GtkDemo/DemoDrawingArea.cs : remove int casts * sample/Scribble.cs : remove int casts 2003-03-24 John Luke * samples/gconf/Makefile.am: changes SOURCES to FILES to make automake 1.8 happy 2003-03-24 Jorn Baayen * gtk/Gtk.metadata : mark null_ok param on Window.SetTransientFor. 2003-03-24 Jorn Baayen * gdk/Gdk.metadata : mark out param on Screen.GetMonitorGeometry. 2004-03-22 Mike Kestner * gtk/Window.custom : bring back the DefaultSize prop as a Gdk.Size. 2004-03-21 Gonzalo Paniagua Javier * configure.in: if no C# compiler found, error out. 2004-03-18 Mike Kestner * gdk/Makefile.am : generate glue * gdk/glue/Makefile.am : build generated glue * gdk/glue/makefile.win32 : build generated glue * gdk/glue/vmglueheaders.h : includes for vm glue * gtk/Makefile.am : generate glue * gtk/glue/Makefile.am : build generated glue * gtk/glue/makefile.win32 : build generated glue * gtk/glue/vmglueheaders.h : includes for vm glue 2004-03-18 Mike Kestner * configure.in : expand atk/glue/Makefile * atk/Makefile.am : generate glue and build glue dir * atk/makefile.win32 : ditto * atk/glue/Makefile.am : build new glue * atk/glue/makefile.win32 : build new glue * atk/glue/vmglueheaders.h : new includes for vm glue * atk/glue/win32dll.c : win dll building code * generator/CodeGenerator.cs : add --gluelib-name and --glue-filename argument parsing. * generator/GenerationInfo.cs : add GluelibName, GlueFilename, GlueEnabled, GlueWriter, and CloseGlueWriter. * generator/ObjectGen.cs : Add VirtualMethod glue generation * generator/Statistics.cs : Add warning message for virtual method throttling. 2004-03-18 Mike Kestner * parser/gapi2xml.pl : fix passbyvalue bug in vm parsing. * */*.raw : regen 2004-03-17 Mike Kestner * sample/rsvg/Makefile.am : make conditional on ENABLE_RSVG 2004-03-16 Mike Kestner * generator/Signal.cs : streamline the remove code a tad. 2004-03-16 Mike Kestner * gdk/Makefile.am : add new file. * gdk/Size.cs : implementation of a Size value type. 2004-03-16 Mike Kestner * generator/Signal.cs : remove a C.WL. 2004-03-16 Mike Kestner * generator/ObjectGen.cs : don't gen a Signals hash per class. * generator/Signal.cs : gen checks for [ConnectBefore]. * generator/SignalHandler.cs : add connect_flags param to ctor. * glib/ConnectBeforeAttribute.cs : new attr * glib/Makefile.am : add new file * glib/Object.cs : add before/after hashes and EventLists * gnome/CanvasProxy.cs : use AfterSignals and AfterHandlers. 2004-03-14 John Luke * parser/gapi-fixup.in: * generator/gapi-codegen.in: s/@MONO@/@RUNTIME@ 2004-03-14 Jeroen Zwartepoorte * Makefile.in: * configure.in: * gnomevfs/AsyncCallback.cs: * gnomevfs/AsyncCallbackNative.cs: * gnomevfs/AsyncReadCallback.cs: * gnomevfs/AsyncReadCallbackNative.cs: * gnomevfs/AsyncWriteCallback.cs: * gnomevfs/AsyncWriteCallbackNative.cs: * gnomevfs/Handle.cs: * gnomevfs/Makefile.in: * gnomevfs/OpenMode.cs: * gnomevfs/Result.cs: * gnomevfs/SeekPosition.cs: * gnomevfs/Vfs.cs: * sample/Makefile.in: * sample/TestVfs.cs: Added partial gnome-vfs bindings. Necessary now that can Gtk.FileChooser return gnome-vfs uris. 2004-03-12 Mike Kestner * */Makefile.am : automakify the build * */Makefile.in : kill * *.custom : remove System.Drawing dependencies * *.cs : remove System.Drawing dependencies * *-api.xml : mv to *-api.raw * glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade. * gtk/gtk-symbols : alias GtkType to GType * sources/gtk-sharp-sources.xml : create .raw files. They are now transformed to .xml files by the metadata compilation step. 2004-03-08 Mike Kestner * generator/ObjectGen.cs : ignore virtual_method elems for now. * parser/gapi2xml.pl : parse the non-signal class methods and add as virtual_method elements in the API xml * */*-api.xml : regen 2004-03-06 Gonzalo Paniagua Javier * glue/Makefile.am: * glue/makefile.win32: * glue/thread-notify.c: dropped. * gtk/ThreadNotify.cs: use just Idle.Add, which is what the deprecated gda_input_add does. No more P/Invoke here. 2004-03-04 Gonzalo Paniagua Javier * glue/Makefile.am: * glue/makefile.win32: added thread-notify.o * glue/thread-notify.c: handles pipe creation/read/write/close for ThreadNotify. * gtk/ThreadNotify.cs: P/Invoke the thread-notify code instead of libc functions. 2004-02-29 Jeroen Zwartepoorte * gtk/FileChooserDialog.custom: Implement the gtk_file_chooser_dialog_new constructor by hand. 2004-02-28 Jeroen Zwartepoorte * gtk/Gtk.metadata: Rename some AddAction* methods to just Add*. 2004-02-28 Jeroen Zwartepoorte * glib/Value.cs: Work around a GLib.Value having a null string (#54979). * sample/Actions.cs: Updated. * sample/Makefile.in: Added the action sample. 2004-02-28 Jeroen Zwartepoorte * gdk/gdk-api.xml: Updated to latest CVS. * gnome/gnome-api.xml: Idem. * gtk/gtk-api.xml: Idem. * pango/pango-api.xml: Idem. * sample/Makefile.in: Don't build the gconf sample for now. 2004-02-28 Jeroen Zwartepoorte * gnome/PrintContext.custom: Added gnome_print_context_* methods. * gtk/gtk-api.xml: Hide GtkActionEntry C-specific struct and methods. * sample/Actions.cs: Updated. * sample/Makefile.in: Reinclude print sample. * sample/PrintSample.cs: Updated. * sample/TestDnd.cs: Updated. 2004-02-26 Mike Kestner * configure.in : tagged 0.17 and bumped cvs version. 2004-02-26 Mike Kestner * atk/Atk.metadata : hide some funky api * atk/atk-api.xml : regen 2004-02-26 Mike Kestner * gnome/GtkSharp.* : move to Gnome namespace * gnome/CanvasProxy.cs : update event handler namespaces * gnome/voidObject*.cs : internalize 2004-02-24 Mike Kestner * pango/AttrIterator.custom : manually implement SList method. * pango/GlyphItem.custom : manually implement SList method. * pango/Layout.custom : manually implement SList method. * pango/Pango.metadata : hide some SList methods. * pango/pango-api.xml : regen. 2004-02-23 Mike Kestner * pango/Pango.metadata : mark some out params on Layout. * pango/pango-api.xml : regen [fixes #54720] 2004-02-23 Thiago Milczarek Sayão * gtk/TextBuffer.custom : add TextIter parm to InsertWithTags method. 2004-02-21 Mike Kestner * pango/Pango.metadata : mark some out params on Layout. * pango/pango-api.xml : regen [fixes #54696] 2004-02-21 Mike Kestner * pango/Pango.metadata : mark some out params on ParseMarkup. * pango/pango-api.xml : regen [fixes #54695] 2004-02-20 Mike Kestner * gdk/Gdk.metadata : hide NoExpose, Client, Setting, WindowState, and Proximity events. * gdk/EventClient.cs : glue-based manual implementation. * gdk/EventClient.custom : kill * gdk/EventNoExpose.custom : kill * gdk/EventProximity.cs : glue-based manual implementation. * gdk/EventProximity.custom : kill * gdk/EventSetting.cs : glue-based manual implementation. * gdk/EventSetting.custom : kill * gdk/EventWindowState.cs : glue-based manual implementation. * gdk/EventWindowState.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mappings. * glue/event.cs : expose event struct fields. * gtk/Application.cs : simplify CurrentEvent prop. 2004-02-20 Mike Kestner * gdk/Gdk.metadata : hide Property, Selection, and DND events * gdk/EventDND.cs : glue-based manual implementation. * gdk/EventDND.custom : kill * gdk/EventProperty.cs : glue-based manual implementation. * gdk/EventProperty.custom : kill * gdk/EventSelection.cs : glue-based manual implementation. * gdk/EventSelection.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mappings. * glue/event.cs : expose DND, Property and Selection struct fields. 2004-02-19 Thiago Milczarek Sayão * gtk/TextBuffer.custom : new InsertWithTags method. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventFocus and EventConfigure. * gdk/EventConfigure.cs : glue-based manual implementation. * gdk/EventConfigure.custom : kill * gdk/EventFocus.cs : glue-based manual implementation. * gdk/EventFocus.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mappings. * glue/event.cs : expose Focus and Configure struct fields. * sample/Scribble.cs : fix EventConfigure api breakage 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventCrossing. * gdk/EventCrossing.cs : glue-based manual implementation. * gdk/EventCrossing.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventCrossing. * glue/event.cs : expose Crossing struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventVisibility. * gdk/EventVisibility.cs : glue-based manual implementation. * gdk/EventVisibility.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventVisibility. * glue/event.cs : expose Visibility struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventExpose. make Region opaque. * gdk/EventExpose.cs : glue-based manual implementation. * gdk/EventExpose.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventExpose. * glue/event.cs : expose Expose struct fields. * sample/Scribble.cs : fix some EventExpose api breakage 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventMotion * gdk/EventMotion.cs : glue-based manual implementation. * gdk/EventMotion.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventMotion. * glue/event.cs : expose Motion struct fields. * sample/Scribble.cs : fix some EventMotion api breakage 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventScroll * gdk/EventScroll.cs : glue-based manual implementation. * gdk/EventScroll.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventScroll. * glue/event.cs : expose Scroll struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventButton * gdk/EventButton.cs : glue-based manual implementation. * gdk/EventButton.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventButton. * glue/event.cs : expose Button struct fields. * sample/CanvasExample.cs : fix EventButton ctor * sample/GnomeHelloWorld.cs : fix EventButton ctor 2004-02-17 Radek Doulik * glib/Value.cs: use g_value_set_pointer for GType.Pointer/IWrapper objects * glib/TypeConverter.cs: return GType.Pointer for Opaque objects which do not have GType property 2004-02-17 John Luke * gdk/Gdk.metadata: set Gdk.Window.Cursor null_ok * gdk/gdk-api.xml: regen 2004-02-17 Jorn Baayen * gtk/SelectionData.custom : fix get_data_pointer glue method name. 2004-02-16 Mike Kestner * glib/TypeConverter.cs : check for GType prop on all types, not just value types, before we fall back to managed values. * glib/Value.cs : use handle to set_boxed for IWrappers. 2004-02-16 Mike Kestner * gdk/EventKey.cs : add a Key prop to return casted KeyVals. 2004-02-16 Mike Kestner * gdk/Gdk.metadata : hide EventKey * gdk/EventKey.cs : glue-based manual implementation. * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventKey. * glue/event.cs : expose key struct fields. 2004-02-16 Mike Kestner * gdk/Gdk.metadata : hide EventAny * gdk/Event.cs : make this a full EventAny implementation. * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : map EventAny to Gdk.Event. * glue/event.cs : expose window and send_event fields. 2004-02-14 Todd Berman * gtk/Gtk.metadata : hide Widget.SetState * gtk/Widget.custom : add State get; set; property * glue/widget.c : add glue for get_State (); * gtk/gtk-api.xml : regen 2004-02-12 Mike Kestner * sample/GladeViewer.cs : fix a broken api usage. 2004-02-12 Mike Kestner * gnome/Gnome.metadata : hide the GList API * gnome/*.custom : manually wrap GList api using typed arrays * gnome/gnome-api.xml : regen. 2004-02-12 Mike Kestner * glade/Glade.metadata : hide a GList method. * glade/Makefile.in : run gapi-fixup * glade/XML.custom : return Widget[] from GetWidgetPrefix. * glade/glade-api.xml : regen * pango/Pango.metadata : hide a dubious GList method. * pango/pango-api.xml : regen 2004-02-12 Ben Maurer * gtk/TreeIter.custom: Make the hash here not collide. 2004-02-12 Mike Kestner * gdk/Gdk.metadata : hide the GList API * gdk/*.custom : manually wrap GList api using typed arrays * gdk/gdk-api.xml : regen. 2004-02-12 Mike Kestner * gtk/Accel.custom : s/List/SList * gtk/Stock.custom : ditto * gtk/TextIter.custom : ditto 2004-02-12 Zoltan Varga * glib/time_t_CustomMarshaler.cs: Update after custom marshaling changes. 2004-02-12 Jeroen Zwartepoorte * gtk/Gtk.metadata: Hide the various *ActionEntry classes since they're only meant to be used in C code. 2004-02-11 Jeroen Zwartepoorte * atk/atk-api.xml: * gconf/GConf.PropertyEditors/Makefile.in: * gdk/Gdk.metadata: * gdk/gdk-api.xml: * generator/CallbackGen.cs: Set a GError pointer to IntPtr.Zero. * gnome/Gnome.metadata: * gnome/gnome-api.xml: * gtk/Adjustment.custom: * gtk/FileSelection.custom: Deprecated, removed. * gtk/FileSystemModel.custom: * gtk/Gtk.metadata: * gtk/IconTheme.custom: Custom SearchPath property (fixes #51599). * gtk/Paned.custom: Deprecated, removed. * gtk/TreeModelFilter.custom: New class in 2.4. * gtk/gtk-api.xml: * pango/pango-api.xml: * sample/Actions.cs: Added new Action API sample. * sample/Makefile.in: Don't build some samples for now. Updated everything to use gtk 2.3/2.4. Some samples commented out because they use deprecated/changed API. More work to follow. 2004-02-11 Mike Kestner * gtk/Gtk.metadata : hide the GSList API * gtk/*.custom : manually wrap GSList api using typed arrays * gtk/gtk-api.xml : regen. 2004-02-11 Mike Kestner * gtk/*.custom : don't use element_type ctor for GObject lists. 2004-02-11 Mike Kestner * gtk/*.custom : return 0 length arrays, not null. 2004-02-10 Mike Kestner * gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : nuke a GnomeSharp. * generator/Signal.cs : move eventhandlers and args into the base namespace instead of a *Sharp namespace. * sample/*.cs : nuke using *Sharp. 2004-02-10 Mike Kestner * art/Art.metadata : mark a field private * art/art-api.xml : regen * gda/Gda.metadata : mark a few structs opaque * gda/gda-api.xml : regen * gdk/*.custom : fix changed field names * gdk/gdk-api.xml : regen * generator/Field.cs : StudlyCase simple typed field names. * gnome/Gnome.metadata : mark FontEntry.weight private to avoid collision with Weight field. s|//|/api/namespace|g * gnome/gnome-api.xml : regen * gtk/Gtk.metadata : rename AccelKey.accel_key to key to avoid collision with type name. * gtk/*.custom : fix changed field names * gtk/gtk-api.xml : regen * pango/pango-api.xml : regen * parser/gapi_pp.pl : add a private_regex to hide BACKEND and ENGINE apis, which are by convention private. * sample/* : make compile * sample/GtkDemo/* : make compile * sample/test/* : make compile * sources/gtk-sharp-sources.xml : exclude a bunch of pango source files. 2004-02-07 Mike Kestner * configure.in : tagged 0.16 and bumped cvs version. 2004-02-07 Mike Kestner * generator/ObjectGen.cs : oops, remove a couple C.WLs. 2004-02-07 Gustavo Giraldez * atk/Makefile.in : fix copy/paste error in --assembly-name. * generator/ObjectGen.cs : rework ObjectManager generation code. * glade/Makefile.in : fix copy/paste error in --assembly-name. 2004-02-06 Mike Kestner * generator/Method.cs : for Opaque/Object retvals, if raw_ret is NULL, return null instead of an object with a NULL handle. 2004-02-06 Mike Kestner * glib/time_t_CustomMarshaler.cs : use TimeSpan.TotalSeconds, not TimeSpan.Seconds. 2004-02-06 John Luke * gtk/Gtk.metadata: hide unneeded RadioMenuItem ctors * gtk/RadioMenuItem.custom: add ctor to create a new group * gtk/gtk-api.xml: regen 2004-02-04 Mike Kestner * generator/CustomMarshalerGen.cs : impl MarshalReturnType. * generator/Method.cs : add CustomMarshalerGen return type handling. * generator/Property.cs : rework property type selection. * generator/SymbolTable.cs : add time_t mapping * glib/time_t_CustomMarshaler.cs : impl native to managed methods. * glue/time_t.c : remove debugging code. 2004-02-03 Mike Kestner * glib/List.cs : add a ctor overload to create empty lists with a specific element_type. * glib/SList.cs : ditto 2004-02-03 Mike Kestner * glib/Value.cs : remove double free of ManagedValues. Fixes the unfiled (cough, tberman, cough) bug in managed types as tree store values. 2004-02-03 Mike Kestner * glib/ManagedValue.cs : null check on Free. * glib/Value.cs : some ManagedValue rework because we unset now. 2004-02-02 Mike Kestner * generator/CustomMarshalerGen.cs : beginnings of a new generatable. * generator/SymbolTable.cs : mangle interface keyword to iface. 2004-02-02 Martin Willemoes Hansen * generator/ClassBase.cs: Converted String uses to the string alias. * generator/ConstStringGen.cs: Ditto * generator/Ctor.cs: Ditto * generator/EnumGen.cs: Ditto * generator/ManualGen.cs: Ditto * generator/SignalHandler.cs: Ditto * generator/StringGen.cs: Ditto * sample/Subclass.cs: Added a DeleteEventHandler to the window widget, this way a user can properly quit the sample. 2004-02-02 Mike Kestner * glib/Value.cs : add dispose queue and idle handler so we can unset GValues that are created by the binding ctors. [Fixes #53490] 2004-02-02 Todd berman * gdk/Event*.custom: added fix for bug #53729. 2004-01-30 Todd Berman * gtk/Gtk.metadata: out fix for TreeView.GetBackgroundArea and TextView.GetIterLocation. * gtk/gtk-api.xml: regen 2004-01-29 Mike Kestner * glib/time_t_CustomMarshaler.cs : new custom marshaler form time_t. * glue/time_t.c : glue for time_t. * glue/Makefile.am : add time_t.c * glue/makefile.win32 : ditto 2004-01-28 John Luke * glade/XML.custom : some null checking for crash prevention. [Fixes #47017] * sample/VteTest.cs: update * vte/Vte.metadata: remove incorrect rules * vte/vte-api.xml: regen 2004-01-28 Mike Kestner * gtk/gtk-api.xml : regen * parser/gapi2xml.pl : fix signals parsing where a STRUCT_OFFSET is not present in the signal_new call. * parser/gapi_pp.pl : ignore #ident lines. * vte/vte-api.xml : regen [Fixes #53189] 2004-01-27 Mike Kestner * gtk/SelectionData.custom : guard against null in get_Text. [Fixes #52713] 2004-01-27 Mike Kestner * glue/selectiondata.c : expose data field. * gtk/SelectionData.custom : add Data property. [Fixes #53397] 2004-01-27 John Luke * gtk/AccelKey.custom: add convenience ctor * gtk/Gtk.metadata: revert previous Widget.AddAccelerator change, fix AccelKey fields * gtk/Widget.custom: add overload for AddAccelerator * gtk/gtk-api.xml: regen 2004-01-27 Mike Kestner * glib/Value.cs : only g_free values we allocate. [Fixes #51180] 2004-01-27 Mike Kestner * glib/TypeConverter.cs : lookup GTypes for boxed value types. * glib/Value.cs : fix boxed type handling in object ctor. [Fixes #51043] 2004-01-27 Mike Kestner * generator/BoxedGen.cs : gen a Value to Boxed explicit cast op. * generator/Property.cs : use new cast in Boxed getters. [Fixes #53414] 2004-01-27 Mike Kestner * gtk/Gtk.Metadata : revert opaquing of TextIter. * gtk/TextBuffer.custom : ditto * gtk/gtk-api.xml : regen 2004-01-27 Mike Kestner * generator/MethodBody.cs : remove unnecessary generation for Handle using out parameters. * gtk/Gtk.Metadata : make TextIter opaque * gtk/TextBuffer.custom : remove redundant dllimport * gtk/gtk-api.xml : regen 2004-01-27 Mike Kestner * gnome/Gnome.metadata : Icon.LookupSync mark factory param null_ok. Reworked from patch by Todd Berman. * gnome/gnome-api.xml : regen 2004-01-25 Mike Kestner * art/art-api.xml : regen * gdk/gdk-api.xml : regen * generator/SymbolTable.cs : add unsigned char mapping * gnome/gnome-api.xml : regen * parser/gapi2xml.pl : handle unsigned keyword in fields, typedefs, and parameter types. [Fixes #53055] 2004-01-25 Mike Kestner * gdk/gdk-api.xml : regen * gnome/gnome-api.xml : regen * gtk/gtk-api.xml : regen * parser/gapi2xml.pl : handle typedef struct {...} Foo; [Fixes #53312] 2004-01-22 Martin Willemoes Hansen * generator/Ctor.cs: Warnings was output like "ctor" fixed to output like "in ctor", like the rest of the warnings. 2004-01-21 John Luke * vte/Makefile.in: fix so you can build from scratch 2004-01-21 Mike Kestner * generator/Field.cs : kill Protection, restructure Generate and add FIXMEs for broken parts. Add StudlyName and move array fields to use Studly names. 2004-01-20 John Luke * samples/GtkDemo: * samples/DbCLient: compile fixes, patch from Paul Duran 2004-01-20 John D. Hardin * glue/type.c : ansi-c-ify some late var decls. 2004-01-19 John Luke * vte/Makefile.in: fix it so you can build without having gtk# already installed 2004-01-19 Mike Kestner * art/Art.metadata : correct a couple symbolic array_lens * art/art-api.xml : regen * gdk/Gdk.metadata : correct a symbolic array_len * gdk/gdk-api.xml : regen * generator/Field.cs : generate array fields with MarshalAs attrs for correct marshaling. 2004-01-18 Mike Kestner * generator/Field.cs : refactored code from StructBase * generator/StructBase.cs : spin off Field class 2004-01-18 Mike Kestner * generator/SymbolTable.cs : mangle parms named readonly 2004-01-18 Peter Williams * glib/Marshaller.cs (ArrayPtrToArgv, ArgvToArrayPtr): new functions for marshalling and unmarshalling string arrays to/from char **. Not pretty, but lets us call gtk_init() in Gtk. * gtk/Application.cs (do_init): New helper function to handle passing args to Gtk. Uses above functions. (Init): Use do_init, take a new progname parameter. (InitCheck): Same. 2004-01-18 Mike Kestner * gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows return list element_type as Gtk.TreePath. * gtk/gtk-api.xml : regen 2004-01-18 Mike Kestner * gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows model param as out. * gtk/gtk-api.xml : regen 2004-01-18 John Luke * vte/Vte.metadata: fix to generate signals * vte/vte-api.xml: regen * samples/VteTest.cs: remove my home dir path 2004-01-17 John Luke * configure.in: detect and compile vte-sharp (require vte-0.11.10) * Makefile.in: add vte to subdirs * vte/*: * sources/makefile: * sources/gtk-sharp-sources.xml: add vte * samples/VteTest.cs: add incomplete test/sample * samples/Makefile.in: add vte-test.exe target 2004-01-15 Martin Willemoes Hansen * generator/Method.cs: Methods which returns void and has a single out parameter like void Foobar (..., out int baz, ...) are turned into the more .NET like signature int Foobar (...), this fixes bug 46392 * generator/Signature.cs: Ditto * generator/MethodBody.cs: Ditto * gtk/ListStore.custom: Ditto * gtk/TextBuffer.custom: Ditto * gtk/TreeStore.custom: Ditto 2004-01-13 Tambet Ingo * gtk-sharp.pc.in : add libdir var * generator/SymbolTable.cs : add GByteArray mapping. 2004-01-13 Mike Kestner * generator/Signal.cs : use ValueArray to assemble parms arg for g_signal_chain_from_overriden call. Initialize retval GValue for above. * glib/Object.cs : g_signal_chain_from_overridden parms are IntPtrs. * glib/TypeConverter.cs : handle unboxed ValueTypes. * glib/Value.cs : handle unboxed struct types. add ctor for init'd unset Values. * glib/ValueArray.cs : new binding for GValueArray used by VMs. * glue/valuearray.c : field accessors * glue/Makefile.am : add new glue file * glue/makefile.win32 : add new glue file [Fixes #52680] 2004-01-13 John Luke * en/Gtk/Dialog.custom: add more Gtk.ResponseType overloads 2004-01-10 John Luke * samples/GtkDemo/*.cs: make it compile patch from Yves Kurz 2004-01-09 Mike Kestner * gtk/Gtk.metadata : hide NotebookPage.Num method * gtk/Notebook.custom : implement PageNum. * gtk/gtk-api.xml : regen 2004-01-09 John Luke * gtk/Gtk.metadata: Hide most RadioButton constructors, for api reasons * gtk/RadioButton.custom: add ctor to create a new RadioButton with its own group to avoid having to pass null * gtk/gtk-api.xml: regen 2004-01-07 Mike Kestner * gtk/Gtk.metadata : rename TreeView.RowExpand to GetRowExpanded. * gtk/gtk-api.xml : regen 2004-01-07 John Luke * gtk/Dialog.custom: add AddActionWidget overload 2004-01-07 Mike Kestner * gtk/Gtk.metadata : TreeStore.Remove iter should be ref * gtk/gtk-api.xml : regen 2004-01-06 John Luke * gtk/Gtk.metadata: change uint to GtkAccelKey for Widget.AddAccelerator * gtk/gtk-api.xml: regenerated 2004-01-05 Mike Kestner * configure.in : tagged 0.15 and updated version. 2003-12-30 Mike Kestner * glib/Object.cs (ConnectDefaultHandlers): reflection code to hook up overridden default signal handlers. * glue/type.c (gtksharp_override_virtual_method): peek the gtype and ref the class if it isn't created yet. * sample/Subclass.cs : update to override Button.OnClicked. 2003-12-26 Mike Kestner * glue/selectiondata.c : new glue to make SelectionData opaque * glue/Makefile.am : add file * glue/makefile.win32 : add file * gtk/Gtk.metadata : mark SelectionData opaque, unhide Set method * gtk/SelectionData.custom : invoke glue methods for opaque fields. * gtk/gtk-api.xml : regen * sample/TestDnd.cs : update to new SelectionData API. 2003-12-24 John Luke * gtk/Label.custom: add public default constructor * gtk/gtk-api.xml: * gtk/Gtk.metadata: make gtk_label_new_with_mnemonic the preferred constructor, disable protected default ctor 2003-12-21 John Luke * glib/Idle.cs: add Remove method found in Alp Toker's platano 2003-12-16 Joe Shaw * generator/SymbolTable.cs (MangleName): Add "lock" and "callback" to the list of names that need to be mangled. The former is a C# reserved keyword and the latter is already used as an argument to methods which marshal callbacks. 2003-12-15 Mike Kestner * generator/BoxedGen.cs : s/uint/GLib.GType * generator/ManualGen.cs : add a ctor to pass ToNative handle name * generator/ObjectGen.cs : s/uint/GLib.GType * generator/Signal.cs : use GLib.GType and call OverrideVirtualMethod * generator/SymbolTable.cs : make GType a ManualGen and update a few ManualGens to the new signatures. * glib/DefaultSignalHandler.cs : s/Type/System.Type * glib/ManagedValue.cs : s/uint/GLib.GType * glib/Object.cs : s/uint/GLib.GType, add OverrideVirtualMethod. * glib/Type.cs : s/uint/IntPtr, add static fields for fundamentals. make it a value type and add ==, !=, Equals, and GetHashCode. * glib/TypeConverter.cs : use new GType statics, not fundamentals. * glib/Value.cs : use new GType statics, not fundamentals. * gnome/*.custom : s/uint/GLib.GType * gtk/*Store.custom : use GType statics, not fundamentals. * sample/Subclass.cs : s/uint/GLib.GType. 2003-12-12 Mike Kestner * generator/CallbackGen.cs : kill some redundant generation * generator/MethodBody.cs : pass array parameters as arrays of the corresponding native type. 2003-12-12 Mike Kestner * gnome/gnome-api.xml : regen'd * parser/gapi2xml.pl : handle typedef enum _foo foo; * parser/gapi-parser : support elements in addition to and to specify the sources to be parsed. 2003-12-12 Radek Doulik * gtk/Gtk.metadata: hide TextTag.Weight property and implement it in TextTag.custom. TextTag Weight property in gtk is of type int, but we want it to be Pango.Weight enum 2003-12-10 Radek Doulik * glue/program.c (get_default): moved check after strspec is set so we don't check uninitialized value 2003-12-10 Mike Kestner * generator/CallbackGen.cs : kill ref_owned generation * generator/ClassBase.cs : use simple GetObject w/o ref_owned * generator/ManagedCallString.cs : new class to generate native to managed method calls. * generator/Method.cs : kill ref_owned generation * generator/MethodBody.cs : kill ref_owned generation * generator/Property.cs : kill ref_owned generation * generator/Signal.cs : generate delegates and vtable connect methods for all signals. Mark VMs with new attr. * generator/StructBase.cs : kill ref_owned generation * glib/DefaultSignalHandlerAttribute.cs : new attr to mark virtual methods. * glib/Object.cs : add overload for GetObject that defaults to ref_owned=false. Add extern for VM override glue. 2003-12-08 Luciano Martorella * gdk/Gdk.metadata : ref/array tags * gdk/Colormap.custom : removed * gdk/gdk-api.xml : regen 2003-12-08 Mike Kestner * generator/Signal.cs : add virtual method generation for the default signal handlers. * glib/Object.cs : add g_signal_chain_from_overridden extern 2003-12-08 Mike Kestner * generator/VMSignature.cs : new class to generate virtual method signatures for default signal handlers. 2003-12-08 Mike Kestner * generator/ObjectGen.cs : stupid little whitespace change 2003-12-08 Mike Kestner * glue/type.c : new glue for g_signal_override_class_closure 2003-12-07 Mike Kestner * gnome/Gnome.metadata : About ctor's logo_pixbuf is null_ok * gnome/gnome-api.xml : regen 2003-12-04 Mike Kestner * glib/Object.cs : kill unused WrapperClassAttribute. [#51458] 2003-12-04 Mike Kestner * parser/gapi2xml.pl : fix for const param handling [#50295] 2003-12-03 Mike Kestner * generator/CallbackGen.cs : use new sig and isig classes. * generator/Ctor.cs : use new sig, isig, and body classes. * generator/ImportSignature.cs : isig code spun out from Parameters. * generator/Method.cs : use new sig, isig, and body classes. * generator/MethodBody.cs : spun Initialize, GetCallString, Finish, and Exception throwing methods from Parameters. * generator/Parameters.cs : Slayed the evilness that was CreateSignature. It is now essentially a container for Parameter classes instead of a tangled mess of code trying to do everything remotely related to parameter lists. Also completely killed the VAType/IsVarArgs stuff, as it can be done with the array and params attrs instead. * generator/Property.cs : use new sig class. * generator/Signature.cs : new method sig generator extracted from Parameters class. add "params" keyword support for tagged parameters. * gnome/Gnome.metadata : hide IconList.GetSearchPath (to be manual) * gnome/gnome-api.xml : regen * gtk/ListStore.custom : kill unneeded overload * gtk/TreeStore.custom : kill unneeded overload * gtk/Gtk.metadata : mark params/args on *store_newv * gtk/gtk-api.xml : regenerated 2003-12-03 Ettore Perazzoli * sample/TestDnd.cs: New. * gtk/TargetEntry.custom: New. * glue/dragcontext.c: New. * glib/Object.cs: New public property TypeName in class Object. * gdk/DragContext.custom: New. 2003-11-30 Mike Kestner * art/art-symbols.xml : add some simple types to clean up generation. * art/Makefile.in : add art-symbols.xml 2003-11-29 Mike Kestner * gtk/Gtk.metadata : fix targets for Drag.SourceSet. * gtk/gtk-api.xml : regen 2003-11-29 Mike Kestner * generator/Parameters.cs : handle null_ok for arrays. * gtk/Gtk.metadata : mark a null_ok in Drag.DestSet * gtk/gtk-api.xml : regen 2003-11-29 Mike Kestner * gdk/Pixbuf.custom : revert Miguel's commit. 2003-11-29 Mike Kestner * */Makefile.in : remove the nowarns * gdk/Rectangle.custom : add System.Drawing.Rect implicit cast op. * sample/Size.cs : use System.Drawing.Rectangles * sample/GnomeHelloWorld.cs : remove an unneeded null check 2003-11-29 Mike Kestner * generator/StructBase.cs : remove ==/!= operator generation. 2003-11-28 Miguel de Icaza * gdk/Pixmap.custom: Added Pixmap.custom to add a convenience constructor. 2003-11-27 Miguel de Icaza * glib/Log.cs: Make LogLevelFlags CLS compliant. * glib/SignalCallback.cs: Set the constructor protection level to protected, since it can not be instantiate.d * glib/Marshaller.cs: Do not allow instances of this class as it only exposes static methods. * glib/Source.cs, glib/FileUtils.cs, glib/Timeout.cs, glib/Thread.cs, glib/Markup.cs, glib/TypeConverter.cs: Ditto. 2003-11-29 Mike Kestner * gdk/Gdk.metadata : add some array attrs to Pixbuf ctors. * gdk/Pixbuf.custom : remove unneeded overloads. * gdk/gdk-api.xml : regenerated 2003-11-23 Mike Kestner * generator/SignalHandler.cs : use CONNECT_AFTER. 2003-11-22 John Luke * sample/PrintSample.cs: add small Gnome.Print example * sample/Makefile.in: add print example to gnome build 2003-11-19 Peter Williams * gtk/Gtk.metadata: Add some array attributes for some "type *elem, int n_elem" array params. 2003-11-19 Mike Kestner * parser/gapi_pp.pl : handle files and dirs in ARGV. * parser/gapi2xml.pl : deal with struct keyword in param decls * parser/gapi-parser : handle elements. 2003-11-18 Mike Kestner * configure.in : tagged for 0.14 and bumping VERSION. 2003-11-18 Mike Kestner * gtkhtml/Makefile.in : make the install target conditional too. 2003-11-18 Moritz Balz * gdk/Window.custom : remove Visible and Viewable since the Is* methods are now gen'd as properties. 2003-11-18 Mike Kestner * pango/Pango.metadata : mark ref params on LayoutLine.GetExtents and GetPixelExtents. [Fixes #50338] * pango/pango-api.xml : regenerated. 2003-11-18 Peter Williams * gtk/NodeStore.cs (GetNode): New public function. Patch refactored a bit to eliminate code duplication with get_node_cb. 2003-11-18 John Luke * configure.in: test for gtkhtml3 * gtkhtml/Makefile.in: build conditionally 2003-11-18 Mike Kestner * gdk/Pixbuf.custom : resurrect the stream/resource ctors. rename LoadResource to LoadFromResource for the string overload. * gdk/PixbufLoader.custom: add an internal prop to get an unwrapped pixbuf handle. 2003-11-17 Gonzalo Paniagua Javier * gdk/Pixbuf.custom: (LoadResource (assembly, resource)): a null assembly uses the calling assembly. 2003-11-17 Ettore Perazzoli * gdk/Pixbuf.custom: Removed the Assembly constructors. (Pixbuf.LoadResource (string)): New. (Pixbuf.LoadResource (Assembly, string)): New. 2003-11-16 Mike Kestner * generator/Parameters: handle array+len param pairs. * gtk/Gtk.metadata : unhide DestDefaults and mark targets param of drag_dest_set as array. * gtk/gtk-api.xml : regenerate 2003-11-14 Mike Kestner * gtk/Gtk.metadata : fully qualify attr paths * parser/gapi-fixup.cs : compile a path expression per Ben Maurer suggestion. 2003-11-14 Mike Kestner * configure.in : update VERSION to 0.14. Tagged 0.13. 2003-11-13 Mike Kestner * generator/SignalHandler.cs : guard against destroyed signalhandlers. 2003-11-07 Mike Kestner * configure.in : add mono check. expand wrapper scripts * generator/Makefile.in : use install. install a gapi-codegen wrapper. * generator/SymbolTable.cs : add SimpleGen for short * generator/gapi-codegen.in : new wrapper script in file. * parser/Makefile.in : use install. install a gapi-fixup wrapper. * generator/gapi-fixup.in : new wrapper script in file. * parser/gapi2xml.pl : deal with non-namespaced enums. ignore forward struct declarations. 2003-11-05 Mike Kestner * gtk/ITreeNode.cs : make Parent readonly * gtk/TreeNode.cs : use an internal method to set parent on the child, and set child.Parent to null in RemoveChild. 2003-11-05 Moritz Balz * gdk/Window.custom : System.Drawing.Rectangle/Point customizations 2003-11-05 Mike Kestner * gtk/TreeNodeAttribute.cs : sealed per Ben Maurer's suggestion. * gtk/TreeNodeValueAttribute.cs : ditto 2003-11-04 Mike Kestner * glib/Value.cs : add set to Val prop * glue/Makefile.am : build nodestore.c * glue/makefile.win32 : link nodestore.o * glue/nodestore.c : new, glue for TreeModel implementation * gtk/NodeStore.cs : new tree store implementation * gtk/ITreeNode.cs : new interface for nodestore node types * gtk/TreeNode.cs : abstract class for deriving nodestore nodes * gtk/TreeNodeAttribute.cs : tree node marking attr * gtk/TreeNodeValueAttribute.cs : node column marking attr * gtk/TreeView.custom : add ctor(NodeStore) 2003-11-04 John Luke * sources/makefile: add gstreamer 0.6.4 sources * sources/gstreamer-parse.patch: fixes to parse gst * gst/Gst.metadata: new metadata * gst/Makefile.in: add gapi-fixup to Makefile * gst/gst-api.xml: new api file for 0.6.4 * gtk/Gtk.metadata: set correct preferred constructor for button * gtk/gtk-api.xml: regenerated 2003-11-02 Mike Kestner * generator/CallbackGen.cs : use a temporary ret value if there is any cleanup to be done after the call. Thanks to John Luke for a patch which identified the problem. 2003-11-01 Radek Doulik * gtk/TreeModelSort.custom: implementation of GetValue/SetValue (copied from TreeStore.custom) * gtk/TreeModel.custom: added GetValue/SetValue 2003-10-30 Ken Foster * glue/button.c: initial creating of glue file for GdkButton * glue/Makefile.am: added button.c to glue make * glue/makefile.win32: added button.c to win32 glue make * gtk/Button.custom: expose in_button GdkButton member 2003-10-29 Martin Willemoes Hansen * generator/Method.cs: marked Is and Has methods, to be generated as properties, fixes bug [47910] 2003-10-28 Mike Kestner * configure.in : releasing 0.12 2003-10-28 Mike Kestner * */Makefile.in : create the apidir before installing to it. 2003-10-28 Mike Kestner * generator/BoxedGen.cs : generate GLib.Value ctors. [fixes #47168] * generator/Property.cs : use new Boxed value ctors. * generator/StructBase.cs : use existing Writer if available. 2003-10-27 Moritz Balz * gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect. 2003-10-26 Martin Willemoes Hansen * gtk/Gtk.metadata: Added the rest of sources/Gtk.metadata and sorted the metadata. * gtk/gtk-api.xml: Regenerated, to reflect the above changes. Tags are swapped around. PaintBox, PaintBoxGap, PaintShadow and PaintShadowGap are moved arround as well. * sources/Gtk.metadata: Removed 2003-10-23 Martin Willemoes Hansen * gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtk/gtk-api.xml: Reflects changes of the metadata move, tags are swapped around. * sources/Gtk.metadata: Removed metadata, which are moved to gtk/Gtk.metadata 2003-10-22 Martin Willemoes Hansen * gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtk/gtk-api.xml: Reflects changes of the metadata move, tags are swapped around. * gtkhtml/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtkhtml/gtkhtml-api.xml: Reflects changes of the metadata move, tags are swapped around. * sources/Gtk.metadata: Removed metadata, which are moved to gtk/Gtk.metadata and gtkhtml/Gtk.metadata 2003-10-22 Mike Kestner * gtkhtml/gtkhtml-api.xml : regenerated * sources/makefile : add gtkhtml-embedded.* to the parse. Patch proposed by orph on bug #49875. 2003-10-20 Mike Kestner * gtk/Gtk.metadata : mark TargetEntry.flags as type TargetFlags. * gtk/gtk-api.xml : regenerated [fixes #49859] 2003-10-20 Mike Kestner * generator/Parameters.cs : treat interface out params like objects. * gtk/gtk-api.xml : regenerated * gtk/Gtk.metadata : mark TreeSelection.GetSelected params out. * gtk/TreeSelection.custom : emptied since it's now generated. * sources/Gtk.metadata : kill hide of TreeSelection.GetSelected. [fixes #49858] 2003-10-20 Mike Kestner * atk/atk-api.xml : regenerated * gdk/gdk-api.xml : regenerated * gtk/gtk-api.xml : regenerated * gtkhtml/gtkhtml-api.xml : regenerated [Fixes #49875] * parser/gapi2xml.pl : handle unnamed parameter declarations. 2003-10-20 Mike Kestner * generator/Parameters.cs : add a cast to the call_string for Length params other than int. 2003-10-18 Mike Kestner * gtk/Gtk.metadata : add move-node rules for Paint methods. * gtk/gtk-api.xml : regenerated * parser/gapi2xml.pl : put paint_ methods in global, not Paint. * parser/gapi-fixup.cs : add move-node rule handling. [Fixes #47980] 2003-10-17 Mike Kestner * generator/Parameters.cs : mark enum pointer params as out. need to audit if any are really arrays. [Fixes #49779] 2003-10-17 Mike Kestner * gtk/Window.cs : override Raw prop and take a ref, since gtk+ owns the ref to new Windows, and we need a ref. [Fixes #47721] 2003-10-17 Mike Kestner * gnome/CanvasPoints.custom : make New overload a ctor overload. * gnome/Gnome.metadata : mark CanvasPoints as opaque * gnome/gnome-api.xml : regenerated. [Fixes #37256] 2003-10-17 Gonzalo Paniagua Javier * gtk/ThreadNotify.cs: close the pipe and detach the GSource when explicitly requested or finalized. 2003-10-17 Gonzalo Paniagua Javier * gconf/tools/schemagen.cs: support for lists. 2003-10-15 Mike Kestner * generator/Property.cs : use new Opaque value ctor and rework get/set blocks for Opaque types. [Fixes #47959] * glib/Opaque.cs : kill explicit IntPtr operator. * glib/Value.cs : rework Opaque value ctor. 2003-10-14 Mike Kestner * gtk/Gtk.metadata : rule for ClipboardGetFunc * gtk/Clipboard.custom : comment out for now don't think any of this is needed. * gtk/ClipboardClearFunc.cs : gen'd now * gtk/ClipboardGetFunc.cs : gen'd now * gtk/GtkSharp.GtkClipboardClearFuncNative.cs : gen'd now * gtk/GtkSharp.GtkClipboardGetFuncNative.cs : gen'd now * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : remove a couple clipboard hides 2003-10-14 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/Gtk.metadata : begin the port of the Gtk rules * gtk/Makefile.in : apply metadata in gen target * gtkhtml/gtkhtml-api.xml : regenerated * gtkhtml/Gtk.metadata : a couple rules ported * gtkhtml/Makefile.in : apply metadata in gen target * sources/Gtk.metadata : port first 350 lines of rules. 2003-10-14 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : removed all the obsolete "out" rules 2003-10-13 Mike Kestner * gdk/Gdk.metadata : mark an array param on PixbufDestroyNotify * gdk/gdk-api.xml : regenerated * generator/CallbackGen.cs : Handle out params in callback sigs and ditch the object[] args handling for typed args. * generator/Parameters.cs : more proactive PassAs logic. We now default all simple pointer types (uint*, int*, double*, etc...) to out params unless they are marked otherwise in the XML with a pass_as tag or an array tag. [Fixes #32104] 2003-10-13 Mike Kestner * gnome/Gnome.metadata : new xpath metadata rules * gnome/Makefile.in : apply metadata before generation * gnome/gnome-api.xml : regenerated * parser/gapi-fixup.cs : use XmlDocument.Save (filename) instead of opening a stream manually. * sources/Gnome.metadata : killed 2003-10-12 Mike Kestner * art/Art.metadata : new xpath metadata rules * art/Makefile.in : apply metadata before generation * atk/Atk.metadata : new xpath metadata rules * atk/Makefile.in : apply metadata before generation * gda/Gda.metadata : new xpath metadata rules * gda/Makefile.in : apply metadata before generation * gdk/Gdk.metadata : new xpath metadata rules * gdk/Makefile.in : apply metadata before generation * gnomedb/GnomeDb.metadata : new xpath metadata rules * gnomedb/Makefile.in : apply metadata before generation * pango/Pango.metadata : new xpath metadata rules * pango/Makefile.in : apply metadata before generation * parser/Makefile.in : build and install new gapi-fixup * parser/gapi-fixup.cs : new xpath based metadata engine * sources/*.metadata : remove most of the old metadata, still have to convert Gtk and Gnome to xpaths. 2003-10-11 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : applied patch from jluke for hides requested in bug #38660. Also cleaned up the sprawling "hidden" rules to reduce the overall footprint. 2003-10-11 Mike Kestner * generator/OpaqueGen.cs (FromNativeReturn): just do a new on the type. GLib.Opaque.GetOpaque was apparently an homage to GetObject that just seems wrong. 2003-10-11 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : markes some out tags on TreeView.GetCursor. [Fixes #49556] 2003-10-11 Mike Kestner * generator/Parameters.cs : Properly handle out params for Object and Opaque types. * gtk/ListStore.custom: remove out on GetValue overload * gtk/TreeStore.custom: remove out on GetValue overload * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : remove some incorrect out tags [Fixes #49517] for real this time. 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : mark pos and path pass_as="out" for TreeView.GetDragDestRow and GetDestRowAtPos [Fixes #49517] 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/TreePath.custom : implement Indices property by hand. Patch from tds00mahi@thn.htu.se (malte) [Fixes #49518] * sources/Gtk.metadata : hide TreePath.Indices. 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/FileSelection.custom : implement the Selections property by hand. [Fixes #49254] * sources/Gtk.metadata : hide FileSelection.GetSelections. 2003-10-10 Mike Kestner * */makefile.win32 : remove api dir from build and fix clean target 2003-10-10 Mike Kestner * gdk/gdk-api.xml : regenerated * sources/Gdk.metadata : mark Cursor opaque. mark confine_to and cursor null_ok in Gdk.Pointer.Grab. [Fixes #48273] 2003-10-09 Mike Kestner * generator/Statistics.cs (Report): pretty it up. * generator/SymbolTable.cs : handle const-xmlChar as ConstString 2003-10-09 Mike Kestner * pango/Makefile.in : fix path to glib-sharp.dll 2003-10-10 Martin Willemoes Hansen * Makefile.in: Updated to reflect moval of api xml files from api/ to each assembly dir. * configure.in: Ditto * art/.cvsignore Ditto * art/Makefile.in: Ditto * atk/.cvsignore Ditto * atk/Makefile.in: Ditto * gda/.cvsignore Ditto * gda/Makefile.in: Ditto * gdk/.cvsignore Ditto * gdk/Makefile.in: Ditto * gdk/gdk-symbols.xml Ditto * glade/.cvsignore Ditto * glade/Makefile.in: Ditto * gnome/.cvsignore Ditto * gnome/Makefile.in: Ditto * gnomedb/.cvsignore Ditto * gnomedb/Makefile.in: Ditto * gst/.cvsignore Ditto * gst/Makefile.in: Ditto * gtk/.cvsignore Ditto * gtk/Makefile.in: Ditto * gtk/gtk-symbols.xml Ditto * gtkhtml/.cvsignore Ditto * gtkhtml/Makefile.in: Ditto * pango/.cvsignore Ditto * pango/Makefile.in: Ditto * rsvg/.cvsignore Ditto * rsvg/Makefile.in: Ditto * sources/gtk-sharp-sources.xml: Ditto * api/: Removed 2003-10-09 Mike Kestner * api/*-api.xml : regenerated * parser/gapi_pp.pl : ignore simple comments. [Fixes #47450] * parser/gapi2xml.pl : turn off debug. 2003-10-09 Mike Kestner * generator/Property.cs : don't do new for Objects if FromNativeReturn returns null. [Fixes #48055] 2003-10-08 Mike Kestner * */Makefile.in : rework the prefix handling for duncan's packaging. 2003-10-08 Martin Willemoes Hansen * gnome/PrintJob.custom: Added default ctor. * gnome/PrintDialog.custom: Added overloaded ctor with fewer parameters. * sources/Gnome.metadata: Disabled default ctor for PrintJob, changed type from int to PrintDialogFlags for PrintDialog ctor and changed return type from byte to string for PrintConfig.Get. 2003-10-07 Mike Kestner * api/gtk-api.xml : regenerated * generator/Method.cs : gen new_flag automatically if set * sources/Gtk.metadata : mark new_flag on Gtk.Bin.GetChild 2003-10-07 Mike Kestner * generator/ObjectGen.cs (Generate): check sigs.Count in addition to the null check to determine if the signals hash should be generated. 2003-10-07 Mike Kestner * parser/gapi2xml.pl : look for ");" at the end of property declarations to avoid problems with ';' in property docstrings. * api/gtk-api.xml : regenerated. [Fixes #47987] 2003-10-07 Mike Kestner * glib/ListBase.cs : assume ref_owned=false for GObject lists. [Fixes #49145] 2003-10-07 Mike Kestner * gtkhtml/Makefile.in : add art-sharp ref * sources/Gtk.metadata : make gtk_widget_size_request pass_as ref instead of out. [Fixes #46354] 2003-10-07 Mike Kestner * gtkhtml/Makefile.in : add gnome api to includes and ref in build * gtkhtml/gkthtml-api.xml : regenerated * sources/Gtk.metadata : remove the gtkhtml gnomeprint hides 2003-10-06 Mike Kestner * Makefile.in : add gtkhtml dir. * configure.in : expand gtkhtml/Makefile * api/Makefile.in : remove gtkhtml-api.xml * generator/CodeGenerator.cs : parse new --outdir, --customdir, and --assembly-name args. * generator/GenerationInfo.cs (Ctor): new (dir, dir,assembly) ctor * gtkhtml/HTMLStream.custom : moved here from gtk dir * gtkhtml/gtkhtml-api.xml : moved here from api dir * gtkhtml/Makefile.in : gen source and build dll * sources/gtk-sharp-sources.xml : write gtkhtml api to new dir 2003-10-06 Artem Popov * gtk/Dialog.custom : Action area is an HButtonBox, not a VBox. 2003-10-06 Mike Kestner * generator/InterfaceGen.cs (Generate): gen the EventHandlers for sigs * generator/Signal.cs (GetHandlerName): kill this and split it into EventHandlerName and EventHandlerArgsName props instead of the ugly out param hack. (GenEventHandler): make public void and add gen_info param. open stream with gen_info. use new *Name props. (Generate): only gen the EventHandler if we're genning the container, not for implementors. 2003-10-06 Mike Kestner * generator/CodeGenerator.cs (Main): use new ObjectGen.GenerateMappers. * generator/GenerationInfo.cs (Ctor): new (dir, assembly) ctor * generator/ObjectGen.cs : move hash management to Generate from Ctor, index it on dir, and make it hold new DirectoryInfo refs. Refactor GenerateMapper. The object mappers are now assembly based instead of namespace based. 2003-10-06 Mike Kestner * generator/Signal.cs (Generate): pass gen_info to sighdnlr.Generate. use gen_info.AssemblyName in Args instantiation. * generator/SignalHandler.cs (Generate): use gen_info to open stream. refactor out some local vars. 2003-10-04 Mike Kestner * generator/CallbackGen.cs : remove CloseWriter call. * generator/GenBase.cs : kill CreateWriter and CloseWriter. 2003-10-04 Mike Kestner * generator/AliasGen.cs : stub new Generate overload. * generator/BoxedGen.cs : implement new Generate overload. * generator/CallbackGen.cs (Generate):implement new overload. * generator/ClassBase.cs : implement new Generate overload and pass around the gen_info. * generator/ClassGen.cs : implement new Generate overload. * generator/Ctor.cs (Generate): s/sw/gen_info. * generator/EnumGen.cs : implement new Generate overload. * generator/GenBase.cs : expose NSElem, add gen_info param to AppendCustom. kill CreateWriter. (GenWrapper): add gen_info param and use it to open stream. * generator/GenerationInfo.cs : new class to pass around generation related information and perform tasks like opening streams. * generator/IGeneratable.cs : add Generate(gen_info) overload. * generator/InterfaceGen.cs : implement new Generate overload. * generator/ManualGen.cs : stub new Generate overload. * generator/Method.cs (Generate): accept gen_info. kill GenerateComments. * generator/ObjectGen.cs : implement new Generate overload. * generator/OpaqueGen.cs : implement new Generate overload. * generator/Parameters.cs (Initialize): s/sw/gen_info. * generator/Property.cs (Generate): accept gen_info. * generator/Signal.cs (Generate): accept gen_info. * generator/SimpleGen.cs : stub new Generate overload. * generator/StructBase.cs : s/sw/gen_info * generator/StructGen.cs : implement new Generate overload. 2003-10-03 Mike Kestner * generator/GenBase.cs : remove unused do_generate private member. 2003-10-03 Mike Kestner * generator/*.cs : Kill DoGenerate. 2003-10-03 Mike Kestner * api/gtk-symbols.xml : make GtkType a uint like GType. * generator/CodeGenerator.cs : adopt new parser semantics * generator/Parser.cs : move to single parser/multiple Parse. Remove DoGenerate hack and let the CodeGenerator control this. Return generatables instead of loading symboltable. * generator/SymbolTable : add AddTypes method. Revamp dealiasing code. 2003-10-02 Mike Kestner * api/gnome-api.xml : regenerated * parser/gapi2xml.pl : handle enum {...}; Thanks to Martin for identifying the bug and providing a candidate patch. 2003-10-01 Mike Kestner * README.generator : updates for new parser script * api/Makefile.in : add gtkhtml-api.xml * api/*-api.xml : regenerated * parser/makefile : install new parsing script * parser/gapi-parser : new xml-driven parsing script * sources/makefile : call new parsing script * sources/gtk-sharp-sources.xml : new parser input file * sources/gtk-sharp.sources : killed 2003-09-29 Martin Willemoes Hansen * sources/Gnome.metadata: Use const-gchar* instead of const-guchar*, when the value is realy a string * api/gnome-api.xml: Ditto 2003-09-28 Martin Willemoes Hansen * sources/gtk-sharp.sources: Fixed, wrong library used for libgnomeprintui * api/gnome-api.xml: Ditto 2003-09-23 John Luke * README: * sources/README: reflect the current targets 2003-09-19 Rachel Hestilow * sources/Gtk.metadata, api/gtk-api.xml: Rename 'Event' signals on Widget and TextTag to WidgetEvent and TextTag event, respectively, to avoid ambiguity with System.EventHandler/EventArgs. 2003-09-18 Mike Kestner * configure.in : releasing 0.11 2003-09-17 Rachel Hestilow * glib/DelegateWrapper.cs: Remove 'RemoveIfNotAlive' and revamp the memory management to use destroy notification. * generator/CallbackGen.cs: Do not generate the call to RemoveIfNotAlive. * gtk/GtkSharp.GtkClipboardGetFuncNative, GtkSharp.GtkClipboardClearFuncNative: Do not call RemoveIfNotAlive. 2003-09-17 Rachel Hestilow * generator/StructBase.cs: Make pointer, wrapped, bitfield, and dummy fields private fields. 2003-09-16 Martin Willemoes Hansen * api/gda-api.xml: Updated to reflect new versions of the targeted libraries + addition of GnomePrint * api/gdk-api.xml: Ditto * api/gnome-api.xml: Ditto * api/gnomedb-api.xml: Ditto * api/gtk-api.xml: Ditto * api/rsvg-api.xml: Ditto * sources/.cvsignore: Ditto * sources/makefile: Ditto * sources/gtk-sharp.sources: Ditto * sources/Gda.metadata: Added a couple of new_flags * sources/Gdk.metadata: Fixed name filter level type, it was missed by the parser. * sources/Gtk.metadata: Added hides for the GtkHtml releations to GnomePrint, these hides can be removed when GtkHtml is put in its own assembly. 2003-09-14 Mike Kestner * Makefile.in : add a gen-clean target to clean all but glue/parser. * generator/Signal.cs : use restructured SignalHandler. * generator/SignalHandler.cs (GetName): break up this monument to structured programming. 2003-09-12 Mike Kestner * generator/Parameters.cs (CreateSignature): begin refactoring this unholy mess. Eliminated one pass thru the param list. Eliminated prev/curr param refs. Switched to a for loop since lookbacks are required. 2003-09-11 Mike Kestner * generator/Parameters.cs : keep an ArrayList of Parameter objects and refactor the hell out of the joint using the new Count and this[]. Still need to refactor a couple methods. 2003-09-11 Mike Kestner * generator/Parameters.cs (IsLength): use a switch to make the growing list of valid len types more readable. 2003-09-11 Mike Kestner * generator/Ctor.cs : kill inline doc comments once and for all * generator/EnumGen.cs : ditto * generator/Method.cs : ditto * generator/OpaqueGen.cs : ditto * generator/Property.cs : ditto 2003-09-11 Alp Toker * generator/Parameters.cs: Handle string length parameters specified not just as int but also signed/unsigned int, long or short 2003-09-07 Alp Toker * makefile.win32: New clean and release targets, and don't bother building the samples (sample/makefile.win32 is out of date anyway) * api/makefile.win32: * glue/makefile.win32: * makefile.win32: Glade# works perfectly on win32 now; include it in the default build * sample/GladeTest.cs: * sample/GladeViewer.cs: Remove Gnome dependency and clean up * glue/makefile.win32: Add -mms-bitfields for MSVC function name mangling compatibility 2003-09-06 Alp Toker * api/gdk-api.xml: * sources/Gdk.metadata: out params for Gdk.Window.GetInternalPaintInfo * glade/makefile.win32: new win32 makefile * glue/win32dll.c: * glue/makefile.win32: Patch to remove cygwin1.dll dependency on win32 from Todd Berman * glue/makefile.win32: Update list of sources * glue/Makefile.am: Remind people to keep makefile.win32 up to date 2003-09-03 Aleksey Sanin * parser/GAPI/Metadata.pm: enable enums processing using element syntax 2003-09-02 Martin Willemoes Hansen * gda/Makefile.in: Fixed bad nowarn options 2003-08-31 Alp Toker * api/gdk-api.xml: * sources/Gdk.metadata: out params for Gdk.Window.GetOrigin 2003-08-30 Gonzalo Paniagua Javier * gdk/Pixbuf.custom: use windows dll name. Removed DllImport that is already in the generated file. * glib/Thread.cs: use windows dll name. * gtk/ThreadNotify.cs: close comment. 2003-08-28 Martin Willemoes Hansen * gdk/Pixbuf.custom: Added missing DllImport statement and proper copyright header. * api/gtk-api.xml: * sources/Gtk.metadata: Fixed new_flag rules, they did not get applied to the gtk-api.xml. * generator/Parameters.cs: * generator/StructBase.cs: * generator/SymbolTable.cs: Fixed the keyword base was not mangled, also did a little refactoring. 2003-08-28 Alp Toker * glue/style.c: glue and corresponding .custom entries for TextGC 2003-08-26 John Luke * gtk/ThreadNotify.cs: mark dllimported methods private 2003-08-26 Gonzalo Paniagua Javier * gconf/GConf/Value.cs: implemented support for lists. * glib/ListBase.cs: implemented the IDisposable stuff and created a new method, FreeList, to free the list when needed. * glade/HandlerNotFoundException.cs: make it derive from SystemException. Don't override Message, the message is created in the .ctor. 2003-08-26 Alp Toker * glue/style.c: glue and corresponding .custom entries for BaseGC, plus the ability to set GCs 2003-08-21 Martin Willemoes Hansen * gnomeprint: * api/gnomeprint-api.xml: Removed, gnomeprint is now included in gnome. 2003-08-19 John Luke * glib/ListBase.cs: Add convenience .Append (string) method 2003-08-19 Martin Willemoes Hansen * generator/Method.cs: Fixed bug where all ToString methods was marked as override, this is only correct if the ToString method does not have any parameters. 2003-08-18 Aleksey Sanin * generator/SignalHandler.cs : take refs on GObject sig parms. 2003-08-15 Duncan Mak * sources/Gtk.metadata (Gtk.TreeView.CellArea): Apply patch from Aleksey Sanin to declare the "Gdk.Rectangle rect" parameter as an out parameter. This is required because Gdk.Rectangle is a struct. 2003-08-14 Martin Willemoes Hansen * sources/Gnome.metadata: Renamed use of keyword base to Base in GnomePrintUnit method GetIdentity. Added GObject as the parent for GnomePrintTransport and GnomePrintPdf * sources/gtk-sharp.sources: Added libgnomeprintui/gpaui 2003-08-13 Martin Willemoes Hansen * sources/makefile: * sources/gtk-sharp.sources: Added libgnomeprint-2.2.2 and libgnomeprintui-2.2.2 2003-08-08 Mike Kestner * sources/gtk-sharp.sources : point to gtkhtml-3.0.8 dir * sources/gtkhtml-font-style-enum.patch : ditto * sources/makefile : fix some urls, make a get-gtkhtml-code target, and use gtkhtml-3.0.8 instead of cvs. 2003-08-06 Duncan Mak * sources/Atk.metadata: Make Mr. Art.VpathDash an Opaque struct instead of a plain ol' struct. * sources/Gtk.metadata (Gtk.Widget.SizeRequest): Mark the requisition parameter as out. 2003-08-06 Xavier Amado * gtk/Notebook.custom (CurrentPageWidget): Added a property for getting the current page widget directly. 2003-07-30 Duncan Mak * sources/Gnome.metadata: (CanvasItem.SetValist): (CanvasItem.Construct): Hidden, because we don't support va_list params. (CanvasItem): Hid the constructor, as each subclass has their own contsructor and we don't support va_list params. (CanvasItem.W2i): (CanvasItem.I2w): Marked parameters as ref, so they can be used as in/out parameters. (Canvas.GetMiterPoints): (Canvas.GetColor): Fixed return type to be 'bool' instead of 'int'. (CanvasClipgroup.Wind): Fixed property type. It should be an Art.WindRule enum, not a UInt. (Canvas.W2cAffine): (CanvasItem.AffineAbsolute): (CanvasItem.AffineRelative): (CanvasItem.I2wAffine): (CanvasItem.I2cAffine): Hidden, use the impl. in the custom file instead. * gnome/Canvas.custom: Added for W2cAffine. * gnome/CanvasItem.custom: Reformatted. Added AffineRelative, AffineAbsolute, I2wAffine, I2cAffine. These are needed because of the 'const double affine[6]' parameter. 2003-07-29 Duncan Mak * sources/Gtk.metadata: * api/gtk-api.xml: Marked the arguments to GetSelectionBounds and GetLayoutOffsets as out params. 2003-07-28 Duncan Mak * glade/XML.custom: Added new convenience factory methods, FromStream and FromAssembly. 2003-07-27 Duncan Mak * art/Makefile.in: * atk/Makefile.in: * gda/Makefile.in: * gdk/Makefile.in: * glade/Makefile.in: * gnome/Makefile.in: * gnomedb/Makefile.in * gtk/Makefile.in: * pango/Makefile.in: * rsvg/Makefile.in: Suppress warnings CS0660 and CS0661. 2003-07-23 Mike Kestner * gtk/FileSelection.custom : more s/new Object/GetObject 2003-07-23 Mike Kestner [Equal credit to Ettore Perazzoli for fixing all the bugs in the initial patch] * */*.custom : fix incorrect usage of new Object (IntPtr) where Glib.Object.GetObject should've been used. add ref_owned param to GetObject calls. * generator/CallbackGen.cs : setup ref_owned in bodies * generator/ClassBase.cs : add ref_owned to GetObject FromNative call * generator/Method.cs : setup ref_owned in bodies * generator/Property.cs : setup ref_owned in bodies * generator/SignalHandler.cs : pass ref_owned to GetObject * generator/StructBase.cs : setup ref_owned in bodies * glib/Object.cs : kill Ref/Unref methods. Don't want it to be easy for users to screw with ref counts, or make it look like they should need to. (GetObject): add ref_owned param and ref/unref to remain at 1 * glib/Value.cs : pass ref_owned to GetObject 2003-07-23 Martin Willemoes Hansen * generator/ClassBase.cs: Fixed printouts of ctor validation. Warnings refering to the same ctor were printed multiple times. 2003-07-22 John Luke * sample/TreeViewDemo.cs: remove GLib and System.Drawing references remove workaround for mscorlib use Type.GetMembers instead of .GetMethods remove Glib.IdleHandler for simplicity 2003-07-22 Mike Kestner * generator/Method.cs (GenerateBody): kill the "cast_type" overload of this, since cast_type wasn't even used. * generator/Property.cs : call simpler GenerateBody sig 2003-07-22 Duncan Mak * gtk/FileSelection.custom (FSButton): Mark the constructor as 'internal', instead of 'public'. 2003-07-15 Duncan Mak * sources/makefile (get-source-code): make it go a bit faster by checking out all files in one go. * gtk/IconSet.custom (Sizes): added proper binding to gtk_icon_set_get_sizes (), this fixes bug #45835. * sources/Gtk.metadata (GtkIconSet): hide the GetSizes method. (GtkTextBuffer): new overrides MoveMarkByName -> MoveMark DeleteMarkByName -> DeleteMark ApplyTagByName -> ApplyTag RemoveTagByName -> RemoveTag (GtkItemFactory): new overrides GetItemByAction -> GetItem GetWidgetByAction -> GetWidget These two changes fixes bug #46388. (GtkHTML): overrides for Begin, mark BeginContent and BeginFull as overrides of Begin. This fixes bug #46427. * sources/gtkhtml-font-style-enum.patch: A patch to use real values in gtkhtml-enums.h so that the parser won't choke on the complex enum declarations. * sources/makefile: Apply the above patch after checking out the source code for GtkHTML. 2003-07-14 Mike Kestner * api/*-api.xml : regenerated * gdk/Drawable.custom : DrawRectangle filled param is now bool * generator/Parameters.cs : studlify names ending w/ uscore * gtk/GtkSharp.GtkClipboardClearFuncNative : s/Opaque/Object * gtk/GtkSharp.GtkClipboardGetFuncNative : s/Opaque/Object * parser/gapi2xml.pl : put _string_* methods in Global * sample/Scribble.cs : update to new DrawRectangle api * sources/Gdk.metadata : hide some conflicting methods * sources/Gtk.metadata : finally fix the Progress crap and renames, hides and such to fix conflicts * sources/README : mention new gtk-2.2 reqs * sources/gtk-sharp.sources : update to new gtk-2.2 reqs * sources/makefile : update for 2.2 api 2003-07-12 Mike Kestner * api/gda-api.xml : hide the new Type class * source/Gda.metadata : hide the new Type class 2003-07-11 Mike Kestner * gdk/Selection.custom : add static fields for the primary, secondary, and clipboard and clipboard selection Gdk.Atoms. * glue/Makefile.am : add selection.c * glue/selection.c : add glue to get the atoms. * gtk/TextBuffer.custom : add a PasteClipboard overload for pasting to the cursor location. 2003-07-10 Mike Kestner * api/*-api.xml : regenerated * gdk/Threads.cs : killed since the methods are now gen'd * generator/ClassGen.cs : new, static class generatable * generator/Parameters.cs : mangle new and byte as param names * generator/Parser.cs : parse new elements * generator/SymbolTable.cs : add GC SimpleGen * parser/gapi2xml.pl : static class element fixes * parser/GAPI/Metadata.pm : add class element * sources/Art.metadata: new, rename Affine.ToString method * sources/Atk.metadata: rename State class * sources/Gdk.metadata: hide Pixbuf static class for now. rename Event and Pango static classes to avoid collisions. * sources/Gnome.metadata: rename Gtk and Gdk static classes to avoid collisions. * sources/GnomeDb.metadata: rename Stock static class to avoid collisions. * sources/Gtk.metadata: rename Stock static class to avoid collisions. Hide Idle class. 2003-07-08 Ettore Perazzoli * gtk/Layout.custom: New file, adding the Layout::BinWindow property. * glue/layout.c: New file, adding glue for getting the bin_window of a GtkLayout. 2003-07-06 Mike Kestner * api/gtk-api.xml : regenerated * parser/GAPI/Metadata.pm : add support for property attribute alteration. * sources/Gtk.metadata : rule to mark TextTag.Weight as PangoWeight instead of gint. fixes 45214. 2003-07-05 Mike Kestner * api/*-api.xml : regenerated * parser/gapi2xml.pl : first pass at trying to expose static classes for typeless method aggregation. 2003-07-05 Mike Kestner * sources/makefile : fix the download uri's for the gnomedb lib source. 2003-07-04 Mike Kestner * api/*-api.xml : regenerated * parser/gapi2xml.pl (addFuncElems): only ignore get_type methods for enum types, so that we don't suppress some methods. (addPropElem): remove doc-str since we don't autogen docs and access types for enum/boxed/flags/obj as an offset from the end of the param_spec to avoid problems with split(/,/). 2003-07-04 Rodrigo Moya * sources/makefile: updated download targets for libgda and libgnomedb. 2003-07-04 Rodrigo Moya * sources/gtk-sharp.sources: * api/gda-api.xml: * api/gnomedb-api.xml: updated for libgda/libgnomedb 0.90. 2003-07-05 Martin Willemoes Hansen * glib/Object.cs: Changed getData, setData to a single Data property Different keys are allowed now. 2003-07-02 Shane Hyde * generator/GenBase.cs : put #line directive after the #region so line numbers match up. 2003-07-02 Mike Kestner * generator/StructBase.cs : remove doc comments 2003-06-25 Martin Willemoes Hansen * parser/gapi_pp.pl: Added striping of C comments 2003-06-23 Martin Willemoes Hansen * glib/Type.cs: Added ToString 2003-06-14 Mike Kestner * configure.in : tagging for 0.10 2003-06-14 Mike Kestner * gtk/TreeViewColumn.custom : cast Array param to object[] before indexing into it. 2003-06-14 Mike Kestner * glib/Value.cs : cast uint to TypeFundamentals 2003-06-14 Mike Kestner * CallbackGen.cs : rework for internal callback helpers, pass NS to parms ctor * Ctor.cs : pass NS to parms ctor * Method.cs : pass NS to parms ctor * Parameters.cs : refactoring, plus rework for internal callback helpers. * Signal.cs : pass NS to parms ctor 2003-06-14 Mike Kestner * parser/gapi2xml.pl : some whitespace parsing cleanup * api/*-api.xml : rerun of the parser. 2003-06-12 Mike Kestner * generator/SimpleGen.cs : mark a few members virtual since they are overridden elsewhere. 2003-05-29 Rachel Hestilow * gconf/Value.cs: Update to use new string marshalling. * generator/StringGen.cs, ConstStringGen.cs: Added. * generator/IGeneratable.cs: Add new method ToNativeReturn. * generator/CallbackGen.cs: Implement ToNativeReturn. Call ToNativeReturn for the return statement. Fix a couple of places where s_ret was being used incorrectly for m_ret. * generator/ClassGen.cs, EnumGen.cs, ManualGen.cs, SimpleGen.cs, StructBase.cs: Implement ToNativeReturn. * generator/SignalHandler.cs: Call ToNativeReturn for the return statement, instead of CallByName. * generator/SymbolTable.cs: Use StringGen for gchar, char, and gunichar, and ConstStringGen for their const variants. Add a new method wrapper for ToNativeReturn. (Trim): Add a special-case for const strings so that the const is not stripped. Otherwise there is no way of resolving the const case. * glade/XML.custom: Update to use new string marshalling. * glib/Marshaller.cs: Added. * glib/GException.cs, Markup.cs, ObjectManager.cs, Value.cs: Update to use new string marshalling. * glib/Object.cs: Remove old g_type_name DllImport as it is no longer used. * glue/fileselection.c (gtksharp_file_selection_get_fileop_entry): Mark this as const return. * gtk/ColorSelection.custom, FileSelection.custom, SelectionData.custom: Update to use new string marshalling. 2003-06-07 Martin Willemoes Hansen * generator/SymbolTable.cs: Added ulong 2003-05-27 Rachel Hestilow * sample/ManagedTreeViewDemo.cs: Remove debugging cruft. * gconf/.cvsignore, gconf/GConf/.cvsignore, gconf/GConf.PropertyEditors/.cvsignore, gconf/tools/.cvsignore, sample/gconf/.cvsignore, sample/rsvg/.cvsignore: Added. * .cvsignore, parser/.cvsignore: Update. 2003-05-27 Rachel Hestilow * gconf/GConf/ChangeSet.cs, Client.cs: Change SetValue from protected to internal, as it references an internal type. * gconf/GConf/ClientBase.cs: The same; additionally remove some commented-out code. Change Initialize from protected to internal. 2003-05-22 Rachel Hestilow * glib/ManagedValue.cs, glib/Value.cs: A few old-style DllImports snuck in during my last commit; update them to use Win32 dll names. 2003-04-28 Lee Mallabone * sources/Gtk.metadata, api/gtk-api.xml: Unhide GtkSizeGroup as it's a useful class. 2003-05-19 Rachel Hestilow * glib/ManagedValue.cs, TypeConverter.cs: Added. * glib/Value.cs: Make Value inherit from IDisposable, and move dtor to Dispose. Add generic object constructor with support for ManagedValue. Add a new Val property which will call the appropriate explicit cast. * glue/value.c: Add new glue function gtksharp_value_get_value_type. * gtk/TreeViewColumn.custom: Added. * gtk/ListStore.custom, TreeStore.custom: Add a number of SetValue overloads. Add convenience functtion AppendValues. Add new ctor that takes System.Type instead of GLib.TypeFundamentals. Add a GetValue convenience wrapper. * gtk/TreeView.custom: Add AppendColumn convenience functions. * sample/ManagedTreeViewDemo.cs: Added. * sample/Makefile.in: Update. * sample/TreeViewDemo.cs: Update to use new convenience APIs. 2003-05-18 Mike Kestner * generator/CallbackGen.cs : use non-static symtab, kill doc comments * generator/ClassBase.cs : use non-static symtab * generator/CodeGenerator.cs : use non-static symtab * generator/EnumGen.cs : kill doc comments, don't gen using System here * generator/GenBase.cs : gen using System here for all types * generator/InterfaceGen.cs : don't gen using System here. * generator/Method.cs : use non-static symtab * generator/ObjectGen.cs : kill doc comments, use non-static symtab * generator/OpaqueGen.cs : don't gen using System here. * generator/Parameters.cs : use non static symtab. * generator/Parser.cs : use non static symtab. add SimpleGen's and ManualGen's * generator/Property.cs : use non static symtab * generator/SignalHandler.cs : use non static symtab * generator/StructBase.cs : use non static symtab * generator/SymbolTable.cs : major refactoring. now uses SimpleGen and ManualGen IGeneratables to simplify the method and prop code. Is now instance based with a static prop to get the singleton instance, so that a this indexer can be provided to access the IGeneratables nicely. Gearing up to remove even more code from here by accessing IGeneratables directly. 2003-05-18 Mike Kestner * generator/ClassBase.cs : Use QualifiedName in spew * generator/ObjectGen.cs (Validate): kill, not used 2003-05-13 Mike Kestner * COPYING : Add the license. This is copied verbatim from http://www.gnu.org/licenses/lgpl.txt. 2003-05-13 Mike Kestner * configure.in : bump the version to 0.10 * generator/CallbackGen.cs (GenWrapper): Update sig preparing for external assembly wrapper generation. Kill doc comment generation. Make marshaling delegate internal. 2003-05-07 Mike Kestner * generator/ClassBase.cs (GenSignals): remove doc comment param * generator/GenBase.cs (CreateWriter): alter generated file comment * generator/InterfaceGen.cs (CreateWriter): remove doc comments * generator/ObjectGen.cs (Generate): use new GenSignals sig * generator/Signal.cs : make signal marshalers internal and remove doc comments. * generator/SignalHandler.cs : make signal marshalers internal and remove doc comments. * gnome/CanvasProxy.cs : use Gnome.voidObjectSignal since the gtk one is inaccessible now. 2003-05-05 Gonzalo Paniagua Javier * rsvg/Makefile.in: * sample/rsvg/Makefile.in: hopefully fixes building from scratch. * rsvg/Tool.cs: the class should be public. 2003-05-02 Alp Toker * sources/gtk-sharp.sources: * api/glade-api.xml: * glade/XML.custom: Use libglade-2.0-0.dll not glade-2.0 (for win32) 2003-04-30 Mike Kestner * tagging for release 0.9 2003-04-28 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata: Add a rule to hide classes/structs that are private in Gtk+. 2003-04-28 Gonzalo Paniagua Javier * sample/Scribble.cs: patch from Philip Van Hoof taht fixes compilation. 2003-04-25 Charles Iliya Krempeaux * README : Updated to reflect the name change or the "MonkeyGuide" to the "Mono Hand Book". Updated to give the (new) correct chapter number for the GNOME.NET section. Added mention of the Gtk# Wiki. 2003-04-25 Charles Iliya Krempeaux * gtk-sharp.pc.in, parser/gapi.pc.in : Both of these files were checked in as empty files, before. Checked them in, this time, with something in them. 2003-04-16 Charles Iliya Krempeaux * gdk/EventKey.custom : Created it so that there is a "Key" property that returns a Gdk.Key. 2003-04-15 Gonzalo Paniagua Javier * gtk/TreeView.custom: (GetPathAtPos): added 3 overloads of this method so that the caller does not need to create extra variables that may not use. * api/gtk-api.xml: * sources/Gtk.metadata: added pass_out attribute for tx and ty arguments of TreeView::WidgetToTreeCoords. Hide TreeView::GetPathAtPos. 2003-04-14 Charles Iliya Krempeaux * gtk-sharp.pc.in : Created to be used for the detection of Gtk#. * parser/gapi.pc.in : Created to be used for the detection of gapi.pl. * makefile : Deleted it. (Actually, renamed it to Makefile.in.) * Makefile.in : Created it from the old makefile, and modified it to account for gtk-sharp.pc. * configure.in : Made it so it will generate gtk-sharp.pc from gtk-sharp.pc.in, parser/gapi.pc from parser/gapi.pc.in, and Makefile from Makefile.in. * parser/Makefile.in : Modified it to account for parser/gapi.pc. 2003-04-14 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata, gtk/ColorSelection.custom: Fix up API in ColorSelection - Palette{From,To}String now work, and PreviousColor is now a C# property. * api/gdk-api.xml, sources/Gdk.metadata, gdk/Color.custom: Hide the Copy, Free and Hash methods in Gdk.Color and override GetHashCode(). 2003-04-12 Alp Toker * parser/gen_keysyms: Generates a C# Key enum from the Gdk headers (gdkkeysyms.h) * gdk/Key.cs: The generated Key enum 2003-04-09 Gonzalo Paniagua Javier * glib/Object.cs: (GetObject): check that the target of the WeakReference is still there. Otherwise, create a new wrapper for the IntPtr. This fixes the random nullrefs when running nunit-gtk. 2003-04-03 Gonzalo Paniagua Javier * generator/CallbackGen.cs: the new generated wrappers have: -(optional) Field of the same type returned by the callback. -A call to RemoveIfNotAlive at the beginning. It returns true, return the dummy field. -Added an object to the ctor signature and pass it to the base class. * generator/Ctor.cs: added a Params property. * generator/Method.cs: set Static property in Parameters if the method is static. * generator/Parameters.cs: added Static property. The call creation of the delegate wrapper (if applicable) uses the new signature. Pass a null as object is the method is static. * generator/StructBase.cs: set Static for the parameters of the ctors. * glib/DelegateWrapper.cs: the ctor takes an object (the one creating the wrapper or null) and creates a weak reference to it. Store it in a static Hashtable (this way the wrapper itself is not garbage collected). (RemoveIfNotAlive): called from the native delegate callbacks. If the target of the weak reference has been garbage collected, removes itself from the hashtable to let the GC dispose this instance and returns true. * gdk/Pixbuf.custom: * gtk/Clipboard.custom: * gtk/GtkSharp.GtkClipboardClearFuncNative.cs: * gtk/GtkSharp.GtkClipboardGetFuncNative.cs: * glade/XML.custom: changed delegate wrappers to match the new signature. 2003-04-04 Lee Mallabone * gdk/Drawable.custom: * sources/Gdk.metadata: * api/gdk-api.xml: Apply a modified version of a patch from Artemis , to fix and clean DrawPolygon and DrawLines in Gdk.Drawable. 2003-04-02 Charles Iliya Krempeaux * generator/SignalHandler.cs : Added Patch submitted by Mark Crichton , to get GtkMozEmbed bindings working. 2003-04-02 Lee Mallabone * gtk/Entry.custom: Add a constructor that sets the initial contents. * sources/Gtk.metadata: * api/gtk-api.xml: Fix API 'out' parameters in 'Frame' and some in 'Widget'. 2003-03-27 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom: Add default constructor to Viewport. 2003-03-25 Lee Mallabone * api/gtk-api.xml: Allow parameters in TreeView.ScrollToCell to be null. * source/Gtk.Metadata: Mark TreeView.ScrollToCell() with some null_ok params. 2003-03-25 Martin Baulig * gtk/Application.cs (CurrentEvent): Made this property static. 2003-03-25 Gonzalo Paniagua Javier * sample/rsvg/Makefile.in: don't build the sample app. everytime. 2003-03-25 Gonzalo Paniagua Javier * api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions. * sources/Gtk.metadata: added rename hint for DisplayOptions. Moved GtkHTMLStream hints to 'misc' area (they were in 'rename' area). * gtk/Calendar.custom: added a .net style GetDate override. * sample/CalendarApp.cs: updated to new methods in the Calendar API. 2003-03-23 Martin Baulig * glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here instead of in PerformQueuedUnrefs(). 2003-03-22 Gonzalo Paniagua Javier * sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla. * sample/DbClient/client.cs: updated to make it compile again. 2003-03-22 Gonzalo Paniagua Javier * glue/adjustment.c: * glue/canvaspoints.c: * glue/clipboard.c: * glue/colorseldialog.c: * glue/combo.c: * glue/dialog.c: * glue/error.c: * glue/event.c: * glue/fileselection.c: * glue/list.c: * glue/object.c: * glue/paned.c: * glue/program.c: * glue/slist.c: * glue/style.c: * glue/type.c: * glue/value.c: * glue/widget.c: removed almost all the warnings. 2003-03-22 Lee Mallabone * sample/makefile.in: * sample/CalendarApp.cs: Add a sample showing a Gtk.Calendar. 2003-03-15 Duncan Mak * gtk/ColorSelectionDialog.custom: Rename the inner Button class to be ColorSelectionButton to avoid a name clash in the doc generator. * gtk/TextBuffer.custom: Fix the Text property. Patch from Mathias Hasselmann . 2003-03-15 Miguel de Icaza * sample: Update samples to new Glade.Widget. * glade/WidgetAttribute.cs: Moved the old GladeWidgetattribute here. Now its called `Glade.WidgetAttribute'. * glade/GladeWidgetAttribute.cs: Removed * glib/Idle.cs: Do not allow Idle class to be instantiated. 2003-03-11 Miguel de Icaza * gtk/Application.cs (CurrentEvent): Property implementing the suggestion from Paolo. * glib/Object.cs (Dispose): Destructor might be invoked in a thread, queue the object for destruction using the Gtk idle handler. We perform the real destruction of the object in the same thread as the Gtk+ main thread. 2003-03-14 Charles Iliya Krempeaux * sources/makefile : Added a "distclean" rule, so that typing it will remove any source code directories, and their contents. (This works by just deleting all the subdirectories. Except for "CVS" of course.) 2003-03-14 Charles Iliya Krempeaux * sample/Makefile.in : Modified it to make it so "make clean" will clean the "sample/rsvg" directory too. And made it so a "make distclean" will do a distclean to the "sample/rsvg" too. * sample/rsvg/Makefile.in : Added the "distclean" rule to it. 2003-03-14 Rodrigo Moya * configure.in: * sources/makefile: * sources/gtk-sharp.sources: updated for libgda/libgnomedb 0.11. * sources/Gda.metadata: hide GdaBatch class. 2003-03-13 Charles Iliya Krempeaux * README : Did some spelling and grammar corrections. Fixed indentation problem. And added some more info. * HACKING: Added info for people getting started with hacking Gtk#. 2003-03-13 Duncan Mak * gdk/Pixbuf.custom: Add a nice version of Gdk.Pixbuf.Pixels that return a 'byte *'. * sources/Gdk.metadata: * api/gdk-api.xml: Hide Gdk.Pixbuf.Pixels. 2003-03-10 Miguel de Icaza * gtk/Application.cs: Do not allow instances of Application to be created. (InitCheck): new method, wraps gtk_init_check. Removed inline docs from here. Put them on the documen 2003-03-08 Miguel de Icaza * glib/Idle.cs: Add private constructor. 2003-03-05 Miguel de Icaza * gtk/Bin.cs: Add new property `Child' to GtkBin. 2003-03-06 Mike Kestner * rsvg/Makefile.in : some -L -r magic 2003-03-03 Miguel de Icaza * gdk/Rectangle.custom: Add a Rectangle constructor that takes for arguments. 2003-03-02 Miguel de Icaza * glib/Markup.cs: Add new file. 2003-03-01 Peter Williams * glue/Makefile.am (libgtksharpglue_la_LIBADD): Change this to BASE_DEPENDENCIES_LIBS 2003-03-01 Mike Kestner * api/gdk-api.xml : make Color.Parse retval a gboolean. Also change some libname override rules to use win32 dllnames. * sources/Gdk.metadata : rules for above. 2003-03-01 Charles Iliya Krempeaux * sources/README : Updated it to include mention of GStreamer and librsvg. Also mentioned being able to use "make get-source-code" to get the source code too. Then added alot of content. And basically rewrote it. 2003-02-28 Miguel de Icaza * glue/widget.c (gtksharp_gtk_widget_get_window): Fix. Return the window, not the address of the window pointer. 2003-02-28 Gonzalo Paniagua Javier * generator/SignalHandler.cs: the generated Dispose method now calls base.Dispose and always disconnects the handler. Thanks to Petr Danecek . 2003-02-28 Gonzalo Paniagua Javier * api/gdk-api.xml: * sources/Gdk.metadata: hide GdkColormap.AllocColor. * gdk/Colormap.custom: AllocColor is here. * gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri. 2003-02-28 Miguel de Icaza * gdk/Color.custom: Added constructors from System.Drawing.Color and from rgb byte tuples. * gdk/Colormap.custom: Add new .custom file for the AllocColor call. * sources/Gdk.metadata: Make Colormap.AllocColor GdkColor parameter be a `ref' parameter. 2003-02-27 Charles Iliya Krempeaux * sample/rsvg : Created place to put sample program that uses Rsvg#. * sample/Makefile.in : Edited it to make it "make" the stuff in "sample/rsvg". * sample/rsvg/Makefile.in : Added it to "make" the Rsvg# sample program. * sample/rsvg/svghelloworld.cs : Added it. It's the sample Rsvg# program. * sample/rsvg/sample.cvs : Added it. It's a sample SVG file that the program displays. * configure.in : Modified it so it will create sample/rsvg/Makefile from sample/rsvg/Makefile.in. 2003-02-27 Charles Iliya Krempeaux * sources/makefile : Updated the "make get-source-code" functionality to create the Symbolic Links and get gtkhtml from CVS, as specified by "sources/READDME". 2003-02-27 Miguel de Icaza * gdk/Drawable.custom: Added nice overload for DrawRectangle. 2003-02-19 Miguel de Icaza * gdk/Pixbuf.custom: Add overload arguments that take a System.Drawing.Color. Added a Clone() method, to implement the ICloneable interface. Added constructors for inlined in-data RGB/RGBA buffers and file images. 2003-02-26 Charles Iliya Krempeaux * gtk/TextBuffer.custom : Added method, named "GetIterAtOffset" to wrap C API procedure "gtk_text_buffer_get_iter_at_offset" in a more expected way. 2003-02-26 Charles Iliya Krempeaux * configure.in : Added support for Rsvg.NET -- librsvg .NET bindings. (Made a check for the library. And made it so "rsvg/Makefile" would be generated. Also made it so it will display if rsvg-sharp.dll will be generated or not.) * makefile : Added support for Rsvg.NET -- librsvg .NET bindings. (Added an entry for Rsvg.NET.) * sources/gtk-sharp.sources : Added an entry for Rsvg.NET -- librsvg .NET bindings. * rsvg/ : Created "rsvg/" directory. (To hold stuff for Rsvg.NET.) * rsvg/Tool.cs : Created Rsvg.Tool class to hold various procedures (which were not automatically wrapped). * rsvg/Makefile.in : Created "rsvg/Makefile.in". * api/Makefile.in : Added and entry for Rsvg.NET. 2003-02-26 Gonzalo Paniagua Javier * generator/Parser.cs: use XmlDocument.Load (Stream). The one using (String) expects an uri. * generator/Signal.cs: always remove the delegate from the signal callback (prior to this, the last handler was not being removed). Dispose the callback (ie, disconnect from the signal) when there are no registered delegates to handle it. * generator/SignalHandler.cs: added 2 new fields to hold the instance and the handler ID. The finalization is now done in Dispose and disconnects the signal handler when no delegate will handle the signal. Changed gobject-2.0 to libgobject-2.0-0.dll. * glib/SignalCallback.cs: implemented IDisposable interface. 2003-02-24 Mike Kestner * released 0.8 2003-02-24 Mike Kestner * sample/TreeViewDemo.cs : fix Type ambiguities 2003-02-24 Mike Kestner * sample/Subclass.cs : rework the GType code. 2003-02-24 Mike Kestner * generator/Parameters.cs : fix some ref/out bugs 2003-02-24 Mike Kestner * generator/ObjectGen.cs : gen GLib.Value ctor, not uint * glib/Object.cs : use GLib.Type in RegisterGType and make the g_object_new ctor use GLib.Type. * glib/Type.cs : new thin wrapper for GValue type * glib/*.cs : s/Type/System.Type 2003-02-23 Mike Kestner * generator/GenBase.cs : quote the custom filenames in #file directives. 2003-02-23 Mike Kestner * generator/CallbackGen.cs : suppress len params from string/len pairs. * generator/Parameters.cs : begin the refactoring to use Parameter class. Suppress len params from string/len pairs. */*.custom : remove all overrides of string/len pairs */*.cs : ditto. Thanks to Alp Toker for the foundation patch that this change was built upon. 2003-02-22 Mike Kestner * sources/makefile : patch from Charles Krempeaux to add get-source-code target which wgets tarballs. 2003-02-21 Mike Kestner * mapdllnames.pl : a little whitespace action * api/*-api.xml : move to win32 dllnames * */makefile.win32 : remove the mapdllnames step * */*.cs : move to win32 dllnames * */*.custom : move to win32 dllnames * sources/gtk-sharp.sources : move to win32 dllnames 2003-02-21 Mike Kestner * api/*-api.xml : remove stray enum get_type methods. * parser/gapi2xml.pl : ignore get_type methods on enums. 2003-02-20 Mike Kestner * api/gtk-api.xml : hide the Arrow::Set method. * sources/Gtk.metadata : metadata for above. 2003-02-19 Mike Kestner * generator/Parameters.cs (Initialize): construct a GLib.Value for out params. 2003-02-19 Mike Kestner * api/gtk-api.xml : mark TreeModel::GetValue value param out suggested by Lee Mallabone * sources/Gtk.metadata : metadata for above * sources/README : update the gnomedb/gda version reqs 2003-02-19 Duncan Mak * sources/Gtk.metadata: Add GetLayoutOffsets to the rule for out params. * gtk/FileSelection.custom (Button): Rename to FSButton, so that we won't wipe out our original Gtk.Button docs. 2003-02-19 Mike Kestner * generator/GenBase.cs : mark #line 1 for .customs * generator/SignalHandler.cs : fix for GObj retvals 2003-02-18 Mark Crichton * generator/EnumGen.cs: Handle different enum types. 2003-02-14 Duncan Mak * api/gtk-api.xml: * sources/Gtk.metadata: Mark 'out' param in GetSelectionBounds, thanks to Lee Mallabone for spotting that. 2003-02-13 Mike Kestner * glib/Boxed.cs : fix a ctor bug reported to the list by u900842@oz.nthu.edu.tw. 2003-02-13 Mike Kestner * sample/Makefile.in: add a distclean target 2003-02-13 Charles Iliya Krempeaux * README : Clarifications and additions 2003-02-13 Stefan Sarin * gdk/Color.custom: fixed ToString (). 2003-02-13 Gonzalo Paniagua Javier * gconf/GConf/Client.cs: * gconf/GConf/NoSuchKeyException.cs: added key string to the exception when Get does not find it. 2003-02-11 Duncan Mak * gnome/voidObjectAffineSVPintSignal.cs: * gnome/CanvasProxy.cs: Make the voidObjectAffineSVPintSignal class be in the 'GtkSharp' namespace, instead of 'GtkSharp.Gnome'. 2003-02-10 Gonzalo Paniagua Javier * glade/XML.custom: added a couple of checks for null. 2003-02-09 Duncan Mak * sources/Gtk.metadata: * api/gtk-api.xml: Gtk.Editable.InsertText should have the position be marked 'ref', not 'out', because it is an in-out parameter. * gtk/Entry.custom: Overload for InsertText. * gtk/Clipboard.custom: New overload for SetText. * sources/Gtk.metadata: Mark out params for methods in GtkCalendar, GtkCellRenderer, GtkWindow, GtkRuler, GtkLayout, GtkScrolledWindow and GtkSpinButton. Monotalk is very useful for this kind of work. 2003-02-08 Radek Doulik * glib/MainContext.cs: beginning of MainContext class, just Iteration and Pending methods to be able to refresh Gtk in the middle of time consuming function where it's not worth while to use threads * glue/style.c (gtksharp_gtk_style_get_font_description): new function to access style's font_description field * gtk/Style.custom: added font description property * gconf/GConf/Client.cs: added SyggestSync method 2003-02-07 Peter Williams * glue/Makefile.am (libgtksharpglue_la_LIBADD): Set this so that people linking to libgtksharpglue.so get their dependencies. (I've had this patch sitting around forever, I think it got approved, and it certainly appears correct.) 2003-02-07 Martin Willemoes Hansen * Added a constructor to gdk/Point.custom 2003-02-07 Gonzalo Paniagua Javier * sample/gconf/Makefile: defined top_builddir. RUNTIME is just 'mono'. 2003-02-06 Duncan Mak * sources/Gtk.metadata: Correct the metadata for the HTMLStream Write method to make it always regenerate the correct stuff. Thanks to Rachel for helping me out at the middle of the night. 2003-02-06 Duncan Mak * api/gtk-api.xml: * sources/Gtk.metadata: * gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size. 2003-02-06 Gonzalo Paniagua Javier * glib/SignalCallback.cs: new methods AddDelegate and RemoveDelegate. * generator/Signal.cs: add/remove signal handlers from the delegate used to invoke them. * generator/SignalHandler.cs: use Delegate instead of MulticastDelegate. 2003-02-05 Rodrigo Moya * gda/Application.cs: * gnomedb/Application.cs: synced version number with its corresponding C library version. 2003-01-29 Duncan Mak * gtk/Widget.custom: Add a nice overload, rename it to 'RequestSize' instead of 'SizeRequest' to avoid a name clash. * api/gtk-api.xml: * sources/Gtk.metadata: out param for gtk_widget_get_size_request. * gtk/Window.custom: Add some overloads. * api/gtk-api.xml: * sources/Gtk.metadata: * sources/Pango.metadata: Add some more metadata rules. 2003-01-28 Rodrigo Moya * configure.in: * api/gda-api.xml: * api/gnomedb-api.xml: * sources/gtk-sharp.sources: * sources/Gda.metadata: added support for latest libgda/libgnomedb. 2003-01-22 Radek Doulik * sources/Gtk.metadata: disable default contructor for Frame in metadata * parser/gapi2xml.pl: add comment to .xml files with warning that they were auto generated 2003-01-20 Mike Kestner * released 0.7. 2003-01-12 Martin Baulig * parser/gapi2xml.pl (addNameElem): Make this work if the $cname doesn't start with $prefix. 2003-01-10 Duncan Mak * gtk/TextView.custom (WindowToBufferCoords): Remove the hack, as the generator produces correct code now. * sources/Gtk.metadata (GtkTextView): Add a patch from Fredrik Nilsson to add needed 'out' parameters. 2003-01-09 Rodrigo Moya * makefile: * configure.in: * api/Makefile.in: * api/gphoto-api.xml: * sources/gtk-sharp.sources: * gphoto/Makefile.in: * gphoto/.cvsignore: removed gphoto2 bindings, to be moved to mphoto. 2003-01-06 Pedro Abelleira Seco * pango/Layout.custom: Add Size get property and add some nicer overloads to avoid explicit passing in the string length 2003-01-05 Pedro Abelleira Seco * gdk/Drawable.custom: Add Size get property 2003-01-05 Duncan Mak * pango/GlyphString.custom: Add some nicer overloads to avoid explicit passing in the string length. 2003-01-05 Duncan Mak * generator/GenBase.cs (AppendCustom): Add #region to code from .custom files. * generator/*Gen.cs: Add #region markers. 2003-01-05 Duncan Mak * sources/Gtk.metadata (TextIter.ForwardSearch): Add out param (TextIter.BackwardSearch): Add out param here too. * sources/Gdk.metadata (Drawable.GetSize): Add out param. * gtk/TextBuffer.custom (Clear): Add a new Clear method. 2003-01-02 Alp Toker * api/gst-api.xml: Give int values to the ElementState enum, remove incorrectly generated SetInternalConnectionFunction and a duplicated type field 2003-01-01 Alp Toker * glade/XML.custom: Determine name of GladeWidget if none specified * glade/GladeWidgetAttribute.cs: ditto 2003-01-01 Rachel Hestilow * glade/XML.custom: New method BindFields. (Autoconnect): Call BindFields. * glade/GladeWidgetAttribute.cs: Added. * sample/GladeTest.cs: Test GladeWidgetAttribute. 2002-12-25 Rodrigo Moya * sources/gtk-sharp.sources: added libgphoto2. * api/gphoto-api.xml: added API file for libgphoto2. * gphoto/Makefile.in: added Makefile for building libgphoto2 bindings. * makefile: * configure.in: * api/Makefile.in: added libgphoto2 to build. 2002-12-25 Alp Toker * doc/makefile: Accept the RUNTIME parameter for platforms without /usr/bin/mono * sample/gconf/Makefile: ditto 2002-12-24 Mike Kestner * generator/ObjectGen.cs : generate protected GType ctors * generator/SymbolTable.cs : map GType to uint * glib/Object.cs : add GType ctor. add RegisterGType. * glue/type.c (gtksharp_register_type): new GType registrar * */*.custom : make GType params uints * sample/Subclass.cs : a simple type registration example 2002-12-24 Alejandro Sánchez Acosta * samples/tutorial/notebook: Added notebook sample. 2002-12-23 Alp Toker * glib/Thread.cs: Add a class for thread awareness * gdk/Threads.cs: ditto 2002-12-22 Kristian Rietveld * sources/Gnome.metadata: add out param rules for a bunch of Canvas methods (pointed out by Paul Duran). * api/gnome-xml.api: updated 2002-12-22 Robert McQueen * makefile: when doing distclean, attempt distclean on all the C# subdirs too * gconf/Makefile.in: added distclean target to rm the Makefiles in the subdirs of gconf/ * glue/Makefile.am: build libgtksharpglue as an unversioned module to avoid so -> so.0 -> so.0.0 symlink mess * */Makefile.in: call mkinstalldirs before installing any files so that subdirs can be installed seperately or in any sequence (eg binding dirs before native dirs) 2002-12-20 Alp Toker * api/gst-api.xml: Make Gst# link to libgstreamer.so as per pkg-config --libs gstreamer * sources/gtk-sharp.sources: ditto * gst/Application.cs: ditto * gst/Makefile.in: Reference the newly-built glib-sharp 2002-12-15 Alejandro Sánchez Acosta * sample/tutorial/spinbutton/SpinButton.cs: Added new SpinButton sample for the GTK# tutorial. * sample/tutorial/Makefile: Added new SpinButton sample. 2002-12-15 Gonzalo Paniagua Javier * api/gdk-api.xml: * sources/Gdk.metadata: PixbufLoader.Pixbuf have to ref the new Pixbuf. 2002-12-12 Gonzalo Paniagua Javier * glib/Log.cs: removed the IntPtr argument and keep a reference to the delegate passed to unmanaged world as suggested by rachel. 2002-12-11 Juli Mallett * gconf/Makefile.in, sample/Makefile.in: Use $(MAKE) not "make." * parser/Makefile.in: Use CFLAGS and CPPFLAGS hints from configure, and the base dependency CFLAGS. Fixes case where iconv.h is outside of the compiler's default path. 2002-12-10 Mike Kestner * released 0.6. 2002-12-10 Gonzalo Paniagua Javier * glib/Log.cs: New file. Wraps a few logging functions. Useful for debugging. 2002-12-10 Gonzalo Paniagua Javier * generator/Signal.cs: generate correct type name for EventArgs. 2002-11-29 Duncan Mak * gtk/TextBuffer.custom (Text): Add a new Text property. 2002-11-26 Gonzalo Paniagua Javier * sample/DbClient/GnomeDbClient.cs: * sample/DbClient/client.cs: make them build. 2002-11-25 Alejandro Sánchez Acosta * Added eventbox, rangewidget, scribble and packing sample widget. * Changed togglebutton sample. 2002-11-21 Mike Kestner * api/*.xml : a few new attrs * generator/Parameters.cs : remove redundant ref keywords * gtk/ListStore.custom: overload SetColumnTypes * gtk/TreeStore.custom: overload SetColumnTypes * parser/GAPI/Metadata.pm : allow callback nodes at class level * sources/Gtk.metadata : hide ClipboardClearFunc and GetFunc, tag types param of SetColumnTypes as array, uncomment needs_ref tags on Widget methods to match the current api.xml file 2002-11-19 Mike Kestner * gtk/Dialog.custom : bind another ctor 2002-11-17 Radek Doulik * glib/Value.cs: cast Typefundamentals.* to uint (GType is unsigned int), fix Value (GLib.Object) - use new GetGType method * glib/Object.cs: new GetGType method, returns _obj GType 2002-11-17 Daniel Morgan * pango/Scale.cs: added file containing constants for text widgets needing Pango Scale Attribute 2002-11-13 Vladimir Vukicevic * gtk/CanvasItem.custom: use base() to set Raw in constructor, so that the ref counting semantics get correctly set up 2002-11-10 Gonzalo Paniagua Javier * glade/XML.custom: converted from Latin1 to UTF8 to make the generator go on. 2002-11-10 Vladimir Vukicevic * glib/Object.cs: add needs_ref boolean that controls whether we need to ref this object once we have a pointer to it or not. By default this is set to true -- constructors and other functions where we do own the object need to set this to false before setting the "Raw" property. Also added Unref and RefCount methods. * glue/object.c, glue/type.c: some utility functions for refcounting support * gdk/Pixbuf.custom: manually wrap a few functions so that the refcount ends up being correct at the end (need an extra Unref) * api/gdk-api.xml, sources/Gdk.metadata: metadata updates for hiding manually-wrapped Pixbuf stuff 2002-11-10 Vladimir Vukicevic * generator/StructBase.cs: create a Zero static member for use when the IntPtr is NULL. * generator/SignalHandler.cs, generator/CallbackGen.cs: removed call to Initialize for structs * gtk/Clipboard.custom, gtk/ClipboardClearFunc.cs, gtk/ClipboardGetFunc.cs, gtk/GtkSharp.GtkClipboardClearFuncNative.cs, gtk/GtkSharp.ClipboardGetFuncNative.cs, SelectionData.custom: Hand-wrapped selection handling stuff, along with relevant signals and the like. * gnome/voidObjectAffineSVPintSignal.cs: removed Initialize for hand-wrapped signal * sample/GnomeHelloWorld.cs, sample/Size.cs: compare against .Zero instead of using IsNull * api/gtk-api.xml, sources/Gtk.metadata: metadata updates for hiding some manually-wrapped stuff 2002-11-10 Alejandro Sánchez Acosta * sample/tutorial: added some examples for the gtk# tutorial 2002-11-06 Duncan Mak * sample/Scribble.cs: Make it compile. 2002-11-06 Gonzalo Paniagua Javier * autogen.sh: * configure.in: added configuration summary. 2002-11-03 Alp Toker * sources/gtk-sharp.sources: Update to support GStreamer 0.4.2 * api/gst-api.xml : ditto * gst/Application.cs : ditto 2002-11-01 Alp Toker * configure.in : Add GStreamer support * api/Makefile.in : ditto * api/gst-api.xml : ditto * sources/gtk-sharp.sources: ditto * gst/Makefile.in : ditto * gst/Application.cs : Gst initialization * sample/GstPlayer.cs : An example which uses the Gst binding * generator/Parameters.cs : Add 'fixed' keyword to name mangler * generator/StructBase.cs : ditto * generator/Parameters.cs : Fix Initialize() for set accessors * generator/Ctor.cs : ditto * generator/Method.cs : ditto * generator/SymbolTable.cs : Add gint64, guint64 to simple types 2002-10-29 Mike Kestner * generator/Signal.cs : Fix namespacing of Args. 2002-10-27 Mike Kestner * configure.in : bump version to 0.6. 2002-10-26 Mike Kestner * gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : ns stuff * glade/XML.custom : more GnomeSharp namespace stuff * gnome/CanvasProxy.cs : ditto * sample/CanvasExample.cs : ditto * sample/Fifteen.cs : ditto * sample/GnomeHelloWorld.cs : ditto 2002-10-26 Mike Kestner Much of this patch from Vlad, with substantial rework by mk. * */makefile.win32 : introduce mapdllnames.pl, api, and glue * generator/CallbackGen.cs : rework namespacing for csc compilation * generator/Parameters.cs : ditto * generator/Signal.cs : ditto * generator/SignalHandler.cs : ditto * glue/win32dll.c : new dll construction source * glib/Value.cs : new ushort ctor/cast operator * gtk/Table.custom : comment this out until we add a default ctor tag * gtk/ThreadNotify.cs : make ReadyEvent public * sources/Gdk.metadata : mark a Parse() param as ref 2002-10-26 Ettore Perazzoli * glib/Object.cs: Changed so that Objects is a hash of WeakReferences instead of hashing the real objects. Without this change, GObjects were never collected. (Raw, set): Put a WeakReference to the object in Objects. (Object.GetObject): Get the WeakReference from Objects, and from there the actual object. (Object.DisposeNative): Remove the Raw pointer from Objects. 2002-10-26 Mike Kestner * api/*.xml : get libgda and libgnomedb metadata setup * gconf/*/Makefile.in : patch from MauricioC for -L's and /r's * gnomedb/Makefile.in : patch from MauricioC for -L's and /r's * generator/ClassBase.cs (ctor): mangle hash names for sigs and props * generator/Parameters.cs (MangleName): handle params, null, and ref * generator/Parser.cs (ParseNamespace): ignore "hidden" types * generator/StructBase.cs (MangleName): handle params, null, and ref * glib/Object.cs (Equals): kill, also kill == and != * sources/Gda.metadata : new, make Gda behave without hand edits * sources/GnomeDb.metadata : ditto 2002-10-21 Vladimir Vukicevic * glade/XML.custom: add SetCustomHandler() wrapper 2002-10-20 Miguel de Icaza * glib/Object.cs: Avoid recursive calls with the previous operator != and operator == 2002-10-19 Duncan Mak * glib/Source.cs: Added. 2002-10-19 Miguel de Icaza * glib/Object.cs: Added operator != and operator == overloads. 2002-10-19 Rachel Hestilow * gconf, sample/gconf: Added. * glue/combo.c: This was never added, add it now. * configure.in, makefile, sample/Makefile.in: Build new gconf bindings if gnome is enabled. 2002-10-14 Mike Kestner * glib/Object.cs (GetObject): remove (int) cast 2002-10-11 Martin Baulig * gtk/Combo.custom: New file. (Combo.SetPopdownStrings): New method to set the popdown strings from a string array. 2002-10-11 Martin Baulig * glib/ListBase.cs (ListBase.Append): New public method. (ListBase.Prepend): New public method. 2002-10-11 Martin Baulig * glib/FileUtils.cs: New file. Wrapped g_file_get_contents() here. 2002-10-10 Mike Kestner * generator/CallbackGen.cs : some fixes * generator/Parameters.cs (CreateSignature): handle void params 2002-10-10 Miguel de Icaza * gtk/ThreadNotify.cs: Avoid multiple notifications. 2002-10-09 Miguel de Icaza * glue/adjustment.c (gtksharp_gtk_adjustment_get_page_size): Added the glue. * gtk/Adjustment.custom: Added some more methods 2002-10-08 Kristian Rietveld (So Miguel told me just to go ahead and commit -kris) * gtk/TreeSelection.custom: new file, defines a working GetSelected method (GetSelected is a bit tricky function). * generator/InterfaceGen.cs (Generate): also call AppendCustom * sources/Gtk.metadata: hide the autogenerated Gtk.TreeSelection.GetSelected method. 2002-10-08 Miguel de Icaza * gdk/Point.custom: Use (x,y) instead. * gdk/Color.custom: Use the X rgb color format specification. * gdk/Rectangle.custom: Use the X geometry format for Rectangles. 2002-10-07 Vladimir Vukicevic * glue/style.c, gtk/Style.custom: handle getting GC's and colors correctly -- it's not possible to marshal arrays from C-land to mono correctly, so indexed accessors have to be used. 2002-10-08 Duncan Mak * gdk/Color.custom: * gdk/DeviceAxis.custom: * gdk/Point.custom: * gdk/Rectangle.custom: Committed ToString patches contributed by Jasper van Putten 2002-10-05 Vladimir Vukicevic * glib/GException.cs: g_clear_error takes a GError **, not a GError *. Added refs to get the **. 2002-10-04 Vladimir Vukicevic * glib/ObjectManager.cs, glue/type.c: If there isn't an exact match for a C GObject class (i.e. BluecurveStyle), walk up the gobject type hierarchy until we find a type that we do have a wrapper for, and return that. This means that you'll always, worst-case, end up with a GObject. * glib/Value.cs, glue/value.c: Added default constructor to GLib.Value() that creates a new value with a type of INVALID, and changed the glue function to not call gtk_type_init if INVALID is passed. 2002-10-02 Vladimir Vukicevic * gtk/TreeView.custom: added TreeView Handle as argument to set_model in Model property 2002-09-29 Rachel Hestilow * glue/canvas-proxy.c (update), glue/canvas-proxy-marshal.list: Marshal the array as a pointer for now. * gnome/voidObjectAffineSVPintSignal.cs: Added. * gnome/CanvasProxy.cs (Update): Use a custom signal handler. 2002-09-23 Miguel de Icaza * gtk/Style.custom: bind it. * gtk/Widget.custom: bind it. * glue/widget.c: Wrapper to fetch a GdkWindow from a widget. * glue/style.c: wrapper routines for getting/setting the thickness on a GtkStyle. 2002-09-21 Miguel de Icaza * gtk/TreeView.custom: Add Model.set to the TreeView 2002-09-21 Rachel Hestilow * parser/gapi2xml.pl: Adjust enum regex to allow negative values. 2002-09-16 Martin Baulig * gnome/Modules.cs (Module): Make this class public. * sample/CanvasExample.cs: Insert a missing `break' in a switch section to make this compile. * sample/Scribble.cs: Added missing casts from EventMask to int. 2002-09-15 Ricardo Fernandez Pascual * glade/XML.custom: Added a constructor to read the glade file from a stream and to read it from a resource in an assembly. * sample/Makefile.in * sample/GladeTest.cs: Embed the glade file as a resource and use the new constructor. 2002-09-13 Ricardo Fernandez Pascual * glade/HandlerNotFoundExeception.cs: Added. * glade/Makefile.in * glade/XML.custom: Support for autoconnecting signals using reflection. * glib/SignalAttribute.cs: Added. * generator/Signal.cs: Mark events generated from glib signals with the "Signal" attribute. * sample/GladeTest.cs * sample/Makefile.in * sample/test.glade: Test of signal autoconnection. 2002-09-12 Rachel Hestilow * sources/Gtk.metadata: Set null_ok on the callback argument to Menu.Popup. * generator/Parameters.cs: Handle null_ok properly for callback arguments. 2002-09-11 Miguel de Icaza * glib/Object.cs (DisposeNative): Call GC.SuppressFinalize, and set the obj to null. 2002-09-11 Rachel Hestilow * glib/Object.cs (Ref): Added. * gtk/Object.custom (Ref): Overload. Note that we were reffed. (DisposeNative): Unref if we were explicitly reffed. * generator/Method.cs: Call Ref if needs_ret is set. * generator/StructBase.cs: Call Ref on all object accessors. * glue/style.c: Ref returned GCs. * sources/Gtk.metadata: Set needs_ret on various gdk-related accessors in GtkWidget. Hide Ref/Unref methods on Widget and RcStyle as these ought to be deprecated anyway. 2002-09-11 Rodrigo Moya * gnomedb/Makefile.in: * gnomedb/Application.cs: added class for libgnomedb initialization. * sample/DbClient/GnomeDbClient.cs: new test file for libgnomedb. 2002-09-08 Rodrigo Moya * makefile: * configure.in: * sources/gtk-sharp.sources: added needed stuff for libgnomedb. * gnomedb/Makefile.in: * api/Makefile.in: * api/gnomedb-api.xml: new files for libgnomedb API. 2002-09-07 Rachel Hestilow * parser/gapi2xml.pl: Add support for "fake struct" opaque types. * generator/StructBase.cs: Generate wrapper fields for opaque fields as well as pointer fields. * api/gdk-symbols.xml: Remove GdkAtom as it is now wrapped. 2002-09-05 Gonzalo Paniagua Javier * sample/DbClient/client.cs: updated to make it compile. 2002-09-04 Mike Kestner * generator/ObjectGen.cs : generate dtors. * glib/Object.cs : Implement IDisposable. Add a new DisposeNative method. Implement default dtor. * glue/object.c : new gtksharp_object_unref_if_floating method. * gtk/Object.custom : override DisposeNative to check float bit. 2002-09-03 Juli Mallett * parser/Makefile.in: Use $(CC) instead of 'cc'. 2002-09-01 Rodrigo Moya * gda/Application.cs: new class for libgda initialization and event loop management. * gda/Makefile.in: added new file as a dependency. 2002-09-01 Gonzalo Paniagua Javier * glib/ListBase.cs: fixed compilation (the base class must be at least as accesible as the derived ones). 2002-08-31 Rodrigo Moya * api/gda-api.xml: new file for the libgda API. * gda/*: added libgda bindings. * sources/README: updated requirements. 2002-08-31 Rachel Hestilow Proper GList, GSList support. Read-only for now. * glue/list.c: Added. * glue/Makefile.am: Add list.c * glue/type.c: Add function gtksharp_is_object. * glib/ListBase.cs, List.cs: Added. * glib/SList.cs: Inherit from ListBase. * glib/Object.cs: Add static method "IsObject". * generator/Method.cs: Pass on element_type to constructor if specified. * generator/SymbolTable.cs: Move GList to manual types. * sample/GladeViewer.cs: Remove list hacks. * sources/Gnome.metadata: Specify element types for CanvasPathDef.Split and IconList.GetSelection. Rename CanvasPathDef *to methods to properly capitalized *To. * sources/Gtk.metadata: Hide Widget.ListAccelClosures until GClosure is handled properly. * sources/Pango.metadata: Added. * sample/test/TestToolbar.cs: Compile with recent delegate changes. 2002-08-31 Rachel Hestilow * glib/Idle.cs: Added. * gtk/Application.cs: Add EventsPending, RunIteration. * sample/TreeViewDemo.cs: Add a status dialog while populating tree. 2002-08-31 Rachel Hestilow * generator/Method.cs: Re-enable "if null then new" behavior for Opaques. 2002-08-29 Rachel Hestilow * glib/DelegateWrapper.cs: Forgot to add this. 2002-08-28 Rachel Hestilow * generator/CallbackGen.cs: Generate wrappers to map from managed delegates to native ones. * generator/Ctor.cs: Call parms.Initialize for the static case. * generator/Parameters.cs: Add "CType" property. Append [] to CSType if necessary. Add "HideData" property if a container wishes to hide the user_data (used in callbacks). (Initialize): Add case for callback. * generator/SymbolTable.cs: Add size_t. * glue/program.c: string[] marshalling is no longer broken, remove hack. * sources/Gtk.metadata: Disable GtkColorSelection.SetChangePaletteHook and GtkTreeView.GetSearchEqualFunc for now, they return delegates and we don't support native->managed delegate mapping yet. 2002-08-28 Joe Shaw * makefile: Add the art directory back in; fixes the build. 2002-08-26 Rachel Hestilow * sources/Gtk.metadata: Add null-ok for Menu.Popup. 2002-08-25 Juli Mallett * makefile: Fix recursive invocation of make(1) to use the variable MAKE, to use the same utility that was responsible for the invocation of the initial build. 2002-08-25 Miguel de Icaza * gtk/TextBuffer.custom: Added SetText with a single argumnet. * gtk/Table.custom: Added empty constructor. GtkTables automatically grow. 2002-08-23 Rachel Hestilow * glue/Makefile.am: Fix # terminators. 2002-08-23 Rachel Hestilow * Applied patch from Robot101 for maintainer-clean, etc. Needed for packaging. 2002-08-20 Rachel Hestilow * generator/SymbolTable.cs (Trim): Work around "void*". Libart has a lovely API... 2002-08-22 Mike Kestner * glib/IWrapper.cs : remove set_Handle * glib/Object.cs : ditto * glib/Opaque.cs : ditto 2002-08-22 Mike Kestner * glib/Makefile.in : rm -rf generated on make clean target * gnome/CanvasProxy.cs : add missing Signals hash. 2002-08-20 Rachel Hestilow Ditto for generator and api. 2002-08-20 Rachel Hestilow * parser/makefile: Rename to Makefile.in, change prefix to @prefix@. * configure.in: generate parser/Makefile. 2002-08-20 Rachel Hestilow * makefile: Add parser to build (for install only) * parser/makefile: Add distclean target. * parser/gapi.pl: Forgot to add this. * api/: Replace APIs with correctly generated ones. 2002-08-20 Rachel Hestilow * README.generator: Added docs on using the generator. 2002-08-19 Rachel Hestilow * art/Makefile.in (clean): Change to avoid bugging out on generated/CVS. * glib/ObjectManager.cs: Added. Used to be auto-generated, but now it can infer names, and relies on per-namespace ObjectManager classes to inform it of oddly-named classes. * generator/IGeneratable.cs, GenBase.cs: New "DoGenerate" property. * generator/*Gen.cs: Honor DoGenerate. * generator/CodeGenerator.cs: Support including dependency files which will not be generated. * generator/ObjectGen.cs: Generate mapping file per-namespace, as one that calls back to the one in glib. Only generate if the name does not follow the normal conventions, otherwise, GtkSharp.ObjectManager can infer the name. * generator/Parser.cs: Accept 'generate' flag to pass on to the IGeneratables. Parse a new toplevel element, "symbol", which adds a type to the SymbolTable (instead of hard-coding it). * generator/SignalHandler.cs: Do not optimize signal handler creation, instead creating them in their own namespaces. Do not generate if the calling Signal told us not to. * generator/Signal.cs: Do not generate handlers if container's DoGenerate is false. Adjust to the marshaller name being in a sub-namespace. * generator/SymbolTable.cs (AddSimpleType, AddManualType): Used to add simple and manually wrapped types at runtime instead of compile-time. (FromNative): Remove hard-coded cases for manually wrapped types, use a generic case instead. * api: Added. Move api files and generation targets here. * source: Added. Move source parsing here. * generator/makefile: Move actual generation to api/. * glib/Makefile.in: Remove generated/* target. * glue/Makefile.am: Fix to include canvas-marshal. Move canvas stuff to GNOME target. * gnome/CanvasProxy.cs: Update to work with SignalHandlers being namespace-specific. * parser/Metadata.pm: Moved to GAPI/Metadata.pm, renamed, etc. * parser/gapi2xml.pl: Use GAPI::Metadata. * parser/makefile: Install scripts, remove source parse build target. Rename formatXML to gapi_format_xml. 2002-08-17 Miguel de Icaza * gtk/ThreadNotify.cs: New file, used to notify invoke code in the main Gtk thread. 2002-08-17 Duncan Mak * gnome/CanvasProxy.cs: * gnome/GtkSharp.BoundsHandler.cs: * gnome/GtkSharp.DrawHandler.cs: * gnome/GtkSharp.PointHandler.cs: * gnome/GtkSharp.RenderHandler.cs: * gnome/GtkSharp.UpdateHandler.cs: C# glue for subclassing CanvasItems. * glue/canvas-proxy-marshal.c: * glue/canvas-proxy-marshal.h: * glue/canvas-proxy-marshal.list: * glue/canvas-proxy.c: Added the coverage signal. 2002-08-17 Duncan Mak * glue/canvas-proxy.c: * glue/canvas-proxy.h: New files. Glue for subclassing CanvasItem from C#. * glue/canvas-proxy-marshal.c: * glue/canvas-proxy-marshal.h: * glue/canvas-proxy-marshal.list: Added to handle marshaling signals used by CanvasProxy. 2002-08-15 Mike Kestner * sample/Makefile.in : add some art-sharp refs 2002-08-11 Miguel de Icaza * glub/adjustment.c: C-side of the Adjustment glue. * gtk/Adjustment.custom: Add new SetBounds function that allows us to change the adjustment after it has been created. 2002-08-15 Duncan Mak * generator/gtkapi.xml: New Libart stuff. * parser/build.pl: * gnome/Makefile.in: Added reference to atk-sharp.dll * generator/Parameters.cs (MangleName): Added cases for 'in' and 'out'. 2002-08-13 Joe Shaw * configure.in: Check for libgnomecanvas. * gtk/ColorSelectionDialog.custom: Create a button subclass which contains a reference to the parent ColorSelectionDialog. Modify properties to return this subclass instead of a regular Gtk.Button. * gtk/FileSelection.custom: Ditto. * sample/test/TestFileSelection.cs (file_selection_ok): Demonstrate the button subclass by destroying the parent dialog when the ok button is clicked. 2002-08-12 Rachel Hestilow [ Patch from Ricardo Fernandez Pascual for libglade support (slightly modified) ] * configure.in: Conditionally compile glade support. * makefile: Add glade directory. * glade/: Added. * sample/makefile.in: Add (conditional) glade example. * sample/GladeViewer.cs: Added. * glue/gladexml.c: Added. * glue/Makefile.am: Updated. * parser/build.pl: Parse libglade-2.0.0. * parser/README: Update requirements. 2002-08-12 Rachel Hestilow * parser/gapi_pp.pl: Handle "typedef struct {...}" construct. * glue/canvaspoints.c: Added. * glue/Makefile.am: Updated. * gnome/CanvasPoints.custom: Added. (Doesn't seem to work right yet, looking into this.) 2002-08-10 Rachel Hestilow * sample/TreeViewDemo.cs (Main, DeleteCB): Update to use correct event handler. 2002-08-09 Kristian Rietveld * parser/Gtk.metadata: add a bunch of out arg rules, add a vararg rule for the ListStore constructor, change method names of TreeModel's signal emission methods, remove opaque rule of GtkTreeIter, remove null_ok rules of TreeModel.IterNChildren and TreeModel.IterNthChild. * parser/Metadata.pm: add some code to be able to filter on parameter names. * generator/Method.cs: a method with accessor args and a non-void return value cannot be written as property. * sample/Makefile.in, sample/TreeViewDemo.cs: add a simple TreeView demo app. * gtk/ListStore.custom, gtk/TreeModel.custom, gtk/TreeModelSort.custom, gtk/TreeStore.custom, gtk/TreeView.custom: customizations. 2002-08-09 Mike Kestner * generator/ObjectGen.cs (GenerateMapper): guard against IntPtr.Zero 2002-08-09 Duncan Mak * sample/Fifteen.cs (Position): Made it a property instead of a public field. * sample/pixmaps/gnome-color-browser.png: Icon for Fifteen#. 2002-08-09 Mike Kestner * generator/SymbolTable.cs : make GLib.Value a manually_wrapped_type 2002-08-08 Mike Kestner * generator/Property.cs : getter usage fix 2002-08-08 Mike Kestner * generator/Method.cs : s/GetType/GetGType. Don't generated static methods for interfaces. * glib/Object.cs : add GType prop * gnome/*.custom : s/Type/GType * parser/Gtk.metadata : rule to make TreeIter opaque * parser/gapi2xml.pl : handle interface methods properly * sample/Fifteen.cs : s/Type/GType 2002-08-08 Mike Kestner * gdk/Event.cs : derived from Boxed, not Object. * generator/SymbolTable.cs : fixes for Gdk.Events 2002-08-07 Mike Kestner * generator/CodeGenerator.cs : call ObjectGen.GenerateMapper * generator/Method.cs : Remove the if null workaround * generator/ObjectGen.cs : build a hash of object types. (GenerateMapper): generate the GtkSharp.ObjectManager class. * glib/Object.cs : use ObjectManager.CreateObject. * glue/type.c : helper for typename lookup. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Fixed scramble. The whole thing works now. 2002-08-06 Rachel Hestilow * generator/SignalHandler.cs: Handle null arguments and return values. * sample/Makefile.in: Add fifteen game. 2002-08-06 Gonzalo Paniagua Javier * sample/GnomeHelloWorld.cs: use DeleteEventHandler. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Fixed movement logic. It works now. Added 'debug' flag. Run 'mono ./Fifteen.exe debug' to see movement info. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Added new canvas example. 2002-08-06 Duncan Mak * glue/canvasitem.c: * gnome/CanvasItem.custom: Added accessor to get the 'canvas' field. * sample/CanvasExample.cs: Removed extra methods. 2002-08-05 Rachel Hestilow * makefile, */Makefile.in: Packaging fix from Robert McQueen (a.k.a. Robot101). 2002-08-05 Rachel Hestilow * gnome/Canvas*.custom, IconTextItem.custom: Added. * sample/CanvasExample.cs: Added. * sample/Makefile.in: Build canvas example in gnome build. 2002-08-05 Rachel Hestilow * parser/Gnome.metadata: Patch from duncan for bug #28553 (canvas item event handler rename). 2002-08-04 Joe Shaw * configure.in: We actually need libgnomeui, not libgnome. 2002-08-04 Mike Kestner Tagged for 0.3 and updated configure.in to 0.4. Back open for commits. 2002-08-03 Mike Kestner Freezing cvs for 0.3 release. Please no commits until the release. 2002-08-03 Mike Kestner * generator/Method.cs : Added IsGetter, IsSetter, ReturnType. Made GenerateImport, GenerateBody public. * generator/Parameters.cs : Added Parameter::MarshalType * generator/Property.cs : Added logic to use methods instead of text properties wherever possible. 2002-08-03 Rachel Hestilow * generator/Method.cs: Support libname overrides. Call parms.Finish. * generator/Parameters.cs: New method parms.Finish. Generate a temporary holder variable for enum out parameters. * generator/Property.cs: Pass a boolean to EnumWrapper indicating. if these are flags. * generator/StructBase.cs: Disable array marshalling (it is broken in mono.) * generator/SymbolTable.cs: Add methods IsEnumFlags. * glib/EnumWrapper.cs: New bool "flags". * glib/Value.cs: Call flags variant on GValue for enum props, if needed. * glue/Makefile.am, glue/style.c, glue/widget.c: Add widget and style field accessor methods. * gtk/Style.custom, Widget.custom: Added. * parser/README: Update requirements (needed for pixbuf drawable hack) * parser/Gdk.metadata: Fix library for pixbuf methods in gdk. Add Window.GetPointer "out" parameters. * parser/gapi2xml.pl: Remap gdk_draw_* methods to Drawable. * sample/Makefile.in: Add size and scribble samples. * sample/Scribble.cs: Added. 2002-08-02 Rachel Hestilow [ Mike, this is everything I wanted in for the release. ] * generator/StructBase.cs: Generate field accessors for wrapped types (opaque, object, and structs/boxed). Bitfields, unions, and arrays are still unsupported for accessors, and are probably marshalling incorrectly. But this is enough to get events working (see example in sample/GnomeHelloWorld.cs). * parser/Metadata.pm: Support a "delete" directive, and set metadata on structs and boxed (previously was only checking objects and interfaces). * parser/Gdk.metadata: Delete bogus entries GdkWindowObject and GdkPixmapObject (more evil drawable stuff.) * sample/GnomeHelloWorld.cs: Show an example of how to use marshalled events, in our selection callback. 2002-07-31 Rachel Hestilow * generator/StructBase.cs (GetFieldInfo): Generate strings correctly. Also, delegates are not marshalling correctly right now, change those to IntPtr. * generator/SymbolTable.cs: New method IsCallback. * sample/GnomeHelloWorld.cs: Use Gnome.App and stock menu items. Use the new event handlers. 2002-07-30 Rachel Hestilow * generator/ClassBase.cs: Change hasDefaultConstructor to protected, adjust now that it is an attr and not a subnode. Also add virtual property AssignToName (for ctors). * generator/Ctor.cs: Add property ForceStatic. (Generate): Optimize return code a bit for the static case. * generator/Method.cs: Assign to a "raw_ret" pointer before calling FromNativeReturn. * generator/Parameters.cs: Change "out ref" to "out", not "ref". * generator/Property.cs: Fix to work correctly with all object and struct types (mostly just some if-cases added). * generator/SignalHandler.cs: Remove args_type and argfields (unused). (Generate): Initialize struct if necessary. * generator/StructBase.cs: Massive reworking to support methods, ctors, etc. * generator/SymbolTable.cs: Add GdkAtom and gconstpointer simple types. * glib/Boxed.cs: Accept both IntPtr and object ctors. Add access for both. * glib/Opaque.cs: Fix copy/pasted copyright notice, remove data and event fields. Fix docs. * glib/Value.cs: Work correctly with boxed properties. * gnome/Modules.cs: Use new struct ctors. * gnome/Program.custom: Remove Get, this is being generated now. * parser/Gdk.metadata: Fix the drawable classes to inherit correctly. * parser/Metadata.pm: Change per-class attributes to actually be attributes. * parser/Gtk.metadata: Add a dummy attribute value for disabledefaultctor. * parser/gapi2xml.pl: Add hacks for the (broken) Drawable and Bitmap typedefs. * sample/test/TestColorSelection.cs: Display color string in hex format, update to use IsNull instead of == null, and size dialog to look pretty. * sample/Size.cs: Added. 2002-07-25 Rachel Hestilow [about 60% of the marshalling patch that I lost. The rest to come tomorrow.] * generator/BoxedGen.cs, StructGen.cs: Move most of this to StructBase, delete large chunks duplicated from ClassBase. * generator/IGeneratable.cs: Add MarshalReturnType, FromNativeReturn. * generator/ClassBase.cs: Move ctor stuff here. Add a CallByName overload with no parameters for the "self" reference. * generator/EnumGen.cs, CallbackGen.cs: Implement new MarshalReturnType, FromNativeReturn. * generator/Method.cs: Use container_type.MarshalType, CallByName, and SymbolTable.FromNativeReturn when generating call and import sigs. * generator/OpaqueGen.cs: Added. * generator/Property.cs: Handle boxed and opaques differently. * generator/SymbolTable.cs: Update for the opaque stuff and the new Return methods. Also change GetClassGen to simply call the as operator. * glib/Boxed.cs: Update for struct usage -- this is now a wrapper for the purposes of using with Value. * glib/Opaque.cs: Added. New base class for opaque structs. * glue/textiter.c, gtk/TextIter.custom: Remove. * gnome/Program.cs: Update for new struct marshalling. * parser/Metadata.pm: Use our own getChildrenByTagName. * parser/README: Update for new requirements (was out of sync with build.pl) * parser/gapi2xml.pl: Hide struct like const in field elements. * parser/gapi_pp.pl: Handle embedded union fields (poorly). * sample/test/TestColorSelection.cs: Comment out null color tests for now. 2002-07-24 Mike Kestner * generator/SignalHandler.cs : use ref parameters in signal cb's. 2002-07-24 Alp Toker * gtk/Makefile.in etc. : reference the newly compiled assemblies instead of those already installed on the system 2002-07-23 Mike Kestner * generator/Method.cs : implement static method generation. * parser/Gnome.metadata : map AppBar::ClearPrompt signal collision. * parser/Gtk.metadata : map IMContext::DeleteSurrounding collision. * parser/gapi2xml.pl : mark shared methods in the XML. 2002-07-20 Mike Kestner * generator/SignalHandler.cs : pring unexpected key in exception. 2002-07-20 Mike Kestner * generator/Method.cs : beef up !Validate warnings * generator/ObjectGen.cs : beef up !Validate warnings * generator/Parameters.cs (Validate): fail on ellipsis parm * parser/gapi2xml.pl : Handle more opaque types properly 2002-07-19 Duncan Mak * gtk/Paned.custom: * glue/paned.c: Glue code for getting child1 and child2 out from a Gtk.Paned. * glue/Makefile.am: Add paned.c 2002-07-19 Mike Kestner * generator/StructGen.cs : comment out GenField. It's broke. * sample/ButtonApp.cs : revert the EventAny WriteLine. 2002-07-19 Mike Kestner * parser/gapi2xml.pl : mark privately defined structs opaque. 2002-07-18 Mike Kestner * generator/StructBase.cs : use GetMarshalType for field gen. * sample/ButtonApp.cs : WriteLine the Gdk.EventAny in DeleteEvent. 2002-07-18 Mike Kestner * generator/StructGen.cs : make them public structs, not classes. * parser/build.pl : step up to the g2final tarballs. * parser/gapi2xml.pl : suppress *Private struct types. Mark ellipsis terminated param lists. 2002-07-18 Mike Kestner * generator/StructBase.cs : Mangle field names. * generator/StructGen.cs : uncomment GenField. 2002-07-18 Duncan Mak * parser/Gtk.metadata: Mark gtk_radio_menu_item_new_with_label, gtk_radio_button_new_with_label, gtk_radio_button_new and gtk_radio_button_new_with_mnemonic with null_ok flags. 2002-07-17 Radek Doulik * gtk/ScrolledWindow.custom: new file with ScrolledWindow custom default constructor use this (null, null) * parser/Metadata.pm: addClassData subroutine to add * parser/Gtk.metadata: disable default constructor for ScrolledWindow * generator/ObjectGen.cs: added hasDefaultConstructor flag, dont generate default protected empty constructor if hasDefaultConstructor is false, it will be provided by .custom file * generator/makefile (RUNTIME): use RUNTIME variable 2002-07-17 Rachel Hestilow * parser/Gtk.metadata: Tag MenuItem.SetSubmenu as null-ok. 2002-07-17 Rachel Hestilow * generator/Method.cs: Honor array in return type. * parser/Gtk.metadata: Tag FileSelection.GetSelections as array. * parser/Metadata.pm: Add "return" target. * parser/gtkhtml, parser/README: Add gtkhtml-stream.[ch]. Needed for url-requested signal. The actual wrapper for this compiles but is badly borked, it will probably need a lot of love. 2002-07-16 Mike Kestner * generator/ClassBase.cs : make MarshalType virtual. * generator/Parameters.cs : add Parameter class and Indexer. * generator/Signal.cs : Now use Parameters. (GetHandlerName): New abstraction of name handling. (GenerateDecls): use GetHandlerName. (GenComments): make private. (GenHandler): New. Generate custom event handlers and args. (Generate): use GenHandler. Pass args type to SignalHandler. * generate/SignalHandler.cs : store args type. Generate handler dependent args and use MulticastDelegate.DynamicInvoke. * generate/StructGen.cs : override MarshalType. * glib/SignalCallback.cs : store a MulticastDelegate and args type * sample/*.cs : use new DeleteEventHandler 2002-07-13 Rachel Hestilow * generator/Parameters.cs: Allow nulls if null_ok set. * generator/SymbolTable.cs: Add method IsStruct. * parser/Gtk.metadata, Gdk.metadata, Gnome.metadata: Merge in null_ok from *.defs. This is probably incomplete though, I've already found one method that wasn't listed. * sample/GnomeHelloWorld.cs: Remove IntPtr.Zero hack. 2002-07-13 Rachel Hestilow * parser/Gnome.metadata, Gtk.metadata: More conflict fixes. * parser/build.pl: Fully qualify all lib names. (Gtk+ packages are now LFS-compliant in Debian...) * parser/gapi2xml.pl: Fix for whitespace in fields, defines, and docs. * generator/BoxedGen.cs: Remove extraneous CallByName definition, add "override" keyword to FromNative. (Generate): Generate methods after fields. * generator/ClassBase.cs: Change CallByName, FromNative to virtual. (.ctor): Ignore "hidden" nodes. Set container on signal. (GenSignals, GenMethods): Add "implementor" argument for interface use. (Get(Method|Signal|Property)Recursively): Rework to correctly recurse interfaces. (Implements): Added. * generator/Ctor.cs (Initialize): Move clash initialization completely out of Generate, so we can check for collisions. * generator/Method.cs (GenerateDeclCommon): Check for duplicates, for "new" keyword. (Generate): Add "implementor" argument. * generator/ObjectGen.cs (Generate): Initialize ctor clashes on this and all parents, before generating. (Ctors, InitializeCtors): Added. * generator/Signal.cs: Store the container_type, check for collisions. * generator/StructGen.cs: Add "override" keyword to overriden methods. * gtk/FileSelection.custom (ActionArea): Add "new" keyword. 2002-07-11 Mike Kestner * glib/SList.cs : fix a couple DllImports 2002-07-11 Duncan Mak * glue/Makefile.am: Added dialog.c and colorseldialog.c * glue/dialog.c: * gtk/Dialog.custom: C# glue for getting more fields from a GtkDialog. * glue/colorseldialog.c: * gtk/ColorSelectionDialog.custom: C# glue for getting more fields from a ColorSelectionDialog. 2002-07-09 Mike Kestner * generator/ClassBase.cs : handle overloaded method hash collision * generator/SignalHandler.cs : generate *Handler delegates. stub *Args * parser/Gtk.metadata : add *Defaults method renaming 2002-07-08 Mike Kestner * glue/Makefile.in : s/BASE_SOURCES/BASESOURCES * parser/gapi_pp.pl : handle nested #if/#endif in ignored #if's * parser/makefile : make gtkapi.xml depend on gapi*.pl 2002-07-06 Rachel Hestilow * generator/Parameters.cs (Initialize): Initialize error to zero. 2002-07-06 Rachel Hestilow * ObjectGen.cs: Support static string elements. Do not generate Ctors or Signals if it is not a GObject. * parser/gapi2xml.pl: Add stock defines. 2002-07-05 Rachel Hestilow * glue/Makefile.am: Make this work cleanly, with all automake. 2002-07-05 Rachel Hestilow * configure.in: Conditionally compile Gnome. * parser/gapi_pp.pl: Handle line breaks in function declarations. * parser/gapi2xml.pl: Handle non-literals in property definitions. * glue/program.c: Added. * glue/Makefile.am: Add program.c (conditionally compiled). Update INCLUDES. * gnome/Makefile.in: Conditionally compile this. * gnome/Program.custom, Modules.cs: Added. * samples/Makefile.in: Conditionally compile gnome example. * samples/GnomeHelloWorld.cs: Use Gnome.Program. 2002-07-01 Rachel Hestilow * generator/gtkapi.xml: * parser/build.pl: Fix to use 3.0 (accidentally reverted in last commit). * generator/SymbolTable.cs (simple_types): Map gssize and gsize. * parser/Gdk.metadata: Tag PixbufLoader.Write's data parameter as array. 2002-07-01 Rachel Hestilow * generator/gtkapi.xml: * parser/build.pl: Qualify gnome lib names; this is needed because of debian/LSB policy. 2002-06-26 Duncan Mak * generator/gtkapi.xml: * parser/build.pl: Point to 'gtkhtml-3.0' instead of gtkhtml-2. 2002-06-26 Rachel Hestilow * generator/*.cs: Deal with whitespace XmlNodes. * parser/build.pl: Dump non-indented file to local directory. * parser/makefile, parser/formatXml.c: Added. * generator/gtkapi.xml: Nicely indented now. woo! 2002-06-26 Rachel Hestilow * parser/Gtk.metadata: Change gtk_label_new to be the preferred constructor. * gdk/Event.cs: Add "IsValid" property (sometimes NULL events get sent in signals). * sample/GnomeHelloWorld.cs: Check to make sure iconlist event is valid. 2002-06-26 Rachel Hestilow * configure.in, makefile, makefile.win32: add gnome. * doc/index.html, netdoc.xsl: Add gnome. * gdk/Event.cs: New manual wrap for GdkEvent. * generator/ClassBase.cs: Add methods GetProperty, GetPropertyRecursively, GetMethodRecursively. Move Parent property here from ObjectGen.cs. Pass this pointer into Property. * generator/Ctor.cs: Generate docs. * generator/Method.cs, Property.cs: Tag method as "new" if a Method/Property with the same name is found in the class hierarchy. * generator/SignalHandler.cs: Correctly wrap complex signal argument types. Add gnome directory. * generator/SymbolTable.cs: Add manually wrapped types hash (contains GLib.GSList and Gdk.Event). Add method IsManuallyWrapped. * glib/SList.cs: Add constructor from IntPtr. * glue/slist.c, glue/event.c: Added (field accessor glue). * glue/Makefile.am: Update. * parser/Gtk.metadata: Add new signal renames for new signals exposed by GdkEvent changes. * parser/README, parser/build.pl: Add libgnome, libgnomecanvas, libgnomeui. * parser/gapi2xml.pl: Handle literal-length array parameters, and NULL property doc strings. * sample/: Add new test GnomeHelloWorld.cs. * gnome/: Added. * parser/Gnome.metadata: Added. 2002-06-25 Mike Kestner * generator/gtkapi.xml : lots of fixes, plus GtkHTML! * parser/Gtk.metadata : add a bunch of renames. * parser/build.pl : Add the gtkhtml parse. * parser/README : module list to parse 2002-06-25 Mike Kestner * parser/gapi2xml.pl : some GtkHTML related parsing tweaks. 2002-06-25 Rachel Hestilow * makefile: back out a premature add of gnome 2002-06-25 Rachel Hestilow * doc/: Added the makeshift doc generation toolchain. 2002-06-25 Mike Kestner * configure.in : back out a premature add of gnome/Makefile.in 2002-06-24 Rachel Hestilow * glib/UnwrappedObject.cs: New class which holds an IntPtr. This is used in Value so that we can retrieve the IntPtr itself for an object property. * glib/Value.cs: Add UnwrappedObject cast operator. * glib/Property.cs: If the retrieved value is an object, and there is no wrapper object, create a new one. 2002-06-24 Rachel Hestilow * gtk/FileSelection.custom: Remove random cruft that was at the beginning of this file. 2002-06-24 Rachel Hestilow * glib/EnumWrapper.cs: New class which holds an enum int. * glib/Value.cs: Add support for glib enum types. We needed to use EnumWrapper for this because otherwise the int operator wouldn't know which glib function to use. * generator/BoxedGen.cs, ClassBase.cs, Ctor.cs, EnumGen.cs, InterfaceGen.cs, Method.cs, ObjectGen.cs, Signal.cs, StructGen.cs: Create more doc stubs. * generator/Property.cs: Generate enum values correctly. * generator/Ctor.cs: Refactor generation to honor metadata-specified collision preference. * parser/Gtk.metadata: Added constructor collision preferences to all known clashes. * parse/Gdk.metadata: Added (for Pixbuf clashes). 2002-06-24 Duncan Mak * glue/fileselection.c: New file, defines accessor functions to fields inside a GtkFileSelection. * gtk/FileSelection.custom: C# glue that makes use of new accessor functions defined in fileselection.c. * glue/Makefile.am: Added fileselection.c 2002-06-23 Rachel Hestilow * glib/Object.cs, glib/SList.cs, glib/Value.cs, gtk/Application.cs: Move documentation to right before their actual methods, rather than the DllImported ones. * generator/Method.cs: Generate documentation before the actual method and not the DllImport. 2002-06-23 Rachel Hestilow * generator/ClassBase.cs: Add accessors for methods and signals. Change GenSignals and GenMethods to public, as csc has a different idea of protected than mcs. Handle interface collisions in GenMethods. * generator/Method.cs: Add accessor Protection - "public" by default. * generator/ObjectGen.cs: Make sure wrapper's Signals hashtable only gets generated once. Generate a list of collisions for GenMethods. Remove dead foreach loop from Validate. * generator/Paramaters.cs (CreateSignature): Initialize last_param. * parser/Gtk.metadata: Add property & event collision renames for TextBuffer and OldEditable. * sample/makefile.win32: Reference atk-sharp.dll. * makefile.win32: Do not build gdk.imaging. 2002-06-22 Mike Kestner * */makefile.win32 : add docs target * generator/ClassBase.cs : Make GenMethods public for interface gen * generator/Method.cs : Lose the CallingConvention * generator/Parameters.cs : fix uninitialized var * generator/SignalHandler.cs : Lose the CallingConvention * generator/StructBase.cs : Lose the CallingConvention 2002-06-21 Michael Meeks * sample/Makefile.in: re-factor slightly. 2002-06-21 Mike Kestner * gtk/*akefile* : lose the gdk-imaging-sharp refs 2002-06-21 Mike Kestner * configure.in : remove gdk.imaging/Makefile creation. 2002-06-21 Mike Kestner * makefile : remove gdk.imaging from the build * gdk.imaging/* : kill * generated/BoxedGen.cs : XmlNode namespace handling. Use GenBase. * generated/CallbackGen.cs : XmlNode namespace handling. * generated/Ctor.cs : construct with libname not ns. * generated/EnumGen.cs : XmlNode namespace handling. * generated/GenBase.cs : XmlNode namespace handling. Make AppendCustom an instance method so it can use the private fields instead of params. * generated/InterfaceGen.cs : XmlNode namespace handling. * generated/Method.cs : construct with libname not ns. * generated/ObjectGen.cs : XmlNode namespace handling. * generated/Parser.cs : Use new XmlNode namespace ctors. * generated/Signal.cs : Lose the namespace field. * generated/StructBase.cs : derive from ClassBase * generated/StructGen.cs : XmlNode namespace handling. Use GenBase. * generated/SymbolTable.cs : nuke GetDllName method. * generator/gtkapi.xml : Add library name to namespace node. * parser/build.pl : refactor for library name param * parser/gapi2xml.pl : add libname param handling * sample/Makefile.in : build linux on make install, but don't install. 2002-06-21 Rachel Hestilow * generator/ClassBase.cs: New base class for classes and interfaces. * generator/InterfaceGen.cs: Inherit from ClassBase, generate declarations. * generator/ObjectGen.cs: Move half of this into ClassBase. * generator/Method.cs: Turn all applicable Get/Set functions into .NET accessors. Remove redundant == overload and move into Equals, as it was confusing "!= null". * generator/Parameters.cs: Alter signature creation to accept "is_set" option, add support for variable arguments. Add properties "Count", "IsVarArgs", "VAType". * generator/Ctor.cs: Fixup for changes in Parameters (indenting, signature creation). * generator/Signal.cs: Support generating declarations. * generator/SymbolTable: Change GetObjectGen to GetClassGen. * glib/IWrapper.cs: Move "Handle" declaration to here, so both classes and interfaces can benefit from it. * glib/Object.cs: Inherit from IWrapper.cs * parser/Metadata.pm: Support attribute changes on constructors, methods, signals, and paramater lists. * parser/gapi2xml.pl: Parse init funcs for interfaces. Ignore "_" functions here. * parser/gapi_pp.pl: Remove boxed_type_register check, as it will be caught in the init funcs. * parser/Atk.metadata: Added. * parser/Gtk.metadata: Add all needed signal/method collision renames. Rename GtkEditable.Editable accessors to IsEditable, as .NET does not like accessors with the same name as their declaring type. Tag TreeStore constructor as varargs. * samples/ButtonApp.cs: s/EmitAdd/Add. * samples/Menu.cs: s/EmitAdd/Add, s/Activate/Activated. 2002-06-21 Mike Kestner * */makefile.win32 : add /doc flags * */.cvsignore : ignore .xml files 2002-06-21 Mike Kestner * gdk.imaging/Makefile.in : add a missing -L * gtk/Makefile.in : add a missing -L * generator/Method.cs : Add some docs stubbage 2002-06-20 Mike Kestner * generator/Parameters.cs : GError handling overhaul * generator/SymbolTable.cs : map GError to IntPtr * glib/GException.cs : Refactor to use glue. * glue/Makefile.am : add the error.c file. * glue/error.c : glue for error message string access * gtk/makefile.win32 : ref the gdk-imaging-sharp assembly 2002-06-19 Mike Kestner * generator/Parameters.cs : csc build error fixes 2002-06-14 Rachel Hestilow * glib/GException.cs: Added. * generator/Ctor.cs, Method.cs: Tag function as unsafe if it throws an exception. Call parms.HandleException. * generator/Paramaters.cs: Add property ThrowsException (based on a trailing GError**). If ThrowsException, mask GError in the signature, initialize a GError in Initialize, and add new method HandleException to throw an exception if error != null. * generator/SymbolTable.cs: Add gdk-pixbuf DLL, and GError type. * gdk.imaging, gdk.imaging/Makefile.in, gdk.imaging/makefile.win32: Added. * configure.in, Makefile, makefile.win32: Build gdk.imaging. * gtk/Makefile.in, gtk/makefile.win32: Link against gdk.imaging. * parser/gapi2xml.pl: Support namespace renaming. * parser/build.pl: Build gdk-pixbuf as gdk.imaging. 2002-06-09 Rachel Hestilow * generator/GenBase.cs: new method AppendCustom, moved from ObjectGen. * generator/BoxedGen.cs, ObjectGen.cs, StructGen.cs: Call AppendCustom in Generate (); * generator/Method.cs, Parameters.cs: Add support for "out" parameters. Additionally, output an accessor instead of a regular method if it is an accessor-style function (ie GetStartIter). * generator/Property.cs: Add additional cast to Boxed, if necessary. * glue/textiter.c: New constructor for GtkTextIter. * glue/Makefile.am: Add textiter.c, build with Gtk+ cflags. * configure.in: Check for Gtk+ cflags. * parser/Metadata.pm, Gtk.metadata: Added. * parser/gapi2xml.pl: Call Metadata::fixup on the document. Also work around gtk's screwy boxed type name registration (GtkFoo -> GtkTypeFoo). * gtk/TextIter.custom: Added. 2002-06-06 Mike Kestner * glib/Timeout.cs : new Timeout class with Add() and TimeoutHandler delegate. 2002-06-05 Mike Kestner * generator/Property.cs : Fix get{} GLib.Value passing. * glib/Object.cs : GetProperty passes the GLib.Value now. * glib/Value.cs : Add a ctor to create Values for props. * glue/value.c : add gtksharp_value_create_from_property. 2002-05-29 Mike Kestner * */Makefile.in : remove generated source in clean target. 2002-05-29 Mike Kestner * generator/CallbackGen.cs : Fix build breaker from refactoring. * sample/Makefile.in : Build the menu sample on linux. 2002-05-28 Mike Kestner * makefile : add separate targets for native and platform independent products per request from debian packager Alp Toker 2002-05-26 Mike Kestner * generator/Parser.cs : Implement Alias node parsing. * generator/SymbolTable.cs : resolve aliased types. 2002-05-23 Mike Kestner * generator/BoxedGen.cs : Update for Static SymbolTable * generator/CallbackGen.cs : Use GenBase and Parameters classes * generator/CodeGenerator.cs : Update for Static SymbolTable * generator/Ctor.cs : code from StructBase using Parameters class * generator/EnumGen.cs : Use GenBase * generator/GenBase.cs : Abstract Stream Writer creation, stream boilerplate, and common *Name properties * generator/IGeneratable.cs : Update for Static SymbolTable * generator/InterfaceGen.cs : Use GenBase * generator/Method.cs : code from StructBase using Parameters class * generator/ObjectGen.cs : Major refactoring. Use GenBase. Build tables of Member generatables at construct time to facilitate future name collision resolution logic. * generator/Parameters.cs : new generatable to abstract duplicated parameter parsing logic. * generator/Parser.cs : Update for Static SymbolTable * generator/Property.cs : code from ObjectGen * generator/Signal.cs : code from ObjectGen * generator/SignalHandler.cs : Update for Static SymbolTable * generator/StructBase.cs : Update for Static SymbolTable * generator/StructGen.cs : Update for Static SymbolTable * generator/SymbolTable.cs : Make all methods and private members static. There is no reason to ever have multiple tables. 2002-05-13 Joe Shaw * sample/Makefile.in: Use -L compiler flags and specify all of the assemblies to link against. 2002-05-13 Joe Shaw * gtk/Makefile.in: Add the System.Drawing assembly to the compiler command-line. 2002-05-08 Joe Shaw * generator/ObjectGen.cs (GenProperty): And uncomment it out because the compiler bug is fixed. 2002-05-08 Joe Shaw * generator/ObjectGen.cs (GenProperty): Comment the last checkin out because it exposes a compiler bug. (GenSignal): Back this change out. 2002-05-08 Joe Shaw * */Makefile.in: Don't allow the shell to do file globbing; makes --recurse work. * generator/ObjectGen.cs (GenProperty): We need to cast a GLib.Value to a GLib.Object and then to whatever it is, because explicit casts don't work to child classes. (GenSignal): Append "EventHandler" when generating signal handlers so we don't get symbol conflicts. 2002-05-07 Mike Kestner * generator/SymbolTable.cs : map char to string. 2002-05-07 Mike Kestner * */Makefile.in : Add clean targets. Add -L parms. 2002-05-06 Mike Kestner * generator/ObjectGen.cs : When generating a ctor(void) for subclassing purposes, mark it protected, not public. Thanks to Miguel for reporting this bug. 2002-05-03 Mike Kestner * sample/makefile.win32 : add the Menu sample * sample/Menu.cs : A menu and box packing sample. 2002-05-02 Mike Kestner * generator/ObjectGen.cs : Add support for .custom files. * gtk/Window.custom : clean up build * sample/HelloWorld.cs : Use the customizations. * sample/ButtonApp.cs : Use the customizations. 2002-05-02 Mike Kestner * README : Describe the new make procedure. * configure.in : Add the new Makefile generation. * makefile : add the glue dir, make linux the default build, add an install target * */makefile.win32 : temp build files for win32 * */Makefile.in : new configurable make system * */makefile : killed * generator/BoxedGen.cs : Now uses GLib.Boxed * generator/ObjectGen.cs : Use Values for Props. * generator/SymbolTable.cs : Add IsEnum method. * glib/Boxed.cs : Major overhaul. * glib/Object.cs : Remove type specific (Get|Set)Property. Now use GValue based property accessors. * glib/TypeFundamentals.cs : Update to current values. * glib/Value.cs : Refactor to use glue. 2002-04-25 Mike Kestner * autogen.sh : simple config for the glue build * configure.in : simple config for the glue build * makefile : add glue dir to build * glib/SList.cs : Fix some leakage. * glue/value.c : a helper function for heap alloc of GValues * glue/Makefile.am : build for libgtksharpglue 2002-04-19 Mike Kestner * glib/SList.cs : A more sane approach. * glib/Value.cs : Marshal strings directly with pinvoke 2002-04-18 Joe Shaw * */makefile: Allow a different MCS to be passed in on the make command line. 2002-04-09 Mike Kestner * tagging for gtk-sharp-0.1 2002-04-09 Mike Kestner * sample/ButtonApp.cs : Get it to run on linux. 2002-04-04 Mike Kestner * generator/CallbackGen.cs : Unstubify. * generator/SymbolTable.cs : qualify some simple typenames. 2002-03-29 Mike Kestner * */makefile : add make linux target. 2002-03-29 Mike Kestner * generator/SymbolTable.cs (Trim): revamp TrimEnd call. 2002-03-28 Mike Kestner * generator/SignalHandler.cs : switch to 2.0 libs * generator/SymbolTable.cs : switch to 2.0 libs * glib/Object.cs : switch to 2.0 libs * glib/SList.cs : switch to 2.0 libs * glib/Value.cs : switch to 2.0 libs * gtk/Application.cs : switch to 2.0 libs 2002-03-26 Mike Kestner * generator/SignalHandler.cs : Use Path.DirectorySeparatorChar. 2002-03-25 Mike Kestner * generator/StructBase.cs : Throttle _gtk methods. * generator/SymbolTable.cs : tweak dll names. * glib/Object.cs : restructure DllImports and prop code. * glib/SList.cs : restructure DllImports. * glib/Value.cs : restructure DllImports. * gtk/Application.cs : overload Init() to get past the string[] marshaling crash on linux. * sample/HelloWorld.cs : Use App::Init() since no args are needed. 2002-03-24 Mike Kestner * generator/*Gen.cs : Use Path.DirectorySeparatorChar. * generator/Parser.cs : better debug for unexpected types. * generator/SymbolTable.cs : Use linux library names. 2002-03-07 Mike Kestner * generator/CodeGenerator.cs : Refactor generatable iteration. * generator/SymbolTable.cs : Add Generatables property to expose complex_types.Values. 2002-03-02 Mike Kestner * makefile : add linux build. * generator/makefile : add linux build. 2002-02-19 Mike Kestner * generator/BoxedGen.cs : Add ctor and method generation. * generator/StructBase.cs : Switch to Raw syntax. * glib/Boxed.cs : Add Handle prop, make Raw protected, and add ctors. * glib/Object.cs : s/RawObject/Raw to simplify generation. 2002-02-19 Mike Kestner * generator/Statistics.cs : New. Gathers stats about generation. * generator/*.cs : Hook in the stat counters. 2002-02-18 Mike Kestner * generator/StructBase.cs (GenCtor): StudCapsify static method names. * generator/SymbolTable.cs (Trim): strip const- prefix. * sample/ButtonApp.cs (Window_delete): handle RetVal. 2002-02-17 Mike Kestner * generator/StructBase.cs (MangleName): add object and event. * parser/gapi2xml.pl : Handle embedded callback declarations in method parameter lists. 2002-02-15 Mike Kestner * generator/SignalHandler.cs : Create the SignalArgs.Args array and fix indexing into it. * sample/ButtonApp.cs : A little cleanup. Not quite there yet. * sample/HelloWorld.cs : Set up the RetVal in the delete handler. 2002-02-14 Mike Kestner * generator/ObjectGen.cs : suppress generation of get/set methods when properties exist. Mangle method names on signal name clashes. Gen the signals. * generator/SymbolTable.cs : Add GetName. Add some more calls to Trim. * generator/gtkapi.xml : adding binary file as an experiment. If the diff's show this file, I'll be removing it with apologies and going back to the separate package idea. * parser/gapi2xml.pl : some signal related fixes. * sample/HelloWorld.cs : uncomment the event hook. 2002-02-10 Mike Kestner * generator/BoxedGen.cs (FromNative): Add explicit cast. * generator/ObjectGen.cs (FromNative): Add explicit cast. (GenSignal): New. Partial. Not hooked in yet. * generator/StructBase.cs (GenMethod): return-type is a sub-element, not an attribute. 2002-02-09 Mike Kestner * generator/StructBase.cs (GenMethod): Add handle arg to paramless method call and extern. 2002-02-08 Mike Kestner * README : Some updates. * generator/BoxedGen.cs : Add FromNative method. * generator/CallbackGen.cs : Add FromNative method. * generator/EnumGen.cs : Add FromNative method. * generator/IGeneratable.cs : Add FromNative method. * generator/InterfaceGen.cs : Add FromNative method. * generator/ObjectGen.cs : Add FromNative method. Hook in GenMethod. * generator/StructBase.cs : Revamp param handling. Add GenMethod. * generator/StructGen.cs : Add FromNative method. * generator/SymbolTable.cs : Add FromNative method. * parser/gapi2xml.pl : Detect ctors before methods. Fix method names. * sample/HelloWorld.cs : uncomment the Show call. 2002-02-06 Mike Kestner * generator/BoxedGen.cs : Marshal as IntPtr using Raw prop. * generator/ObjectGen.cs : Use Handle for marshaling. * generator/StructBase.cs (CallByName): Fill out the stub. (GetImportSig): Fill out the stub. * generator/StructGen.cs (MarshalType): Use QualifiedName. * generator/SymbolTable.cs (GetMarshalType): Trim type. (CallByName): New. Provides calling syntax. * sample/HelloWorld.cs : Make it compile. 2002-02-02 Mike Kestner * generator/ObjectGen.cs : Add IntPtr constructor generation. Pass a ctor signature hash around to use in clash resolution. Generate a void ctor if none is present which just calls the parent ctor. * generator/StructBase.cs : Add non-void signature ctor generation, including collision handling logic. Collisions are implemented as static methods. * generator/SymbolTable.cs : Map GSList to GLib.SList. Add type trimming to remove trailing *'s. Need to suppress leading const yet. * glib/Object.cs : Add default ctor for void and IntPtr ctors. * glib/SList.cs : Implementation of a wrapper class for GSLists. Lots of FIXMEs. * parser/gapi2xml.pl : Handle ** and array params. 2002-01-17 Mike Kestner * generator/BoxedGen.cs : Removed Name, CName, and QualifiedName. * generator/ObjectGen.cs : Removed Name, CName, and QualifiedName. * generator/StructBase.cs : Add Name, CName, and QualifiedName. Add GenCtor method. Stub GetCallString, GetImportSig, and GetSignature methods. * generator/StructGen.cs : Removed Name, CName, and QualifiedName. * generator/SymbolTable.cs : Add GetDllName method. * parser/gapi2xml.pl : Fix a couple bugs. 2002-01-16 Mike Kestner * generator/BoxedGen.cs : New boxed type generatable. * generator/ObjectGen.cs : Add boxed type property generation and stub off interface properties for now. * generator/Parser.cs : Add boxed element parsing. * generator/SymbolTable.cs : Add IsBoxed and IsInterface methods. * glib/Boxed.cs : New base class for deriving boxed types. * glib/Object.cs : Add boxed GetProp/SetProp methods. * parser/gapi2xml.pl : Add boxed type element formatting. * parser/gapi_pp.pl : Add preprocessing of the generated sourcefiles. Handle the builtins and make them identifiable to the xml generator. 2002-01-11 Mike Kestner * generator/ObjectGen.cs : Add property generation. * generator/SymbolTable.cs : More fixage to simple_types. Add GetMarshalType and IsObject methods. * glib/Object.cs : Rename Events prop to EventList to avoid name collision. Add float, double, uint, and IntPtr GetProp and SetProp methods. * parser/TODO : Add a couple prop related bugs to come back for. * parser/gapi2xml.pl (addPropElems): Restructure. It was thoroughly broken. It's better now. 2002-01-10 Mike Kestner * generator/StructBase.cs (GenField): Return a bool success indicator. * generator/ObjectGen.cs : Check the return of GenField. * generator/SymbolTable.cs : More fixage to simple_types. * parser/gapi2xml.pl : Fix multiline comment bug, and callback name hashing logic. Squash callbacks that aren't in the namespace. * sample/HelloWorld.cs : Clean out some debugging to make it closer to compiling. Not quite there yet. 2002-01-08 Mike Kestner * generator/CallbackGen.cs : Use name in QualName, not cname. * generator/EnumGen.cs : Use name in QualName, not cname. * generator/InterfaceGen.cs : Use name in QualName, not cname. * generator/StructBase.cs (GenField): gen as public. 2002-01-08 Mike Kestner * generator/CallbackGen.cs : New stub for delegate generation. * generator/InterfaceGen.cs : New stub for interface generation. * generator/Parser.cs : Add the interface and callback element hooks. * generator/SymbolTable.cs : Additions to simple_types hash. 2002-01-07 Mike Kestner * generator/ObjectGen.cs : Make parent debug statement more helpful. * generator/Parser.cs : Add interface element case. * parser/gapi2xml.pl : Add interface types. * parser/gapi_pp.pl : Grab G_TYPE_INSTANCE_GET_INTERFACE defines. Grab struct declarations out of private headers. 2002-01-06 Mike Kestner * */makefile : Add atk to the build. * generator/EnumGen.cs : Create the generated dir if necessary. * generator/ObjectGen.cs : Create the generated dir if necessary. * generator/StructGen.cs : Create the generated dir if necessary. * parser/gapi2xml.pl : Squash bug in comma separated field defs. 2002-01-06 Mike Kestner * generator/EnumGen.cs : Open stream Create only. * generator/ObjectGen.cs : New generatable for GObject subclasses. * generator/Parser.cs : Add the object element hook. * generator/StructBase.cs : Handle bits element in GenField. * generator/StructGen.cs : Open stream Create only. * generator/SymbolTable.cs : Additions to simple_types hash. * parser/gapi2xml.pl : Parse bitflags into the bits element. 2002-01-05 Mike Kestner * generator/SymbolTable.cs : First pass at simple_types hash. 2002-01-05 Mike Kestner * generator/*.cs : Move into GtkSharp.Generation namespace. * generator/CodeGenerator.cs (Main): Add usage check. Add SymbolTable. * generator/EnumGen.cs (QualifiedName): New. (Generate): Add SymbolTable to signature. * generator/IGeneratable : Add QualifiedName prop and update Generate signature. * generator/Parser.cs : Switch from plain Hashtable to SymbolTable. (Parse): Replaces the Types property and returns a SymbolTable. * generator/StructBase.cs : New base class to derive struct and object types. Initial implementation of protected GenField method and ctor. * generator/StructGen.cs : New non-object struct type generatable. * generator/SymbolTable.cs : New. Manages complex types hash and a simple types hash. Will provide generic lookup interface. 2002-01-04 Mike Kestner * makefile : switch to the new generator. * generator/CodeGenerator.cs : New main program class. * generator/IGeneratable.cs : Interface for generation methods/props. * generator/EnumGen.cs : Subclass of IGeneratable for enums. * generator/Parser.cs : The XML parser. * parser/gapi_pp.pl : A source preprocessor for api extraction. * parser/gapi2xml.pl : Produces Xml document for GObject based APIs. 2001-12-31 Mike Kestner * codegen/defs-parse.pl : Fix EOL handling for DOS \r\n patterns as reported by David Dawkins. 2001-12-17 Mike Kestner * makefile : Add the pango subdir. * codegen/defs-parse.pl : Add a buttload of type entries to %maptypes and %marshaltypes. Ignore props, sigs, and methods for non GObject types. Turn on all classes. Major beefup of struct generation. Start to use the new sighandlers. Rip out const- types. Handle Unicode string marshalling. * codegen/gdk-structs.defs : Regenerated. * codegen/get-structs-from-source.pl : Handle typedef x y; Suppress structs with "Private" in the typename. Handle multiple levels of typedeffing. Handle function pointers. Suppress comments sanely. * codegen/gtk-props.defs : Fill out the rest of the classes. * codegen/gtk-signals.defs : Fill out the rest of the classes. * codegen/gtk-structs.defs : First pass. Hacked obscenely. * codegen/hardcoded.defs : Kill. No hardcoding needed anymore. * codegen/makefile : Use the new defs files. * codegen/pango.defs : Ripped from pygtk. * codegen/pango-structs.defs : New struct defs gen'd with my tool. * codegen/pango-types.defs : Ripped from pygtk. * gdk/makefile : Add the pango-sharp.dll ref. * gdk/SimpleEvent.cs : Killed. * glib/SimpleSignal.cs : Killed. * gtk/makefile : Add the pango-sharp.dll ref. * gtk/Widget.cs : Killed. * pango/makefile : New build dir. 2001-12-11 Mike Kestner * codegen/get-structs-from-source.pl : New define-struct extractor. * codegen/gdk-structs.defs : generated defs with a few hand edits. 2001-12-04 Mike Kestner * codegen/defs-parse.pl : Index %structs by cname, not name. Derive structs from class to facilitate marshalling since Value types can't use the Marshal.PtrToStructure method. Generate StructLayout attr for struct class defs. Stuff the signal args into a SignalArgs inst to pass to the EventHandlers. * sample/HelloWorld.cs : some cleanup and temporary signal playcode. 2001-12-01 Mike Kestner * makefile : Make ROOT /cygdrive/, not //. 2001-11-25 Mike Kestner * codegen/defs-parse.pl (get_sighandler): gen the helper class. arg passing and return value handling need beefing up still. * glib/SignalArgs.cs : New arg passing/ return value handling class. * glib/SignalCallback.cs (dtor): kill, this will be gen'd in the subclasses. (ctor): prune down to two params. 2001-11-24 Mike Kestner * codegen/defs-parse.pl : mkdir the glib/generated dir. (gen_signal): Call new get_sighandler sub. Doesn't use the returned value yet. s/event/ev3nt on arg names. (get_sighandler): new sub to lookup or gen a signal helper/delegate. Only generates the delegate so far. * codegen/hardcoded.defs : Added a stub for Gdk.Event. * gdk/Event.cs : Killed, now a generated struct. * gdk/SimpleEvent.cs (SimpleEventCallback): Use Marshal.PtrToStructure to create the Event, not a ctor(IntPtr). * glib/SignalCallback.cs : New abstract base class for signal helpers. 2001-11-14 Mike Kestner * codegen/defs-parse.pl : Add System.Collections to usings. s/event/signal. Add gen_signal sub and call it from gen_object. Mangle method names that collide with signal names by prepending Emit to the method name. * codegen/makefile : add gtk-signals.defs to the build. 2001-11-13 Mike Kestner * codegen/get-signals-from-source.pl : My own little perl signal parser. * codegen/gtk-signals.defs : Ripped the GtkWindow signals into here to goof with. 2001-11-10 Mike Kestner * codegen/defs-parse.pl : Fix String prop generation code. * gtk/Window.custom : Fix ctor param casting error. 2001-11-09 Mike Kestner * codegen/defs-parse.pl : Use the @ctors list to determine if a class is abstract. There is an abstract indicator in the new defs format description, but it doesn't appear in the defs files currently. This method should be reliable though, even in the long term. Use the same check to determine if ctor(IntPtr obj) should be gen'd. 2001-11-09 Mike Kestner * codegen/defs-parse.pl : Now genning Window, AccelGroup, Bin, and GdkPixbuf classes to peel the csc error onion. Explicitly add GObject to the "exists ($objects{...})" branches, since GObject is a hard coded Class. 2001-11-08 Mike Kestner * codegen/defs-parse.pl : Build a structs hash and gen the structs after the first pass of the defs. For structs and functions, mangle the 100s of params/fields named object to objekt. Insert using stmnts for structs too. * codegen/hardcoded.defs : Add GtkAccelEntry struct. 2001-11-07 Mike Kestner * codegen/defs-parse.pl (gen_object): Insert using statements. Insert class members from corresponding .custom file. * gtk/Window.custom : Renamed file from Window.cs. Removed all the automatically generated members. This will be the mechanism used to improve upon the mechanically generated binding. 2001-11-05 Mike Kestner * codegen/defs-parse.pl (gen_object): Generate a ctor (IntPtr obj) for every object. This is a wrapper constructor for use by an Object manager which will be called by GLib.Object.GetObject eventually to wrap raw GObject pointers returned by methods/props. 2001-11-04 Mike Kestner * codegen/defs-parse.pl : struct generation. Added float and double type mapping entries. * codegen/hardcoded.defs : GdkGeometry definition. define-struct doesn't appear to be supported in the current defs files. This file will be used for manual definition of unsupported defs. * codegen/makefile : add hardcoded.defs. 2001-11-02 Mike Kestner * codegen/defs-parse.pl : define-struct detection. Partial ctor support. Still need to deal with ctor signiature collisions. Refactored gen_method to share get_param_strings with ctors. 2001-10-30 Mike Kestner * codegen/defs-parse.pl : streamline mkdir stuff. Prune the object list back to just Window for now. Suppress generation of the Prop get/set accessor methods. * codegen/gdk-types.defs : Updated the 2button/3button event types since I don't feel like automangling them now. * gdk/Event.cs : Killed the now redundant EventType declaration. * glib/Object.cs : Override the Equals and GetHashCode methods. 2001-10-25 Mike Kestner * glib/Object.cs : Added Get|SetProperty methods for Object properties. 2001-10-25 Mike Kestner * codegen/get-props-from-source.pl : Temporary (possibly) defs generator for props. Will probably kill this when the official defs support props. * codegen/defs-parse.pl : Added object-based aggregation of defs. Generate the class shells, methods, and props. * codegen/gdk-types.defs : ripped from pygtk. * codegen/gtk.defs : ripped from pygtk. * codegen/gtk-props.defs : some props defs. * codegen/makefile : add the new defs files. 2001-10-11 Mike Kestner * makefile : Add the codegen directory * codegen/defs-parse.pl : Moved here from topdir and updated to parse the new defs format for enums and flags. * codegen/gtk-types.defs : Borrowed from pygtk. * codegen/makefile : new * gtk/makefile : remove generation step. * gtk/gtk.defs : removed, now in codegen dir. 2001-10-07 Mike Kestner * gtk/Button.cs : Some nomenclature changes. s/EmitClicked/Click, etc. We need a consistent way to deal with naming clashes in gtk's method and signal namespaces. When clashes exist, events will be made past tense and methods to programatically emit events will be the present tense (e.g. Clicked event and Click method). 2001-10-07 Mike Kestner * glib/Object.cs : Added public Handle property. It would be nice if I could make the RawObject public for get and protected for set, but that doesn't appear to be possible with C# properties. * gtk/Container.cs : New class with 2 of the 3 props and the Add/Remove methods only implemented. * gtk/Widget.cs : Added SizeRequest prop which is a combination of HeightRequest and SizeRequest. Embrace and extend gtk... * gtk/Window.cs : Derive from newly added Container subclass. * sample/ButtonApp.cs : Simple tire-kicking app. 2001-10-06 Mike Kestner * gtk/Button.cs : Implemented 3 constructors, 5 methods, 4 properties, and 6 signals. Button API is 100% implemented. Need to implement some Container methods to be able to complete testing. 2001-10-05 Mike Kestner * defs-parse.pl : A little automation for the binding. The enums and flags can be painlessly generated from defs files. * gtk/makefile : use defs-parse.pl to produce generated.cs. * gtk/.cvsignore : hush generated.cs * gtk/gtk.defs : unceremoniously ripped from gtk+ HEAD. * gtk/Window.cs : Killed the WindowType enum which is now generated. 2001-10-04 Mike Kestner * glib/SimpleSignal.cs : Reworked to parallel SimpleEvent. 2001-10-04 Mike Kestner * gtk/Widget.cs : Implemented all the bool, string, and int props. 2001-10-04 Mike Kestner * gdk/SimpleEvent.cs : Temporarily uncomment the GCHandle code until a layout is ready and exceptions can be avoided. * gtk/Widget.cs : Killed all the signal and event attaching methods. They never belonged here, and now they exist in the SimpleEvent. Add a Signals hash to hold refs of the Signal handlers. Killed default ctor and the dtor. The event Add/Remove methods now create a SimpleEvent, stuff it in the hash, and remove it when the last handler disappears. 2001-10-04 Mike Kestner * HACKING : Little bit of cleanup. * gdk/SimpleEvent.cs : Redesigned a bit. Docs. Replaced refcounting mechanism with an instance hash and added ctor/dtor. This class now completely encapsulates the signal attachment and forwarding mechanism for GdkEvent based signals. It attaches to the raw signal, maintains a ref to the associated event handler, and uses the static callback to activate the event handler on signal receipt. * sample/makefile : killed one last CSC explicit reference. 2001-10-02 Mike Kestner * glib/Value.cs : Tried adding CallingConvention.Cdecl to all the DllImports, but still couldn't get reliable Propery setting without periodic NullReference exceptions. When all else fails, drop back and punt. * glib/Object.cs : Rewrote Set|GetProperty methods. Now they use g_object_get|set and don't rely on GValues. The int, bool, and string prop types are now working reliably. * gtk/Window.cs : Update all Properties to use new GLib.Object signatures. * sample/HelloWorld.cs : added some more property usage for testing purposes. 2001-09-29 Mike Kestner * glib/Value.cs (int ctor): New constructor for int-based values. (int exp cast): New explicit cast operator for Val to int conversion. * gtk/Window.cs (DefaultHeight): New prop. (DefaultWidth): New prop. 2001-09-28 Mike Kestner * glib/Object.cs (GetProperty): New, gets props from the raw obj. (SetProperty): New, for setting props on the raw obj. * glib/Value.cs (type ctor): New needed for get accessors. *gtk/Window.cs (AllowGrow): Uncommented and filled out. (AllowShrink): Uncommented and filled out. (DestroyWithParent): Uncommented and filled out. (Modal): Uncommented and filled out. (Resizable): Added. All the bool Props work now. 2001-09-28 Mike Kestner * glib/Value.cs (~Value): New destructor to release g_malloc'd space. (default ctor): New default ctor just mallocs without init. (String ctor): call default (bool ctor): call default (Init): New post construct initializer. (String exp cast): Replaces ToString method. (bool exp cast): New for bool extraction. (MarshalAs): Renamed prop was RawValue. 2001-09-27 Mike Kestner * glib/Object.cs : Docs for everything. Made Objects hash private. Some coding style cleanup. Pruned some of the TODO methods from the commented header listing to make a more relistic picture of the remaining effort. Some GSignal stuff probly belongs here too. ([Get|Set]Data): Killed some DllImports and set up methods to store arbitrary data in a managed hash table. 2001-09-27 Mike Kestner *.cs : Added .dll extension to a load of DllImports. * makefile : now can make the project with one make windows and on both NT and Win98. * gdk/Event.cs : Fixed some invalid symbol names and commented out a load of stuff. * gdk/SimpleEvent.cs : Relocated file from unnecessary subdir and fixed several event keyword clashing bugs. Need to relocate the EventArgs class out of here into its own file. Fixed loads of typos. * glib/Object.cs : Killed the Constructor, this should be a purely abstract class. made Events property public until I can fix the Signal proxying system's broken reliance on it. * glib/SimpleSignal.cs : Relocated, namespaces, and named this Class. Loads of bugfixes. Still doesn't work worth a damn, but it builds. * glib/TypeFundamentals.cs : New enum for use in the Value code. * glib/Value.cs : Implemented a more opaque approach with heap allocated memory and g_value_init and friends. Still doesn't work. Will probably switch to a more C# like approach and avoid GValues altogether. * gtk/Button.cs : Commented out some brokeness until I can get around to fixing it later. * gtk/Widget.cs : Commented out a bunch of the new signal stuff until I get around to it. * gtk/Window.cs (Title): using g_object_set until I work out the details of the new Value/SetProperty system. It looks like g_object_set will end up being easier to use via PInvoke. 2001-09-25 Bob Smith * Added refcounts to delegates to make sure they can be unpined when not needed. 2001-09-21 Bob Smith * Signal system totally reworked. It should be stable now. * glib/Object.cs: Rewrote the way the wrapper is kept track of. 2001-09-20 Bob Smith * glib/ObjectManager.cs: Nuked. * glib/Object.cs: Keep track of wrapper. * gtk/Object: First stab at better signal system. Should reduce number of pins nessisary. 2001-09-19 Mike Kestner * HACKING : New rulez. * NOTES: Killed. We have a mailing list now for this kind of stuff. * glib/makefile : New, to build the new glib-sharp.dll target. * glib/Object.cs : (GetObject): Commented out. Design problems here. IntPtr's can't be used in the manner this code attempts to use them. (Data prop): Commented out. Apparently keyed properties are not supported. (Object prop): Renamed RawObject, and made it protected. (Events): Fixed to cause list to be initialized if null and then return the list. * glib/ObjectManager.cs : commented out entirely. Not sure what this code is trying to accomplish and it doesn't compile. * glib/Value.cs : New attempt at implementing GValues. Doesn't work yet. * gtk/Button.cs : Updated to use RawObject. (Clicked event): s/EmitDeleteEvent/EmitClickedEvent. (Button(String)): s/gtk_label_new_with_lable/gtk_button_new_with_label. * gtk/Label.cs : Fixed some yank and paste errors where 2 value params were getting passed to all the set_* property methods. * gtk/Window.cs : Fixed hanging GTK namespace ref. * sample/HelloWorld.cs : Fixed hanging GTK namespace ref. 2001-09-18 Bob Smith * glib/Object.cs : Moved parts of gtk/Object.cs here, and added static GetObject method and a Data property. * glib/ObjectManager.cs : New. * gtk/Object.cs : removed some GObject wrapping code. * gtk/*.cs : Updated namespace from GTK to Gtk. 2001-09-18 Bob Smith * gtk/Object.cs : Added EventList and Object properties. * gtk/Widget.cs : Updated event emission logic. * gtk/Window.cs : added Window(IntPtr) constructor. * gtk/Button.cs : New. Partial implementation of Button class. * gtk/Label.cs : New. Partial implementation of Label class. 2001-09-17 Mike Kestner Initial Import. Partial implementation of Object, Widget, Window, and Application classes and HelloWorld.cs sample app. gtk-sharp-2.12.10/policy.config.in0000644000175000001440000000056511131157074013573 00000000000000 gtk-sharp-2.12.10/config.guess0000755000175000001440000013012611115454704013017 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. timestamp='2008-01-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_MACHINE}" in i?86) test -z "$VENDOR" && VENDOR=pc ;; *) test -z "$VENDOR" && VENDOR=unknown ;; esac test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[456]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:[3456]*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T | authenticamd) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu else echo ${UNAME_MACHINE}-${VENDOR}-linux-gnueabi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-${VENDOR}-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-${VENDOR}-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-${VENDOR}-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-${VENDOR}-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-${VENDOR}-linux-gnu ;; PA8*) echo hppa2.0-${VENDOR}-linux-gnu ;; *) echo hppa-${VENDOR}-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-${VENDOR}-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-${VENDOR}-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-${VENDOR}-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: