| 1 | // SPDX-FileCopyrightText: 2022-2025 Geoffrey D. Bennett <[email protected]> |
| 2 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "alsa.h" |
| 7 | |
| 8 | // Key for storing page ID on notebook pages (shared by config-*.c) |
| 9 | #define PAGE_ID_KEY "page-id" |
| 10 | |
| 11 | // Wrap tab content in a scrolled window (shared by config-*.c) |
| 12 | GtkWidget *wrap_tab_content_scrolled(GtkWidget *content); |
| 13 | |
| 14 | // Setup notebook tab persistence (shared by config-*.c) |
| 15 | void setup_notebook_tab_persistence( |
| 16 | GtkNotebook *notebook, |
| 17 | struct alsa_card *card, |
| 18 | const char *key |
| 19 | ); |
| 20 | |
| 21 | GtkWidget *create_configuration_controls(struct alsa_card *card); |