1 /* $XConsortium: wsm_cb.h /main/5 1995/07/15 20:46:46 drk $ */ 2 /* 3 * Motif 4 * 5 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 6 * 7 * These libraries and programs are free software; you can 8 * redistribute them and/or modify them under the terms of the GNU 9 * Lesser General Public License as published by the Free Software 10 * Foundation; either version 2 of the License, or (at your option) 11 * any later version. 12 * 13 * These libraries and programs are distributed in the hope that 14 * they will be useful, but WITHOUT ANY WARRANTY; without even the 15 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 16 * PURPOSE. See the GNU Lesser General Public License for more 17 * details. 18 * 19 * You should have received a copy of the GNU Lesser General Public 20 * License along with these librararies and programs; if not, write 21 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 22 * Floor, Boston, MA 02110-1301 USA 23 */ 24 /* 25 * HISTORY 26 */ 27 #ifndef wsmCB_h 28 #define wsmCB_h 29 30 #include "wsm_ui.h" 31 32 extern void InitializeInterface( 33 WSM_UI* 34 ); 35 36 37 38 39 extern void HideWsm(); 40 41 extern void ShowWsm(); 42 43 extern Widget CreateWorkspacePanel( 44 Widget, 45 WSM_UI*, 46 Boolean 47 ); 48 49 50 51 52 extern void CreateNewSpaceButton( 53 int, 54 char*, 55 WSM_UI* 56 ); 57 58 59 60 extern void SendLeaveRoomCB( 61 Widget, 62 XtPointer, 63 XtPointer 64 ); 65 66 67 68 69 70 extern void NewActivateCB( 71 Widget, 72 XtPointer, 73 XtPointer 74 ); 75 76 77 extern void HideActivateCB( 78 Widget, 79 XtPointer, 80 XtPointer 81 ); 82 83 84 extern void SaveActivateCB( 85 Widget, 86 XtPointer, 87 XtPointer 88 ); 89 90 91 extern void ExitCB( 92 Widget, 93 XtPointer, 94 XtPointer 95 ); 96 97 extern void CreateFromOptionButton( 98 int, 99 char* 100 ); 101 102 103 104 extern void CreateToOptionButton( 105 int, 106 char* 107 ); 108 109 extern void UpdateList( 110 Widget, 111 Space* 112 ); 113 114 extern void UpdateBothList( 115 Space* 116 ); 117 118 extern void CreateConfigureCB( 119 Widget, 120 XtPointer, 121 XtPointer 122 ); 123 124 extern void MoveCB( 125 Widget, 126 XtPointer, 127 XtPointer 128 ); 129 130 131 extern void DeleteCB( 132 Widget, 133 XtPointer, 134 XtPointer 135 ); 136 137 138 extern void ToWorkspaceCB( 139 Widget, 140 XtPointer, 141 XtPointer 142 ); 143 144 extern void FromWorkspaceCB( 145 Widget, 146 XtPointer, 147 XtPointer 148 ); 149 150 extern void Copy( 151 WSM_UI* 152 ); 153 154 155 extern void Link( 156 WSM_UI* 157 ); 158 159 extern void OccupyCB( 160 Widget, 161 XtPointer, 162 XtPointer 163 ); 164 165 166 extern void SelectFromListCB( 167 Widget, 168 XtPointer, 169 XtPointer 170 ); 171 172 173 174 extern void MultSelectFromListCB( 175 Widget, 176 XtPointer, 177 XtPointer 178 ); 179 180 181 182 183 extern void ClientModeCB( 184 Widget, 185 XtPointer, 186 XtPointer 187 ); 188 189 190 extern void WindowModeCB( 191 Widget, 192 XtPointer, 193 XtPointer 194 ); 195 196 197 198 extern void SelectToListCB( 199 Widget, 200 XtPointer, 201 XtPointer 202 ); 203 204 extern void DismissConfigureCB( 205 Widget, 206 XtPointer, 207 XtPointer 208 ); 209 210 211 extern void CreateNameCB( 212 Widget, 213 XtPointer, 214 XtPointer 215 ); 216 217 218 extern void UpdateSpaceList( 219 Widget 220 ); 221 222 223 extern void SelectNameSpaceCB( 224 Widget, 225 XtPointer, 226 XtPointer 227 ); 228 229 230 extern void ChangeSpaceName( 231 WSM_UI*, 232 Space*, 233 int 234 ); 235 236 237 extern void NameActivateCB( 238 Widget, 239 XtPointer, 240 XtPointer 241 ); 242 243 244 245 extern void PixmapActivateCB( 246 Widget, 247 XtPointer, 248 XtPointer 249 ); 250 251 252 extern void NameOkActivateCB( 253 Widget, 254 XtPointer, 255 XtPointer 256 ); 257 258 259 extern void DismissNameCB( 260 Widget, 261 XtPointer, 262 XtPointer 263 ); 264 265 266 267 268 extern void CreateBackgroundCB( 269 Widget, 270 XtPointer, 271 XtPointer 272 ); 273 274 275 extern void SelectBackgroundSpaceCB( 276 Widget, 277 XtPointer, 278 XtPointer 279 ); 280 281 282 extern void BackgroundActivateCB( 283 Widget, 284 XtPointer, 285 XtPointer 286 ); 287 288 289 extern void DismissBackgroundCB( 290 Widget, 291 XtPointer, 292 XtPointer 293 ); 294 295 296 extern void CreateDeleteCB( 297 Widget, 298 XtPointer, 299 XtPointer 300 ); 301 302 303 extern void DismissDeleteCB( 304 Widget, 305 XtPointer, 306 XtPointer 307 ); 308 309 310 extern void DeleteActivateCB( 311 Widget, 312 XtPointer, 313 XtPointer 314 ); 315 316 317 318 extern void SelectDeleteCB( 319 Widget, 320 XtPointer, 321 XtPointer 322 ); 323 324 325 extern void SaveAsCB( 326 Widget, 327 XtPointer, 328 XtPointer 329 ); 330 331 332 extern void SaveAsOkCB( 333 Widget, 334 XtPointer, 335 XtPointer 336 ); 337 338 339 extern void DismissSaveAsCB( 340 Widget, 341 XtPointer, 342 XtPointer 343 ); 344 345 346 347 348 349 extern void CreateOccupy( 350 WorkWindow* 351 ); 352 353 354 extern void DismissOccupyCB( 355 Widget, 356 XtPointer, 357 XtPointer 358 ); 359 360 361 extern void OccupyActivateCB( 362 Widget, 363 XtPointer, 364 XtPointer 365 ); 366 367 368 369 extern void SelectOccupyCB( 370 Widget, 371 XtPointer, 372 XtPointer 373 ); 374 375 376 377 extern void CopyModeCB( 378 Widget, 379 XtPointer, 380 XtPointer 381 ); 382 383 384 extern void LinkModeCB( 385 Widget, 386 XtPointer, 387 XtPointer 388 ); 389 390 extern void 391 UpdateButtons(WorkWindow *w_window); 392 393 #endif 394