View.Document

Classes

View.Document

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 ViewDocument__toolbarFrame and ViewDocument__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

custom-css

Name of a custom CSS file to apply to web content

Default value
Type
String

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