GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Dec 22, 2014 9:14 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GtkScale. How get current value?
PostPosted: Wed Oct 24, 2012 2:48 pm 
Offline
Familiar Face

Joined: Tue Oct 16, 2012 11:01 am
Posts: 6
Hi! I can not find any function in GtkScale reference page http://developer.gnome.org/gtk3/3.2/GtkScale.html for extracting value of
slider position. Also there is not any signal showing that value had changed. Though there is such function and signal for GtkScaleButton. But I need scale. Please help.


Top
 Profile  
 
 Post subject: Re: GtkScale. How get current value?
PostPosted: Wed Oct 24, 2012 3:08 pm 
Offline
Familiar Face

Joined: Tue Oct 16, 2012 11:01 am
Posts: 6
Already found answer:)

From here http://ubuntuforums.org/archive/index.php/t-242266.html I understood that GtkScale can be bound with GtkRange functions and signals as GtkScale is derived from GtkRange. So function to take value is gtk_range_get_value () and signal for g_signal_connect will be "value-changed".


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot], Yahoo [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group