widget with label



Question: 

These two way to create a widget are *exactly* equivalent?

b = gtk_button_new_with_label("hello!");
b = gtk_button_new();
l = gtk_label_new("hello!");
gtk_container_add(b, l);

The second one is done internally by the first one?

Thanx

see you! 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]