Files
lotherkandClaude Sonnet 5.5 d53ea094e7 licence: CNCL for what Makronix wrote itself
LICENSE at the root; the 103 files new in ext/src/mcde (none was in the CDE
import) carry the CNCL line instead of the LGPL notice.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 11:48:02 +00:00

30 lines
1.0 KiB
C

/*
* Tabs.h -- MCDE: tabs in a dtterm window (Tabs.c)
*
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _Dtterm_Tabs_h
#define _Dtterm_Tabs_h
#include <X11/Intrinsic.h>
/* the tab container of a dtterm shell, made at the first call */
extern Widget _McdeTabsContainer(Widget shell);
/* the page (a tab, or the tab being split) a new view of SHELL goes into */
extern Widget _McdeTabsPageFor(Widget shell);
/* the number of tabs in a container */
extern int _McdeTabsCount(Widget container);
/* a new view in the container: label, keys, selected */
extern void _McdeTabsAdopt(Widget view);
/*
* Close the tab VIEW. True if the window keeps other tabs (the tab is
* gone, the window stays); False if VIEW is the last tab or no tab at all --
* then the caller closes the window as before.
*/
extern Boolean _McdeTabsClose(Widget view);
/* how a new tab is made next to VIEW, with PROFILE (NULL: VIEW's) */
extern void _McdeTabsSetNewProc(void (*proc)(Widget view, const char *profile));
#endif /* _Dtterm_Tabs_h */