GUIKIT 程序包
{}

"ImageLabel"

Widget["ImageLabel"]
represents an image label.

更多信息更多信息

  • To use Widget["ImageLabel"], you first need to load GUIKit using Needs["GUIKit`"].
  • Widget["ImageLabel"] is identical in functionality to Widget["Label"], except that it will easily display an image as its label instead of text. Widget["ImageLabel"] is useful when basic image display is needed in a user interface.
  • The following properties are available:
  • "path"Nullpath or URL of the image file in GIF, JPEG, or PNG format
    "data"image datathe image data
  • The "data" property can be given as a String or as Script[ExportString[,format,options]] where format is "GIF", "JPEG", or "PNG".

范例范例打开所有单元关闭所有单元

基本范例  (1)基本范例  (1)

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Out[5]=