You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by "Adarsh Y.V" <ad...@gmail.com> on 2011/10/21 14:02:52 UTC

button press trigger

Hi,

Is it possible to trigger a button action without actually pressing the
button

Thanks

Re: button press trigger

Posted by Chris Bartlett <cb...@gmail.com>.
Or maybe you mean something more like this?

Button button = ....;
button.getAction().perform(button);

http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/Button.html#getAction()


On 21 October 2011 19:09, Chris Bartlett <cb...@gmail.com> wrote:
> http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/Button.html#press()
>
> On 21 October 2011 19:02, Adarsh Y.V <ad...@gmail.com> wrote:
>> Hi,
>> Is it possible to trigger a button action without actually pressing the
>> button
>> Thanks
>>
>>
>>
>

Re: button press trigger

Posted by Chris Bartlett <cb...@gmail.com>.
http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/Button.html#press()

On 21 October 2011 19:02, Adarsh Y.V <ad...@gmail.com> wrote:
> Hi,
> Is it possible to trigger a button action without actually pressing the
> button
> Thanks
>
>
>