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

  1.  
  2.  
  3.  
  4.      XXXXttttCCCCrrrreeeeaaaatttteeeePPPPooooppppuuuuppppSSSShhhheeeellllllll((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXttttCCCCrrrreeeeaaaatttteeeePPPPooooppppuuuuppppSSSShhhheeeellllllll((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtCreatePopupShell, XtVaCreatePopupShell - create a popup
  10.           shell
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           Widget XtCreatePopupShell(_n_a_m_e, _w_i_d_g_e_t__c_l_a_s_s, _p_a_r_e_n_t, _a_r_g_s,
  14.           _n_u_m__a_r_g_s)
  15.                 String _n_a_m_e;
  16.                 WidgetClass _w_i_d_g_e_t__c_l_a_s_s;
  17.                 Widget _p_a_r_e_n_t;
  18.                 ArgList _a_r_g_s;
  19.                 Cardinal _n_u_m__a_r_g_s;
  20.  
  21.           Widget XtVaCreatePopupShell(_n_a_m_e, _w_i_d_g_e_t__c_l_a_s_s, _p_a_r_e_n_t, ...)
  22.                 String _n_a_m_e;
  23.                 WidgetClass _w_i_d_g_e_t__c_l_a_s_s;
  24.                 Widget _p_a_r_e_n_t;
  25.  
  26.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  27.           _a_r_g_s      Specifies the argument list to override the
  28.                     resource defaults.
  29.  
  30.           _n_a_m_e      Specifies the text name for the created shell
  31.                     widget.
  32.  
  33.           _n_u_m__a_r_g_s  Specifies the number of arguments in the argument
  34.                     list.
  35.  
  36.           _p_a_r_e_n_t    Specifies the parent widget.
  37.  
  38.           _w_i_d_g_e_t__c_l_a_s_s
  39.                     Specifies the widget class pointer for the created
  40.                     shell widget.
  41.  
  42.           ...       Specifies the variable argument list to override
  43.                     the resource defaults.
  44.  
  45.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  46.           The _X_t_C_r_e_a_t_e_P_o_p_u_p_S_h_e_l_l function ensures that the specified
  47.           class is a subclass of _S_h_e_l_l and, rather than using
  48.           insert_child to attach the widget to the parent's children
  49.           list, attaches the shell to the parent's pop-ups list
  50.           directly.
  51.  
  52.           A spring-loaded pop-up invoked from a translation table
  53.           already must exist at the time that the translation is
  54.           invoked, so the translation manager can find the shell by
  55.           name.  Pop-ups invoked in other ways can be created ``on-
  56.           the-fly'' when the pop-up actually is needed.  This delayed
  57.           creation of the shell is particularly useful when you pop up
  58.           an unspecified number of pop-ups.  You can look to see if an
  59.           appropriate unused shell (that is, not currently popped up)
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttCCCCrrrreeeeaaaatttteeeePPPPooooppppuuuuppppSSSShhhheeeellllllll((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXttttCCCCrrrreeeeaaaatttteeeePPPPooooppppuuuuppppSSSShhhheeeellllllll((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.           exists and create a new shell if needed.
  75.  
  76.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  77.           XtCreateWidget(3Xt), XtPopdown(3Xt), XtPopup(3Xt)
  78.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  79.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.