Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8831695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:22:06+00:00 2026-06-14T08:22:06+00:00

I have a program with a pretty complex number-crunching logic and quite a few

  • 0

I have a program with a pretty complex number-crunching logic and quite a few configuration parameters. The program is (almost) non-interactive and is configured via command-line arguments and configuration files.

I have been asked to add GUI to this program. Naturally, this GUI has to contain a configuration screen (tab, whatever) with all the required parameters. I have never done any serious GUI before in my life, so I’m not sure how to approach this task.

Of course, it is possible to load a configuration file and create the required widgets. However, using this approach the widget labels will be “technical and not informative”. I’m looking for a way to store human-readable parameter names, as well as tooltip brings only a minimal additional burden for maintenance of the parameters, labels and tooltip text. Is storing this information withing the default configuration file using a self-made format a good approach?

FWIW I’m writing the GUI in wxPython and my configuration files are ConfigObj files. The program will be used by my team mates, so malicious user scenario is not considered.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:22:07+00:00Added an answer on June 14, 2026 at 8:22 am

    The usual approach uses several parts.

    First, you have the code that builds the UI. This reads a file with the texts for all the labels and buttons and tooltips and puts them in the right place.

    The second part is code which reads and writes the config file. You want to use technical keys in the config file (= readable only for some humans) to avoid problems when new languages are added to the UI (you don’t want the config keys to change when someone translates the UI to German).

    So each UI element will have an technical ID. In the config for the texts, you will use ID.label and ID.tooltip. In the “real” config (a.k.a preferences), you will use the ID to map the selected value to the UI element.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been writing a program that is quite complex compared to what I
Interview question- Often its pretty easier to debug a program once you have trouble
I have program that runs fast enough. I want to see the number of
I have a program that runs a large number of regular expressions (10+) on
I have a C# program that fails pretty consistently. That's ok, I've created the
I have a program that is getting pretty big and it is a pain
I am writing a fairly large and complex data analysis program and I have
I'm looking for a freeware program that is pretty much BusinessObjects. We have 1
I have spent the last few months working on a program in MATLAB. As
Hopefully there is a pretty easy solution to this. I have a program where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.