The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Except as contained in this notice, the name of The Open Group shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group.
Permission to use, copy, modify and distribute this documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital and Tetronix not be used in in advertising or publicity pertaining to distribution of the software without specific, written prior permission.
Digital and Tetronix make no representations about the suitability of the software described herein for any purpose. X version 11, however, is the result of the efforts of dozens of individuals at almost as many locations and organizations. At the risk of offending some of the players by exclusion, we would like to acknowledge some of the people who deserve special credit and recognition for their work on Xlib.
Our apologies to anyone inadvertently overlooked. Our thanks also goes to Ralph Swick Project Athena and Digital who kept it all together for us during the early releases. He handled literally thousands of requests from people everywhere and saved the sanity of at least one of us. His calm good cheer was a foundation on which we could build.
He was responsible for the successful integration of sources from multiple sites; we would not have had a release without him. With good humor and cheer, they took a rough draft and made it an infinitely better and more useful document.
The work they have done will help many everywhere. The alpha and beta test participants deserve special recognition and thanks as well. It is significant that the bug reports and many fixes during alpha and beta test came almost exclusively from just a few of the alpha testers, mostly hardware vendors working on product implementations of X.
The continued public contribution of vendors and universities is certainly to the benefit of the entire X community. Our special thanks must go to Sam Fuller, Vice-President of Corporate Research at Digital, who has remained committed to the widest public availability of X and who made it possible to greatly supplement MIT's resources with the Digital staff in order to make version 11 a reality.
Others not mentioned here worked on the toolkit and are acknowledged in the X Toolkit documentation. The principal author of the rest of the internationalization facilities is Glenn Widener Tektronix. Our thanks to them for keeping their sense of humor through a long and sometimes difficult design process.
Although the words and much of the design are due to them, many others have contributed substantially to the design and implementation.
The principal authors design and implementation of the Xcms color management facilities are Al Tabayoyon Tektronix and Chuck Adams Tektronix. We also once again thank Al Mento of Digital for his work in formatting and reformatting text for this manual, and for producing man pages. Stephen Gildea X Consortium authored the threads support. Ovais Ashraf Sun and Greg Olsen Sun contributed substantially by testing the facilities and reporting bugs in a timely fashion.
The coordinators of the integration, testing, and release of this implementation of the internationalization facilities are Nobuyuki Tanaka Sony and Makoto Wakamatsu Sony. X display servers run on computers with either monochrome or color bitmap display hardware. The server distributes user input to and accepts output requests from various client programs located either on the same machine or elsewhere in the network. Xlib is a C subroutine library that application programs clients use to interface with the window system by means of a stream connection.
Although a client usually runs on the same machine as the X server it is talking to, this need not be the case. Rather, it provides a detailed description of each function in the library as well as a discussion of the related background information. Other higher-level abstractions for example, those provided by the toolkits for X are built on top of the Xlib library. For further information about these higher-level libraries, see the appropriate toolkit documentation.
Although additional information appears here, the protocol document is the ruling document. Overview of the X Window System.The following are 30 code examples for showing how to use Xlib.
These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example.
You may check out the related API usage on the sidebar. Xor try the search function. More from Xlib. Popen sys. PIPE threading. Thread socket. Event Xlib. EventField Xlib. MotionNotify Xlib. ButtonRelease Xlib. KeyRelease Xlib. ButtonPress Xlib.
AllClients Xlib. FromServer Xlib. Python Xlib. KeyPress Examples The following are 30 code examples for showing how to use Xlib. KeyPress, X. ReplayKeyboard, X. CurrentTime self.
Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. I'm trying to use C and xlib to send a fake keypress event to the window with focus, here's my code:. I'm trying to keep the code as simple as possible, I want to send the letter A to the active window I think I'm doing something wrong though. Besides the obvious no error-checkingperhaps looking at how others solve the problem would give some hints:. I got it.
I am not sure if this is the right way to do it, but it gets the job done. A key release before the keypress fixed everything.
Learn more. Asked 5 years, 4 months ago. Active 6 months ago. Viewed 6k times.
10.7 Input Focus Events
Adel Ahmed Adel Ahmed 5 5 silver badges 21 21 bronze badges. Active Oldest Votes. Thomas Dickey Thomas Dickey It works. Other links dead. Where is hello being used? Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Ben answers his first question on Stack Overflow. The Overflow Bugs vs. Featured on Meta. Responding to the Lavender Letter and commitments moving forward.
10.13.1 ClientMessage Events
Welcome to LinuxQuestions. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free. I am new to linux and xlib and would appreciate some advice regarding how to avoid BadWindow Errors during a XQueryTree function call. Here's the issue This works fine for normal FocusIn event scenarios. However, it appears that while I am looping through trying to determine who the eldest parent window is, the DestroyEvent starts to occur and causes my XQueryTree to error out.
I was expecting the DestroyEvent to come in first, but maybe it does have to come into Focus before it is actually deleted when clicking on the right upper corner "X" button. What would be the best way to handle this? I am running on Fedora Thanks, Larry. Well, as it turns out I was able to use XSetErrorHandler to recover from the described error condition.
Too bad XQueryTree isn't a little more resilient, especially since windows can come and go at anytime. Thread Tools. BB code is On. Smilies are On. All times are GMT The time now is AM. Twitter: linuxquestions. Open Source Consulting Domain Registration. Search Blogs.
Mark Forums Read. User Name. Remember Me? Linux - Newbie This Linux forum is for members that are new to Linux.This section provides definitions for terms and concepts used for internationalized text input and a brief overview of the intended use of the mechanisms provided by Xlib. A large number of languages in the world use alphabets consisting of a small set of symbols letters to form words.
To enter text into a computer in an alphabetic language, a user usually has a keyboard on which there are key symbols corresponding to the alphabet. Sometimes, a few characters of an alphabetic language are missing on the keyboard. Many computer users who speak a Latin-alphabet-based language only have an English-based keyboard.
They need to press a combination of keystrokes to enter a character that does not exist directly on the keyboard. A number of algorithms have been developed for entering such characters, known as European input methods, the compose input method, or the dead-keys input method. Japanese is an example of a language with a phonetic symbol set, where each symbol represents a specific sound.
There are two phonetic symbol sets in Japanese: Katakana and Hiragana. In general, Katakana is used for words that are of foreign origin, and Hiragana for writing native Japanese words. Collectively, the two systems are called Kana. Hiragana consists of 83 characters; Katakana, 86 characters.
Korean also has a phonetic symbol set, called Hangul. Each of the 24 basic phonetic symbols 14 consonants and 10 vowels represent a specific sound. A syllable is composed of two or three parts: the initial consonants, the vowels, and the optional last consonants. With Hangul, syllables can be treated as the basic units on which text processing is done. For example, a delete operation may work on a phonetic symbol or a syllable.Xlib Programming in C and Linux Tutorial #01 - Creating a Window
Korean code sets include several thousands of these syllables. A user types the phonetic symbols that make up the syllables of the words to be entered.
The display may change as each phonetic symbol is entered. For example, when the second phonetic symbol of a syllable is entered, the first phonetic symbol may change its shape and size. Likewise, when the third phonetic symbol is entered, the first two phonetic symbols may change their shape and size.
Not all languages rely solely on alphabetic or phonetic systems. Some languages, including Japanese and Korean, employ an ideographic writing system. In an ideographic system, rather than taking a small set of symbols and combining them in different ways to create words, each word consists of one unique symbol or, occasionally, several symbols.
The number of symbols may be very large: approximately 50, have been identified in Hanzithe Chinese ideographic system. There are two major aspects of ideographic systems for their computer usage. First, the standard computer character sets in Japan, China, and Korea include roughly 8, characters, while sets in Taiwan have between 15, and 30, characters, which make it necessary to use more than one byte to represent a character. Second, it is obviously impractical to have a keyboard that includes all of a given language's ideographic symbols.
Therefore a mechanism is required for entering characters so that a keyboard with a reasonable number of keys can be used. Those input methods are usually based on phonetics, but there are also methods based on the graphical properties of characters. In Japan, both Kana and Kanji are used. In Korea, Hangul and sometimes Hanja are used.
Now, consider entering ideographs in Japan, Korea, China, and Taiwan. In Japan, either Kana or English characters are entered and a region is selected sometimes automatically for conversion to Kanji. Several Kanji characters can have the same phonetic representation.You can also find here poker player profiles, tournament poker results, poker rules, poker strategy articles, poker magazines, poker tools and poker training resources.
Ever wonder who is the best poker player in the world. Check out our Poker Player of the Year race, as well as years of data of poker player results and casino poker tournament pay-outs.
Congress odds from PredictIt, the rest from Betfair Chance of winning. Alabama Senate 2017Election day is Dec 12, 2017Note: this race's odds are from betting site PredictIt. Note: this race's odds are from betting site PredictIt. These bets are for whether Trump leaves office early -- for ANY reason except assasination. In case of assassination, the betting is cancelled.
Discover midnight movie origins A murder mystery set in the world of illegal teenage gambling. A 17-year old must find his best friends' killer before the game is exposed. Desson remembers debts that Barry owed and begins to think that his friend didn't kill himself but was murdered and has a few suspects in mind.
He joins in an underground poker game to try and flush out the murderer. This is a movie that had a really good premise and I had pretty high expectations for it.
Subscribe to RSS
I know it was another B movie but I was actually interested in seeing how they pulled it off. The first half hour was pretty entertaining but then it slowly started to drag and was hard to stay interested in toward the end. The idea and plot is almost nothing like what I expected. The general idea was there but I was expecting something different then what this was.
I know it seems like I'm repeating myself but I was really disappointed by this movie. Overall, it was OK but I was expecting more of a thriller mystery I guess.
I give it a B. Each week, Sal offers up odds analysis as well as his best bets, and brings on celebrities, Vegas experts, and his pack of degenerate friends, who are shameless about discussing their latest wins and losses (mostly losses).
Your current browser isn't compatible with SoundCloud. Please download one of our supported browsers. Something went wrong Is your network connection unstable or browser outdated. These are all predictions on the type of bet 1x2 of football's matches of today. You can access other types of bets by clicking in the appropriate boxes. Goals: both teams score at least one goal --- home score: Score at least one goal the home team --- away score: Score at least one goal the away team Calendar matches December 2017TodayNext googletag.
PLEASE ADMIN HOW CAN I HAVE BETSLIP OF TODAY Read more. Hello sir I need nice selection of 100 odd Read more. Please bettingclosed, i need 15 sure odds twice. San Luis Quillot - Audax Italianox2 googletag.Kate, United Kingdom Iceland Full Circle, August 2014 Just completed our Round the Iceland trip yesterday.
Diana, Canada South Iceland at Leisure, August 2014 We did the South Iceland Leisure Self-Drive Package. Natsomekh, Israel Scenic Circle of Scandinavia, July 2014 to choose "Nordic visitor" was the best choice. We had 2 wonder fulls weeks. The hotels were very comfortable and in a very good location. All the organisation was good.
For any question I always had quickly answer. We didn't have to care about nothing except the flights. It was a pleasure visit Scandinavia with Nordic visitor Cornelis, Canada Iceland Complete, July 2014 Arranged a self drive tour of Iceland through Nordic Visitor (Iceland Complete Tour).
William, United States Nordic Odyssey, July 2014 We were very pleased with the quality and location of our accommodations. Annemarie, Switzerland The Classic Fjords Route, July 2014 I travel a great deal, all over the world (4-5 times abroad per year for holidays). Graham, United States Iceland Complete, July 2014 I have never used a travel service company before.
Denis, Malta Iceland Full Circle, July 2014 The help that Nordic Visitor gave helped us to make this trip wonderful and relaxing experience.
Chua Yean, Singapore Express Iceland, July 2014 Am very impressed by the prompt and detailed replies from Sigfus and his arrangements. Erin, Canada Iceland Full Circle, June 2014 Booking with Nordic Visitor took out a lot of the stress with traveling, such as booking hotels and which routes to take. CourtneyUnited States Romance Around Iceland, June 2014 Our agent, Larus, was extremely helpful and quick to answer questions.
Mark, Australia Golden Circle and South Coast, June 2014 We recently spent a week in Iceland based in Reykjavik, including a three day self drive tour along the South coast fully arranged by the Nordic Visitor centre.
Prashant, United Arab Emirates The Natural Wonders of Iceland, June 2014 We had taken 9 days group tour as a part our 25th Wedding anniversary celebration.
Susan, Australia Nordic Odyssey, May 2014 Everything was perfectly organised and the entire trip went off without a hitch. Allison, Canada Express Iceland, May 2014 Hafdis really understood what we were looking for, and booked our accommodations perfectly. Rodger, Australia Iceland Grand Tour, May 2014 I would like to congratulate you on the very comprehensive information you sent us prior to the tour.
Brian and Coleen, Canada Iceland Full Circle - Winter, April 2014 Our trip around Iceland was one of the best "adventures" we have ever undertaken and we owe this fantastic experience to Nordic Visitor and specifically our travel agent Hilmar.
Meg, Australia Snow Hotel Adventure Break, April 2014 We had an amazing time in Kirkenes. Melvina, United Kingdom Northern Lights City Break, March 2014 We really enjoyed our stay. Mike, United Kingdom Iceland Full Circle - Winter, March 2014 Overall experience was excellent, we travelled as a couple to celebrate my 50th birthday and everything went to plan with no problems.