home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xgetomvalues.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. XOpenOM(3X11)          XLIB FUNCTIONS        XOpenOM(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XOpenOM, XCloseOM, XSetOMValues, XGetOMValues, XDisplay-
  9.        OfOM, XLocaleOfOM - open output methods
  10.  
  11. SSYYNNTTAAXX
  12.        XOM XOpenOM(_d_i_s_p_l_a_y, _d_b, _r_e_s___n_a_m_e, _r_e_s___c_l_a_s_s)
  13.          Display *_d_i_s_p_l_a_y;
  14.          XrmDatabase _d_b;
  15.          char *_r_e_s___n_a_m_e;
  16.          char *_r_e_s___c_l_a_s_s;
  17.  
  18.        Status XCloseOM(_o_m)
  19.          XOM _o_m;
  20.  
  21.        char * XSetOMValues(_o_m, ...)
  22.          XOM _o_m;
  23.  
  24.        char * XGetOMValues(_o_m, ...)
  25.          XOM _o_m;
  26.  
  27.        Display * XDisplayOfOM(_o_m)
  28.         XOM _o_m;
  29.  
  30.        char * XLocaleOfOM(_o_m)
  31.          XOM _o_m;
  32.  
  33. AARRGGUUMMEENNTTSS
  34.        _d_i_s_p_l_a_y     Specifies the connection to the X server.
  35.  
  36.        _d_b     Specifies a pointer to the resource database.
  37.  
  38.        _r_e_s___n_a_m_e     Specifies the full resource name of the applica-
  39.          tion.
  40.  
  41.        _r_e_s___c_l_a_s_s Specifies the full class name of the applica-
  42.          tion.
  43.  
  44.        _o_m     Specifies the output method.
  45.  
  46.        ...     Specifies the variable length argument list to
  47.          set or get XOM values.
  48.  
  49. DDEESSCCRRIIPPTTIIOONN
  50.        The _X_O_p_e_n_O_M function opens an output method matching the
  51.        current locale and modifiers specification.  The current
  52.        locale and modifiers are bound to the output method when
  53.        _X_O_p_e_n_O_M is called.  The locale associated with an output
  54.        method cannot be changed.
  55.  
  56.        The specific output method to which this call will be
  57.        routed is identified on the basis of the current locale
  58.        and modifiers.  _X_O_p_e_n_O_M will identify a default output
  59.        method corresponding to the current locale.  That default
  60.        can be modified using _X_S_e_t_L_o_c_a_l_e_M_o_d_i_f_i_e_r_s to set the
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XOpenOM(3X11)          XLIB FUNCTIONS        XOpenOM(3X11)
  71.  
  72.  
  73.        output method modifier.
  74.  
  75.        The db argument is the resource database to be used by the
  76.        output method for looking up resources that are private to
  77.        the output method.  It is not intended that this database
  78.        be used to look up values that can be set as OC values in
  79.        an output context.  If db is NULL, no database is passed
  80.        to the output method.
  81.  
  82.        The res_name and res_class arguments specify the resource
  83.        name and class of the application.  They are intended to
  84.        be used as prefixes by the output method when looking up
  85.        resources that are common to all output contexts that may
  86.        be created for this output method.  The characters used
  87.        for resource names and classes must be in the X Portable
  88.        Character Set.  The resources looked up are not fully
  89.        specified if res_name or res_class is NULL.
  90.  
  91.        The res_name and res_class arguments are not assumed to
  92.        exist beyond the call to _X_O_p_e_n_O_M.  The specified resource
  93.        database is assumed to exist for the lifetime of the out-
  94.        put method.
  95.  
  96.        _X_O_p_e_n_O_M returns NULL if no output method could be opened.
  97.  
  98.        The _X_C_l_o_s_e_O_M function closes the specified output method.
  99.  
  100.        The _X_S_e_t_O_M_V_a_l_u_e_s function presents a variable argument
  101.        list programming interface for setting properties or fea-
  102.        tures of the specified output method.  This function
  103.        returns NULL if it succeeds; otherwise, it returns the
  104.        name of the first argument that could not be obtained.
  105.  
  106.        No standard arguments are currently defined by Xlib.
  107.  
  108.        The _X_G_e_t_O_M_V_a_l_u_e_s function presents a variable argument
  109.        list programming interface for querying properties or fea-
  110.        tures of the specified output method.  This function
  111.        returns NULL if it succeeds; otherwise, it returns the
  112.        name of the first argument that could not be obtained.
  113.  
  114.        The _X_D_i_s_p_l_a_y_O_f_O_M function returns the display associated
  115.        with the specified output method.
  116.  
  117.        The _X_L_o_c_a_l_e_O_f_O_M returns the locale associated with the
  118.        specified output method.
  119.  
  120. SSEEEE AALLSSOO
  121.        XCreateOC(3X11), XCreateFontSet(3X11)
  122.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.