Re: "draw" icon with string

2018-09-09 Thread Chris Moller
Here's a sample I came across some time ago.. Basically, you need to do all the drawing using cairo primitives. /*     Test drawing on a toggle button.     gcc -Wall cairobutton.c -o cairobutton `pkg-config --cflags --libs gtk+-3.0`     C. Eric Cashon */ #include gboolean draw_button1 (G

Re: "draw" icon with string

2018-09-09 Thread c.buhtz--- via gtk-app-devel-list
On 2018-09-09 23:01 "c.buhtz--- via gtk-app-devel-list" wrote: > It is unclear to me how to create a cairo.Surface instance. > And I can not see any text/string drawing methods in the surface class. _

Re: "draw" icon with string

2018-09-09 Thread c.buhtz--- via gtk-app-devel-list
On 2018-09-04 00:26 Emmanuele Bassi wrote: > this means you need to create a Cairo > surface and render on it using the Cairo API. It is unclear to me how to create a cairo.Surface instance. Also help(cairo.Surface)

Re: PyGObject: modify drag icon in TreeView

2018-09-09 Thread c.buhtz--- via gtk-app-devel-list
There is a problem with documentation. https://gitlab.gnome.org/GNOME/pygobject/issues/251 The answer can be found here. https://stackoverflow.com/a/52248549/4865723 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/

g_log_set_fatal_mask () does not appear to be present

2018-09-09 Thread Richard Shann
I used to call g_log_set_fatal_mask () via gdb to catch the place where critical errors happen. But now I get (gdb) call g_log_set_fatal_mask ("Gtk", 0x) No symbol "g_log_set_fatal_mask" in current context. any ideas? Richard Shann ___ gtk-app