PIPS
gtk_status.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <gtk/gtk.h>
#include "genC.h"
#include "linear.h"
#include "ri.h"
#include "database.h"
#include "misc.h"
#include "ri-util.h"
#include "pipsdbm.h"
#include "gpips.h"
+ Include dependency graph for gtk_status.c:

Go to the source code of this file.

Data Structures

struct  LabelEntryAndButton
 

Enumerations

enum  { DECALAGE_STATUS = 100 }
 
enum  { CPU_USAGE_LENGTH = 8 }
 Max number of digits displayed in the status panel: More...
 

Functions

void display_memory_usage ()
 
void show_directory ()
 
void show_workspace ()
 
void show_module ()
 
void gpips_interrupt_button_blink ()
 
void gpips_interrupt_button_restore ()
 
void show_message (string message_buffer)
 
static void end_directory_notify_callback (GtkWidget *w, gpointer data __attribute__((unused)))
 
static void choose_dir_callback (GtkWidget *w __attribute__((unused)), gpointer data)
 
void open_or_create_workspace_callback (GtkWidget *w, gpointer data __attribute__((unused)))
 
static GtkWidget * create_dir_choose_entry (GtkWidget *vbox)
 
static gboolean regenerate_workspace_menu_callback (GtkWidget *w, GdkEventButton *ev, gpointer data)
 
static gboolean regenerate_module_menu_callback (GtkWidget *w, GdkEventButton *ev, gpointer data)
 
static GtkWidget * create_workspace_entry (GtkWidget *vbox)
 
static GtkWidget * create_module_entry (GtkWidget *vbox)
 
void create_status_subwindow ()
 

Variables

GtkWidget * directory_name_entry
 
GtkWidget * directory_name_entry_button
 
GtkWidget * workspace_name_entry
 
GtkWidget * memory_name
 
GtkWidget * gmessage
 
GtkWidget * window_number
 
GtkWidget * module_name_entry
 
GtkWidget * cpu_usage_item
 
char etext
 Strange, "man end" says that end is a function! More...
 
char edata
 
char end
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DECALAGE_STATUS 

Definition at line 59 of file gtk_status.c.

59  {
60  DECALAGE_STATUS = 100
61 };
@ DECALAGE_STATUS
Definition: gtk_status.c:60

◆ anonymous enum

anonymous enum

Max number of digits displayed in the status panel:

Enumerator
CPU_USAGE_LENGTH 

Definition at line 64 of file gtk_status.c.

64  {
66 };
@ CPU_USAGE_LENGTH
Definition: gtk_status.c:65

Function Documentation

◆ choose_dir_callback()

static void choose_dir_callback ( GtkWidget *w   __attribute__(unused),
gpointer  data 
)
static

Definition at line 178 of file gtk_status.c.

178  {
179  GtkWidget * file_chooser_dialog;
180 
181  file_chooser_dialog = gtk_file_chooser_dialog_new("Choose Directory",
182  GTK_WINDOW(main_window), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
183  GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN,
184  GTK_RESPONSE_ACCEPT, NULL);
185 
186  if (gtk_dialog_run(GTK_DIALOG(file_chooser_dialog)) == GTK_RESPONSE_ACCEPT) {
187  char * dirname = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(
188  file_chooser_dialog));
189  gtk_entry_set_text(GTK_ENTRY(directory_name_entry), dirname);
190  g_free(dirname);
191  }
192  g_signal_emit_by_name(data, "activate");
193  //end_directory_notify_callback((GtkWidget *) data, NULL);
194 
195  gtk_widget_destroy(file_chooser_dialog);
196 }
GtkWidget * main_window
Definition: gpips.c:54
GtkWidget * directory_name_entry
Definition: gtk_status.c:74

References directory_name_entry, and main_window.

Referenced by create_dir_choose_entry().

+ Here is the caller graph for this function:

◆ create_dir_choose_entry()

static GtkWidget* create_dir_choose_entry ( GtkWidget *  vbox)
static

Definition at line 206 of file gtk_status.c.

