473,395 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

wxPython OGL: How make LineShape text b/g transparent?

(Having problems receiving wxPython mailing list entries, so I'll ask here.)

I'm using wxPython 2.5.4, windows ansi version, on Python 2.4, the OS in
Win98SE. My application manipulates a graph, with CircleShapes for nodes and
LineShapes for arcs. The user needs to be able to get and set text on a arc.
When I use LineShape.AddText(), a large rectangle of background colour
blocks out much of the line, crucially including the arrow at the midpoint.

How I can I make the text b/g transparent so the lines can be seen, and
further is it possible programmatically to displace the text such that the
arrow is not covered?

Thanks

John
Jul 19 '05 #1
0 1354

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

Similar topics

15
by: Grant Edwards | last post by:
Can anybody recommend a good book on wxPython? Are there any books on wxPython? I've been trying to learn wxPython and/or wax for a few weeks, and I'm just not getting it. wxWindows seems...
25
by: BJörn Lindqvist | last post by:
See: http://www.wxpython.org/quotes.php. especially: "wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard...
7
by: PD | last post by:
Hi Everyone, I am sort of a new developer to python and working in an academic environment. I climbed the learning curve on wxPython far enough to get the functionality I want out of it so...
1
by: timothy.williams | last post by:
I'm trying to install wxPython 2.5.3.1 using Python 2.3.2 on a Fedora 2 machine. I have python in a non-standard place, but I'm using --prefix with the configure script to point to where I have...
10
by: Mario | last post by:
Hello all, I'm trying hard to make possible to print some simple text from python to the default printer using wxPython, after days of internet searches I found this page:...
5
by: cravephi | last post by:
I would like to make a software like simulink: http://www.mathworks.com/cmsimages/sl_mainpage_wl_7488.gif using python. In order of bulding the interface (drag&drop block, link system between...
0
by: Andrzej | last post by:
Hi! I'm writing a simple digital circuit simulator in order to familirise with (wx)python. I thought it would be an easy task with help from ogl lib. After a not so brief encounter with wx specs...
2
by: BjornB | last post by:
Hi! I wonder if OGL supports laying out the objects drawn in a nice way, or do I have to specify the (x,y) of all objects myself? I woulld like to draw a "tree graph": O / \ o o ...
5
by: wildjack | last post by:
Hi everybody, I am developing a little graph editor using python 2.5 and wx 2.8. Whenever I try to add text to a line shape I get a big rectangle on the background which covers the shapes. Is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...
0
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...

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.