=head1 NAME

Gnome2::FileEntry

=cut

=head1 HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Box
                           +----Gtk2::VBox
                                +----Gnome2::FileEntry



=cut

=head1 INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::Orientable
  Gtk2::Editable



=cut


=head1 METHODS

=head2 widget = Gnome2::FileEntry-E<gt>B<new> ($history_id, $browse_dialog_title)

=over

=item * $history_id (string) 

=item * $browse_dialog_title (string) 

=back

=head2 $fentry-E<gt>B<set_default_path> ($path)

=over

=item * $path (string) 

=back

=head2 boolean = $fentry-E<gt>B<get_directory_entry> 

=head2 $fentry-E<gt>B<set_directory_entry> ($directory_entry)

=over

=item * $directory_entry (boolean) 

=back

=head2 $fentry-E<gt>B<set_filename> ($filename)

=over

=item * $filename (string) 

=back

=head2 string = $fentry-E<gt>B<get_full_path> ($file_must_exist)

=over

=item * $file_must_exist (boolean) 

=back

=head2 widget = $fentry-E<gt>B<gnome_entry> 

=head2 widget = $fentry-E<gt>B<gtk_entry> 

=head2 boolean = $fentry-E<gt>B<get_modal> 

=head2 $fentry-E<gt>B<set_modal> ($is_modal)

=over

=item * $is_modal (boolean) 

=back

=head2 $fentry-E<gt>B<set_title> ($browse_dialog_title)

=over

=item * $browse_dialog_title (string) 

=back



=cut


=head1 PROPERTIES

=over

=item 'browse-dialog-title' (string : default undef : readable / writable)

Title for the Browse file dialogue.

=item 'default-path' (string : default undef : readable / writable)

Default path for the Browse file window.

=item 'directory-entry' (boolean : default false : readable / writable)

Whether the file entry is being used to enter directory names or complete filenames.

=item 'filechooser-action' (Gtk2::FileChooserAction : default "open" : readable / writable)

The type of operation that the file selector is performing.

=item 'filename' (string : default undef : readable / writable)

Filename that should be displayed in the file entry.

=item 'gnome-entry' (Gnome2::Entry : default undef : readable)

GnomeEntry that the file entry uses for entering filenames.  You can use this property to get the GnomeEntry if you need to modify or query any of its parameters.

=item 'gtk-entry' (Gtk2::Entry : default undef : readable)

GtkEntry that the file entry uses for entering filenames.  You can use this property to get the GtkEntry if you need to modify or query any of its parameters.

=item 'history-id' (string : default undef : readable / writable)

Unique identifier for the file entry.  This will be used to save the history list.

=item 'modal' (boolean : default false : readable / writable)

Whether the Browse file window should be modal.

=item 'use-filechooser' (boolean : default false : readable / writable)

Whether to use the new GtkFileChooser widget or the GtkFileSelection widget to select files.

=back



=cut


=head1 SIGNALS

=over

=item B<activate> (Gnome2::FileEntry)

=item B<browse-clicked> (Gnome2::FileEntry)

=back



=cut


=head1 ENUMS AND FLAGS

=head2 enum Gtk2::FileChooserAction

=over

=item * 'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'

=item * 'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'

=item * 'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'

=item * 'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'

=back




=cut


=head1 SEE ALSO

L<Gnome2>, L<Glib::Object>, L<Glib::InitiallyUnowned>, L<Gtk2::Object>, L<Gtk2::Widget>, L<Gtk2::Container>, L<Gtk2::Box>, L<Gtk2::VBox>


=cut


=head1 COPYRIGHT

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gnome2> for a full notice.



=cut

