I have a GtkVBox with some labels and some empty blocks in it …
I have created this window + vBox in Glade3… Working under C.
+----------------+
|Lable1 |
+----------------+
|EMPTY |
+----------------+
|Label2 |
+----------------+
|Lable3 |
+----------------+
On some external events i want to add a label widget at the EMPTY place…
How to do it?
Plus, how can i remove any of the label and add new widget at that place?
Wouldn’t it be easier to just add an empty (or hidden) label initially, and then populate it or show it when needed?
To remove the label, use
gtk_container_remove(vbox, label), where vbox is a pointer to the GtkVBox widget and label is a pointer the widget you want to remove.