GtkListStore initialization

I want to add a hidden column to a GtkListStore to hold string data, if applicable (not applicable for all rows). I’m wondering, can I assume that ListStore “cells” are initialized to appropriate zero/NULL, or would I need an extra boolean column to tell me if the string cell can be accessed? (Or would it work to explicitly set NULL on the cells without content?)

You’ll get NULL if it hasn’t been set before

Great, that’s what I was hoping. (And also what I found, but I just wanted to check it could be relied upon.)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.