XmTabListGetTab(3) | Library Functions Manual | XmTabListGetTab(3) |
XmTabListGetTab — A convenience function that returns a copy of a tab "XmTabListGetTab"
#include <Xm/Xm.h> XmTab XmTabListGetTab( XmTabList tablist, Cardinal position);
XmTabListGetTab returns a copy of the tab that is located at the specified position in the tab list.
Returns a copy of the tab that is located at the specified position in the tab list. If position is greater than or equal to the number of tabs in the tab list, this function returns NULL. The application is responsible for managing the space allocted by the returned tab copy. The application can recover this allocated space by calling XmTabFree.
XmTabFree(3) and XmTabList(3).