12.2 XmHTML Widget object

Widget objects whose widget class is subclassed from xmHTML have the following additional methods:

AllocColor( color, def_pixel)
Returns pixel. This function corresponds with XmHTMLAllocColor. A convenience function for allocating a color

AnchorGetId( anchor)
Returns anchor_id. This function corresponds with XmHTMLAnchorGetId. Obtain the id of a HTML anchor in the currently displayed document.

AnchorScrollToId( anchor_id)
This function corresponds with XmHTMLAnchorScrollToId. Scroll to the requested anchor.

AnchorScrollToName( anchor)
This function corresponds with XmHTMLAnchorScrollToName. Scroll to the requested named anchor.

GetFontCacheInfo( )
Returns fontcacheinfo. This function corresponds with XmHTMLGetFontCacheInfo. Obtain information about XmHTML's font cache.

FrameGetChild( name)
Returns widget. This function corresponds with XmHTMLFrameGetChild. Return the Widget ID of a HTML frame child.

FreeColor( pixel)
This function corresponds with XmHTMLFreeColor. De-allocate a color.

GetTitle( )
Returns title. This function corresponds with XmHTMLGetTitle. Get the title of the currently displayed document.

GetHeadAttributes( mask)
Returns headattributes. This function corresponds with XmHTMLGetHeadAttributes. Obtain the contents of the HEAD section of the currently displayed document.

GetURLType( href)
Returns urltype. This function corresponds with XmHTMLGetURLType. Obtain the classification of a Uniform Resource Locator.

GetVersion( )
Returns version. This function corresponds with XmHTMLGetVersion. Return version information about the XmHTML Widget Library.

ImageFreeAllImages( )
This function corresponds with XmHTMLImageFreeAllImages. Release all images in the currently displayed document.

ImageFreeImageInfo( imageinfo)
This function corresponds with XmHTMLImageFreeImageInfo. Release a XmImageInfo structure.

ImageGetType( )
This function corresponds with XmHTMLImageGetType. Determine the type (format) of an image.

ImageAddImageMap( image_map)
This function corresponds with XmHTMLImageAddImageMap. Loads an HTML imagemap into the currently displayed document.

ImageProgressiveContinue( )
This function corresponds with XmHTMLImageProgressiveContinue. Continue progressively loading of images in the currently displayed document.

ImageProgressiveKill( )
This function corresponds with XmHTMLImageProgressiveKill. Abort progressive image loading.

ImageProgressiveSuspend( )
This function corresponds with XmHTMLImageProgressiveSuspend. Temporarily suspend progressive image loading.

ImageReplace( image, new_image)
This function corresponds with XmHTMLImageReplace. Replace an image with another image in the currently displayed document.

ImageUpdate( image)
This function corresponds with XmHTMLImageUpdate. Update an image with new information.

Redisplay( )
This function corresponds with XmHTMLRedisplay. Force a redisplay of the currently displayed document.

TextGetFormatted( papertype, paperdef, type, PSoptions)
Returns text. This function corresponds with XmHTMLTextGetFormatted. Obtain a formatted (carbon) copy of the currently displayed document.

TextGetSource( )
Returns source. This function corresponds with XmHTMLTextGetSource. Obtain a pointer to the source text of the currently displayed document.

TextGetString( )
Returns text. This function corresponds with XmHTMLTextGetString. Obtain a copy of the HTML parser output.

TextScrollToLine( line)
This function corresponds with XmHTMLTextScrollToLine. Scroll the currently displayed document to the requested line number.

TextSetString( text)
This function corresponds with XmHTMLTextSetString. Set a (new) HTML source text in a XmHTML widget.

TextSetStringWithLength( text)
This function corresponds with XmHTMLTextSetStringWithLength. Set a (new) HTML source text in a XmHTML widget.

XYToInfo( x, y)
Returns info. This function corresponds with XmHTMLXYToInfo. Obtain document information at a given location.