my Gtk3 application starts vertically maximized and snap-right
Tom Sheffler <[email protected]> Wed, 7 Feb 2018 06:58:05 -0800
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <CAMBtMcs1_9J08WUis0ZyhDqNoXC5t-cZFQJum7ECJBmGD6ieZQ@mail.gmail.com> |
--===============5868291108118283507== Content-Type: multipart/alternative; boundary="f4f5e80743accc1a0e0564a085dd" --f4f5e80743accc1a0e0564a085dd Content-Type: text/plain; charset="UTF-8" Hello Openbox discussion - I have recently compiled a Gtk3 application of my own design to RaspberryPi Stretch. It runs fine. However, when I launch the application it is vertically-maximized. (It is also snapped to the right edge of the screen.) I would prefer the application to start at its "natural" size. I have tried setting gtk_window_set_default_size() and I've also tried using gtk_window_set_geometry_hints() to suggest the starting size. Questions: - do you know how I can ask for the starting size to be something I specify? I apologize if this is a simple question. This is new territory for me. Thanks, Tom --f4f5e80743accc1a0e0564a085dd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><span style=3D"font-size:12.800000190734863px">Hello Openb= ox discussion -</span><div style=3D"font-size:12.800000190734863px"><br></d= iv><div style=3D"font-size:12.800000190734863px">I have recently compiled a= Gtk3 application of my own design to RaspberryPi Stretch. It runs fine.=C2= =A0 However, when I launch the application it is vertically-maximized. =C2= =A0(It is also snapped to the right edge of the screen.)</div><div style=3D= "font-size:12.800000190734863px"><br></div><div style=3D"font-size:12.80000= 0190734863px">I would prefer the application to start at its "natural&= quot; size.=C2=A0 I have tried setting gtk_window_set_default_size() and I&= #39;ve also tried using gtk_window_set_geometry_hints(<wbr>) to suggest the= starting size.</div><div style=3D"font-size:12.800000190734863px"><br></di= v><div style=3D"font-size:12.800000190734863px">Questions:</div><div style= =3D"font-size:12.800000190734863px">- do you know how I can ask for the sta= rting size to be something I specify?</div><div style=3D"font-size:12.80000= 0190734863px"><br></div><div style=3D"font-size:12.800000190734863px">I apo= logize if this is a simple question.=C2=A0 This is new territory for me.</d= iv><div style=3D"font-size:12.800000190734863px"><br></div><div style=3D"fo= nt-size:12.800000190734863px">Thanks,</div><div style=3D"font-size:12.80000= 0190734863px">Tom</div><div><br></div><div class=3D"gmail-yj6qo" style=3D"f= ont-size:12.800000190734863px"></div></div> --f4f5e80743accc1a0e0564a085dd-- --===============5868291108118283507== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kb3BlbmJveCBt YWlsaW5nIGxpc3QKb3BlbmJveEBpY2N1bHVzLm9yZwpodHRwOi8vaWNjdWx1cy5vcmcvbWFpbG1h bi9saXN0aW5mby9vcGVuYm94 --===============5868291108118283507==--