Is GtkBox going to be deprecated?

But isn’t GtkBox gonna be deprecated? Ok, but I get your idea, never knew we could an a container inside a GtkButton !

No, absolutely not. (more than 20 characters, yay)

1 Like

But I remember reading this line in https://developer.gnome.org/gtk3/stable/gtk-migrating-GtkGrid.html “GtkBox are going to go anyway…” :thinking:

They are not, and the documentation has been updated to reflect this.

1 Like

Can you please say why the decision was changed?

Because implementing the styling features of GtkBox—first, last, and nth-child support in CSS—is not really possible in a cell-based grid layout.

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