gtk-Selections             package:RGtk2             R Documentation

_S_e_l_e_c_t_i_o_n_s

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

     Functions for handling inter-process communication via selections

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkTargetListNew(targets)'
      'gtkTargetListAdd(object, target, flags, info)'
      'gtkTargetListAddTable(object, targets)'
      'gtkTargetListAddTextTargets(list, info)'
      'gtkTargetListAddImageTargets(list, info, writable)'
      'gtkTargetListAddUriTargets(list, info)'
      'gtkTargetListAddRichTextTargets(list, info, deserializable,
     buffer)'
      'gtkTargetListRemove(object, target)'
      'gtkTargetListFind(object, target)'
      'gtkTargetTableNewFromList(list)'
      'gtkSelectionOwnerSet(object, selection, time =
     "GDK_CURRENT_TIME")'
      'gtkSelectionOwnerSetForDisplay(display, widget = NULL,
     selection, time = "GDK_CURRENT_TIME")'
      'gtkSelectionAddTarget(object, selection, target, info)'
      'gtkSelectionAddTargets(object, selection, targets)'
      'gtkSelectionClearTargets(object, selection)'
      'gtkSelectionConvert(object, selection, target, time =
     "GDK_CURRENT_TIME")'
      'gtkSelectionDataSet(object, type, format, data, length =
     length(data))'
      'gtkSelectionDataSetText(object, str, len = -1)'
      'gtkSelectionDataGetText(object)'
      'gtkSelectionDataSetPixbuf(object, pixbuf)'
      'gtkSelectionDataGetPixbuf(object)'
      'gtkSelectionDataSetUris(object, uris)'
      'gtkSelectionDataGetUris(object)'
      'gtkSelectionDataGetTargets(object)'
      'gtkSelectionDataTargetsIncludeImage(object, writable)'
      'gtkSelectionDataTargetsIncludeText(object)'
      'gtkSelectionDataTargetsIncludeUri(object)'
      'gtkSelectionDataTargetsIncludeRichText(object, buffer)'
      'gtkTargetsIncludeImage(targets, writable)'
      'gtkTargetsIncludeText(targets)'
      'gtkTargetsIncludeUri(targets)'
      'gtkTargetsIncludeRichText(targets, buffer)'
      'gtkSelectionRemoveAll(object)'
      'gtkSelectionClear(object, event)'
      'gtkSelectionClear(object, event)'
      'gtkSelectionDataCopy(object)'

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

     The selection mechanism provides the basis for different types of
     communication between processes. In particular, drag and drop and
     'GtkClipboard' work via selections. You will very seldom or never
     need to use most of the functions in this section directly;
     'GtkClipboard' provides a nicer interface to the same
     functionality.

     Some of the datatypes defined this section are used in the
     'GtkClipboard' and drag-and-drop API's as well. The
     'GtkTargetEntry' structure and 'GtkTargetList' objects represent
     lists of data types that are supported when sending or receiving
     data. The 'GtkSelectionData' object is used to store a chunk of
     data along with the data type and other associated information.

_S_t_r_u_c_t_u_r_e_s:


     '_G_t_k_T_a_r_g_e_t_E_n_t_r_y' A 'GtkTargetEntry' structure represents a single
          type of data than can be supplied for by a widget for a
          selection or for supplied or received during drag-and-drop.
          It  contains a string representing the drag type, a flags
          field (used only for drag and drop - see 'GtkTargetFlags'),
          and an application assigned integer ID. The integer ID will
          later be passed as a signal parameter for signals like
          "selection_get". It allows the application to identify the
          target type without extensive string compares.
          *'GtkTargetEntry' is a transparent-type.*

          '_t_a_r_g_e_t' [character] 

          '_f_l_a_g_s' [numeric] 

          '_i_n_f_o' [integer] 


     '_G_t_k_T_a_r_g_e_t_L_i_s_t' A 'GtkTargetList' structure is a reference counted
          list of 'GtkTargetPair'. It is used to represent the same
          information as a table of 'GtkTargetEntry', but in an
          efficient form. This structure should be treated as opaque.


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

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/gtk/gtk-Selections.html>

