home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xtcreatepopupshell.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. XtCreatePopupShell(3Xt)       XT FUNCTIONS      XtCreatePopupShell(3Xt)
  5.  
  6.  
  7. NNAAMMEE
  8.        XtCreatePopupShell, XtVaCreatePopupShell - create a popup
  9.        shell
  10.  
  11. SSYYNNTTAAXX
  12.        Widget XtCreatePopupShell(_n_a_m_e, _w_i_d_g_e_t___c_l_a_s_s, _p_a_r_e_n_t,
  13.        _a_r_g_s, _n_u_m___a_r_g_s)
  14.          String _n_a_m_e;
  15.          WidgetClass _w_i_d_g_e_t___c_l_a_s_s;
  16.          Widget _p_a_r_e_n_t;
  17.          ArgList _a_r_g_s;
  18.          Cardinal _n_u_m___a_r_g_s;
  19.  
  20.        Widget XtVaCreatePopupShell(_n_a_m_e, _w_i_d_g_e_t___c_l_a_s_s, _p_a_r_e_n_t,
  21.        ...)
  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. AARRGGUUMMEENNTTSS
  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 argu-
  34.          ment 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 cre-
  40.          ated shell widget.
  41.  
  42.        _._._.     Specifies the variable argument list to override
  43.          the resource defaults.
  44.  
  45. DDEESSCCRRIIPPTTIIOONN
  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
  57.        delayed creation of the shell is particularly useful when
  58.        you pop up an unspecified number of pop-ups.  You can look
  59.        to see if an appropriate unused shell (that is, not cur-
  60.        rently popped up) exists and create a new shell if needed.
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XtCreatePopupShell(3Xt)       XT FUNCTIONS      XtCreatePopupShell(3Xt)
  71.  
  72.  
  73. SSEEEE AALLSSOO
  74.        XtCreateWidget(3Xt), XtPopdown(3Xt), XtPopup(3Xt)
  75.        _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
  76.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  77.  
  78.  
  79.  
  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.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.