libui-ng
A portable GUI library for C
|
Types and methods for organizing and displaying tabular data. More...
Classes | |
struct | uiTableValue |
Container to store values used in container related methods. More... | |
struct | uiTableModel |
Table model delegate to retrieve data and inform about model changes. More... | |
struct | uiTableModelHandler |
Developer defined methods for data retrieval and setting. More... | |
struct | uiTableTextColumnOptionalParams |
Optional parameters to control the appearance of text columns. More... | |
struct | uiTableParams |
Table parameters passed to uiNewTable(). More... | |
struct | uiTable |
A control to display data in a tabular fashion. More... | |
struct | uiTableSelection |
Holds an array of selected row indices for a table. More... | |
Enumerations | |
enum | uiSortIndicator { uiSortIndicatorNone , uiSortIndicatorAscending , uiSortIndicatorDescending } |
Sort indicators. More... | |
enum | uiTableSelectionMode { uiTableSelectionModeNone , uiTableSelectionModeZeroOrOne , uiTableSelectionModeOne , uiTableSelectionModeZeroOrMany } |
Table selection modes. More... | |
Types and methods for organizing and displaying tabular data.
Tables follow the concept of separation of concerns, similar to common patterns like model-view-controller or model-view-adapter.
They consist of three main components:
To get started:
You can create multiple differing views (uiTable) using the same uiTableModel.
enum uiSortIndicator |
enum uiTableSelectionMode |
Table selection modes.
Table selection that enforce how a user can interact with a table.