[tex-live] tlmgr window position
Zdenek Wagner
zdenek.wagner at gmail.com
Sat Aug 27 18:30:40 CEST 2011
2011/8/1 Zdenek Wagner <zdenek.wagner at gmail.com>:
> 2011/8/1 Norbert Preining <preining at logic.at>:
>> Zdeněk,
>>
>>> I will try to find it.
>>
>> If you could give the gui an eye that would be phantastic. I'm not really good in this perl/tk, learned it on the way.
>>
> I found it by trial and error but I have it in a program that I have
> only at home. I will look at it in the evening.
>
Sorry for delay, the work for which I am paid took me much more time
than I expected. Moreover the code was in Tcl/Tk, I had to find PerlTk
equivalent. Finally I found it in "man Tk::Wm". This is my small
program:
#!/usr/bin/perl
use Tk;
# Main Window
my $mw = new MainWindow;
$mw->geometry('+0+0');
# Yo can also try:
# $mw->geometry('-50-150');
my $label = $mw -> Label(-text=>"Hello World") -> pack();
my $button = $mw -> Button(-text => "Quit",
-command => sub { exit })
-> pack();
MainLoop;
In Gnome, the user screen does not include the top panel, thus
position +0+0 is below it. I do not know how Windows calculate the
screen coordinates. It may also differ in case that autohide is set
for the panel.
If I change the orientation of the panel to left (it took me half an
hour to find how to undo this change), position +0+0 is next to the
panel. If autohide is set, +0+0 is just below the hidden panel, it is
possible to drag the titlebar of the window.
If you manage to put your panel to a wrong place and its Properties
can no longer be accessed (as I did), open gconf-editor, find
apps/panel/general and follow the instructions in its window.
>> Thanks
>>
>> Norbert
>
>
>
> --
> Zdeněk Wagner
> http://hroch486.icpf.cas.cz/wagner/
> http://icebearsoft.euweb.cz
>
--
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz
More information about the tex-live
mailing list