GtkItemFactory             package:RGtk2             R Documentation

_G_t_k_I_t_e_m_F_a_c_t_o_r_y

_D_e_s_c_r_i_p_t_i_o_n:

     A factory for menus

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkItemFactoryNew(container.type, path, accel.group = NULL)'
      'gtkItemFactoryConstruct(object, container.type, path,
     accel.group)'
      'gtkItemFactoryAddForeign(accel.widget, full.path, accel.group,
     keyval, modifiers)'
      'gtkItemFactoryFromWidget(widget)'
      'gtkItemFactoryPathFromWidget(widget)'
      'gtkItemFactoryGetItem(object, path)'
      'gtkItemFactoryGetWidget(object, path)'
      'gtkItemFactoryGetWidgetByAction(object, action)'
      'gtkItemFactoryGetItemByAction(object, action)'
      'gtkItemFactoryCreateItem(object, entry, callback.data = NULL,
     callback.type)'
      'gtkItemFactoryCreateItems(object, entries, callback.data =
     NULL)'
      'gtkItemFactoryCreateItemsAc(object, entries, callback.data,
     callback.type)'
      'gtkItemFactoryDeleteItem(object, path)'
      'gtkItemFactoryDeleteEntry(object, entry)'
      'gtkItemFactoryDeleteEntries(object, entries)'
      'gtkItemFactoryPopup(object, x, y, mouse.button, time =
     "GDK_CURRENT_TIME")'
      'gtkItemFactoryPopupWithData(object, popup.data, x, y,
     mouse.button, time = "GDK_CURRENT_TIME")'
      'gtkItemFactoryPopupData(object)'
      'gtkItemFactoryPopupDataFromWidget(widget)'
      'gtkItemFactoryFromPath(path)'
      'gtkItemFactoryCreateMenuEntries(entries)'
      'gtkItemFactoriesPathDelete(ifactory.path, path)'
      'gtkItemFactorySetTranslateFunc(object, func, data = NULL)'
      'gtkItemFactory(container.type, path, accel.group = NULL)'

_H_i_e_r_a_r_c_h_y:

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkItemFactory 

_D_e_t_a_i_l_e_d _D_e_s_c_r_i_p_t_i_o_n:

     As of GTK+ 2.4, 'GtkItemFactory' has been deprecated in favour of
     'GtkUIManager'.

_S_t_r_u_c_t_u_r_e_s:


     '_G_t_k_I_t_e_m_F_a_c_t_o_r_y' *WARNING: 'GtkItemFactory' is deprecated and
          should not be used in newly-written code.* _undocumented _


     '_G_t_k_I_t_e_m_F_a_c_t_o_r_y_E_n_t_r_y' *WARNING: 'GtkItemFactoryEntry' is
          deprecated and should not be used in newly-written code.*
          _undocumented _ *'GtkItemFactoryEntry' is a
          transparent-type.*


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gtkItemFactory' is the equivalent of 'gtkItemFactoryNew'.

_U_s_e_r _F_u_n_c_t_i_o_n_s:


     '_G_t_k_P_r_i_n_t_F_u_n_c(_f_u_n_c._d_a_t_a, _s_t_r)' _undocumented _

          '_f_u_n_c._d_a_t_a' [R object] 

          '_s_t_r' [character] 


     '_G_t_k_T_r_a_n_s_l_a_t_e_F_u_n_c(_p_a_t_h, _f_u_n_c._d_a_t_a)' The function used to translate
          messages in e.g. 'GtkIconFactory' and 'GtkActionGroup'. 

          '_p_a_t_h' [character] The id of the message. In 'GtkItemFactory'
               this will be a path from a 'GtkItemFactoryEntry', in
               'GtkActionGroup', it will be a label or tooltip from a
               'GtkActionEntry'.

          '_f_u_n_c._d_a_t_a' [R object] user data passed in when registering
               the function

          _Returns:_ [character] the translated message


     '_G_t_k_I_t_e_m_F_a_c_t_o_r_y_C_a_l_l_b_a_c_k()' _undocumented _


     '_G_t_k_I_t_e_m_F_a_c_t_o_r_y_C_a_l_l_b_a_c_k_1(_c_a_l_l_b_a_c_k._d_a_t_a, _c_a_l_l_b_a_c_k._a_c_t_i_o_n, _w_i_d_g_e_t)' 
          _undocumented _

          '_c_a_l_l_b_a_c_k._d_a_t_a' [R object] 

          '_c_a_l_l_b_a_c_k._a_c_t_i_o_n' [numeric] 

          '_w_i_d_g_e_t' ['GtkWidget'] 


     '_G_t_k_I_t_e_m_F_a_c_t_o_r_y_C_a_l_l_b_a_c_k_2(_w_i_d_g_e_t, _c_a_l_l_b_a_c_k._d_a_t_a, _c_a_l_l_b_a_c_k._a_c_t_i_o_n)' 
          _undocumented _

          '_w_i_d_g_e_t' ['GtkWidget'] 

          '_c_a_l_l_b_a_c_k._d_a_t_a' [R object] 

          '_c_a_l_l_b_a_c_k._a_c_t_i_o_n' [numeric] 


_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/gtk/GtkItemFactory.html>

