Snapd.MarkdownNode¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Child nodes |
||
r/w/co |
Type of node |
||
r/w/co |
Text this node contains |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Snapd.MarkdownNode(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Snapd.MarkdownNode
is an opaque data structure and can only be accessed using the provided functions.New in version 1.48.
- get_children()¶
- Returns:
child nodes or
None
if none.- Return type:
Get the child nodes of this node.
New in version 1.48.
- get_node_type()¶
- Returns:
- Return type:
Get the type of node this is.
New in version 1.48.
- get_text()¶
-
Gets the text associated with this node. This is only present for nodes of type
Snapd.MarkdownNodeType.TEXT
.New in version 1.48.
Property Details¶
- Snapd.MarkdownNode.props.children¶
- Name:
children
- Type:
- Default Value:
- Flags:
Child nodes
- Snapd.MarkdownNode.props.node_type¶
- Name:
node-type
- Type:
- Default Value:
- Flags:
Type of node