/usr/include/goocanvas-2.0/goocanvaswidget.h is in libgoocanvas-2.0-dev 2.0.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /*
* GooCanvas. Copyright (C) 2005-6 Damon Chaplin.
* Released under the GNU LGPL license. See COPYING for details.
*
* goocanvaswidget.h - wrapper item for an embedded GtkWidget.
*/
#ifndef __GOO_CANVAS_WIDGET_H__
#define __GOO_CANVAS_WIDGET_H__
#include <gtk/gtk.h>
#include "goocanvasitemsimple.h"
G_BEGIN_DECLS
#define GOO_TYPE_CANVAS_WIDGET (goo_canvas_widget_get_type ())
#define GOO_CANVAS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOO_TYPE_CANVAS_WIDGET, GooCanvasWidget))
#define GOO_CANVAS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GOO_TYPE_CANVAS_WIDGET, GooCanvasWidgetClass))
#define GOO_IS_CANVAS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOO_TYPE_CANVAS_WIDGET))
#define GOO_IS_CANVAS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GOO_TYPE_CANVAS_WIDGET))
#define GOO_CANVAS_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOO_TYPE_CANVAS_WIDGET, GooCanvasWidgetClass))
typedef struct _GooCanvasWidget GooCanvasWidget;
typedef struct _GooCanvasWidgetClass GooCanvasWidgetClass;
/**
* GooCanvasWidget:
*
* The #GooCanvasWidget-struct struct contains private data only.
*/
struct _GooCanvasWidget
{
GooCanvasItemSimple parent_object;
GtkWidget *widget;
gdouble x, y, width, height;
GooCanvasAnchorType anchor;
};
struct _GooCanvasWidgetClass
{
GooCanvasItemSimpleClass parent_class;
/*< private >*/
/* Padding for future expansion */
void (*_goo_canvas_reserved1) (void);
void (*_goo_canvas_reserved2) (void);
void (*_goo_canvas_reserved3) (void);
void (*_goo_canvas_reserved4) (void);
};
GType goo_canvas_widget_get_type (void) G_GNUC_CONST;
GooCanvasItem* goo_canvas_widget_new (GooCanvasItem *parent,
GtkWidget *widget,
gdouble x,
gdouble y,
gdouble width,
gdouble height,
...);
G_END_DECLS
#endif /* __GOO_CANVAS_WIDGET_H__ */
|