vishal goel | 7 Oct 2004 10:41
Picon
Favicon

AT-SPI configuration

Hi,
I am trying to write some code for accessibility. I want to get a handle for 
AtkComponent. How can I do this. Also when I make use of
           #include<libspi/accesibility.h>

it gives an error which says no such file. But the file is present on the 
system under the libspi directory on my system.
Can someone plz tell me how can I get to the AtkComponent and why am I 
getting the accessibility.h file not found error?

Thanx,
Vishal G.

_________________________________________________________________
Seized by wanderlust? Have the best vacation ever. 
http://www.msn.co.in/Travel/ Team up with MSN Travel!
Bill Haneman | 7 Oct 2004 12:28
Picon

Re: AT-SPI configuration

On Thu, 2004-10-07 at 09:41, vishal goel wrote:
> Hi,
> I am trying to write some code for accessibility. 
> I want to get a handle for 
> AtkComponent. How can I do this. Also when I make use of
>            #include<libspi/accesibility.h>

Vishal: what code are you trying to write?

Please note that ATK is for in-process use, and assistive technologies
and accessibility applications will need to use AT-SPI instead. 
libspi/accessibility.h is part of AT-SPI.

You did misspell "accessibility" above, this could be your problem. 
Also, whatever package you are building needs to include the correct
header file paths; this is usually taken care of in the configure.in
file which is processed by autogen.sh (you will need to write both of
those files, as well as Makefile.am).

For more information on these topics, please see the developer.gnome.org
general information and documentation.

- Bill

> it gives an error which says no such file. But the file is present on the 
> system under the libspi directory on my system.
> Can someone plz tell me how can I get to the AtkComponent and why am I 
> getting the accessibility.h file not found error?
> 
> Thanx,
(Continue reading)

Nagappan | 12 Oct 2004 09:57
Picon
Favicon

GTK Press / Release button callback function called multiple times

Hi,
    GNOME Accessibility a great work !!! Thanks to all the members who 
has worked and made this a powerful one. Without this great work, our 
project will not be in there. We are doing a project called LDTP (Linux 
Desktop Testing Project). Initial framework is being done by a team of 4 
people. Still lot more needs to be done.

Visit www.gnomebangalore.org/ldtp

I have few queries; GTK Press / Release button callback function called 
multiple times, which takes lot of CPU resource. Just clicking mouse on 
menu / menu item takes at-least 3 to 5 seconds on Pentium IV 2.x GHz 
processor, with 1 GB RAM and my call back function is called multiple 
times. I tried with just registering 'mouse:button' function, with which 
resource is not used much, but I'm not getting the information like on 
which menu / menu item, click event occurs. Can somebody help us to 
solve this issue ? Is this a known issue and Is there any work around ? 
I googled, but I didn't get any result on this except 
http://mail.gnome.org/archives/gnome-accessibility-list/2003-September/msg00005.html

Thanks
Nagappan

--

-- 
Nagappan A <anagappan <at> novell.com>
Novell Software Development (I) Pvt. Ltd.
Padraig O'Briain | 12 Oct 2004 10:03
Picon

Re: GTK Press / Release button callback function called multiple times

Thank you for the kind words.

You do not provide enough information to help figure out what is going 
on. Can you provide a simple test program?

Padraig

Nagappan wrote:

> Hi,
>     GNOME Accessibility a great work !!! Thanks to all the members who 
> has worked and made this a powerful one. Without this great work, our 
> project will not be in there. We are doing a project called LDTP 
> (Linux Desktop Testing Project). Initial framework is being done by a 
> team of 4 people. Still lot more needs to be done.
>
> Visit www.gnomebangalore.org/ldtp
>
> I have few queries; GTK Press / Release button callback function 
> called multiple times, which takes lot of CPU resource. Just clicking 
> mouse on menu / menu item takes at-least 3 to 5 seconds on Pentium IV 
> 2.x GHz processor, with 1 GB RAM and my call back function is called 
> multiple times. I tried with just registering 'mouse:button' function, 
> with which resource is not used much, but I'm not getting the 
> information like on which menu / menu item, click event occurs. Can 
> somebody help us to solve this issue ? Is this a known issue and Is 
> there any work around ? I googled, but I didn't get any result on this 
> except 
> http://mail.gnome.org/archives/gnome-accessibility-list/2003-September/msg00005.html 
>
(Continue reading)

Nagappan | 12 Oct 2004 10:26
Picon
Favicon

