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

Go to the source code of this file.

Enumerations

enum  EvViewCursor {
  EV_VIEW_CURSOR_NORMAL, EV_VIEW_CURSOR_IBEAM, EV_VIEW_CURSOR_LINK, EV_VIEW_CURSOR_WAIT,
  EV_VIEW_CURSOR_HIDDEN, EV_VIEW_CURSOR_DRAG, EV_VIEW_CURSOR_AUTOSCROLL, EV_VIEW_CURSOR_ADD
}
 

Functions

GdkCursor * ev_view_cursor_new (GdkDisplay *display, EvViewCursor cursor)
 

Enumeration Type Documentation

Enumerator
EV_VIEW_CURSOR_NORMAL 
EV_VIEW_CURSOR_IBEAM 
EV_VIEW_CURSOR_LINK 
EV_VIEW_CURSOR_WAIT 
EV_VIEW_CURSOR_HIDDEN 
EV_VIEW_CURSOR_DRAG 
EV_VIEW_CURSOR_AUTOSCROLL 
EV_VIEW_CURSOR_ADD 

Definition at line 31 of file ev-view-cursor.h.

Function Documentation

GdkCursor* ev_view_cursor_new ( GdkDisplay *  display,
EvViewCursor  cursor 
)

Definition at line 23 of file ev-view-cursor.c.

25 {
26  GdkCursor *cursor = NULL;
27 
28  switch (new_cursor) {
30  break;
32  cursor = gdk_cursor_new_for_display (display, GDK_XTERM);
33  break;
35  cursor = gdk_cursor_new_for_display (display, GDK_HAND2);
36  break;
38  cursor = gdk_cursor_new_for_display (display, GDK_WATCH);
39  break;
41  cursor = gdk_cursor_new_for_display (display, GDK_BLANK_CURSOR);
42  break;
44  cursor = gdk_cursor_new_for_display (display, GDK_FLEUR);
45  break;
47  cursor = gdk_cursor_new_for_display (display, GDK_DOUBLE_ARROW);
48  break;
49  case EV_VIEW_CURSOR_ADD:
50  cursor = gdk_cursor_new_for_display (display, GDK_PLUS);
51  break;
52  }
53 
54  return cursor;
55 }

+ Here is the caller graph for this function: