gui/widgets/item_factory.h file

Item factory.

Contents

Classes

struct ItemFactory
Item factory for column views.

Enums

enum ItemFactoryType { ITEM_FACTORY_TOGGLE, ITEM_FACTORY_TEXT, ITEM_FACTORY_ICON_AND_TEXT }

Typedefs

using ItemFactory = struct ItemFactory
Item factory for column views.

Functions

auto item_factory_new(ItemFactoryType type, bool editable, const char* column_name) -> ItemFactory*
Creates a new item factory.
void item_factory_generate_and_append_column(GtkColumnView* column_view, GPtrArray* item_factories, ItemFactoryType type, bool editable, const char* column_name)
Shorthand to generate and append a column to a column view.