gui/widgets/selection_info.h file

Widget for showing info about the current selection.

Contents

Functions

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 TimelineArrangerWidget and in the and PianoRoll.
void selection_info_widget_add_info(SelectionInfoWidget* self, GtkWidget* label, GtkWidget* widget)
Adds a piece of info to the grid.
void selection_info_widget_clear(SelectionInfoWidget* self)
Destroys all children.
auto selection_info_widget_get_private(SelectionInfoWidget* self) -> SelectionInfoWidgetPrivate*
Returns the private.

Function documentation

void selection_info_widget_add_info(SelectionInfoWidget* self, GtkWidget* label, GtkWidget* widget)

Adds a piece of info to the grid.

Parameters
self
label The label widget to place on top.
widget The Widget to place on the bot that will reflect the information.

Usually this will be GtkLabel.