[GTK4/Msys2]The tooltip in button shows nothing?

why does it shows nothing when I hover on the button ??

image

void SetUpMenu(){
m_refBuilder = Gtk::Builder::create();

    try { m_refBuilder->add_from_string(gStrToolBarConfig); }
    catch (const Glib::Error& ex) { std::cerr << "Building toolbar failed: " <<  ex.what(); }
    m_pToolbar = m_refBuilder->get_widget<Gtk::Box>("toolbar");
    m_toolSave.set_has_tooltip(true);
    m_toolSave.set_tooltip_text("111111");
    m_toolSave.set_tooltip_markup("22222");

    m_Box.append(*m_pToolbar);

}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.