gschem

x_clipboard.c File Reference

#include <config.h>
#include <stdio.h>
#include "gschem.h"
Include dependency graph for x_clipboard.c:

Go to the source code of this file.

Data Structures

struct  query_usable

Defines

#define MIME_TYPE_SCHEMATIC   "application/x-geda-schematic"
#define CLIP_TYPE_SCHEMATIC   1

Functions

static void clip_handle_owner_change (GtkClipboard *cb, GdkEvent *event, gpointer user_data)
static void clip_get (GtkClipboard *cb, GtkSelectionData *selection_data, guint info, gpointer user_data_or_owner)
static void clip_clear (GtkClipboard *cb, gpointer user_data_or_owner)
void x_clipboard_init (GSCHEM_TOPLEVEL *w_current)
void x_clipboard_finish (GSCHEM_TOPLEVEL *w_current)
static void query_usable_targets_cb (GtkClipboard *clip, GdkAtom *targets, gint ntargets, gpointer data)
void x_clipboard_query_usable (GSCHEM_TOPLEVEL *w_current, void(*callback)(int, void *), void *userdata)
gboolean x_clipboard_set (GSCHEM_TOPLEVEL *w_current, const GList *object_list)
GList * x_clipboard_get (GSCHEM_TOPLEVEL *w_current)

Define Documentation

#define MIME_TYPE_SCHEMATIC   "application/x-geda-schematic"

Definition at line 35 of file x_clipboard.c.

#define CLIP_TYPE_SCHEMATIC   1

Definition at line 36 of file x_clipboard.c.


Function Documentation

static void clip_handle_owner_change ( GtkClipboard *  cb,
GdkEvent *  event,
gpointer  user_data 
) [static]

Definition at line 43 of file x_clipboard.c.

Here is the call graph for this function:

static void clip_get ( GtkClipboard *  cb,
GtkSelectionData *  selection_data,
guint  info,
gpointer  user_data_or_owner 
) [static]

Definition at line 52 of file x_clipboard.c.

static void clip_clear ( GtkClipboard *  cb,
gpointer  user_data_or_owner 
) [static]

Definition at line 72 of file x_clipboard.c.

void x_clipboard_init ( GSCHEM_TOPLEVEL w_current)

Definition at line 88 of file x_clipboard.c.

Here is the call graph for this function:

void x_clipboard_finish ( GSCHEM_TOPLEVEL w_current)

Definition at line 103 of file x_clipboard.c.

Here is the call graph for this function:

static void query_usable_targets_cb ( GtkClipboard *  clip,
GdkAtom *  targets,
gint  ntargets,
gpointer  data 
) [static]

Definition at line 125 of file x_clipboard.c.

void x_clipboard_query_usable ( GSCHEM_TOPLEVEL w_current,
void(*)(int, void *)  callback,
void *  userdata 
)

Definition at line 158 of file x_clipboard.c.

Here is the call graph for this function:

gboolean x_clipboard_set ( GSCHEM_TOPLEVEL w_current,
const GList *  object_list 
)

Definition at line 182 of file x_clipboard.c.

Here is the call graph for this function:

GList* x_clipboard_get ( GSCHEM_TOPLEVEL w_current)

Definition at line 219 of file x_clipboard.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines