Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

GtkDatabox #29

Open
bonanza opened this Issue · 2 comments

2 participants

@bonanza
Collaborator

I tried to use cfwrapper.py with the gtkdatabox 0.9.1.1 header files.
Unfortunately, this produces a lot of errors, mainly "Unknown data type".
However, I'm not familiar enough with Python to do some adaptations in the cfwrapper script.

/usr/include/gtkdatabox/gtkdatabox_markers.h
Unknown data type:    typedef struct _GtkDataboxMarkers GtkDataboxMarkers
  typedef struct _GtkDataboxMarkers GtkDataboxMarkers;

/usr/include/gtkdatabox/gtkdatabox_markers.h
Function name not found
  typedef struct _GtkDataboxMarkers GtkDataboxMarkers;

/usr/include/gtkdatabox/gtkdatabox_markers.h
Unknown data type:    typedef struct _GtkDataboxMarkersClass GtkDataboxMarkersClass
 typedef struct _GtkDataboxMarkersClass GtkDataboxMarkersClass;

/usr/include/gtkdatabox/gtkdatabox_markers.h
Function name not found
 typedef struct _GtkDataboxMarkersClass GtkDataboxMarkersClass;

/usr/include/gtkdatabox/gtkdatabox_markers.h
Unknown data type:    typedef struct _GtkDataboxMarkersPrivate GtkDataboxMarkersPrivate
  typedef struct _GtkDataboxMarkersPrivate GtkDataboxMarkersPrivate;

/usr/include/gtkdatabox/gtkdatabox_markers.h
Function name not found
  typedef struct _GtkDataboxMarkersPrivate GtkDataboxMarkersPrivate;

/usr/include/gtkdatabox/gtkdatabox_markers.h
Unknown data type:    typedef enum   struct _GtkDataboxMarkersClass   GType gtk_databox_markers_get_type 
  typedef enum   struct _GtkDataboxMarkersClass   GType gtk_databox_markers_get_type (void);

/usr/include/gtkdatabox/gtkdatabox_markers.h
Unknown data type:    GtkDataboxMarkersType type
 GtkDataboxGraph *gtk_databox_markers_new (guint len, gfloat * X, gfloat * Y, GdkColor * color, guint size, GtkDataboxMarkersType type);

/usr/include/gtkdatabox/gtkdatabox_markers.h
Unknown data type:    GtkDataboxMarkersPosition position
void gtk_databox_markers_set_position (GtkDataboxMarkers * markers, guint index, GtkDataboxMarkersPosition position);

/usr/include/gtkdatabox/gtkdatabox_markers.h
Unknown data type:    GtkDataboxMarkersTextPosition label_position
 void gtk_databox_markers_set_label (GtkDataboxMarkers * markers, guint index, GtkDataboxMarkersTextPosition label_position, gchar * text, gboolean boxed);

/usr/include/gtkdatabox/gtkdatabox_markers.h
Unknown data type:    gboolean boxed
 void gtk_databox_markers_set_label (GtkDataboxMarkers * markers, guint index, GtkDataboxMarkersTextPosition label_position, gchar * text, gboolean boxed);

/usr/include/gtkdatabox/gtkdatabox_bars.h
Unknown data type:    typedef struct _GtkDataboxBars GtkDataboxBars
  typedef struct _GtkDataboxBars GtkDataboxBars;

/usr/include/gtkdatabox/gtkdatabox_bars.h
Function name not found
  typedef struct _GtkDataboxBars GtkDataboxBars;

/usr/include/gtkdatabox/gtkdatabox_bars.h
Unknown data type:    typedef struct _GtkDataboxBarsClass GtkDataboxBarsClass
 typedef struct _GtkDataboxBarsClass GtkDataboxBarsClass;

/usr/include/gtkdatabox/gtkdatabox_bars.h
Function name not found
 typedef struct _GtkDataboxBarsClass GtkDataboxBarsClass;

/usr/include/gtkdatabox/gtkdatabox_bars.h
Unknown data type:    typedef struct _GtkDataboxBarsPrivate GtkDataboxBarsPrivate
  typedef struct _GtkDataboxBarsPrivate GtkDataboxBarsPrivate;

/usr/include/gtkdatabox/gtkdatabox_bars.h
Function name not found
  typedef struct _GtkDataboxBarsPrivate GtkDataboxBarsPrivate;

/usr/include/gtkdatabox/gtkdatabox_bars.h
Unknown data type:    struct _GtkDataboxBars   struct _GtkDataboxBarsClass   GType gtk_databox_bars_get_type 
 struct _GtkDataboxBars   struct _GtkDataboxBarsClass   GType gtk_databox_bars_get_type (void);

