logo       

Balloon Support for HList: msg#00022

Subject: Balloon Support for HList
Please accept this HList.pm patch to allow balloons to be attached to HList
entries (as requested a few weeks back on c.l.p.t. )

http://groups.google.ca/groups?selm=304c0f8888a90dc7b0ad957902f1342a%40local
host.talkaboutprogramming.com

The sub is very similar to the BalloonInfo sub for Tk::Canvas (ala Mr.
Rezic). A hash is used for an HList as well - but instead of canvas "items"
as the keys - the "entrypaths" are used for the HList.

While doing this - I think I found a bug with the info('bbox') method. It
doesn't seem to take into account any headers which may be showing. I worked
around this in the code by checking for a header in the zeroeth column and
using it's height to adjust the y pixels.

There are two attachments - one is the patch. The other is a test script
blatently hacked from the widget demo to show the balloons. If this is
accepted - then an HList should be added to the Balloon demonstration.

Jack

Attachment: Hlist.diff
Description: Binary data

Attachment: testbal.pl
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe