XtPopdown - Online Linux Manual PageSection : 3
Updated : libXt 1.2.0
Source : X Version 11
Note : XT FUNCTIONS

NAMEXtPopdown, XtCallbackPopdown − unmap a pop-up

SYNTAX#include <X11/Intrinsic.h> void XtPopdown(Widget popup_shell); void XtCallbackPopdown(Widget w, XtPointer client_data, XtPointer call_data);

ACTIONSvoid XtMenuPopdown(String shell_name);

ARGUMENTScall_data Specifies the callback data, which is not used by this procedure. client_data Specifies a pointer to the XtPopdownID structure. popup_shell Specifies the widget shell to pop down. shell_name Specifies the name of the widget shell to pop down. w Specifies the widget.

DESCRIPTIONThe XtPopdown function performs the following: • Calls XtCheckSubclass to ensure popup_shell is a subclass of Shell. • Checks that popup_shell is currently popped_up; otherwise, it generates an error. • Unmaps popup_shell's window. • If popup_shell's grab_kind is either XtGrabNonexclusive or XtGrabExclusive, it calls XtRemoveGrab. • Sets pop-up shell's popped_up field to False. • Calls the callback procedures on the shell's popdown_callback list. The XtCallbackPopdown function casts the client data parameter to an XtPopdownID pointer: typedef struct { Widget shell_widget; Widget enable_widget; } XtPopdownIDRec, *XtPopdownID; The shell_widget is the pop-up shell to pop down, and the enable_widget is the widget that was used to pop it up. XtCallbackPopdown calls XtPopdown with the specified shell_widget and then calls XtSetSensitive to resensitize the enable_widget. If a shell name is not given, XtMenuPopdown calls XtPopdown with the widget for which the translation is specified. If a shell_name is specified in the translation table, XtMenuPopdown tries to find the shell by looking up the widget tree starting at the parent of the widget in which it is invoked. If it finds a shell with the specified name in the pop-up children of that parent, it pops down the shell; otherwise, it moves up the parent chain as needed. If XtMenuPopdown gets to the application top-level shell widget and cannot find a matching shell, it generates an error.

SEE ALSOXtCreatePopupShell(3), XtPopup(3)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface
0
Johanes Gumabo
Data Size   :   9,335 byte
man-XtCallbackPopdown.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 199,186
Visitor ID   :     :  
Visitor IP   :   3.144.242.20   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.