Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmAddProtocols(3XM) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

VendorShell(3XM)

XmAddWMProtocols(3XM)

XmInternAtom(3XM)

XmAddProtocols(3XM)  —  NEWS-OS Programmer’s Manual

名称

XmAddProtocols — プロトコルをプロトコルマネージャに加え、内部テーブルを割り当てる VendorShell の関数

形式

#include <Xm/Xm.h>
#include <X11/Protocols.h> void XmAddProtocols (shell, property, protocols, num_protocols)
Widgetshell;
Atomproperty;
Atom∗ protocols;
Cardinalnum_protocols; void XmAddWMProtocols (shell, protocols, num_protocols)
Widgetshell;
Atom∗ protocols;
Cardinalnum_protocols;

解説

XmAddProtocols はプロトコルをプロトコルマネージャに加え、内部テーブルを割り当てます。

XmAddWMProtocols は簡易インターフェースです。 プロパティの値を WM_PROTOCOLS をインターン (intern) して返ってきたアトムに設定して、XmAddProtocols を呼び出します。

shellプロトコルのプロパティに関係する widget を指定します。

propertyプロトコルのプロパティを指定します。

protocolsプロトコル Atom (あるいは Atom への整数のキャスト) へのポインタを指定します。

num_protocols
protocols 内のエレメントの個数を指定します。

VendorShell の完全な定義と、関連するリソースに関する詳細は VendorShell (3X) を参照してください。

関連事項

VendorShell(3XM), XmAddWMProtocols(3XM), XmInternAtom(3XM)

NEWS-OSRelease 4.2.1R

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