Previous Contents Doc Set Home


Index


Symbols

#include generation,216

Numerics

64-bit compiler,563

A

abstract children (of third-party widgets),678

abstract classes in generated code,265

Accelerator text,67

accelerators
description,16
how to specify,66
shortcuts for menu commands,748

access control for generating C++ classes,262

access menu in core resource panel,262

accessibility of Group components,489

accessing static widget variables,185

accessing widgets from callbacks,184

action table,201

actionPerformed method,337

actions (for translations)
syntax,200
toolkit,200

adding class members,295

adding code preludes,246

adding windows to the design,33

afx_msg,388

annotation of resources,56

annotations
configuring the symbols,47
description,730
Java version,325

AppGuru,426

AppGuru Designer
Editing dialog,429
editing/creating templates,427
template attributes,430
Template Attributes dialog,430

applets,318, 342
design rules for,322

application class
dialog,389
for Microsoft Windows,389

application class name,223
and file naming,220
troubleshooting,812

application default resources,875

application resource directory,220

application resources
annotation symbols,47
Windows mode,394

Application Shell,72, 73, 785, 811
required in design,74

appropriate parent function,684

ArrowButton,752
mapping to Swing,361

asterisk
in window border,16

attachments
circular,117
Form,99
offsets,110 to 112
position,99, 128 to 130
removing,117
preventing, on move,108
self,130 to 131
widget,99, 114 to 119

Auto save,886

Auto unmanage resource,753, 761

B

background color of widget in Windows mode,383

background processing,203

base classes
modifying,267
of widget,262
samples,267
to compile,288

base directory,275

binding objects
color,140
font,146
pixmaps,164

bitmaps
instead of text string,148

bitmaps versus pixmaps,148

border widget,329

bridge to Visaj,352

building the server,536

BulletinBoard,753
mapping to Swing,359

button
getters and setters,865

C

C for UIL,745

C++
classes
use of,258

C++ classes
creating,282
default class name,284
in C code generation,262
what is generated,285

callback methods
access level,293
editing,263, 293
generating code for,291
implementing,293
in structured designs,371
overriding,278, 310
specifying,289

callback methods, new signature,339

callback stubs in Java,351

callbacks,176 to 184
accessing widgets,184
adding functionality,230
after specified delay,205
client,537
client data parameter,183, 250
deleting,265
editing,230
editing from the design,230
finding,46
for custom connections,538
getters and setters,535
in generated code,238
inherited,178
Java,322
keeping changes,234
member functions,262, 289
order of execution,180
parameters,183
predefined,187
regenerating all,234
retaining added code,232
server,537
syntax,179
upgrading to Smart Code,181

callbacks dialog
Java markers,176
Windows toggle,386

can add child function,684 to 687

capture
See Sun WorkShop Visual Capture,433

card widget,328

card widgets,328

CascadeButton,755
mapping to Swing,360

CBitmapButton,855, 860

CButton,854

CCmdTarget,845

CComboBox,852

CDialog,847

CFileDialog,849

CFrameWnd,844

children only
for place holders,269
structuring widgets,304

circular attachments,117

class hierarchy of widgets,61

class members
adding,295

Class object not recognised error,803

Clear Settings button in Callbacks dialog,182

client callbacks,537

client data
description,183
in callback methods,263
in Callbacks dialog,180
use of,250
using to access widgets,184

CListBox,855

CMenu,850

CObject,844

code generation,211 to 229
C++ class,285
changing name of class,267
children only structuring,304
controlling resources,225
from the command line,694 to 696
global object functions,223
instantiate as,267
Java,343
links,223
Makefile,220
required variables for Shells,249
storage of variables,224
structured,253
troubleshooting,811

code preludes,246
for Shell widgets,249
menu option description,736
to add class members,295

coffee cup icon,325

color icons for widget palette,712

color in Windows mode,383

color matching
preventing on startup,890

color objects
global accessor function for,223

color palette
editing,161
reading in,157
saving,163

color resources,79

color selector dialog,137 to 141

colored background
in edit links dialog,378
instance definitions,277
resource fields in Windows mode,395

colors
color objects in Windows mode,383
objects,140
using private colormap,163

column layout
example use of RowColumn,69 to 72
using RowColumn and Separator,784
using RowColumn widget,775

Command
mapping to Swing,359

command line options
Sun WorkShop Visual Capture,698
Sun WorkShop Visual Replay,696

Command widget,756

command-line interface,15

comments
in Sun WorkShop Visual Replay scripts,450

compiling the base classes,288

compliance failure dialog
description,375
fix,376
go to,376
next,376

compliance failure dialog for Java,320

composite user-defined widgets,678

composites, families in config utility,646

compound strings,165, 382

