Solved

Visual separator in Perl Tkx

Posted on 2010-08-14
1
827 Views
Last Modified: 2013-11-22
I have created a table in Perl/Tkx which looks about like this:

Geographic extent            
-----------------------------------
Xmin    Xmax    Ymin    Ymax
-------  --------  --------  -------
57.00   78.00    24.00   45.00

The text strings (i.e. "Geographic extent") are straightforwrd and can
be created via the label widget (new_ttk__label).  My problem is with
the dividers in my table.  I resorted to using dashes ("---") and the
label widget, but I was hoping for something more modern.  Is there a
simple way to draw a thin black line?  I tried the separator widget
(new_ttk__separator) but that draws a white line while I need a black
line.

Note that Perl/Tk is passe', my application is in Perl/Tkx.

I'm developing on a Mac, if that makes any difference.
0
Comment
Question by:DBA-dude
1 Comment
 

Accepted Solution

by:
DBA-dude earned 0 total points
ID: 33489493
My solution was to create a separator widget then place that widget in a frame with a 1-pixel border.  It looks quite nice.  
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now