## midori-searchaction midori-searchaction |

## Synopsis

    #include <midori/midori.h>

                        MidoriSearchAction;
                        MidoriSearchActionClass;
    KatzeItem *         midori_search_action_get_current_item
                                                            (MidoriSearchAction *search_action);
    KatzeItem *         midori_search_action_get_default_item
                                                            (MidoriSearchAction *search_action);
    GtkWidget *         midori_search_action_get_dialog     (MidoriSearchAction *search_action);
    void                midori_search_action_get_editor     (MidoriSearchAction *search_action,
                                                             KatzeItem *item,
                                                             gboolean new_engine);
    KatzeItem *         midori_search_action_get_engine_for_form
                                                            (WebKitWebView *web_view,
                                                             PangoEllipsizeMode ellipsize);
    KatzeArray *        midori_search_action_get_search_engines
                                                            (MidoriSearchAction *search_action);
    const gchar *       midori_search_action_get_text       (MidoriSearchAction *action);
    void                midori_search_action_set_current_item
                                                            (MidoriSearchAction *search_action,
                                                             KatzeItem *item);
    void                midori_search_action_set_default_item
                                                            (MidoriSearchAction *search_action,
                                                             KatzeItem *item);
    void                midori_search_action_set_search_engines
                                                            (MidoriSearchAction *search_action,
                                                             KatzeArray *search_engines);
    void                midori_search_action_set_text       (MidoriSearchAction *search_action,
                                                             const gchar *text);
    KatzeArray *        midori_search_engines_new_from_file (const gchar *filename,
                                                             GError **error);
    KatzeArray *        midori_search_engines_new_from_folder
                                                            (GString *error_messages);
    gboolean            midori_search_engines_save_to_file  (KatzeArray *search_engines,
                                                             const gchar *filename,
                                                             GError **error);
    void                midori_search_engines_set_filename  (KatzeArray *search_engines,
                                                             const gchar *filename);

## Description

## Details

### MidoriSearchAction

    typedef struct _MidoriSearchAction MidoriSearchAction;

### MidoriSearchActionClass

    typedef struct _MidoriSearchActionClass MidoriSearchActionClass;

### midori_search_action_get_current_item ()

    KatzeItem *         midori_search_action_get_current_item
                                                            (MidoriSearchAction *search_action);

### midori_search_action_get_default_item ()

    KatzeItem *         midori_search_action_get_default_item
                                                            (MidoriSearchAction *search_action);

### midori_search_action_get_dialog ()

    GtkWidget *         midori_search_action_get_dialog     (MidoriSearchAction *search_action);

### midori_search_action_get_editor ()

    void                midori_search_action_get_editor     (MidoriSearchAction *search_action,
                                                             KatzeItem *item,
                                                             gboolean new_engine);

### midori_search_action_get_engine_for_form ()

    KatzeItem *         midori_search_action_get_engine_for_form
                                                            (WebKitWebView *web_view,
                                                             PangoEllipsizeMode ellipsize);

### midori_search_action_get_search_engines ()

    KatzeArray *        midori_search_action_get_search_engines
                                                            (MidoriSearchAction *search_action);

### midori_search_action_get_text ()

    const gchar *       midori_search_action_get_text       (MidoriSearchAction *action);

### midori_search_action_set_current_item ()

    void                midori_search_action_set_current_item
                                                            (MidoriSearchAction *search_action,
                                                             KatzeItem *item);

### midori_search_action_set_default_item ()

    void                midori_search_action_set_default_item
                                                            (MidoriSearchAction *search_action,
                                                             KatzeItem *item);

### midori_search_action_set_search_engines ()

    void                midori_search_action_set_search_engines
                                                            (MidoriSearchAction *search_action,
                                                             KatzeArray *search_engines);

### midori_search_action_set_text ()

    void                midori_search_action_set_text       (MidoriSearchAction *search_action,
                                                             const gchar *text);

### midori_search_engines_new_from_file ()

    KatzeArray *        midori_search_engines_new_from_file (const gchar *filename,
                                                             GError **error);

### midori_search_engines_new_from_folder ()

    KatzeArray *        midori_search_engines_new_from_folder
                                                            (GString *error_messages);

### midori_search_engines_save_to_file ()

    gboolean            midori_search_engines_save_to_file  (KatzeArray *search_engines,
                                                             const gchar *filename,
                                                             GError **error);

### midori_search_engines_set_filename ()

    void                midori_search_engines_set_filename  (KatzeArray *search_engines,
                                                             const gchar *filename);