compress (number of colours saved),163

config utility menu commands,645

configuration functions
appropriate parent,684
can add child,684 to 687
defined name,683
realize,682

constant extra data in Groups,490

constant menu in Customize dialog,525

constraint widgets,81

constraints dialog,81, 133 to 134

construction area,4

control flow in Sun WorkShop Visual Replay scripts,461

converters
for user-defined widget resources,664

Converting GIL Source,700

Converting UIL Source,699

copy to file menu command,727

core resource panel
drop site,192
menu command description,733

create callback, using,500

creating templates for AppGuru,427

creation functions
code generated for widgets,187
dialog fragments,187

creation procedures in generated code,237

cross-platform
third-party widget children,679

CScrollBar,848

CSG (Create Set Get),656

CSplitterWnd,850

CStatic,853

Ctrl-M in files for Windows,395

Current language only toggle in Makefile options dialog,221, 562

currently selected widget,23, 38

customize
constant,525
function,525
out of band data handle,529
query data,524
receive handler,528
send handler,527
server push,524
URL,523
variable,525

customizing network,522

cut menu command,37, 726

CWinApp,860

CWnd
from DrawingArea,387
in MFC Motif library,845

D

data structures,256

Debugging
toggle in makefile generation,562

debugging applications with Sun WorkShop Visual Replay,466

debugging Sun WorkShop Visual Replay scripts,463

default resources,83, 228

default storage of variables,224

define button in palette menu,273

defined name function in config utility,650

definitions
adding to the widget palette,302
and resource files,279, 313
avoiding modification errors,277
changing order of widgets,309
configuring,273
creating,274
creating instances of,277, 305
creating, step-by-step,301
deriving a class from,278, 308
designating,272, 301
families,277
generating code for,304
introduction,253
modifying,276
modifying an instance,277, 307
online help for,280
prerequisites,272
recovering from error,276
restrictions on Windows,374
shortcut to creating,273
troubleshooting,802

definitionsFileName resource,273

deleting callback methods,265

demonstrations
using Sun WorkShop Visual Replay for,457

derived class
creating a,267, 297
writing,298

descendant widgets in C++ class,262

design hierarchy
description,4
editing,36 to 37, 726
search for string,38

Design Tools,425

destroying widgets,187

development cycle,1, 8

dialog flashing in Windows mode,394

Dialog Shell
description,73
full definition,785
types of,237

dialog style resource,807

dialogs
initial size,604
mode causing problem,807

DialogTemplate,757
mapping to Swing,359

directory for code generation,214

directory menu
in Sun WorkShop Visual Capture dialog,436

disabling multiple widgets using Groups,488

disabling widgets,186

display options,43
fold/unfold widget,47
left justify tree,45
list of,728
show dialog names,34, 44
show widget names,44
shrink widgets,45
structure colors,47, 731

display page of resource panels,77

Document Type Definition,549

drag and drop support,192

dragging widgets
in layout editor,108
in the hierarchy,36 to 37

DrawingArea,758
mapping to Swing,359

DrawingArea resource panel,405

DrawnButton,759
mapping to Swing,361

drop procedure, adding to widget,193

drop site,192

DTD,549

DTDDIR environment variable,550

dummy functions in stubs file,218

duplicate widget names,236

dynamic display
description,22
finding widgets,41
going live,530
resetting,85
resources for,721
Shell types,74

dynamically linked applications
checking, for Sun WorkShop Visual Capure,433
checking, for Sun WorkShop Visual Replay,442

E

edit code button in callbacks dialog,181

edit definitions button in palette menu,273

edit definitions dialog,274

edit menu
in Sun WorkShop Visual Capture dialog,437

edit menu description,726

editing a stubs file,293

editing callbacks,230

editing callbacks from the design,230

editing code preludes,246

editing color palette,161

editing design hierarchy,36 to 37

Editing dialog in AppGuru,429

editing templates for AppGuru,427

editing the templates in AppGuru,429

eight-bit characters in Shell title,633

enabling widgets,186

enclosing class,264, 386

environment variables, for SGML parser,559

error handler for SGML parser,552

error messages
no Application Shell in design,811
unreachable widget,271
Windows compliance failure,375

errors, see troubleshooting

event handlers,207
for Microsoft Windows,390
mapping to MFC,390

Event Handlers dialog,208

event listeners
adding code for,337

Event Masks dialog,209

executable
in Sun WorkShop Visual Capture/Replay dialog,434

exiting X-Designer,16

exit-on-error flag in Sun WorkShop Visual Replay,463

externs file
including in primary module,218
problem in,811
tips on including,217

externs option in generate menu,745

extra commands
inserting in Sun WorkShop Visual Replay scripts,449

Extra Data (in Group Editor)
files generated for functions,535

