~ubuntu-branches/ubuntu/trusty/rgtk2/trusty

« back to all changes in this revision

Viewing changes to man/gtkRecentChooserSetSortFunc.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-03 11:35:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103113546-a7fi7jdxdebp0tw1
Tags: 2.20.1-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
the chooser will sort using this function.}
7
7
\usage{gtkRecentChooserSetSortFunc(object, sort.func, sort.data)}
8
8
\arguments{
9
 
\item{\verb{object}}{[\verb{\link{GtkRecentChooser}}]  a \verb{\link{GtkRecentChooser}}}
10
 
\item{\verb{sort.func}}{[\verb{\link{GtkRecentSortFunc}}]  the comparison function}
11
 
\item{\verb{sort.data}}{[R object]  user data to pass to \code{sort.func}, or \code{NULL}}
 
9
\item{\verb{object}}{a \code{\link{GtkRecentChooser}}}
 
10
\item{\verb{sort.func}}{the comparison function}
 
11
\item{\verb{sort.data}}{ user data to pass to \code{sort.func}, or \code{NULL}. \emph{[  \acronym{allow-none}  ]}}
12
12
}
13
 
\details{To the comparison function will be passed two \verb{\link{GtkRecentInfo}} structs and
 
13
\details{To the comparison function will be passed two \code{\link{GtkRecentInfo}} structs and
14
14
\code{sort.data};  \code{sort.func} should return a positive integer if the first
15
15
item comes before the second, zero if the two items are equal and
16
 
a negative integer if the first item comes after the second.  
17
 
 
18
 
  Since  2.10}
 
16
a negative integer if the first item comes after the second.
 
17
  Since 2.10}
19
18
\author{Derived by RGtkGen from GTK+ documentation}
20
19
\keyword{internal}