Re: Is there ways to make a atk factory only used for some instances
- From: "padraig o'briain" <Padraig Obriain Sun COM>
- To: Bolian Yin <Bolian Yin Sun COM>
- Cc: gnome-accessibility-list gnome org, EvolutionAcc <sceri-evolution-acc Sun COM>, Bill Haneman <Bill Haneman Sun COM>
- Subject: Re: Is there ways to make a atk factory only used for some instances
- Date: Thu, 04 Sep 2003 11:04:24 +0100
Bolian,
Can you define a new object class for a gnome-canvas-item which has
additional functionality? I think that this is the approach you will
have to take.
The ATK interface requires you to use the same factory for all object of
the same type.
Padraig
Bolian Yin wrote:
Hi Padraig,
I met the problem in gnome-canvas-item. Gail has impl for
gnome-canvas-item, but programmers can add many functions to a
gnome-canvas-item.
For example, a gnome-canvas-item support an action in some context, and
want to add a action interface to the atkobject creates for it. In this
case, I cannot register a new factory to create the atk object, or all
the gnome-canvas-items will create their atk objects using the new factory.
Is there ways to make a atk factory only used for some instances of
gnome-canvas-item, and in other case the default (gail) factory will be
used?
Thanks,
Bolian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]