Have you tried to ask on gtk-app-devel-list? Perhaps you can get a reply there.

Kjell

2013-02-24 04:49, Yoann LE BARS skrev:
Hello everybody out there!

        Well, I have made some progress. Attached to this message, a tarball
with some code which actually can start in full-screen mode. But I
cannot be certain there is no major flaw.

        Here is what I did, and why. It will be nice if someone can confirm I
am not mistaken.

        After investigating the web, it seems a widget has to go through the
following steps during its life:

                --- creation;

                --- property setting (which is usually made into constructor);

                --- realizing (assigning back-end resources, e.g. an X Window);

                --- mapping (make widget appearing on screen);

                --- show (actually does the previous two steps);

                --- unmapping (removing widget from screen);

                --- hide (simple version of unmap);

                --- destroying.

        I have put "show();" before asking for full-screen mode, and then the
code became been able to start into full-screen mode. I have tried with
just "realize();", but it was not enough to avoid X crashing. So it
seems to me Gtk+ cannot set a widget into full-screen mode before having
mapped it.

        My question is: did someone know if I get it well, or did I still
missed something?

        Regards.

                                                        Yoann



_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to