PIPS
|
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "genC.h"
#include "misc.h"
#include <gtk/gtk.h>
#include "gpips.h"
Go to the source code of this file.
Functions | |
void | start_query (char *window_title, char *query_title, char *help_topic, success(*ok_func)(const char *), void(*cancel_func)(GtkWidget *, gpointer)) |
void | end_query_notify (GtkWidget *widget, gpointer data) |
void | help_query_notify (GtkWidget *widget, gpointer data) |
void | cancel_query_notify (GtkWidget *widget, gpointer data) |
hides a window... More... | |
void | cancel_user_request_notify (GtkWidget *widget, gpointer data) |
Cancel clear the string value and return: More... | |
success | end_user_request_notify (const char *the_answer) |
string | gpips_user_request (const char *a_printf_format, va_list *args) |
void | create_query_window () |
Variables | |
static GtkWidget * | query_entry |
static GtkWidget * | query_entry_label |
static GtkWidget * | query_cancel_button |
static char * | query_help_topic |
static success(* | apply_on_query )(const char *) |
void cancel_query_notify | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
hides a window...
Definition at line 118 of file gtk_query.c.
References hide_window(), and query_dialog.
Referenced by cancel_create_workspace_notify(), and start_directory_notify().
void cancel_user_request_notify | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Cancel clear the string value and return:
Just return the "":
Definition at line 123 of file gtk_query.c.
References hide_window(), query_dialog, and query_entry.
Referenced by gpips_user_request().
void create_query_window | ( | ) |
seems it has no use. RK, 9/11/93.
Definition at line 163 of file gtk_query.c.
References end_query_notify(), gpips_gtk_dialog_get_content_area(), help_button, help_query_notify(), ok_button, query_cancel_button, query_dialog, query_entry, and query_entry_label.
Referenced by gpips_main(), and wpips_main().
void end_query_notify | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 102 of file gtk_query.c.
References apply_on_query, hide_window(), query_dialog, query_entry, and strdup().
Referenced by create_query_window().
success end_user_request_notify | ( | const char * | the_answer | ) |
Definition at line 130 of file gtk_query.c.
References hide_window(), and query_dialog.
Referenced by gpips_user_request().
string gpips_user_request | ( | const char * | a_printf_format, |
va_list * | args | ||
) |
char * the_answer;
Log the answer for possible rerun through tpips:
he_answer
Definition at line 136 of file gtk_query.c.
References cancel_user_request_notify(), end_user_request_notify(), query_dialog, query_entry, SMALL_BUFFER_LENGTH, start_query(), strdup(), and user_log().
Referenced by gpips_main().
void help_query_notify | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 113 of file gtk_query.c.
References display_help(), and query_help_topic.
Referenced by create_query_window().
void start_query | ( | char * | window_title, |
char * | query_title, | ||
char * | help_topic, | ||
success(*)(const char *) | ok_func, | ||
void(*)(GtkWidget *, gpointer) | cancel_func | ||
) |
PANEL_NOTIFY_PROC, cancel_query_notify,
No cancel button requested:
Definition at line 47 of file gtk_query.c.
References apply_on_query, query_cancel_button, query_dialog, query_entry, query_entry_label, and query_help_topic.
Referenced by gpips_user_request(), start_create_workspace_notify(), and start_directory_notify().
|
static |
Definition at line 45 of file gtk_query.c.
Referenced by end_query_notify(), and start_query().
|
static |
Definition at line 42 of file gtk_query.c.
Referenced by create_query_window(), and start_query().
|
static |
Definition at line 41 of file gtk_query.c.
Referenced by cancel_user_request_notify(), create_query_window(), end_query_notify(), gpips_user_request(), and start_query().
|
static |
Definition at line 41 of file gtk_query.c.
Referenced by create_query_window(), and start_query().
|
static |
Definition at line 44 of file gtk_query.c.
Referenced by help_query_notify(), and start_query().