Download Debugging with DDD - ftp

Transcript
160
Debugging with DDD
source-double-click ([text-action [, line-action [, function-action]]])
Action
The double-click action in the source window.
• If this action is taken on a breakpoint glyph, edit the breakpoint properties.
• If this action is taken in the breakpoint area, invoke ‘gdb-command(line-action)’. If
line-action is not given, it defaults to ‘break ()’.
• If this action is taken in the source text, and the next character following the current
selection is ‘(’, invoke ‘gdb-command(function-action)’. If function-action is not
given, it defaults to ‘list ()’.
• Otherwise, invoke ‘gdb-command(text-action)’. If text-action is not given, it defaults to ‘graph display ()’.
source-drag-glyph ()
Action
Initiate a drag on the glyph at cursor position.
source-drop-glyph ([action])
Action
Drop the dragged glyph at cursor position. action is either ‘move’, meaning to move the
dragged glyph, or ‘copy’, meaning to copy the dragged glyph. If no action is given, ‘move’
is assumed.
source-end-select-word ()
Action
End selecting a word.
source-follow-glyph ()
Action
Continue a drag on the glyph at cursor position. Usually bound to some motion event.
source-popup-menu ()
Action
Pop up a menu, depending on the location.
source-set-arg ()
Action
Set the argument field to the current selection. Typically bound to some selection operation.
source-start-select-word ()
Action
Start selecting a word.
source-update-glyphs ()
Action
Update all visible glyphs. Usually invoked after a scrolling operation.
A.2 Images
ddd installs a number of images that may be used as pixmap resources, simply by giving a
symbolic name. For button images, three variants are installed as well:
• The suffix ‘-hi’ indicates a highlighted variant (Button is entered).
• The suffix ‘-arm’ indicates an armed variant (Button is pushed).
• The suffix ‘-xx’ indicates a disabled (insensitive) variant.