xcb_set_selection_owner_checked(3) [centos man page]
xcb_set_selection_owner(3) XCB Requests xcb_set_selection_owner(3)NAME
xcb_set_selection_owner - Sets the owner of a selection
SYNOPSIS
#include <xcb/xproto.h>
Request function
xcb_void_cookie_t xcb_set_selection_owner(xcb_connection_t *conn, xcb_window_t owner, xcb_atom_t selection, xcb_timestamp_t time);
REQUEST ARGUMENTS
conn The XCB connection to X11.
owner The new owner of the selection.
The special value XCB_NONE means that the selection will have no owner.
selection The selection.
time Timestamp to avoid race conditions when running X over the network.
The selection will not be changed if time is earlier than the current last-change time of the selection or is later than the cur-
rent X server time. Otherwise, the last-change time is set to the specified time.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
DESCRIPTION
Makes window the owner of the selection selection and updates the last-change time of the specified selection.
TODO: briefly explain what a selection is.
RETURN VALUE
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with xcb_request_check instead, use xcb_set_selection_owner_checked. See xcb-requests(3) for details.
ERRORS
xcb_atom_error_t
selection does not refer to a valid atom.
SEE ALSO xcb-requests(3), xcb_set_selection_owner(3)AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB 2014-06-10 xcb_set_selection_owner(3)
Check Out this Related Man Page
xcb_get_selection_owner(3) XCB Requests xcb_get_selection_owner(3)NAME
xcb_get_selection_owner - Gets the owner of a selection
SYNOPSIS
#include <xcb/xproto.h>
Request function
xcb_get_selection_owner_cookie_t xcb_get_selection_owner(xcb_connection_t *conn, xcb_atom_t selection);
Reply datastructure
typedef struct xcb_get_selection_owner_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
xcb_window_t owner;
} xcb_get_selection_owner_reply_t;
Reply function
xcb_get_selection_owner_reply_t *xcb_get_selection_owner_reply(xcb_connection_t *conn, xcb_get_selection_owner_cookie_t cookie,
xcb_generic_error_t **e);
REQUEST ARGUMENTS
conn The XCB connection to X11.
selection The selection.
REPLY FIELDS
response_type
The type of this reply, in this case XCB_GET_SELECTION_OWNER. This field is also present in the xcb_generic_reply_t and can be
used to tell replies apart from each other.
sequence The sequence number of the last request processed by the X11 server.
length The length of the reply, in words (a word is 4 bytes).
owner The current selection owner window.
DESCRIPTION
Gets the owner of the specified selection.
TODO: briefly explain what a selection is.
RETURN VALUE
Returns an xcb_get_selection_owner_cookie_t. Errors have to be handled when calling the reply function xcb_get_selection_owner_reply.
If you want to handle errors in the event loop instead, use xcb_get_selection_owner_unchecked. See xcb-requests(3) for details.
ERRORS
xcb_atom_error_t
selection does not refer to a valid atom.
SEE ALSO xcb-requests(3), xcb_set_selection_owner(3)AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB 2014-06-10 xcb_get_selection_owner(3)
Hi there. This is probably a very stupid question, but...
How do I change or set the time in UNIX? I am taking care of a Sun Ultra 5 running SunOS 5.7 and I can't figure out how to change the time.
Help. (3 Replies)
I having problem when I call this cleanupmenu function within a script. It continuously loops and goes to selection * That wasn't a valid selection. I have to kill it everytime to stop it. What am I doing wrong. I use this function menu in several other scripts and I don't have this problem at... (2 Replies)
hello all
i have string that i need to parse something list that :
<form name="CustomerStatus" action="<% env.GetURI %>" method="post"<$if(blah)%> name="<% env.get("StatusList") %>" ><% hello %><input type="hidden" name="<% env.get("Operation") %>" value="">
now im selecting the the string... (6 Replies)
Morning,
I am checking the HMC serviceable errors and have noticed there are a few errors, but I don't quite understand what they mean. Could someone please explain how it works and what it means?
Thanks (0 Replies)
Hi,
I have a file containing details of different departments . Infomration of departments is in various tags
file is as below
I want to create a new file from the above file which should contain only two fields belonging to one department
format
There are multiple files... (1 Reply)
I've been working with Solaris/Linux for about 4 months now. Let me explain the scenario. There will be two users involved. The owner (curOwner) and the new user (newUser). The server in question is a Solaris 10 box.
So curOwner runs an application that is constantly writing logs to lets say.... (2 Replies)
I'm writing a shell script and have a problem with selection when I issue the command, is there a way to automatically choose a selection number one after a selection menue appear
Command
1-choice
2- choice
3-choice
Thanks
Sara (3 Replies)
can someone help me assign the selection of a drop down menu to a variable? the variable i need to store the selection in is inputA.
<form name="inputA">
<p align="center">
<p align="center">Name: <input name="inputA" type="text" size="45">
<select>
<?php
if ($handle =... (1 Reply)
I'm using the below statements in my script
if && then
sqlplus sysadm/abcdefgh12@${dbarr} @/u1/scripts/ResetPswd.sql
elif then
for idx in 0 1 2 3 4 5 6 7
do
sqlplus sysadm/abcdefgh12@${dbarr} @/u1/scripts/ResetPswd.sql
done
else
exit
fi
It give me... (5 Replies)