2.5 UI Themes
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Overview
        • UI Themes
          • theme_hook/1
          • 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.