/usr/include/gtkdatabox/gtkdatabox_ruler.h
Unknown data type:    typedef struct _GtkDataboxRulerPrivate GtkDataboxRulerPrivate
  typedef struct _GtkDataboxRulerPrivate GtkDataboxRulerPrivate;

/usr/include/gtkdatabox/gtkdatabox_ruler.h
Function name not found
  typedef struct _GtkDataboxRulerPrivate GtkDataboxRulerPrivate;

/usr/include/gtkdatabox/gtkdatabox_ruler.h
Unknown data type:    GtkOrientation orientation
GtkWidget *gtk_databox_ruler_new (GtkOrientation orientation);

/usr/include/gtkdatabox/gtkdatabox_ruler.h
Unknown data type:    gdouble lower
 void gtk_databox_ruler_set_range (GtkDataboxRuler * ruler, gdouble lower, gdouble upper, gdouble position);

/usr/include/gtkdatabox/gtkdatabox_ruler.h
Unknown data type:    gdouble upper
 void gtk_databox_ruler_set_range (GtkDataboxRuler * ruler, gdouble lower, gdouble upper, gdouble position);

/usr/include/gtkdatabox/gtkdatabox_ruler.h
Unknown data type:    gdouble position
 void gtk_databox_ruler_set_range (GtkDataboxRuler * ruler, gdouble lower, gdouble upper, gdouble position);

/usr/include/gtkdatabox/gtkdatabox_ruler.h
Unknown data type:    GtkOrientation orientation
 void gtk_databox_ruler_set_orientation (GtkDataboxRuler * ruler, GtkOrientation orientation);

/usr/include/gtkdatabox/gtkdatabox_ruler.h
Unknown data type:    GtkOrientation gtk_databox_ruler_get_orientation 
 GtkOrientation gtk_databox_ruler_get_orientation (GtkDataboxRuler * ruler);

/usr/include/gtkdatabox/gtkdatabox_points.h
Unknown data type:    typedef struct _GtkDataboxPoints GtkDataboxPoints
  typedef struct _GtkDataboxPoints GtkDataboxPoints;

/usr/include/gtkdatabox/gtkdatabox_points.h
Function name not found
  typedef struct _GtkDataboxPoints GtkDataboxPoints;

/usr/include/gtkdatabox/gtkdatabox_points.h
Unknown data type:    typedef struct _GtkDataboxPointsClass GtkDataboxPointsClass
 typedef struct _GtkDataboxPointsClass GtkDataboxPointsClass;

/usr/include/gtkdatabox/gtkdatabox_points.h
Function name not found
 typedef struct _GtkDataboxPointsClass GtkDataboxPointsClass;

/usr/include/gtkdatabox/gtkdatabox_points.h
Unknown data type:    typedef struct _GtkDataboxPointsPrivate GtkDataboxPointsPrivate
  typedef struct _GtkDataboxPointsPrivate GtkDataboxPointsPrivate;

/usr/include/gtkdatabox/gtkdatabox_points.h
Function name not found
  typedef struct _GtkDataboxPointsPrivate GtkDataboxPointsPrivate;

/usr/include/gtkdatabox/gtkdatabox_points.h
Unknown data type:    struct _GtkDataboxPoints   struct _GtkDataboxPointsClass   GType gtk_databox_points_get_type 
 struct _GtkDataboxPoints   struct _GtkDataboxPointsClass   GType gtk_databox_points_get_type (void);

/usr/include/gtkdatabox/gtkdatabox_points.h
Unknown data type:    gint size
 GtkDataboxGraph *gtk_databox_points_new (guint len, gfloat * X, gfloat * Y, GdkColor * color, gint size);

/usr/include/gtkdatabox/gtkdatabox_graph.h
Unknown data type:    typedef struct _GtkDataboxGraphClass GtkDataboxGraphClass
  typedef struct _GtkDataboxGraphClass GtkDataboxGraphClass;

/usr/include/gtkdatabox/gtkdatabox_graph.h
Function name not found
  typedef struct _GtkDataboxGraphClass GtkDataboxGraphClass;

/usr/include/gtkdatabox/gtkdatabox_graph.h
Unknown data type:    typedef struct _GtkDataboxGraphPrivate GtkDataboxGraphPrivate
  typedef struct _GtkDataboxGraphPrivate GtkDataboxGraphPrivate;

