MrmRegisterClass man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

MrmRegisterClass(3X)					  MrmRegisterClass(3X)

       MrmRegisterClass	 -  Saves the information needed for MRM to access the
       widget creation function for user-defined widgets

       #include <Mrm/MrmPublic.h>

       Cardinal	 MrmRegisterClass(class_code,  class_name,  create_name,  cre‐
       ate_proc, class_record)
	       MrmType class_code;
	       String class_name;
	       String create_name;
	       Widget (*create_proc) ();
	       WidgetClass class_record;

       The  MrmRegisterClass function allows MRM to access user-defined widget
       classes. This function registers the necessary information for  MRM  to
       create  widgets	of this class. You must call MrmRegisterClass prior to
       fetching any user-defined class widget.

       MrmRegisterClass saves the information needed to access the widget cre‐
       ation function and to do type conversion of argument lists by using the
       information in MRM databases.  This argument is ignored; it is  present
       for compatibility with previous releases.  This argument is ignored; it
       is present for compatibility with  previous  releases.	Specifies  the
       case-sensitive  name  of the low-level widget creation function for the
       class. An example from the Motif Toolkit	 is  XmCreateLabel.  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.  Specifies the  address  of
	      the  creation function that you named in create_name.  Specifies
	      a pointer to the class record.

       This function returns one of these status return constants:  The	 func‐
       tion executed successfully.  The function failed.


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net