ofwin_setupdatecontextfunction Subroutine

public subroutine ofwin_setupdatecontextfunction(fcn)

Set a callback function for updating the OpenGL context after qualifying events.

Currently this includes resize.

This applies to the current active WindowProxy.

Arguments

Type IntentOptional Attributes Name
procedure(updatecontextfunction) :: fcn

Callback function to be called.