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

motif_display(motif) Motif Widgets motif_display(motif)

NAME

motif_display - motif interface to the display

DESCRIPTION

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

You can retrieve the id of the motif_display by sending the motif_display_id? message to any of the motif widgets. You should use this value to set the id of a motif_display instance. Then you can use the motif_display instance to set/get XmDisplay 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 display instance and get its id from -- motif. (remember -- you don't ever create a motif display -- -- instead you'll always gets its id from another widget. )

motif_display new: mdisplay

id = [ motif motif_display_id?]

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

! dragInitiatorProtocolStyle

@ `dragInitiatorProtocolStyle' print: scalar_value ! dragReceiverProtocolStyle

@ `dragReceiverProtocolStyle' print: scalar_value

;

SEE ALSO

motif motif_screen xdisplay


Please send comments and suggestions to
consult@rpi.edu