Re: GTK Press / Release button callback function called multiple times

Hi Padraig,
    Thanks for the instantaneous response !!!

I'm trying to record the events. Registered two global events, 
Gtk:GtkWidget:button-press-event and Gtk:GtkWidget:button-release-event. 
Whenever a button / menu / menu item is pressed, corresponding callback 
functions are called. But the callback functions are called multiple 
times and more over lot of resource is also consumed !!!

Do you want me to send the recording source code ? As its in initial 
stage of work, it may look glitch. If you still want to see my source 
code, I will send to you :)

Thanks
Nagappan

Padraig O'Briain wrote:

> Thank you for the kind words.
>
> You do not provide enough information to help figure out what is going 
> on. Can you provide a simple test program?
>
> Padraig
>
> Nagappan wrote:
>
>> Hi,
>>     GNOME Accessibility a great work !!! Thanks to all the members 
>> who has worked and made this a powerful one. Without this great work, 
(Continue reading)

Padraig O'Briain | 12 Oct 2004 10:23
Picon

Re: [g-a-devel] GTK Press / Release button callback function called multiple times

Please send me the source code.

Padraig

Nagappan wrote:

> Hi Padraig,
>     Thanks for the instantaneous response !!!
>
> I'm trying to record the events. Registered two global events, 
> Gtk:GtkWidget:button-press-event and 
> Gtk:GtkWidget:button-release-event. Whenever a button / menu / menu 
> item is pressed, corresponding callback functions are called. But the 
> callback functions are called multiple times and more over lot of 
> resource is also consumed !!!
>
> Do you want me to send the recording source code ? As its in initial 
> stage of work, it may look glitch. If you still want to see my source 
> code, I will send to you :)
>
> Thanks
> Nagappan
>
> Padraig O'Briain wrote:
>
>> Thank you for the kind words.
>>
>> You do not provide enough information to help figure out what is 
>> going on. Can you provide a simple test program?
>>
(Continue reading)

Nagappan | 12 Oct 2004 10:35
Picon
Favicon

Re: GTK Press / Release button callback function called multiple times

Hi Padraig,
    I forgot to mention one thing, when we are doing this repeatedly 
(say more than 10 times running this record application), then I will 
ran into this issue.

Thanks
Nagappan

Nagappan wrote:

> Hi Padraig,
>    Thanks for the instantaneous response !!!
>
> I'm trying to record the events. Registered two global events, 
> Gtk:GtkWidget:button-press-event and 
> Gtk:GtkWidget:button-release-event. Whenever a button / menu / menu 
> item is pressed, corresponding callback functions are called. But the 
> callback functions are called multiple times and more over lot of 
> resource is also consumed !!!
>
> Do you want me to send the recording source code ? As its in initial 
> stage of work, it may look glitch. If you still want to see my source 
> code, I will send to you :)
>
> Thanks
> Nagappan
>
> Padraig O'Briain wrote:
>
>> Thank you for the kind words.
(Continue reading)

Matthias Clasen | 21 Oct 2004 16:55
Picon
Favicon

accessibility module trivia

I noticed some typos in the a11y module spew:

[mclasen <at> golem mclasen]$ nautilus --sm-disable
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Atk Accessibilty bridge initialized

I guess it should be "accessibility" in all three messages,
and maybe module shouldn't be capitalized.

Regards, Matthias
Harald Fernengel | 21 Oct 2004 17:52
Picon
Favicon

Using AT-SPI without Bonobo?

Hello,

I tried to install the Orbit2 C++ bindings but was unable to get C++ classes 
from the at-spi interfaces due to errors in the bonobo IDL.

Is there any way I can use at-spi without the bonobo dependency?

Best regards,
Harald
Bill Haneman | 21 Oct 2004 18:03
Picon

Re: Using AT-SPI without Bonobo?

On Thu, 2004-10-21 at 16:52, Harald Fernengel wrote:
> Hello,
> 
> I tried to install the Orbit2 C++ bindings but was unable to get C++ classes 
> from the at-spi interfaces due to errors in the bonobo IDL.
> 
> Is there any way I can use at-spi without the bonobo dependency?

I don't think you'd want to (i.e. you need a BonoboObject implementation
of some sort).

What errors are you seeing in the IDL?  I'd suggest getting those fixed
is the right solution.

- Bill

> 
> Best regards,
> Harald
> _______________________________________________
> Gnome-accessibility-devel mailing list
> Gnome-accessibility-devel <at> gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel

Gmane