206  {
207  GtkWidget * hbox = gtk_hbox_new(FALSE, 0);
208 
209  GtkWidget * label;
210  GtkWidget * entry;
211  GtkWidget * cd_button;
212 
213  label = gtk_label_new("Directory: ");
214  gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5);
215 
216  entry = gtk_entry_new();
217  gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 5);
218  g_signal_connect(GTK_OBJECT(entry), "activate",
219  G_CALLBACK(end_directory_notify_callback), NULL);
220  gtk_widget_set_sensitive(entry, FALSE);
221 
222  cd_button = gtk_button_new_with_label("CD");
223  gtk_box_pack_start(GTK_BOX(hbox), cd_button, FALSE, FALSE, 5);
224  g_signal_connect(GTK_OBJECT(cd_button), "clicked", G_CALLBACK(choose_dir_callback),
225  entry);
226 
227  gtk_widget_show_all(hbox);
228  gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, FALSE, 5);
229  return entry;
230 }
static void choose_dir_callback(GtkWidget *w __attribute__((unused)), gpointer data)
Definition: gtk_status.c:178
static void end_directory_notify_callback(GtkWidget *w, gpointer data __attribute__((unused)))
Definition: gtk_status.c:173

References choose_dir_callback(), and end_directory_notify_callback().

Referenced by create_status_subwindow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ create_module_entry()

static GtkWidget* create_module_entry ( GtkWidget *  vbox)
static

Definition at line 297 of file gtk_status.c.

297  {
298  GtkWidget * hbox = gtk_hbox_new(FALSE, 0);
299 
300  GtkWidget * label;
301  GtkWidget * entry;
302  GtkWidget * menu;
303  GtkWidget * menu_item;
304  GtkWidget * menu_bar;
305 
306  label = gtk_label_new("Module: ");
307  gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5);
308 
309  entry = gtk_entry_new();
310  gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 5);
311  g_signal_connect(GTK_OBJECT(entry), "activate",
312  G_CALLBACK(end_select_module_callback), NULL);
313 
314  menu_item = gtk_menu_item_new_with_label("Select module");
315  // regenerating the menu every time we try to access it
316  menu = NULL; // (necessary initialization for the callback)
317  g_signal_connect(G_OBJECT(menu_item), "button-press-event",
318  G_CALLBACK(regenerate_module_menu_callback), menu);
319  gtk_widget_show(menu_item);
320 
321  menu_bar = gtk_menu_bar_new();
322  gtk_box_pack_start(GTK_BOX(hbox), menu_bar, FALSE, FALSE, 0);
323  gtk_menu_bar_append(GTK_MENU_BAR(menu_bar), menu_item);
324  gtk_widget_show(menu_bar);
325 
326  gtk_widget_show_all(hbox);
327  gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, FALSE, 5);
328  return entry;
329 }
void end_select_module_callback(const char *name)
Definition: gtk_select.c:691
static gboolean regenerate_module_menu_callback(GtkWidget *w, GdkEventButton *ev, gpointer data)
Definition: gtk_status.c:246

References end_select_module_callback(), and regenerate_module_menu_callback().

Referenced by create_status_subwindow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ create_status_subwindow()

void create_status_subwindow ( )

Definition at line 331 of file gtk_status.c.

331  {
332  //Server_image pips_icon_server_image;
333  status_frame = gtk_frame_new(NULL);
334  gtk_box_pack_start(GTK_BOX(main_window_vbox), status_frame, FALSE, FALSE, 5);
335 
336  GtkWidget * status_frame_vbox = gtk_vbox_new(FALSE, 0);
337  gtk_container_add(GTK_CONTAINER(status_frame), status_frame_vbox);
338 
339  gmessage = gtk_label_new("Message:");
340  gtk_box_pack_start(GTK_BOX(status_frame_vbox), gmessage, FALSE, FALSE, 5);
341 
342  directory_name_entry = create_dir_choose_entry(status_frame_vbox);
343 
344  workspace_name_entry = create_workspace_entry(status_frame_vbox);
345 
346  module_name_entry = create_module_entry(status_frame_vbox);
347 
348  GtkWidget * data_hbox = gtk_hbox_new(FALSE, 0);
349  gtk_box_pack_start(GTK_BOX(status_frame_vbox), data_hbox, FALSE, FALSE, 5);
350  gtk_box_pack_start(GTK_BOX(data_hbox), gtk_label_new("Memory (MB):"),
351  FALSE, FALSE, 5);
352  memory_name = gtk_label_new("");
353  gtk_box_pack_start(GTK_BOX(data_hbox), memory_name, FALSE, FALSE, 5);
354  gtk_box_pack_start(GTK_BOX(data_hbox), gtk_label_new("CPU (s):"), FALSE,
355  FALSE, 5);
356  cpu_usage_item = gtk_label_new("");
357  gtk_box_pack_start(GTK_BOX(data_hbox), cpu_usage_item, FALSE, FALSE, 5);
358  gtk_widget_show_all(data_hbox);
359 
360  // window_number = xv_create(main_panel, PANEL_NUMERIC_TEXT,
361  // /*PANEL_ITEM_X_GAP, DECALAGE_STATUS,
362  // PANEL_VALUE_Y, xv_rows(main_panel, 4),*/
363  // PANEL_VALUE_X, xv_col(main_panel, 50), PANEL_VALUE_Y,
364  // xv_rows(main_panel, 4), PANEL_LABEL_STRING, "# windows:",
365  // PANEL_MIN_VALUE, 1, PANEL_MAX_VALUE, MAX_NUMBER_OF_GPIPS_WINDOWS,
366  // PANEL_VALUE, number_of_gpips_windows, PANEL_VALUE_DISPLAY_LENGTH,
367  // 2, PANEL_NOTIFY_PROC, window_number_notify, NULL);
368 
369  // pips_icon_server_image = create_status_window_pips_image();
370 
371  // status_window_pips_image = xv_create(main_panel, PANEL_BUTTON,
372  // PANEL_LABEL_IMAGE, pips_icon_server_image, PANEL_NOTIFY_PROC,
373  // gpips_interrupt_pipsmake,
374  // /* Put the Pixmap above the Help button: */
375  // // quit_button a été remplacé par quit_menu_item
376  // XV_X, xv_get(quit_button, XV_X) + (xv_get(quit_button, XV_WIDTH)
377  // - xv_get(pips_icon_server_image, XV_WIDTH)) / 2, XV_Y,
378  // xv_rows(main_panel, 3) + 20, NULL);
379 
380  show_directory();
381  show_workspace();
382  show_module();
384 
385  gtk_widget_show_all(status_frame);
386 }
GtkWidget * status_frame
Definition: gpips-local.h:42
GtkWidget * main_window_vbox
Definition: gpips.c:57
static GtkWidget * create_module_entry(GtkWidget *vbox)
Definition: gtk_status.c:297
static GtkWidget * create_dir_choose_entry(GtkWidget *vbox)
Definition: gtk_status.c:206
GtkWidget * module_name_entry
Definition: gtk_status.c:76
void show_workspace()
Definition: gtk_status.c:123
GtkWidget * workspace_name_entry
Definition: gtk_status.c:75
GtkWidget * gmessage
Definition: gtk_status.c:75
void show_directory()
Definition: gtk_status.c:118
static GtkWidget * create_workspace_entry(GtkWidget *vbox)
Definition: gtk_status.c:263
void display_memory_usage()
Definition: gtk_status.c:84
GtkWidget * memory_name
Definition: gtk_status.c:75
void show_module()
Definition: gtk_status.c:134
GtkWidget * cpu_usage_item
Definition: gtk_status.c:77

References cpu_usage_item, create_dir_choose_entry(), create_module_entry(), create_workspace_entry(), directory_name_entry, display_memory_usage(), gmessage, main_window_vbox, memory_name, module_name_entry, show_directory(), show_module(), show_workspace(), status_frame, and workspace_name_entry.

Referenced by gpips_main(), and wpips_main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ create_workspace_entry()

static GtkWidget* create_workspace_entry ( GtkWidget *  vbox)
static

Definition at line 263 of file gtk_status.c.

