GNOME Bugzilla – Bug 305117
gtk_container_set_border_width (GtkContainer *container, GtkBorder *border)
Last modified: 2005-05-22 21:00:21 UTC
Currently GTKContainer has the following method, void gtk_container_set_border_width (GtkContainer *container, guint border_width); It would be more sensible to use GtkBorder instead on guint because GtkBorder is already there and GtkBorder is more flexible because you can specify the border at each side. When this is possible. Adding this would make fixing this bug 303850 easier
Not a compatible change. (gtk_container_set_border_width() preceeded GtkBorder by 5 years or so)
I know it's not compatible, because of the name clash. can't we just call it gtk_container_set_border and maybe make gtk_container_set_border_width deprecated in gtk+ 2.8 Reopen??
It would require changes in *every* GtkContainer to support; and remember container's can be defined outside of GTK+. So, there's no way it could be reliably supported. I think we just have to consider GtkAlignment and gtk_alignment_set_padding() the way to do this.