![]() | ![]() | ![]() | Gwyddion Widgets Library Reference Manual | ![]() |
---|
GwyGraphLabelGwyGraphLabel — Graph label |
GwyGraphLabel; GwyGraphLabelClass; GtkWidget* gwy_graph_label_new (); void gwy_graph_label_refresh (GwyGraphLabel *label); void gwy_graph_label_change_model (GwyGraphLabel *label, gpointer gmodel); void gwy_graph_label_draw_label_on_drawable (GdkDrawable *drawable, GdkGC *gc, PangoLayout *layout, gint x, gint y, gint width, gint height, GwyGraphLabel *label); GString* gwy_graph_label_export_vector (GwyGraphLabel *label, gint x, gint y, gint width, gint height, gint fontsize); void gwy_graph_label_enable_user_input (GwyGraphLabel *label, gboolean enable);
This widget should be probabaly used only within the GwyGraph widget. It plots a curves legend.
typedef struct { GtkWidgetClass parent_class; void (*selected)(GwyGraphLabel *label); gpointer reserved1; gpointer reserved2; } GwyGraphLabelClass;
GtkWidget* gwy_graph_label_new ();
creates new graph label.
Returns : | new graph label |
void gwy_graph_label_change_model (GwyGraphLabel *label, gpointer gmodel);
label : | |
gmodel : |
void gwy_graph_label_draw_label_on_drawable (GdkDrawable *drawable, GdkGC *gc, PangoLayout *layout, gint x, gint y, gint width, gint height, GwyGraphLabel *label);
drawable : | |
gc : | |
layout : | |
x : | |
y : | |
width : | |
height : | |
label : |
GString* gwy_graph_label_export_vector (GwyGraphLabel *label, gint x, gint y, gint width, gint height, gint fontsize);
label : | |
x : | |
y : | |
width : | |
height : | |
fontsize : | |
Returns : |
void gwy_graph_label_enable_user_input (GwyGraphLabel *label, gboolean enable);
label : | |
enable : |
<< GwyAxisDialog | GwyGraphData >> |