getting GDK_GRAB_NOT_VIEWABLE for keyboard grab
- From: Thura <thurahlaing06 gmail com>
- To: gtk-app-devel-list gnome org
- Subject: getting GDK_GRAB_NOT_VIEWABLE for keyboard grab
- Date: Sun, 6 Dec 2009 16:12:53 +0800
I am trying to grab keyboard for my application window, and getting return
value "3" (GDK_GRAB_NOT_VIEWABLE) ...
Any clue?
Here is my code.
gtk_window_fullscreen (GTK_WINDOW(object->window));
gtk_widget_show_all (GTK_WIDGET(object->window));
int retval = gdk_keyboard_grab (object->window->window, FALSE,
GDK_CURRENT_TIME);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]