ISO_C_BINDING and arrays, optional arguments, etc.



Hi,
working on my GTK+ / Fortran 2003 binding, I found among the thousand
functions (around 4600) of GTK+ one or two hundreds C prototypes of
the following kinds:
void gtk_signal_emit (GtkObject *object,guint signal_id,...);

void gtk_curve_get_vector (GtkCurve *curve,int veclen, gfloat
vector[]);

GtkWidget* gtk_clist_new_with_titles (gint columns,gchar *titles[]);

void gdk_window_invalidate_maybe_recurse (GdkWindow *window, const
GdkRegion *region, gboolean (*child_func) (GdkWindow *, gpointer),
gpointer user_data);

Have you some ideas to write interfaces for those functions using
ISO_C_BINDING ?

Vincent
.



Relevant Pages

  • Re: Roadmap
    ... > binding for Open Dylan based on the old GTK+ binding. ... Would be nice to integrate it in our subversion repository ... developer source code lives now). ...
    (comp.lang.dylan)
  • Re: Yahoo! Widgets (JavaScript) - do we have a anything like this?
    ... and didn't quite "click" with the toolkit. ... Personally, I'm pondering giving the GTK or QT bindings a look, although I ... The GTK binding should be pretty usable from what I've ... necessity Windows Forms of .NET 1.1 infamy *shudder*. ...
    (comp.lang.ruby)
  • Re: GTK+ and Fortran 2003
    ... To prototype the GUI in Python (using pyGTK) in order to learn GTK+ ... to learn how to use ISO_C_BINDING in Fortran 2003 and to revise my ... Graphics just seems really hard in Fortran. ... Nobody that does graphics or Windows can do anything ...
    (comp.lang.fortran)
  • Re: GTK+ and Fortran 2003
    ... Jerry DeLisle and me are working on it. ... set in a GTK window. ... may or may not need Fortran interfaces for GTK+ itself to be useful. ...
    (comp.lang.fortran)
  • Re: Help with Developing a GUI for Fortran program
    ... Could you tell me why I need anything but Fortran with ISO C bindings ... to access Gtk? ... subroutine gtk_widget_show bind ... integer:: argc, strlen, i, j ...
    (comp.lang.fortran)