HTMLFrameElement Class Reference
from PyKDE4.khtml import *
Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM
Detailed Description
Create a frame. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#edef-FRAME">
FRAME element definition in HTML 4.0.
Methods |
| | __init__ (self) |
| | __init__ (self, DOM.HTMLFrameElement other) |
| | __init__ (self, DOM.Node other) |
| | __init__ (self, HTMLFrameElementImpl impl) |
| DOM.Document | contentDocument (self) |
| DOM.DOMString | frameBorder (self) |
| DOM.DOMString | longDesc (self) |
| DOM.DOMString | marginHeight (self) |
| DOM.DOMString | marginWidth (self) |
| DOM.DOMString | name (self) |
| bool | noResize (self) |
| DOM.DOMString | scrolling (self) |
| | setFrameBorder (self, DOM.DOMString a0) |
| | setLongDesc (self, DOM.DOMString a0) |
| | setMarginHeight (self, DOM.DOMString a0) |
| | setMarginWidth (self, DOM.DOMString a0) |
| | setName (self, DOM.DOMString a0) |
| | setNoResize (self, bool a0) |
| | setScrolling (self, DOM.DOMString a0) |
| | setSrc (self, DOM.DOMString a0) |
| DOM.DOMString | src (self) |
Method Documentation
| __init__ |
( |
self, |
|
|
|
HTMLFrameElementImpl |
impl |
|
) |
|
|
|
Introduced in DOM Level 2
Returns the document this frame contains, if there is any and
it is available, a Null document otherwise. The attribute is
read-only.
- Returns:
- The content Document if available.
Request frame borders. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-frameborder">
frameborder attribute definition in HTML 4.0.
URI designating a long description of this image or frame. See
the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-longdesc-FRAME">
longdesc attribute definition in HTML 4.0.
Frame margin height, in pixels. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-marginheight">
marginheight attribute definition in HTML 4.0.
Frame margin width, in pixels. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-marginwidth">
marginwidth attribute definition in HTML 4.0.
The frame name (object of the target attribute).
See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-name-FRAME">
name attribute definition in HTML 4.0.
When true, forbid user from resizing frame. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-noresize">
noresize attribute definition in HTML 4.0.
Specify whether or not the frame should have scrollbars. See
the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-scrolling">
scrolling attribute definition in HTML 4.0.
| setNoResize |
( |
self, |
|
|
|
bool |
a0 |
|
) |
|
|
|
A URI designating the initial frame contents. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-src-FRAME">
src attribute definition in HTML 4.0.