Re: Reduce the size of a GtkScale indicator

2018-03-29 Thread Bas Wassink
On 03/29/18 21:19, Stefan Salewski wrote: On Thu, 2018-03-29 at 18:02 +0200, Bas Wassink wrote: Any hints? https://developer.gnome.org/gtk3/stable/chap-css-overview.html grep -A100 GtkScale ~/.config/gtk-3.0/gtk-default.css Well, I do provide a colored label example at https://github.com/

Re: Reduce the size of a GtkScale indicator

2018-03-29 Thread Stefan Salewski
On Thu, 2018-03-29 at 18:02 +0200, Bas Wassink wrote: > Any hints? https://developer.gnome.org/gtk3/stable/chap-css-overview.html grep -A100 GtkScale ~/.config/gtk-3.0/gtk-default.css Well, I do provide a colored label example at https://github.com/StefanSalewski/gintro Starting from that one,

Reduce the size of a GtkScale indicator

2018-03-29 Thread Bas Wassink
Hey there, I'm working on some code the uses a bunch of GtkScale's, but unfortunately the indicator (the thing you grab with the mouse) is way too large. I'd rather not break the user's theme but still provide a smaller indicator to save vertical space. So how do I go about this? Are there

Re: Get the default font in Gtk3

2018-03-29 Thread rastersoft
Ok, now I thing I got it. Thank you very much! El 29/03/18 a las 16:28, Emmanuele Bassi escribió: On 29 March 2018 at 15:12, rastersoft > wrote: [get the Gtk font type and size] Ops, sorry: I'm reworking a backup utility that I wr

Re: Get the default font in Gtk3

2018-03-29 Thread Emmanuele Bassi
On 29 March 2018 at 15:12, rastersoft wrote: > > [get the Gtk font type and size] >>> >>> Ops, sorry: I'm reworking a backup utility that I wrote (cronopete), and >>> I added a timeline with the backups (you can see an screenshot at >>> http://www.rastersoft.com/cronopete_screenshot.png ). As you

Re: Get the default font in Gtk3

2018-03-29 Thread rastersoft
[get the Gtk font type and size] Ops, sorry: I'm reworking a backup utility that I wrote (cronopete), and I added a timeline with the backups (you can see an screenshot at http://www.rastersoft.com/cronopete_screenshot.png ). As you can see, at the left is the timeline and it has the days, mont

Re: Get the default font in Gtk3

2018-03-29 Thread Rafał Mużyło
On Thu, Mar 29, 2018 at 12:58:44PM +0200, rastersoft wrote: > Hi: > > [get the Gtk font type and size] > > >>> No, you seriously don't. > >>> Unless you want to do something fancy, all you need to do would be (in > >>>"draw" handler): > > >> Well, that's the point: I want to do "something fa

Re: Get the default font in Gtk3

2018-03-29 Thread rastersoft
Hi: [get the Gtk font type and size] No, you seriously don't. Unless you want to do something fancy, all you need to do would be (in "draw" handler): Well, that's the point: I want to do "something fancy". That's the problem O:) Describe your usecase then - my crystal ball is *still* o