Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XGetClassHint(3X11) — NEWS-os 3.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XSetCommand(3X11)

XSetIconName(3X11)

XSetIconSizeHints(3X11)

XSetNormalHints(3X11)

XSetSizeHints(3X11)

XSetStandardProperties(3X11)

XSetTransientForHint(3X11)

XSetWMHints(3X11)

XSetZoomHints(3X11)

XStoreName(3X11)

XSetClassHint(3X11)  —  UNIX Programmer’s Manual

名称

XSetClassHint, XGetClassHint − クラスヒントを設定し、獲得する

形式

XSetClassHint(display, w, class_hints)
      Display ∗display;
      Window w;
      XClassHint ∗class_hints; Status XGetClassHint(display, w, class_hints_return)
      Display ∗display;
      Window w;
      XClassHint ∗class_hints_return;

引数

class_hints使用する XClassHint 構造体を指すポインタを指定します。

class_hints_return
XClassHint 構造体を返します。

displayX サーバへのコネクションを指定します。

wウィンドウを指定します。

解説

XSetClassHint 関数は、指定されたウィンドウについてクラスヒントを設定します。 .PN XSetClassHint は、 BadAlloc および BadWindow エラーを生じることがあります。 XGetClassHint 関数は、指定されたウィンドウのクラスを返します。 文字列で終了したとき、 res_name と res_class を解放するために、 XFree を使用します。 .PN XGetClassHint は、 BadWindow エラーを生じることがあります。

プロパティ

WM_CLASS

診断

BadAlloc サーバが、要求されたリソースまたはサーバメモリの割当てに失敗した。

BadWindow
Window 引数の値が、定義された Window を指さない。

関連事項

XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStandardProperties(3X11), XSetTransientForHint(3X11), XSetWMHints(3X11), XSetZoomHints(3X11), XStoreName(3X11)
Xlib − C Language X Interface

NEWS-OSRelease 3.3

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