gschem

o_delete.c File Reference

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

Go to the source code of this file.

Functions

void o_delete (GSCHEM_TOPLEVEL *w_current, OBJECT *object)
 Delete an object.
void o_delete_selected (GSCHEM_TOPLEVEL *w_current)
 Delete objects from the selection.

Function Documentation

void o_delete ( GSCHEM_TOPLEVEL w_current,
OBJECT *  object 
)
Function Description
This function erases the object object before deleting it. It deals with connection and object connected to it.
Parameters:
[in]w_currentThe GSCHEM_TOPLEVEL object.
[in]objectThe object to delete.

Definition at line 38 of file o_delete.c.

Here is the call graph for this function:

void o_delete_selected ( GSCHEM_TOPLEVEL w_current)
Function Description
This function deletes the objects selected on the current page of toplevel w_current.
Parameters:
[in]w_currentThe GSCHEM_TOPLEVEL object.

Definition at line 59 of file o_delete.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines