HScale don't move
- From: "Xi Yang" <jiandingzhe 163 com>
- To: gtk-app-devel-list gnome org
- Subject: HScale don't move
- Date: Tue, 9 Aug 2011 10:32:56 +0800 (CST)
Hi everyone!
I'm designing an application with Gtk2 and Glade designer.
However, the sliding bar of the HScale just don't move while being dragged. I can't find where is the problem.
This is the part of glade file that defines the HScale and Adjustment:
<child>
<object class="GtkHScale" id="scale_assign">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment">adj_assign</property>
<property name="digits">0</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<object class="GtkAdjustment" id="adj_assign">
<property name="value">5</property>
<property name="upper">10</property>
<property name="step_increment">0.10000000000000001</property>
<property name="page_increment">10</property>
<property name="page_size">10</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]