• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

2.5 UI Themes
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Overview
        • UI Themes
          • theme_hook/1
          • theme_base/2
          • Status of theme support
    • Packages
Source[hook]prolog:theme_hook(+Theme)
Multifile hook that is called if the Prolog flag theme is about to get the new value Theme. The hook is called as forall(prolog:theme_hook(Theme), true) in the thread that sets the flag, before the flag is changed. If the hook raises an exception, the flag keeps its old value and set_prolog_flag/2 raises the exception. The system defines a clause that loads library(theme/Theme) if this file exists and Theme is not yet defined, i.e., prolog:theme(Theme) is false.
ClioPatria (version V3.1.1-59-g7b9a7a3)