Renard::Curie::Component::TTSWindow - Component used to control speech synthesis
version 0.005
Moo::Object
Intertangle::API::Gtk3::Component::Role::FromBuilder
Intertangle::API::Gtk3::Component::Role::UIFileFromPackageName
Renard::Curie::Component::Role::HasParentMainWindow
The view manager model for this application.
Returns true if the system can load Speech::Synthesis.
Constructor that sets up the TTS window and its buttons.
Show the TTS window.
method speak( (Str) $text )
Say the contents of $str.
$str
method update()
Updates the TTS window.
This sets the sentence label, sentence text, and plays the text if ViewManager::tts_playing is true.
callback on_clicked_button_play_cb( $button, $self )
Callback that toggles between play and pause states.
callback on_clicked_button_previous_cb( $button, $self )
Calls ViewManager::choose_previous_sentence.
callback on_clicked_button_next_cb( $button, $self )
Calls ViewManager::choose_next_sentence.
Project Renard
This software is copyright (c) 2016 by Project Renard.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Renard::Curie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Renard::Curie
CPAN shell
perl -MCPAN -e shell install Renard::Curie
For more information on module installation, please visit the detailed CPAN module installation guide.