---
name: "XtCreateApplicationShell"
section: "3"
platform: "linux"
package: "libxt"
version: "1.3.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XtCreateApplicationShell"
---

# XtCreateApplicationShell(3)

create top-level widget instance

## NAME

XtCreateApplicationShell - create top-level widget instance

## SYNTAX

\#include \<X11/Intrinsic.h\>

Widget XtCreateApplicationShell(const char \**name*, WidgetClass *widget\_class*, ArgList *args*, Cardinal *num\_args*);

## ARGUMENTS

- *name*

  Specifies the name of the shell.

- *args*

  Specifies the argument list to override any other resource specifications.

- *num\_args*

  Specifies the number of arguments in the argument list.

## DESCRIPTION

The procedure **XtCreateApplicationShell** calls **XtAppCreateShell** with the *application* NULL, the application class passed to **XtInitialize**, and the default application context created by **XtInitialize**. This routine has been replaced by **XtAppCreateShell**.

## SEE ALSO

[XtAppCreateShell(3)](/XtAppCreateShell/3.md)\
 *X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