F

family
in Edit Definitions Dialog,275
of definitions,275

fast find
configuring,42
disabling,43
focus policy and,42
gadgets and,43
how to use,41

fetching data (receive),528

file browser,50

file operations
copy to file,727
new file,16
open,16
paste from file,727
print,725
read,725
save,16

file, reading/writing when ready,205

filename filter resource in Windows mode,395

filenaming
for DOS-compatibility,390
to compile on Windows,411

FileSelection
mapping to Swing,360

FileSelectionBox,760
restriction on Windows,373

filling a ScrollingList,250

find widget, using Groups,488

finding widgets,41

firewall,525

fixing compliance errors,376

flavor menu
on toolbar,18
overview,368

flavour menu in callbacks dialog,181

flow widget,328

fold icon,48

fold/unfold widget,47

font objects
global accessor function for,223

font objects, in Windows mode,381

font selection dialog,141 to 148

font sets,625

fontlists
and compound strings,166
creating,166
in Windows code,382

fonts
objects
complex,166
simple,146
scalable,145

foreground color of widget in Windows mode,383

Form,761
mapping to Swing,359

Form, see also layout techniques, layout editor

formatting the data of a Group,492

Frame,762
restrictions on Windows,374

FrameViewer hypertext,605 to 621

function extra data in Groups,491

function menu in Customize dialog,525

function structures,254

G

-g flag, how to add,562

gadgets,6, 58

generate dialog
for Java generation,339

generate menu,212

generate overview dialog
description,212
externs file,218
primary source file,215
reset to default names,213
setting base directory,214
setting the language,213
stubs file,217

generated code
creation of Shells,236
default naming of classes,267
get/set,535
global object functions,223
Groups,534
includes in,243
local and global variables,236
storage of variables,224
thin client/internet,536

generated files
avoiding editing,242
C for UIL,745
externs (header),811
including pixmaps file,216
Makefile,220
organizing,242 to 243
pixmaps,745
primary module,234
X resource file,812

GET HTTP protocol,544

getters
button,865
described,495
generated code,535
label,865
list,870
location of callbacks,535
option menu,871
radio box,873
scale,869
scrolled text,867, 870
text,867
toggle,866

GIFs,342

global object functions,223

global variables
changing scope of widget,270
in externs file,218
in generated code,236
use of,184

global widget declaration,79

Go Live toggle,530

go to, in compliance failure dialog,376

grayed out icons,6

grid
in layout editor,106

grid widget,330

gridbag widget,330

Group Editor,486

Groups
adding extra functions,491
creating,486
defining for Smart code,495
extra data,489
for multiple selection,487
formatting the data,492
generated code,534
hiding/disabling multiple widgets,488
how to specify,511
non-widget components,489
Public/Private components,489
quick find,488
tutorial,501

H

header file
including without angle brackets,217
tips on including,217

header information in generated code,235

help
designating the help widget,67
for user-defined widgets,650
in SPARCworks/Visual
the help menu,746
in your design,67, 605 to 621
on-line,6
palette icons,8

help documents
text,280

help menu,746

hiding multiple widgets using Groups,488

hiding widgets,186

hints,18

HTML,608

HTML attr, reading,555

HTML parser
example,557

HTML tag, reading,553

HTML tags,609

http_c sub-directory,536

hypertext help,605 to 621

I

icons
color icons for widget palette,712
for definitions,713
for user-defined widgets,649, 650
on small screens,15
palette icons help,747
pixmaps for widget palette,711
stopping palette icons appearing,713

import targets in core resource panel,193

include in resource bindings toggle,95

include statements in generated code,235

includes
where to put them,243

including a header file
tips,217

including generated code in callbacks file,185

incremental stubs file generation,232

index.html,501, 535, 538

inherited callbacks,178

input method,629

input procedures,205

input stream, parsing,557

insert button
in Sun WorkShop Visual Replay,447

inserting
in Sun WorkShop Visual Replay scripts,455

inserting extra commands
in Sun WorkShop Visual Replay scripts,449

instance of class in generated code,297

instances of definitions,277
and resource files,315
compiling code, troubleshooting,803
troubleshooting,802

instantiate as
example use of,297
field in core resource panel,267
used for parameter passing,300

internationalization,228, 623 to 632
language procedure for,206

internet
description,541
generated code,536
going live,530
how to use,510
introduction,509

invalid method callbacks error
error messages
invalid method callback,372

invisible widget,591

invoking resource panels,55

J

J1.0, in Callbacks dialog,326

J1.1, in Callbacks dialog,326

Java
adding callbacks,322
applets,318, 342
border widget,329
callback dialog markers,176
callback stubs,351
card widget,328
class method restriction,322
code generation,343
creating compliant designs,320
description,318
design restrictions,321
designing for,317
emulation widgets for Motif,327
example code,344
flow widget,328
generate dialog,339
generating user-defined widgets,637
grid widget,330
gridbag widget,330
links restriction,188
MWT,319
MWT library,355
packages,342
requirements for,319
resource panel markers,57
special comments in generated code,351
specifying packages,343
using generated code,350
using GIFs,342

Java 1.1,323, 324, 326

Java compliant, in Module Menu,740

Java generation options dialog,340

Java Options dialog,323

Javadoc,352

K

keyboard accelerators
description,16
how to specify,66
shortcuts for menu commands,748

keyboard mnemonics,17, 65

keyboard page of resource panels,77

L

Label,763
mapping to Swing,360

label, getters and setters,865

language procedures,206

layout
using RowColumn widget,29 to 30

layout editor
aligning widgets
in groups,122 to 124
in pairs,119 to 121
annotation,104
circular attachments,117
circularity error with distribute,127
circularity errors,117, 124
distribute widgets,124
edge highlights,104
editing modes,102
align,119 to 121
attach,113
move,108
position,128 to 130
resize,132
self,130 to 131
grid,106
invoking,100
layout menu,105
removing attachments,117
preventing, on move,108
reset,104
selecting widgets,102
troubleshooting,808
view menu,104

layout techniques,575 to 604
Form
avoiding edge problems,590 to 593
invisible widget,591
three widgets,597 to 598, 603 to 604
two widgets, equal shares,596
two widgets, one dominant,594
RowColumn
single column layout,575 to 578

layout widgets,99

left justify tree,45

libxdclass,288

linking error with MFC Motif,861

links,187
annotating the hierarchy,46
generating code for,223
in design file,810
in generated code,238, 243
in Windows mode,378
Java restriction,188
removing,191
troubleshooting,810
where to put,243
widget naming,189

List,764
mapping to Swing,361

list, getters and setters,870

listener objects,323
introduction to,335
X events as,338

loading data on startup,500

local variable (widget),188

local variables,237, 270

local variables in generated code,236

local widget declaration,79

localising string resources,228

loose bindings,87

low level input handling,207

M

m4, using with Sun WorkShop Visual Replay,465

main procedure
keeping separate,243

main program
the generated module,238

MainWindow,765
mapping to Swing,359
restriction on Windows,374

Makefile
adapting for MFC,411
controlling generation of,716 to 720
for different paltforms,563
generate current language only,221, 562
generation,220, 564 to 572
generation options,561
new versus template options,561
template symbols,719
using 64-bit compiler,563

Makefile template generation toggle,562

making the server,536

managed toggle in resource panel,79, 186

manager widgets on Windows,379

managing widgets,186

manipulating widgets,185

mapping widgets,186

margins page of resource panels,77

mask only global resources,228

mask widget resources,227

masking resources,58

Menu,766
mapping to Swing,359

menu commands in config utility,645

MenuBar,768
default attachment,108
mapping to Swing,359
restrictions on Windows,373

menus
building,25
building, example,63 to 68

MessageBox,769
mapping to Swing,359

method declarations,264

method preludes,266

methods
access control,264
browsing,263
finding,46
Java,322
setting pure virtual,265

methods button in callbacks dialog,263

MFC
3D look and feel,879
adapting the Makefile,411
filename filter for Windows,395
generating user-defined widgets,638
mapping from X event masks,390
Motif flavor option,368
version 4 enhancements,879

MFC Motif library
CBitmapButton class,855, 860
CButton class,854
CCmdTarget class,845
CComboBox class,852
CDialog class,847
CEdit class,858
CFileDialog class,849
CFrameWnd class,844
CListBox class,855
CMenu class,850
CObject class,844
CScrollBar class,848
CSplitterWnd,850
CStatic class,853
CWinApp class,860
CWnd class,845
drawing model,387

MFC Offset in definitions dialog,275

mfcFourEnhancements,879

MIME,527

minus icon in hierarchy,48

mnemonics,17, 65

modal dialogs
to capture,438
with Sun WorkShop Visual Replay,450

modifying a definition instance,307

module heading,235, 245

module prelude,235, 738

monitor window
in Sun WorkShop Visual Replay,449

Motif
knowledge prerequisite,9

Motif resources,5 to 6

MotifXP,365

mouse button 2,37

mouse buttons,11

multiple file families in user-defined widgets,646

multiple selection,23
resources,59
setting resources,59

multiple selection using Groups,487

MWT,319

MWT library,355

N

names
variable,19, 236
widget,19
widget naming conventions,236

naming of classes in generated code,267

naming pixmap objects for Windows,391

naming source code files
for compiling on Windows,411
for DOS,390

naming widgets in C++ class,262

Netscape, using to view help,8

network connection stubs,538

network proxy,525

network, specifying,522

new file,16

new makefile generation toggle,562

new signature on callback methods,339

next, in compliance failure dialog,376

Non Maskable toggle in Event Masks dialog,209

non-maskable events, adding,209

non-standard resource types for user-defined widgets,643, 656

O

objects
color,140
font
complex,166
simple,146
on Windows
detailed mapping,790
pixmaps,164

offsets (in Form layout),110 to 112
default vs. explicit,111

on-line help,6

OnRButtonDown,388

OnRButtonDown toggle,405

OnSize handler,380

open a saved file,51

opening a design file,16
Class object not recognised error,803

option menu, getters and setters,871

OptionMenu,770
mapping to Swing,360

order of execution of callbacks,180

order of widgets in definition,309

out of band data handler,529

overriding callback methods,310

overview dialog, see generate overview dialog

P

packages, generation of,342

packages, specifying,343

palette icons
configuring,710, 711
for user-defined widgets,713
help,8, 747
pixmap requirements for,712
specifying the icon file for,711
stopping appearing,713
transparent area for,713

palette layout
separate palette,714

palette menu,731

palette stopList resource,713

PanedWindow,771
mapping to Swing,360
restriction on Windows,374

parameters to constructor of new class,300

parent-child widget relationships,98

parsing input stream,557

paste from file,727

paste menu command,37, 726

pause button
in Sun WorkShop Visual Replay,447

pink fields in Windows mode,395
changing color,395
edit links dialog,378, 404

pipe, reading/writing when ready,205

pixmap editor,150 to 164
changing colors,161
dropper tool,159
effects,156
read color palette,157
tools,157

pixmap object
global accessor function for,223

pixmap resources,79

pixmaps
creating for Windows,408
editor,150
generated file,745
instead of text string,148
naming objects,409
objects,164
on Windows,382
preventing close color matching,890
selector,148
use of for Windows,391

pixmaps file
including in primary module,216

pixmaps for user-defined widgets,649

pixmaps versus bitmaps,148

place holders widgets,269

play button
in Sun WorkShop Visual Replay,447

plus icon in hierarchy,48

popup for resource of user-defined widget,655

popup menus
add to DrawingArea,404

position attachments,128 to 130, 596 to 597

POST HTTP protocol,544

pre-create prelude
editing,248

preludes
adding,246
code
menu option description,736
editing,246
finding,46
method,266
module
description,738
in header section of code,235
pre-manage,250
to specify client data,183
pre-manage for Shell widgets,250
resource,246
to add class members,295

pre-manage preludes
editing,250

primary module
analysis,234

priming dialogs,500

primitives, families in config utility,646

print,49, 725

private colormap,163

Private Group components,489

prompts,18

protected methods,296

proxy host function, example,525

proxy, description,525

Public Group components,489

pure virtual,293

pure virtual methods,265

PushButton,773
default labels,27
mapping to Swing,360

Q

query data in Customize dialog,524

quick find using Groups,488

R

radio box, getters and setters,873

radio buttons,28, 32, 789

RadioBox,774
mapping to Swing,359
restrictions on Windows,374

raw event handler, adding,209

Raw toggle in Event Masks dialog,209

read a saved file,51, 725

reading from file or pipe,205

realize function in config utility,651

receive handler,528

received data, parsing,557

record button in Sun WorkShop Visual Replay,447

recording applications
from the command line,455, 696

red cross (in Windows compliant button),378

registering a MIME type,551

rejection of resources,86

replay
See Sun WorkShop Visual Replay,441

replaying applications
from the command line,456

reset,85, 737

Reset button in generate dialog,213

resize behavior
Form,594 to 604
three-widget layouts,597, 603 to 604
two-widget layouts,594 to 597
RowColumn,577

resize behaviour
Form,128 to 130, 132 to 133
on Windows,380, 401
turning off for Windows,380

resource bindings,86
examples,96

resource file
and definitions,313
editing,240
for dynamic display,721
syntax of,239
wildcard (*) in,241

resource generation
controlling,225

resource masking,227

resource panel regions,56

resource panels
annotations,56
brackets in,228
constraints,81, 133 to 134
core,137, 733
defaults,228
display page,77
for user-defined widgets,653 to 657
gadget toggle,58
introduction,5
invoking,55
keyboard page,65, 77
margins page,77
navigating in,77
page selector,58
pages for user-defined widgets,659
pages of,77
return characters in labels,56
settings page,77
sharing,61
symbols in,56
text boxes in,55
tip on using,63
toggles for resource masking,58, 227
undo, close and help,59
use of,53 to 96
Windows mode,60

