[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Re: [gtkmm] Small Gtk::Adjustment Issue
From:       murrayc () t-online ! de (Murray Cumming)
Date:       2002-04-26 6:49:58
[Download RAW message or body]

I think this was fixed in cvs. Don't be afraid to look at the source to
discover a fix.

On Fri, 2002-04-26 at 08:27, Andrew E. Makeev wrote:
> Bug:
> 
>     When we are using Gtk::Adjustment class to create spin/range
> widgets,
> it won't set default (start) value properly. Like this:
> 
> Gtk::Adjustment *adj = new Gtk::Adjustment(1.0, 1.0, 12.0, 1.0, 5.0,
> 0.0);
> Gtk::SpinButton *spin = new Gtk::SpinButton(adj, 0, 0);
> ...
> show_all();
> 
> Spinner were always showing 0 as start (default) value just after
> creation,
> unless we did call Gtk::SpinButton::set_value (float) method.
> (Same about Gtk::Range, Gtk::Scale and other "adjustable" widgets).
> 
> thanks,
> -Andrew
> 
> 
> 
> _______________________________________________
> to unsubscribe or change your subscription parameters :
> https://lists.sourceforge.net/lists/listinfo/gtkmm-main
-- 
Murray Cumming
murrayc@usa.net
www.murrayc.com


_______________________________________________
to unsubscribe or change your subscription parameters :
https://lists.sourceforge.net/lists/listinfo/gtkmm-main
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic