8 More Discussions You Might Find Interesting
1. Programming
gede is a graphical debugger, a front-end for good ole uncle gdb. gede doesn't need a specialized gdb version. :b:
Unfortunately its a qt app, nevertheless it fits well in a gtk desktop environment.:eek:
Its author Johan Henriksson is a smart and nice guy always open for bug reports and... (2 Replies)
Discussion started by: dodona
2 Replies
2. Web Development
hi All
I use tomcat server to publish war file. How to send an notification to users via the application screen and it should dismiss once user clicks X mark.
Any suggestions ? (1 Reply)
Discussion started by: anil529
1 Replies
3. UNIX and Linux Applications
hi All
I use tomcat server to publish war file. How to send an notification to users via the application screen and it should dismiss once user clicks X mark.
Any suggestions ? (0 Replies)
Discussion started by: anil529
0 Replies
4. UNIX for Dummies Questions & Answers
Hi guys ,
I want to develop a web page which is capable of executing the command on os and show the output on the browser.(Which involves reading and writing too.)
I m using jsp language to develop the web page. How would i use it to communicate with my linux server?
Any... (3 Replies)
Discussion started by: pinga123
3 Replies
5. UNIX for Dummies Questions & Answers
I keep trying to append some astrix to the end of a line, but it keeps overwriting at the front of the line.
These are the originals
Fred Fardbarkle:674-843-1385:20 Parak Lane, Duluth, MN 23850:4/12/23:780900
Fred Fardbarkle:674-843-1385:20 Parak Lane, Duluth, MN 23850:4/12/23:780900
... (5 Replies)
Discussion started by: DrSammyD
5 Replies
6. Shell Programming and Scripting
Hi,
I have a txt file called a.txt which contain over 10,000 records and I would like to remove space before comma or after comma....like below:
The input (for example two record 00001,00002):
00001,client,card limited ,02292,N ,162:41 , 192, ... (6 Replies)
Discussion started by: happyv
6 Replies
7. Programming
Hi,
I have created a tool which analyses and debugs cobol programs on Unix environment usin the C files. I now want to create a frontend for the tool in windows. For this i need to establish some kinda communication between the front the end and the back end. I know pipes in one way of... (0 Replies)
Discussion started by: Sinbad
0 Replies
8. UNIX for Advanced & Expert Users
Hi,
I would like to develop a user interface on Solaris. Can anybody throw some light on currently available software utilities/ packages..?
Thanks in Advance ..
JS (4 Replies)
Discussion started by: shibz
4 Replies
XmPrintPopupPDM(library call) XmPrintPopupPDM(library call)
NAME
XmPrintPopupPDM -- Send a notification for the PDM to be popped up
SYNOPSIS
#include <Xm/Print.h>
XtEnum XmPrintPopupPDM(
Widgetprint_shell,
Widgetvideo_transient_for);
DESCRIPTION
A convenience function that sends a notification to start a Print Dialog Manager on behalf of the application, XmPrintPopupPDM hides the
details of the X selection mechanism used to notify the PDM that a new dialog must be popped up for this application.
XmPrintPopupPDM sends a selection request to either the print display of the print shell, or the video display of the transient_for video
widget (depending on the environment variable XPDMDISPLAY, which can only takes the value "print" or "video"), asking for the PDM windows
to be popped up on behalf of the app.
Return right away with status of XmPDM_NOTIFY_FAIL (e.g. if the function couldn't malloc memory for the selection value, or if XPDMDISPLAY
is not "print" or "video") or with XmPDM_NOTIFY_SUCCESS , which only means a "message" was sent out to the PDM specified by XPDMSELECTION ,
not that it's already up on the screen yet.
In order to know if the PDM is up, or not running, the application must register a XmNpdmNotificationCallback with the Print Shell.
XmPrintPopupPDM puts up an InputOnly window on top of the dialog, so that the end user doesn't use the print setup dialog while the PDM is
trying to come up. This window is automatically removed when the shell is about to call the callback for the first time.
print_shell
The Print Shell used for this print job and context.
video_transient_for
The video widget dealing with application print setup.
RETURN VALUE
Returns XmPDM_NOTIFY_SUCCESS if the function was able to send the notification out to the PDM process, XmPDM_NOTIFY_FAIL otherwise.
ERRORS
/WARNINGS
Not applicable.
EXAMPLES
Example of callback from a Print set up dialog box "Setup..." button:
PrintSetupCallback(print_dialog...)
/*-------------*/
{
if (XmPrintPopupPDM (pshell, XtParent(print_dialog)) !=
XmPDM_NOTIFY_SUCCESS) {
/* some error dialog */
}
}
Example of XmNpdmNotificationCallback from a Print Shell:
pdmNotifyCB(print_shell...)
{
XmPrintShellCallBackStruct * pr_cb = ...
switch (pr_cb->reason) {
case XmCR_PDM_NONE:
/* no PDM available */
PostErrorDialog(...);
break;
case XmCR_PDM_VXAUTH:
/* PDM is not authorized ... */
PostErrorDialog(...);
break;
case XmCR_PDM_UP: the PDM is up and running
/* everything is fine */
break;
default: /* other cases */
}
}
SEE ALSO
XmPrintSetup(3), XmPrintShell(3), XmRedisplayWidget(3), XmPrintToFile(3)
XmPrintPopupPDM(library call)