DwtInitializeDRM(3Dwt)DwtInitializeDRM(3Dwt)Name
DwtInitializeDRM - Prepares an application to use DRM widget-fetching facilities.
Syntax
void DwtInitializeDRM()
Description
The DwtInitializeDRM function must be called to prepare an application to use DRM widget-fetching facilities. You must call this function
prior to fetching a widget. However, it is good programming practice to call DwtInitializeDRM prior to performing any DRM operations.
DwtInitializeDRM initializes the internal data structures that DRM needs to successfully perform type conversion on arguments and to suc-
cessfully access widget creation facilities. An application must call DwtInitializeDRM before it uses other DRM functions. DwtInitialize-
DRM can be called more than once. All calls after the first have no effect.
DwtInitializeDRM(3Dwt)
Check Out this Related Man Page
DwtRegisterClass(3Dwt)DwtRegisterClass(3Dwt)Name
DwtRegisterClass - Saves the information needed for DRM to access the widget creation function for user-defined widgets.
Syntax
#include <X11/DwtAppl.h>
Cardinal DwtRegisterClass(class_code, class_name, create_name,
create_proc, class_record)
DRMType class_code;
String class_name;
String create_name;
Widget (* create_proc) ();
WidgetClass class_record;
Arguments
class_code
Specifies the code name of the class. For all application-defined widgets, this code name is DRMwcUnknown. For all XUI Toolkit
widgets, each code name begins with the letters DRMwc. The code names for all application widgets are defined in DRM.h.
class_name
Specifies the case-sensitive name of the class. The class names for all XUI Toolkit widgets are defined in DRM.h. Each class
name begins with the letters DRMwcn.
create_name
Specifies the case-sensitive name of the low-level widget creation function for the class. An example from the XUI Toolkit is
DwtLabelCreate. Arguments are parent_widget, name, override_arglist, and override_argcount.
For user-defined widgets, create_name is the creation procedure in the UIL that defines this widget.
create_proc
Specifies the address of the creation function that you named in create_name.
class_record
Specifies a pointer to the class record.
Description
The DwtRegisterClass function allows DRM to access user-defined widget classes. This function registers the necessary information for DRM
to create widgets of this class. You must call DwtRegisterClass prior to fetching any user-defined class widget.
DwtRegisterClass saves the information needed to access the widget creation function and to do type conversion of argument lists by using
the information in DRM databases.
Return Values
This function returns one of these status return constants:
DRMSuccess The function executed
successfully.
DRMFailure The allocation of the
class descriptor failed.
DwtRegisterClass(3Dwt)
<h1>A short history of UNIX</h1>
<p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell
Laboratories, which is the research arm of the giant American corporation ATT. He and many
colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu.
In other words is there kind of an equal Linux with Unix?
Also what do I need to... (10 Replies)
I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)