14 #ifndef GTKSTATSLABEL_H 15 #define GTKSTATSLABEL_H 32 int thread_index,
int collector_index,
bool use_fullname);
45 void set_mouse_within(
bool mouse_within);
46 static gboolean expose_event_callback(GtkWidget *widget,
47 GdkEventExpose *event, gpointer data);
48 static gboolean enter_notify_event_callback(GtkWidget *widget,
49 GdkEventCrossing *event,
51 static gboolean leave_notify_event_callback(GtkWidget *widget,
52 GdkEventCrossing *event,
54 static gboolean button_press_event_callback(GtkWidget *widget,
55 GdkEventButton *event,
79 static int _left_margin, _right_margin;
80 static int _top_margin, _bottom_margin;
int get_height() const
Returns the height of the label as we requested it.
bool get_highlight() const
Returns true if the visual highlight for this label is enabled.
int get_thread_index() const
Returns the thread index.
This is just an abstract base class to provide a common pointer type for the various kinds of graphs ...
void set_highlight(bool highlight)
Enables or disables the visual highlight for this label.
This class represents a connection to a PStatsClient and manages the data exchange with the client.
int get_collector_index() const
Returns the collector this label represents.
GtkWidget * get_widget() const
Returns the widget for this label.
A text label that will draw in color appropriate for a particular collector.