DOCUMENTATION
SYNOPSIS
PACKAGE NAME:
AUTHOR: Juan Lorenzo
DATE:
DESCRIPTION:
Version:
USE
NOTES
Examples
SYNOPSIS
SEISMIC UNIX NOTES
CHANGES and their DATES V0.1.2 refactoring superflows and user-built flows August 3 2018 V0.1.3 Dec 2 2018 reordered methods alphabetically added get_num_indices
private hash references
16
p sub _reset
16
sub clear
delete ALL items
from the listbox
sub clear_flow_item
empty flow item hash
sub clear_items_versions_aref
sub get_index2delete
sub get_current_program
from the current listbox
returns a scalar reference to the element selected
fromt the list box
sub get_flow_selection
estimates the index lselected in the listbox
the first item has an index=0
get_num_indices
how many (items-1) are there in a listbox
input is a widget
output is a scalar
get_num_items
how many items are there in a listbox
input is a widget from the main flow
sub is_drag_deleted
sub local_set_vigil_on_delete
If $leave_dropsite >-1 , < 2 then we have deleted an item
TODO consider when (1) new flow item is selected or
(2)new sunix box item is selected
leave_dropsite will increment once when item is moved (=0)
and two more times (=2)if it is dropeed withint he listbox
however it is only incremented twice (=1) if drop FAILS
leave_dropsite is a counter that is used to see if
during DnD the mouse left the listbox window
sub items_aref
sub items_versions_aref
sub set_flow_items
collect listbox widget reference
local_get_num_items
how many items are there in a listbox
input is a widget
output is a scalar
sub num_items
collect listbox widget reference
print("flow_widgets,flow_times: last_item $last_item\n");
print("flow_widgets,flow_times: first_item $first_item\n");
print("flow_widgets,flow_times: size $num_items\n");
sub set_num_items