Logo Search packages:      
Sourcecode: ardour version File versions

void TimeAxisViewItem::set_name_text ( const Glib::ustring new_name  ) 

Sets the displayed item text This item is the visual text name displayed on the canvas item, this can be different to the name of the item

new_name the new name text to display

Definition at line 561 of file time_axis_view_item.cc.

References NAME_FONT.

Referenced by MarkerView::MarkerView().

      if (name_text) {
            name_text->property_text() = new_name;
            name_text_width = pixel_width (new_name, *NAME_FONT);
            name_text_size_cache.clear ();

Generated by  Doxygen 1.6.0   Back to index