Re: UI tinkering tips?

María Scappini <[email protected]> Mon, 24 Nov 2025 18:59:29 -0300
Newsgroups gmane.comp.gnu.medical.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------DH6GdBUWcq1pQpUpA0Zb0m71
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hello, Karsten!

On 11/20/25 14:39, Karsten Hilbert wrote:

> I so did and it did work for me. I therefore suspect that
> the theme of your window manager / desktop environment ist
> configure to always force notebook tabs to the bottom of a
> notebook.

Yes! Something like that!

Turns out I had three copies of the same "decompresssion" of the .zip file of the latest
version, meaning that the syslinks all pointed to the same original decompression... and
that one didn't have gmHorstSpace.py modified. Now with that modified, tabs are above no
problem :) Thanks for the feedback!

> It should probably be called peculiar rather then finicky. I
> suppose if things are done "right" it will do what one
> desires. I'd only call it finicky if there would not be a
> Right Way. However, I do not have sufficient mastery of
> wxPython to tell one way or the other.

I have made it my purpose to understand wxPython better, have started writing a very simple
dummy program with wxPython to practice and learn. Should have more knowledge once I get
further along!

> Not quite sure which aspect thereof ?
>
> The programmed-to-be-configured parts or the hardcoded bits
> (the general concept of GNUmed's UI) ?

The hardcoded bits mostly! For example, how would one build the UI of a new plugin. Or if I
were to "clone" one of the plugins to tinker with.

Since asking the question, and specially just now that the modification of the tab position
worked, I have been able to glean that:
- plugins' "backends" and almost all the formatting are at wxPython folder
- those same plugins' GUI and the .py from where they are actually called are at wxPython/gui

It seems this is correct? For sure will be testing and tinkering, learning how things work.

Best regards,
María


--------------DH6GdBUWcq1pQpUpA0Zb0m71
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <pre>Hello, Karsten!</pre>
    <div class="moz-cite-prefix">
      <pre>On 11/20/25 14:39, Karsten Hilbert wrote:<span
      style="white-space: pre-wrap">
</span></pre>
      <span style="white-space: pre-wrap">
</span></div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">I so did and it did work for me. I therefore suspect that
the theme of your window manager / desktop environment ist
configure to always force notebook tabs to the bottom of a
notebook.
</pre>
    </blockquote>
    <pre>Yes! Something like that!

Turns out I had three copies of the same "decompresssion" of the .zip file of the latest
version, meaning that the syslinks all pointed to the same original decompression... and
that one didn't have gmHorstSpace.py modified. Now with that modified, tabs are above no
problem :) Thanks for the feedback!

</pre>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">It should probably be called peculiar rather then finicky. I
suppose if things are done "right" it will do what one
desires. I'd only call it finicky if there would not be a
Right Way. However, I do not have sufficient mastery of
wxPython to tell one way or the other.
</pre>
    </blockquote>
    <pre>I have made it my purpose to understand wxPython better, have started writing a very simple
dummy program with wxPython to practice and learn. Should have more knowledge once I get
further along!

</pre>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">Not quite sure which aspect thereof ?

The programmed-to-be-configured parts or the hardcoded bits
(the general concept of GNUmed's UI) ?</pre>
    </blockquote>
    <pre>The hardcoded bits mostly! For example, how would one build the UI of a new plugin. Or if I
were to "clone" one of the plugins to tinker with.

Since asking the question, and specially just now that the modification of the tab position
worked, I have been able to glean that:
- plugins' "backends" and almost all the formatting are at wxPython folder
- those same plugins' GUI and the .py from where they are actually called are at wxPython/gui

It seems this is correct? For sure will be testing and tinkering, learning how things work.

Best regards,
María


</pre>
  </body>
</html>

--------------DH6GdBUWcq1pQpUpA0Zb0m71--