iup_widget_hide.e 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. deferred class IUP_WIDGET_HIDE
  2. -- Command to hide a dialog.
  3. inherit
  4. IUP_WIDGET_INTERNALS
  5. insert
  6. IUP_INTERFACE
  7. feature {ANY}
  8. hide
  9. -- Hides the dialog.
  10. do
  11. int_hide(widget)
  12. end
  13. feature {}
  14. -- Internals
  15. int_hide (wdt: POINTER)
  16. external "plug_in"
  17. alias "{
  18. location: "${sys}/plugins"
  19. module_name: "iup"
  20. feature_name: "IupHide"
  21. }"
  22. end
  23. end
  24. -- The MIT License (MIT)
  25. -- Copyright (c) 2016 by German A. Arias
  26. -- Permission is hereby granted, free of charge, to any person obtaining a copy
  27. -- of this software and associated documentation files (the "Software"), to deal
  28. -- in the Software without restriction, including without limitation the rights
  29. -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  30. -- copies of the Software, and to permit persons to whom the Software is
  31. -- furnished to do so, subject to the following conditions:
  32. --
  33. -- The above copyright notice and this permission notice shall be included in
  34. -- all copies or substantial portions of the Software.
  35. --
  36. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  37. -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  38. -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  39. -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  40. -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  41. -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  42. -- SOFTWARE.