Re: gtkhruler in gtk3

2013-02-17 Thread Michael Natterer
On Sun, 2013-02-17 at 09:00 -0300, salsaman wrote: > Hi, > has anybody created a gtk3 widget similar to the gtkhruler in gtk2 ? > It could save me a lot of work. http://git.gnome.org/browse/gimp/tree/libgimpwidgets/gimpruler.c?h=gtk3-port contains some minor gimp-isms, but is a GtkOrientable and

Re: gtkhruler in gtk3

2013-02-17 Thread David Nečas
On Sun, Feb 17, 2013 at 11:37:28PM +0900, Tristan Van Berkom wrote: > If you take the ruler widget code from GTK+2, you should be > able to very easily use it compiling against GTK+3... You'll > need to change ->expose_event() and ->size_request() > appropriately (for ruler code, you should only ne

Re: gtkhruler in gtk3

2013-02-17 Thread salsaman
Thanks for the tip Tristan. I'm also porting a few of the widgets from the (I think orphaned) GIW project too, so you may be interested in adding those also to egg. https://sourceforge.net/projects/giw/ I have: giwknob - a range widget giwled - a simple "lamp" style togglebutton giwvslder - a sli

Re: gtkhruler in gtk3

2013-02-17 Thread Tristan Van Berkom
On Sun, Feb 17, 2013 at 9:00 PM, salsaman wrote: > Hi, > has anybody created a gtk3 widget similar to the gtkhruler in gtk2 ? > It could save me a lot of work. > The ruler was only removed in GTK+3 because it was judged to be too specialized to have a place in the toolkit (not very many users of

gtkhruler in gtk3

2013-02-17 Thread salsaman
Hi, has anybody created a gtk3 widget similar to the gtkhruler in gtk2 ? It could save me a lot of work. Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman ___ gtk-list mailing list gtk-list@gnome.org https://mail.g