14#ifndef __GUI_WIDGETS_SELECTION_INFO_H__
15#define __GUI_WIDGETS_SELECTION_INFO_H__
19#include "gtk_wrapper.h"
21#define SELECTION_INFO_WIDGET_TYPE (selection_info_widget_get_type ())
24 selection_info_widget,
26 SELECTION_INFO_WIDGET,
29#define SELECTION_INFO_WIDGET_GET_PRIVATE(self) \
30 SelectionInfoWidgetPrivate * sel_inf_prv = \
31 selection_info_widget_get_private (Z_SELECTION_INFO_WIDGET (self));
39typedef struct _SelectionInfoWidgetPrivate
41 GtkWidget * labels[14];
42 GtkWidget * widgets[14];
44} SelectionInfoWidgetPrivate;
46typedef struct _SelectionInfoWidgetClass
48 GtkGridClass parent_class;
51#define selection_info_widget_add_info_with_text(_self, _txt, _widget) \
52 GtkWidget * _lbl = gtk_label_new (_txt); \
53 gtk_widget_set_visible (_lbl, 1); \
54 selection_info_widget_add_info (_self, _lbl, GTK_WIDGET (_widget));
67 SelectionInfoWidget * self,
80SelectionInfoWidgetPrivate *
SelectionInfoWidgetPrivate * selection_info_widget_get_private(SelectionInfoWidget *self)
Returns the private.
G_DECLARE_DERIVABLE_TYPE(SelectionInfoWidget, selection_info_widget, Z, SELECTION_INFO_WIDGET, GtkGrid) typedef struct _SelectionInfoWidgetPrivate
A widget to display info about the current arranger selection, to be used in the TimelineArrangerWidg...
void selection_info_widget_clear(SelectionInfoWidget *self)
Destroys all children.
void selection_info_widget_add_info(SelectionInfoWidget *self, GtkWidget *label, GtkWidget *widget)
Adds a piece of info to the grid.