/usr/include/gtkdatabox/gtkdatabox_graph.h
Function name not found
  typedef struct _GtkDataboxGraphPrivate GtkDataboxGraphPrivate;

/usr/include/gtkdatabox/gtkdatabox_graph.h
Unknown data type:    struct _GtkDataboxGraph   struct _GtkDataboxGraphClass   GType gtk_databox_graph_get_type 
  struct _GtkDataboxGraph   struct _GtkDataboxGraphClass   GType gtk_databox_graph_get_type (void);

/usr/include/gtkdatabox/gtkdatabox_graph.h
Unknown data type:    gboolean hide
 void gtk_databox_graph_set_hide (GtkDataboxGraph * graph, gboolean hide);

/usr/include/gtkdatabox/gtkdatabox_graph.h
Unknown data type:    gboolean gtk_databox_graph_get_hide 
gboolean gtk_databox_graph_get_hide (GtkDataboxGraph * graph);

/usr/include/gtkdatabox/gtkdatabox_graph.h
Unknown data type:    gint size
 void gtk_databox_graph_set_size (GtkDataboxGraph * graph, gint size);

/usr/include/gtkdatabox/gtkdatabox_graph.h
Unknown data type:    gint gtk_databox_graph_get_size 
gint gtk_databox_graph_get_size (GtkDataboxGraph * graph);

/usr/include/gtkdatabox/gtkdatabox_graph.h
Unknown data type:    gint gtk_databox_graph_calculate_extrema 
 gint gtk_databox_graph_calculate_extrema (GtkDataboxGraph * graph, gfloat * min_x, gfloat * max_x, gfloat * min_y, gfloat * max_y);

/usr/include/gtkdatabox/gtkdatabox_marshal.h
No function to implement in this file


/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    typedef struct _GtkDataboxGrid GtkDataboxGrid
  typedef struct _GtkDataboxGrid GtkDataboxGrid;

/usr/include/gtkdatabox/gtkdatabox_grid.h
Function name not found
  typedef struct _GtkDataboxGrid GtkDataboxGrid;

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    typedef struct _GtkDataboxGridClass GtkDataboxGridClass
 typedef struct _GtkDataboxGridClass GtkDataboxGridClass;

/usr/include/gtkdatabox/gtkdatabox_grid.h
Function name not found
 typedef struct _GtkDataboxGridClass GtkDataboxGridClass;

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    typedef struct _GtkDataboxGridPrivate GtkDataboxGridPrivate
  typedef struct _GtkDataboxGridPrivate GtkDataboxGridPrivate;

/usr/include/gtkdatabox/gtkdatabox_grid.h
Function name not found
  typedef struct _GtkDataboxGridPrivate GtkDataboxGridPrivate;

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    struct _GtkDataboxGrid   struct _GtkDataboxGridClass   GType gtk_databox_grid_get_type 
 struct _GtkDataboxGrid   struct _GtkDataboxGridClass   GType gtk_databox_grid_get_type (void);

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    gint hlines
 GtkDataboxGraph *gtk_databox_grid_new (gint hlines, gint vlines, GdkColor * color, guint size);

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    gint vlines
 GtkDataboxGraph *gtk_databox_grid_new (gint hlines, gint vlines, GdkColor * color, guint size);

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    gint hlines
GtkDataboxGraph *gtk_databox_grid_array_new (gint hlines, gint vlines, gfloat *hline_vals, gfloat *vline_vals, GdkColor * color, guint size);

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    gint vlines
GtkDataboxGraph *gtk_databox_grid_array_new (gint hlines, gint vlines, gfloat *hline_vals, gfloat *vline_vals, GdkColor * color, guint size);

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    gint hlines
 void gtk_databox_grid_set_hlines (GtkDataboxGrid * grid, gint hlines);

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    gint gtk_databox_grid_get_hlines 
gint gtk_databox_grid_get_hlines (GtkDataboxGrid * grid);

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    gint vlines
 void gtk_databox_grid_set_vlines (GtkDataboxGrid * grid, gint vlines);

/usr/include/gtkdatabox/gtkdatabox_grid.h
Unknown data type:    gint gtk_databox_grid_get_vlines 
gint gtk_databox_grid_get_vlines (GtkDataboxGrid * grid);

/usr/include/gtkdatabox/gtkdatabox_xyc_graph.h
Unknown data type:    typedef struct _GtkDataboxXYCGraph GtkDataboxXYCGraph
  typedef struct _GtkDataboxXYCGraph GtkDataboxXYCGraph;

