Re: How to catch touch screen signal??



Hi Sarath,

I hope you have touch-screen driver, where you can catch the sensor signal.
The only thing you have to do is, read the x-y location according to your
buttons in the screen, route sensor signals to the button click signal.

Correct me if anything wrong.

Reagrds,
Saroj

On 7/20/07, gtk-app-devel-list-request gnome org <
gtk-app-devel-list-request gnome org> wrote:

Send gtk-app-devel-list mailing list submissions to
        gtk-app-devel-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
or, via email, send a message with subject or body 'help' to
        gtk-app-devel-list-request gnome org

You can reach the person managing the list at
        gtk-app-devel-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-app-devel-list digest..."


Today's Topics:

   1. Help required : How to enable touch screen mode, using gtk2.0
      (sharath jagannath)
   2. Re: Graphing widget (oscilloscope-like)? (Jon Harrop)
   3. How to catch touch screen signal?? (Sharath Jagannath)
   4. glade_xml_signal_autoconnect cannot find functions NOT in
      shared    libs? (david hagood gmail com)
   5. Re: How to catch touch screen signal?? (Jonathan Winterflood)
   6. Re: glade_xml_signal_autoconnect cannot find functions NOT in
      shared  libs? (wallace owen l-3com com)
   7. Re: glade_xml_signal_autoconnect cannot find functions NOT in
      shared  libs? (david hagood gmail com)
   8. Re: glade_xml_signal_autoconnect cannot find functions NOT in
      shared    libs? (Ivan Baldo)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 Jul 2007 23:44:54 +0530
From: "sharath jagannath" <jagannath sharath gmail com>
Subject: Help required : How to enable touch screen mode, using gtk2.0
To: gtk-app-devel-list gnome org
Message-ID:
        <f729b2760707191114r1d2b67ackc5b912cc394a082c mail gmail com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I am writing an application for embedded device having montavista linux
and
using gtk2.0.Can anybody help me in getting gtk working for touchscreen
and
i also need to know how to catch touchscreen events. I am very new to the
gtk.Hope will get reply soon, I need it very badly.

Thanks and Regards,
Sharath


------------------------------

Message: 2
Date: Thu, 19 Jul 2007 01:13:15 +0100
From: Jon Harrop <jon ffconsultancy com>
Subject: Re: Graphing widget (oscilloscope-like)?
To: gtk-app-devel-list gnome org
Message-ID: <200707190113 15465 jon ffconsultancy com>
Content-Type: text/plain;  charset="iso-8859-1"

On Tuesday 17 July 2007 17:27:20 david hagood gmail com wrote:
> (I'm about to use bad language here, be forewarned): the license is
> important, as this will be going into code that is, unfortunately,
> proprietary - as such GPL is out, but LGPL is acceptable.

We have a commercial high-performance hardware accelerated vector graphics
renderer that targets OpenGL and can be used with GTK via gtkglarea:

  http://www.ffconsultancy.com/products/smoke_vector_graphics/?gtk

--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists/?e


------------------------------

Message: 3
Date: Thu, 19 Jul 2007 11:24:57 +0530
From: "Sharath Jagannath" <sharath jagannath ittiam com>
Subject: How to catch touch screen signal??
To: <gtk-app-devel-list gnome org>
Message-ID:
        <89605B15B483E94A93F16647C89C44EA0155428E is01ex02 ittiam com>
Content-Type: text/plain; charset="us-ascii"

Hi,



I am writing an embedded application using GTK+ and have to catch the
touch screen signal, since the device has only touch screen as user I/O
and

also can I use the gtk without mouse or keyboard interface. I am very
new to the gtk, can anybody please help me  :-)



Thanks and regards,

Sharath Jagannath


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
helpdesk ittiam com **********************************************************************



------------------------------

Message: 4
Date: Thu, 19 Jul 2007 15:19:36 -0500 (CDT)
From: david hagood gmail com
Subject: glade_xml_signal_autoconnect cannot find functions NOT in
        shared  libs?
To: gtk-app-devel-list gnome org
Message-ID: <37827 127 0 0 1 1184876376 squirrel localhost>
Content-Type: text/plain;charset=iso-8859-1

