package frama-c
Install
Dune Dependency
Authors
-
MMichele Alberti
-
TThibaud Antignac
-
GGergö Barany
-
PPatrick Baudin
-
NNicolas Bellec
-
TThibaut Benjamin
-
AAllan Blanchard
-
LLionel Blatter
-
FFrançois Bobot
-
RRichard Bonichon
-
VVincent Botbol
-
QQuentin Bouillaguet
-
DDavid Bühler
-
ZZakaria Chihani
-
LLoïc Correnson
-
JJulien Crétin
-
PPascal Cuoq
-
ZZaynah Dargaye
-
BBasile Desloges
-
JJean-Christophe Filliâtre
-
PPhilippe Herrmann
-
MMaxime Jacquemin
-
FFlorent Kirchner
-
AAlexander Kogtenkov
-
RRemi Lazarini
-
TTristan Le Gall
-
JJean-Christophe Léchenet
-
MMatthieu Lemerre
-
DDara Ly
-
DDavid Maison
-
CClaude Marché
-
AAndré Maroneze
-
TThibault Martin
-
FFonenantsoa Maurica
-
MMelody Méaulle
-
BBenjamin Monate
-
YYannick Moy
-
PPierre Nigron
-
AAnne Pacalet
-
VValentin Perrelle
-
GGuillaume Petiot
-
DDario Pinto
-
VVirgile Prevosto
-
AArmand Puccetti
-
FFélix Ridoux
-
VVirgile Robles
-
JJan Rochel
-
MMuriel Roger
-
JJulien Signoles
-
NNicolas Stouls
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
sha256=d2fbb3b8d0ff83945872e9e6fa258e934a706360e698dae3b4d5f971addf7493
doc/frama-c.gui/Frama_c_gui/Menu_manager/index.html
Module Frama_c_gui.Menu_manager
Source
Handle the menubar and the toolbar.
type where =
| Toolbar of GtkStock.id * string * string
(*Label then tooltip
*)| Menubar of GtkStock.id option * string
(*Stock used for icon * Label
*)| ToolMenubar of GtkStock.id * string * string
(*Label then tooltip
*)
Where to put a new entry.
Callback for the buttons that can be in the menus. Standard buttons/menus have a callback with no argument. Buttons/menus with states are displayed with checkboxes in menus, or as toggle buttons in toolbars. They receive the after-click state as argument. The state of the button with the second argument of Bool_callback
. Currently checks menus cannot have images in Gtk, or the GtkStock.id
fields of where
are ignored.
type entry = private {
e_where : where;
e_callback : callback_state;
(*callback called when the button is clicked
*)e_sensitive : unit -> bool;
(*should the button be activated when the gui is refreshed
*)
}
Smart constructors for menu entries.
If not supplied, the sensitive
parameter is the function that always returns true
.
val toolbar :
?sensitive:(unit -> bool) ->
icon:GtkStock.id ->
label:string ->
?tooltip:string ->
callback_state ->
entry
How to handle a Frama-C menu.