void set_layout_font (const Pango::FontDescription&);
void set_text_ellipsize (Pango::EllipsizeMode);
+ /* Sets the text used for size request computation. Pass an
+ * empty string to return to the default behavior which uses
+ * the currently displayed text for measurement. */
+ void set_sizing_text (const std::string&);
+ const std::string& get_sizing_text () {return _sizing_text;}
+
sigc::signal<void, GdkEventButton*> signal_led_clicked;
sigc::signal<void> signal_clicked;
Glib::RefPtr<Pango::Layout> _layout;
Glib::RefPtr<Gdk::Pixbuf> _pixbuf;
std::string _text;
+ std::string _sizing_text;
Element _elements;
Gtkmm2ext::ArdourIcon::Icon _icon;
Tweaks _tweaks;