mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
Added new convenience factory methods, FromStream and FromAssembly.
svn path=/trunk/gtk-sharp/; revision=16809
This commit is contained in:
parent
28a41ea3c7
commit
5482d6b526
@ -1,3 +1,8 @@
|
|||||||
|
2003-07-28 Duncan Mak <duncan@ximian.com>
|
||||||
|
|
||||||
|
* glade/XML.custom: Added new convenience factory methods,
|
||||||
|
FromStream and FromAssembly.
|
||||||
|
|
||||||
2003-07-27 Duncan Mak <duncan@ximian.com>
|
2003-07-27 Duncan Mak <duncan@ximian.com>
|
||||||
|
|
||||||
* art/Makefile.in:
|
* art/Makefile.in:
|
||||||
|
@ -288,4 +288,20 @@
|
|||||||
{
|
{
|
||||||
BindFields (null, 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);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user