[prev in list] [next in list] [prev in thread] [next in thread]
List: gtkmm
Subject: using Gtk::Bin::get_child() to test for contents
From: Rob Benton <rob.benton () conwaycorp ! net>
Date: 2006-01-24 0:36:33
Message-ID: 43D57691.4080205 () conwaycorp ! net
[Download RAW message or body]
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
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic