The Windows executable swipl-win.exe console has a number of predicates to control the appearance of the console. Being totally non-portable, we do not advise using it for your own application, but use XPCE or another portable GUI platform instead. We give the predicates for reference here.
win_window_title
for
consistent naming.bottom
, top
, topmost
and notopmost
.
Topmost windows are displayed above all other windows.true
, show the window, if false
hide the
window.foreground
, background
, selection_foreground
or
selection_background
. RGB is a term
rgb(Red,Green,Blue)
where the components are values between
0 and 255. The defaults are established using the Windows API
GetSysColor().&
is underlined and defines the associated accelerator key. Before
is the label before which this one must be inserted. Using -
adds the new entry at the end (right). For example, the call below adds
an Application entry just before the Help menu.
win_insert_menu('&Application', '&Help')
-
inserts a separator. Goal
is called if the user selects the item.