Stetic.IsolatedApplication.CreateComponentType C# (CSharp) Method

CreateComponentType() private method

private CreateComponentType ( string typeName ) : Stetic.ComponentType
typeName string
return Stetic.ComponentType
        internal override ComponentType CreateComponentType(string typeName)
        {
            string desc = null, className = null, category = null, targetGtkVersion = null, library = null;
            Gdk.Pixbuf px = null;

            byte[] icon;

            if (Backend.GetClassDescriptorInfo (typeName, out desc, out className, out category, out targetGtkVersion, out library, out icon) && icon != null)
                px = new Gdk.Pixbuf (icon);

            if (px == null)
                px = ComponentType.Unknown.Icon;

            if (desc == null)
                desc = typeName;

            return new ComponentType (this, typeName, desc, className, category, targetGtkVersion, library, px);
        }