GtkFontButton             package:RGtk2             R Documentation

_G_t_k_F_o_n_t_B_u_t_t_o_n

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

     A button to launch a font selection dialog

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

     'gtkFontButtonNew(show = TRUE)'
      'gtkFontButtonNewWithFont(fontname)'
      'gtkFontButtonSetFontName(object, fontname)'
      'gtkFontButtonGetFontName(object)'
      'gtkFontButtonSetShowStyle(object, show.style)'
      'gtkFontButtonGetShowStyle(object)'
      'gtkFontButtonSetShowSize(object, show.size)'
      'gtkFontButtonGetShowSize(object)'
      'gtkFontButtonSetUseFont(object, use.font)'
      'gtkFontButtonGetUseFont(object)'
      'gtkFontButtonSetUseSize(object, use.size)'
      'gtkFontButtonGetUseSize(object)'
      'gtkFontButtonSetTitle(object, title)'
      'gtkFontButtonGetTitle(object)'
      'gtkFontButton(show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkBin
                                      +----GtkButton
                                            +----GtkFontButton 

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

     GtkFontButton implements AtkImplementorIface and  'GtkBuildable'.

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

     The 'GtkFontButton' is a button which displays the currently
     selected font an allows to open a font selection  dialog to change
     the font. It is suitable widget for selecting a font in a
     preference dialog.

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


     '_G_t_k_F_o_n_t_B_u_t_t_o_n' The GtkFontButton struct has only private members
          and should not be used directly.


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

     'gtkFontButton' is the equivalent of 'gtkFontButtonNew'.

_S_i_g_n_a_l_s:


     '_f_o_n_t-_s_e_t(_w_i_d_g_e_t, _u_s_e_r._d_a_t_a)' The ::font-set signal is emitted
          when the user selects a font.  When handling this signal, use
          'gtkFontButtonGetFontName'  to find out which font was just
          selected.

          Note that this signal is only emitted when the _user_ changes
          the font. If you need to react to programmatic font changes
          as well, use the notify::font-name signal.  

          Since  2.4

          '_w_i_d_g_e_t' ['GtkFontButton']  the object which received the
               signal.

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


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


     '_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 name of the currently
          selected font.  

          Default value: "Sans 12"  Since  2.4


     '_s_h_o_w-_s_i_z_e' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] If this property is set to
          'TRUE', the selected font size will be shown  in the label.
          For a more WYSIWYG way to show the selected size, see the 
          ::use-size property.  

          Default value: TRUE  Since  2.4


     '_s_h_o_w-_s_t_y_l_e' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] If this property is set to
          'TRUE', the name of the selected font style  will be shown in
          the label. For a more WYSIWYG way to show the selected 
          style, see the ::use-font property.  

          Default value: TRUE  Since  2.4


     '_t_i_t_l_e' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] The title of the font selection
          dialog.  

          Default value: "Pick a Font"  Since  2.4


     '_u_s_e-_f_o_n_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] If this property is set to
          'TRUE', the label will be drawn  in the selected font.  

          Default value: FALSE  Since  2.4


     '_u_s_e-_s_i_z_e' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] If this property is set to
          'TRUE', the label will be drawn  with the selected font size.            

          Default value: FALSE  Since  2.4


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

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

     'GtkFontSelectionDialog' 'GtkColorButton'

