Problems Sending Input/Focus to Plug Window - Solution



Ok, it's already implemented, though using a huge framework like gtk can
sometimes make it a tough job to find the right trigger. The plug/socket example
could be a bit more detailed, but I guess the gtk Developers are quite busy,
like us ;). Anyways, here is the solution:

socket->child_focus(Gtk::DIR_TAB_FORWARD);

For your convenience, the link to Gtk::DirectionType:
https://developer.gnome.org/gtkmm/3.11/group__gtkmmEnums.html#ga6c754c32a8421f746367b43c277e4d7b

One little question remains: Is there any way to put the focus to an embedded
xterm? It somehow seems, that xterm does not follow the xembed protocoll
correctly.

Be wild and genius,
  
  Benjamin


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