gtkToolbarPrependElement        package:RGtk2        R Documentation

_g_t_k_T_o_o_l_b_a_r_P_r_e_p_e_n_d_E_l_e_m_e_n_t

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

     Adds a new element to the beginning of a toolbar. *WARNING:
     'gtk_toolbar_prepend_element' is deprecated and should not be used
     in newly-written code.*

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

     gtkToolbarPrependElement(object, type, widget, text, tooltip.text, tooltip.private.text, icon, callback, user.data = NULL)

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

'object': ['GtkToolbar']  a 'GtkToolbar'.

  'type': ['GtkToolbarChildType']  a value of type
          'GtkToolbarChildType' that determines what 'widget' will be.

'widget': ['GtkWidget']  a 'GtkWidget', or 'NULL'

  'text': [char]  the element's label.

'tooltip.text': [char]  the element's tooltip.

'tooltip.private.text': [char]  used for context-sensitive help about
          this toolbar element.

  'icon': ['GtkWidget']  a 'GtkWidget' that provides pictorial
          representation of the element's function.

'callback': [GtkSignalFunc]  the function to be executed when the
          button is pressed.

'user.data': [R object]  any data you wish to pass to the callback.

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

     If 'type' == 'GTK_TOOLBAR_CHILD_WIDGET', 'widget' is used as the
     new element. If 'type' == 'GTK_TOOLBAR_CHILD_RADIOBUTTON',
     'widget' is used to determine the radio group for the new element.
     In all other cases, 'widget' must be 'NULL'. '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 new toolbar element as a 'GtkWidget'.

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

     Derived by RGtkGen from GTK+ documentation

