473,835 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Xlib in Python? I need XDrawString()

All I really want is to write a few strings to the background of my X
display. XDrawString() is what I need. The Xlib for Python shows it's out
dated. Is there any alternative?

Jul 18 '05 #1
2 1975
python-xlib may not see any development, but I used it recently with python 2.2
or 2.3, and don't remember any particular problems doing so.

you may want to give it a try, instead of dismissing it out of hand.

Jeff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCISQ5Jd0 1MZaTXX0RAowXAJ 0RzFoJQXtoodLdU UbcTs6VnnwQ1wCe KTBK
lcT5WpejT4Ru7vi Jq//WqqA=
=Ztde
-----END PGP SIGNATURE-----

Jul 18 '05 #2
Artificial Life <ph*****@yahoo. com> writes:
All I really want is to write a few strings to the background of my X
display. XDrawString() is what I need. The Xlib for Python shows it's out
dated. Is there any alternative?


If you're referring to <URL:
http://sourceforge.net/projects/python-xlib >, what makes you think
it's outdated? Development on a package sometimes stops when it
reaches a state that the authors are happy with - which is what's
happened here. It works just fine. If not, the authors can be reached
about bug fixes, etc.

<mike
--
Mike Meyer <mw*@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1415
by: Jp Calderone | last post by:
Does anyone know of a high-level interface (something approximately on par with the level of the other common GUI toolkits) for python-xlib? Is anyone working on one? Jp -- "Pascal is Pascal is Pascal is dog meat." -- M. Devine and P. Larson, Computer Science 340
0
1843
by: Ed Suominen | last post by:
I am a fairly experienced TCL programmer considering a move to Python for my next project. The project will receive text via TCP from a Windows box running speech recognition software and send corresponding keystroke sequences to the window with the current mouse pointer. I've been playing with the Python-xlib package and it looks promising. Could anyone provide some guidance on how to generate X KeyPress events to the current window...
0
1004
by: Mike Meyer | last post by:
Has anyone had any luck getting plwm (the X window manager framework written in Python) working on OS X? How about python-xlib, which plwm depends on? Thanks, <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
0
1909
by: Ferry Boender | last post by:
Hi, I'm relatively new to Xlib programming, and I ran into a little problem. I'm trying to insert keypress events into a X window. The following code works: --8<------------------------------------------------------------ #!/usr/bin/python
1
4086
by: giovanni.iovino | last post by:
Hi, sorry for my English. I'm writing my first python script for Linux for a remote bluetooth application. I'm using python-xlib library to send keyboard and mouse events and at the moment I can send keyboard emulated input to the window where pointer is on, i can also move the pointer over the desktop. I'm using python 2.5 on a Ubuntu 7.10 system with gnome and compiz
1
4519
by: bimbam | last post by:
Hi, I'm trying to use the Xlib library to detect a mouse button event in C. I'm using linux. I want to run a loop and exit this loop when a mouse button is pressed. It seems possible to me to wait for an event to happen but it it possible to compute something else while we're waiting? I thought of something like : do { ... } while !(buttonstate1==pressed)
2
3391
by: Dariusz.Donimirski | last post by:
I must rotate bmp using Xlib without change bmp's memory. If someone knows how I can do this, please help me. dariusz sorry about my english, I'm still learning
0
9653
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10524
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10562
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10236
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9348
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7768
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5639
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4434
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.