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

R.Wieser wrote:

> Hello all,
>
> Last week I obtained a RP3 (running LXPanel 0.9.3), and would now like to
> write my first linux-based dialog/window for it*, using C (or C++).
>
> *I've been writing dialog-based programs on windows for some time now,
> though not in C(something).
>
> I've been googeling for some time, but can't seem to find a site clearly
> describing what needs to be done together with a reasoning for it.  As
> such I get the feeling I willl mistakingly take the wrong path (for
> instance, I have no intention in installing another window manager).
>
> tl;dr:
> Does somebody know of a site and/or example code outlining how to write a
> dialog/window on RP3 running LXPanel 0.9.3 ?

LXPanel uses the GTK+ GUI toolkit[1], so I'd recommend writing your code to
use GTK+[2]. Read the API documentation and Howto Guide[3] to see what you
need to do.

HTH


[1] http://www.linuxfromscratch.org/blfs/view/svn/lxde/lxpanel.html
    "lxpanel is a lightweight GTK+ based panel for the LXDE Desktop."

[2] https://www.gtk.org/

[3] https://developer.gnome.org/gtk3/stable/


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