~ubuntu-branches/ubuntu/intrepid/libgtkada2/intrepid

« back to all changes in this revision

Viewing changes to src/gtk-tree_model_filter.ads

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2008-08-11 09:46:51 UTC
  • mfrom: (6.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20080811094651-9mjd6acwa98ffw5c
Tags: 2.12.0-2ubuntu1
Add lpia to supported architectures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
--  <group>Trees and Lists</group>
43
43
--  <testgtk>create_tree_filter.adb</testgtk>
44
44
 
 
45
with Glib.Types;
45
46
with Glib.Values;
 
47
with Gtk.Tree_Dnd;
46
48
with Gtk.Tree_Model;
47
49
 
48
50
package Gtk.Tree_Model_Filter is
280
282
   --  nodes. As a side effect of this function, all unrefed iters will be
281
283
   --  invalid.
282
284
 
 
285
   ----------------
 
286
   -- Interfaces --
 
287
   ----------------
 
288
   --  This class implements several interfaces. See Glib.Types
 
289
   --
 
290
   --  - "Gtk_Tree_Drag_Source"
 
291
   --    This interface allows this widget to act as a dnd source
 
292
 
 
293
   package Implements_Drag_Source is new Glib.Types.Implements
 
294
     (Gtk.Tree_Dnd.Gtk_Tree_Drag_Source,
 
295
      Gtk_Tree_Model_Filter_Record,
 
296
      Gtk_Tree_Model_Filter);
 
297
   function "+"
 
298
     (Model : access Gtk_Tree_Model_Filter_Record'Class)
 
299
      return Gtk.Tree_Dnd.Gtk_Tree_Drag_Source
 
300
      renames Implements_Drag_Source.To_Interface;
 
301
   function "-"
 
302
     (Drag_Source : Gtk.Tree_Dnd.Gtk_Tree_Drag_Source)
 
303
      return Gtk_Tree_Model_Filter
 
304
      renames Implements_Drag_Source.To_Object;
 
305
   --  Converts to and from the Gtk_Tree_Drag_Source interface
 
306
 
283
307
private
284
308
   pragma Import (C, Get_Type, "gtk_tree_model_filter_get_type");
285
309
end Gtk.Tree_Model_Filter;