XtPopupSpringLoaded man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XtPopupSpringLoaded()					 XtPopupSpringLoaded()

Name
  XtPopupSpringLoaded - map a spring-loaded popup from within an applica‐
  tion.

Synopsis
  void XtPopupSpringLoaded(popup_shell)
	   Widget popup_shell;

Inputs
  popup_shell
	    Specifies the shell widget to be popped up.

Availability
  Release 4 and later.

Description
  XtPopupSpringLoaded() calls the functions registered on  the	specified
  shell's
  XtNpopupCallback callback list and pops  the	shell  up,  making  it	a
  spring-loaded shell.	A spring-loaded shell is one that is popped up in
  response to a button press  and  will	 pop  down  when  the  button  is
  released.   Spring-loaded  shells  have  events dispatched to them spe‐
  cially to ensure that they receive the button	 up  event,  even  if  it
  occurs in another window.  See XtAddGrab() for more details.

  XtPopupSpringLoaded()	 performs  exactly  like  XtPopup(),  except that
  XtPopupSpringLoaded() does the following:

  ·  Sets the shell spring_loaded field to True.

  ·  Always  calls  XtAddGrab()	 with	exclusive   set	  to   True   and
     spring_loaded set to True.

  See XtPopup() for details.

Usage
  You  can  also  pop  up  spring  loaded shells by using the XtMenuPopup
  action in a translation table.  This predefined action  calls	 XtPopup‐
  SpringLoaded().

  Any  pop  up shell can be popped down with XtPopdown(), the XtCallback‐
  Popdown() callback function, or with the XtMenuPopdown action.

  XtPopupSpringLoaded() was  added  in	Release	 4,  and  prior	 to  this
  release,  the	 only  way to pop up a spring loaded shell was to use the
  MenuPopup action (which has now been renamed XtMenuPopup).

See Also
  XtAddGrab(1), XtCreatePopupShell(1), XtMenuPopdown(1), XtMenuPopup(1),
  XtPopdown(1), XtPopup(1).

Xt - Pop Ups						 XtPopupSpringLoaded()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net