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

Type
String
Default value

halign

How to position in extra horizontal space

Type
GtkAlign
Default value
0

valign

How to position in extra vertical space

Type
GtkAlign
Default value
0

hexpand

Whether widget wants more horizontal space

Type
Boolean
Default value
False

vexpand

Whether widget wants more vertical space

Type
Boolean
Default value
False

expand

Whether widget wants to expand in both directions

Type
Boolean
Default value
False

show-titles

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

Type
Boolean
Default value
True

show-toc

Set true if the toc should be visible.

Type
Boolean
Default value
False

The results of the search are