Re: An alternative to gdk-pixbuf

2018-09-15 Thread John Emmas
On 15/09/2018 12:07, Magnus Bergman wrote: Some mismatch in versions of libtiff could for example be a reason. Otherwise you should probably file a bug report with more information (perhaps to your distribution firstly). Thanks Magnus.  I've a feeling that the problem might come down to

Translating enum values in schema

2018-09-15 Thread rastersoft
Hi all: I'm doing an schema for gsettings. This is part of it: "large" Icon size Set the size for the desktop icons. After passing xgettext, it adds to the .po file all the "summary" and "description" contents, but it doesn't add the nicks in the enum (this is, the strings "small",

Re: PyGObject: ask for system/theme colors

2018-09-15 Thread infirit via gtk-app-devel-list
Op 14-09-18 om 23:19 schreef c.buhtz--- via gtk-app-devel-list: > I don't want to use colors defined by myself e.g. with RGB-values. > I want to use colors from the system (Windows, Linux, ...) and/or the > theme. > > For example I need the background color of a highlighted menu or list > item. >

Re: Own drag icon with same color and font settings as the default drag icon in a Gtk.TreeView

2018-09-15 Thread infirit via gtk-app-devel-list
Op 15-09-18 om 14:13 schreef infirit: > You use the Gtk.render_* range of functions. There is one for for every > type of content you will want to render onto a cairo surface. > > If you want to render text put it in a Pango.Layout and use > Gtk.render_layout(). Below is a modified version based

Re: Own drag icon with same color and font settings as the default drag icon in a Gtk.TreeView

2018-09-15 Thread infirit via gtk-app-devel-list
Op 15-09-18 om 00:24 schreef c.buhtz--- via gtk-app-devel-list: > I want the same (background-color, font-face, font-size, font-color) > but with a shorter string (only the second of three columns). You use the Gtk.render_* range of functions. There is one for for every type of content you will

Re: An alternative to gdk-pixbuf

2018-09-15 Thread Magnus Bergman
On Sat, 15 Sep 2018 09:47:33 +0100 John Emmas wrote: > Sorry, I haven't been following this conversation but as a > side-issue... I only noticed this morning that gdk-pixbuf doesn't > seem to be able to load TIF images any more. I've attached a small > file that won't load but I haven't managed

Re: An alternative to gdk-pixbuf

2018-09-15 Thread John Emmas
Sorry, I haven't been following this conversation but as a side-issue... I only noticed this morning that gdk-pixbuf doesn't seem to be able to load TIF images any more. I've attached a small file that won't load but I haven't managed to load any TIF image from the ones I've tested this