fltk.helpdialog
class HelpDialog
Types 1
classHelpDialog
HelpDialog provides a dialog window for displaying HTML help content.
It supports basic HTML tags and can load content from strings or files.
Example:
auto help = new HelpDialog();
help.value = "<html><body><h1>Help</h1><p>Welcome to the help system.</p></body></html>";
help.show();Fields
HelpDialogPtr _handleMethods
void show()Shows the help dialog.void hide()Hides the help dialog.void load(string filename)Loads an HTML file into the help dialog.void value(string content)Sets the HTML content directly.void textsize(int size)Sets the text size.void topline(string name)Scrolls to a named target (anchor) in the document.void topline(int line)Scrolls to a specific line number.void position(int x, int y)Sets the position of the dialog window.void resize(int x, int y, int w, int h)Resizes the dialog window.Constructors
this()Creates a new help dialog.Destructors
~thisDestroys the help dialog and releases resources.