C# Class Stetic.GladeUtils

Show file Open project: mono/stetic Class Usage Examples

Public Methods

Method Description
Copy ( Gtk widget, Gtk seldata, bool copyAsText ) : void
Export ( Gtk widget ) : XmlDocument
ExportWidget ( ObjectWrapper wrapper, XmlDocument doc ) : XmlElement
ExtractChildProperty ( XmlElement elem, string name, object defaultValue ) : object
ExtractProperty ( XmlElement elem, string name, object defaultValue ) : object
GetChildProperty ( XmlElement elem, string name, object defaultValue ) : object
GetProperty ( XmlElement elem, string name, object defaultValue ) : object
GetProps ( ObjectWrapper wrapper, XmlElement parent_elem ) : void
GetSignals ( ObjectWrapper wrapper, XmlElement parent_elem ) : void
Import ( IProject project, XmlDocument doc ) : Widget
ImportWidget ( ObjectWrapper wrapper, XmlElement elem ) : void
Paste ( IProject project, Gtk seldata ) : Widget
SetChildProperty ( XmlElement elem, string name, string value ) : void
SetPacking ( Stetic wrapper, XmlElement child_elem ) : void
SetProperty ( XmlElement elem, string name, string value ) : void
XslExportTransform ( XmlDocument doc ) : XmlDocument
XslImportTransform ( XmlDocument doc ) : XmlDocument

Private Methods

Method Description
CreatePacking ( XmlDocument doc, Stetic childwrapper ) : XmlElement
ExtractProperties ( TypedClassDescriptor klass, XmlElement elem, Hashtable &rawProps, Hashtable &overrideProps ) : void
FindClrProperty ( Type type, string name, bool childprop ) : PropertyInfo
GetProperty ( XmlElement elem, string selector, object defaultValue, bool extract ) : object
MarkTranslatables ( object obj, Hashtable props ) : void
ParseAdjustment ( string strval ) : GLib.Value
ParseBasicType ( GLib type, string strval ) : GLib.Value
ParseEnum ( IntPtr gtype, string strval ) : GLib.Value
ParseFlags ( IntPtr gtype, string strval ) : GLib.Value
ParseProperties ( Type type, bool childprops, IEnumerable props, string &propNames, GLib &propVals ) : void
ParseProperty ( Stetic.ParamSpec pspec, Type propType, string strval ) : GLib.Value
ParseProperty ( Type type, bool childprop, string name, string strval ) : GLib.Value
ParseUnichar ( string strval ) : GLib.Value
PropToString ( ObjectWrapper wrapper, TypedPropertyDescriptor prop ) : string
ReadSignals ( TypedClassDescriptor klass, ObjectWrapper wrapper, XmlElement elem ) : void
SetOverrideProperties ( ObjectWrapper wrapper, Hashtable overrideProps ) : void
g_enum_get_value ( IntPtr enum_class, int val ) : IntPtr
g_enum_get_value_by_name ( IntPtr enum_class, string name ) : IntPtr
g_flags_get_first_value ( IntPtr flags_class, uint val ) : IntPtr
g_flags_get_value_by_name ( IntPtr flags_class, string nick ) : IntPtr
g_object_get_property ( IntPtr obj, string name, GLib &val ) : void
g_object_set_property ( IntPtr obj, string name, GLib &val ) : void
g_type_class_ref ( IntPtr gtype ) : IntPtr
g_type_class_unref ( IntPtr klass ) : IntPtr
g_type_fundamental ( IntPtr gtype ) : IntPtr
gtk_container_child_get_property ( IntPtr parent, IntPtr child, string name, GLib &val ) : void
gtk_object_sink ( IntPtr raw ) : void
gtksharp_object_newv ( IntPtr gtype, int n_params, string names, GLib vals ) : IntPtr

Method Details

Copy() public static method

public static Copy ( Gtk widget, Gtk seldata, bool copyAsText ) : void
widget Gtk
seldata Gtk
copyAsText bool
return void

Export() public static method

public static Export ( Gtk widget ) : XmlDocument
widget Gtk
return System.Xml.XmlDocument

ExportWidget() public static method

public static ExportWidget ( ObjectWrapper wrapper, XmlDocument doc ) : XmlElement
wrapper ObjectWrapper
doc System.Xml.XmlDocument
return System.Xml.XmlElement

ExtractChildProperty() public static method

public static ExtractChildProperty ( XmlElement elem, string name, object defaultValue ) : object
elem System.Xml.XmlElement
name string
defaultValue object
return object

ExtractProperty() public static method

public static ExtractProperty ( XmlElement elem, string name, object defaultValue ) : object
elem System.Xml.XmlElement
name string
defaultValue object
return object

GetChildProperty() public static method

public static GetChildProperty ( XmlElement elem, string name, object defaultValue ) : object
elem System.Xml.XmlElement
name string
defaultValue object
return object

GetProperty() public static method

public static GetProperty ( XmlElement elem, string name, object defaultValue ) : object
elem System.Xml.XmlElement
name string
defaultValue object
return object

GetProps() public static method

public static GetProps ( ObjectWrapper wrapper, XmlElement parent_elem ) : void
wrapper ObjectWrapper
parent_elem System.Xml.XmlElement
return void

GetSignals() public static method

public static GetSignals ( ObjectWrapper wrapper, XmlElement parent_elem ) : void
wrapper ObjectWrapper
parent_elem System.Xml.XmlElement
return void

Import() public static method

public static Import ( IProject project, XmlDocument doc ) : Widget
project IProject
doc System.Xml.XmlDocument
return Stetic.Wrapper.Widget

ImportWidget() public static method

public static ImportWidget ( ObjectWrapper wrapper, XmlElement elem ) : void
wrapper ObjectWrapper
elem System.Xml.XmlElement
return void

Paste() public static method

public static Paste ( IProject project, Gtk seldata ) : Widget
project IProject
seldata Gtk
return Stetic.Wrapper.Widget

SetChildProperty() public static method

public static SetChildProperty ( XmlElement elem, string name, string value ) : void
elem System.Xml.XmlElement
name string
value string
return void

SetPacking() public static method

public static SetPacking ( Stetic wrapper, XmlElement child_elem ) : void
wrapper Stetic
child_elem System.Xml.XmlElement
return void

SetProperty() public static method

public static SetProperty ( XmlElement elem, string name, string value ) : void
elem System.Xml.XmlElement
name string
value string
return void

XslExportTransform() public static method

public static XslExportTransform ( XmlDocument doc ) : XmlDocument
doc System.Xml.XmlDocument
return System.Xml.XmlDocument

XslImportTransform() public static method

public static XslImportTransform ( XmlDocument doc ) : XmlDocument
doc System.Xml.XmlDocument
return System.Xml.XmlDocument