Ticket #1210 (new defect)

Opened 3 years ago

Last modified 3 years ago

castToListStore not exported

Reported by: guest Owned by: somebody
Priority: normal Milestone:
Component: general (Gtk+, Glib) Version: 0.11.0
Keywords: Cc: dylan@…

Description

It seems that it would make sense to call castToListStore on the result of treeViewGetModel, but castToListStore, while defined in types, is not exported by Graphics.UI.Gtk.ModelView?.ListStore?. gTypeListStore, castToTreeStore, and related functions are also missing.

Change History

Changed 3 years ago by guest

Oh, maybe I understand why now: Graphics.UI.Gtk.ModelView?.ListStore? is not the same as Graphics.UI.Gtk.Types.ListStore?, and casting to ListStore? a would not be type safe. Still, it seems like there should be some way to cast from TreeModel? to ListStore? a. unsafeCastGObject?

Note: See TracTickets for help on using tickets.