[Glade-devel] [Glade] External library



Thank you Shane,

I study the gtk-base.xml and the glade-gtk.c files and
there is the library parameter. I think I have to
write my own files (.xml + .c) to use my library. The
glade-myinterface.c will give me a libmyinterface.so
that I will put as parameter in the
gtk-myinterface.xml file. I will try it. I'll post the
result.

Thanks to the help.

Mickael

 --- Shane Butler <shane_b users sourceforge net> a
�crit : 
Hi Michael,

I dont really understand it myself, but i believe
each catalog eg.
gtk-base.xml has a (?optional?) library parameter
that loads the
relevant library (eg the glade-gtk.c plugin). In the
widget xml files
you can then link function to the widget, eg.

<PostCreateFunction>glade_gtk_window_post_create</PostCreateFunction>.

Hope this helps.
-Shane


On Thu, 2004-08-12 at 22:47, Cornet Mickael wrote:
Hello,

I currently develop a graphic library and would
like
to adapt an existant project to create interface
(XML). I study a lot of solution. On the Glade
website, it is explained that with Glade 3 we can
plug
an external library to generate XML files.

I am very interesting by Glade 3, I've downloaded
the
source code via CVS and I begin to study source
code.
I understand how to plug the widget catalog of my
library but I've some problems with
libgladegtk.so. If
I well understand, these libraries describe
interface
with properties, dependances, callbacks for
Glade...
How can I plug mine to Glade? What is the API
between
Glade and external library?


Thanks you.

Micka�l.


    

    
            
Vous manquez despace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Cr�ez votre Yahoo! Mail sur
http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arriv� ! D�couvrez
toutes les nouveaut�s pour dialoguer instantan�ment
avec vos amis. A t�l�charger gratuitement sur
http://fr.messenger.yahoo.com
_______________________________________________
Glade-devel maillist  - 
Glade-devel lists ximian com

http://lists.ximian.com/mailman/listinfo/glade-devel

_______________________________________________
Glade-devel maillist  - 
Glade-devel lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-devel
 


        

        
                
Vous manquez d�espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arriv� ! D�couvrez toutes les nouveaut�s pour dialoguer 
instantan�ment avec vos amis. A t�l�charger gratuitement sur http://fr.messenger.yahoo.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]