If non-0 flags are passed, create widgets only if the GParamSpec flags have all the passed flags.
Still slightly horrible but getting better...