void PaletteHint::setText(const ustring &name, const ustring &info) { if(is_visible()) return; caption.set_markup("<b>" + name + "</b>"); this->info.set_text(" " + info + " "); Allocation a = get_allocation(); a.set_width(100); a.set_height(20); set_allocation(a); show(); }