Re: [gtkmm] fixed positioning of a Gtk::Window



Leslie Polzer writes:
 > On Fri, 6 Dec 2002 10:06:46 +0100
 > "Koecher Rainer ETR.ETB2" <Rainer Koecher ElinEbgTraction at> wrote:
 > 
 > > The Window is placed anywhere on the screen
 > Try a simple
 > 
 > this->move(0, 0);
 > 
 > in the constructor.

Though it should be mentioned that (unless you have very special
requirements) it's a bad idea.  Users expect to position their own
windows; having one app behave oddly is annoying.  If your personal
preference is to have applications appear in the upper left hand
corner there should be a way to get your window manager to do it
without affecting how other people work.
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer
Southwestern NM Regional Science and Engr Fair:  http://www.nmsu.edu/~scifair



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]