w3-tools.com - Free Webmaster Tools and Resources
 
w3-tools.com - Free Webmaster Tools and Resources
 Free Webmaster Tools and Resources

 



PHP-GTK Manual

This manual is provided as a courtesy. It is not an official source. Please check gtk.php.net for updated information.

PHP-GTK Manual

PHP-GTK Manual

GtkFileSelection

Widget for selecting a file or a directory.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkWindow
                            `-- GtkFileSelection

Direct subclasses

None.

Description

GtkFileSelection is used to retrieve files or directories requested by the end user. The widget contains a directory list and a file list which will correspond to the default directory, that is, either the current working directory or one determined using set_filename() .

The filesystem can be navigated using either the directory tree or the dropdown history menu. Alternatively it is possible to type the directory or file path into the selection_entry field, and also to use the TAB key to autocomplete either the directory name or file name entered in this way.

Constructor

GtkFileSelection ([string title ]);
-- Creates a new GtkFileSelection widget.

Methods

set_filename()
  Sets the default path.
get_filename()
  Returns the current selected path.
complete()
  Matches a given pattern to a valid file name.
show_fileop_buttons()
  Shows the file operation buttons.
hide_fileop_buttons()
  Hides the file operation buttons.

Properties

dir_list:
  Directory list.
file_list:
  File list.
selection_entry:
  Entry field.
selection_text:
  Directory selection status.
main_vbox:
  Main container.
ok_button:
  Standard button.
cancel_button:
  Standard button.
action_area:
  Container for custom additions.

Newsletter

Join to our newsletter and receive news and updates about our site.
Your name: 
E-mail address: 
Action: 
 

Hosted by

Search

Google
Web w3-tools.com

Links

  What is my IP? Find your IP address!     Valid XHTML 1.0 Transitional  
Copyright © 2006. by w3-tools.com. All rights reserved