![]() |
![]() |
![]() |
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.
Returns : | TRUE to restore state, FALSE to cold boot
|
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.
Returns : | TRUE to start in full screen mode, FALSE to start in a window
|
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 |