widget.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 libraries 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. #include "dtksh.h"
  47. extern int Wtab_free;
  48. extern wtab_t **W;
  49. extern int NumW;
  50. extern int MaxW;
  51. extern void init_widgets( void ) ;
  52. extern classtab_t * str_to_class(
  53. char *arg0,
  54. char *s) ;
  55. extern Widget DtkshNameToWidget(
  56. String s) ;
  57. extern wtab_t * str_to_wtab(
  58. char *arg0,
  59. char *v) ;
  60. extern Widget handle_to_widget(
  61. char *arg0,
  62. char *handle) ;
  63. extern wtab_t * widget_to_wtab(
  64. Widget w) ;
  65. extern void get_new_wtab(
  66. wtab_t **w,
  67. char *name) ;
  68. extern int do_DtLoadWidget(
  69. int argc,
  70. char *argv[]) ;
  71. extern int do_DtWidgetInfo(
  72. int argc,
  73. char *argv[]) ;
  74. extern void alt_env_set_var(
  75. char *variable,
  76. char *value) ;
  77. #endif /* _Dtksh_widget_h */
  78. /* DON'T ADD ANYTHING AFTER THIS #endif */