Hi Allin,
on Windows, it is advisable to use an API to get the command line
parameters as UTF-16, so you don't lose the letters "foreign" to your
code page.
See "CommandLineToArgvW" for more info:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb776391(v=vs.85).aspx
Regards,
M
I'm building an application using gtk-2.24.32 for use on MS Windows,
and have run into a problem which may be associated with my call to
gtk_init_with_args().
I wonder whether, besides handling the arguments detailed in the
(GOptionEntry *) argument to this function, gtk "translates" in some
wa
I have inserted custom gtk source gutter renderer pixbuf and I want to
render icon on a specific line.
But how am I supposed to do that if the GtkSourceGutter doesn't work with a
tree model?
Doing `gtk_source_gutter_renderer_pixbuf_set_pixbuf(renderer, pixbuf);`
will render the icon for
all
Your only mistake is that you missed to explicitly point the width of the
renderer:
gtk_source_gutter_renderer_set_size(renderer, 20);
It is stated in the reference page that you must do that.
-
П.П. Виж как една учителка по китайски реши да си направи с