Actually the problem I'm having with Motif is getting the managing, mapping and realizing right.
This version is working as far as it goes in realizing etc. I start a window, put on a notebook, the a rowcol, then a drawingarea at the top. The drawing area should be about the top 1/3 of the rowcol. But nothing shows as long as it's empty, so I wanted to draw a line from upper left to lower right. Except only the beginning showed. So I tried putting a border around the area, then drawing vertical lines every 10 pixels. Only about the top 10-15 pixels shows of whatever I draw. The small white vertical lines should go from y=5 to y=160 (pixels). Some times when I bring it up I can see compete lines for a fraction of a second. I don't want to get in the position of learning a method of doing this only to find it's not fast/efficient enough and have to learn another. The 2nd picture is a spectrum drawn with just bare xlib. I typically plot 2048 or 4096 points about 10 times a second. Plus an FFT and later demodulating to produce (and play) audio in other threads. I start with 2 million 8 bit data points per second and decimate those down. That's why I was initially looking for a widget that could do video or give me a framebuffer area to draw into. And I'm trying to keep the CPU usage as low as possible to run on Raspberry Pi 3 computers. On 10/26/17, xorg-requ...@lists.x.org <xorg-requ...@lists.x.org> wrote: > Send xorg mailing list submissions to > xorg@lists.x.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.x.org/mailman/listinfo/xorg > or, via email, send a message with subject or body 'help' to > xorg-requ...@lists.x.org > > You can reach the person managing the list at > xorg-ow...@lists.x.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of xorg digest..." > > > Today's Topics: > > 1. Re: forum for Motif, XLib, etc. programming enthusiasts? > (walter harms) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 25 Oct 2017 17:19:31 +0200 > From: walter harms <wha...@bfs.de> > To: xorg@lists.x.org > Subject: Re: forum for Motif, XLib, etc. programming enthusiasts? > Message-ID: <59f0ab83.60...@bfs.de> > Content-Type: text/plain; charset=UTF-8 > > > > Am 25.10.2017 01:20, schrieb Alan Corey: >> Yes, I've played in Glade a little, wasn't crazy about it. And GTK3 >> looks awful, just the amount of text for a hello world program. >> >> I wanted to use Motif but support for it is vanishing it seems. >> Athena, I hate the scrollbars. What I want to work at is an SDR >> (Software Defined Radio) program so the more efficiently it can update >> the spectrum area the better. It's almost like video, people use 2 - >> 30 frames per second, meanwhile getting data in over USB and doing an >> FFT on it, plus demodulating in different threads. In real time. >> >> I'm not seeing a widget in GTK that draws that efficiently. QT can do >> it, or Java Swing, or even just plain old bare XLIB, except I wanted >> some widgets. I was hoping to use a Motif DrawingArea. There isn't >> room for a lot of bloat between the code and the screen. XDrawLine is >> fast enough. > > sorry, no DrawingArea is very comparable slow. > Compared to others XT is surprisingly effectiv. I do a lot remote stuff > and software is often only usable only with helps like NX while older > Programms often need nothing additional. NTL i found the most effective > way in XT is to make widget, what requires some work in the beginning > but after that things getting more easy. > > Contact me if you are interested in Motif and so on. > > re, > wh >> >> There's a qtcsdr https://github.com/ha7ilm/qtcsdr/archive/master.zip >> which isn't bad as far as it goes, written with QT. It runs at 50% >> CPU or so on a Raspberry Pi 3. I'd add a button to turn off screen >> updates so it could run more in the background. Just playing with >> ideas at this point. >> >> On 10/24/17, Hi-Angel <hiangel...@gmail.com> wrote: >>> I am a bit confused if you're talking of modern toolkits, or older >>> ones, or in general. If in general, than this is untrue — QtCreator >>> allows you to design GUI pretty much like Borland Delphi or Visual >>> Studio. For GTK alike thing is Glade — it's not so good as "design" >>> tab in QtCreator by virtue of being a stand alone utility, but >>> otherwise it works in alike fashion. >>> >>> On 24 October 2017 at 23:25, Alan Corey <alan01...@gmail.com> wrote: >>>> Hmm, thank you but http://motif.ics.com/forum is now read-only. As is >>>> http://www.motifdeveloper.com/. I wanted to use C, not Lua. >>>> >>>> Maybe I'll have to bite the bullet and learn QT. I have this theory >>>> that part of the reason there's so little modern software for Unix in >>>> general is because there aren't tools like Borland Delphi to write it >>>> with. Yes, I've tried Lazarus and thought it was a hodgepodge of >>>> patches with the documentation a worse hodgepodge. I have little >>>> problem writing command line stuff but making any GUI work is like a >>>> holy grail. Maybe Java Swing then it's portable. I was enjoying the >>>> retro aspect though. >>>> >>>> On 10/24/17, Matthieu Herrb <matth...@herrb.eu> wrote: >>>>> On Tue, Oct 24, 2017 at 12:45:27PM -0400, Alan Corey wrote: >>>>>> I like playing around with the old stuff, because to me it seems >>>>>> simpler and more efficient than GTK3 or QT. When it works. I'm still >>>>>> trying to wrap my brain around mapping, managing, realizing widgets in >>>>>> the right order. >>>>>> >>>>>> I started out, put a notebook into a window, then a rowcol onto a page >>>>>> of it, then a drawing area in the top of that. When I try to draw to >>>>>> it whatever I draw is clipped to about the top 10 pixels. Why? That >>>>>> sort of stuff. Yes, I've got copies of vol6a, etc, the original >>>>>> O'Reily books. If I spent a couple years reading I could probably >>>>>> find the answer but I'd forget my question. Is there a forum of Motif >>>>>> freaks? >>>>>> >>>>> >>>>> The motif zone is still online : http://motif.ics.com/ >>>>> and you may want to have a look at https://github.com/arcapos/luamotif >>>>> -- >>>>> Matthieu Herrb >>>>> >>>> >>>> >>>> -- >>>> ------------- >>>> No, I won't call it "climate change", do you have a "reality problem"? >>>> - >>>> AB1JX >>>> Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach >>>> _______________________________________________ >>>> xorg@lists.x.org: X.Org support >>>> Archives: http://lists.freedesktop.org/archives/xorg >>>> Info: https://lists.x.org/mailman/listinfo/xorg >>>> Your subscription address: %(user_address)s >>> >> >> > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > xorg mailing list > xorg@lists.x.org > https://lists.x.org/mailman/listinfo/xorg > > ------------------------------ > > End of xorg Digest, Vol 147, Issue 21 > ************************************* > -- ------------- No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach
_______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s