This avoids repeating the same code for each widget that has its own accessible implementation inside GTK+.