source: trunk/third/gnome-system-monitor/src/proctable.h @ 18394

Revision 18394, 1.6 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18393, which included commits to RCS files with non-trunk default branches.
Line 
1/* Procman - tree view
2 * Copyright (C) 2001 Kevin Vandersloot
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17 *
18 */
19
20#ifndef _PROCTABLE_H_
21#define _PROCTABLE_H_
22
23
24enum
25{
26        COL_NAME = 0,
27        COL_ARGS,
28        COL_USER,
29        COL_STATUS,
30        COL_MEM,
31        COL_VMSIZE,
32        COL_MEMRES,
33        COL_MEMSHARED,
34        COL_MEMRSS,
35        COL_CPU,
36        COL_NICE,
37        COL_PID,
38        COL_PIXBUF,
39        COL_POINTER,
40        NUM_COLUMNS,   
41};
42
43
44GtkWidget*      proctable_new (ProcData *data);
45void            proctable_update_table (ProcData *data);
46void            proctable_update_list (ProcData *data);
47void            insert_info_to_tree (ProcInfo *info, ProcData *procdata);
48void            remove_info_from_tree (ProcInfo *info, ProcData *procdata);
49ProcInfo *      proctable_find_process (gint pid, gchar *name, ProcData *procdata);
50void            proctable_update_all (ProcData *data);
51void            proctable_clear_tree (ProcData *data);
52void            proctable_free_table (ProcData *data);
53void            proctable_search_table (ProcData *procdata, gchar *string);
54
55
56#endif
Note: See TracBrowser for help on using the repository browser.