/* Bpath item type for GnomeCanvas widget * * GnomeCanvas is basically a port of the Tk toolkit's most excellent canvas widget. Tk is * copyrighted by the Regents of the University of California, Sun Microsystems, and other parties. * * Copyright (C) 1998,1999 The Free Software Foundation * * Authors: Federico Mena * Raph Levien * Lauris Kaplinski * Rusty Conover */ #ifndef GNOME_CANVAS_BPATH_H #define GNOME_CANVAS_BPATH_H #include #include #include G_BEGIN_DECLS /* Bpath item for the canvas. * * The following object arguments are available: * * name type read/write description * ------------------------------------------------------------------------------------------ * bpath GnomeCanvasPathDef * RW Pointer to an GnomeCanvasPathDef structure. * This can be created by a call to * gp_path_new() in (gp-path.h). */ #define GNOME_TYPE_CANVAS_BPATH (gnome_canvas_bpath_get_type ()) #define GNOME_CANVAS_BPATH(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CANVAS_BPATH, GnomeCanvasBpath)) #define GNOME_CANVAS_BPATH_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_BPATH, GnomeCanvasBpathClass)) #define GNOME_IS_CANVAS_BPATH(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_BPATH)) #define GNOME_IS_CANVAS_BPATH_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_BPATH)) typedef struct _GnomeCanvasBpath GnomeCanvasBpath; typedef struct _GnomeCanvasBpathPriv GnomeCanvasBpathPriv; typedef struct _GnomeCanvasBpathClass GnomeCanvasBpathClass; struct _GnomeCanvasBpath { GnomeCanvasShape item; }; struct _GnomeCanvasBpathClass { GnomeCanvasShapeClass parent_class; }; /* Standard Gtk function */ GType gnome_canvas_bpath_get_type (void) G_GNUC_CONST; G_END_DECLS #endif