idllib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

fileio/

mg_xml_browser.pro

xml, fileio

includes main-level program

MG_XML_BROWSER is a widget program to browse the contents of an XML file (either a local file or an URL).

Class description for mg_xml_browser_parser

Inheritance

Properties

root init

Author information

Author

Michael Galloy

Routines

mg_xml_browser_parser::startElement, uri, local, name, attName, attValue
mg_xml_browser_parser::endElement, uri, local, name
mg_xml_browser_parser::characters, chars
result = mg_xml_browser_parser::init(root=root)
mg_xml_browser_parser__define
mg_xml_browser_resize, tlb, x, y

Resize the browser to the given size.

mg_xml_browser_expand, tlb [, /expand]

Expand or contract the widget tree.

mg_xml_browser_event, event

Handle all events.

mg_xml_browser_cleanup, tlb

Cleanup resources claimed by the widget program.

mg_xml_browser, filename [, /url]

Start a widget program to browse an XML file.

Routine details

top source mg_xml_browser_parser::startElement

mg_xml_browser_parser::startElement, uri, local, name, attName, attValue

Parameters

uri
local
name
attName
attValue

top source mg_xml_browser_parser::endElement

mg_xml_browser_parser::endElement, uri, local, name

Parameters

uri
local
name

top source mg_xml_browser_parser::characters

mg_xml_browser_parser::characters, chars

Parameters

chars

top source mg_xml_browser_parser::init

result = mg_xml_browser_parser::init(root=root)

Keywords

root

top source mg_xml_browser_parser__define

mg_xml_browser_parser__define

top source mg_xml_browser_resize

mg_xml_browser_resize, tlb, x, y

Resize the browser to the given size.

Parameters

tlb in required type=long

widget identifier of top-level base

x in required type=long

new xsize of the tlb

y in required type=long

new ysize of the tlb

top source mg_xml_browser_expand

mg_xml_browser_expand, tlb [, /expand]

Expand or contract the widget tree.

Parameters

tlb in required type=long

widget identifier of top-level base

Keywords

expand in optional type=boolean

set to 1 to expand widget tree, 0 to contract it

top source mg_xml_browser_event

mg_xml_browser_event, event

Handle all events.

Parameters

event in required type=structure

events from any of the widgets in the browser

top source mg_xml_browser_cleanup

mg_xml_browser_cleanup, tlb

Cleanup resources claimed by the widget program.

Parameters

tlb in required type=long

top-level base widget identifier

top source mg_xml_browser

mg_xml_browser, filename [, /url]

Start a widget program to browse an XML file.

Parameters

filename in required type=string

filename or URL to browse

Keywords

url in optional type=boolean

set to specify an URL instead of a local filename for the filename positional parameter

File attributes

Modification date: Mon Nov 29 18:32:29 2010
Lines: 212
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.