Index of class methods


A
add [Hashset.hashset]
Add the element to the set
add [Hashmmap.hashmultimap]
Add a binding to a multi map.
add [Hashmap.hashmap]
Add a binding to the map
add [Environment.env]
Add a pair (identifier,value) to the environment.
add_child [Widget.ComboTextTree.comboTextTree]
add_list [Hashmmap.hashmultimap]
Add all the binding from the given alist to the map.
add_list [Hashmap.hashmap]
Add all the binding from the given alist to the map.
append [Widget.textview]
Append text with the optional list of tags.
append_image [Widget.textview]
Append the image found in the given filename

B
blink [Ledgrid.device_led_grid]
Ask every LED light representing the given port to (asynchronously) blink:
blink [Ledgrid.led_light]
Order the LED light to blink (see above) for the established time, and return immediately:
blink_this_number_of_times [Ledgrid.led_light]
Schedule the LED light to blink 'times' times, then to reset itself.
bool [Configuration_files.configuration]
bound [Hashmmap.hashmultimap]
Answer if x is bound in the multi map.
bound [Hashmap.hashmap]
Answer if x is bound in the map.
box [Widget.ComboTextTree.comboTextTree]

C
callback [Widget.ComboTextTree.comboTextTree]
A secondary function to call at any change of the selected item.
child [Widget.ComboTextTree.comboTextTree]
childs [Widget.ComboTextTree.comboTextTree]
childs_rebuild [Widget.ComboTextTree.comboTextTree]
Demands to all childs to rebuild theirself and their childs and so on.
choices [Widget.ComboTextTree.comboTextTree]
col [Widget.ComboTextTree.comboTextTree]
connect [Ledgrid.device_led_grid]
create_tags [Widget.textview]
Call by initializer

D
delete [Widget.textview]
Delete the content of the buffer
disconnect [Ledgrid.device_led_grid]

E
env [Widget.ComboTextTree.comboTextTree]

F
flash [Ledgrid.device_led_grid]
Ask every LED light representing the given port to (asynchronously) flash:
flash [Ledgrid.led_light]
Order the LED light to flash (see above) for the established time, and return immediately:
float [Configuration_files.configuration]
for_each_led_light [Ledgrid.device_led_grid]
For each LED light representing the given port, call the given function and return the list of results:
from_channel [Oomarshal.marshaller]
Make a new 'a object from the given channel, and return it.
from_file [Oomarshal.marshaller]
Make a new 'a object from the given file, and return it.
from_string [Oomarshal.marshaller]
Make a new 'a object from the given string, and return it.

G
generator [Widget.ComboTextTree.comboTextTree]
The function to build or rebuild the choices using the given environnement.
get [Memo.memo]
Get the current encapsulated value a given input or call the function.
get [Ledgrid.led_grid]
get [Ledgrid.led_light]
Return the current state:
get [Hashmmap.hashmultimap]
get [Hashmap.hashmap]
get [Environment.env]
Get the value associated to the given id (key).
get_bottom_label [Ledgrid.led_grid]
get_default [Ledgrid.led_light]
Return the current default state:
get_l [Environment.env]
Accessors, transparently converting to/from alists:
get_led_light [Ledgrid.led_grid]
Return the LED light identified by (x, y), or throw an exception if no light is present at that position:
get_left_label [Ledgrid.led_grid]
get_position [Ledgrid.led_light]
Return the widget position as it was set at creation time, or (-1, -1) if it was not set:
get_random_led_light [Ledgrid.led_grid]
Return a random LED light belonging to the grid, if it exists, or loop forever.
get_right_label [Ledgrid.led_grid]
get_top_label [Ledgrid.led_grid]
Get and set the text of each label.
get_widget [Ledgrid.led_grid]
Return the Gtk+ widget holding the whole grid:
get_widget [Ledgrid.led_light]
Return the main Gtk+ widget making up the LED light:

I
int [Configuration_files.configuration]
is_connected [Ledgrid.device_led_grid]
Return true iff the given port is in connected state:

K
key [Widget.ComboTextTree.comboTextTree]
The key of the pair (key,value) which this widget (node) eventually transmit to its childs (slaves).

L
list [Configuration_files.configuration]
lookup [Hashmmap.hashmultimap]
Return all the objects bound to the given key, or the empty list if no binding is found:
lookup [Hashmap.hashmap]
Return the object bound to the given key, or raise Not_found:
lookup_bool [Configuration_files.configuration]
lookup_float [Configuration_files.configuration]
lookup_int [Configuration_files.configuration]
lookup_list [Configuration_files.configuration]
lookup_or_fail [Hashmmap.hashmultimap]
Return all the objects bound to the given key, or raise Not_found:
lookup_string [Configuration_files.configuration]
Lookup a variable of the given type:

