Disappearing value on Gtk::HScale control


I have added a Gtk::HScale control to a dialog and it displays fine at
first, with the value on top of the trough. However, as soon as I click
on the slider to move it, the value disappears. I am using glade to
design and libglademm to load the interface. Here is the relevant
definitions from the glade file:

  <widget class="GtkHScale" id="hscCertainty">
    <property name="visible">True</property>
    <property name="can_focus">True</property>
    <property name="draw_value">True</property>
    <property name="value_pos">GTK_POS_TOP</property>
    <property name="digits">2</property>
    <property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
    <property name="inverted">False</property>
    <property name="adjustment">0 0 255 1 0 0</property>

Is it necessary to take additional steps in configuring a HScale control
after it is loaded from the glade file? Could anyone suggest or indicate
what I might be missing?

Thank you,

Ney André de Mello Zunino

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]