TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: ALISTER
date: 2017-11-21 11:33:00
subject: Re: How to write a dialog

On Mon, 20 Nov 2017 21:43:43 +0100, R.Wieser wrote:

> Eli,
>
>> The framework provides a lot of the tedious code already done for you.
>>
>> When you draw a window on the screen, [snip]
>
> Hmm ...  And than how do the programs currently present on RP draw their
> windows and buttons -- without such a framework already being present
> (as I seem to need to download and install it before being able to do
> anything) ?
> I don't think each program will carry its own
> draw-a-button-one-pixel-at-a-time -code, do you ?

there will already be at least 1 framework installed which is used by the
DE/DM in use
IIRC LXDE as used by the py uses the GTK framework
>
> But granted, a framework might take some tedious work outof a
> programmers (my) hands.  But I do not think for a minute that that
> framework is responsible for low-level stuff like drawing and handling a
> window and/or button.
Tat is Exactly what it Does
>
> ... unless that framework wishes to create its *own* style of windows
> and other controls.   But than the question remains: where are the
> standard/origional controls kept.
There are no standard/original controls as you think of the term
Linux is not a grapical operating system the GUI is a program running on
top of the OS (to the user this is not visible) & gives various advantages

>
>> Use the Xt interface for a very basic way in.
>
> One vote for GTX, and now yours for Xt.  Pros and cons ?
>
>> It's a strange world down there.
>
> :-) Tell me about it.  My preferred language is Assembly, and I've
> disassembled enough programs to amaze myself about whats going on below
> the surface.
>
> Regards,
> Rudy Wieser





--
You canna change the laws of physics, Captain; I've got to have thirty
minutes!

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.