Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

WebOpenPanelResultListener Protocol Reference

Conforms to
Framework
/System/Library/Frameworks/WebKit.framework
Availability
Available in Mac OS X v10.2 with Safari 1.0 and later.
Available in Mac OS X v10.2.7 and later.
Companion guide
Declared in
WebUIDelegate.h

Overview

WebView user interface delegates that implement the webView:runOpenPanelForFileButtonWithResultListener: method use the methods defined in this protocol to communicate with the listener object. The methods allow the delegate to send a cancel message, or set the selected file name.

Tasks

Setting a File Name

Cancelling a File Open Operation

Instance Methods

cancel

Invoked when a file open operation was cancelled.

- (void)cancel

Availability
Declared In
WebUIDelegate.h

chooseFilename:

Handles the results of a file open panel.

- (void)chooseFilename:(NSString *)fileName

Discussion

This method is invoked when a file name, specified by fileName, was selected in a file open panel.

Availability
Declared In
WebUIDelegate.h

Next Page > Hide TOC


Last updated: 2006-05-23




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice