On Wed, 2007-10-24 at 08:47 -0400, Tralfas D wrote:
> I can display the widget but i didnt add any signals and the tutorial
> is a little confusing.
> how would you set the max amount that the widget will go to? and how
> do you add a signal to the widget?
> 
> this is my code thus far for a horizontal range widget --- 
> -- snip --

Your code does not compile. Anyway you have to assign an adjustment to
your Scale widget. For instance:

class examp : public Gtk::Window
{
     // ...

private:
    Gtk::Adjustment m_adj;
    Gtk::HScale     m_HScale;
};

examp::examp()
    : m_adj(1.0, 0.0, 5.0, 0.0),
      m_HScale(m_adj)
{
   // ...
}

Regards,

s.

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to