2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /*%% (c) Copyright 1993, 1994 Hewlett-Packard Company */
24 /*%% (c) Copyright 1993, 1994 International Business Machines Corp. */
25 /*%% (c) Copyright 1993, 1994 Sun Microsystems, Inc. */
26 /*%% (c) Copyright 1993, 1994 Novell, Inc. */
27 /*%% $XConsortium: ttdesktop.h /main/3 1995/10/23 10:31:59 rswiston $ */
29 * @(#)ttdesktop.h 1.3 93/09/07
31 * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
36 #include "tttk/tttk.h"
37 #include "tttk/tttkmessage.h"
40 int repliesOutStanding;
48 Tt_pattern _ttDesktopPatternFinish(
50 Tt_message commission,
53 Tt_message _ttDesktopMessageFinish(
55 Tt_message commission,
58 Widget _ttdt_realized_widget(
60 int mappedWhenManaged_Shell = 1
62 Tt_message _ttdt_posix_cb(
68 Tt_message _ttdt_contract_cb(
76 _TtDtMessageCB internalCB,
78 Tt_message commission,
84 Tt_message _ttdt_do_GSet_Geometry(
93 Tt_message _ttdt_do_wm_state(
97 int *iconified_or_mapped
99 Tt_message _ttdt_do_Set_XInfo(
107 Tt_message _ttdt_do_Get_XInfo(
115 Tt_message _ttdt_do_RaiseLower(
121 **********************************************************************
125 **********************************************************************
127 Tt_message ttdt_Started(
129 const char *toolName,
134 Tt_message ttdt_Stopped(
136 const char *toolName,
141 Tt_message ttdt_Status(
143 Tt_message commission,
145 const char *toolName,
154 typedef Tt_message (*Ttdt_Get_Locale_msg_cb)(
157 const char **categories,
160 Tt_message ttdt_Get_Locale(
162 Tt_message commission,
163 Ttdt_Get_Locale_msg_cb callback,
165 const char **categories,
171 typedef Tt_message (*Ttdt_Get_Situation_msg_cb)(
176 Tt_message ttdt_Get_Situation(
178 Tt_message commission,
179 Ttdt_Get_Situation_msg_cb callback,
186 typedef Tt_message (*Ttdt_Quit_cb)(
189 Tt_message commission,
193 Tt_pattern ttdt_Quit_pat(
194 Tt_category category,
195 Tt_message commission,
196 Ttdt_Quit_cb callback,
203 Tt_pattern ttdt_Pause_pat(
204 Tt_category category,
205 Tt_message commission,
206 Ttdt_contract_cb callback,
211 **********************************************************************
215 **********************************************************************
220 typedef Tt_message (*Ttdt_Geometry_in_cb)(
223 Tt_message commission,
229 typedef Tt_message (*Ttdt_Geometry_out_cb)(
232 Tt_message commission,
238 Tt_message ttdt_Get_Geometry(
240 Tt_message commission,
241 Ttdt_Geometry_in_cb callback,
245 Tt_pattern ttdt_Get_Geometry_pat(
246 Tt_category category,
247 Tt_message commission,
248 Ttdt_Geometry_out_cb callback,
255 Tt_message ttdt_Set_Geometry(
257 Tt_message commission,
258 Tt_class req_or_edict,
259 Ttdt_Geometry_in_cb callback,
267 Tt_pattern ttdt_Set_Geometry_pat(
268 Tt_category category,
269 Tt_message commission,
270 Ttdt_Geometry_out_cb callback,
277 typedef Tt_message (*Ttdt_Iconified_in_cb)(
280 Tt_message commission,
283 typedef Tt_message (*Ttdt_Iconified_out_cb)(
286 Tt_message commission,
289 Tt_message ttdt_Get_Iconified(
291 Tt_message commission,
292 Ttdt_Iconified_in_cb callback,
296 Tt_pattern ttdt_Get_Iconified_pat(
297 Tt_category category,
298 Tt_message commission,
299 Ttdt_Iconified_out_cb callback,
306 Tt_message ttdt_Set_Iconified(
308 Tt_message commission,
309 Tt_class req_or_edict,
310 Ttdt_Iconified_in_cb callback,
315 Tt_pattern ttdt_Set_Iconified_pat(
316 Tt_category category,
317 Tt_message commission,
318 Ttdt_Iconified_out_cb callback,
325 typedef Tt_message (*Ttdt_XInfo_in_cb)(
328 Tt_message commission,
333 typedef Tt_message (*Ttdt_XInfo_out_cb)(
336 Tt_message commission,
341 Tt_message ttdt_Get_XInfo(
343 Tt_message commission,
344 Ttdt_XInfo_in_cb callback,
348 Tt_pattern ttdt_Get_XInfo_pat(
349 Tt_category category,
350 Tt_message commission,
351 Ttdt_XInfo_out_cb callback,
358 Tt_message ttdt_Set_XInfo(
360 Tt_message commission,
361 Tt_class req_or_edict,
362 Ttdt_XInfo_in_cb callback,
369 Tt_pattern ttdt_Set_XInfo_pat(
370 Tt_category category,
371 Tt_message commission,
372 Ttdt_XInfo_in_cb callback,
379 Tt_message ttdt_Raise(
381 Tt_message commission,
382 Tt_class req_or_edict,
383 Ttdt_contract_cb callback,
387 Tt_pattern ttdt_Raise_pat(
388 Tt_category category,
389 Tt_message commission,
390 Ttdt_contract_cb callback,