Re: Adjustment problem
- From: "Amadeus W.M." <amadeus84 verizon net>
- To: gtkmm-list gnome org
- Subject: Re: Adjustment problem
- Date: Tue, 31 Oct 2006 10:25:29 -0500
On Mon, 30 Oct 2006 17:46:03 -0600, Paul Davis wrote:
> If you write up a quick example I'll take a look real quick and digg into
> gtk if necessary. Sounds an awfull lot like a bug of them not getting
> initialized at instantiation.
>
> Paul
>
> On 10/30/06, Amadeus W.M. <amadeus84 verizon net> wrote:
>>
>> I have a spin button, which I create like so:
>>
>> Gtk::Adjustment *spinbutton1_adj = Gtk::manage(new class
>> Gtk::Adjustment(25,
>> 0, 100, 1, 10, 10));
>> spinbutton1 = Gtk::manage(new class Gtk::SpinButton(*spinbutton1_adj,
>> 1, 0));
>>
>> Notice the default value of 25.
>>
>> In gtkmm-2.8.8 the spin button actually gets displayed with that value of
>> 25. However, under gtkmm-2.10.2 (in FC6) the spinbutton is displayed with
>> the value 0.
>>
>> I have TONS of spin buttons in my application, all set to 0 upon startup.
>>
>> What should I be looking into? The gui part of the code was generated with
>> glademm but I don't think that should matter, should it? The constructor
>> of the adjustment is called as I showed above. And that agrees with what I
>> saw on the online doc page.
>>
>> Why is the value not being set?
>>
>>
>>
>> _______________________________________________
>> gtkmm-list mailing list
>> gtkmm-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>>
> If you write up a quick example I'll take a look real quick and digg into gtk if necessary. Sounds an awfull lot like a bug of them not getting initialized at instantiation.<br><br>Paul<br><br><div><span class="gmail_quote">
> On 10/30/06, <b class="gmail_sendername">Amadeus W.M.</b> <<a href="mailto:amadeus84 verizon net">amadeus84 verizon net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> I have a spin button, which I create like so:<br><br> Gtk::Adjustment *spinbutton1_adj = Gtk::manage(new class Gtk::Adjustment(25,<br>0, 100, 1, 10, 10));<br> spinbutton1 = Gtk::manage(new class Gtk::SpinButton(*spinbutton1_adj,
> <br> 1, 0));<br><br>Notice the default value of 25.<br><br>In gtkmm-2.8.8 the spin button actually gets displayed with that value of<br>25. However, under gtkmm-2.10.2 (in FC6) the spinbutton is displayed with<br>the value 0.
> <br><br>I have TONS of spin buttons in my application, all set to 0 upon startup.<br><br>What should I be looking into? The gui part of the code was generated with<br>glademm but I don't think that should matter, should it? The constructor
> <br>of the adjustment is called as I showed above. And that agrees with what I<br>saw on the online doc page.<br><br>Why is the value not being set?<br><br><br><br>_______________________________________________<br>gtkmm-list mailing list
> <br><a href="mailto:gtkmm-list gnome org">gtkmm-list gnome org</a><br><a href="http://mail.gnome.org/mailman/listinfo/gtkmm-list">http://mail.gnome.org/mailman/listinfo/gtkmm-list</a><br></blockquote></div><br>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
If you do get a chance to take a look at this, would you please let me
know? I have to give a presentation on Friday. The bulk of the
presentation is a live demo, and my gui is not working. I'd look
into gtkmm, but I don't know the iternals. Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]