D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] GTK2 programming

 

Neil Williams wrote:
> On Thu, 2008-04-10 at 15:02 +0100, Robin Cornelius wrote:
>>>  Any good book recommendations on gdk2 ?
> 
> Gtk+ or GDK ?

it could be anything at the moment :-), went around a few hoops with Tk,
Qt so everything still up for grabs.

> 
> TBH I use only:
> dwww or devhelp (plugins available for some IDEs),
> the relevant -doc packages and
> source from something similar.

Probably a good idea, i tend to just use a syntax highlighting editor
and have reference web pages on my other monitor.

> 
> I did have the advantage that Glade had a "generate source" method in
> the old version but that has since been removed (generating code is seen
> as not a good thing in general).
> 
> Feel free to look at the source of simple Gtk apps like gpe-expenses,
> deb-gview or a calculator or similar.

Yes i will do, i'm developing on debian so i don't even have to *think*
to retrieve the source ;-)

> 
>> On a side note, anybody tried any touch screen LCD's, looking for
>> something that's slightly industrial. My application is *screaming*
>> for a touch screen. (and linux compatibility is a *must*)
> 
> tslib and xorg-xserver-tslib - v.v.v.v. new and although now in Lenny, I
> haven't had time to really play with them yet. My advice would be to
> stick to Gtk+ signals and callbacks and let the rest of the system take
> care of whether the "click" is coming from a mouse or is actually a
> "tap" on a touchscreen somewhere. Your application shouldn't need to
> care because it should deploy the same code for mouse and for
> touchscreen support. That is how GPE does it and it does work.

I was hoping it may appears as a mouse device, so its just a case of
configuring it then dropping buttons where i want touch inputs. Nice and
simple.

> 
> As for hardware, I've only got existing hardware (iPAQ) or a bespoke
> touchscreen added to my balloon3 development board. I'm not that good on
> hardware - if you ask on debian-embedded then I'm sure someone will be
> able to point you in the direction of a supplier. The main criterion is:
> Are you expecting taps to come from a delicate stylus or a chunky
> finger?

Chunky finger all the way on this app. Probably 17" LCD touchscreen so
thinks like a number pad will be most of a screen. I'll probably run in
full screen mode all the time and the app will be set to auto start at
power on. The system is a 800Mhz micro atx. so there is no issue getting
any software to run that i want, no complicated cross compiles or
anything like that.

I want to loose the keyboard an mouse, the last thing you want in a
production environment is a keyboard hanging of the equipment when it is
just not necessary and a well designed (haha thats my job) interface
will make the equipment much easier to use. I want the minimum number of
thinks to see or touch.

Thanks

Robin


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html