A button: true once after it was clicked.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Gui), | intent(inout) | :: | self | |||
| character(len=*), | intent(in) | :: | label |
the button's text |
logical function button(self, label) class(Gui), intent(inout) :: self character(len=*), intent(in) :: label !! the button's text button = vkf_gui_button(self%handle, label, len(label, kind=c_int)) /= 0 end function button