[gtkmm] Obtaining a pointer to an object

Title: Obtaining a pointer to an object

Is there a way to obtain a pointer from an object to other objects that have been created by the same parent (without passing the pointers as arguments)?  I need to obtain a reference to an object in order to use sigc::mem_fun to connect a signal to another class.  Both of the classes have the same parent window.  I was looking at the get_toplevel and get_ancestor calls, but I don't think they'll work.  Does anyone have any suggestions or some short example code?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]