Problems Sending Input/Focus to Plug Window - Solution
- From: Benjamin Schnitzler <benjaminschnitzler googlemail com>
- To: gtk-app-devel-list gnome org
- Subject: Problems Sending Input/Focus to Plug Window - Solution
- Date: Thu, 28 Aug 2014 20:22:37 +0200
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]