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

R.Wieser wrote:

> Lew,
>
>> Nope. They need a framework.
>
> Yes, *every* OS does.
>
> The question now is if I need to add it, or if its already delivered as
> part of the OS.

Neither.

It is not part of the OS; it is part of the optional userspace programs and
libraries that you may choose to install or not, at your convenience.

/You/ don't need to add it. You have already chose to install it, when you
chose the GUI environment you use. Clearly, you already have it; LXPanel
uses it.

> And if its already delivered as part of the OS,

I get a glimmer - for "OS", you mean "whatever distribution of kernel and
userspace software I have installed". To me (and to many here), "OS" means
"kernel".

> how do I determine which one is/ones are installed,

That will depend on your "OS". Look for the package manager tool (if you
have one), and query it.

> and which one of them is activily used

FWIW, they /all/ might be "actively used". But, at least you know that GTK+
/is/ actively used.


> (I assume its not a good idea to just use several at the same time
> - if only to keep a consistant look-and-feel theme wise)

Consistency issues aside, there is no reason /not/ to have applications that
use different GUI toolkits/frameworks.

> And than going back to my origional question:
>
> "How to write a dialog in C for RP3 running LXPanel 0.9.3 ?"

Pick a toolkit. Read it's API and HOWTO documentation. Follow it's example
programs. Write your dialog. Any more detail will depend on what, exactly,
you want to do, and which toolkit you select.

> ... and forgive me the superfluous/non-relevant info in the above please.
>
> By the way, I found many folders with GTK and QT in its name, just one
> gtkcompat.h file, and quite a few qtgl*.h (GL -> 3D graphics?) ones.

Sorry, but I can't make any suggestions here. Perhaps someone else can help.

--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request

--- 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™.