GwyGraphLabel

GwyGraphLabel — Graph label

Synopsis




            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);

Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GwyGraphLabel

Implemented Interfaces

GwyGraphLabel implements AtkImplementorIface.

Description

This widget should be probabaly used only within the GwyGraph widget. It plots a curves legend.

Details

GwyGraphLabel

typedef struct _GwyGraphLabel GwyGraphLabel;


GwyGraphLabelClass

typedef struct {
    GtkWidgetClass parent_class;

    void (*selected)(GwyGraphLabel *label);
    
    gpointer reserved1;
    gpointer reserved2;
} GwyGraphLabelClass;


gwy_graph_label_new ()

GtkWidget*  gwy_graph_label_new             ();

creates new graph label.

Returns : new graph label

gwy_graph_label_refresh ()

void        gwy_graph_label_refresh         (GwyGraphLabel *label);

label :

gwy_graph_label_change_model ()

void        gwy_graph_label_change_model    (GwyGraphLabel *label,
                                             gpointer gmodel);

label :
gmodel :

gwy_graph_label_draw_label_on_drawable ()

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 :

gwy_graph_label_export_vector ()

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 :

gwy_graph_label_enable_user_input ()

void        gwy_graph_label_enable_user_input
                                            (GwyGraphLabel *label,
                                             gboolean enable);

label :
enable :