Gtkmm-forge digest, Vol 1 #987 - 1 msg



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-admin 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 318877] New: Creating empty iterators and/or paths not possible (gtkmm (bugzilla.gnome.org))

--__--__--

Message: 1
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
To: gtkmm-forge lists sourceforge net
Date: Fri, 14 Oct 2005 12:59:37 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 318877] New: Creating empty iterators and/or paths not possible

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=3D318877
 gtkmm | TreeView | Ver: 2.6.x

           Summary: Creating empty iterators and/or paths not possible
           Product: gtkmm
           Version: 2.6.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: TreeView
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: cactus cactus rulez org
                CC: all-bugs bugzilla gnome org


Version details: 2.6.2

When implementing a custom TreeModel, emitting a rows_reordered signal fo=
r the
root row (i.e. the one that should be referenced by an empty path/NULL it=
erator)
doesn't work.

Here's the C code that works:

        GtkTreePath *path =3D gtk_tree_path_new ();
       =20
        int *new_order_c =3D new int[new_order.size () + 1];
        for (unsigned int i =3D 0; i !=3D new_order.size (); ++i)
            new_order_c[i] =3D new_order[i];
        new_order_c[new_order.size ()] =3D 0;

        gtk_tree_model_rows_reordered (gobj (), path, 0, new_order_c);

and here's the C++ code that should be equivalent, yet doesn't work:
        rows_reordered (Gtk::TreeModel::Path (), iterator (), new_order);

------- You are receiving this mail because: -------
You are the assignee for the bug.



--__--__--

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


End of Gtkmm-forge Digest



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