Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-search-box.h File Reference
#include <gtk/gtk.h>
#include <evince-document.h>
#include <evince-view.h>
+ Include dependency graph for ev-search-box.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _EvSearchBox
 
struct  _EvSearchBoxClass
 

Macros

#define EV_TYPE_SEARCH_BOX   (ev_search_box_get_type ())
 
#define EV_SEARCH_BOX(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_SEARCH_BOX, EvSearchBox))
 
#define EV_IS_SEARCH_BOX(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_SEARCH_BOX))
 
#define EV_SEARCH_BOX_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_SEARCH_BOX, EvSearchBoxClass))
 
#define EV_IS_SEARCH_BOX_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_SEARCH_BOX))
 
#define EV_SEARCH_BOX_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_SEARCH_BOX, EvSearchBoxClass))
 

Typedefs

typedef struct _EvSearchBox EvSearchBox
 
typedef struct _EvSearchBoxClass EvSearchBoxClass
 
typedef struct _EvSearchBoxPrivate EvSearchBoxPrivate
 

Functions

GType ev_search_box_get_type (void)
 
GtkWidget * ev_search_box_new (EvDocumentModel *model)
 
GtkSearchEntry * ev_search_box_get_entry (EvSearchBox *box)
 
gboolean ev_search_box_has_results (EvSearchBox *box)
 
void ev_search_box_restart (EvSearchBox *box)
 

Macro Definition Documentation

#define EV_IS_SEARCH_BOX (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_SEARCH_BOX))

Definition at line 32 of file ev-search-box.h.

#define EV_IS_SEARCH_BOX_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_SEARCH_BOX))

Definition at line 34 of file ev-search-box.h.

#define EV_SEARCH_BOX (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_SEARCH_BOX, EvSearchBox))

Definition at line 31 of file ev-search-box.h.

#define EV_SEARCH_BOX_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_SEARCH_BOX, EvSearchBoxClass))

Definition at line 33 of file ev-search-box.h.

#define EV_SEARCH_BOX_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_SEARCH_BOX, EvSearchBoxClass))

Definition at line 35 of file ev-search-box.h.

#define EV_TYPE_SEARCH_BOX   (ev_search_box_get_type ())

Definition at line 30 of file ev-search-box.h.

Typedef Documentation

typedef struct _EvSearchBox EvSearchBox

Definition at line 37 of file ev-search-box.h.

Definition at line 38 of file ev-search-box.h.

Definition at line 39 of file ev-search-box.h.

Function Documentation

GtkSearchEntry* ev_search_box_get_entry ( EvSearchBox box)

Definition at line 640 of file ev-search-box.c.

641 {
642  g_return_val_if_fail (EV_IS_SEARCH_BOX (box), NULL);
643 
644  return GTK_SEARCH_ENTRY (box->priv->entry);
645 }

+ Here is the caller graph for this function:

GType ev_search_box_get_type ( void  )
gboolean ev_search_box_has_results ( EvSearchBox box)

Definition at line 648 of file ev-search-box.c.

649 {
650  g_return_val_if_fail (EV_IS_SEARCH_BOX (box), FALSE);
651 
652  return gtk_widget_get_sensitive (box->priv->next_button);
653 }

+ Here is the caller graph for this function:

GtkWidget* ev_search_box_new ( EvDocumentModel model)

Definition at line 630 of file ev-search-box.c.

631 {
632  g_return_val_if_fail (EV_IS_DOCUMENT_MODEL (model), NULL);
633 
634  return GTK_WIDGET (g_object_new (EV_TYPE_SEARCH_BOX,
635  "document-model", model,
636  NULL));
637 }

+ Here is the caller graph for this function:

void ev_search_box_restart ( EvSearchBox box)

Definition at line 656 of file ev-search-box.c.

657 {
658  g_return_if_fail (EV_IS_SEARCH_BOX (box));
659 
660  search_changed_cb (GTK_SEARCH_ENTRY (box->priv->entry), box);
661 }

+ Here is the caller graph for this function: