widget.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  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)
  10. * any later version.
  11. *
  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
  16. * details.
  17. *
  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
  22. */
  23. /* $XConsortium: widget.h /main/4 1995/11/01 15:57:51 rswiston $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: widget.h
  28. **
  29. ** Project: CDE
  30. **
  31. ** Description: Public include file for widget.c
  32. **
  33. **
  34. ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992
  35. ** by Hewlett-Packard Company
  36. **
  37. **
  38. **
  39. ****************************************************************************
  40. ************************************<+>*************************************/
  41. #ifndef _Dtksh_widget_h
  42. #define _Dtksh_widget_h
  43. #include <X11/X.h>
  44. #include <X11/Intrinsic.h>
  45. #include <X11/IntrinsicP.h>
  46. #define NO_AST
  47. #include "dtksh.h"
  48. #undef NO_AST
  49. extern int Wtab_free;
  50. extern wtab_t **W;
  51. extern int NumW;
  52. extern int MaxW;
  53. extern void init_widgets( void ) ;
  54. extern classtab_t * str_to_class(
  55. char *arg0,
  56. char *s) ;
  57. extern Widget DtkshNameToWidget(
  58. String s) ;
  59. extern wtab_t * str_to_wtab(
  60. char *arg0,
  61. char *v) ;
  62. extern Widget handle_to_widget(
  63. char *arg0,
  64. char *handle) ;
  65. extern wtab_t * widget_to_wtab(
  66. Widget w) ;
  67. extern void get_new_wtab(
  68. wtab_t **w,
  69. char *name) ;
  70. extern int do_DtLoadWidget(
  71. int argc,
  72. char *argv[]) ;
  73. extern int do_DtWidgetInfo(
  74. int argc,
  75. char *argv[]) ;
  76. extern void alt_env_set_var(
  77. char *variable,
  78. char *value) ;
  79. #endif /* _Dtksh_widget_h */
  80. /* DON'T ADD ANYTHING AFTER THIS #endif */