Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XSetClassHint(3X11)

XSetIconName(3X11)

XSetIconSizeHints(3X11)

XSetNormalHints(3X11)

XSetSizeHints(3X11)

XSetStandardProperties(3X11)

XSetTransientForHint(3X11)

XSetWMHints(3X11)

XSetZoomHints(3X11)

XStoreName(3X11)

XSetCommand(3X11)

Name

XSetCommand − set command atom

Syntax

XSetCommand(display, w, argv, argc)
      Display *display;
      Window w;
      char **argv;
      int argc;

Arguments

argcSpecifies the number of arguments. 

argvSpecifies the application’s argument list. 

displaySpecifies the connection to the X server. 

wSpecifies the window. 

Description

The XSetCommand function sets the command and arguments used to invoke the application. (Typically, argv is the argv array of your main program.)

XSetCommand can generate BadAlloc and BadWindow errors.

Property

WM_COMMAND

Diagnostics

BadAlloc The server failed to allocate the requested resource or server memory. 

BadWindow
A value for a Window argument does not name a defined Window.

See Also

XSetClassHint(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStandardProperties(3X11), XSetTransientForHint(3X11), XSetWMHints(3X11), XSetZoomHints(3X11), XStoreName(3X11)
Guide to the Xlib Library

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026