gimp/devel-docs/libgimpwidgets/tmpl/gimpfileentry.sgml

80 lines
1.4 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
GimpFileEntry
<!-- ##### SECTION Short_Description ##### -->
Widget for entering a filename.
<!-- ##### SECTION Long_Description ##### -->
<para>
This widget is used to enter filenames or directories.
</para>
<para>
There is a #GtkEntry for entering the filename manually and a "..."
button which will pop up a #GtkFileSelection dialog.
</para>
<para>
You can restrict the #GimpFileSelection to directories. In this case
the filename listbox of the #GtkFileSelection dialog will be hidden.
</para>
<para>
If you specify @check_valid as #TRUE in gimp_file_entry_new()
the entered filename will be checked for validity and a pixmap will be
shown which indicates if the file exists or not.
</para>
<para>
Whenever the user changes the filename, the "filename_changed" signal
will be emitted.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GimpPathEditor
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GimpFileEntry ##### -->
<para>
</para>
<!-- ##### SIGNAL GimpFileEntry::filename-changed ##### -->
<para>
</para>
@gimpfileentry: the object which received the signal.
<!-- ##### FUNCTION gimp_file_entry_new ##### -->
<para>
</para>
@title:
@filename:
@dir_only:
@check_valid:
@Returns:
<!-- ##### FUNCTION gimp_file_entry_get_filename ##### -->
<para>
</para>
@entry:
@Returns:
<!-- ##### FUNCTION gimp_file_entry_set_filename ##### -->
<para>
</para>
@entry:
@filename: