MCPcopy Create free account
hub / github.com/PageBot/PageBot / frame

Method frame

Lib/pagebot/contexts/htmlcontext/htmlbuilder.py:1556–1565  ·  view source on GitHub ↗

The frame tag defines one particular window (frame) within a frameset. Each frame in a frameset can have different attributes, such as border, scrolling, the ability to resize, etc.

(self, **args)

Source from the content-addressed store, hash-verified

1554
1555
1556 def frame(self, **args):
1557 """The frame tag defines one particular window (frame) within a
1558 frameset. Each frame in a frameset can have different attributes, such
1559 as border, scrolling, the ability to resize, etc.
1560
1561 <www href="http://www.w3schools.com/tags/tag_frame.asp"/>
1562
1563 """
1564 self.write_tag('frame', True, args)
1565 self._debugclass('frame', self.getClassName(args, self.FRAME_ATTRIBUTES))
1566
1567 def _frame(self):
1568 self._closeTag('frame')

Callers 4

_placeMethod · 0.80
textSizeMethod · 0.80
getTextLinesMethod · 0.80
imageMethod · 0.80

Calls 2

getClassNameMethod · 0.95
write_tagMethod · 0.80

Tested by

no test coverage detected