Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DwtCommandAppend(3Dwt)

Name

DwtCommandAppend − Appends the passed string to the current command line and executes it, if required. 

Syntax

void DwtCommandAppend(widget, command)
     Widget widget;
     char *command;

Arguments

widgetSpecifies the ID of the command window widget to whose command line you want to append the passed string. 

commandSpecifies the text to be appended to the command line.  This argument is a NULL-terminated string. 

Description

The DwtCommandAppend function appends the passed string to the current command line, within the command window widget.  If the string sent is terminated with a carriage return (<CR>) or carriage return and/or linefeed (<CR><LF>) character, then the command is executed, the application is informed, the command is moved to the command history, and a new prompt is issued. 

See Also

DwtCommandWindow (3Dwt), DwtCommandErrorMessage (3Dwt), DwtCommandSet (3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding

Subroutines

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026