gtkObjectGetArgs            package:RGtk            R Documentation

_A_c_c_e_s_s _p_r_o_p_e_r_t_i_e_s _o_f _a _G_t_k _o_b_j_e_c_t

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

     These functions allow one to both read and set properties of a Gtk
     object by name and also in the usual S-like manner.
     'gtkObjectGetArgs' retrieves the values of one or more properties
     by specifying their name as a vector. 'gtkObjectGetArg' retrieves
     the value of a single property and avoids having to worry about
     whether the result is a value or a list of values of length 1.
     'gtkObjectSetArgs' allows one to set one or more properties by
     name in the form 'gtkObjectSetArgs(obj, x=1, y="a")'.
     '[.GtkObject' and '[[<-.GtkObject' provide S-like accessors.

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

     gtkObjectGetArgs(obj, argNames)
     gtkObjectGetArg(obj, argName)
     [.GtkObject(x, ...)
     gtkObjectSetArgs(obj, ..., .vals, .flush=TRUE)
     [[<-.GtkObject(x, name, value)

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

     obj: the Gtk object whose properties are to be accessed

argNames: a character vector giving the names of the properties to
          retrieve.

 argName: a string (i.e. character vector of length 1) giving the name
          of the property whose value is to be retrieved.

       x: the Gtk object whose properties are to be accessed

     ...: for '[.GtkObject', this is a character vector giving the
          names of the properties of interest. For 'gtkObjectSetArgs',
          this is a collection of name=value pairs where 'name' is the
          name of the property to set and 'value' is the value to which
          it is to be set.

   .vals: a named list similar to '...' in 'gtkObjectSetArgs' 

  .flush: a logical value indicating whether to flush the event queue
          to encourage any changes to be processed immediately.

    name: the name of the property to set

   value: the value to assign to the property

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

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

_N_o_t_e:

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

     Duncan Temple Lang <duncan@research.bell-labs.com>

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

_S_e_e _A_l_s_o:

_E_x_a_m_p_l_e_s:

