<<<<<<<<<<<<<<<<<

motif_screen(motif) Motif Widgets motif_screen(motif)

NAME

motif_screen - motif interface to the screen

DESCRIPTION

The motif screen is used used by the motif widgets to store information that is specific to a screen. Each client has one XmScreen for each of the X screens that it accesses.

You can retrieve the id of the motif_screen by sending the motif_screen_id? message to any of the motif widgets. You should use this value to set the id of a motif_screen instance. Then you can use the motif_screen instance to set/get XmScreen resources.

As a class, motif can be a parent to any top level widget in a user interface. It also controls the processing of the event loop.

SUPERCLASS

xt

INSTANCE VARIABLES

none.

MESSAGES

EXAMPLE

-- create a motif screen instance and get its id from -- motif. (remember -- you don't ever create a motif screen -- -- instead you'll always gets its id from another widget. )

motif_screen new: mscreen

id = [ motif motif_screen_id?]

-- print out some resources that we now have access to

! unpostBehavior

@ `unpostBehavior' print: scalar_value ! moveOpaque

@ `moveOpaque' print: scalar_value

;

SEE ALSO

motif motif_display


Please send comments and suggestions to
consult@rpi.edu