![]() |
![]() |
![]() |
GtkExtra Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <gtkextra.h> GtkPlotSegment; enum GtkPlotArrow; GtkWidget* gtk_plot_segment_new (void); void gtk_plot_segment_set_relative (GtkPlotSegment *segment, gboolean set); gboolean gtk_plot_segment_relative (GtkPlotSegment *segment); void gtk_plot_segment_set_arrow (GtkPlotSegment *segment, gint arrow_length, gint arrow_width, GtkPlotSymbolStyle arrow_style); void gtk_plot_segment_get_arrow (GtkPlotSegment *segment, gint *arrow_length, gint *arrow_width, GtkPlotSymbolStyle *arrow_style); void gtk_plot_segment_set_arrow_mask (GtkPlotSegment *segment, GtkPlotArrow mask); guint gtk_plot_segment_get_arrow_mask (GtkPlotSegment *segment); void gtk_plot_segment_center (GtkPlotSegment *segment, gboolean center); gboolean gtk_plot_segment_is_centered (GtkPlotSegment *segment);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkPlotData +----GtkPlotSegment
"arrow-mask" gint : Read / Write "centered" gboolean : Read / Write "length" gint : Read / Write "relative" gboolean : Read / Write "style" gint : Read / Write "width" gint : Read / Write
typedef struct _GtkPlotSegment GtkPlotSegment;
The GtkPlotSegment struct contains only private data. It should only be accessed through the functions described below.
typedef enum { GTK_PLOT_ARROW_NONE = 0, GTK_PLOT_ARROW_ORIGIN = 1 << 0, GTK_PLOT_ARROW_END = 1 << 1 } GtkPlotArrow;
void gtk_plot_segment_set_relative (GtkPlotSegment *segment, gboolean set);
|
a GtkPlotSegment widget. |
|
gboolean gtk_plot_segment_relative (GtkPlotSegment *segment);
|
a GtkPlotSegment widget. |
Returns : |
void gtk_plot_segment_set_arrow (GtkPlotSegment *segment, gint arrow_length, gint arrow_width, GtkPlotSymbolStyle arrow_style);
|
a GtkPlotSegment widget. |
|
|
|
|
|
void gtk_plot_segment_get_arrow (GtkPlotSegment *segment, gint *arrow_length, gint *arrow_width, GtkPlotSymbolStyle *arrow_style);
|
a GtkPlotSegment widget. |
|
|
|
|
|
void gtk_plot_segment_set_arrow_mask (GtkPlotSegment *segment, GtkPlotArrow mask);
|
a GtkPlotSegment widget. |
|
guint gtk_plot_segment_get_arrow_mask (GtkPlotSegment *segment);
|
a GtkPlotSegment widget. |
Returns : |
void gtk_plot_segment_center (GtkPlotSegment *segment, gboolean center);
|
a GtkPlotSegment widget. |
|
gboolean gtk_plot_segment_is_centered (GtkPlotSegment *segment);
|
a GtkPlotSegment widget. |
Returns : |