mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
- added WMGetLabelText()
- added WMReparentWidget() - added WMCreateTabViewItem() - added W_CreateUnmanagedTopView() - fixed deletion from tree bag
This commit is contained in:
@@ -724,6 +724,22 @@ WMCreateTabViewItemWithIdentifier(int identifier)
|
||||
}
|
||||
|
||||
|
||||
WMTabViewItem*
|
||||
WMCreateTabViewItem(int identifier, char *label)
|
||||
{
|
||||
WMTabViewItem *item;
|
||||
|
||||
item = wmalloc(sizeof(WMTabViewItem));
|
||||
memset(item, 0, sizeof(WMTabViewItem));
|
||||
|
||||
item->identifier = identifier;
|
||||
WMSetTabViewItemLabel(item, label);
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int
|
||||
WMGetTabViewItemIdentifier(WMTabViewItem *item)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user