~ubuntu-branches/ubuntu/quantal/gtkmm3.0/quantal

« back to all changes in this revision

Viewing changes to gtk/src/treesortable.hg

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-28 09:25:06 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120928092506-9h63ais5o750a8sk
Tags: 3.5.13-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglibmm-2.4-dev, libgtk-3-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: treesortable.hg,v 1.8 2006/04/21 07:41:28 murrayc Exp $ */
2
 
 
3
 
 
4
 
/* Copyright (C) 1998-2002 The gtkmm Development Team
 
1
/*
 
2
 * Copyright (C) 1998-2002 The gtkmm Development Team
5
3
 *
6
4
 * This library is free software; you can redistribute it and/or
7
5
 * modify it under the terms of the GNU Lesser General Public
67
65
  _WRAP_METHOD(void set_sort_column(int sort_column_id, SortType order),
68
66
               gtk_tree_sortable_set_sort_column_id)
69
67
 
70
 
  /** This callback should return -1 if a compares before b, 0 if they compare equal, 1 if a compares after b. 
 
68
  /** This callback should return -1 if a compares before b, 0 if they compare equal, 1 if a compares after b.
71
69
   * For instance, int on_sort_compare(const Gtk::TreeModel::iterator& a, const Gtk::TreeModel::iterator& b);
72
70
   */
73
71
  typedef sigc::slot<int, const Gtk::TreeModel::iterator&, const Gtk::TreeModel::iterator&> SlotCompare;