Help, Top
AddPage title aliases body
Parameters
Help, Top
Back w
Parameters
Help, Top
BuildTOC
Help, Top
ButtonPress
Help, Top
CheckLinks title
Parameters
Help, Top
Click w x y
Parameters
Help, Top
CreateHelp w
Parameters
Help, Top
CreateTOC TOC
Parameters
Help, Top
DoDisplay top
Parameters
Help, Top
DoSearch w
Parameters
Help, Top
FindPage title
Parameters
Help, Top
Help title
Parameters
title | (optional, default ) |
Help, Top
Listpage w llist
Parameters
Help, Top
Next w dir
Parameters
Help, Top
Initiates the Viewhelp module. It sets the language locale for msgcat and loads the appropriate language file into the namespace ::Help. Then it looks in the passed directory for the manual contained in the "help.txt" file. The text is split into section according to the "title:" markers. Then the sections are passed to AddPage to populate the ::Help::pages() array with all help pages. Finally BuildTOC constructs the TOC.
ReadHelpFiles dir locale
Parameters
dir | the directory in which the file help.txt is searched for |
locale | the locale according to the resource file .gorillarc |
Description
Initiates the Viewhelp module. It sets the language locale for msgcat and loads the appropriate language file into the namespace ::Help. Then it looks in the passed directory for the manual contained in the "help.txt" file. The text is split into section according to the "title:" markers. Then the sections are passed to AddPage to populate the ::Help::pages() array with all help pages. Finally BuildTOC constructs the TOC.
Help, Top
Reset
Help, Top
Sanity
Help, Top
Search w
Parameters
Help, Top
Show title
Parameters
Help, Top
Showlink w link tag
Parameters
w | |
link | |
tag | (optional, default ) |
Help, Top
ShowPage w title
Parameters
Help, Top
TreeviewSelection
critcl2, Top
loadlib dir package version mapping args
Parameters
dir | |
package | |
version | |
mapping | |
args | Additional options. |
critcl2, Top
precopy dll
Parameters
gorilla, Top
About
gorilla, Top
AddAllRecordsToTree
gorilla, Top
AddGroup
gorilla, Top
AddGroupToTree groupName
Parameters
gorilla, Top
since version 1.5.3.4 only the non-modal version is used
AddLogin
Description
since version 1.5.3.4 only the non-modal version is used
gorilla, Top
AddRecordToTree rn
Parameters
gorilla, Top
Appends an entry to the menu passed in that will call the Ruff! documentation processor to produce source docs.
addRufftoHelp menu
Parameters
menu | The menu proc to which to append the ruff command entry |
Description
Appends an entry to the menu passed in that will call the Ruff! documentation processor to produce source docs.
This needs ruff! and struct::list from tcllib - both should be installed properly for this option to work
gorilla, Top
AddSubgroup
gorilla, Top
AddSubgroupToGroup parentName
Parameters
gorilla, Top
ArrangeIdleTimeout
gorilla, Top
ArrangeToClearClipboard mult
Parameters
mult | (optional, default 1) |
gorilla, Top
Builds the actual contents of each conflict tab in the tabset
build-merge-widgets container ns current_dbidx merged_dbidx
Parameters
container | the outer "frame" into which to build the widgets |
ns | the namespace assigned to this conflict pair |
current_dbidx | the gorillaDB index value of the existing db entry |
merged_dbidx | the gorilalDB index value of the entry that was |
Description
Builds the actual contents of each conflict tab in the tabset
merged into this db and conflicted with an existing entry
gorilla, Top
ChangePassword
gorilla, Top
CheckDefaultExtension name extension
Parameters
gorilla, Top
ClearClipboard
gorilla, Top
ClearStatus
gorilla, Top
CloseDialog top
Parameters
gorilla, Top
CloseFindDialog
gorilla, Top
CloseLockedDatabaseDialog
gorilla, Top
CollectTicks
gorilla, Top
Creates a toplevel dialog for use in handling merge conflicts in a straightforward manner
conflict-dialog conflict_list
Parameters
conflict_list | a list of database record ID numbers that are in |
Description
Creates a toplevel dialog for use in handling merge conflicts in a straightforward manner
conflict, each pair of ID numbers is one conflict, first number is the current DB entry, second number is the new merged DB entry
gorilla, Top
Copies a data value to the clipboard
CopyToClipboard what mult
Parameters
what | One of "URL" "Username" or "Password" |
mult | (optional, default 1) Clipboard clear time multiplication factor, optional, defaults to 1 |
Description
Copies a data value to the clipboard
Consolidates all of the copy to clipboard management code into a single proc.
gorilla, Top
DatabasePreferencesDialog
gorilla, Top
DeleteGroup
gorilla, Top
DeleteGroupRek node
Parameters
gorilla, Top
DeleteLogin
gorilla, Top
DestroyAboutDialog
gorilla, Top
DestroyAddSubgroupDialog
gorilla, Top
DestroyDatabasePreferencesDialog
gorilla, Top
DestroyDialog top
Parameters
gorilla, Top
DestroyExportDialog
gorilla, Top
DestroyGetPasswordDialog
gorilla, Top
DestroyMergeReport
gorilla, Top
DestroyOpenDatabaseDialog
gorilla, Top
DestroyPasswordPolicyDialog
gorilla, Top
DestroyPreferencesDialog
gorilla, Top
DestroyRenameGroupDialog
gorilla, Top
DestroyTextFileDialog top
Parameters
gorilla, Top
modal version is deprecated, renamed to gorilla::EditLoginModal since version 1.5.3.4 only the non-modal version is used
EditLogin
Description
modal version is deprecated, renamed to gorilla::EditLoginModal since version 1.5.3.4 only the non-modal version is used
gorilla, Top
a small helper proc to encapsulate all the details of opening a tk_messageBox with a title and message
ErrorPopup title message
Parameters
Description
a small helper proc to encapsulate all the details of opening a tk_messageBox with a title and message
gorilla, Top
EvalIfStateNormal menuentry index
Parameters
gorilla, Top
Exit
gorilla, Top
Export
gorilla, Top
A proc to place a message string into the Gorilla status line. This encapuslates the "set" to a global var plus the update idletasks for the status line into a single proc, making the code elsewhere slightly cleaner.
Feedback message
Parameters
message | the message string to be placed in the status line. |
Description
A proc to place a message string into the Gorilla status line. This encapuslates the "set" to a global var plus the update idletasks for the status line into a single proc, making the code elsewhere slightly cleaner.
returns GORILLA_OK as it should always perform its task
gorilla, Top
filename_query type args
Parameters
type | |
args | Additional options. |
gorilla, Top
handles filling in the entries in the dropdown list for the group combo box - done this way for two reasons: 1) the dropdown box will always reflect the current group names; and 2) I am contemplating allowing a "limit the list" capability based upon the current value of the combo box
fill-combobox-with-grouplist win
Parameters
Description
handles filling in the entries in the dropdown list for the group combo box - done this way for two reasons: 1) the dropdown box will always reflect the current group names; and 2) I am contemplating allowing a "limit the list" capability based upon the current value of the combo box
gorilla, Top
Find
gorilla, Top
FindCompare needle haystack caseSensitive
Parameters
needle | |
haystack | |
caseSensitive | |
gorilla, Top
FindNext
gorilla, Top
If this node has children, return the first child.
FindNextNode node
Parameters
Description
If this node has children, return the first child.
gorilla, Top
GeneratePassword settings
Parameters
gorilla, Top
Returns the type (group/login) and db record number of the selected ttk::treeview entry
get-selected-tree-data returninfo
Parameters
returninfo | (optional, default ) |
Return value
Returns the type (group/login) and db record number of the selected ttk::treeview entry
Description
If nothing in tree is selected, then what is returned depends upon the returninfo variable. If returninfo is empty, return an empty three element list. If returninfo is the word RETURN, then perform a -code return to cause the calling proc to return. Otherwise, feed the contents of returninfo through mc and set the gorilla::status variable, and then return a -code return.
gorilla, Top
getAvailableLanguages
gorilla, Top
GetDefaultPasswordPolicy
gorilla, Top
GetPassword confirm title
Parameters
gorilla, Top
returns node at mouse position
GetSelectedNode x y
Parameters
Description
returns node at mouse position
gorilla, Top
Retreive the password of the selected item in the treeview
GetSelectedPassword
Description
Retreive the password of the selected item in the treeview
gorilla, Top
Obtain the db record number of the selected item in the treeview
GetSelectedRecord
Description
Obtain the db record number of the selected item in the treeview
gorilla, Top
GetSelectedURL
gorilla, Top
Retreive the username of the selected item in the treeview
GetSelectedUsername
Description
Retreive the username of the selected item in the treeview
gorilla, Top
GroupPopup node xpos ypos
Parameters
gorilla, Top
Help
gorilla, Top
IdleTimeout
gorilla, Top
Import a csv file and add the entries therein to the currently open database
Import input_file
Parameters
input_file | (optional, default ) |
Description
Import a csv file and add the entries therein to the currently open database
gorilla, Top
Init
gorilla, Top
themed widgets do'nt know a resource database option add *Button.font {Helvetica 10 bold} option add *title.font {Helvetica 16 bold}
InitGui
Description
themed widgets do'nt know a resource database option add *Button.font {Helvetica 10 bold} option add *title.font {Helvetica 16 bold}
gorilla, Top
Initialize the ISAAC PRNG seed. Takes one parameter.
InitPRNG seed
Parameters
seed | (optional, default ) a value to use as the seed for the PRNG. The input value will |
Description
Initialize the ISAAC PRNG seed. Takes one parameter.
have some more tidbits of system details appended to hopefully increase the possible entropy and will then be hashed by sha256 to obtain 32 bytes of binary seed data.
If /dev/urandom is available, it will be used to obtain 992 more bytes of higher quality random data to fill out the full 256 by 32bit seed size of the ISAAC PRNG. If /dev/urandom is not available, ISAAC itself will be used to pad out 992 additional bytes of seed data during a second call to this proc by the password unlock code.
Note as well that the choice of /dev/urandom for additional PRNG seed randomness is purposeful. The /dev/random device is defined as blocking if there is insufficient entropy in the kernel random pool to generate random output data. Blocking on /dev/random will make all of PWGorilla appear to hang, potentially for a quite lengthy and completely indeterminate amount of time given that 992 bytes of data are being read.
992 bytes of very good quality random data from /dev/urandom is an order of magnitude or more (likely much more) better random seed source than what PWGorilla was historically utilizing (16 bytes of modified sha1 output). As such the fact that /dev/urandom is not defined as cryptographic quality is mitigated somewhat by obtaining such a large amount of data, of a much higher quality than previously, that the net effect is that PWGorilla's random number generation has increased in quality significantly on any system having a working /dev/urandom device. All without appearing to hang for a lengthy period of time.
gorilla, Top
add quotes around the URL value to protect it from most issues with {*} expansion
LaunchBrowser rn
Parameters
Description
add quotes around the URL value to protect it from most issues with {*} expansion
gorilla, Top
License
gorilla, Top
LoadPreferences
gorilla, Top
The (rc) entry in the preferences array is utilized to hold the value from the command line -rc switch
LoadPreferencesFromRCFile
Description
The (rc) entry in the preferences array is utilized to hold the value from the command line -rc switch
gorilla, Top
LoadPreferencesFromRegistry
gorilla, Top
LockDatabase
gorilla, Top
LockDirtyHandler win args
Parameters
win | |
args | Additional options. |
gorilla, Top
LockDirtyMessage
gorilla, Top
Creates the popup menu widget for the right clicks on a tree item
LoginPopup node xpos ypos
Parameters
node | node index for right-clicked tree item |
xpos | |
ypos | |
Description
Creates the popup menu widget for the right clicks on a tree item
xpos, ypos - root coordinates for the popup menu
gorilla, Top
Takes a treeview node ID value and returns the node values and the node type value as a list.
LookupNodeData node
Parameters
node | a treeview node identifier |
Description
Takes a treeview node ID value and returns the node values and the node type value as a list.
gorilla, Top
MarkDatabaseAsDirty
gorilla, Top
Merge
gorilla, Top
Called to destroy a merge widget set. Also checks to see if the tabset of the toplevel window becomes empty due to the destruction of the last contained merge widget set and if so also destroys the toplevel
merge-destroy container tabset
Parameters
container | the container to destroy |
tabset | the tabset to check for emptiness |
Description
Called to destroy a merge widget set. Also checks to see if the tabset of the toplevel window becomes empty due to the destruction of the last contained merge widget set and if so also destroys the toplevel
gorilla, Top
MoveDialog type
Parameters
gorilla, Top
MoveGroup
gorilla, Top
MoveLogin
gorilla, Top
MoveTreeNode node dest
Parameters
gorilla, Top
MoveTreeNodeRek node newParents
Parameters
gorilla, Top
New
gorilla, Top
If the current database was modified, give user a chance to think
Open defaultFile
Parameters
defaultFile | (optional, default ) |
Description
If the current database was modified, give user a chance to think
gorilla, Top
OpenDatabase title defaultFile allowNew
Parameters
title | |
defaultFile | (optional, default ) |
allowNew | (optional, default 0) |
gorilla, Top
PasswordPolicy
gorilla, Top
PasswordPolicyDialog title settings
Parameters
gorilla, Top
builds the dynamic menu of group names for the right click move-to function
populateLoginPopup win
Parameters
Description
builds the dynamic menu of group names for the right click move-to function
gorilla, Top
PopupAddSubgroup
gorilla, Top
PopupCopyPassword
gorilla, Top
PopupCopyURL
gorilla, Top
PopupCopyUsername
gorilla, Top
PopupDeleteGroup
gorilla, Top
PopupDeleteLogin
gorilla, Top
PopupEditLogin
gorilla, Top
PopupRenameGroup
gorilla, Top
PopupViewLogin
gorilla, Top
Preferences
gorilla, Top
PreferencesDialog
gorilla, Top
PreferencesSpinBoxValidate value
Parameters
gorilla, Top
quoteBackslashes str
Parameters
gorilla, Top
remove this entry from the global merge conflict data list
remove-from-conflict-list current_dbidx merged_dbidx current_tree_node merged_tree_node
Parameters
current_dbidx | |
merged_dbidx | |
current_tree_node | |
merged_tree_node | |
Description
remove this entry from the global merge conflict data list
gorilla, Top
RenameGroup
gorilla, Top
RunFind
gorilla, Top
Save
gorilla, Top
SaveAs
gorilla, Top
tries to backup the actual database observing the keepBackupFile flag. If the backup fails an errorType and a errorMessage string filtered by msgcat are returned.
SaveBackup filename
Parameters
Description
tries to backup the actual database observing the keepBackupFile flag. If the backup fails an errorType and a errorMessage string filtered by msgcat are returned.
If the timestamp flag is set the backup file gets a timestamp appendix according to the local settings
filename | name of current database containing full path |
gorilla, Top
SavePreferences
gorilla, Top
SavePreferencesToRCFile
gorilla, Top
SavePreferencesToRegistry
gorilla, Top
SetDefaultPasswordPolicy settings
Parameters
gorilla, Top
Makes sure that the global ::gorilla::dirName variable is set to a sensible default if it does not already exist.
setup-default-dirname
Description
Makes sure that the global ::gorilla::dirName variable is set to a sensible default if it does not already exist.
Side-effect of modifying the global ::gorilla::dirName variable
gorilla, Top
ShowTextFile top title fileName
Parameters
gorilla, Top
StatusModified name1 name2 op
Parameters
gorilla, Top
TreeNodeDouble node
Parameters
gorilla, Top
TreeNodePopup node
Parameters
gorilla, Top
TreeNodeSelect node
Parameters
gorilla, Top
TreeNodeSelectionChanged
gorilla, Top
TryResizeFromPreference top
Parameters
gorilla, Top
UpdateMenu
gorilla, Top
versionCallback w token total current
Parameters
gorilla, Top
versionDownload githubVersion url
Parameters
githubVersion | actual version on Github server |
url | the url of the file to be downloaded |
gorilla, Top
versionGet platform
Parameters
platform | The Tk windowingsystem or string "source" |
Description
returns list: version url || 0 errormessage
gorilla, Top
versionIsNewer github
Parameters
github | Version downloaded from Github version.txt |
Description
format is: n.n.n(...) returns 1 if github version is newer otherwise 0
gorilla, Top
Look if there is a new version on the Github Download site. The version data are contained in the file version.txt
versionLookup
Description
Look if there is a new version on the Github Download site. The version data are contained in the file version.txt
gorilla, Top
proposed by Richard Ellis, 04.08.2010 ViewLogin: non modal and everything disabled EditLogin: modal dialog with changes saved
ViewEntry rn
Parameters
Description
proposed by Richard Ellis, 04.08.2010 ViewLogin: non modal and everything disabled EditLogin: modal dialog with changes saved
gorilla, Top
ViewEntryShowPWHelper button entry rn
Parameters
gorilla, Top
ViewLogin
gorilla, Top
XSelectionHandler offset maxChars
Parameters
LoginDialog, Top
AddLogin
LoginDialog, Top
This builds the callback procs that will handle this dialogs interaction with the user - generation of these procs borrows a bit of ideas from Lisp macros to avoid having to pass a bunch of constants around in proc parameters (i.e., the pvns name or the widget path/proc names) or having the procs reference a bunch of quasi-global variables
build-gui-callbacks pvns widgets
Parameters
pvns | the name of the private variable namespace for the dialog. The GUI interaction procs will be built within this namespace. |
widgets | |
Description
This builds the callback procs that will handle this dialogs interaction with the user - generation of these procs borrows a bit of ideas from Lisp macros to avoid having to pass a bunch of constants around in proc parameters (i.e., the pvns name or the widget path/proc names) or having the procs reference a bunch of quasi-global variables
widgets | A key/value list (i.e. a dict or a list from array get) of descriptive widget names and the actual widget window pathname to apply as the "macro" transformations for each proc built. Each key will be substituted for the value of that key in the body of each proc, with the result being that the resulting procs are "customized" at build time to know which GUI widgets to access for performing their relevant functions. |
LoginDialog, Top
Builds out the widgets to create a single instance of an edit login dialog window.
BuildLoginDialog top pvns
Parameters
top | the parent window for all of the component widgets. |
pvns | |
Description
Builds out the widgets to create a single instance of an edit login dialog window.
pvns | the private variable namespace which has been assigned to |
this login dialog window to hold -textvariables and GUI event callback procedures specific to this particular edit login window.
Does not return any useful value to the caller.
LoginDialog, Top
calculateWraplength lengths
Parameters
LoginDialog, Top
convert_map map
Parameters
LoginDialog, Top
Used to withdraw, reset, and store for later an edit dialog from the screen.
DestroyLoginDialog win
Parameters
win | the toplevel name of the edit dialog to withdraw, reset, and store. |
Description
Used to withdraw, reset, and store for later an edit dialog from the screen.
LoginDialog, Top
EditLogin
LoginDialog, Top
Extracts the private namespace name for an edit dialog
get-pvns-from-toplevel top
Parameters
top | the toplevel name of an edit dialog from which to extract the private variable namespace |
Description
Extracts the private namespace name for an edit dialog
LoginDialog, Top
A testing proc for debugging purposes
info
Description
A testing proc for debugging purposes
LoginDialog, Top
K x y
Parameters
LoginDialog, Top
Open a dialog to edit/create an entry in the login DB.
LoginDialog args
Parameters
args | Additional options. |
-group | Set initial "group" name to apply to a new record. This initializes the "group" field of the edit dialog. |
-rn | Record number from Itcl login DB to edit. Magic record number -999 is defined to mean edit a new (blank) record. Defaults to -999 if not provided. |
-treenode | The ttk::treeview node ID of an existing record when a user requests editing of an existing record. This is used to update the tree display when a user clicks "Ok" to their changes. |
Description
Open a dialog to edit/create an entry in the login DB.
Requirements: If -rn is not -999 then the record number must exist in the Itcl DB when called. In addition, to edit an existing record, the -treenode value must also be passed in.
Additionally, a simple check is made such that there is a one to one mapping of existing record numbers to open edit dialogs. It is disallowed to edit the exact same record in two independent dialogs simultaneously.
LoginDialog, Top
A helper proc to generate a ttk::label element for the Edit Login Dialog. Collapses all of the details of label creation into one place. Also autogenerates a unique label name.
make-label top text
Parameters
top | the parent window of the new label window. |
text | |
Return value
Returns the generated label name.
Description
A helper proc to generate a ttk::label element for the Edit Login Dialog. Collapses all of the details of label creation into one place. Also autogenerates a unique label name.
text | the textual value to place in the label. Will have a colon |
appended and the result will then be passed through mc for translation purposes (i.e., the colon becomes part of the "mc" string for translation).
LoginDialog, Top
Remove a window name from the stack in the idle-windows namespace variable. Side-effect: Modifes namespace variable idle-windows.
pop
Description
Remove a window name from the stack in the idle-windows namespace variable. Side-effect: Modifes namespace variable idle-windows.
This is used to maintain a list of "inactive" withdrawn dialogs for reuse in future edit requests. Such avoids having to rebuild both the dialog as well as the dialog state space and GUI handling procs.
LoginDialog, Top
add an window name to the end of the namespace variable idle-windows
push win
Parameters
win | the window name to "push" onto the idle-windows stack variable |
Description
add an window name to the end of the namespace variable idle-windows
Side-effect: Modifes namespace variable idle-windows.
This is used to maintain a list of "inactive" withdrawn dialogs for reuse in future edit requests. Such avoids having to rebuild both the dialog as well as the dialog state space and GUI handling procs.
LoginDialog, Top
smacro map body
Parameters
LoginDialog, Top
wrap-measure text
Parameters
dbget, Top
create-time rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
get-date-record element recnum default
Parameters
dbget, Top
get-record element recnum default
Parameters
dbget, Top
group rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
last-access rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
last-modified rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
last-pass-change rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
lifetime rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
notes rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
password rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
title rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
url rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
user rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
username rn default
Parameters
rn | |
default | (optional, default ) |
dbget, Top
uuid rn default
Parameters
rn | |
default | (optional, default ) |
dbset, Top
create-time rn value
Parameters
dbset, Top
create-time-string rn value
Parameters
dbset, Top
group rn value
Parameters
dbset, Top
last-access rn value
Parameters
dbset, Top
last-access-string rn value
Parameters
dbset, Top
last-modified rn value
Parameters
dbset, Top
last-modified-string rn value
Parameters
dbset, Top
last-pass-change rn value
Parameters
dbset, Top
last-pass-change-string rn value
Parameters
dbset, Top
lifetime rn value
Parameters
dbset, Top
lifetime-string rn value
Parameters
dbset, Top
notes rn value
Parameters
dbset, Top
password rn value
Parameters
dbset, Top
title rn value
Parameters
dbset, Top
url rn value
Parameters
dbset, Top
user rn value
Parameters
dbset, Top
username rn value
Parameters
dbset, Top
uuid rn value
Parameters
dbunset, Top
create-time rn
Parameters
dbunset, Top
group rn
Parameters
dbunset, Top
last-access rn
Parameters
dbunset, Top
last-modified rn
Parameters
dbunset, Top
last-pass-change rn
Parameters
dbunset, Top
lifetime rn
Parameters
dbunset, Top
notes rn
Parameters
dbunset, Top
password rn
Parameters
dbunset, Top
title rn
Parameters
dbunset, Top
url rn
Parameters
dbunset, Top
user rn
Parameters
dbunset, Top
uuid rn
Parameters
dnd, Top
Adds drag and drop bindings to the tree widget command passed as a parameter
init tree
Parameters
tree | name of tree widget onto which to add DND bindings |
Description
Adds drag and drop bindings to the tree widget command passed as a parameter
Attaches event bindings to the widget passed as the sole parameter for handling drag and drop operations. Also creates a single label widget as a child of the parameter which will be utilized as a drag indicator.
tree | the widget name to attach the event bindings. The created label will be a child of this widget |
dnd, Top
Called by mouse motion event to both decide when to initiate a drag and to animate the drag as it occurs
motion tree x y
Parameters
tree | the tree widget |
x | new mouse x position |
y | new mouse y position |
Description
Called by mouse motion event to both decide when to initiate a drag and to animate the drag as it occurs
dnd, Top
Called by mouse button press event to record the x,y position of the mouse cursor in preparation for a possible drag occurring.
press tree x y
Parameters
tree | the tree widget |
x | x mouse cursor position |
y | y mouse cursor position |
Description
Called by mouse button press event to record the x,y position of the mouse cursor in preparation for a possible drag occurring.
dnd, Top
Called by mouse button release event. If a drag was occurring then handle actually performing the "move" of the selected items to the destination location in the tree.
release tree x y
Parameters
tree | the tree widget |
x | mouse x position of release event |
y | mouse y position of release event |
Description
Called by mouse button release event. If a drag was occurring then handle actually performing the "move" of the selected items to the destination location in the tree.
dnd, Top
Called by event loop when treeview selection changes
select tree
Parameters
tree | the name of the treeview widget |
Description
Called by event loop when treeview selection changes
If a drag is happening then retreives the list of selected treeview rows and stores them in a namespace varaible in prepraration for a drag operation occurring. Also inserts the names of the rows in the drag label as feedback to a user for what items are being dragged.
If a drag is not happening then do nothing.
progress, Top
tests for progress subsystem being in active state for toplevel tl. If not forces calling proc to unconditionally return.
active? tl
Parameters
Description
tests for progress subsystem being in active state for toplevel tl. If not forces calling proc to unconditionally return.
progress, Top
Sets progress subsystem state to inactive, clears message text from the configured widget, deletes variable trace.
finished tl
Parameters
Description
Sets progress subsystem state to inactive, clears message text from the configured widget, deletes variable trace.
progress, Top
Initializes the progress subsystem for use.
init args
Parameters
args | Additional options. |
-win window R Where the progress bar should appear | uses toplevel window name as internal key. |
Description
Initializes the progress subsystem for use.
parameters
-message string R The message string to display in the label
widget associated with the progress bar.
-max integer O Defines the range of the progress bar. The value
should be integer multiplies of 100.
The message entry must contain one, and only one, %d format substitution marker. This will be replaced by the percent complete (scaled to the -max range) as given in calls to the ::gorilla::progress::update subcommand.
Note, init simply utilizes the passed message string unaltered, msgcat translations are outside the scope of this module and are expected to be handled by the code calling init, not by this module.
progress, Top
Updates the internal message string and current widget text value without modifying the widget name being utilized for feedback.
newmessage tl text
Parameters
Description
Updates the internal message string and current widget text value without modifying the widget name being utilized for feedback.
progress, Top
Handles variable trace callbacks by passing current value of "value" variable to update proc
tracefired tl a b c
Parameters
Description
Handles variable trace callbacks by passing current value of "value" variable to update proc
progress, Top
called to update the configured progress bar with a new value
update-pbar tl value
Parameters
tl | the toplevel that this pbar is attached to |
value | |
Description
called to update the configured progress bar with a new value
value | the new value, can be integer or floating point, will be truncated to an integer and limited to the range 0 ... 100. |
progress, Top
Validates the contents of the passed dictionary to make sure it contains required elements, and that the elements make sense.
validate config
Parameters
Description
Validates the contents of the passed dictionary to make sure it contains required elements, and that the elements make sense.
progress, Top
validate_max config
Parameters
progress, Top
validate_message config
Parameters
progress, Top
validate_window config
Parameters
isaac, Top
init seed
Parameters
isaac, Top
int32
isaac, Top
isaac
isaac, Top
mix a b c d e f g h
Parameters
isaac, Top
rand
isaac, Top
srand seed
Parameters
isaac, Top
test
isaac, Top
test2
pwsafe, Top
createFromFile fileName password percentvar
Parameters
fileName | |
password | |
percentvar | (optional, default ) |
pwsafe, Top
createFromStream stream password version percentvar
Parameters
stream | |
password | |
version | |
percentvar | (optional, default ) |
pwsafe, Top
createFromString data password percentvar
Parameters
data | |
password | |
percentvar | (optional, default ) |
pwsafe, Top
dumpAllRecords db out
Parameters
pwsafe, Top
writeToFile db fileName version percentvar
Parameters
db | |
fileName | |
version | |
percentvar | (optional, default ) |
pwsafe, Top
writeToString db version percentvar
Parameters
db | |
version | |
percentvar | (optional, default ) |
int, Top
Computes a V3 keystretch iteration value that produces a time delay of "seconds". Note that the returned value will be dependent upon whether the sha256 C extension is in use or not.
calculateKeyStrechForDelay seconds
Parameters
seconds | the number of seconds that the V3 keystrech function should execute |
Description
Computes a V3 keystretch iteration value that produces a time delay of "seconds". Note that the returned value will be dependent upon whether the sha256 C extension is in use or not.
returns an iteration count value
int, Top
computeHRND RND password
Parameters
int, Top
computeStretchedKey salt password iterations pvar_in
Parameters
salt | |
password | |
iterations | |
pvar_in | |
int, Top
genderbender val
Parameters
int, Top
Computes the time in milliseconds to perform a V3 keystretch using iter iterations
keyStretchMsDelay iter
Parameters
iter | the number of iterations for the V3 keystretch algorithm |
Description
Computes the time in milliseconds to perform a V3 keystretch using iter iterations
returns a time value in milliseconds
int, Top
randomizeVar args
Parameters
int, Top
randomString length
Parameters
int, Top
sha1isz msg isz
Parameters
msg | |
isz | (optional, default 0) |
io, Top
dumpRecord db out rn
Parameters
tooltip, Top
clear pattern
Parameters
pattern | (optional, default .*) |
tooltip, Top
enableCanvas w args
Parameters
w | |
args | Additional options. |
tooltip, Top
enableListbox w args
Parameters
w | |
args | Additional options. |
tooltip, Top
enableTag w tag
Parameters
tooltip, Top
fade w step
Parameters
tooltip, Top
hide fadeOk
Parameters
fadeOk | (optional, default 0) |
tooltip, Top
itemTip w args
Parameters
w | |
args | Additional options. |
tooltip, Top
listitemMotion w x y
Parameters
tooltip, Top
listitemTip w x y
Parameters
tooltip, Top
menuMotion w
Parameters
tooltip, Top
register w args
Parameters
w | |
args | Additional options. |
tooltip, Top
show w msg i
Parameters
w | |
msg | |
i | (optional, default ) |
tooltip, Top
tagTip w tag
Parameters
tooltip, Top
tooltip w args
Parameters
w | |
args | Additional options. |
tooltip, Top
wname w
Parameters