using Gtk::Bin::get_child() to test for contents
- From: Rob Benton <rob benton conwaycorp net>
- To: gtkmm-list gnome org
- Subject: using Gtk::Bin::get_child() to test for contents
- Date: Mon, 23 Jan 2006 18:36:33 -0600
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");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]