I missed :
https://developer.gnome.org/gtkmm/stable/classGtk_1_1Widget.html#a3a373b58ed5a05fd28d6dadd70d8f39b
And : https://git.gnome.org/browse/gtk+/tree/gtk/gtkbutton.c?h=gtk-3-8


I solve my problem with :


void Timeline::on_size_allocate(Gtk::Allocation &allocation)
{
    Gtk::Bin::on_size_allocate(allocation);

    // instead of
    //get_child()->set_allocation(allocation);
    // use
    get_child()->size_allocate(allocation);
}

Now, the child of the Gtk::Bin assume all widgets :-)
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to