func_maxgui_setgadgetalpha.rst 899 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .. _func_maxgui_setgadgetalpha:
  2. ==============
  3. SetGadgetAlpha
  4. ==============
  5. SetGadgetAlpha -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. SetGadgetAlpha( gadget:TGadget,alpha# )
  10. Set the transparency of a gadget.
  11. Alpha should be in the range 0.0 (invisible) to 1.0 (solid). Very few gadgets support this functionality,
  12. but some Mac OS X gadgets do, in addition to @Windows when running Windows XP+. In certain circumstances, window
  13. transparency may be disabled (for example, when a canvas is added to a window) to prevent redraw issues on some
  14. platforms.
  15. Using the function on windows with @Canvases on them may cause undesired effects, particularly on Windows 2000/XP
  16. because of conflicts between the software based window manager and the hardware accelerated graphics contexts.
  17. Parameters
  18. ==========
  19. Return Values
  20. =============
  21. Nothing.
  22. Examples
  23. ========
  24. See Also
  25. ========