This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Is it possible to save window size and position preferences?


On Thu, 1 Aug 2002, Hartman, John (St. Paul) wrote:

> I deleted gdbtk.ini and then ran Insight.  The behavior I get is
> 1) open, size and place Register and Locals windows
> 2) close Insight

How are you running insight? I've only ever run it from a console. This
could impact where insight thinks your gdbtk.ini is. (I'm just taking wild
guesses here, of course.)

How are you closing it? I just click on the destroy button on the window's
title bar. (Again, totally in the dark here.)

> If I open gdbtk.ini (attached) after step 2, it contains for these windows
> only:
>
> 	[reg]
> 		highlight_fg=blue
> 		rows=16
> 	[locals]
>
> What do the commands in the ini file look like for windows open and sized?
> As a brute-force hack, I could hand edit my ini file for the placement I
> want.

You're definitely missing some things... You should have a section that
looks like this:

[geometry]
	.srcwin0.srcwin=WIDTHxHEIGHT+X+Y
	.console0.console=WIDTHxHEIGHT+X+Y

and so on for other windows.

Keith



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]