Frama-C API - Icon
Some generic icon management tools.
type kind =
| Frama_C
| Unmark
| Fold
| Unfold
| Custom of string
| Feedback of Frama_c_kernel.Property_status.Feedback.t
(*Generic icons available in every proper install of Frama-C. To be able to use
*)Custom s
you must have calledregister ~name:s ~file
, otherwise you will get a generic icon placeholder.
register ~name ~file
registers the kind Custom name
associated to the filename file
. $FRAMAC_SHARE/f
should point to an existing file containing an image loadable by GdkPixbuf.
val get : kind -> GdkPixbuf.pixbuf