Functions for loading and creating icons.
Functions for loading and creating icons.
(icon p)
Loads an icon. The parameter p can be any of the following:
nil - returns nil javax.swing.Icon - returns the icon java.awt.Image - returns an ImageIcon around the image java.net.URL - Load the icon from the given URL an i18n keyword - Load the icon from the resource bundle classpath path string - Load the icon from the classpath URL string - Load the icon from the given URL java.io.File - Load the icon from the File
This is the function used to process the :icon property on most widgets and windows. Thus, any of these values may be used for the :icon property.
Loads an icon. The parameter p can be any of the following: nil - returns nil javax.swing.Icon - returns the icon java.awt.Image - returns an ImageIcon around the image java.net.URL - Load the icon from the given URL an i18n keyword - Load the icon from the resource bundle classpath path string - Load the icon from the classpath URL string - Load the icon from the given URL java.io.File - Load the icon from the File This is the function used to process the :icon property on most widgets and windows. Thus, any of these values may be used for the :icon property.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close