I am trying to rough out my first GTK app, and am trying to use
glade_xml_signal_autoconnect to handle hooking up the signals.

I can successfully hook up the signals contained withing libgtk, however,
any attempt to connect functions that are defined within my app fails with
a "libglade-WARNING **: could not find signal handler " message.

I'm guessing the problem is that GModule is not finding any symbols
contained within the executable itself, as opposed to symbols in shared
libraries, but I'd like to confirm this, and get any work-arounds anybody
may have.

The code is C++, with the signal handles marked as 'extern "C"' to a)
insure visibility and b) insure no mangling. They do show up when I do an
"objdump -t" so I know they are actually in the executable.

This is all under Suse Enterprise Desktop 10, using GTK 2.8.10. (yes, I
know it's out of date - one of the myriad of reasons I hate SLED10....)

On a related note: eventually, I'd like to handle signal assignment myself
(I really don't like the idea of a modified .glade file being able to
vector to any exported function, plus I'll eventually be vectoring to C++
functions), so I'd be using glade_xml_signal_autoconnect_full with my own
hook function - but is it possible (or advisable) for me to be able to
call the function that glade_xml_signal_autoconnect uses (I am assuming
that glade_xml_signal_autoconnect calls glade_xml_signal_autoconnect_full
internally)?



------------------------------

Message: 5
Date: Thu, 19 Jul 2007 21:38:22 +0100
From: "Jonathan Winterflood" <jonathan winterflood gmail com>
Subject: Re: How to catch touch screen signal??
To: "Sharath Jagannath" <sharath jagannath ittiam com>
Cc: gtk-app-devel-list gnome org
Message-ID:
        <c4d872350707191338h68a193fn7f56d84043182af0 mail gmail com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

It is extremely likely thet the system will see the touchscreen as a
mouse,
Just try running the GTk example programs (or any program for that matter)
and it shoud _just work_

Jonathan

On 7/19/07, Sharath Jagannath <sharath jagannath ittiam com> wrote:
>
> Hi,
>
>
>
> I am writing an embedded application using GTK+ and have to catch the
> touch screen signal, since the device has only touch screen as user I/O
> and
>
> also can I use the gtk without mouse or keyboard interface. I am very
> new to the gtk, can anybody please help me  :-)
>
>
>
> Thanks and regards,
>
> Sharath Jagannath
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> helpdesk ittiam com > **********************************************************************
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>



--
<Morpheus> linux, c'est une question de VI ou de MORE


------------------------------

Message: 6
Date: Thu, 19 Jul 2007 13:39:34 -0700
From: wallace owen l-3com com
Subject: Re: glade_xml_signal_autoconnect cannot find functions NOT in
        shared  libs?
To: david hagood gmail com
Cc: gtk-app-devel-list gnome org
Message-ID: <1184877574 20214 20 camel owen mi ad local>
Content-Type: text/plain

I remember libglade's FAQ/howto has a clue on this topic: there's a link
option or something that tells the executable to export it's symbols so
they can be seen by the dynamic loader.  I don't remember what it is,
but I remember your symptoms.


  // Wally

