CodeSlayerProjectsSearch

CodeSlayerProjectsSearch — The global search page.

Synopsis

#include <codeslayer/codeslayer-projects-search.h>

struct              CodeSlayerProjectsSearch;
GtkWidget *         codeslayer_projects_search_new      (GtkWindow *window,
                                                         CodeSlayerProfile *profile);
void                codeslayer_projects_search_find_projects
                                                        (CodeSlayerProjectsSearch *search);
void                codeslayer_projects_search_find_selection
                                                        (CodeSlayerProjectsSearch *search,
                                                         const gchar *file_paths);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----CodeSlayerProjectsSearch

Implemented Interfaces

CodeSlayerProjectsSearch implements AtkImplementorIface and GtkBuildable.

Signals

  "close"                                          : No Hooks
  "select-document"                                : No Hooks

Description

The global search will find text in the files under the active profile.

Details

struct CodeSlayerProjectsSearch

struct CodeSlayerProjectsSearch;

codeslayer_projects_search_new ()

GtkWidget *         codeslayer_projects_search_new      (GtkWindow *window,
                                                         CodeSlayerProfile *profile);

Creates a new CodeSlayerProjectsSearch.

window :

a GtkWindow.

profile :

a CodeSlayerProfile.

Returns :

a new CodeSlayerProjectsSearch.

codeslayer_projects_search_find_projects ()

void                codeslayer_projects_search_find_projects
                                                        (CodeSlayerProjectsSearch *search);

codeslayer_projects_search_find_selection ()

void                codeslayer_projects_search_find_selection
                                                        (CodeSlayerProjectsSearch *search,
                                                         const gchar *file_paths);

search :

a CodeSlayerProjectsSearch.

file_paths :

the file paths as a comma separated list.

Signal Details

The "close" signal

void                user_function                      (CodeSlayerProjectsSearch *codeslayersearch,
                                                        gpointer                  user_data)             : No Hooks

Note: for internal use only.

The ::close signal is a request to close the search box.

codeslayersearch :

the search that received the signal

user_data :

user data set when the signal handler was connected.

The "select-document" signal

void                user_function                      (CodeSlayerProjectsSearch *codeslayersearch,
                                                        gpointer                  arg1,
                                                        gpointer                  user_data)             : No Hooks

Note: for internal use only.

The ::select-document signal is a request to select the document in the tree (which in turn adds a page in the notebook).

codeslayersearch :

the search that received the signal

user_data :

user data set when the signal handler was connected.