Re: Gtk+ progress bar color
- From: cecashon aol com
- To: ruben_gr live com pt, mail ssalewski de, gtk-app-devel-list gnome org
- Subject: Re: Gtk+ progress bar color
- Date: Wed, 8 Mar 2017 13:49:21 -0500
If the default progress bar in GTK isn't what you are looking for then you can always make your own. You can
design it how you want easy enough with a drawing area. With GTK3 you have OpenGL, Cairo, gradients,
tensor-product patch meshes, etc. to draw with. You even have a frame clock for smooth animation if you want.
If you figure out a progress bar that you like you can even package it as a re-usable object so that you can
create many instances of the progress bar at once if you so need.
Some simple progress bars.
https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/da_progress1.c
Progress bars as an object.
https://github.com/cecashon/OrderedSetVelociRaptor/tree/master/Misc/SteppedProgressBar
Have a little fun programming. The tools are there.
Eric
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]