/usr/include/gtkdatabox/gtkdatabox_xyc_graph.h
Function name not found
  typedef struct _GtkDataboxXYCGraph GtkDataboxXYCGraph;

/usr/include/gtkdatabox/gtkdatabox_xyc_graph.h
Unknown data type:    typedef struct _GtkDataboxXYCGraphClass GtkDataboxXYCGraphClass
 typedef struct _GtkDataboxXYCGraphClass GtkDataboxXYCGraphClass;

/usr/include/gtkdatabox/gtkdatabox_xyc_graph.h
Function name not found
 typedef struct _GtkDataboxXYCGraphClass GtkDataboxXYCGraphClass;

/usr/include/gtkdatabox/gtkdatabox_xyc_graph.h
Unknown data type:    typedef struct _GtkDataboxXYCGraphPrivate GtkDataboxXYCGraphPrivate
  typedef struct _GtkDataboxXYCGraphPrivate GtkDataboxXYCGraphPrivate;

/usr/include/gtkdatabox/gtkdatabox_xyc_graph.h
Function name not found
  typedef struct _GtkDataboxXYCGraphPrivate GtkDataboxXYCGraphPrivate;

/usr/include/gtkdatabox/gtkdatabox_xyc_graph.h
Unknown data type:    struct _GtkDataboxXYCGraph   struct _GtkDataboxXYCGraphClass   GType gtk_databox_xyc_graph_get_type 
 struct _GtkDataboxXYCGraph   struct _GtkDataboxXYCGraphClass   GType gtk_databox_xyc_graph_get_type (void);

/usr/include/gtkdatabox/gtkdatabox_cross_simple.h
Unknown data type:    typedef struct _GtkDataboxCrossSimple GtkDataboxCrossSimple
  typedef struct _GtkDataboxCrossSimple GtkDataboxCrossSimple;

/usr/include/gtkdatabox/gtkdatabox_cross_simple.h
Function name not found
  typedef struct _GtkDataboxCrossSimple GtkDataboxCrossSimple;

/usr/include/gtkdatabox/gtkdatabox_cross_simple.h
Unknown data type:    typedef struct _GtkDataboxCrossSimpleClass GtkDataboxCrossSimpleClass
 typedef struct _GtkDataboxCrossSimpleClass GtkDataboxCrossSimpleClass;

/usr/include/gtkdatabox/gtkdatabox_cross_simple.h
Function name not found
 typedef struct _GtkDataboxCrossSimpleClass GtkDataboxCrossSimpleClass;

/usr/include/gtkdatabox/gtkdatabox_cross_simple.h
Unknown data type:    typedef struct _GtkDataboxCrossSimplePrivate GtkDataboxCrossSimplePrivate
  typedef struct _GtkDataboxCrossSimplePrivate GtkDataboxCrossSimplePrivate;

/usr/include/gtkdatabox/gtkdatabox_cross_simple.h
Function name not found
  typedef struct _GtkDataboxCrossSimplePrivate GtkDataboxCrossSimplePrivate;

/usr/include/gtkdatabox/gtkdatabox_cross_simple.h
Unknown data type:    struct _GtkDataboxCrossSimple   struct _GtkDataboxCrossSimpleClass   GType gtk_databox_cross_simple_get_type 
 struct _GtkDataboxCrossSimple   struct _GtkDataboxCrossSimpleClass   GType gtk_databox_cross_simple_get_type (void);

/usr/include/gtkdatabox/gtkdatabox_lines.h
Unknown data type:    typedef struct _GtkDataboxLines GtkDataboxLines
  typedef struct _GtkDataboxLines GtkDataboxLines;

/usr/include/gtkdatabox/gtkdatabox_lines.h
Function name not found
  typedef struct _GtkDataboxLines GtkDataboxLines;

/usr/include/gtkdatabox/gtkdatabox_lines.h
Unknown data type:    typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass
 typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass;

/usr/include/gtkdatabox/gtkdatabox_lines.h
Function name not found
 typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass;

/usr/include/gtkdatabox/gtkdatabox_lines.h
Unknown data type:    typedef struct _GtkDataboxLinesPrivate GtkDataboxLinesPrivate
  typedef struct _GtkDataboxLinesPrivate GtkDataboxLinesPrivate;

/usr/include/gtkdatabox/gtkdatabox_lines.h
Function name not found
  typedef struct _GtkDataboxLinesPrivate GtkDataboxLinesPrivate;

