button Function

private function button(self, label)

A button: true once after it was clicked.

Type Bound

Gui

Arguments

Type IntentOptional Attributes Name
class(Gui), intent(inout) :: self
character(len=*), intent(in) :: label

the button's text

Return Value logical


Calls

proc~~button~~CallsGraph proc~button Gui%button interface~vkf_gui_button vkf_gui_button proc~button->interface~vkf_gui_button

Source Code

    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