GtkFrame::set_label

void set_label(string label);

set_label() sets the label text programmatically.

$frame->set_label("Alternative text string");