Re: Ruler Class in GTK+ 3



hi;

On 9 January 2015 at 18:14, Carlos Pereira
<jose carlos pereira ist utl pt> wrote:
This is really unfortunate, my application also has a ruler... GTK is really
moving away from its users,

where "its users" is a small subset of people using a single, niche
widget and who did not show up when said widget was on the pile of
widgets to potentially deprecate:

 * https://mail.gnome.org/archives/gtk-devel-list/2000-October/msg00163.html
 - yes, 2000. it was before GTK 2.0, and GtkRuler was definitely on
the chopping board. sadly, we did not get around deprecating it
immediately.

 * https://mail.gnome.org/archives/gtk-devel-list/2009-October/msg00111.html
 - first discussion about deprecating over-specialized, unmaintained,
niche widgets

 * https://bugzilla.gnome.org/show_bug.cgi?id=613942
 - tracking bug from 2010 about deprecating said widgets

care to be slightly less melodramatic in the future? alternatively, if
you find a deprecated widget, you can step up and maintain it. we can
"undeprecate" it, after all.

ciao,
 Emmanuele.

none. GtkRuler was deprecated in GTK+ 2.x and removed in GTK+ 3.x.
it's a*very*  niche widget, and most applications that use one in
their UI ended up having their own class.

my suggestion is to look at ruler widgets in GIMP and Inkscape.

if you want to draw your own, you can use a GtkDrawingArea subclass
with a custum draw() virtual function.

ciao,
  Emmanuele.



_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



-- 
https://www.bassi.io
[ ] ebassi [ gmail com]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]