GtkFontSelection            package:RGtk2            R Documentation

_G_t_k_F_o_n_t_S_e_l_e_c_t_i_o_n

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

     A widget for selecting fonts

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

     'gtkFontSelectionNew(show = TRUE)'
      'gtkFontSelectionGetFont(object)'
      'gtkFontSelectionGetFontName(object)'
      'gtkFontSelectionSetFontName(object, fontname)'
      'gtkFontSelectionGetPreviewText(object)'
      'gtkFontSelectionSetPreviewText(object, text)'
      'gtkFontSelection(show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkBox
                                      +----GtkVBox
                                            +----GtkFontSelection 

_I_n_t_e_r_f_a_c_e_s:

     GtkFontSelection implements AtkImplementorIface and 
     'GtkBuildable'.

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

     The 'GtkFontSelection' widget lists the available fonts, styles
     and sizes, allowing the user to select a font. It is used in the
     'GtkFontSelectionDialog' widget to provide a dialog box for
     selecting fonts.

     To set the font which is initially selected, use
     'gtkFontSelectionSetFontName'.

     To get the selected font use 'gtkFontSelectionGetFontName'.

     To change the text which is shown in the preview area, use
     'gtkFontSelectionSetPreviewText'.

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


     '_G_t_k_F_o_n_t_S_e_l_e_c_t_i_o_n' The 'GtkFontSelection' struct contains private
          data only, and should only be accessed using the functions
          below.


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

     'gtkFontSelection' is the equivalent of 'gtkFontSelectionNew'.

_P_r_o_p_e_r_t_i_e_s:


     '_f_o_n_t' ['_G_d_k_F_o_n_t' : _R_e_a_d] The GdkFont that is currently selected.


     '_f_o_n_t-_n_a_m_e' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] The X string that
          represents this font.  Default value: NULL


     '_p_r_e_v_i_e_w-_t_e_x_t' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] The text to display in
          order to demonstrate the selected font.  Default value:
          "abcdefghijk ABCDEFGHIJK"


_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/GtkFontSelection.html>

