Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
cc-list-row-info-button.h
1// SPDX-FileCopyrightText: © 2024 Miró Allard <miro.allard@pm.me>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
5
6/*
7 * This file incorporates work covered by the following copyright and
8 * permission notice:
9 *
10 * ---
11 *
12 * cc-list-row-info-button.h
13 *
14 * Copyright 2023 Red Hat Inc
15 *
16 * This program is free software: you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation, either version 3 of the License, or
19 * (at your option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program. If not, see <http://www.gnu.org/licenses/>.
28 *
29 * Author(s):
30 * Felipe Borges <felipeborges@gnome.org>
31 *
32 *
33 * SPDX-License-Identifier: GPL-3.0-or-later
34 */
35
36#pragma once
37
38#include <gtk/gtk.h>
39
40G_BEGIN_DECLS
41
42#define CC_TYPE_LIST_ROW_INFO_BUTTON (cc_list_row_info_button_get_type ())
43G_DECLARE_FINAL_TYPE (
44 CcListRowInfoButton,
45 cc_list_row_info_button,
46 CC,
47 LIST_ROW_INFO_BUTTON,
48 GtkWidget)
49
50void
51cc_list_row_info_button_set_text (CcListRowInfoButton * self, const gchar * text);
52
53void
54cc_list_row_info_button_set_text_callback (
55 CcListRowInfoButton * self,
56 GCallback callback);
57
58G_END_DECLS