Calling X functions on gtk windows
- From: "Mr. T. M. Sheen" <T M Sheen eng abdn ac uk>
- To: gtk-list redhat com
- Subject: Calling X functions on gtk windows
- Date: Tue, 10 Mar 1998 15:18:03 +0000 (GMT)
I am having trouble calling an X function directly on a gtk window.
I want to iconify the application.
I am just guessing that I have the correct X function,
I want to do something like
IconifyWindow(GtkWidget *w){
XIconifyWindow(GDK_WINDOW_XDISPLAY(w),GDK_WINDOW_XWINDOW(w),0);
}
I have also tried
IconifyWindow(GtkWidget *w){
XIconifyWindow(GDK_DISPLAY(),GDK_WINDOW_XWINDOW(w),0);
}
Neither of which works.
The first crashes and the second does nothing.
I would be grateful for any pointers.
Cheers,
Tim..
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]