StatusIcon.this

Creates a status icon displaying an icon from the current icon theme. If the current icon theme is changed, the icon will be updated appropriately. Since 2.10

  1. this(GtkStatusIcon* gtkStatusIcon)
  2. this(StockID stockID)
  3. this(string iconName, bool loadFromFile)
    class StatusIcon
    this
    (
    string iconName
    ,
    bool loadFromFile = false
    )
  4. this()
  5. this(Pixbuf pixbuf)
  6. this(IconIF icon)

Parameters

iconName string

an icon name

loadFromFile bool

treat iconName as a filename and load that image with gtk_status_icon_new_from_file.

Throws

ConstructionException GTK+ fails to create the object.

Meta