Re: [WM] docking Gimp?
- From: Owen Taylor <owt1 cornell edu>
- To: Oliver Graf <ograf fga de>
- Cc: Sebastian Kaps <toyland sauerland de>, WindowMaker Mailing List <wmaker eosys com>, gtk-list redhat com, Gimp List <gimp-developer scam xcf berkeley edu>
- Subject: Re: [WM] docking Gimp?
- Date: 13 Apr 1998 17:19:33 -0400
Oliver Graf <ograf@fga.de> writes:
> To gtk-developers: is there anything like a main window in gtk+? If yes, this
> window *must* be the real leader of the app. Are there any functions to
> create/set such a leader? I will search for them on my own, but perhaps
> someone can reduce the work I have to do (there are other things to do --
> XEmacs).
There is no concept of main window in GTK+.
The leader for a window in GDK can be set with:
void gdk_window_set_group (GdkWindow *window,
GdkWindow *leader);
To do this for a GTK window, you would, after show()'ing the window
so that it is realized, do:
gdk_window_set_group (window->window, leader_window->window);
(A GTK for this interface may possibly be added in the future.)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]