Listbox will automatically hide and show the placeholder as appropriate, so you don't need to only construct it if the list is empty. But you do need to make sure to call show_all ()
I made the whole listbox insensitive instead of just the switch. It's simpler and I think it's more clear too
Listbox will automatically hide and show the placeholder as appropriate, so you don't need to only construct it if the list is empty. But you do need to make sure to call
show_all ()
I made the whole listbox insensitive instead of just the switch. It's simpler and I think it's more clear too