fltk.helpview
FLTK Help View Widget
This module provides a simple HTML viewer widget:
- HelpView: Displays basic HTML content
License
BSD-3-ClauseCopyright
Copyright © 2025 DDN (D Developer Network) Members
class HelpView
Types 1
Simple HTML viewer widget.
HelpView displays basic HTML content including text formatting, images, and links. It's useful for displaying help text, about dialogs, or simple formatted content.
Supported HTML features:
- Basic text formatting (bold, italic, underline)
- Headings (h1-h6)
- Paragraphs and line breaks
- Lists (ordered and unordered)
- Images
- Links
- Tables (basic)
Example:
auto help = new HelpView(10, 10, 400, 300);
help.value = "<html><body><h1>Help</h1><p>Welcome!</p></body></html>";Fields
HelpViewPtr _helpViewHandleMethods
void value(string html)Sets the HTML content.bool load(string filename)Loads HTML from a file.void textSize(int size)Sets the text size.void textColor(uint color)Sets the text color.Constructors
this(int x, int y, int width, int height, string label = null)Creates a new help view widget.Destructors