On Thu, 2007-07-19 at 15:19 -0500, david hagood gmail com wrote:
> I am trying to rough out my first GTK app, and am trying to use
> glade_xml_signal_autoconnect to handle hooking up the signals.
>
> I can successfully hook up the signals contained withing libgtk,
however,
> any attempt to connect functions that are defined within my app fails
with
> a "libglade-WARNING **: could not find signal handler " message.
>
> I'm guessing the problem is that GModule is not finding any symbols
> contained within the executable itself, as opposed to symbols in shared
> libraries, but I'd like to confirm this, and get any work-arounds
anybody
> may have.
>
> The code is C++, with the signal handles marked as 'extern "C"' to a)
> insure visibility and b) insure no mangling. They do show up when I do
an
> "objdump -t" so I know they are actually in the executable.
>
> This is all under Suse Enterprise Desktop 10, using GTK 2.8.10. (yes, I
> know it's out of date - one of the myriad of reasons I hate SLED10....)
>
> On a related note: eventually, I'd like to handle signal assignment
myself
> (I really don't like the idea of a modified .glade file being able to
> vector to any exported function, plus I'll eventually be vectoring to
C++
> functions), so I'd be using glade_xml_signal_autoconnect_full with my
own
> hook function - but is it possible (or advisable) for me to be able to
> call the function that glade_xml_signal_autoconnect uses (I am assuming
> that glade_xml_signal_autoconnect calls
glade_xml_signal_autoconnect_full
> internally)?
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Wallace Owen L-3Com com
Office: 619.278.2084
Cell:   619.990.2286


------------------------------

Message: 7
Date: Thu, 19 Jul 2007 16:11:32 -0500 (CDT)
From: david hagood gmail com
Subject: Re: glade_xml_signal_autoconnect cannot find functions NOT in
        shared  libs?
To: wallace owen l-3com com
Cc: gtk-app-devel-list gnome org
Message-ID: <59068 127 0 0 1 1184879492 squirrel localhost>
Content-Type: text/plain;charset=iso-8859-1

> I remember libglade's FAQ/howto has a clue on this topic: there's a link
> option or something that tells the executable to export it's symbols so
> they can be seen by the dynamic loader.  I don't remember what it is,
> but I remember your symptoms.
>
>
>   // Wally

Yes, --export-dynamic, which I have added to no avail. My bad for not
detailing that fact in the first message.


------------------------------

Message: 8
Date: Thu, 19 Jul 2007 22:03:04 -0300
From: Ivan Baldo <ibaldo adinet com uy>
Subject: Re: glade_xml_signal_autoconnect cannot find functions NOT in
        shared  libs?
To: david hagood gmail com
Cc: gtk-app-devel-list gnome org
Message-ID: <46A009C8 7050503 adinet com uy>
Content-Type: text/plain; charset=UTF-8; format=flowed

  Hello.

El 19/07/07 17:19, david hagood gmail com escribi?:
> I am trying to rough out my first GTK app, and am trying to use
> glade_xml_signal_autoconnect to handle hooking up the signals.
>
> I can successfully hook up the signals contained withing libgtk,
however,
> any attempt to connect functions that are defined within my app fails
with
> a "libglade-WARNING **: could not find signal handler " message.
>
> I'm guessing the problem is that GModule is not finding any symbols
> contained within the executable itself, as opposed to symbols in shared
> libraries, but I'd like to confirm this, and get any work-arounds
anybody
> may have.
>
> The code is C++, with the signal handles marked as 'extern "C"' to a)
> insure visibility and b) insure no mangling. They do show up when I do
an
> "objdump -t" so I know they are actually in the executable.
>
> This is all under Suse Enterprise Desktop 10, using GTK 2.8.10. (yes, I
> know it's out of date - one of the myriad of reasons I hate SLED10....)
>
>
I use on Linux "-Wl,-E" and under Windows with MinGW
"-Wl,-E,--export-all-symbols" and I also use C++ with the extern "C"
keyword, like for example:
extern "C" void on_button_clicked (GtkToolButton *toolbutton, gpointer
user_data)
{
//do something
}

I didn't need any more fancy than that, it works that way.


> On a related note: eventually, I'd like to handle signal assignment
myself
> (I really don't like the idea of a modified .glade file being able to
> vector to any exported function, plus I'll eventually be vectoring to
C++
> functions), so I'd be using glade_xml_signal_autoconnect_full with my
own
> hook function - but is it possible (or advisable) for me to be able to
> call the function that glade_xml_signal_autoconnect uses (I am assuming
> that glade_xml_signal_autoconnect calls
glade_xml_signal_autoconnect_full
> internally)?
>
>
Never tried that, I don't know...

Bye!!!

--
Ivan Baldo - ibaldo adinet com uy - http://ibaldo.codigolibre.net/
ICQ 10215364 - Phone/FAX (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America.
We believe that we are free, but in reality we are not! Are we?
Alternatives: ibaldo codigolibre net - http://go.to/ibaldo



------------------------------

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

End of gtk-app-devel-list Digest, Vol 39, Issue 26
**************************************************




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]