forum for Motif, XLib, etc. programming enthusiasts?

Henrik Pauli henrik.pauli at uhusystems.com
Wed Oct 25 08:59:46 UTC 2017


GTK most certainly has a blank widget, just like all the other 
toolkits.  Don't forget, it started as the GIMP Toolkit, and that 
required a lot of custom widgets.

Look at https://developer.gnome.org/gtk3/3.12/GtkDrawingArea.html


On 25/10/17 01:20, Alan Corey wrote:
> 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.
>
> 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 <hiangel999 at 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 <alan01346 at 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 <matthieu at 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 at 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
>



More information about the xorg mailing list