gnm-graph-window.h 802 Bytes
Newer Older
1 2 3
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _GNM_GRAPH_WINDOW_H_
# define _GNM_GRAPH_WINDOW_H_
4

5
#include <goffice/goffice.h>
6

7 8
G_BEGIN_DECLS

9 10
#define GNM_TYPE_GRAPH_WINDOW             (gnm_graph_window_get_type ())
#define GNM_GRAPH_WINDOW(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNM_TYPE_GRAPH_WINDOW, GnmGraphWindow))
Morten Welinder's avatar
Morten Welinder committed
11
#define GNM_IS_GRAPH_WINDOW(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNM_TYPE_GRAPH_WINDOW))
12 13 14 15 16 17 18 19 20 21

typedef struct _GnmGraphWindow      GnmGraphWindow;
typedef struct _GnmGraphWindowClass GnmGraphWindowClass;

GType      gnm_graph_window_get_type (void);

GtkWidget *gnm_graph_window_new (GogGraph *graph,
				 double    graph_width,
				 double    graph_height);

22 23 24
G_END_DECLS

#endif /* _GNM_GRAPH_WINDOW_H_ */