resource preludes,246

resource types for user-defined widgets,643

resources,5, 273
accessing abstract children,678
aliases for user-defined widgets,657
and multiple selection,59
application
annotation symbols,47
for Windows mode,394
widget stopList,713
application versus system-wide,223
changing application defaults,875
changing the binding,86
default,228
font objects in Windows mode,381
for Java,57
for Swing,57
for user-defined widgets,654
generating for Windows,382
hard-wiring,219, 228
loose bindings,87
masking,58
memory management for user-defined widgets,673
multiple selection and,59
of user-defined widgets
converters for,664
enumerations,658 to 663
popups,666 to 673
on Windows,406, 792
rejection of,86
setting and getting widget resources,186
tight bindings,93
troubleshooting,804, 812
widget,53 to 96

reusable widget hierarchies,253

rewind button
in Sun WorkShop Visual Replay,447

RowColumn,775
mapping to Swing,360
setting number of columns or rows,72

RowColumn widget,69 to 72

running an application from Visual C++,416, 419

running the tutorial,229

S

Save As, bridge file,352

saving a design file,16, 51

Scale,777
mapping to Swing,361
restrictions on Windows,374

scale
getters and setters,869

scHTTPReply,529

screen dumps
using Sun WorkShop Visual Replay,457

scRegisterHTML,550

scRegisterSGMLMimeErrorHandler,550

scRegisterSGMLMimeType,550

scripts
creating and naming in Sun WorkShop Visual Replay,448
data-driven, in Sun WorkShop Visual Replay,460
debugging, in Sun WorkShop Visual Replay,463
modular, in Sun WorkShop Visual Replay,459
saving and opening in Sun WorkShop Visual Replay,451
using macros, in Sun WorkShop Visual Replay,463

ScrollBar,777
mapping to Swing,361

scrolled text
getters and setters,867, 870

ScrolledList,778
mapping to Swing,361

ScrolledText,779
mapping to Swing,361

ScrolledWindow,780
mapping to Swing,360
restriction on Windows,374

search,38, 727

search list dialog,39

selected widget,23, 38
multiple selection,23

selecting widgets
in layout editor,102

SelectionBox,781
mapping to Swing,360

SelectionPrompt,782
mapping to Swing,359

self attachments,130 to 131

send handler,527

sending data to server,527

separate palette,714

Separator,783
mapping to Swing,361

server callbacks,537

server connection, customizing,522

server push in Customize dialog,524

server, building,536

server_c sub-directory,536

setters
button,865
described,495
generated code,535
label,865
list,870
location of callbacks,535
option menu,871
radio box,873
scale,869
scrolled text,867, 870
text,867
toggle,866

setting the value of a Text widget,250

settings page of resource panel,77

SGML parser
example,557

Shell,785
mapping to Swing,359

shell
in Sun WorkShop Visual Capture dialog,436

Shell title
using eight bit characters,633

Shell types, examples,73

Shell widget
changing order on loading,35
creation procedure in generated code,236
initial size,604
making a Shell an Application Shell,74
replacing the creation procedure function header,249
required variables in generated code,249
resource binding recommendation,96
resources,72
structure in Windows mode,370
types of,73, 237, 785

show dialog names,44

show widget names,44

showing widgets,186

shrink widgets,45

single step button
in Sun WorkShop Visual Replay,447

skip-on-error flag on Sun WorkShop Visual Replay,463

small screens,15

small_visu
application resource,877
application resources for,876
widget icons,751

small_visu as symbolic link,367

Smart Code
defining Group,495
Get/Set tutorial,501
getters and setters for each widget,863 to 874
how to use for thin client/internet,510
internet description,541
thin client description,520
upgrading existing callbacks,181

source code suffix for Windows,391

static variable (widget),188

static variables,270

status line,18

stop button
in Sun WorkShop Visual Replay,447

stopList application resource,713

stopping palette icons appearing,713

storage class of widget,184

storage of variables,224

string objects
global accessor function for,223

string resources
localising,228

structure colors,47, 731

structured code generation,253
C++ classes,258
children only,269
data structures,256
function structures,254

stubs file
altering,234
editing,230, 243, 293
generating,217
incremental generation,232
prelude,233
removing,234
renaming,234

subclasses and superclasses,61

subclassing a definition,308

Sun WorkShop Visual
application defaults,875
exiting,16
installation
troubleshooting,802
starting,15
using for screen dumps,457

Sun WorkShop Visual Capture
capturing modal dialogs,438
command line options,698
information captured,438

Sun WorkShop Visual Capture dialog,433

