filmov
tv
GTK3 CSS C Language Tutorial 15 Signal and Events EventBox Part 07

Показать описание
here we are extending our knowledge about the proper use of GtkEventBox and its usage.
.
We are talking about a new important function too:
gtk_widget_realize()
This means that if you create your EventBox like this:
event_box = gtk_event_box_new();
.
And then you show it just after you create it:
event_box = gtk_event_box_new();
gtk_widget_show ( event_box );
Do not expect to work, because there is no window for your EventBox yet.
.
You need to realize ( create ) it. -=========================================================================-
I am a GTK fan and of course I do this videos for fun.
I thought that if I share my knowledge with others could help them to join in the GTK world.
All my Videos are based on my own understanding and mistakes could take place anytime.
Leave a comment with mistakes you may find.
Please Subscribe and Share my Channel.
.
We are talking about a new important function too:
gtk_widget_realize()
This means that if you create your EventBox like this:
event_box = gtk_event_box_new();
.
And then you show it just after you create it:
event_box = gtk_event_box_new();
gtk_widget_show ( event_box );
Do not expect to work, because there is no window for your EventBox yet.
.
You need to realize ( create ) it. -=========================================================================-
I am a GTK fan and of course I do this videos for fun.
I thought that if I share my knowledge with others could help them to join in the GTK world.
All my Videos are based on my own understanding and mistakes could take place anytime.
Leave a comment with mistakes you may find.
Please Subscribe and Share my Channel.