263  {
264  GtkWidget * hbox = gtk_hbox_new(FALSE, 0);
265 
266  GtkWidget * label;
267  GtkWidget * entry;
268  GtkWidget * menu;
269  GtkWidget * menu_item;
270  GtkWidget * menu_bar;
271 
272  label = gtk_label_new("Workspace: ");
273  gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5);
274 
275  entry = gtk_entry_new();
276  gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 5);
277  g_signal_connect(GTK_OBJECT(entry), "activate",
278  G_CALLBACK(open_or_create_workspace_callback), NULL);
279 
280  menu_item = gtk_menu_item_new_with_label("Workspace list");
281  // regenerating the menu every time we try to access it
282  menu = NULL; // (necessary initialization for the callback)
283  g_signal_connect(G_OBJECT(menu_item), "button-press-event",
284  G_CALLBACK(regenerate_workspace_menu_callback), menu);
285  gtk_widget_show(menu_item);
286 
287  menu_bar = gtk_menu_bar_new();
288  gtk_box_pack_start(GTK_BOX(hbox), menu_bar, FALSE, FALSE, 0);
289  gtk_menu_bar_append(GTK_MENU_BAR(menu_bar), menu_item);
290  gtk_widget_show(menu_bar);
291 
292  gtk_widget_show_all(hbox);
293  gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, FALSE, 5);
294  return entry;
295 }
static gboolean regenerate_workspace_menu_callback(GtkWidget *w, GdkEventButton *ev, gpointer data)
Definition: gtk_status.c:232
void open_or_create_workspace_callback(GtkWidget *w, gpointer data __attribute__((unused)))
Definition: gtk_status.c:198

References open_or_create_workspace_callback(), and regenerate_workspace_menu_callback().

Referenced by create_status_subwindow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ display_memory_usage()

void display_memory_usage ( )

etext, edata and end are only address symbols...

getrusage() failed:

Definition at line 84 of file gtk_status.c.

84  {
85  char memory_string[17];
86  char cpu_string[CPU_USAGE_LENGTH + 1];
87  struct rusage an_rusage;
88 
89  /* etext, edata and end are only address symbols... */
90  debug(6, "display_memory_usage",
91  "_text %#x, _data %#x, _end %#x, _brk %#x\n", &etext, &edata, &end,
92  sbrk(0));
93 
94  sprintf(memory_string, "%10.3f", ((intptr_t) sbrk(0) - (intptr_t) &etext)
95  / (double) (1 << 20));
96 
97  gtk_label_set_text(GTK_LABEL(memory_name), memory_string);
98 
99  if (getrusage(RUSAGE_SELF, &an_rusage) == 0) {
100  double the_cpu_time = an_rusage.ru_utime.tv_sec
101  + an_rusage.ru_stime.tv_sec + (an_rusage.ru_utime.tv_usec
102  + an_rusage.ru_stime.tv_usec) * 1e-6;
103  sprintf(cpu_string, "%*.*g", CPU_USAGE_LENGTH, CPU_USAGE_LENGTH - 2,
104  the_cpu_time);
105  } else
106  /* getrusage() failed: */
107  sprintf(cpu_string, "%*s", CPU_USAGE_LENGTH, "?");
108 
109  gtk_label_set_text(GTK_LABEL(cpu_usage_item), cpu_string);
110 }
char end
Definition: gtk_status.c:82
char etext
Strange, "man end" says that end is a function!
char edata
Definition: gtk_status.c:82
void debug(const int the_expected_debug_level, const char *calling_function_name, const char *a_message_format,...)
ARARGS0.
Definition: debug.c:189
#define intptr_t
Definition: stdint.in.h:294

References cpu_usage_item, CPU_USAGE_LENGTH, debug(), edata, end, etext, intptr_t, and memory_name.

