gtkClipboardGetForDisplay       package:RGtk2       R Documentation

_g_t_k_C_l_i_p_b_o_a_r_d_G_e_t_F_o_r_D_i_s_p_l_a_y

_D_e_s_c_r_i_p_t_i_o_n:

     Returns the clipboard object for the given selection.
     Cut/copy/paste menu items and keyboard shortcuts should use the
     default clipboard, returned by passing 'GDK_SELECTION_CLIPBOARD'
     for 'selection'. ('GDK_NONE' is supported as a synonym for
     GDK_SELECTION_CLIPBOARD for backwards compatibility reasons.) The
     currently-selected object or text should be provided on the
     clipboard identified by 'GDK_SELECTION_PRIMARY'. Cut/copy/paste
     menu items conceptually copy the contents of the
     'GDK_SELECTION_PRIMARY' clipboard to the default clipboard, i.e.
     they copy the selection to what the user sees as the clipboard.

_U_s_a_g_e:

     gtkClipboardGetForDisplay(display, selection = "GDK_SELECTION_CLIPBOARD")

_A_r_g_u_m_e_n_t_s:

'display': ['GdkDisplay']  the display for which the clipboard is to be
          retrieved or created

'selection': ['GdkAtom']  a 'GdkAtom' which identifies the clipboard to
          use.

_D_e_t_a_i_l_s:

     (Passing 'GDK_NONE' is the same as using 'gdk_atom_intern
     ("CLIPBOARD", FALSE)'. See 
     http://www.org/Standards/clipboards-spec (<URL:
     http://www.org/Standards/clipboards-spec>) for a detailed
     discussion of the "CLIPBOARD" vs. "PRIMARY" selections under the X
     window system. On Win32 the 'GDK_SELECTION_PRIMARY' clipboard is
     essentially ignored.)

     It's possible to have arbitrary named clipboards; if you do invent
     new clipboards, you should prefix the selection name with an
     underscore (because the ICCCM requires that nonstandard atoms are
     underscore-prefixed), and namespace it as well. For example, if
     your application called "Foo" has a special-purpose clipboard, you
     might call it "_FOO_SPECIAL_CLIPBOARD".  

     Since  2.2

_V_a_l_u_e:

     ['GtkClipboard']  the appropriate clipboard object. If no
     clipboard already exists, a new one will be created. Once a
     clipboard object has been created, it is persistent and.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

