hi;

On 9 January 2015 at 17:51, Marcus Karlsson <m...@acc.umu.se> wrote:
> On Fri, Jan 09, 2015 at 04:12:12PM +0000, Emmanuele Bassi wrote:
>> my suggestion is to look at ruler widgets in GIMP and Inkscape.
>
> Either that, or the GtkRuler widget itself from GTK 2 [1]. It doesn't
> look like it's very complicated and can probably be ported to GTK 3
> without too much effort, you just have to keep a copy of it in your app.

assuming the licensing terms are compatible, obviously.

to be fair, GtkRuler hasn't been maintained for a long, long time, and
any porting effort from the old GTK drawing semantics to the new ones
is probably going to be considerably more expensive than just using a
GtkDrawingArea and 25 lines of Cairo drawing code.

ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to