org.gtk.gespeaker
Prev | gespeaker dbus interfaces | Next

## Interface /org/gtk/gespeaker/ui

Manage the user interface.

## Methods

void org.gtk.gespeaker.ui.hide() void org.gtk.gespeaker.ui.new(bool confirm) void org.gtk.gespeaker.ui.open(QString filename) void org.gtk.gespeaker.ui.play_text(QString text) void org.gtk.gespeaker.ui.quit() void org.gtk.gespeaker.ui.record(QString filename) void org.gtk.gespeaker.ui.reset(bool confirm) void org.gtk.gespeaker.ui.save(QString filename) void org.gtk.gespeaker.ui.show() void org.gtk.gespeaker.ui.unrecord()

### org.gtk.gespeaker.ui.hide

void org.gtk.gespeaker.ui.hide()

Returns: | None

The hide method hides the main window.

### org.gtk.gespeaker.ui.new

void org.gtk.gespeaker.ui.new(bool confirm)

confirm: | Ask confirmation before clearing the existing text
Returns: | None

The new method clears the text in the textbox.

### org.gtk.gespeaker.ui.open

void org.gtk.gespeaker.ui.open(QString filename)

filename: | The filename where to save the text in the textbox
Returns: | None

The open method loads in the textbox the text from the requested filename.

### org.gtk.gespeaker.ui.play_text

void org.gtk.gespeaker.ui.play_text(QString text)

text: | The text to replace and play
Returns: | None

The play_text method replaces the text in the textbox and plays it.

### org.gtk.gespeaker.ui.quit

void org.gtk.gespeaker.ui.quit()

Returns: | None

The quit method closes the application.

### org.gtk.gespeaker.ui.record

void org.gtk.gespeaker.ui.record(QString filename)

filename: | The filename where to save the recorded voice
Returns: | None

The record method activates the recording for the next play.

### org.gtk.gespeaker.ui.reset

void org.gtk.gespeaker.ui.reset(bool confirm)

confirm: | Ask confirmation before reset the default settings
Returns: | None

The reset method restores the default settings.

### org.gtk.gespeaker.ui.save

void org.gtk.gespeaker.ui.save(QString filename)

filename: | The filename where to save the text in the textbox
Returns: | None

The save method saves the current text in the requested filename.

### org.gtk.gespeaker.ui.show

void org.gtk.gespeaker.ui.show()

Returns: | None

The show method shows the main window.

### org.gtk.gespeaker.ui.unrecord

void org.gtk.gespeaker.ui.unrecord()

Returns: | None

The unrecord method disables the recording.

Prev | Up | Next
/org/gtk/gespeaker/text | Home | /org/gtk/gespeaker/espeak