1 /* |
1 /* |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
3 * |
3 * |
4 * Copyright 2013 Olaf Wintermann. All rights reserved. |
4 * Copyright 2017 Olaf Wintermann. All rights reserved. |
5 * |
5 * |
6 * Redistribution and use in source and binary forms, with or without |
6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are met: |
7 * modification, are permitted provided that the following conditions are met: |
8 * |
8 * |
9 * 1. Redistributions of source code must retain the above copyright |
9 * 1. Redistributions of source code must retain the above copyright |
57 void ui_list_init(); |
57 void ui_list_init(); |
58 |
58 |
59 /* |
59 /* |
60 * Creates a UiListModel for a given UiList |
60 * Creates a UiListModel for a given UiList |
61 */ |
61 */ |
62 UiListModel* ui_list_model_new(UiListPtr *list, UiModelInfo *info); |
62 UiListModel* ui_list_model_new(UiVar *var, UiModelInfo *info); |
63 |
63 |
64 |
64 |
65 // interface functions |
65 // interface functions |
66 |
66 |
67 GtkTreeModelFlags ui_list_model_get_flags(GtkTreeModel *tree_model); |
67 GtkTreeModelFlags ui_list_model_get_flags(GtkTreeModel *tree_model); |