XTCREATEAPPLICATIONSHELL(3)

πŸ’– XtCreateApplicationShell β€” XT COMPATIBILITY FUNCTIONS πŸ’–

ok so bestie, welcome to the Xt corner of X land, where we make top-level widget instances and pretend everything is fine ✨ this one's a compatibility function, so buckle up, it's giving vintage πŸ‘‘


🌸 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);

like, that's the whole vibe. one function, four things you hand it, and it hands you back a Widget πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • name β€” the name of the shell, bestie. literally just what you're calling this thing 🏷️
  • args β€” the argument list that overrides any other resource specifications. it's the "actually, no, I said what I said" list πŸ“
  • num_args β€” how many arguments are in that argument list. count them, girl, it matters πŸ”’

πŸ’œ DESCRIPTION πŸ’œ

ok so here's the tea β˜• XtCreateApplicationShell calls XtAppCreateShell, and it does it with:

  • the application set to NULL,
  • the application class that got passed to XtInitialize, and
  • the default application context that XtInitialize created.

that's it, that's the whole function, no cap 🫢

lowkey important: this routine has been replaced by XtAppCreateShell. it's still here for compatibility, but it's the old way, bestie. the new main character is XtAppCreateShell, periodt πŸ’€

🌈 SEE ALSO 🌈

  • XtAppCreateShell(3)
  • X Toolkit Intrinsics - C Language Interface
  • Xlib - C Language X Interface

and that's a wrap, my love 🌸 this page is from X Version 11, libXt 1.3.1, and it's one of the XT COMPATIBILITY FUNCTIONS β€” so go forth, call XtAppCreateShell instead, and slay πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from