GtkFileChooserButton          package:RGtk2          R Documentation

_G_t_k_F_i_l_e_C_h_o_o_s_e_r_B_u_t_t_o_n

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

     A button to launch a file selection dialog

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

     'gtkFileChooserButtonNew(title, action, show = TRUE)'
      'gtkFileChooserButtonNewWithBackend(title, action, backend, show
     = TRUE)'
      'gtkFileChooserButtonNewWithDialog(dialog)'
      'gtkFileChooserButtonGetTitle(object)'
      'gtkFileChooserButtonSetTitle(object, title)'
      'gtkFileChooserButtonGetWidthChars(object)'
      'gtkFileChooserButtonSetWidthChars(object, n.chars)'
      'gtkFileChooserButtonGetFocusOnClick(object)'
      'gtkFileChooserButtonSetFocusOnClick(object, focus.on.click)'
      'gtkFileChooserButton(title, action, backend, show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkBox
                                      +----GtkHBox
                                            +----GtkFileChooserButton 

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

     GtkFileChooserButton implements AtkImplementorIface, 
     'GtkBuildable' and  'GtkFileChooser'.

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

     The 'GtkFileChooserButton' is a widget that lets the user select a
     file.  It implements the 'GtkFileChooser' interface.  Visually, it
     is a file name with a button to bring up a 'GtkFileChooserDialog'.
     The user can then use that dialog to change the file associated
     with that button.  This widget does not support setting the
     "select-multiple" property to 'TRUE'.

     _Create a button to let the user select a file in /etc_


     # Create a button to let the user select a file in /etc
     button <- gtkFileChooserButton("Select a file", "open")
     button$setCurrentFolder("/etc")
      The 'GtkFileChooserButton' supports the 'GtkFileChooserAction's
     'GTK_FILE_CHOOSER_ACTION_OPEN' and
     'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'. *PLEASE NOTE:* The
     'GtkFileChooserButton' will ellipsize the label, and thus will
     thus request little horizontal space.  To give the button more
     space, you should call 'gtkWidgetSizeRequest',
     'gtkFileChooserButtonSetWidthChars', or pack the button in such a
     way that other interface elements give space to the widget.

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


     '_G_t_k_F_i_l_e_C_h_o_o_s_e_r_B_u_t_t_o_n' This should not be accessed directly.  Use
          the accessor functions below. 


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

     'gtkFileChooserButton' is the result of collapsing the
     constructors of 'GtkFileChooserButton' ('gtkFileChooserButtonNew',
     'gtkFileChooserButtonNewWithBackend') and accepts a subset of its
     arguments matching the required arguments of one of its delegate
     constructors.

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


     '_f_i_l_e-_s_e_t(_f_i_l_e_c_h_o_o_s_e_r_b_u_t_t_o_n, _u_s_e_r._d_a_t_a)' _undocumented _

          '_f_i_l_e_c_h_o_o_s_e_r_b_u_t_t_o_n' ['GtkFileChooserButton'] 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:


     '_d_i_a_l_o_g' ['_G_t_k_F_i_l_e_C_h_o_o_s_e_r' : _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] Instance of
          the 'GtkFileChooserDialog' associated with the button.  

          Since  2.6


     '_f_o_c_u_s-_o_n-_c_l_i_c_k' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether the
          'GtkFileChooserButton' button grabs focus when it is clicked
          with the mouse.  

          Default value: TRUE  Since  2.10


     '_t_i_t_l_e' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] Title to put on the
          'GtkFileChooserDialog' associated with the button.  

          Default value: "Select A File"  Since  2.6


     '_w_i_d_t_h-_c_h_a_r_s' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] The width of the entry and
          label inside the button, in characters.  

          Allowed values: >= -1  Default value: -1  Since  2.6


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

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

     'GtkFileChooserDialog'

