Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## html-widget-new-document

Arguments: html-widget uri-string

This generic function is called when an `html-widget` has finished downloading a web page or loading a file. The default method calls the widget's on-new-document function if it has one, and otherwise does nothing. An application could add methods for an `html-widget` subclass.

html-widget is the `html-widget` that loaded the page.

uri-string is the URL of the web page that was downloaded, or the URI string for a file that was loaded (such as "file:///c:/dummy.txt").

An `html-browser` uses this generic function to display the URI in its status-bar if it has one, and also to add the URI to the history list in the dialog's combo-box. An application that uses an `html-widget` by itself could do similar things.

See the `html-widget` control.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version