Alright I've finally solved it. I had to pass the focus manually from the
GtkDrawingArea to the embedded xterm using XSetInputFocus(). Can somebody
suggest a cleaner or a more GTK-ish way of doing this?
I've tried with GtkSocket and gtk_socket_steal() but I still had to pass the
focus manually.
T
I guess you just have the wrong callback function signature for the
"change-value" signal.
See http://library.gnome.org/devel/gtk/2.14/GtkRange.html
So:
void funcScale (GtkWidget *widget, struct allStructs *base)
should probably be:
void funcScale (GtkRange *range, GtkScrollType scroll, gdoubl
Hi,
I'm having a weird focus problem with an xterm embedded in a GtkDrawingArea.
When I put the main application on sleep, the xterm can get the focus.
Otherwise, it can't.
Could somebody suggest me a way to allow the embedded xterm to get the focus
when the GtkDrawingArea gets it?
A minimal exa