home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cato / Xm / XmVaCreateSimpleMenuBar.z / XmVaCreateSimpleMenuBar
Encoding:
Text File  |  2002-10-03  |  6.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr - A RowColumn widget convenience
  10.           creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////RRRRoooowwwwCCCCoooolllluuuummmmnnnn....hhhh>>>>
  14.  
  15.           WWWWiiiiddddggggeeeetttt XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr ((((_p_a_r_e_n_t, _n_a_m_e, _a_r_g...))))
  16.                WWWWiiiiddddggggeeeetttt    _p_a_r_e_n_t;;;;
  17.                SSSSttttrrrriiiinnnngggg    _n_a_m_e;;;;
  18.  
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents version 1.2 of the Motif library.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr creates an instance of a RowColumn
  25.           widget of type XXXXmmmmMMMMEEEENNNNUUUU____BBBBAAAARRRR and returns the associated widget
  26.           ID.  This routine uses the ANSI C variable-length argument
  27.           list (varargs) calling convention.
  28.  
  29.           This routine creates a MenuBar and its CascadeButtonGadget
  30.           children.  The name of each button is button__n, where _n is
  31.           an integer from 0 to one minus the number of buttons in the
  32.           menu.  Buttons are named and created in the order in which
  33.           they are specified in the variable portion of the argument
  34.           list.
  35.  
  36.  
  37.           _p_a_r_e_n_t Specifies the parent widget ID
  38.  
  39.           _n_a_m_e   Specifies the name of the created widget
  40.  
  41.  
  42.           The variable portion of the argument list consists of groups
  43.           of arguments.  The first argument in each group is a
  44.           constant or a string and determines which arguments follow
  45.           in that group.  The last argument in the list must be NULL.
  46.           Following are the possible first arguments in each group of
  47.           varargs:
  48.  
  49.  
  50.           XXXXmmmmVVVVaaaaCCCCAAAASSSSCCCCAAAADDDDEEEEBBBBUUUUTTTTTTTTOOOONNNN
  51.                  This is followed by two additional arguments.  The
  52.                  set specifies one button in the MenuBar and some of
  53.                  its resource values.  Following are the additional
  54.                  two arguments, in this order:
  55.  
  56.  
  57.                  _l_a_b_e_l   The label string, of type XmString.
  58.  
  59.                  _m_n_e_m_o_n_i_c
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX))))
  71.  
  72.  
  73.  
  74.                          The mnemonic, of type KeySym.
  75.  
  76.  
  77.           _r_e_s_o_u_r_c_e__n_a_m_e
  78.                  This is followed by one additional argument, the
  79.                  value of the resource, of type XtArgVal.  The pair
  80.                  specifies a resource and its value for the RowColumn
  81.                  widget.
  82.  
  83.           XXXXttttVVVVaaaaTTTTyyyyppppeeeeddddAAAArrrrgggg
  84.                  This is followed by four additional arguments.  The
  85.                  set specifies a resource and its value for the
  86.                  RowColumn widget.  A resource type conversion is
  87.                  performed if necessary.  Following are the additional
  88.                  four arguments, in this order:
  89.  
  90.  
  91.                  _n_a_m_e    The resource name, of type String.
  92.  
  93.                  _t_y_p_e    The type of the resource value supplied, of
  94.                          type String.
  95.  
  96.                  _v_a_l_u_e   The resource value (or a pointer to the
  97.                          resource value, depending on the type and
  98.                          size of the value), of type XtArgVal.
  99.  
  100.                  _s_i_z_e    The size of the resource value in bytes, of
  101.                          type int.
  102.  
  103.  
  104.           XXXXttttVVVVaaaaNNNNeeeesssstttteeeeddddLLLLiiiisssstttt
  105.                  This is followed by one additional argument of type
  106.                  XtVarArgsList.  This argument is a nested list of
  107.                  varargs returned by XXXXttttVVVVaaaaCCCCrrrreeeeaaaatttteeeeAAAArrrrggggssssLLLLiiiisssstttt.
  108.  
  109.  
  110.           For more information on variable-length argument lists, see
  111.           the X Toolkit Intrinsics documentation.
  112.  
  113.           A number of resources exist specifically for use with this
  114.           and other simple menu creation routines.  For a complete
  115.           definition of RowColumn and its associated resources, see
  116.           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX)))).
  117.  
  118.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  119.           Returns the RowColumn widget ID.
  120.  
  121.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  122.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX)))), XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX)))),
  123.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX)))), and XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX)))).
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.