How is new text on screen handled?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How is new text on screen handled?

Daniel Gartmann


Hi,

 

I am looking into where and which event or events handle new text written to the screen.

 

Do we have  a single event for doing this in NVDA such as NewTextEvent?

 

Thanks

 

Daniel

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Reply | Threaded
Open this post in threaded view
|

Re: How is new text on screen handled?

Abdel

Hi Daniel,

I think there is a base class that allows you to handle the display of new texts on the screen, as in chat windows.

NVDAObjects.window.DisplayModelLiveText.

It will just need to be used as a OverlayClass for the object containing
your text.

There is an example of use in the 'mirc' appModule if you have NVDA sources.

Best regards,
Abdel.


Le 26/04/2017 à 19:18, Daniel Gartmann [via NVDA] a écrit :


Hi,

 

I am looking into where and which event or events handle new text written to the screen.

 

Do we have  a single event for doing this in NVDA such as NewTextEvent?

 

Thanks

 

Daniel

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel



If you reply to this email, your message will be added to the discussion below:
http://nabble.nvda-project.org/How-is-new-text-on-screen-handled-tp41896.html
To start a new topic under Development, email [hidden email]
To unsubscribe from Development, click here.
NAML


Best regards,
Abdel.
Reply | Threaded
Open this post in threaded view
|

Re: How is new text on screen handled?

Daniel Gartmann

 

Thanks for the hint.

 

I am not sure, however, how this class works. I don’t use Mirc so can’t test out myself and I can’t find any docstring describing how to use the functions in this class.

 

Daniel

 

 

Fra: Abdel [mailto:[hidden email]]
Sendt: 26. april 2017 20:15
Til: [hidden email]
Emne: Re: [Nvda-devel] How is new text on screen handled?

 

Hi Daniel,

I think there is a base class that allows you to handle the display of new texts on the screen, as in chat windows.

NVDAObjects.window.DisplayModelLiveText.

It will just need to be used as a OverlayClass for the object containing
your text.

There is an example of use in the 'mirc' appModule if you have NVDA sources.

Best regards,
Abdel.

 

Le 26/04/2017 à 19:18, Daniel Gartmann [via NVDA] a écrit :


Hi,

 

I am looking into where and which event or events handle new text written to the screen.

 

Do we have  a single event for doing this in NVDA such as NewTextEvent?

 

Thanks

 

Daniel

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel


If you reply to this email, your message will be added to the discussion below:

http://nabble.nvda-project.org/How-is-new-text-on-screen-handled-tp41896.html

To start a new topic under Development, email [hidden email]
To unsubscribe from Development, click here.
NAML

 


Best regards,
Abdel.

 


View this message in context: Re: How is new text on screen handled?
Sent from the Development mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Reply | Threaded
Open this post in threaded view
|

Re: How is new text on screen handled?

James Teh
DisplayModelLiveText is a screen scraping implementation of the LiveText behavior, which provides most of the actual functionality. See the documentation of the NVDAObjects.behaviors.LiveText class:
In particular, you'll want the startMonitoring and stopMonitoring methods. You may also wish to override the _reportNewText method if you want to change the way that new lines of text are reported.

Jamie

On Mon, May 29, 2017 at 8:45 AM, Daniel Gartmann <[hidden email]> wrote:

 

Thanks for the hint.

 

I am not sure, however, how this class works. I don’t use Mirc so can’t test out myself and I can’t find any docstring describing how to use the functions in this class.

 

Daniel

 

 

Fra: Abdel [mailto:[hidden email]]
Sendt: 26. april 2017 20:15
Til: [hidden email]
Emne: Re: [Nvda-devel] How is new text on screen handled?

 

Hi Daniel,

I think there is a base class that allows you to handle the display of new texts on the screen, as in chat windows.

NVDAObjects.window.DisplayModelLiveText.

It will just need to be used as a OverlayClass for the object containing
your text.

There is an example of use in the 'mirc' appModule if you have NVDA sources.

Best regards,
Abdel.

 

Le 26/04/2017 à 19:18, Daniel Gartmann [via NVDA] a écrit :


Hi,

 

I am looking into where and which event or events handle new text written to the screen.

 

Do we have  a single event for doing this in NVDA such as NewTextEvent?

 

Thanks

 

Daniel

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel


If you reply to this email, your message will be added to the discussion below:

http://nabble.nvda-project.org/How-is-new-text-on-screen-handled-tp41896.html

To start a new topic under Development, email [hidden email]
To unsubscribe from Development, click here.
NAML

 


Best regards,
Abdel.

 


View this message in context: Re: How is new text on screen handled?
Sent from the Development mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel