Zrythm
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
10#ifndef __GUI_WIDGETS_STRING_LIST_ITEM_FACTORY_H__
11#define __GUI_WIDGETS_STRING_LIST_ITEM_FACTORY_H__
12
13#include <gtk/gtk.h>
14
21typedef const char * (*StringListItemFactoryEnumStringGetter) (int val);
22
29GtkListItemFactory *
30string_list_item_factory_new (StringListItemFactoryEnumStringGetter getter);
31
36#endif
GtkListItemFactory * string_list_item_factory_new(StringListItemFactoryEnumStringGetter getter)
Returns a simple item factory that puts each string in a GtkLabel.