Card.KnowledgeDocument

Classes

Card.KnowledgeDocument

This widget will handle toggling the <TableOfContents.collapsed> parameter of the table of contents depending on available space. It provides two internal frames with style classes 'CardKnowledgeDocument__toolbarFrame' and 'CardKnowledgeDocument__contentFrame' for theming purposes. The toolbar frame surrounds the

and <toc> on the right. The content frame surrounds the <webview> on the left. </webview></toc>

Properties

background-size

How to scale the background thumbnail image.

Default value
cover
Type
String

custom-css

Name of a custom CSS file to apply to web content

Default value
Type
String

highlight-string

Substring to be highlighted on card

Default value
Type
String

sequence

Sequence

Default value
2
Type
Number

text-halign

Horizontal alignment of title text

Default value
3
Type
GtkAlign

halign

How to position in extra horizontal space

Default value
0
Type
GtkAlign

valign

How to position in extra vertical space

Default value
0
Type
GtkAlign

hexpand

Whether widget wants more horizontal space

Default value
False
Type
Boolean

vexpand

Whether widget wants more vertical space

Default value
False
Type
Boolean

expand

Whether widget wants to expand in both directions

Default value
False
Type
Boolean

show-titles

Set true if the title label and top title label should be visible.

Default value
True
Type
Boolean

show-toc

Set true if the toc should be visible.

Default value
False
Type
Boolean

The results of the search are