[core]  [oils]  [libraries]  [C++ messages]  [coding guidelines] [up to overview ]

mkeyGTKTagReady (in msg_display)

Last updated:


Syntax

#include <msg/gtkdisplay/mkeyGTKTagReady.h>
mkeyGTKTagReady (int id, gtkTag *obj);


mkeyGTKTagReady

This message is sent by the last filter to announce the object created as a response to a mBuildFilterStack (id, "Tag/GTK"); call. The gtkTag *object member points to the newly created object.


mkeyGTKTagReady

To get hold of a "Tag/GTK" object created like the object in the mBuildFilterStack example you could:
InterestByKey *objinterest;
objinterest=new InterestByKey(this,&ObjRdyMess);
objinterest->AddKey(id);

/* Make the mBuildFilterStack stuff */

int ObjRdyMess(mkeyGTKTagReady &m) {
  TagNode root;
  root.AddChild(m.object);
  return 0;
}