/usr/include/gtkdatabox/gtkdatabox_lines.h
Unknown data type:    struct _GtkDataboxLines   struct _GtkDataboxLinesClass   GType gtk_databox_lines_get_type 
 struct _GtkDataboxLines   struct _GtkDataboxLinesClass   GType gtk_databox_lines_get_type (void);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    typedef struct _GtkDataboxClass GtkDataboxClass
  typedef struct _GtkDataboxClass GtkDataboxClass;

/usr/include/gtkdatabox/gtkdatabox.h
Function name not found
  typedef struct _GtkDataboxClass GtkDataboxClass;

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    typedef struct _GtkDataboxPrivate GtkDataboxPrivate
  typedef struct _GtkDataboxPrivate GtkDataboxPrivate;

/usr/include/gtkdatabox/gtkdatabox.h
Function name not found
  typedef struct _GtkDataboxPrivate GtkDataboxPrivate;

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    typedef struct    struct _GtkDatabox   struct _GtkDataboxClass   GType gtk_databox_get_type 
 typedef struct    struct _GtkDatabox   struct _GtkDataboxClass   GType gtk_databox_get_type (void);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gint gtk_databox_graph_add 
 gint gtk_databox_graph_add (GtkDatabox * box, GtkDataboxGraph * graph);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gint gtk_databox_graph_remove 
gint gtk_databox_graph_remove (GtkDatabox * box, GtkDataboxGraph * graph);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gint gtk_databox_graph_remove_all 
gint gtk_databox_graph_remove_all (GtkDatabox * box);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gint gtk_databox_auto_rescale 
 gint gtk_databox_auto_rescale (GtkDatabox * box, gfloat border);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat border
 gint gtk_databox_auto_rescale (GtkDatabox * box, gfloat border);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gint gtk_databox_calculate_extrema 
gint gtk_databox_calculate_extrema (GtkDatabox * box, gfloat * min_x, gfloat * max_x, gfloat * min_y, gfloat * max_y);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat left
 void gtk_databox_set_total_limits (GtkDatabox * box, gfloat left, gfloat right, gfloat top, gfloat bottom);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat right
 void gtk_databox_set_total_limits (GtkDatabox * box, gfloat left, gfloat right, gfloat top, gfloat bottom);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat top
 void gtk_databox_set_total_limits (GtkDatabox * box, gfloat left, gfloat right, gfloat top, gfloat bottom);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat bottom
 void gtk_databox_set_total_limits (GtkDatabox * box, gfloat left, gfloat right, gfloat top, gfloat bottom);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat left
void gtk_databox_set_visible_limits (GtkDatabox * box, gfloat left, gfloat right, gfloat top, gfloat bottom);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat right
void gtk_databox_set_visible_limits (GtkDatabox * box, gfloat left, gfloat right, gfloat top, gfloat bottom);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat top
void gtk_databox_set_visible_limits (GtkDatabox * box, gfloat left, gfloat right, gfloat top, gfloat bottom);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat bottom
void gtk_databox_set_visible_limits (GtkDatabox * box, gfloat left, gfloat right, gfloat top, gfloat bottom);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gboolean enable
 void gtk_databox_set_enable_selection (GtkDatabox * box, gboolean enable);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gboolean enable
void gtk_databox_set_enable_zoom (GtkDatabox * box, gboolean enable);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gboolean gtk_databox_get_enable_selection 
 gboolean gtk_databox_get_enable_selection (GtkDatabox * box);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gboolean gtk_databox_get_enable_zoom 
gboolean gtk_databox_get_enable_zoom (GtkDatabox * box);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat value
 gint16 gtk_databox_value_to_pixel_x (GtkDatabox * box, gfloat value);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat value
gint16 gtk_databox_value_to_pixel_y (GtkDatabox * box, gfloat value);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat gtk_databox_pixel_to_value_x 
gfloat gtk_databox_pixel_to_value_x (GtkDatabox * box, gint16 pixel);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gfloat gtk_databox_pixel_to_value_y 
gfloat gtk_databox_pixel_to_value_y (GtkDatabox * box, gint16 pixel);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gboolean scrollbar_x
 void gtk_databox_create_box_with_scrollbars_and_rulers (GtkWidget ** p_box, GtkWidget ** p_table, gboolean scrollbar_x, gboolean scrollbar_y, gboolean ruler_x, gboolean ruler_y);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gboolean scrollbar_y
 void gtk_databox_create_box_with_scrollbars_and_rulers (GtkWidget ** p_box, GtkWidget ** p_table, gboolean scrollbar_x, gboolean scrollbar_y, gboolean ruler_x, gboolean ruler_y);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gboolean ruler_x
 void gtk_databox_create_box_with_scrollbars_and_rulers (GtkWidget ** p_box, GtkWidget ** p_table, gboolean scrollbar_x, gboolean scrollbar_y, gboolean ruler_x, gboolean ruler_y);

