add MwTreeViewSetOpened

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@779 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-22 15:25:18 +00:00
parent e1b2f40ac8
commit 7d81e59c7d
3 changed files with 28 additions and 3 deletions

View File

@@ -81,6 +81,16 @@ MwInline void MwTreeViewSetPixmap(MwWidget handle, void* item, MwLLPixmap pixmap
MwVaWidgetExecute(handle, "mwTreeViewSetPixmap", NULL, item, pixmap);
}
/*!
* @brief Sets the opened state of ithe item
* @param handle Widget
* @param item Item
* @param opened Opened or not
*/
MwInline void MwTreeViewSetOpened(MwWidget handle, void* item, int opened) {
MwVaWidgetExecute(handle, "mwTreeViewSetOpened", NULL, item, opened);
}
#ifdef __cplusplus
}
#endif