[Glade-devel] [Glade] External library
Cornet Mickael
mickael_cornet@yahoo.fr
Fri, 13 Aug 2004 10:41:56 +0200 (CEST)
--- Joaquin Cuenca Abela <e98cuenc@yahoo.com> a écrit
:
>
> --- Cornet Mickael <mickael_cornet@yahoo.fr> wrote:
>
> > 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.
>
> Please note that if your graphic library is not
> based
> in gtk (ie, you should implement gtk widgets), then
> you will not be able to use it in glade3.
>
> The mechanism in place only helps to insulate glade3
> from the specifics of gtkwidgets, but not from the
> specifics of any graphic library whatsoever.
>
> If your library is gtk+ based, then I can give you a
> sample of what needs to be done to make it work.
>
> Cheers,
Ok, my library is not based on GTK but I would like to
adapt GTK widgets to my library properties in order to
generate glade (xml) files that I will convert with a
script to c code for my applications, do you think it
can be possible with Glade3?
My widgets are similar to GTK ones. In the glade file,
I just want a description of the interface and
callbacks, what Glade3 can make. Then, I transform the
glade file in own library C code.
Thanks.
Mickael
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