[Gtk-sharp-list] Adding CSharp support to Glade Catalog
Aidin Gharibnavaz
aidin at aidinhut.com
Wed Oct 7 07:13:05 EDT 2009
Hi!
Is there anyway to add a custom widget, written in CSharp, to Glade's
catalog?
As far as I know, I should write a catalog like:
<?xml version="1.0" encoding="UTF-8"?>
<glade-catalog name="csharptest" library="GladeCustomWidget01.dll">
<glade-widget-classes>
<glade-widget-class name="Class1" title="widget">
</glade-widget-class>
</glade-widget-classes>
<glade-widget-group name="gtk-actions" title="TEST">
<glade-widget-class-ref name="csharptest"/>
</glade-widget-group>
</glade-catalog>
'GladeCustomWIdget01.dll' is my custom widget. But it don't work. It says:
GladeUI-WARNING **: Failed to load external library
'GladeCustomWidget01.dll'
But the library is there. I also set the GLADE_MODULE_PATH and
GLADE_CATALOG_PATH in a way that they point to the right places.
I search up and down, but couldn't find any guide, reference, or like that
about
this issue. I tried to edit the catalog in other ways, but I couldn't make
it
work.
Any idea?
It would be great if you give me a working sample, or a document (Those
Galde's docs couldn't help)
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20091007/1680ca70/attachment.html
More information about the Gtk-sharp-list
mailing list