YES!![bar-over]
- From: Gary Kline <kline thought org>
- To: GTK Devel List <gtk-app-devel-list gnome org>
- Subject: YES!![bar-over]
- Date: Thu, 1 Mar 2012 16:12:28 -0800
well, thanks to zz, i think i have something that actually
works....
most or all of you know how, but for those wsho are new to gtk, i
will explain what i learned.
i have a "value changed" callback that prints the value every time
the horizontal slider is moved one increment.
void
cb_get_value (GtkAdjustment *adj)
{
double value;
/*
* get the value for each hscale
*/
value = gtk_adjustment_get_value(adj);
fprintf(stdout,"hscale value: %g\n",value);
}
[ because i have at least four of these scales and the gender the
user wishes, i may not call this function until late in the
'Options' section. yet to be decided. ]
thanks to the whole list for everybody's help. i should be able to
finish the project from here on without any further questions.
famous last words [?]
:)
-gk
--
Gary Kline kline thought org http://www.thought.org Public Service Unix
Voice By Computer (for Universal Access): http:/www.thought.org/vbc
The 8.57a release of Jottings: http://jottings.thought.org
Twenty-five years of service to the Unix community.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]