Prev: HTML functions and variables
Up: HTML
Top: Top
8.2. HTML Widget object
Widget objects whose widget class is subclassed from html have the
following additional methods:
- AnchorPosition (name) -- Method on HTML Widget object
-
Returns
(success, x, y)
.
This function corresponds with HTMLAnchorToPosition
.
- AnchorToId (name) -- Method on HTML Widget object
-
Returns
id
.
This function corresponds with HTMLAnchorToId
.
- ClearSelection () -- Method on HTML Widget object
-
Returns
None
.
This function corresponds with HTMLClearSelection
.
- FreeImageInfo () -- Method on HTML Widget object
-
Returns
None
.
This function corresponds with HTMLFreeImageInfo
.
- GetHRefs () -- Method on HTML Widget object
-
Returns
href_list
.
This function corresponds with HTMLGetHRefs
.
- GetImageSrcs () -- Method on HTML Widget object
-
Returns
srcs_list
.
This function corresponds with HTMLGetImageSrcs
.
- GetText (pretty[, url]) -- Method on HTML Widget object
-
Returns
text
.
This function corresponds with HTMLGetText
.
- GetTextAndSelection () -- Method on HTML Widget object
-
Returns
(text, start, end, insert)
.
This function corresponds with HTMLGetTextAndSelection
.
- GotoId (element_id) -- Method on HTML Widget object
-
Returns
None
.
This function corresponds with HTMLGotoId
.
- IdToPosition (element_id) -- Method on HTML Widget object
-
Returns
(success, x, y)
.
This function corresponds with HTMLIdToPosition
.
- PositionToId (x, y) -- Method on HTML Widget object
-
Returns
element_id
.
This function corresponds with HTMLPositionToId
.
- SearchText (pattern, start, backward, caseless) -- Method on HTML Widget object
-
Returns
(page, (start_id, start_pos), (end_id, end_pos))
.
This function corresponds with HTMLSearchText
.
- SetSelection ((start_id, start_pos), (end_id, end_pos)) -- Method on HTML Widget object
-
Returns
None
.
This function corresponds with HTMLSetSelection
.
- SetText (text, header_text, footer_text) -- Method on HTML Widget object
-
Returns
None
.
This function corresponds with HTMLSetText
.