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

« back to all changes in this revision

Viewing changes to man/gtkItemFactoryPopup.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:
3
3
\title{gtkItemFactoryPopup}
4
4
\description{
5
5
Pops up the menu constructed from the item factory at (\code{x}, \code{y}).
6
 
\strong{WARNING: \code{gtk_item_factory_popup} has been deprecated since version 2.4 and should not be used in newly-written code. }
 
6
\strong{WARNING: \code{gtk_item_factory_popup} has been deprecated since version 2.4 and should not be used in newly-written code. Use \code{\link{GtkUIManager}} instead.}
7
7
}
8
8
\usage{gtkItemFactoryPopup(object, x, y, mouse.button, time = "GDK_CURRENT_TIME")}
9
9
\arguments{
10
 
\item{\verb{object}}{[\verb{\link{GtkItemFactory}}]  a \verb{\link{GtkItemFactory}} of type \verb{GTK_TYPE_MENU} (see \code{\link{gtkItemFactoryNew}})}
11
 
\item{\verb{x}}{[numeric]  the x position }
12
 
\item{\verb{y}}{[numeric]  the y position}
13
 
\item{\verb{mouse.button}}{[numeric]  the mouse button which was pressed to initiate the popup}
14
 
\item{\verb{time}}{[numeric]  the time at which the activation event occurred}
 
10
\item{\verb{object}}{a \code{\link{GtkItemFactory}} of type \verb{GTK_TYPE_MENU} (see \code{\link{gtkItemFactoryNew}})}
 
11
\item{\verb{x}}{the x position }
 
12
\item{\verb{y}}{the y position}
 
13
\item{\verb{mouse.button}}{the mouse button which was pressed to initiate the popup}
 
14
\item{\verb{time}}{the time at which the activation event occurred}
15
15
}
16
16
\details{The \code{mouse.button} parameter should be the mouse button pressed to initiate
17
17
the menu popup. If the menu popup was initiated by something other than
23
23
\code{\link{gtkGetCurrentEventTime}} instead.
24
24
  
25
25
The operation of the \code{mouse.button} and the \code{time.} parameter is the same
26
 
as the \code{button} and \code{activation.time} parameters for \code{\link{gtkMenuPopup}}.  }
 
26
as the \code{button} and \code{activation.time} parameters for \code{\link{gtkMenuPopup}}.}
27
27
\author{Derived by RGtkGen from GTK+ documentation}
28
28
\keyword{internal}