Logo Search packages:      
Sourcecode: ardour version File versions  Download package

void Gtk::Button::set_label ( const Glib::ustring label  )  [inherited]

Sets the text of the label of the button to str . This text is also used to select the stock item if set_use_stock() is used.

This will also clear any previously set labels.

Parameters:
label A string.

Definition at line 441 of file button.cc.

References Glib::ustring::c_str(), and Gtk::Button::gobj().

{
  gtk_button_set_label(gobj(), label.c_str());
}


Generated by  Doxygen 1.6.0   Back to index