pcb 4.1.1
An interactive printed circuit board layout editor.

ghid-route-style-selector.h

Go to the documentation of this file.
00001 #ifndef GHID_ROUTE_STYLE_SELECTOR_H__
00002 #define GHID_ROUTE_STYLE_SELECTOR_H__
00003 
00004 #include <glib.h>
00005 #include <glib-object.h>
00006 #include <gtk/gtk.h>
00007 
00008 #include "global.h"
00009 
00010 G_BEGIN_DECLS  /* keep c++ happy */
00011 
00012 #define GHID_ROUTE_STYLE_SELECTOR_TYPE            (ghid_route_style_selector_get_type ())
00013 #define GHID_ROUTE_STYLE_SELECTOR(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GHID_ROUTE_STYLE_SELECTOR_TYPE, GHidRouteStyleSelector))
00014 #define GHID_ROUTE_STYLE_SELECTOR_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GHID_ROUTE_STYLE_SELECTOR_TYPE, GHidRouteStyleSelectorClass))
00015 #define IS_GHID_ROUTE_STYLE_SELECTOR(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GHID_ROUTE_STYLE_SELECTOR_TYPE))
00016 #define IS_GHID_ROUTE_STYLE_SELECTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GHID_ROUTE_STYLE_SELECTOR_TYPE))
00017 
00018 typedef struct _GHidRouteStyleSelector       GHidRouteStyleSelector;
00019 typedef struct _GHidRouteStyleSelectorClass  GHidRouteStyleSelectorClass;
00020 
00021 GType ghid_route_style_selector_get_type (void);
00022 GtkWidget* ghid_route_style_selector_new (void);
00023 
00024 gint ghid_route_style_selector_install_items (GHidRouteStyleSelector *rss,
00025                                               GtkMenuShell *shell, gint pos);
00026 
00027 void ghid_route_style_selector_add_route_style (GHidRouteStyleSelector *rss,
00028                                                 RouteStyleType *data);
00029 gboolean ghid_route_style_selector_select_style (GHidRouteStyleSelector *rss,
00030                                                   RouteStyleType *rst);
00031 void ghid_route_style_selector_edit_dialog (GHidRouteStyleSelector *rss);
00032 
00033 GtkAccelGroup *ghid_route_style_selector_get_accel_group
00034                  (GHidRouteStyleSelector *rss);
00035 
00036 void ghid_route_style_selector_sync (GHidRouteStyleSelector *rss,
00037                                      Coord Thick, Coord Hole,
00038                                      Coord Diameter, Coord Keepaway);
00039 void ghid_route_style_selector_empty (GHidRouteStyleSelector *rss);
00040 
00041 G_END_DECLS  /* keep c++ happy */
00042 #endif