The window's GUI panels (vkf_gui), made on first use: with font (a
font file name or path, as labels'; default DejaVu Sans) of size
window units (default 15), which apply then. Not valid unless open.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(WindowProxy), | intent(in) | :: | self | |||
| character(len=*), | intent(in), | optional | :: | font |
file name or path (default DejaVu Sans) |
|
| real(kind=wp), | intent(in), | optional | :: | size |
window units (default 15) |
function window_gui(self, font, size) result(g) class(WindowProxy), intent(in) :: self character(len=*), intent(in), optional :: font !! file name or path (default DejaVu Sans) real(wp), intent(in), optional :: size !! window units (default 15) type(Gui) :: g character(len=:), allocatable :: path real(c_double) :: s if (.not. self%is_open()) return path = find_font(default_font) if (present(font)) path = find_font(font) s = 15.0_c_double if (present(size)) s = size g%handle = vkf_viewer_gui(self%viewer_, path, len(path, kind=c_int), s) end function window_gui