Technical Standard X/Open Common Desktop Environment (XCDE
Total Page:16
File Type:pdf, Size:1020Kb
Technical Standard X/Open Common Desktop Environment (XCDE) Definitions and Infrastructure NICAL H S C T A E N T D A R D [This page intentionally left blank] X/Open CAE Specification X/Open Common Desktop Environment (XCDE) Definitions and Infrastructure X/Open Company Ltd. March 1995, X/Open Company Limited All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior permission of the copyright owners. X/Open CAE Specification X/Open Common Desktop Environment (XCDE) Definitions and Infrastructure ISBN: 1-85912-070-9 X/Open Document Number: C324 Published by X/Open Company Ltd., U.K. Any comments relating to the material contained in this document may be submitted to X/Open at: X/Open Company Limited Apex Plaza Forbury Road Reading Berkshire, RG1 1AX United Kingdom or by Electronic Mail to: [email protected] ii X/Open CAE Specification Contents Chapter 1 Introduction............................................................................................... 1 1.1 Overview ...................................................................................................... 1 1.2 Conformance ............................................................................................... 2 1.3 Terminology................................................................................................. 3 1.4 Format of Entries......................................................................................... 4 1.4.1 C-Language Functions and Headers ................................................... 4 1.4.2 Messages.................................................................................................... 5 1.4.3 Service Interfaces ..................................................................................... 5 Chapter 2 Glossary ....................................................................................................... 11 2.1 Terms Defined by XCDE............................................................................. 11 2.2 Terms From Other Standards................................................................... 22 Chapter 3 General Definitions and Requirements................................... 25 3.1 XCDE Data Format Naming...................................................................... 25 Chapter 4 X Windows and Motif......................................................................... 27 4.1 X Protocol ..................................................................................................... 27 4.2 Xlib Library .................................................................................................. 27 4.3 Xt Intrinsics .................................................................................................. 27 4.4 ICCCM, CT, XLFD, BDF ............................................................................ 27 4.5 Motif Libraries............................................................................................. 28 4.6 X Windows and Motif Data Types.......................................................... 28 4.7 XCDE Widgets.............................................................................................. 28 DtComboBox( )................................................................................................. 29 DtMenuButton( ) ............................................................................................. 32 DtSpinBox( )..................................................................................................... 36 4.8 XCDE Widget Convenience Functions ................................................... 41 DtComboBoxAddItem( ) .................................................................................. 42 DtComboBoxDeletePos( ) ................................................................................ 43 DtComboBoxSelectItem( )................................................................................ 44 DtComboBoxSetItem( ) .................................................................................... 45 DtCreateComboBox( ) ...................................................................................... 46 DtCreateMenuButton( ) .................................................................................. 47 DtCreateSpinBox( ).......................................................................................... 48 DtSpinBoxAddItem( )...................................................................................... 49 DtSpinBoxDeletePos( ) .................................................................................... 50 DtSpinBoxSetItem( )........................................................................................ 51 4.9 XCDE Widget Headers............................................................................... 52 <Dt/ComboBox.h>........................................................................................ 53 <Dt/MenuButton.h>..................................................................................... 54 <Dt/SpinBox.h>............................................................................................. 55 X/Open Common Desktop Environment (XCDE) De finitions and Infrastructure iii Contents Chapter 5 Miscellaneous Desktop Services ................................................. 57 5.1 Introduction ................................................................................................. 57 5.2 Functions ...................................................................................................... 57 DtInitialize( ).................................................................................................... 58 5.3 Headers......................................................................................................... 59 <Dt/Dt.h>........................................................................................................ 60 Chapter 6 Message Services ................................................................................... 61 6.1 Introduction ................................................................................................. 61 6.2 Functions ...................................................................................................... 61 tt_X_session( ).................................................................................................. 62 tt_bcontext_join( )............................................................................................ 63 tt_bcontext_quit( )............................................................................................ 64 tt_close( )........................................................................................................... 65 tt_context_join( ).............................................................................................. 66 tt_context_quit( ).............................................................................................. 67 tt_default_file( ) ................................................................................................ 68 tt_default_file_set( ) ......................................................................................... 69 tt_default_procid ( ) .......................................................................................... 70 tt_default_procid_set ( ).................................................................................... 71 tt_default_ptype( )............................................................................................ 72 tt_default_ptype_set( ) ..................................................................................... 73 tt_default_session( ) ......................................................................................... 74 tt_default_session_set( )................................................................................... 75 tt_error_int( ).................................................................................................... 77 tt_error_pointer( ) ............................................................................................ 78 tt_fd( )................................................................................................................ 79 tt_file_copy( ).................................................................................................... 80 tt_file_destroy( ) ............................................................................................... 81 tt_file_join( ) ..................................................................................................... 82 tt_file_move( )................................................................................................... 83 tt_file_netfile( ) ................................................................................................. 84 tt_file_objects_query( )..................................................................................... 85 tt_file_quit( )..................................................................................................... 87 tt_free( )............................................................................................................. 88 tt_host_file_netfile( ) ........................................................................................ 89 tt_host_netfile_file( ) ........................................................................................ 90 tt_icontext_join ( )............................................................................................