Query: catcmds
OS: debian
Section: 3u
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
catcmds(3U) InterViews Reference Manual catcmds(3U)NAMENewCompCmd, PrintCmd, QuitCmd, RevertCmd, SaveCompCmd, SaveCompAsCmd, ViewCompCmd - catalog-oriented commandsSYNOPSIS#include <Unidraw/Commands/catcmds.h>DESCRIPTIONThe Unidraw library predefines a set of non-interpretive commands that let a user specify components to open, view, and save, plus commands for generating a PostScript external representation and for quitting the application. NewCompCmd re-initializes its editor's component to let the user start editing afresh. If the existing component is modified, NewCompCmd prompts the user to save it. PrintCmd generates a PostScriptView of the editor's component and lets the user send it to a file or to a printer. QuitCmd quits the application, prompting the user to save modified components. RevertCmd lets the user re-open the current component, discarding changes since it was last saved. SaveCompAsCmd lets the user save a component under a particular name, while SaveCompCmd saves a component named previously. Finally, View- CompCmd lets the user specify another component to view in its editor.NEWCOMPCMD PUBLIC OPERATIONSNewCompCmd(ControlInfo*, Component* prototype = nil) NewCompCmd(Editor* = nil, Component* = nil) Create a new NewCompCmd instance, optionally supplying a prototype component. When executed, NewCompCmd will make its editor edit a copy of the prototype. The editor's original component will be deleted if no other editor refers to it. virtual boolean Reversible() NewCompCmd is not reversible. Component* GetPrototype() Return the prototype component specified in the constructor.PRINTCMD PUBLIC OPERATIONSPrintCmd(ControlInfo*, PrintDialog* = nil) PrintCmd(Editor* = nil, PrintDialog* = nil) Create a new PrintCmd instance, optionally supplying the PrintDialog to display when executed. virtual boolean Reversible() PrintCmd is not reversible.PRINTCMD PROTECTED OPERATIONSvoid print(const char* print_cmd, const char* file) Concatenates print_cmd and file and calls system(3) on the result.QUITCMD PUBLIC OPERATIONSQuitCmd(ControlInfo*) QuitCmd(Editor* = nil) Create a new QuitCmd instance. virtual boolean Reversible() QuitCmd is not reversible.REVERTCMD PUBLIC OPERATIONSRevertCmd(ControlInfo*) RevertCmd(Editor* = nil) Create a new RevertCmd instance. virtual boolean Reversible() RevertCmd is not reversible.SAVECOMPCMD PUBLIC OPERATIONSSaveCompCmd(ControlInfo*) SaveCompCmd(Editor* = nil) Create a new SaveCompCmd instance. virtual boolean Reversible() SaveCompCmd is not reversible.SAVECOMPASCMD PUBLIC OPERATIONSSaveCompAsCmd(ControlInfo*, FileChooser* = nil) SaveCompAsCmd(Editor* = nil, FileChooser* = nil) Create a new SaveCompAsCmd instance, optionally supplying the FileChooser that will prompt the user to name the component. virtual boolean Reversible() SaveCompAsCmd is not reversible.VIEWCOMPCMD PUBLIC OPERATIONSViewCompCmd(ControlInfo*, FileChooser* = nil) ViewCompCmd(Editor* = nil, FileChooser* = nil) Create a new ViewCompCmd instance, optionally supplying the FileChooser that will prompt the user to specify the component to view. After the new component is opened successfully, the editor's original component will be deleted if no other editor refers to it. virtual boolean Reversible() ViewCompCmd is not reversible.SEE ALSOBasicDialog(3U), Command(3U), Component(3U), Editor(3U), PostScriptView(3U), lpr(1). Unidraw 23 January 1991 catcmds(3U)
Related Man Pages |
---|
macrocmd(3u) - debian |
struct(3u) - debian |
struct(3u) - sunos |
struct(3u) - hpux |
struct(3u) - netbsd |
Similar Topics in the Unix Linux Community |
---|
VI Editor Trial Version? |
Vi Editor |
Mig Editor: Version 2.0 released! |
how to change Editor in perl |
Check the changes made to file in vi |