gattrib

s_visibility.c File Reference

Functions to manipulate attribute visibility. More...

#include <stdio.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
#include <glib.h>
#include <glib-object.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <libgeda/libgeda.h>
#include "../include/struct.h"
#include "../include/prototype.h"
#include "../include/globals.h"
Include dependency graph for s_visibility.c:

Go to the source code of this file.

Functions

void s_visibility_set_invisible ()
void s_visibility_set_name_only ()
 Set the visibility of the selected cells to NAME_ONLY.
void s_visibility_set_value_only ()
void s_visibility_set_name_and_value ()
void s_visibility_set_cell (gint cur_page, gint row, gint col, gint visibility, gint show_name_value)

Detailed Description

This file holds widgets and functions used in conjunction with setting attribute visibility.

Todo:
There seems to be a lot of duplicated code in this file - a good candidate for refactoring.

Definition in file s_visibility.c.


Function Documentation

void s_visibility_set_invisible ( )

Definition at line 88 of file s_visibility.c.

Here is the call graph for this function:

void s_visibility_set_name_only ( )

This sets the selected cells to NAME_ONLY. This function is invoked from the menu, it assumes you have selected a range of cells which are carried in the global variable "sheet".

Definition at line 161 of file s_visibility.c.

Here is the call graph for this function:

void s_visibility_set_value_only ( )

Definition at line 222 of file s_visibility.c.

Here is the call graph for this function:

void s_visibility_set_name_and_value ( )

Definition at line 287 of file s_visibility.c.

Here is the call graph for this function:

void s_visibility_set_cell ( gint  cur_page,
gint  row,
gint  col,
gint  visibility,
gint  show_name_value 
)

Definition at line 352 of file s_visibility.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines