Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
channel_slot_activate_button.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2023 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __GUI_WIDGETS_CHANNEL_SLOT_ACTIVATE_BUTTON_H__
11#define __GUI_WIDGETS_CHANNEL_SLOT_ACTIVATE_BUTTON_H__
12
13#include <gtk/gtk.h>
14
15#define CHANNEL_SLOT_ACTIVATE_BUTTON_WIDGET_TYPE \
16 (channel_slot_activate_button_widget_get_type ())
17G_DECLARE_FINAL_TYPE (
19 channel_slot_activate_button_widget,
20 Z,
21 CHANNEL_SLOT_ACTIVATE_BUTTON_WIDGET,
22 GtkToggleButton)
23
24TYPEDEF_STRUCT_UNDERSCORED (ChannelSlotWidget);
25
32typedef struct _ChannelSlotActivateButtonWidget
33{
34 GtkToggleButton parent_instance;
35
36 ChannelSlotWidget * owner;
37
38 gulong toggled_id;
40
46
51#endif
ChannelSlotActivateButtonWidget * channel_slot_activate_button_widget_new(ChannelSlotWidget *owner)
Creates a new ChannelSlotActivateButton widget.