gtkToolbarInsertStock         package:RGtk2         R Documentation

_g_t_k_T_o_o_l_b_a_r_I_n_s_e_r_t_S_t_o_c_k

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

     Inserts a stock item at the specified position of the toolbar.  If
     'stock.id' is not a known stock item ID, it's inserted verbatim,
     except that underscores used to mark mnemonics are removed.
     *WARNING: 'gtk_toolbar_insert_stock' is deprecated and should not
     be used in newly-written code.*

_U_s_a_g_e:

     gtkToolbarInsertStock(object, stock.id, tooltip.text, tooltip.private.text, callback, user.data, position)

_A_r_g_u_m_e_n_t_s:

'object': ['GtkToolbar']  A 'GtkToolbar'

'stock.id': [character]  The id of the stock item you want to insert

'tooltip.text': [char]  The text in the tooltip of the toolbar button

'tooltip.private.text': [char]  The private text of the tooltip

'callback': [GtkSignalFunc]  The callback called when the toolbar
          button is clicked.

'user.data': [R object]  user data passed to callback

'position': [integer]  The position the button shall be inserted at. -1
          means at the end.

_D_e_t_a_i_l_s:

     'callback' must be a pointer to a function taking a 'GtkWidget'
     and a gpointer as arguments. Use the 'gtkSignalFunc()' to cast the
     function to 'GtkSignalFunc'.

_V_a_l_u_e:

     ['GtkWidget']  the inserted widget

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

     Derived by RGtkGen from GTK+ documentation

