building XML- and/or GTK source code from ANSI-C code
- From: pvosta unionbio-eu com
- To: Glade <glade-users ximian com>, GTK-list <gtk-list gnome org>
- Subject: building XML- and/or GTK source code from ANSI-C code
- Date: Tue, 22 Oct 2002 09:52:03 +0200
Hi,
Glade is baing used to build C-code for GTK/GNOMEfrom XML-code, which is
fine for some projects. However if you have an extensive set of
C-libraries and you simply want to put them into a GTK/GNOME interface,
at this moment you have to build the XML-code by hand which is very
cumbersome.
Are there scripts to convert ANSI-C prototypes int XML ? It would
already be a great help if it would be possible to create the dialogs in
this way. If there are scripts to create GTK/GNOME C-code starting form
the ANSI_C prototypes this would help too of course.
e.g.:
int myfunc( int a, int b ) ->
<?xml version="1.0"?>
<GTK-Interface>
<project>
...
<widget>
<class>GtkMenuItem</class>
<name>myfunc</name>
<signal>
<name>activate</name>
<handler>on_myfunc_activate</handler>
<last_modification_time>Tue, 22 Oct 2002 07:40:26
GMT</last_modification_time>
</signal>
<label>Myfunc</label>
<right_justify>False</right_justify>
...
Kind regards,
Peter Van Osta
http://ourworld.compuserve.com/homepages/pvosta/cvwww.htm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]