pcb 4.1.1
An interactive printed circuit board layout editor.

gui-log-window.c File Reference

#include "gui.h"
#include "pcb-printf.h"
Include dependency graph for gui-log-window.c:

Go to the source code of this file.

Functions

static gint log_window_configure_event_cb (GtkWidget *widget, GdkEventConfigure *ev, gpointer data)
static void log_close_cb (gpointer data)
static void log_destroy_cb (GtkWidget *widget, gpointer data)
void ghid_log_window_create ()
void ghid_log_window_show (gboolean raise)
static void ghid_log_append_string (gchar *s)
void ghid_log (const char *fmt,...)
void ghid_logv (const char *fmt, va_list args)
static gint GhidLogShowOnAppend (int argc, char **argv, Coord x, Coord y)

Variables

static GtkWidget * log_window
static GtkWidget * log_text
static gboolean log_show_on_append = FALSE
static const char logshowonappend_syntax [] = "LogShowOnAppend(true|false)"
static const char logshowonappend_help []
HID_Action ghid_log_action_list []

Function Documentation

void ghid_log ( const char *  fmt,
  ... 
)

Definition at line 132 of file gui-log-window.c.

References ghid_logv().

Referenced by REGISTER_FLAGS().

Here is the call graph for this function:

static void ghid_log_append_string ( gchar *  s) [static]

Definition at line 122 of file gui-log-window.c.

References FALSE, ghid_log_window_create(), ghid_log_window_show(), ghid_text_view_append(), log_show_on_append, and log_text.

Referenced by ghid_logv().

Here is the call graph for this function:

void ghid_log_window_show ( gboolean  raise)

Definition at line 113 of file gui-log-window.c.

References ghid_log_window_create(), and log_window.

Referenced by DoWindows(), and ghid_log_append_string().

Here is the call graph for this function:

void ghid_logv ( const char *  fmt,
va_list  args 
)

Definition at line 141 of file gui-log-window.c.

References ghid_log_append_string(), and pcb_vprintf().

Referenced by ghid_log(), and REGISTER_FLAGS().

Here is the call graph for this function:

static gint GhidLogShowOnAppend ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 157 of file gui-log-window.c.

References FALSE, log_show_on_append, and TRUE.

static void log_close_cb ( gpointer  data) [static]

Definition at line 60 of file gui-log-window.c.

References log_window.

Referenced by ghid_log_window_create().

static void log_destroy_cb ( GtkWidget *  widget,
gpointer  data 
) [static]

Definition at line 67 of file gui-log-window.c.

References log_window.

Referenced by ghid_log_window_create().

static gint log_window_configure_event_cb ( GtkWidget *  widget,
GdkEventConfigure *  ev,
gpointer  data 
) [static]

Variable Documentation

Initial value:

Definition at line 172 of file gui-log-window.c.

gboolean log_show_on_append = FALSE [static]

Definition at line 42 of file gui-log-window.c.

Referenced by ghid_log_append_string(), and GhidLogShowOnAppend().

GtkWidget * log_text
GtkWidget* log_window [static]
const char logshowonappend_help[] [static]
Initial value:
"If true, the log window will be shown whenever something is appended \
to it.  If false, the log will still be updated, but the window won't \
be shown."

Definition at line 151 of file gui-log-window.c.

const char logshowonappend_syntax[] = "LogShowOnAppend(true|false)" [static]

Definition at line 148 of file gui-log-window.c.