module Metrics_gui:sig
..end
Display the table_contents
matrix as a GTK table
val init_panel : Design.main_window_extension_points -> GPack.box
The panel of Metrics has two parts:
val coerce_panel_to_ui : < coerce : 'a; .. > -> 'b -> string * 'a * 'c option
val display_as_table : string list list -> GPack.box -> unit
Display the table_contents
matrix as a GTK table
val reset_panel : 'a -> unit
val register_metrics : ?apply:bool -> string -> (GPack.box -> unit) -> unit
metrics_name
display_function
() adds a selectable
choice for the metrics metrics_name
and add a hook calling
display_function
whenever this metrics is selected and launched.
If apply
is true, display_function
is immediately applied. apply
is
false by default.
Add a new metrics to its dedicated panel.
The text is added to the combo box while the action is added to the
association lists of possible actions.