On 19/04/11 00:29, raf wrote:
Mun wrote:
I meant to say the differences between Motif and GTK. Note that I have
corrected the subject.
I'm mainly interested in functionality differences between the two. For
example, with GTK one can change the font via the menu
(Edit->Select Font...). With X11, you cannot.
Regards,
--
Mun
hi,
a difference between athena/motif and gtk that is important
to some (i.e. possibly just me) is that athena and motif
both honour the x resources database while gtk does not.
man xrdb for details.
the practical consequence of this is that with athena and
motif, you can use x resources to tell vim where its window
should appear and it will appear there. with gtk you may
need to position the window manually with the mouse. using
vim's built-in commands for positioning and resizing the
window may not be executed until after the window has
already been manually positioned by the user and so isn't
always an adequate substitute for the x resources method.
however, i suspect that very few people have this problem.
the modern gtk version is far more commonly used and i'm
sure it's prettier if you display the menu.
cheers,
raf
I use gvim maximized so precise location isn't very important to me.
With Gnome sessions, if I forget to close gvim (with GTK2/Gnome2 GUI)
before logging out of X, the same gvim session will be opened in the
same virtual desktop the next time. Only the Gnome version has this
"magical session" feature: see :help gnome-session
Of course ":set lines=999 columns=9999" leaves a fraction of a character
cell's width & height around the window but if you're finicky you can
use the Maximize button.
Best regards,
Tony.
--
Cynic, n.:
One who looks through rose-colored glasses with a jaundiced
eye.
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php