M
mem [Hashset.hashset]
Answer (quickly!) to the question if x is a member of the set.
mem [Hashmmap.hashmultimap]
Answer (quickly!) to the question if (x,y) is a member of the (multi) map.
mem [Hashmap.hashmap]
Answer (quickly!) to the question if (x,y) is a member of the map.
memq [Hashmmap.hashmultimap]
Answer (quickly!) to the question if (x,y) is a member of the (multi) map.
memq [Hashmap.hashmap]
Answer (quickly!) to the question if (x,y) is a member of the map.

P
packing [Widget.ComboTextTree.comboTextTree]
The function to call to attach self somewhere.
port_to_led_lights [Ledgrid.device_led_grid]
Given a port number, return the list of LED lights representing it:
port_to_positions [Ledgrid.device_led_grid]
Given a port number, return a list of pairs of coordinates identifying the inolved lights:
port_to_positions_ [Ledgrid.device_led_grid]
Print the port->coordinates mapping before returning the result of calling port_to_positions:

R
random_connected_port [Ledgrid.device_led_grid]
Return the number of a random port currently in the 'On' state, or loop forever if no such port exists.
rebuild [Widget.ComboTextTree.comboTextTree]
Rebuild this widget, and its eventually all childs, with the new given environment.
refresh [Widget.textview]
Refresh the content applying tags.
remove [Hashset.hashset]
Remove the element from the set
remove [Hashmmap.hashmultimap]
Remove one or all (default) bindings of the given key.
remove [Hashmap.hashmap]
Remove the binding for the given key.
remove_key_value [Hashmmap.hashmultimap]
Remove the given <key, value> binding, if present; otherwise do nothing.
remove_key_value_or_fail [Hashmmap.hashmultimap]
Remove the given <key, value> binding, if present; otherwise raise an exception.
replace [Hashmmap.hashmultimap]
Replace or add (when not existing) a binding to a multi map.
replace [Hashmap.hashmap]
Alias for add
reset [Ledgrid.led_light]
Set the widget current state to be equal to its default.
rewrite [Widget.textview]
As append but first delete the old content

S
selected [Widget.ComboTextTree.comboTextTree]
In the most cases, the only interesting method from an abstract point of view.
set [Ledgrid.device_led_grid]
Set the state of all LED lights representing a port, updating their default state: this is a good way to indicate a cable connection or disconnection:
set [Ledgrid.led_light]
Update the current state, possibly changing the widget's appearance:
set_active_value [Widget.ComboTextTree.comboTextTree]
Set the current active (selected) choice by its value (instead of its index)
set_bottom_label [Ledgrid.led_grid]
set_bottom_labels_angle [Ledgrid.led_grid]
set_box [Widget.ComboTextTree.comboTextTree]
set_childs [Widget.ComboTextTree.comboTextTree]
set_choices [Widget.ComboTextTree.comboTextTree]
set_col [Widget.ComboTextTree.comboTextTree]
set_default [Ledgrid.led_light]
Update the default state *and also the current state*; this changes the widget's appearance if the new value is different from the current state:
set_env [Widget.ComboTextTree.comboTextTree]
set_l [Environment.env]
set_left_label [Ledgrid.led_grid]
set_right_label [Ledgrid.led_grid]
set_top_label [Ledgrid.led_grid]
set_top_labels_angle [Ledgrid.led_grid]
slave [Widget.ComboTextTree.comboTextTree]
slave0 [Widget.ComboTextTree.comboTextTree]
slave1 [Widget.ComboTextTree.comboTextTree]
slave2 [Widget.ComboTextTree.comboTextTree]
slave3 [Widget.ComboTextTree.comboTextTree]
slave4 [Widget.ComboTextTree.comboTextTree]
slave5 [Widget.ComboTextTree.comboTextTree]
string [Configuration_files.configuration]
Aliases for accessors:

T
to_channel [Oomarshal.marshaller]
Marshal the given object into the given channel, and return unit.
to_channel [Oomarshal.marshallable]
Marshal self into the given channel, and return unit.
to_file [Oomarshal.marshaller]
Marshal the given object into the given file, and return unit.
to_file [Oomarshal.marshallable]
Marshal self into the given file, and return unit.
to_list [Hashmmap.hashmultimap]
Make an alist from the map, returning the bindings as <key, value> pairs in some unspecified order.
to_list [Hashmap.hashmap]
Make an alist from the map, returning the bindings as <key, value> pairs in some unspecified order.
to_string [Oomarshal.marshaller]
Marshal the given object into a new string, and return the string.
to_string [Oomarshal.marshallable]
Marshal self into a string, and return the string
toggle [Ledgrid.led_light]
Set the widget current state to be on if it's currently off, or vice-versa.

U
updatedBy [Environment.env]
Update the environment (self) by another environment which will "cover" previous links.

V
view [Widget.textview]