Mercurial > vim
comparison runtime/doc/gui_x11.txt @ 8218:3456e2ebebd4 v7.4.1402
commit https://github.com/vim/vim/commit/9892189d2e7ab94b750f99e6da4cbfc3c8014517
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 23 17:14:37 2016 +0100
patch 7.4.1402
Problem: GTK 3 is not supported.
Solution: Add GTK 3 support. (Kazunobu Kuriyama)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Feb 2016 17:15:05 +0100 |
parents | c2098c3095e7 |
children | 47f17f66da3d |
comparison
equal
deleted
inserted
replaced
8217:c52abf35df88 | 8218:3456e2ebebd4 |
---|---|
367 | 367 |
368 Write this in the file ~/.gtkrc and it will be used by GTK+. For GTK+ 2 | 368 Write this in the file ~/.gtkrc and it will be used by GTK+. For GTK+ 2 |
369 you might have to use the file ~/.gtkrc-2.0 instead, depending on your | 369 you might have to use the file ~/.gtkrc-2.0 instead, depending on your |
370 distribution. | 370 distribution. |
371 | 371 |
372 For GTK+ 3, an effect similar to the above can be obtained by adding the | |
373 following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (usually, | |
374 $HOME/.config/gtk-3.0/gtk.css): | |
375 > | |
376 .tooltip { | |
377 background-color: #ffffcc; | |
378 color: #000000; | |
379 } | |
380 < | |
381 | |
372 Using Vim as a GTK+ plugin *gui-gtk-socketid* | 382 Using Vim as a GTK+ plugin *gui-gtk-socketid* |
373 | 383 |
374 When the GTK+ version of Vim starts up normally, it creates its own top level | 384 When the GTK+ version of Vim starts up normally, it creates its own top level |
375 window (technically, a 'GtkWindow'). GTK+ provides an embedding facility with | 385 window (technically, a 'GtkWindow'). GTK+ provides an embedding facility with |
376 its GtkSocket and GtkPlug widgets. If one GTK+ application creates a | 386 its GtkSocket and GtkPlug widgets. If one GTK+ application creates a |