vkf_label_set_text Interface

interface


Called by

interface~~vkf_label_set_text~~CalledByGraph interface~vkf_label_set_text vkf_label_set_text proc~set_name ReferenceFrame%set_name proc~set_name->interface~vkf_label_set_text proc~update_huds update_huds proc~update_huds->interface~vkf_label_set_text proc~frame WindowProxy%frame proc~frame->proc~update_huds proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame

public function vkf_label_set_text(label, text, text_len) bind(C, name="vkf_label_set_text")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: label

label handle (vkf_label_create)

character(kind=c_char, len=1), intent(in), dimension(*) :: text
integer(kind=c_int), value :: text_len

the length of text

Return Value integer(kind=c_int)

Description

Change a label's text, in place: a text longer than the label's capacity (glyphs allocated when it was made) is cut to it, with a warning. Returns 0, or -1 on failure.