titleShellF :: String -> F c d -> F (String ⊕ c) d titleShellF' :: (ShellF -> ShellF) -> String -> F c d -> F (String ⊕ c) d
titleShellF title fud
titleShellF
creates a shell window with a dynamically changeable title. An argument
fudget determines the contents of the shell window.
titleShellF
is useful in editors that wish to use the name of the file being
edited as the window title.
titleShellF'
is a custimisable version of titleShellF
.
x
is input, Right x
is passed to fud
.
fud
outputs Right y
, y
is propagated to
the output of the composition.
title :: String
fud :: F c d
Left title
to change the title of the
window. It will receive Left ()
when the
WM_DELETE_WINDOW
message is received from the
the window manager.