*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> MrmRegisterClass (3X)              



NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       #include <Mrm/MrmPublic.h>

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

DESCRIPTION    [Toc]    [Back]

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

       MrmRegisterClass saves the information  needed  to  access
       the  widget creation 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.

RETURN VALUE    [Toc]    [Back]

       This  function  returns  one  of  these status return constants:
 The function executed successfully.  The  function

[ Back ]
 Similar pages
Name OS Title
MrmRegisterClass HP-UX Saves the information needed for MRM to access the
ipfs FreeBSD saves and restores information for NAT and state tables.
sysman_clone Tru64 Saves SysMan configuration information, which can be used to clone configurations on similar systems
rqsread IRIX reads the information out of an ELF file that is needed to determine if the file needs to be requickstarted
savemap IRIX saves the current contents of the colormap
fs_save_config Tru64 Saves an AdvFS domain configuration.
csa_save HP-UX saves calendar entries into an archive file
dmPMConvertToByteStream IRIX saves away a special effect as a byte stream
volsave Tru64 Saves a Logical Storage Manager (LSM) configuration
vm_page_dontneed FreeBSD indicate that a page is not needed anymore
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service