this is my first question on Stack Overflow,so I hope you can be friendly if I will make some mistakes.
I'm trying to learn a little bit of Gtk2.0 mechanisms. I'm a newbie with this library so I'm trying to construct a basic GUI.
I created a 230x150 window, attached a GdkPixbuf icon and learned how to trigger signals, in particular I'm interested on showing/hiding the icon on pressing of an arrow key.
I have achieved the objective of showing the icon but I'm not finding the way to hide this one. I looked at the documentation, but anything seems to be working.
I attach the code below so you can help me better. Thanks in advance for hints.
You should be able to hide the icon with gtk_widget_hide(app->icon)
.