Sun WorkShop Visual Replay
adding commands,479
changing Sun WorkShop Visual Replay replay speed,450
command line options,696
comments in scripts,450
control flow in scripts,461
conversion routines for custom widgets,477
creating scripts,448
data-driven scripts,460
debugging applications with,466
debugging scripts,463
displaying commands on stdout,463
exit-on-error flag,463
expressions in scripts,461
extending the widget set,466
functions,446
insert button,447
inserting extra commands,449
inserting in scripts,455
interfacing with widgetlint,479
macros in scripts,463
modal dialogs,450
modular scripts,459
monitor window,449
naming scripts,448
opening scripts,451
operations,446
pause button,447
play button,447
record button,447
recorded information,445
registering conversion routines,470
rewind button,447
saving scripts,451
script fragmentation,459
single step button,447
skip-on-error flag,463
status indicators,448
stop button,447
summary of actions to add new command,483
test failure options,463
testing application on different displays,462
tips for using,456
user-on-error flag,463
using,451
using for demonstrations,457
using for testing,458
using internally defined names,465
using m4 with,465
using third party widgets,467
using XmListYToPos in,467
using XmScrollBarGetValues in,467
using XmScrollBarSetValues in,467
vcrNameToXYProc,469
vcrRegisterContextHandler function,478
vcrRegisterFunction function pointer variable,477
vcrXyToNameProc,468

Sun WorkShop Visual Replay dialog,445

Sun WorkShop Visual Replay replay speed
changing,450

Swing
description,318
resource panel markers,57

T

table of Motif widget to Swing mapping,359

tear-off menus
annotations,730
structure colors,731

Template Attributes dialog,430

template attributes for AppGuru,430

testing
failure options, in Sun WorkShop Visual Replay,463
using internally defined names, in Sun WorkShop Visual Replay,465
using Sun WorkShop Visual Replay,458

Text,786
mapping to Swing,360

text help documents,280

text, getters and setters,867

TextField,69, 788
mapping to Swing,360

TextField to Text widget toggle,69

thin client
description,520
generated code,536
going live,530
how to use,510
introduction,509
tutorial,512

third party widgets
cross-platform code for children of,679
for MFC (Windows),383

tight bindings,93
recommendation,96

timeout procedures,205

titleEncoding resource for Shell title,633

toggle
managed (in core resource panel),79

toggle, getters and setters,866

ToggleButton,789
mapping to Swing,360

toggles
for masking (in resource panel),58

toolbar
configuring the,715
description,17

toolbar buttons
modifying the labels for,716
modifying the pixmaps for,716

toolkit independent wrappers,495

Top level Shell,73, 74, 785

translations
action procedures for,201
actions for,200
default,194
help,606
menu option,735
replacing,197
search order,200
syntax,197 to 200

translations dialog,195 to 197

transparent area for palette icons,713

transparent Color
in pixmaps,162

troubleshooting
add links disabled,810
blank help screen,802
cascade buttons not appearing,808
children ignore parent's font,807
Class object not recognised,803
compiling code with instance of definition,803
definitions and instances,802
expected font not appearing,807
few labels wrong,802
geometry resources overridden,806
global widgets undefined,811
labels incorrect,802
link stops working,810
links not updating,811
links undefined,811
odd size widget in layout editor,808
resource settings ignored,805
resource settings rejected,805
resources ignored after reset,806
run time resources different,812
shared widget names,813
slow to startup,890
user-defined widgets,679 to 681
widgets overlap Form edge,809
X resource file ignored,812

tutorial
Get/Set,501
Internet,544
thin client,512

twm,73

U

UIL,745
converting to xd,699

UIL code generation,214

UIL structured code generation,270

uil2xd,699

unreachable widget,271

unsaved changes
mark indicating,16

unsupported widgets on Windows,373

update button in Callbacks dialog,181

URL in Customize dialog,523

URL library,524

user-defined widgets,635 to 687
accessing abstract children,678
adding widget class,647
boolean type resources,658
can create widgets option,652
configuration functions,650, 681 to 687
appropriate parent,684
can add child,651, 684 to 687
defined name,683
realize,682
disabling foreground swapping,652
enumeration type resources,644
enumerations
default values,662
help for,650
icons,649
in Windows mode,383
include files,649
Java generation,637
main dialog,644
MFC generation,638
non-standard resource types,656
order of widget palette,645
organisation of families,646
requirements,636
resource aliases,657
resources
converters for,664
enumerations,658 to 663
popups,666 to 673
standard types of resources,654
testing,679 to 681
using families from multiple files,646
widget families,645

user-on-error flag in Sun WorkShop Visual Replay,463

V

variable extra data in Groups,490

variable menu in Customize dialog,525

variable name
in resource file,239

variable names
explanation,19
requirements,188, 236
restrictions,20

vcrNameToXYProc
in Sun WorkShop Visual Replay,469

