Gtkmm-forge Digest, Vol 7, Issue 7



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-owner lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 385858] New: Spinbutton values not	initialized properly
      when constructing from an existing adjustment
      (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Thu, 14 Dec 2006 14:39:01 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 385858] New: Spinbutton values not
	initialized properly when constructing from an existing adjustment
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-385858-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=385858

  gtkmm | general | Ver: 2.10.x

           Summary: Spinbutton values not initialized properly when
                    constructing from an existing adjustment
           Product: gtkmm
           Version: 2.10.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: Bernhard Sonderegger cui unige ch
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.15/2.16
   GNOME milestone: Unspecified


Constructing a GTK::Spinbutton in the following way gives a spinbutton with
value "0" instead of '6' as defined in the constructor of the Gtk::Adjustment.

     Gtk::Adjustment myAdjustment(6.0, 1.0, 36.0, 1.0, 5.0, 0.0);
     Gtk::SpinButton mySpinbutton(myAdjustment);


Adding the following line resolves the problem (i.e. the correct initial value
of '6' is shown in the GUI). But this is redundant. The first argument in the
Gtk::Adjustment constructor should be sufficient.

     mySpinbutton.set_value(6.0);


This bug was not observed in gtkmm 2.8.x
This bug was observed in gtkmm 2.10.x on both gentoo and ubuntu distributions.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 7, Issue 7
*****************************************



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