XtRegisterGrabAction(3Xt) XT FUNCTIONS XtRegisterGrabAction(3Xt)NAME
XtRegisterGrabAction - register button and key grabs
SYNTAX
void XtRegisterGrabAction(XtActionProc action_proc, Boolean owner_events, unsigned int event_mask, int pointer_mode, int keyboard_mode);
ARGUMENTS
action_proc
Specifies the action procedure to search for in translation tables.
action
event
params
num_params
Specify arguments to XtGrabButton or XtGrabKey
DESCRIPTION
XtRegisterGrabAction adds the specified action_proc to a list known to the translation manager.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
XFree86 Version 4.7.0 XtRegisterGrabAction(3Xt)
Check Out this Related Man Page
XtMenuPopup() XtMenuPopup()
Name
XtMenuPopup - built-in action for popping up a widget.
Synopsis (Translation Table)
<Event sequence>: XtMenuPopup(shell_name)
Inputs
shell_name
Specifies the name of the widget shell to pop up.
Availability
This action is named MenuPopup prior to Release 4.
Description
XtMenuPopdown is a predefined action procedure which does not have a corresponding public C routine. It can only be invoked from a trans-
lation table.
XtMenuPopup tries to find the named shell by searching the widget tree starting at the widget in which it is invoked. If it finds a shell
with the specified name in the popup children of that widget, it pops up the shell with the appropriate parameters. Otherwise, it moves up
the parent chain to find a popup child with the specified name. If XtMenuPopup gets to the application top-level shell widget and has not
found a matching shell, it generates a warning and returns immediately.
If XtMenuPopup is invoked on ButtonPress, it calls XtPopupSpringLoaded() on the specified shell widget. If XtMenuPopup is invoked on Key-
Press or EnterWindow, it calls XtPopup() on the specified shell widget with grab_kind set to XtGrabNonexclusive. Otherwise, the transla-
tion manager generates a warning message and ignores the action.
XtMenuPopup is specially registered with the translation manager as an action that will invoke a grab. This registration is done by call-
ing XtRegisterGrabAction() specifying owner_events True, event_mask ButtonPressMask ButtonReleaseMask, and pointer_mode and keyboard_mode
GrabModeAsync.
Usage
Note that XtMenuPopup is an action procedure; you cannot call it from C code.
MenuPopup is a synonym for XtMenuPopup.
Popup shells can also be popped up explicitly using XtPopup(), XtPopupSpringLoaded() or one of the predefined popup callback procedures
(see XtCallbackExclusive()).
The action XtMenuPopdown can be used to pop down a shell widget from a translation table.
See AlsoXtMenuPopdown(1), XtPopDown(1), XtPopup(1), XtPopupSpringLoaded(1), XtRegisterGrabAction(1).
Xt - Pop Ups XtMenuPopup()
There is no xorg.conf file and no XF86Config file on a certain FreeBSD machine:
# locate xorg.conf
/usr/local/man/man5/xorg.conf.5.gz
# locate XF86Config
#
Can someone let me know if that means that there is a bare bones set up possible only? xrandr works fine, but I am looking for ways to... (6 Replies)
I'm looking for finer granularity than the 20 ANSI escape sequence screen modes. What I'd like to do is have the terminal increase it's own height when I have to show the user a long menu.
Platform is Cygwin 64 running over Win 7 Pro.
Mike (4 Replies)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Look this very good rendering on Slackware 14.2
in my opinion is near perfect.
https://i.stack.imgur.com/q5trL.png
Now look the same page on Fedora 30
https://i.stack.imgur.com/FBQv7.png
In my opinion the fonts on Fedora are too small and difficult to read, I prefer the fat fonts of... (20 Replies)