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 / SgDynaMenuAddHistoryItem.z / SgDynaMenuAddHistoryItem
Encoding:
Text File  |  2002-10-03  |  2.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      SSSSggggDDDDyyyynnnnaaaaMMMMeeeennnnuuuuAAAAddddddddIIIItttteeeemmmm((((3333XXXX))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV     SSSSggggDDDDyyyynnnnaaaaMMMMeeeennnnuuuuAAAAddddddddIIIItttteeeemmmm((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           SSSSggggDDDDyyyynnnnaaaaMMMMeeeennnnuuuuAAAAddddddddIIIItttteeeemmmm - A DynaMenu function that adds an item to
  10.           the DynaMenu history list
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<SSSSggggmmmm////DDDDyyyynnnnaaaaMMMMeeeennnnuuuu....hhhh>>>>
  14.  
  15.           vvvvooooiiiidddd SSSSggggDDDDyyyynnnnaaaaMMMMeeeennnnuuuuAAAAddddddddIIIItttteeeemmmm ((((_w_i_d_g_e_t, _s_t_r))))
  16.                WWWWiiiiddddggggeeeetttt    _w_i_d_g_e_t;;;;
  17.                cccchhhhaaaarrrr       * _s_t_r;;;;
  18.  
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents the version of Sgm that accompanies
  22.           Motif 1.2.
  23.  
  24.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.           SSSSggggDDDDyyyynnnnaaaaMMMMeeeennnnuuuuAAAAddddddddIIIItttteeeemmmm adds an item to the DynaMenu history list
  26.           at the top position.  When the item is inserted into the
  27.           list, it is compared with the current items. If the new item
  28.           matches an item on the selected DynaMenu, the item is
  29.           removed from the old position, so it is not duplicated in
  30.           the history list. The programmer should call the appropriate
  31.           free on the String passed to the widget after calling
  32.           SSSSggggDDDDyyyynnnnaaaaMMMMeeeennnnuuuuAAAAddddddddIIIItttteeeemmmm, since the widget creates its own XmString
  33.           from the _s_t_r argument.
  34.  
  35.  
  36.           _w_i_d_g_e_t Specifies the ID of the DynaMenu to which an item is
  37.                  added.
  38.  
  39.           _s_t_r    Specifies the item to be added to the DynaMenu.
  40.  
  41.  
  42.           For a complete definition of DynaMenu and its associated
  43.           resources, see SSSSggggDDDDyyyynnnnaaaaMMMMeeeennnnuuuu((((3333XXXX)))).
  44.  
  45.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  46.           SSSSggggDDDDyyyynnnnaaaaMMMMeeeennnnuuuu((((3333XXXX)))).
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.