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

« back to all changes in this revision

Viewing changes to man/gtkDialogSetAlternativeButtonOrder.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:
7
7
response ids passed to this function.}
8
8
\usage{gtkDialogSetAlternativeButtonOrder(object, ...)}
9
9
\arguments{
10
 
\item{\verb{object}}{[\verb{\link{GtkDialog}}]  a \verb{\link{GtkDialog}}}
11
 
\item{\verb{...}}{ a list of more response ids of \code{dialog}'s buttons, terminated by -1}
 
10
\item{\verb{object}}{a \code{\link{GtkDialog}}}
 
11
\item{\verb{...}}{a list of more response ids of \code{dialog}'s buttons, terminated by -1}
12
12
}
13
13
\details{By default, GTK+ dialogs use the button order advocated by the Gnome 
14
14
Human 
15
15
Interface Guidelines (\url{http://developer.gnome.org/projects/gup/hig/2.0/}) with the affirmative button at the far 
16
16
right, and the cancel button left of it. But the builtin GTK+ dialogs
17
 
and \verb{\link{GtkMessageDialog}}s do provide an alternative button order,
 
17
and \code{\link{GtkMessageDialog}}s do provide an alternative button order,
18
18
which is more suitable on some platforms, e.g. Windows.
19
19
  
20
20
Use this function after adding all the buttons to your dialog, as the 
28
28
help_button <- dialog$addButton("gtk-help", "help")
29
29
 
30
30
dialog$setAlternativeButtonOrder("ok", "cancel", "help")
31
 
}  
32
 
 
33
 
  Since  2.6}
 
31
}
 
32
  Since 2.6}
34
33
\author{Derived by RGtkGen from GTK+ documentation}
35
34
\keyword{internal}