mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
libsysprof-gtk: add vfunc to get a model item at x,y
This commit is contained in:
@ -35,10 +35,13 @@ struct _SysprofChartLayerClass
|
||||
{
|
||||
GtkWidgetClass parent_class;
|
||||
|
||||
void (*snapshot_motion) (SysprofChartLayer *self,
|
||||
GtkSnapshot *snapshot,
|
||||
double x,
|
||||
double y);
|
||||
gpointer (*lookup_item) (SysprofChartLayer *self,
|
||||
double x,
|
||||
double y);
|
||||
void (*snapshot_motion) (SysprofChartLayer *self,
|
||||
GtkSnapshot *snapshot,
|
||||
double x,
|
||||
double y);
|
||||
|
||||
/*< private >*/
|
||||
gpointer _reserved[16];
|
||||
@ -50,6 +53,10 @@ SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_chart_layer_set_title (SysprofChartLayer *self,
|
||||
const char *title);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gpointer sysprof_chart_layer_lookup_item (SysprofChartLayer *self,
|
||||
double x,
|
||||
double y);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_chart_layer_snapshot_motion (SysprofChartLayer *self,
|
||||
GtkSnapshot *snapshot,
|
||||
double x,
|
||||
|
||||
Reference in New Issue
Block a user