1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
|
<refentry id="GnomeFileEntry">
<refmeta>
<refentrytitle role="top_of_page">GnomeFileEntry</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGNOMEUI Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GnomeFileEntry</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
#include <libgnomeui/libgnomeui.h>
<link linkend="GnomeFileEntry-struct">GnomeFileEntry</link>;
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-file-entry-new">gnome_file_entry_new</link> (const <link linkend="char">char</link> *history_id,
const <link linkend="char">char</link> *browse_dialog_title);
<link linkend="void">void</link> <link linkend="gnome-file-entry-construct">gnome_file_entry_construct</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
const <link linkend="char">char</link> *history_id,
const <link linkend="char">char</link> *browse_dialog_title);
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-file-entry-gnome-entry">gnome_file_entry_gnome_entry</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry);
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="gnome-file-entry-gtk-entry">gnome_file_entry_gtk_entry</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry);
<link linkend="void">void</link> <link linkend="gnome-file-entry-set-title">gnome_file_entry_set_title</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
const <link linkend="char">char</link> *browse_dialog_title);
<link linkend="void">void</link> <link linkend="gnome-file-entry-set-default-path">gnome_file_entry_set_default_path</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
const <link linkend="char">char</link> *path);
<link linkend="void">void</link> <link linkend="gnome-file-entry-set-directory-entry">gnome_file_entry_set_directory_entry</link>
(<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
<link linkend="gboolean">gboolean</link> directory_entry);
<link linkend="gboolean">gboolean</link> <link linkend="gnome-file-entry-get-directory-entry">gnome_file_entry_get_directory_entry</link>
(<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry);
<link linkend="char">char</link>* <link linkend="gnome-file-entry-get-full-path">gnome_file_entry_get_full_path</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
<link linkend="gboolean">gboolean</link> file_must_exist);
<link linkend="void">void</link> <link linkend="gnome-file-entry-set-filename">gnome_file_entry_set_filename</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
const <link linkend="char">char</link> *filename);
<link linkend="void">void</link> <link linkend="gnome-file-entry-set-modal">gnome_file_entry_set_modal</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
<link linkend="gboolean">gboolean</link> is_modal);
<link linkend="gboolean">gboolean</link> <link linkend="gnome-file-entry-get-modal">gnome_file_entry_get_modal</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry);
<link linkend="void">void</link> <link linkend="gnome-file-entry-set-directory">gnome_file_entry_set_directory</link> (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
<link linkend="gboolean">gboolean</link> directory_entry);
</synopsis>
</refsynopsisdiv>
<refsect1 role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
+----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
+----<link linkend="GtkObject">GtkObject</link>
+----<link linkend="GtkWidget">GtkWidget</link>
+----<link linkend="GtkContainer">GtkContainer</link>
+----<link linkend="GtkBox">GtkBox</link>
+----<link linkend="GtkVBox">GtkVBox</link>
+----GnomeFileEntry
+----<link linkend="GnomePixmapEntry">GnomePixmapEntry</link>
</synopsis>
</refsect1>
<refsect1 role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GnomeFileEntry implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>, <link linkend="GtkBuildable">GtkBuildable</link> and <link linkend="GtkEditable">GtkEditable</link>.</para>
</refsect1>
<refsect1 role="properties">
<title role="properties.title">Properties</title>
<synopsis>
"<link linkend="GnomeFileEntry--browse-dialog-title">browse-dialog-title</link>" <link linkend="gchararray">gchararray</link> : Read / Write
"<link linkend="GnomeFileEntry--default-path">default-path</link>" <link linkend="gchararray">gchararray</link> : Read / Write
"<link linkend="GnomeFileEntry--directory-entry">directory-entry</link>" <link linkend="gboolean">gboolean</link> : Read / Write
"<link linkend="GnomeFileEntry--filechooser-action">filechooser-action</link>" <link linkend="GtkFileChooserAction">GtkFileChooserAction</link> : Read / Write
"<link linkend="GnomeFileEntry--filename">filename</link>" <link linkend="gchararray">gchararray</link> : Read / Write
"<link linkend="GnomeFileEntry--gnome-entry">gnome-entry</link>" <link linkend="GnomeEntry">GnomeEntry</link> : Read
"<link linkend="GnomeFileEntry--gtk-entry">gtk-entry</link>" <link linkend="GtkEntry">GtkEntry</link> : Read
"<link linkend="GnomeFileEntry--history-id">history-id</link>" <link linkend="gchararray">gchararray</link> : Read / Write
"<link linkend="GnomeFileEntry--modal">modal</link>" <link linkend="gboolean">gboolean</link> : Read / Write
"<link linkend="GnomeFileEntry--use-filechooser">use-filechooser</link>" <link linkend="gboolean">gboolean</link> : Read / Write
</synopsis>
</refsect1>
<refsect1 role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>
"<link linkend="GnomeFileEntry-activate">activate</link>" : Run Last
"<link linkend="GnomeFileEntry-browse-clicked">browse-clicked</link>" : Run Last
</synopsis>
</refsect1>
<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="GnomeFileEntry-struct" role="struct"/>GnomeFileEntry</title>
<indexterm role="deprecated"><primary>GnomeFileEntry</primary></indexterm><programlisting>typedef struct _GnomeFileEntry GnomeFileEntry;</programlisting>
<warning><para><literal>GnomeFileEntry</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-new" role="function" condition="deprecated:"/>gnome_file_entry_new ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_file_entry_new (const <link linkend="char">char</link> *history_id,
const <link linkend="char">char</link> *browse_dialog_title);</programlisting>
<warning><para><literal>gnome_file_entry_new</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Creates a new <link linkend="GnomeFileEntry"><type>GnomeFileEntry</type></link> widget.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>history_id</parameter> :</term>
<listitem><simpara> the id given to <link linkend="gnome-entry-new"><type>gnome_entry_new</type></link> (see <link linkend="GnomeEntry"><type>GnomeEntry</type></link>).
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>browse_dialog_title</parameter> :</term>
<listitem><simpara> Title for the file dialog window.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> A pointer to the widget, NULL if it cannot be created.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-construct" role="function" condition="deprecated:"/>gnome_file_entry_construct ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_construct</primary></indexterm><programlisting><link linkend="void">void</link> gnome_file_entry_construct (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
const <link linkend="char">char</link> *history_id,
const <link linkend="char">char</link> *browse_dialog_title);</programlisting>
<warning><para><literal>gnome_file_entry_construct</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Constructs a <link linkend="GnomeFileEntry"><type>GnomeFileEntry</type></link></para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> A <link linkend="GnomeFileEntry"><type>GnomeFileEntry</type></link> to construct.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>history_id</parameter> :</term>
<listitem><simpara> the id given to <link linkend="gnome-entry-new"><type>gnome_entry_new</type></link> (see <link linkend="GnomeEntry"><type>GnomeEntry</type></link>).
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>browse_dialog_title</parameter> :</term>
<listitem><simpara> Title for the file dialog window.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-gnome-entry" role="function" condition="deprecated:"/>gnome_file_entry_gnome_entry ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_gnome_entry</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_file_entry_gnome_entry (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry);</programlisting>
<warning><para><literal>gnome_file_entry_gnome_entry</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
It returns a pointer to the gnome entry widget of the
widget (see<link linkend="GnomeEntry"><type>GnomeEntry</type></link>).</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> A pointer to the component <link linkend="GnomeEntry"><type>GnomeEntry</type></link> widget
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-gtk-entry" role="function" condition="deprecated:"/>gnome_file_entry_gtk_entry ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_gtk_entry</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gnome_file_entry_gtk_entry (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry);</programlisting>
<warning><para><literal>gnome_file_entry_gtk_entry</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Similar to <link linkend="gnome-file-entry-gnome-entry"><type>gnome_file_entry_gnome_entry</type></link> but
returns the gtk entry instead of the Gnome entry widget.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Returns the GtkEntry widget
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-set-title" role="function" condition="deprecated:"/>gnome_file_entry_set_title ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_set_title</primary></indexterm><programlisting><link linkend="void">void</link> gnome_file_entry_set_title (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
const <link linkend="char">char</link> *browse_dialog_title);</programlisting>
<warning><para><literal>gnome_file_entry_set_title</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Set the title of the browse dialog to <parameter>browse_dialog_title</parameter>.
The new title will go into effect the next time the browse button is pressed.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>browse_dialog_title</parameter> :</term>
<listitem><simpara> The new title for the file browse dialog window.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-set-default-path" role="function" condition="deprecated:"/>gnome_file_entry_set_default_path ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_set_default_path</primary></indexterm><programlisting><link linkend="void">void</link> gnome_file_entry_set_default_path (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
const <link linkend="char">char</link> *path);</programlisting>
<warning><para><literal>gnome_file_entry_set_default_path</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Set the default path of browse dialog to <parameter>path</parameter>. The
default path is only used if the entry is empty or if the current path
of the entry is not an absolute path, in which case the default
path is prepended to it before the dialog is started.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path</parameter> :</term>
<listitem><simpara> A path string.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-set-directory-entry" role="function" condition="deprecated:"/>gnome_file_entry_set_directory_entry ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_set_directory_entry</primary></indexterm><programlisting><link linkend="void">void</link> gnome_file_entry_set_directory_entry
(<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
<link linkend="gboolean">gboolean</link> directory_entry);</programlisting>
<warning><para><literal>gnome_file_entry_set_directory_entry</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Sets whether this is a directory only entry. If
<parameter>directory_entry</parameter> is true, then <link linkend="gnome-file-entry-get-full-path"><type>gnome_file_entry_get_full_path</type></link> will
check for the file being a directory, and the browse dialog will have
the file list disabled.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>directory_entry</parameter> :</term>
<listitem><simpara> boolean
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-get-directory-entry" role="function" condition="deprecated:"/>gnome_file_entry_get_directory_entry ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_get_directory_entry</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_file_entry_get_directory_entry
(<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry);</programlisting>
<warning><para><literal>gnome_file_entry_get_directory_entry</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Gets whether this is a directory only entry.
See also <link linkend="gnome-file-entry-set-directory-entry"><type>gnome_file_entry_set_directory_entry</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> A boolean.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-get-full-path" role="function" condition="deprecated:"/>gnome_file_entry_get_full_path ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_get_full_path</primary></indexterm><programlisting><link linkend="char">char</link>* gnome_file_entry_get_full_path (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
<link linkend="gboolean">gboolean</link> file_must_exist);</programlisting>
<warning><para><literal>gnome_file_entry_get_full_path</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Gets the full absolute path of the file from the entry.
If <parameter>file_must_exist</parameter> is false, nothing is tested and the path is returned.
If <parameter>file_must_exist</parameter> is true, then the path is only returned if the path
actually exists. In case the entry is a directory entry (see
<link linkend="gnome-file-entry-set-directory-entry"><type>gnome_file_entry_set_directory_entry</type></link>), then if the path exists and is a
directory then it's returned; if not, it is assumed it was a file so
we try to strip it, and try again. It allocates memory for the returned string.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>file_must_exist</parameter> :</term>
<listitem><simpara> boolean
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a newly allocated string with the path or NULL if something went
wrong
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-set-filename" role="function" condition="deprecated:"/>gnome_file_entry_set_filename ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_set_filename</primary></indexterm><programlisting><link linkend="void">void</link> gnome_file_entry_set_filename (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
const <link linkend="char">char</link> *filename);</programlisting>
<warning><para><literal>gnome_file_entry_set_filename</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Sets the internal entry to this string.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filename</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-set-modal" role="function" condition="deprecated:"/>gnome_file_entry_set_modal ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_set_modal</primary></indexterm><programlisting><link linkend="void">void</link> gnome_file_entry_set_modal (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
<link linkend="gboolean">gboolean</link> is_modal);</programlisting>
<warning><para><literal>gnome_file_entry_set_modal</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Sets the modality of the browse dialog.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>is_modal</parameter> :</term>
<listitem><simpara> true if the window is to be modal, false otherwise.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-get-modal" role="function" condition="deprecated:"/>gnome_file_entry_get_modal ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_get_modal</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_file_entry_get_modal (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry);</programlisting>
<warning><para><literal>gnome_file_entry_get_modal</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
This function gets the boolean which specifies if
the browsing dialog is modal or not</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> A boolean.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-file-entry-set-directory" role="function" condition="deprecated:"/>gnome_file_entry_set_directory ()</title>
<indexterm role="deprecated"><primary>gnome_file_entry_set_directory</primary></indexterm><programlisting><link linkend="void">void</link> gnome_file_entry_set_directory (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fentry,
<link linkend="gboolean">gboolean</link> directory_entry);</programlisting>
<warning><para><literal>gnome_file_entry_set_directory</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Deprecated, use <link linkend="gnome-file-entry-set-directory-entry"><type>gnome_file_entry_set_directory_entry</type></link></para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fentry</parameter> :</term>
<listitem><simpara> The GnomeFileEntry widget to work with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>directory_entry</parameter> :</term>
<listitem><simpara> boolean
</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>
<refsect1 role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2><title><anchor id="GnomeFileEntry--browse-dialog-title"/>The <literal>"browse-dialog-title"</literal> property</title>
<indexterm><primary>GnomeFileEntry:browse-dialog-title</primary></indexterm><programlisting> "browse-dialog-title" <link linkend="gchararray">gchararray</link> : Read / Write</programlisting>
<para>Title for the Browse file dialog.</para><para>Default value: NULL</para>
</refsect2>
<refsect2><title><anchor id="GnomeFileEntry--default-path"/>The <literal>"default-path"</literal> property</title>
<indexterm><primary>GnomeFileEntry:default-path</primary></indexterm><programlisting> "default-path" <link linkend="gchararray">gchararray</link> : Read / Write</programlisting>
<para>Default path for the Browse file window.</para><para>Default value: NULL</para>
</refsect2>
<refsect2><title><anchor id="GnomeFileEntry--directory-entry"/>The <literal>"directory-entry"</literal> property</title>
<indexterm><primary>GnomeFileEntry:directory-entry</primary></indexterm><programlisting> "directory-entry" <link linkend="gboolean">gboolean</link> : Read / Write</programlisting>
<para>Whether the file entry is being used to enter directory names or complete filenames.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2><title><anchor id="GnomeFileEntry--filechooser-action"/>The <literal>"filechooser-action"</literal> property</title>
<indexterm><primary>GnomeFileEntry:filechooser-action</primary></indexterm><programlisting> "filechooser-action" <link linkend="GtkFileChooserAction">GtkFileChooserAction</link> : Read / Write</programlisting>
<para>The type of operation that the file selector is performing.</para><para>Default value: GTK_FILE_CHOOSER_ACTION_OPEN</para>
</refsect2>
<refsect2><title><anchor id="GnomeFileEntry--filename"/>The <literal>"filename"</literal> property</title>
<indexterm><primary>GnomeFileEntry:filename</primary></indexterm><programlisting> "filename" <link linkend="gchararray">gchararray</link> : Read / Write</programlisting>
<para>Filename that should be displayed in the file entry.</para><para>Default value: NULL</para>
</refsect2>
<refsect2><title><anchor id="GnomeFileEntry--gnome-entry"/>The <literal>"gnome-entry"</literal> property</title>
<indexterm><primary>GnomeFileEntry:gnome-entry</primary></indexterm><programlisting> "gnome-entry" <link linkend="GnomeEntry">GnomeEntry</link> : Read</programlisting>
<para>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.</para></refsect2>
<refsect2><title><anchor id="GnomeFileEntry--gtk-entry"/>The <literal>"gtk-entry"</literal> property</title>
<indexterm><primary>GnomeFileEntry:gtk-entry</primary></indexterm><programlisting> "gtk-entry" <link linkend="GtkEntry">GtkEntry</link> : Read</programlisting>
<para>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.</para></refsect2>
<refsect2><title><anchor id="GnomeFileEntry--history-id"/>The <literal>"history-id"</literal> property</title>
<indexterm><primary>GnomeFileEntry:history-id</primary></indexterm><programlisting> "history-id" <link linkend="gchararray">gchararray</link> : Read / Write</programlisting>
<para>Unique identifier for the file entry. This will be used to save the history list.</para><para>Default value: NULL</para>
</refsect2>
<refsect2><title><anchor id="GnomeFileEntry--modal"/>The <literal>"modal"</literal> property</title>
<indexterm><primary>GnomeFileEntry:modal</primary></indexterm><programlisting> "modal" <link linkend="gboolean">gboolean</link> : Read / Write</programlisting>
<para>Whether the Browse file window should be modal.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2><title><anchor id="GnomeFileEntry--use-filechooser"/>The <literal>"use-filechooser"</literal> property</title>
<indexterm><primary>GnomeFileEntry:use-filechooser</primary></indexterm><programlisting> "use-filechooser" <link linkend="gboolean">gboolean</link> : Read / Write</programlisting>
<para>Whether to use the new GtkFileChooser widget or the GtkFileSelection widget to select files.</para><para>Default value: FALSE</para>
</refsect2>
</refsect1>
<refsect1 role="signals">
<title role="signals.title">Signal Details</title>
<refsect2><title><anchor id="GnomeFileEntry-activate"/>The <literal>"activate"</literal> signal</title>
<indexterm><primary>GnomeFileEntry::activate</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fileentry,
<link linkend="gpointer">gpointer</link> user_data) : Run Last</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fileentry</parameter> :</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter> :</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2><title><anchor id="GnomeFileEntry-browse-clicked"/>The <literal>"browse-clicked"</literal> signal</title>
<indexterm><primary>GnomeFileEntry::browse-clicked</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GnomeFileEntry">GnomeFileEntry</link> *fileentry,
<link linkend="gpointer">gpointer</link> user_data) : Run Last</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>fileentry</parameter> :</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter> :</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>
</refentry>
|