gCAD3D 2.40
gui_gtk2/gtk_msgWin.c File Reference

messagewindow More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "../ut/ut_umem.h"
#include "../gui/gui_types.h"
#include "../gui/gui_base.h"
#include "../gui_gtk2/gtk_base.h"
#include "../gui_gtk2/gtk_msgWin.h"


MemObj GUI_msgwin__ (MemObj *o_par, char *opts)
int GUI_msgwin_prf (MemObj *mo, char *txbuf)
int GUI_msgwin_prt (MemObj *mo, char *txbuf)
int GUI_msgwin_rmLast (MemObj *mo)


int UI_fontsizX
int UI_fontsizY

Detailed Description


GUI_msgwin__ Create messagewindow
GUI_msgwin_prt wr string -> messagewindow
GUI_msgwin_prf wr file -> messagewindow
GUI_msgwin_rmLast remove last line
max linelength = 255

Function Documentation

MemObj GUI_msgwin__ ( MemObj o_par,
char *  opts 
* create textwindow
* o_par parentBox
* opts options; (HorSiz,VertSiz)
* HorSiz,VertSiz: size in characters; default is automatic size.
* 'e' = expand widget; default is fixed size.
* negative values: size in pixels.
* Examples: "" or "10" or "10e,e"
* "10e,e" horiz. size 10 chars, hor. and vert. expandable.
int GUI_msgwin_prf ( MemObj mo,
char *  txbuf 

write file to textwindow

int GUI_msgwin_prt ( MemObj mo,
char *  txbuf 
* write textline to textwindow
* skip msg, if first 60 chars ident.
* txbuf == NULL to clear buffer
int GUI_msgwin_rmLast ( MemObj mo)

delete last textoutputline

Variable Documentation

int UI_fontsizX
int UI_fontsizY