gtkRcGetStyleByPaths          package:RGtk2          R Documentation

_g_t_k_R_c_G_e_t_S_t_y_l_e_B_y_P_a_t_h_s

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

     Creates up a 'GtkStyle' from styles defined in a RC file by
     providing the raw components used in matching. This function may
     be useful when creating pseudo-widgets that should be themed like
     widgets but don't actually have corresponding GTK+ widgets. An
     example of this would be items inside a GNOME canvas widget.

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

     gtkRcGetStyleByPaths(settings, widget.path, class.path, type)

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

'settings': ['GtkSettings']  a 'GtkSettings' object

'widget.path': [char]  the widget path to use when looking up the
          style, or 'NULL' if no matching against the widget path
          should be done

'class.path': [char]  the class path to use when looking up the style,
          or 'NULL' if no matching against the class path should be
          done.

  'type': ['GType']  a type that will be used along with parent types
          of this type when matching against class styles, or
          'G_TYPE_NONE'

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

     The action of 'gtkRcGetStyle' is similar to:


     path <- widget$path()$path
     class_path <- widget$classPath()$path
     gtkRcGetStyleByPaths(widget$getSettings(), path, class_path,
     class(widget)[1])


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

     ['GtkStyle']  A style created by matching with the supplied paths,
     or 'NULL' if nothing matching was specified and the default style
     should be used.

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

     Derived by RGtkGen from GTK+ documentation

