| BaH.GTKWebGTKHTML: | Types | Modinfo | Source |
| TGTKWebGTKHTML | An HTMLView gadget, based on gtkhtml. |
| Type TGTKWebGTKHTML Extends TGTKHTMLView | |
| Description | An HTMLView gadget, based on gtkhtml. |
| Information | Call it a kludge if you like.. but it mostly works.
The gtkhtml widget is wrapped inside a scrollwindow, which itself is placed inside a vbox.
The reason being that I couldn't get the gtkhtml/scrollwindow to resize when/how I wanted, but by
placing it inside a gtkbox widget, I can resize that and the rest will follow automagically :-) Of course, the gtkhtml widget doesn't do much in the way of URL processing, *nor* in fetching any of its own content, all of which passes thru a LoadString() in a callback. I say - HACKY.... but it works, mostly :-p. |
| Functions Summary | |
|---|---|
| LinkClicked | Called when a link is clicked. |
| PageLoaded | Called when the page finishes loading. |
| processURL | Called when a URL requires processing. |
| urlAnchor | Returns a anchor from a full URL, If there was one. |
| urlLessAnchor | Returns a URL minus an anchor, If there was one. |
| Function LinkClicked(handle:Byte Ptr, link:Byte Ptr, obj:Object) | |
| Description | Called when a link is clicked. |
| Information | If HTMLVIEW_NONAVIGATE is set For the view, an event is raised, rather than the link followed. |
| Function PageLoaded(handle:Byte Ptr, obj:Object) | |
| Description | Called when the page finishes loading. |
| Function processURL(handle:Byte Ptr, url:Byte Ptr, html_stream:Byte Ptr, data:Object) | |
| Description | Called when a URL requires processing. |
| Information | This can Include images during a page load, etc. |
| Function urlAnchor:String(url:String) | |
| Description | Returns a anchor from a full URL, If there was one. |
| Function urlLessAnchor:String(url:String) | |
| Description | Returns a URL minus an anchor, If there was one. |
| Version | 1.02 |
|---|---|
| Author | Bruce Henderson |
| License | Blitz Shared Source Code |
| Copyright | Bruce A Henderson |
| Modserver | BRL |
| History | 1.02 |
| History | ProcessURL changes to use banks. [Simon Armstrong] |
| History | 1.01 |
| History | Minor tweaks. |
| History | 1.00 |
| History | Initial Release. |