Solved

Visual separator in Perl Tkx

Posted on 2010-08-14
1
837 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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Run command in each subfolder using batch file 7 69
html form to write data to csv 24 136
Command prompt output to variable? 9 59
List all Printers with anmes and Ip address 3 31
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
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 while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

830 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