PHP-GTK
Saturday, October 25, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkFileChooser::set_local_only
GtkFileChooser::set_preview_widget_activenext

Last updated: Sun, 12 May 2013
view this page in English

GtkFileChooser::set_preview_widget

Sets an application-supplied widget to use to display a custom preview of the currently selected file. To implement a preview, after setting the preview widget, you connect to the update-preview signal, and call get_preview_filename() or get_preview_uri() on each change. If you can display a preview of the new file, update your widget and set the preview active using set_preview_widget_active() . Otherwise, set the preview inactive.

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.


User Contributed Notes
gtk.gtkfilechooser.method.set_preview_widget.php
add a note about notes
There are no user contributed notes for this page.


previousGtkFileChooser::set_local_only
GtkFileChooser::set_preview_widget_activenext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:57 2013 CEST