Referenced by close_workspace_notify(), create_status_subwindow(), edit_close_notify(), end_create_workspace_notify(), end_delete_workspace_notify(), end_open_workspace_notify(), end_select_module_callback(), end_select_module_notify(), execute_gpips_execute_and_display_something_outside_the_notifier(), execute_safe_apply_outside_the_notifier(), execute_safe_apply_outside_the_notifyer(), execute_workspace_creation_and_so_on_given_with_options(), execute_wpips_execute_and_display_something_outside_the_notifyer(), gpips_file_view(), gpips_main(), gpips_view_marked_busy(), show_directory(), show_message(), show_module(), show_workspace(), transform_notify(), update_options(), wpips_file_view(), wpips_main(), and wpips_view_marked_busy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ end_directory_notify_callback()

static void end_directory_notify_callback ( GtkWidget *  w,
gpointer data   __attribute__(unused) 
)
static

Definition at line 173 of file gtk_status.c.

173  {
174  if (GTK_IS_ENTRY(w))
175  end_directory_notify(gtk_entry_get_text(GTK_ENTRY(w)));
176 }
success end_directory_notify(const char *dir)
Definition: gtk_select.c:103

References end_directory_notify().

Referenced by create_dir_choose_entry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gpips_interrupt_button_blink()

void gpips_interrupt_button_blink ( )

Definition at line 145 of file gtk_status.c.

145  {
146  // if ((Server_image) xv_get(status_window_pips_image, PANEL_LABEL_IMAGE)
147  // == gpips_negative_server_image)
148  // xv_set(status_window_pips_image, PANEL_LABEL_IMAGE,
149  // gpips_positive_server_image, NULL);
150  // else
151  // xv_set(status_window_pips_image, PANEL_LABEL_IMAGE,
152  // gpips_negative_server_image, NULL);
153 
154 }

Referenced by deal_with_gpips_events_during_pipsmake().

+ Here is the caller graph for this function:

◆ gpips_interrupt_button_restore()

void gpips_interrupt_button_restore ( )

Definition at line 156 of file gtk_status.c.

156  {
157  // xv_set(status_window_pips_image, PANEL_LABEL_IMAGE,
158  // gpips_positive_server_image, NULL);
159 }

Referenced by gpips_main_loop().

+ Here is the caller graph for this function:

◆ open_or_create_workspace_callback()

void open_or_create_workspace_callback ( GtkWidget *  w,
gpointer data   __attribute__(unused) 
)

Definition at line 198 of file gtk_status.c.

198  {
199  //gtk_entry_set_text(GTK_ENTRY(workspace_name_entry), gtk_entry_get_text(query_entry)); TODO: FIX ICI pour transferer le workspace name du query_entry au workspace_enamer_entry
200  open_or_create_workspace(gtk_entry_get_text(GTK_ENTRY(w)));
201  return;
202 }
void open_or_create_workspace(const char *workspace_name_original)
To be used with schoose_create_abbrev_menu_with_text from the main panel:
Definition: gtk_select.c:570

References open_or_create_workspace().

Referenced by create_workspace_entry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ regenerate_module_menu_callback()

static gboolean regenerate_module_menu_callback ( GtkWidget *  w,
GdkEventButton *  ev,
gpointer  data 
)
static

Definition at line 246 of file gtk_status.c.

247  {
248  //GtkWidget * new_menu;
249  GtkWidget * menu = (GtkWidget *) data;
250 
251  if (menu != NULL)
252  gtk_menu_item_remove_submenu(GTK_MENU_ITEM(w));
253 
254  menu = generate_module_menu();
255  gtk_menu_item_set_submenu(GTK_MENU_ITEM(w), menu);
256 
257  return FALSE;
258 }
GtkWidget * generate_module_menu()
participe Ã&#160; la génération du menu associés aux modules dans la fenetre principale
Definition: gtk_select.c:749

References generate_module_menu().

Referenced by create_module_entry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ regenerate_workspace_menu_callback()

static gboolean regenerate_workspace_menu_callback ( GtkWidget *  w,
GdkEventButton *  ev,
gpointer  data 
)
static

Definition at line 232 of file gtk_status.c.

