2004-11-05 21:25:40 +00:00
<Type Name= "FileChooserWidget" FullName= "Gtk.FileChooserWidget" >
2005-06-24 19:27:01 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class FileChooserWidget : Gtk.VBox, Gtk.FileChooser" />
2004-11-05 21:25:40 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
<AssemblyPublicKey > [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
2005-12-09 23:12:49 +00:00
<AssemblyVersion > 2.8.0.0</AssemblyVersion>
2004-11-05 21:25:40 +00:00
</AssemblyInfo>
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Widget to allow the selection of files from a directory.</summary>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.VBox</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > Gtk.FileChooser</InterfaceName>
</Interface>
</Interfaces>
<Members >
<Member MemberName= "SetCurrentFolderUri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SetCurrentFolderUri (string uri);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uri" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Sets the current folder for the chooser from an URI.
</summary>
<param name= "uri" > a <see cref= "T:System.String" /> , the URI to use</param>
<returns > a <see cref= "T:System.Boolean" /> , true if the folder could be changed successfully, false otherwise</returns>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
The user will be shown the full contents of the current folder,
plus user interface elements for navigating to other folders.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "UnselectAll" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void UnselectAll ();" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Unselects all the files in the current folder of a file chooser.</summary>
2005-04-21 17:10:54 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SetFilename" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SetFilename (string filename);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "filename" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
2005-04-21 17:10:54 +00:00
Sets <paramref name= "filename" /> as the current filename for
2004-12-29 15:12:34 +00:00
the file chooser;
If the file name isn't in the current folder of the file chooser, then the
current folder of the file chooser will be changed to the folder containing
2005-04-21 17:10:54 +00:00
<paramref name= "filename" /> .
2004-12-29 15:12:34 +00:00
</summary>
2004-11-05 21:25:40 +00:00
<param name= "filename" > a <see cref= "T:System.String" /> </param>
2004-12-29 15:12:34 +00:00
<returns > a <see cref= "T:System.Boolean" /> , true if both the
folder could be changed and the file was
selected successfully, false otherwise. </returns>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
This is equivalent to a sequence of
2005-04-21 17:10:54 +00:00
<see cref= "M:Gtk.FileChooser.UnselectAll" />
followed by <see cref= "M:Gtk.FileChooser.SelectFilename" /> .
2004-12-29 15:12:34 +00:00
Note that the file must exist, or nothing will be done except
for the directory change. To pre-enter a filename for the user, as in
2005-04-21 17:10:54 +00:00
a save-as dialog, use <see cref= "M:Gtk.FileChooser.SetCurrentFilename" /> .
2004-12-29 15:12:34 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveShortcutFolderUri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool RemoveShortcutFolderUri (string uri);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uri" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Removes a folder URI from a file chooser's list of shortcut folders.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "uri" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-12-21 04:08:27 +00:00
<remarks >
2005-04-21 17:10:54 +00:00
See also <see cref= "M:Gtk.FileChooser.AddShortcutFolderUri" /> .
2004-12-29 15:12:34 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "AddShortcutFolderUri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool AddShortcutFolderUri (string uri);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uri" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Adds a folder URI to be displayed with the shortcut folders in a file
chooser.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "uri" > a <see cref= "T:System.String" /> </param>
2004-12-29 15:12:34 +00:00
<returns > a <see cref= "T:System.Boolean" /> , true if the folder
could be added successfully, false otherwise.</returns>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
Note that shortcut folders do not get saved, as they are provided
by the application. For example, you can use this to add a
"file:///usr/share/mydrawprogram/Clipart" folder to the volume list.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SelectAll" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SelectAll ();" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Selects all the files in the current folder of a file chooser.</summary>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SelectUri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SelectUri (string uri);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uri" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
2005-04-21 17:10:54 +00:00
Selects the file at <paramref name= "uri" /> . If the URI doesn't refer to a
2004-12-29 15:12:34 +00:00
file in the current folder of the file chooser, then the current folder of
2005-04-21 17:10:54 +00:00
the file chooser will be changed to the folder that's part of <paramref name= "uri" /> .
2004-12-29 15:12:34 +00:00
</summary>
2004-11-05 21:25:40 +00:00
<param name= "uri" > a <see cref= "T:System.String" /> </param>
2004-12-29 15:12:34 +00:00
<returns > a <see cref= "T:System.Boolean" /> , true if both the
folder could be changed and the URI was
selected successfully, false otherwise.</returns>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveFilter" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void RemoveFilter (Gtk.FileFilter filter);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "filter" Type= "Gtk.FileFilter" />
</Parameters>
<Docs >
2005-04-21 17:10:54 +00:00
<summary > Removes <paramref name= "filter" /> from the list of filters that the user can select between.</summary>
2004-11-05 21:25:40 +00:00
<param name= "filter" > a <see cref= "T:Gtk.FileFilter" /> </param>
2004-12-21 04:08:27 +00:00
<remarks >
2005-04-21 17:10:54 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "AddShortcutFolder" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool AddShortcutFolder (string folder);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "folder" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Adds a folder to be displayed with the shortcut folders in a file chooser.</summary>
2004-11-05 21:25:40 +00:00
<param name= "folder" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
Note that shortcut folders do not get saved, as they are provided by the
application. For example, you can use this to add a
"/usr/share/mydrawprogram/Clipart" folder to the volume list.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SelectFilename" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SelectFilename (string filename);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "filename" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Selects a filename.</summary>
2004-11-05 21:25:40 +00:00
<param name= "filename" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
If the file name isn't in the current
folder of the file chooser, then the current folder of the file chooser will
2005-04-21 17:10:54 +00:00
be changed to the folder containing <paramref name= "filename" /> .
2004-12-29 15:12:34 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "UnselectFilename" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void UnselectFilename (string filename);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "filename" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Unselects a currently selected filename.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "filename" > a <see cref= "T:System.String" /> </param>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
If the filename is not in the current directory, does not exist, or
is otherwise not currently selected, does nothing.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "AddFilter" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void AddFilter (Gtk.FileFilter filter);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "filter" Type= "Gtk.FileFilter" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
2005-04-21 17:10:54 +00:00
Adds <paramref name= "filter" /> to the list of filters that the
2004-12-29 15:12:34 +00:00
user can select between.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "filter" > a <see cref= "T:Gtk.FileFilter" /> </param>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
When a filter is selected, only files that are passed by that
filter are displayed.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveShortcutFolder" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool RemoveShortcutFolder (string folder);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "folder" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Removes a folder from a file chooser's list of shortcut folders.</summary>
2004-11-05 21:25:40 +00:00
<param name= "folder" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2005-04-21 17:10:54 +00:00
<remarks > See also <see cref= "M:Gtk.FileChooser.AddShortcutFolder" /> .</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "UnselectUri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void UnselectUri (string uri);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uri" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
2005-04-21 17:10:54 +00:00
Unselects the file referred to by <paramref name= "uri" /> .
2004-12-29 15:12:34 +00:00
</summary>
2004-11-05 21:25:40 +00:00
<param name= "uri" > a <see cref= "T:System.String" /> </param>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
If the file is not in the current directory, does not exist, or
is otherwise not currently selected, does nothing.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SetCurrentFolder" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SetCurrentFolder (string filename);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "filename" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Sets the current folder for the file chooser from a local filename.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "filename" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
The user will be shown the full contents of the current folder,
plus user interface elements for navigating to other folders.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SetUri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SetUri (string uri);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "uri" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
2005-04-21 17:10:54 +00:00
Sets the file referred to by <paramref name= "uri" /> as the
2004-12-29 15:12:34 +00:00
current file for the the file chooser.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "uri" > a <see cref= "T:System.String" /> </param>
2004-12-29 15:12:34 +00:00
<returns > a <see cref= "T:System.Boolean" /> , true if both the folder
could be changed and the URI was
selected successfully, false otherwise.</returns>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "OnSelectionChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnSelectionChanged ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-08 02:37:02 +00:00
<summary > Default handler for the <see cref= "M:Gtk.FileChooserWidget.SelectionChanged" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.FileChooserWidget.SelectionChanged" /> event.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "OnFileActivated" >
<MemberSignature Language= "C#" Value= "protected virtual void OnFileActivated ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-08 02:37:02 +00:00
<summary > Default handler for the <see cref= "M:Gtk.FileChooserWidget.FileActivated" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.FileChooserWidget.FileActivated" /> event.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "OnUpdatePreview" >
<MemberSignature Language= "C#" Value= "protected virtual void OnUpdatePreview ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-08 02:37:02 +00:00
<summary > Default handler for the <see cref= "M:Gtk.FileChooserWidget.UpdatePreview" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.FileChooserWidget.UpdatePreview" /> event.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "OnCurrentFolderChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnCurrentFolderChanged ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-08 02:37:02 +00:00
<summary > Default handler for the <see cref= "M:Gtk.FileChooserWidget.CurrentFolderChanged" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.FileChooserWidget.CurrentFolderChanged" /> event.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected FileChooserWidget (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Protected constructor.</summary>
2004-11-05 21:25:40 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public FileChooserWidget (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Constructor for internal use.</summary>
<param name= "raw" > a <see cref= "T:System.IntPtr" /> , pointer to underlying C object</param>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public FileChooserWidget (Gtk.FileChooserAction action);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "action" Type= "Gtk.FileChooserAction" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Public constructor.</summary>
<param name= "action" > a <see cref= "T:Gtk.FileChooserAction" /> , the action this chooser will perform</param>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public FileChooserWidget (Gtk.FileChooserAction action, string backend);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "action" Type= "Gtk.FileChooserAction" />
<Parameter Name= "backend" Type= "System.String" />
</Parameters>
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Public constructor.</summary>
<param name= "action" > a <see cref= "T:Gtk.FileChooserAction" /> , the action this widget should perform</param>
<param name= "backend" > a <see cref= "T:System.String" /> , the filesystem back-end to use.</param>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The <see cref= "T:GLib.GType" /> for this object.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "CurrentFolderUri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string CurrentFolderUri { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The file chooser's current folder, if set from a URI.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "ExtraWidget" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gtk.Widget ExtraWidget { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > An application-supplied widget to provide extra options to the user.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.Widget" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="extra-widget")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "CurrentName" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string CurrentName { set; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Property to represent the current name in the file selector,
as if entered by the user.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
Note that the name passed in here is a UTF-8
string rather than a filename. This function is meant for
such uses as a suggested name in a "Save As..." dialog.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Filter" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gtk.FileFilter Filter { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.FileFilter</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The currently-applied file filter.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.FileFilter" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="filter")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "LocalOnly" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool LocalOnly { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Sets whether only local files can be selected in the
file selector.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
If true (the default),
then the selected file are files are guaranteed to be
accessible through the operating systems native file
file system and therefore the application only
needs to worry about the filename functions in
2005-04-21 17:10:54 +00:00
<see cref= "T:Gtk.FileChooser" /> , like
<see cref= "M:Gtk.FileChooser.GetFilename" /> ,
2004-12-29 15:12:34 +00:00
rather than the URI functions like
2005-04-21 17:10:54 +00:00
<see cref= "M:Gtk.FileChooser.GetUri" /> .
2004-12-29 15:12:34 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="local-only")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "PreviewWidgetActive" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool PreviewWidgetActive { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
2005-04-21 17:10:54 +00:00
Sets whether the preview widget set by <see cref= "M:Gtk.FileChooser.SetPreviewWidget" />
2004-12-29 15:12:34 +00:00
should be shown for the current filename.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
2004-12-29 15:12:34 +00:00
<remarks > When this property is set to false, the file chooser
may display an internally generated preview of the current file
or it may display no preview at all.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="preview-widget-active")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "PreviewFilename" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string PreviewFilename { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > Internal function; gets the filename that should be previewed in a custom preview.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2004-12-29 15:12:34 +00:00
<remarks > Not for general programmer use.</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Uri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string Uri { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The URI for the currently selected file in
the file selector. </summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
If multiple files are selected,
one of the filenames will be returned at random.
If the file chooser is in folder mode, this function returns the
selected folder.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "UsePreviewLabel" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool UsePreviewLabel { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Sets whether the file chooser should display a stock label with the name of
the file that is being previewed; the default is true.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
Applications that
want to draw the whole preview area themselves should set this
to false and display the name themselves in their preview widget.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="use-preview-label")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Filename" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string Filename { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The current filename selected by the file chooser.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "PreviewUri" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string PreviewUri { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The URI that should be previewed in a custom preview widget. </summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SelectMultiple" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool SelectMultiple { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Sets whether multiple files can be selected in the file selector.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
This is only relevant if the action is set to be
2005-04-21 17:10:54 +00:00
<see cref= "M:Gtk.FileChooserAction.Open" /> or
<see cref= "M:Gtk.FileChooserAction.Save" /> .
2004-12-29 15:12:34 +00:00
It cannot be set with either of the folder actions.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="select-multiple")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "PreviewWidget" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gtk.Widget PreviewWidget { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
An application-supplied widget to use to display a custom preview
of the currently selected file.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.Widget" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
2005-04-21 17:10:54 +00:00
<para >
2004-12-29 15:12:34 +00:00
To implement a preview, after setting the
preview widget, you connect to the
2005-04-21 17:10:54 +00:00
<see cref= "E:Gtk.FileChooser.SelectionChanged" />
2004-12-29 15:12:34 +00:00
signal, and check
2005-04-21 17:10:54 +00:00
<see cref= "P:Gtk.FileChooser.PreviewFilename" /> or
<see cref= "P:Gtk.FileChooser.PreviewUri" />
2004-12-29 15:12:34 +00:00
on each change. If you can
display a preview of the new file, update your widget and
set the preview active using
2005-04-21 17:10:54 +00:00
<see cref= "P:Gtk.FileChooser.PreviewWidgetActive" />
2004-12-29 15:12:34 +00:00
Otherwise, set the preview inactive.
</para>
2005-04-21 17:10:54 +00:00
<para >
2004-12-29 15:12:34 +00:00
When there is no application-supplied preview widget, or the
application-supplied preview widget is not active, the file chooser
may display an internally generated preview of the current file or
it may display no preview at all.
</para>
2005-04-21 17:10:54 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="preview-widget")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Action" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gtk.FileChooserAction Action { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.FileChooserAction</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
Sets the type of operation that that the chooser is performing; the
user interface is adapted to suit the selected action.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.FileChooserAction" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
For example,
an option to create a new folder might be shown if the action is
2005-04-21 17:10:54 +00:00
<see cref= "M:Gtk.FileChooserAction.Save" /> but not if the action is
<see cref= "M:Gtk.FileChooserAction.Open" /> .
2004-12-29 15:12:34 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="action")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "CurrentFolder" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string CurrentFolder { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The current folder for the file chooser, when the chooser has selected a local filename.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Filenames" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string[] Filenames { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The filenames selected by this widget.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String[]" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Uris" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string[] Uris { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The URIs selected by this widget.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String[]" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Filters" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gtk.FileFilter[] Filters { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.FileFilter[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The filters currently in use by this widget for patterns of files to display.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.FileFilter[]" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "ShortcutFolders" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string[] ShortcutFolders { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The shortcut folders currently in use for this widget.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String[]" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "ShortcutFolderUris" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string[] ShortcutFolderUris { get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary > The shortcut URIs currently allowed for this widget.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.String[]" /> </value>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "SelectionChanged" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event EventHandler SelectionChanged;" />
2004-11-05 21:25:40 +00:00
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-09-19 00:36:43 +00:00
<summary > This event is raised every time the selected file changes.</summary>
2004-12-21 04:08:27 +00:00
<remarks >
2005-04-21 17:10:54 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="selection-changed")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "FileActivated" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event EventHandler FileActivated;" />
2004-11-05 21:25:40 +00:00
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
This signal is emitted when the user "activates" a file in the file
chooser.
</summary>
2004-12-21 04:08:27 +00:00
<remarks >
2004-12-29 15:12:34 +00:00
This event can happen by double-clicking on a file in the file list, or
by pressing Enter.
Normally you do not need to connect to this signal. It is used internally
by the file chooser code to know when to activate the default button in the dialog.
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="file-activated")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "UpdatePreview" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event EventHandler UpdatePreview;" />
2004-11-05 21:25:40 +00:00
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-29 15:12:34 +00:00
<summary >
This signal is emitted when the preview in a file chooser should be
regenerated. For example, this can happen when the currently
selected file changes.
</summary>
<remarks >
2005-04-21 17:10:54 +00:00
<para > You should use this signal if you want your file chooser to have
2004-12-29 15:12:34 +00:00
a preview widget.</para>
2005-04-21 17:10:54 +00:00
<para > Once you have installed a preview widget with
<see cref= "P:Gtk.FileChooser.PreviewWidget" /> , you should update it when this
2004-12-29 15:12:34 +00:00
signal is emitted. You can use the properties
2005-04-21 17:10:54 +00:00
<see cref= "P:Gtk.FileChooser.PreviewFilename" /> or
<see cref= "P:Gtk.FileChooser.PreviewUri" />
2004-12-29 15:12:34 +00:00
to get the name of the file to preview.
Your widget may not be able to preview all kinds of files; your callback
2005-04-21 17:10:54 +00:00
must set <see cref= "P:Gtk.FileChooser.PreviewWidgetActive" /> to inform the file
2004-12-29 15:12:34 +00:00
chooser about whether the preview was generated successfully or not.
</para>
2005-04-21 17:10:54 +00:00
<para >
2004-12-29 15:12:34 +00:00
TODO: insert example from gtkfilechooser-preview in gtk+ docs.
</para>
2005-04-21 17:10:54 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="update-preview")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "CurrentFolderChanged" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event EventHandler CurrentFolderChanged;" />
2004-11-05 21:25:40 +00:00
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-09-19 00:36:43 +00:00
<summary > Event raised when the chooser changes the folder it's looking at.</summary>
2004-12-21 04:08:27 +00:00
<remarks >
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="current-folder-changed")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "ShowHidden" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool ShowHidden { set; get; };" />
2005-04-21 17:10:54 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-07-22 18:35:37 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="show-hidden")</AttributeName>
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2005-12-09 23:12:49 +00:00
<Member MemberName= "ConfirmOverwrite" >
<MemberSignature Language= "C#" Value= "public event Gtk.ConfirmOverwriteHandler ConfirmOverwrite;" />
<MemberType > Event</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Signal(CName="confirm-overwrite")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > Gtk.ConfirmOverwriteHandler</ReturnType>
</ReturnValue>
<Docs >
<summary > Indicates a file overwrite has been requested.</summary>
<remarks > This event is raised when the user has selected a file name that already exists and the file chooser is in <see cref= "F:Gtk.FileChooserAction.Save" /> mode.
Most applications just need to turn on the <see cref= "P:Gtk.FileChooserWidget.DoOverwriteConfirmation" /> property and they will automatically get a stock confirmation dialog. Applications which need to customize this behavior should do that, and also connect to this event.
A <see cref= "T:Gtk.ConfirmOverwriteHandler" /> connected to this event must set <see cref= "M:GLib.SignalArgs.RetVal" /> to the <see cref= "T:Gtk.FileChooserConfirmation" /> value indicating the action to take. If the handler determines that the user wants to select a different filename, it should return <see cref= "F:Gtk.FileChooserConfirmation.SelectAgain" /> . If it determines that the user is satisfied with his choice of file name, it should return <see cref= "F:Gtk.FileChooserConfirmation.AcceptFilename" /> . On the other hand, if it determines that the stock confirmation dialog should be used, it should return <see cref= "F:Gtk.FileChooserConfirmation.Confirm" /> .</remarks>
<since version= "Gtk# 2.8" />
</Docs>
</Member>
<Member MemberName= "OnConfirmOverwrite" >
<MemberSignature Language= "C#" Value= "protected virtual Gtk.FileChooserConfirmation OnConfirmOverwrite ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.FileChooserConfirmation</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Default handler for the <see cref= "M:Gtk.FileChooserWidget.ConfirmOverwrite" /> event.</summary>
<returns > To be added.</returns>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.FileChooserWidget.ConfirmOverwrite" /> event.</remarks>
<since version= "Gtk# 2.8" />
</Docs>
</Member>
<Member MemberName= "DoOverwriteConfirmation" >
<MemberSignature Language= "C#" Value= "public bool DoOverwriteConfirmation { set; get; };" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
<AttributeName > GLib.Property(Name="do-overwrite-confirmation")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
<summary > Enables Overwrite Confirmation in the widget.</summary>
<value > is <see langword= "true" /> if confirmation should be performed.</value>
<remarks />
<since version= "Gtk# 2.8" />
</Docs>
</Member>
2004-11-05 21:25:40 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>