gva-properties

gva-properties — Properties Window

Synopsis

void                gva_properties_init                 (void);
void                gva_properties_show_game            (const gchar *game);
void                gva_properties_hide_cb              (GtkWindow *window);
void                gva_properties_show_cb              (GtkWindow *window);
gboolean            gva_properties_configure_event_cb   (GtkWindow *window,
                                                         GdkEventConfigure *event);
gboolean            gva_properties_window_state_event_cb
                                                        (GtkWindow *window,
                                                         GdkEventWindowState *event);

Description

These functions manipulate the Properties window.

Details

gva_properties_init ()

void                gva_properties_init                 (void);

Initializes the Properties window.

This function should be called once when the application starts.


gva_properties_show_game ()

void                gva_properties_show_game            (const gchar *game);

Shows information about game in the Properties window.

game :

the name of a game

gva_properties_hide_cb ()

void                gva_properties_hide_cb              (GtkWindow *window);

Handler for "show" signals to the "Properties" window.

Stops in-game music clip.

window :

the "Properties" window

gva_properties_show_cb ()

void                gva_properties_show_cb              (GtkWindow *window);

Handler for "show" signals to the "Properties" window.

Resets all scrolled windows to the top, and starts in-game music clip if the "auto-play" preference is enabled.

window :

the "Properties" window

gva_properties_configure_event_cb ()

gboolean            gva_properties_configure_event_cb   (GtkWindow *window,
                                                         GdkEventConfigure *event);

Handler for "configure-event" signals to the "Properties" window.

Saves the "Properties" window state to dconf.

window :

the "Properties" window

event :

a GdkEventConfigure

Returns :

FALSE always

gva_properties_window_state_event_cb ()

gboolean            gva_properties_window_state_event_cb
                                                        (GtkWindow *window,
                                                         GdkEventWindowState *event);

Handler for "window-state-event" signals to the "Properties" window.

Saves the "Properties" window state to dconf.

window :

the "Properties" window

event :

a GdkEventWindowState

Returns :

FALSE always