I've noticed both OSX (quartz or ZQuartz) and GNOME 3.20 (Linux archibold 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux) seem to completely ignore this parameter.
# bash and gjs
gjs -c '
const Gtk = imports.gi.Gtk;
Gtk.init(null);
const win = new Gtk.Window({
type: Gtk.WindowType.TOPLEVEL,
window_position: Gtk.WindowPosition.CENTER
});
win.connect("show", Gtk.main);
win.connect("destroy", Gtk.main_quit);
win.add(new Gtk.Label({label: "centered?"}));
win.set_default_size(200, 80);
win.show_all();
'
I haven't tested other platforms but it used to work ('till yesterday when I've switched from GNOME 3.18 to 3.20)
Is this a known issue? Am I doing it wrong?
Thanks in advance for any sort of outcome.
Best Regards
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list