![]() |
![]() |
![]() |
GNOME Video Arcade Reference Manual | ![]() |
---|---|---|---|---|
void gva_preferences_init (void); gboolean gva_preferences_get_auto_save (void); void gva_preferences_set_auto_save (gboolean auto_save); gboolean gva_preferences_get_full_screen (void); void gva_preferences_set_full_screen (gboolean full_screen); void gva_preferences_close_clicked_cb (GtkWindow *window, GtkButton *button);
void gva_preferences_init (void);
Initializes the Preferences window.
This function should be called once when the application starts.
gboolean gva_preferences_get_auto_save (void);
Returns the user's preference for whether to restore the emulated machine's previous state when starting a game.
void gva_preferences_set_auto_save (gboolean auto_save);
Accepts the user's preference for whether to restore the emulated machine's previous state when starting a game.
The preference is stored in GConf key
/apps/gnome-video-arcade/auto-save
.
auto_save : |
the user's preference |
gboolean gva_preferences_get_full_screen (void);
Returns the user's preference for whether to start games in full screen mode.
void gva_preferences_set_full_screen (gboolean full_screen);
Accepts the user's preference for whether to start games in full screen mode.
The preference is stored in GConf key
/apps/gnome-video-arcade/full-screen
.
full_screen : |
the user's preference |
void gva_preferences_close_clicked_cb (GtkWindow *window, GtkButton *button);
Handler for GtkButton::clicked signals to the "Close" button.
Hides window
.
window : |
the "Preferences" window |
button : |
the "Close" button |