/usr/include/gtkdatabox/gtkdatabox.h
Unknown data type:    gboolean ruler_y
 void gtk_databox_create_box_with_scrollbars_and_rulers (GtkWidget ** p_box, GtkWidget ** p_table, gboolean scrollbar_x, gboolean scrollbar_y, gboolean ruler_x, gboolean ruler_y);

/usr/include/gtkdatabox/gtkdatabox_typedefs.h
Unknown data type:    typedef struct _GtkDatabox GtkDatabox
   typedef struct _GtkDatabox GtkDatabox;

/usr/include/gtkdatabox/gtkdatabox_typedefs.h
Function name not found
   typedef struct _GtkDatabox GtkDatabox;

/usr/include/gtkdatabox/gtkdatabox_typedefs.h
Unknown data type:     


/usr/include/gtkdatabox/gtkdatabox_typedefs.h
Function name not found
@vmagnin vmagnin was assigned
@vmagnin
Collaborator

Hi Jens,
you can try to add types in the TYPES_DICT dictionary (line 193), following the same syntax :

TYPES_DICT = { 
"int":("integer(c_int)","c_int"), 
"guint":("integer(c_int)","c_int"),          
"Bool":("integer(c_int)","c_int"),  
...

The types like GtkDataboxBars are probably pointers. For types like gint, gdouble, etc. you can also add them. Some types are declared by hand, and some are automatically discovered in the GTK+ header files by the script. So if you work on another library, they are not automatically found.

@bonanza
Collaborator

I was able to eliminate a lot of errors by adding the following types in TYPES_DICT:

    "gboolean":("integer(c_int)","c_int"),
    "gdouble":("real(c_double)","c_double"),
    "gint":("integer(c_int)","c_int"), 
    "gfloat":("real(c_float)","c_float"),
    "GtkDataboxMarkersType":("type(c_ptr)","c_ptr"),
    "GtkDataboxMarkersPosition":("type(c_ptr)","c_ptr"),
    "GtkDataboxMarkersTextPosition":("type(c_ptr)","c_ptr"),
    "GtkOrientation":("type(c_ptr)","c_ptr")

Unfortunately, some errors remain which are not resolvable by adding further types:

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_markers.h
Unknown data type:    typedef struct _GtkDataboxMarkers GtkDataboxMarkers
  typedef struct _GtkDataboxMarkers GtkDataboxMarkers;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_markers.h
Function name not found
  typedef struct _GtkDataboxMarkers GtkDataboxMarkers;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_markers.h
Unknown data type:    typedef struct _GtkDataboxMarkersClass GtkDataboxMarkersClass
 typedef struct _GtkDataboxMarkersClass GtkDataboxMarkersClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_markers.h
Function name not found
 typedef struct _GtkDataboxMarkersClass GtkDataboxMarkersClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_markers.h
Unknown data type:    typedef struct _GtkDataboxMarkersPrivate GtkDataboxMarkersPrivate
  typedef struct _GtkDataboxMarkersPrivate GtkDataboxMarkersPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_markers.h
Function name not found
  typedef struct _GtkDataboxMarkersPrivate GtkDataboxMarkersPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_markers.h
Unknown data type:    typedef enum   struct _GtkDataboxMarkersClass   GType gtk_databox_markers_get_type 
  typedef enum   struct _GtkDataboxMarkersClass   GType gtk_databox_markers_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_bars.h
Unknown data type:    typedef struct _GtkDataboxBars GtkDataboxBars
  typedef struct _GtkDataboxBars GtkDataboxBars;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_bars.h
Function name not found
  typedef struct _GtkDataboxBars GtkDataboxBars;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_bars.h
Unknown data type:    typedef struct _GtkDataboxBarsClass GtkDataboxBarsClass
 typedef struct _GtkDataboxBarsClass GtkDataboxBarsClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_bars.h
Function name not found
 typedef struct _GtkDataboxBarsClass GtkDataboxBarsClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_bars.h
Unknown data type:    typedef struct _GtkDataboxBarsPrivate GtkDataboxBarsPrivate
  typedef struct _GtkDataboxBarsPrivate GtkDataboxBarsPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_bars.h
Function name not found
  typedef struct _GtkDataboxBarsPrivate GtkDataboxBarsPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_bars.h
Unknown data type:    struct _GtkDataboxBars   struct _GtkDataboxBarsClass   GType gtk_databox_bars_get_type 
 struct _GtkDataboxBars   struct _GtkDataboxBarsClass   GType gtk_databox_bars_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_ruler.h
Unknown data type:    typedef struct _GtkDataboxRulerPrivate GtkDataboxRulerPrivate
  typedef struct _GtkDataboxRulerPrivate GtkDataboxRulerPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_ruler.h
Function name not found
  typedef struct _GtkDataboxRulerPrivate GtkDataboxRulerPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_points.h
Unknown data type:    typedef struct _GtkDataboxPoints GtkDataboxPoints
  typedef struct _GtkDataboxPoints GtkDataboxPoints;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_points.h
Function name not found
  typedef struct _GtkDataboxPoints GtkDataboxPoints;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_points.h
Unknown data type:    typedef struct _GtkDataboxPointsClass GtkDataboxPointsClass
 typedef struct _GtkDataboxPointsClass GtkDataboxPointsClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_points.h
Function name not found
 typedef struct _GtkDataboxPointsClass GtkDataboxPointsClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_points.h
Unknown data type:    typedef struct _GtkDataboxPointsPrivate GtkDataboxPointsPrivate
  typedef struct _GtkDataboxPointsPrivate GtkDataboxPointsPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_points.h
Function name not found
  typedef struct _GtkDataboxPointsPrivate GtkDataboxPointsPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_points.h
Unknown data type:    struct _GtkDataboxPoints   struct _GtkDataboxPointsClass   GType gtk_databox_points_get_type 
 struct _GtkDataboxPoints   struct _GtkDataboxPointsClass   GType gtk_databox_points_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_graph.h
Unknown data type:    typedef struct _GtkDataboxGraphClass GtkDataboxGraphClass
  typedef struct _GtkDataboxGraphClass GtkDataboxGraphClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_graph.h
Function name not found
  typedef struct _GtkDataboxGraphClass GtkDataboxGraphClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_graph.h
Unknown data type:    typedef struct _GtkDataboxGraphPrivate GtkDataboxGraphPrivate
  typedef struct _GtkDataboxGraphPrivate GtkDataboxGraphPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_graph.h
Function name not found
  typedef struct _GtkDataboxGraphPrivate GtkDataboxGraphPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_graph.h
Unknown data type:    struct _GtkDataboxGraph   struct _GtkDataboxGraphClass   GType gtk_databox_graph_get_type 
  struct _GtkDataboxGraph   struct _GtkDataboxGraphClass   GType gtk_databox_graph_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_marshal.h
No function to implement in this file


/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_grid.h
Unknown data type:    typedef struct _GtkDataboxGrid GtkDataboxGrid
  typedef struct _GtkDataboxGrid GtkDataboxGrid;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_grid.h
Function name not found
  typedef struct _GtkDataboxGrid GtkDataboxGrid;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_grid.h
Unknown data type:    typedef struct _GtkDataboxGridClass GtkDataboxGridClass
 typedef struct _GtkDataboxGridClass GtkDataboxGridClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_grid.h
Function name not found
 typedef struct _GtkDataboxGridClass GtkDataboxGridClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_grid.h
Unknown data type:    typedef struct _GtkDataboxGridPrivate GtkDataboxGridPrivate
  typedef struct _GtkDataboxGridPrivate GtkDataboxGridPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_grid.h
Function name not found
  typedef struct _GtkDataboxGridPrivate GtkDataboxGridPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_grid.h
Unknown data type:    struct _GtkDataboxGrid   struct _GtkDataboxGridClass   GType gtk_databox_grid_get_type 
 struct _GtkDataboxGrid   struct _GtkDataboxGridClass   GType gtk_databox_grid_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_xyc_graph.h
Unknown data type:    typedef struct _GtkDataboxXYCGraph GtkDataboxXYCGraph
  typedef struct _GtkDataboxXYCGraph GtkDataboxXYCGraph;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_xyc_graph.h
Function name not found
  typedef struct _GtkDataboxXYCGraph GtkDataboxXYCGraph;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_xyc_graph.h
Unknown data type:    typedef struct _GtkDataboxXYCGraphClass GtkDataboxXYCGraphClass
 typedef struct _GtkDataboxXYCGraphClass GtkDataboxXYCGraphClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_xyc_graph.h
Function name not found
 typedef struct _GtkDataboxXYCGraphClass GtkDataboxXYCGraphClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_xyc_graph.h
Unknown data type:    typedef struct _GtkDataboxXYCGraphPrivate GtkDataboxXYCGraphPrivate
  typedef struct _GtkDataboxXYCGraphPrivate GtkDataboxXYCGraphPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_xyc_graph.h
Function name not found
  typedef struct _GtkDataboxXYCGraphPrivate GtkDataboxXYCGraphPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_xyc_graph.h
Unknown data type:    struct _GtkDataboxXYCGraph   struct _GtkDataboxXYCGraphClass   GType gtk_databox_xyc_graph_get_type 
 struct _GtkDataboxXYCGraph   struct _GtkDataboxXYCGraphClass   GType gtk_databox_xyc_graph_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_cross_simple.h
Unknown data type:    typedef struct _GtkDataboxCrossSimple GtkDataboxCrossSimple
  typedef struct _GtkDataboxCrossSimple GtkDataboxCrossSimple;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_cross_simple.h
Function name not found
  typedef struct _GtkDataboxCrossSimple GtkDataboxCrossSimple;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_cross_simple.h
Unknown data type:    typedef struct _GtkDataboxCrossSimpleClass GtkDataboxCrossSimpleClass
 typedef struct _GtkDataboxCrossSimpleClass GtkDataboxCrossSimpleClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_cross_simple.h
Function name not found
 typedef struct _GtkDataboxCrossSimpleClass GtkDataboxCrossSimpleClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_cross_simple.h
Unknown data type:    typedef struct _GtkDataboxCrossSimplePrivate GtkDataboxCrossSimplePrivate
  typedef struct _GtkDataboxCrossSimplePrivate GtkDataboxCrossSimplePrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_cross_simple.h
Function name not found
  typedef struct _GtkDataboxCrossSimplePrivate GtkDataboxCrossSimplePrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_cross_simple.h
Unknown data type:    struct _GtkDataboxCrossSimple   struct _GtkDataboxCrossSimpleClass   GType gtk_databox_cross_simple_get_type 
 struct _GtkDataboxCrossSimple   struct _GtkDataboxCrossSimpleClass   GType gtk_databox_cross_simple_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_lines.h
Unknown data type:    typedef struct _GtkDataboxLines GtkDataboxLines
  typedef struct _GtkDataboxLines GtkDataboxLines;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_lines.h
Function name not found
  typedef struct _GtkDataboxLines GtkDataboxLines;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_lines.h
Unknown data type:    typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass
 typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_lines.h
Function name not found
 typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_lines.h
Unknown data type:    typedef struct _GtkDataboxLinesPrivate GtkDataboxLinesPrivate
  typedef struct _GtkDataboxLinesPrivate GtkDataboxLinesPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_lines.h
Function name not found
  typedef struct _GtkDataboxLinesPrivate GtkDataboxLinesPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_lines.h
Unknown data type:    struct _GtkDataboxLines   struct _GtkDataboxLinesClass   GType gtk_databox_lines_get_type 
 struct _GtkDataboxLines   struct _GtkDataboxLinesClass   GType gtk_databox_lines_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox.h
Unknown data type:    typedef struct _GtkDataboxClass GtkDataboxClass
  typedef struct _GtkDataboxClass GtkDataboxClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox.h
Function name not found
  typedef struct _GtkDataboxClass GtkDataboxClass;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox.h
Unknown data type:    typedef struct _GtkDataboxPrivate GtkDataboxPrivate
  typedef struct _GtkDataboxPrivate GtkDataboxPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox.h
Function name not found
  typedef struct _GtkDataboxPrivate GtkDataboxPrivate;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox.h
Unknown data type:    typedef struct    struct _GtkDatabox   struct _GtkDataboxClass   GType gtk_databox_get_type 
 typedef struct    struct _GtkDatabox   struct _GtkDataboxClass   GType gtk_databox_get_type (void);

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_typedefs.h
Unknown data type:    typedef struct _GtkDatabox GtkDatabox
   typedef struct _GtkDatabox GtkDatabox;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_typedefs.h
Function name not found
   typedef struct _GtkDatabox GtkDatabox;

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_typedefs.h
Unknown data type:     
 

/home/bonanza/Dokumente/gtk-fortran/gtkdatabox/header/gtkdatabox_typedefs.h
Function name not found

However, 74 interfaces are generated now. First trials to get some working example result in memory access violations, but hopefully this will be fixed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.