GNOME Bugzilla – Bug 436253
How to implement a GtkScrolledWindow-able widget
Last modified: 2018-02-05 08:47:11 UTC
The manual page for GtkScrolledWindow (http://developer.gnome.org/doc/API/2.0/gtk/GtkScrolledWindow.html) does not explain very well what protocol a user defined widget must follow to be able to be added to a GtkScrolledWindow. The only thing the page says it must implement the set_scroll_adjustments_signal. That is not enough, a full specification of the protocol and an example is needed.
I think Ryan has a simple example...
i don't. i just had a normal (gigantic) widget that i put inside of a scrollwindow (or whatever it was called)
This now only applies to GTK+ 2, as GTK+ 3 handles making a non-scrollable child scrollable for the user, so no one normally bothers implementing scrollability (GtkScrollable) themselves
... and nobody adds documentation to gtk2 at this point, so closing this one.