How do you change the range of a GtkHScale widget?
- From: "Peter R. Brinkler" <riishigh daimi aau dk>
- To: GTKlist <gtk-list redhat com>
- Subject: How do you change the range of a GtkHScale widget?
- Date: Tue, 03 Aug 1999 17:00:56 +0200
I need to change the upper and lower bound of the scale, such
that when I enter a value (in a textarea) the value is set, and the
bounds are moved so the value is possible.
I have tried the following,
gtk_adjustment_clamp_page(GTK_ADJUSTMENT(_adj), getLowLimit(),
getHighLimit() );
where _adj is the adustment I created the scale from, and where
getHigh/LowLimit
finds the correct values.
The problem: The range of the widget doesn't change.
I use the following to change the value of the scale.
gtk_adjustment_set_value(GTK_ADJUSTMENT(_adj), V);
I am probably doing something wrong - but what?
TIA
/Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]