vcrRegisterContextHandler, in Sun WorkShop Visual Replay,478

vcrXyToNameProc
in Sun WorkShop Visual Replay,468

view menu,43 to 45
annotations,46
description,728
structure colors,47

virtual callback method,263

Visaj
bridging to,352

visu_config, see user-defined widgets

visu_replay
-v flag,463

Visual C++
compilation errors,416, 419
running an application,416, 419

W

Web browser, using for proxies,525

widget attributes in config utility,648

widget attributes of user-defined widgets
changing,654

widget class pointer for user-defined widgets,642

widget classes in config utility,647

widget creation
deferring,187

widget instances, in dynamic display,22

widget member access control,284

widget naming
and scope,237
conventions,236
recommendation,22
variable name restrictions,20

widget palette,4

widget resources,53 to 96
default,83

widgets,3
as place-holders,254
attachments,114 to 119
building a MenuBar,25
cannot be classes in Windows code,370
children only,304
children only as place holder,269
class hierarchy,61
classes
BulletinBoard,99, 135
Command,756
DrawingArea,99, 135
Form,579 to 604
Form, see also Layout techniques, Layout Editor
PushButtons
default labels,27
RowColumn,575
controlling C++ access,262
creating and destroying,187
currently selected,23, 38
defined as C++ class,258
defined as data structure,256
defined as function structure,254
DialogTemplate,20 to 21, 26
duplicate names,236
effect of naming,283
enabling and disabling,186
enclosing class,264, 386
FileSelectionBox restrictions on Windows,373
Form,28, 81
Frame restrictions on Windows,374
inheritance,61
invisible,591
Java classes,355
links and,188
MainWindow restrictions on Windows,374
manager widgets on Windows,379
managing,79
mapping and managing,186
mapping to Windows objects,790
members of C++ class,282
MenuBar restrictions on Windows,373
multiple selection,23
must be class in Windows mode,370
naming in C++ class,262
palette icons help,8
PanedWindow restrictions on Windows,374
parent-child relationships,98
pasting into design,236
popup menus,404
RadioBox,28
RadioBox restrictions on Windows,374
reading into design,236
referencing before creating in generated code,184
resetting,85
RowColumn,29 to 30, 69 to 72
Scale restrictions on Windows,374
scope,79, 184, 270
scope in generated code,236
ScrolledWindow restrictions on Windows,374
setting and getting resources,186
Shell,72, 73
showing and hiding,186
static and local definition,188
subclasses and superclasses,61
TextFields,69
translation tables,194
unnamed causing problems,262
unreachable,271
unsupported on Windows,373
user-defined
configuration,635 to 687
variable name in resource file,239
variable names,188
window style mapping,793

widgets for Java emulation,327

widgets vs. gadgets, see gadgets

wildcard (*) in resource file,241

window holding area,34, 44
changing Shell order,35

window styles,793
mapped from Motif widget resources,793

Windows
Bitmap and Icon files,382
creating objects,793
drawing model,405
generating resources,382
message handlers,406
message handling,387
MFC 4 enhancements,879

Windows compliant
fixing errors,376
invalidation of methods,372
structure error,371
toggle buttons,18, 367

Windows event handling
mapping from X event masks,390
mapping to callbacks,370

Windows mode
appearance,367
application resource,366
color objects,383
command line switch,366
compliance failure,375
Ctrl-M in generated files,395
font objects,381
how to invoke,366
pink fields,395

Windows toggle in callbacks dialog,386

writing to file or pipe,205

X

X Events as listener objects,338

X procedures,202

X procedures, editing,210

X window system,9

X resource file,58, 83
name for,220
preludes for,246
problems in,812
syntax,239

X11 Release 5 and Release 6 X Toolkit Intrinsics,636

XApplication, in resource file,223

XBell,313

xd_base_c,268

xd_rootwidget,268, 277

xddefinitionsrc file,273

XDdynamic resources,721

XENVIRONMENT environment variable,220, 315

Xlib,315

XmDropSiteRegister,194

XmListYToPos
using in Sun WorkShop Visual Replay,467

XmNdefaultButton,271

XmNmappedWhenManaged,186

XmScrollBarGetValues
using in Sun WorkShop Visual Replay,467

XmScrollBarSetValues
using in Sun WorkShop Visual Replay,467

XmStrings,165, 382

XtAddCallback,292

XtDestroyWidget,187

XtManageChild,186

XtManageChildren,186

XtNameToWidget,678

XtPointer,292

XtPopdown,187

XtPopup,187

XtUnmanageChild,186

XtUnmanageChildren,186



Previous Contents Doc Set Home

Copyright © 2000 Sun Microsystems, Inc. & Imperial Software Technology Ltd. All Rights Reserved.