Query: struct
OS: opensolaris
Section: 3u
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
struct(3U) InterViews Reference Manual struct(3U)NAMEBackCmd, FrontCmd, GroupCmd, UngroupCmd - commands for modifying components structurallySYNOPSIS#include <Unidraw/Commands/struct.h>DESCRIPTIONBackCmd, FrontCmd, GroupCmd, and UngroupCmd are purely interpretive commands for altering the structure of their editor's component. All redefine their Execute and Unexecute operations to let the editor's component interpret them as it wishes.BACKCMD PUBLIC OPERATIONSBackCmd(ControlInfo*) BackCmd(Editor* = nil) Construct a new BackCmd.FRONTCMD PUBLIC OPERATIONSFrontCmd(ControlInfo*) FrontCmd(Editor* = nil) Construct a new FrontCmd.GROUPCMD PUBLIC OPERATIONSGroupCmd(ControlInfo*, GraphicComp* = nil) GroupCmd(Editor* = nil, GraphicComp* = nil) Create a new GroupCmd, optionally specifying the component into which components will be grouped. virtual void Execute() virtual void Unexecute() Execute will set the value of the _executed protected member variable to true as a side effect if anything was grouped. Similarly, Unexecute will set reset the value to false as a side effect the operation was undone. GraphicComp* GetGroup() void SetGroup(GraphicComp*) Get or set the component into which components will be grouped. SetGroup will not delete the old value.UNGROUPCMD PUBLIC OPERATIONSUngroupCmd(ControlInfo*) UngroupCmd(Editor* = nil) Construct a new UngroupCmd. virtual void Execute() virtual void Unexecute() Execute will set the value of the _executed protected member variable to true as a side effect if anything was ungrouped. Simi- larly, Unexecute will set reset the value to false as a side effect the operation was undone. Clipboard* GetKids() void SetKids(Clipboard*) Explicitly set and get a clipboard containing the child components that were ungrouped, which is stored in the _kids protected mem- ber. UngroupCmd does not initialize this member; it merely provides the storage as a convenience to components that interpret the command and need a place to store the ungrouped children to support reverse execution. However, UngroupCmd deletes the clipboard (if it exists) in ~UngroupCmd. SetKids will not delete the old value.SEE ALSOCommand(3U), GraphicComp(3U) Unidraw 24 January 1991 struct(3U)
Related Man Pages |
---|
struct(3u) - debian |
struct(3u) - osx |
struct(3u) - mojave |
struct(3u) - sunos |
struct(3u) - hpux |
Similar Topics in the Unix Linux Community |
---|
Problem with pointers, structures, and Pthread |
Help with if-else construct |
Copy files from input file with dir structure |
Illegal Instruction error |
Map with struct as key and vector as value |