XmDeactivateProtocol(3X)XmDeactivateProtocol(3X)NAME
XmDeactivateProtocol - A VendorShell function that deactivates a protocol without removing it
SYNOPSIS
#include <Xm/Xm.h> #include <Xm/Protocols.h>
void XmDeactivateProtocol (shell, property, protocol)
Widget shell;
Atom property;
Atom protocol;
void XmDeactivateWMProtocol (shell, protocol)
Widget shell;
Atom protocol;
DESCRIPTION
XmDeactivateProtocol deactivates a protocol without removing it. It updates the handlers and the property, if the shell is realized. It
is sometimes useful to allow a protocol's state information (callback lists, etc.) to persist, even though the client may choose to tempo-
rarily resign from the interaction. The main use of this capability is to gray/ungray f.send_msg entries in the Mwm system menu. This is
supported by allowing a protocol to be in one of two states: active or inactive. If the protocol is active and the shell is realized, the
property contains the protocol Atom. If the protocol is inactive, the Atom is not present in the property.
XmDeactivateWMProtocol is a convenience interface. It calls XmDeactivateProtocol with the property value set to the atom returned by
interning WM_PROTOCOLS. Specifies the widget with which the protocol property is associated Specifies the protocol property Specifies the
protocol atom (or an int type cast to Atom)
For a complete definition of VendorShell and its associated resources, see VendorShell(3X).
SEE ALSO mwm(1X), VendorShell(3X), XmDeactivateWMProtocol(3X), XmInternAtom(3X)XmDeactivateProtocol(3X)
Check Out this Related Man Page
XmDeactivateProtocol(library call) XmDeactivateProtocol(library call)
NAME
XmDeactivateProtocol -- A VendorShell function that deactivates a protocol without removing it
SYNOPSIS
#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmDeactivateProtocol(
Widget shell,
Atom property,
Atom protocol);
DESCRIPTION
XmDeactivateProtocol deactivates a protocol without removing it. It updates the handlers and the property if the shell is realized. It is
sometimes useful to allow a protocol's state information (callback lists, and so on) to persist, even though the client may choose to tem-
porarily resign from the interaction. The main use of this capability is to gray/ungray f.send_msg entries in the MWM system menu. To
support this capability, protocol is allowed to be in one of two states: active or inactive. If protocol is active and shell is realized,
property contains the protocol Atom. If protocol is inactive, Atom is not present in the property.
XmDeactivateWMProtocol is a convenience interface. It calls XmDeactivateProtocol with the property value set to the atom returned by
interning WM_PROTOCOLS.
shell Specifies the widget with which the protocol property is associated
property Specifies the protocol property
protocol Specifies the protocol atom
For a complete definition of VendorShell and its associated resources, see VendorShell(3).
RELATED mwm(1), VendorShell(3), XmActivateProtocol(3), XmDeactivateWMProtocol(3), and XmInternAtom(3).
XmDeactivateProtocol(library call)
I have a property file in which the DB name is specified and when i run my servers they will point to the DB specified in that property file. Now i'm gonna write a script which will start all the services. But before that i just want to dynamically change the DB name in that property file by... (3 Replies)
Morning,
Hopefully someone can help an newbie!
I have been getting a number of file corruptions with
Rogue "Control M" charactors .
The effect is:
Should be
aaaa
bbbb
cccc
dddd
(4 lines)
But getting (6 Replies)
Can anyone help me in shell script function with these four operation.
First removing the last line in the file and then removing the " from the file and followed by getting the file name and then getting the count of the line in the file
Also want to display file name and line count but this... (3 Replies)
Hi I have a file that are a list of people & their credentials i recieve frequently The issue is that whne I catnet this list that duplicat entries exists & are NOT CONSECUTIVE (i.e. uniq -1 may not weork here )
I'm trying to write a scrip that will remove duplicate entries
the script can... (5 Replies)
hi,
I have a file that contains one line with , at the end of it and I want to remove it using sed
I tried
s/,$//g
but it does not work
thanks (4 Replies)
i have a file like this
1111_2222#$#$dudgfdk
11111111_343434#$#$334
1111_22222#43445667
i want to remove all those charachetrs from #
how can i do this
Thank in advance
Saravanan (4 Replies)
Hello,
I have property file with key value pairs separated by pipe , I am trying to write a script which reads the property file and search and print value of specific key. I tried with Sed, I am successfull.
The file is as follows
... (4 Replies)
Hi,
I have a property file called "inspector.properties".
In this property file stands the following:
inspect=ON
Now I want to have a shell script that when you run it, changes the ON in OFF in this property file.
Is this possible with sed?
Can anybody help me with this?
Tnx very much. (5 Replies)
Hi!
i need a script that can read a property file.
i.e., A script to read a "property" from property file.
Read the property value and
based on value of property, decide whether to start the some dataload activity or not.
Its urngent. Can anyone help me out???:( (7 Replies)
Hi!
I'm just new to shell scripting n simple tasks looks so tough in initial stage. i need to write a script which will read a property file, property file will be containing count of the csv files, and in a folder(same folder) there will be respective csv files.
like Property file
data1=100... (3 Replies)
Hello folks!
Raised a bump on my head trying to figure this one out ;)
I have an xml file which needs to be edited, removing an entire property section in the work. Here's what the target section layout looks like:
<property name="something">
{any number of lines go here}
</property>... (7 Replies)
Hi Gurus,
The following script fails with the error 'command not found' while trying to execute. As the error indicates, the script fails at ROW#30 where the EOF is defined for SQL statement.
It appears that the script is trying execute the lines in the SQL output written to ta spool file.... (7 Replies)
Hello SuperUsers! First i wanna say my english sucks.. Don't hate me for that. :rolleyes:
I need to make a Bash for removing smilar lines from an output file.
My output file always same.
Line 1 & 2 Stays. And others similar to this lines needs to be delete.
</UsageData><?xml version="1.0"... (4 Replies)
Hello Frens,
I am a newbie to shell scripting. I need a help on creating a for loop script (shell script) for removing files. I have a table called a_table with column name fil_name which contains all the files that need to be removed.
Thank you in advance (6 Replies)
Hi All,
Need your help to fix one script.
Main agenda is:
1. Read a property file.
2. Delete all files in directory except the name from Property file.
I am trying to read property file for value then deleting all files from directory except THAT value/name.
I have tried so far as... (3 Replies)