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

  man pages->HP-UX 11i man pages -> MrmRegisterClass (3)              
Title
Content
Arch
Section
 

Contents


 MrmRegisterClass(library call)               MrmRegisterClass(library call)




 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(
      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 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
      creation function and to do type conversion of argument lists by using
      the information in MRM databases.

      class_code
                This argument is ignored; it is present for compatibility
                with previous releases.

      class_name
                This argument is ignored; it is present for compatibility
                with previous releases.

      create_name
                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.

      create_proc
                Specifies the address of the creation function that you
                named in create_name.

      class_record
                Specifies a pointer to the class record.

 RETURN    [Toc]    [Back]
      This function returns one of the following status return constants:





                                    - 1 -       Formatted:  January 24, 2005






 MrmRegisterClass(library call)               MrmRegisterClass(library call)




      MrmSUCCESS    [Toc]    [Back]
                The function executed successfully.

      MrmFAILURE    [Toc]    [Back]
                The function failed.


                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
MrmRegisterClass IRIX Saves the information needed for MRM to
MrmRegisterClass Tru64 Saves the information needed for MRM to
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
stfe Tru64 routines that provide a high-level interface to basic functions needed to access and add to the symb...
stfe IRIX routines that provide a high-level interface to basic functions needed to access and add to the symbol table
rqsread IRIX reads the information out of an ELF file that is needed to determine if the file needs to be requickstarted
st_end_sym Tru64 access information about the symbols in an object, and access or set symbol name demangling controls
st_sym_size Tru64 access information about the symbols in an object, and access or set symbol name demangling controls
st_is_sym_weak Tru64 access information about the symbols in an object, and access or set symbol name demangling controls
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service