Is it a good or reliable use of Gtk::Bin::get_child() to see if a widget currently contains another widget?

if (frame.get_child() != NULL)
{
    g_print("we got something here\n");
}
else
{
    g_print("empty\n");
}
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to