2016-02-19 22:37 GMT+09:00 Marius Gedminas <[email protected]>:
> I use Adwaita, which is the default GNOME 3 theme (and I think also the
> default GTK+ 3 theme).
>
Hmm. Then the theme has nothing to do with the border draw. And Vim
contains no code for drawing border or specifying the drawing area offset
to the parent GtkForm.
Do you use other applications which use GtkDrawingArea and draw the border?
The usual keys (Ctrl+Shift+I/Ctrl+Shift+D) do not open the GTK+
> inspector in gvim.
>
> Curiously: if I run 'GTK_DEBUG=interactive gvim' and then right-click,
> the border does not turn black.
>
Did you mean the GTK+ of your system was somehow unstable, or gvim didn't
behave like other GTK+ apps?
>
> Anyway, I've now realized that the GTK+ inspector apparently doesn't
> show the CSS rules that come from the theme, and I'm not quite sure
> where to check what.
>
OK, you mean you are using GTK+ with the default settings and haven't done
anything with files in $HOME/.config/gtk-3.0, right?
To make sure, could you try the following program and check how it responds
against a right click on the drawing area window?
/*
* main.c - drawing area test program
*
* To compile: gcc `pkg-config --cflags --libs gtk+-3.0` main.c
*/
#include <gtk/gtk.h>
int main(int argc, char *argv[])
{
GtkWidget *window;
GtkWidget *da;
gtk_init(&argc, &argv);
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(window, "destroy", G_CALLBACK(gtk_main_quit), NULL);
da = gtk_drawing_area_new();
gtk_container_add(GTK_CONTAINER(window), da);
gtk_widget_show_all(window);
gtk_main();
return 0;
}
Regards,
Kazunobu
>
> Marius Gedminas
> --
> I have a truly marvellous patch that fixes the bug which this
> signature is too narrow to contain.
> -- Avi Kivity
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.