![]() |
![]() |
![]() |
GNOME Video Arcade Reference Manual | ![]() |
---|---|---|---|---|
void gva_search_init (void); gchar* gva_search_get_last_search (void); void gva_search_set_last_search (const gchar *text); void gva_search_find_clicked_cb (GtkEntry *entry, GtkButton *button);
void gva_search_init (void);
Initializes the Search window.
This function should be called once when the application starts.
gchar* gva_search_get_last_search (void);
Returns the criteria of the most recent search in either the current or the previous session of GNOME Video Arcade.
Returns : |
the criteria of the most recent search |
void gva_search_set_last_search (const gchar *text);
Writes text
to GConf key
/apps/gnome-video-arcade/search
.
This is used to remember the search text from the previous session of GNOME Video Arcade so that the same text can be preset in the Search window at startup.
|
the search text |
void gva_search_find_clicked_cb (GtkEntry *entry, GtkButton *button);
Handler for GtkButton::clicked signals to the "Find" button.
Save the contents of the search entry and switches the main window to the "Search Results" view.
|
the search entry |
|
the "Find" button |