233  {
234  //GtkWidget * new_menu;
235  GtkWidget * menu = (GtkWidget *) data;
236 
237  if (menu != NULL)
238  gtk_menu_item_remove_submenu(GTK_MENU_ITEM(w));
239 
240  menu = generate_workspace_menu();
241  gtk_menu_item_set_submenu(GTK_MENU_ITEM(w), menu);
242 
243  return FALSE;
244 }
GtkWidget * generate_workspace_menu()
To use with schoose_create_abbrev_menu_with_text:
Definition: gtk_select.c:625

References generate_workspace_menu().

Referenced by create_workspace_entry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ show_directory()

void show_directory ( )

Definition at line 118 of file gtk_status.c.

118  {
119  gtk_entry_set_text(GTK_ENTRY(directory_name_entry), get_cwd());
121 }
char * get_cwd(void)
returns the current working directory name.
Definition: file.c:486

References directory_name_entry, display_memory_usage(), and get_cwd().

Referenced by create_status_subwindow(), end_directory_notify(), and prompt_user_not_allowed_to_change_directory().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ show_message()

void show_message ( string  message_buffer)

va_list some_arguments; static char message_buffer[SMALL_BUFFER_LENGTH];

va_start(some_arguments, a_printf_format);

(void) vsprintf(message_buffer, a_printf_format, some_arguments);

Parameters
message_buffer...

Definition at line 161 of file gtk_status.c.

161  {
162  /* va_list some_arguments;
163  static char message_buffer[SMALL_BUFFER_LENGTH]; */
164 
165  /* va_start(some_arguments, a_printf_format); */
166 
167  /* (void) vsprintf(message_buffer, a_printf_format, some_arguments);*/
168 
169  // xv_set(message, PANEL_VALUE, message_buffer, 0);
171 }

References display_memory_usage().

+ Here is the call graph for this function:

◆ show_module()

void show_module ( )

Definition at line 134 of file gtk_status.c.

134  {
135  static char *none = "(* none *)";
136  char *module_name_content = db_get_current_module_name();
137 
138  if (module_name_content == NULL)
139  module_name_content = none;
140  //
141  // xv_set(module_name_entry, PANEL_VALUE, module_name_content, 0);
143 }
string db_get_current_module_name(void)
Also used to check whether set...
Definition: database.c:1059

References db_get_current_module_name(), and display_memory_usage().

Referenced by close_workspace_notify(), create_status_subwindow(), end_select_module_callback(), end_select_module_notify(), execute_workspace_creation_and_so_on_given_with_options(), and select_a_module_by_default().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ show_workspace()

void show_workspace ( )

Definition at line 123 of file gtk_status.c.

123  {
124  static char *none = "(* none *)";
125  char *name = db_get_current_workspace_name();
126 
127  if (name == NULL)
128  name = none;
129  //
130  // xv_set(workspace_name_entry, PANEL_VALUE, name, 0);
132 }
string db_get_current_workspace_name(void)
the function is used to check that there is some current workspace...
Definition: workspace.c:82

References db_get_current_workspace_name(), and display_memory_usage().

Referenced by cancel_create_workspace_notify(), cancel_open_workspace_notify(), close_workspace_notify(), create_status_subwindow(), end_create_workspace_notify(), end_open_workspace_notify(), execute_workspace_creation_and_so_on_given_with_options(), and open_or_create_workspace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ cpu_usage_item

GtkWidget* cpu_usage_item

Definition at line 77 of file gtk_status.c.

Referenced by create_status_subwindow(), and display_memory_usage().

◆ directory_name_entry

GtkWidget* directory_name_entry

◆ directory_name_entry_button

GtkWidget * directory_name_entry_button

Definition at line 74 of file gtk_status.c.

◆ edata

char edata

Definition at line 82 of file gtk_status.c.

Referenced by display_memory_usage().

◆ end

◆ etext

char etext
extern

Strange, "man end" says that end is a function!

Referenced by display_memory_usage().

◆ gmessage

GtkWidget * gmessage

Definition at line 75 of file gtk_status.c.

Referenced by create_status_subwindow().

◆ memory_name

GtkWidget * memory_name

Definition at line 75 of file gtk_status.c.

Referenced by create_status_subwindow(), and display_memory_usage().

◆ module_name_entry

◆ window_number

GtkWidget * window_number

◆ workspace_name_entry