Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iMadz

macrumors newbie
Original poster
Feb 15, 2015
1
0
I am making an interface in which there are four GTK widgets scale. Each scale represents a percentage. And all four scales depend on each others. Which means that the sum of all 4 scales shouldn't exceed 100%. In order to do this, I need to get the chosen value of the scale. However the gtk_range_get_value function gets the value only during the compilation of my program and is then always equal to 0! Is there any way for getting the value AFTER chosing it? or any other way?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.