(go to: table of contents, index, list of vms_smg, prev: PREV, next: GET_PASTING_INFO)
Format:
GET_PASTEBOARD_ATTRIBUTES - Get Pasteboard Attributes
Gets pasteboard attributes and store them in the pasteboard information table.
pasteboard_info_table = \
vms_smg.get_pasteboard_attributes (pasteboard_id)
Returns:
Arguments:
Examples:
(go to: table of contents,
index, list of vms_smg,
prev: PREV,
next: GET_PASTING_INFO)
>>> import vms_smg
>>> import vms_smgdef
>>> # create a new DECwindows terminal using SMG
>>> status, \
... pasteboard_id, \
... number_of_pasteboard_rows, \
... number_of_pasteboard_columns, \
... type_of_terminal, \
... device_name \
... = vms_smg.create_pasteboard \
... (None, vms_smgdef.SMG_M_WORKSTATION)
>>>
>>> # get information about pasteboard
>>> pasteboard_info_table = \
... vms_smg.get_pasteboard_attributes (pasteboard_id)
>>>
>>> for key_name in pasteboard_info_table.keys():
... print "%17s : %s" % (key_name, pasteboard_info_table[key_name])
...
W_SPEED : 15 # TT$C_BAUD_9600
L_CURSOR_DID : 0 # no virtual display
B_PARITY : 24 # ?
W_WIDTH : 80 # 80 columns wide
B_DEVCLASS : 66 # DC$_TERM ($DCDEF)
W_FILL : 0 # no fill characters
L_DEVCHAR : 5271618
B_PHY_DEVTYPE : 112 # TT$_VT300_Series ($TTDEF)
B_SMG_DEVTYPE : 6 # SMG_K_VTTERMTABLE
W_PHYS_CURSOR_ROW : 1 # upper left-most
W_PHYS_CURSOR_COL : 1 # corner
B_COLOR : 0 # SMG_C_COLOR_UNKNOWN
B_ROWS : 24 # height
L_DEVDEPEND : 402690992
L_DEVDEPEND2 : -78639104
>>>