Am 25.08.2012 um 22:36 schrieb andy pugh: > On 25 August 2012 19:11, Michael Haberler <[email protected]> wrote: > >> 3. ALL guis, not just Axis, need to eventually learn how to start a >> POSTGUI_HALFILE if there is any chance itself or a subprocess creates >> additional HAL objects. To do so, they need to understand that they are the >> primary UI component. This suggests a per-ui command line flag like >> '--primary-ui'. > > Would simply being first in the list work?
Unfortunately currently not, because embedding a window requires the parent process (eg Axis) to pass a 'GtkSocket id' to the child process (GladeVCP), which then 'GtkPlug's into it with that id as argument. And there might be several GladeVCP windows within a parent, with different command lines. I think the GtkSocket id is just the underlying X window id of the not-yet-occupied parent window. Very easy to do if the parent starts the child directly, not straightforward if the embedded GUI's are started later; they'd need to somehow retrieve 'their' socket id from the parent. That's a non-trivial change to parents and GladeVCP. - Michael ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
