gva-play-back

gva-play-back — Recorded Games Window

Functions

Description

These functions manipulate the Recorded Games window.

Functions

gva_play_back_init ()

void
gva_play_back_init (void);

Initializes the Recorded Games window.

This function should be called once when the application starts.


gva_play_back_show ()

void
gva_play_back_show (const gchar *inpname);

Refreshes the contents of the Recorded Games window, attempts to select the row corresponding to inpname (if inpname is not NULL), and finally shows the window.

Parameters

inpname

an input filename or NULL

 

gva_play_back_clicked_cb ()

void
gva_play_back_clicked_cb (GtkButton *button);

Handler for “clicked” signals to the "Play Back" button.

Activates the GVA_ACTION_PLAY_BACK action.

Parameters

button

the "Play Back" button

 

gva_play_back_close_clicked_cb ()

void
gva_play_back_close_clicked_cb (GtkWindow *window,
                                GtkButton *button);

Handler for “clicked” signals to the "Close" button.

Hides window .

Parameters

window

the "Recorded Games" window

 

button

the "Close" button

 

gva_play_back_delete_clicked_cb ()

void
gva_play_back_delete_clicked_cb (GtkTreeView *view,
                                 GtkButton *button);

Handler for “clicked” signals to the "Delete" button.

Displays a confirmation dialog, then deletes the MAME input files corresponding to the selected rows in view .

Parameters

view

the "Recorded Games" tree view

 

button

the "Delete" button

 

gva_play_back_row_activated_cb ()

void
gva_play_back_row_activated_cb (GtkTreeView *view,
                                GtkTreePath *path,
                                GtkTreeViewColumn *column);

Handler for “row-activated” signals to the "Recorded Games" tree view.

Activates the GVA_ACTION_PLAY_BACK action.

Parameters

view

the "Recorded Games" tree view

 

path

the GtkTreePath for the activated row

 

column

the GtkTreeViewColumn in which the activation occurred

 

gva_play_back_window_hide_cb ()

void
gva_play_back_window_hide_cb (GtkWindow *window);

Handler for “hide” signals to the "Recorded Games" window.

Saves the contents of the "Recorded Games" tree view to the game database.

Parameters

window

the "Recorded Games" window