[core] [oils] [libraries] [C++ messages] [coding guidelines] | [up to overview ] |
#include <msg/gtkdisplay/mkeyGTKObjectReady.h>
mkeyGTKObjectReady (int id, GtkWidget *obj);
This message is sent by the last filter to announce the object created
as a response to a
mBuildFilterStack
(id, "Display/GTK"); call. The GtkWidget *object
member points
to the newly created object.
To get hold of the "Display/GTK" object created in the mBuildFilterStack example you could:InterestByKey*objinterest; objinterest=new InterestByKey (this,&ObjRdyMess); objinterest->AddKey(id); /* Make the mBuildFilterStack stuff */ int ObjRdyMess(mkeyGTKObjectReady &m) { /* Displaying the new object... */ gtk_box_pack_end(GTK_BOX(dispcontainer), dispObj, TRUE, TRUE, 0); return 0; }