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-annotations-toolbar.h File Reference
#include <gtk/gtk.h>
+ Include dependency graph for ev-annotations-toolbar.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EV_TYPE_ANNOTATIONS_TOOLBAR   (ev_annotations_toolbar_get_type())
 
#define EV_ANNOTATIONS_TOOLBAR(object)   (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_ANNOTATIONS_TOOLBAR, EvAnnotationsToolbar))
 
#define EV_IS_ANNOTATIONS_TOOLBAR(object)   (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_ANNOTATIONS_TOOLBAR))
 
#define EV_ANNOTATIONS_TOOLBAR_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_ANNOTATIONS_TOOLBAR, EvAnnotationsToolbarClass))
 
#define EV_IS_ANNOTATIONS_TOOLBAR_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_ANNOTATIONS_TOOLBAR))
 
#define EV_ANNOTATIONS_TOOLBAR_GET_CLASS(object)   (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_ANNOTATIONS_TOOLBAR, EvAnnotationsToolbarClass))
 

Typedefs

typedef struct
_EvAnnotationsToolbar 
EvAnnotationsToolbar
 
typedef struct
_EvAnnotationsToolbarClass 
EvAnnotationsToolbarClass
 

Functions

GType ev_annotations_toolbar_get_type (void) G_GNUC_CONST
 
GtkWidget * ev_annotations_toolbar_new (void)
 
void ev_annotations_toolbar_add_annot_finished (EvAnnotationsToolbar *toolbar)
 

Macro Definition Documentation

#define EV_ANNOTATIONS_TOOLBAR (   object)    (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_ANNOTATIONS_TOOLBAR, EvAnnotationsToolbar))

Definition at line 29 of file ev-annotations-toolbar.h.

#define EV_ANNOTATIONS_TOOLBAR_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_ANNOTATIONS_TOOLBAR, EvAnnotationsToolbarClass))

Definition at line 31 of file ev-annotations-toolbar.h.

#define EV_ANNOTATIONS_TOOLBAR_GET_CLASS (   object)    (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_ANNOTATIONS_TOOLBAR, EvAnnotationsToolbarClass))

Definition at line 33 of file ev-annotations-toolbar.h.

#define EV_IS_ANNOTATIONS_TOOLBAR (   object)    (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_ANNOTATIONS_TOOLBAR))

Definition at line 30 of file ev-annotations-toolbar.h.

#define EV_IS_ANNOTATIONS_TOOLBAR_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_ANNOTATIONS_TOOLBAR))

Definition at line 32 of file ev-annotations-toolbar.h.

#define EV_TYPE_ANNOTATIONS_TOOLBAR   (ev_annotations_toolbar_get_type())

Definition at line 28 of file ev-annotations-toolbar.h.

Typedef Documentation

Definition at line 35 of file ev-annotations-toolbar.h.

Function Documentation

void ev_annotations_toolbar_add_annot_finished ( EvAnnotationsToolbar toolbar)

Definition at line 165 of file ev-annotations-toolbar.c.

166 {
167  g_return_if_fail (EV_IS_ANNOTATIONS_TOOLBAR (toolbar));
168 
169  if (ev_annotations_toolbar_toggle_button_if_active (toolbar, GTK_TOGGLE_TOOL_BUTTON (toolbar->text_button)))
170  return;
171 
172  ev_annotations_toolbar_toggle_button_if_active (toolbar, GTK_TOGGLE_TOOL_BUTTON (toolbar->highlight_button));
173 }

+ Here is the caller graph for this function:

GType ev_annotations_toolbar_get_type ( void  )
GtkWidget* ev_annotations_toolbar_new ( void  )

Definition at line 159 of file ev-annotations-toolbar.c.

160 {
161  return GTK_WIDGET (g_object_new (EV_TYPE_ANNOTATIONS_TOOLBAR, NULL));
162 }

+ Here is the caller graph for this function: