Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
string_list_item_factory.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2023 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __GUI_WIDGETS_STRING_LIST_ITEM_FACTORY_H__
11#define __GUI_WIDGETS_STRING_LIST_ITEM_FACTORY_H__
12
13#include <string>
14
15#include "gui/backend/gtk_widgets/gtk_wrapper.h"
16
22
23typedef std::string (*StringListItemFactoryEnumStringGetter) (int val);
24
31GtkListItemFactory *
32string_list_item_factory_new (StringListItemFactoryEnumStringGetter getter);
33
37
38#endif
GtkListItemFactory * string_list_item_factory_new(StringListItemFactoryEnumStringGetter getter)
Returns a simple item factory that puts each string in a GtkLabel.