EZwgl implements a VT100 terminal emulator. The emulator code is modified from the "xiterm" source code. Thanks to the authors of xiterm.
Symbolic widget type | EZ_WIDGET_TERM |
Default class name | "Term" |
Default instance name | "term" |
Symbolic widget type | EZ_WIDGET_ITERM |
Default class name | "ITerm" |
Default instance name | "iTerm" |
Subwidgets of Text are listed below.
( iTerm term-->( ( verticalScrollbar
void EZ_GetTermComponents(EZ_Widget *widget, EZ_Widget **iterm,
EZ_Widget **vscr );
void void EZ_TermStartCommand(EZ_Widget *term, char **args);
void void EZ_TermStopCommand(EZ_Widget *term, int sig);
void EZ_TermSetExitHandler(EZ_Widget *ezterm,
EZ_CallBack cb, void *data);
void EZ_TermTouchScreen(EZ_Widget *term);
void EZ_TermPowerOn(EZ_Widget *term);
Screenshot
Resources
Config_Option ResourceName DefaultValue
EZ_CLASS class "Term"
or "ITerm"
EZ_NAME name "term"
or "iTerm"
EZ_X x
EZ_Y y
EZ_WIDTH width
EZ_HEIGHT height
EZ_LOCATION location
EZ_SIZE size
EZ_GEOMETRY geometry
EZ_WIDTH_HINT widthHint
EZ_HEIGHT_HINT heightHint
EZ_SIZE_HINT sizeHint
EZ_BORDER_WIDTH borderWidth 0
or 2
EZ_BORDER_TYPE borderType none
or sunken
EZ_FOCUS_PAD focusPad 0
or 2
EZ_PADX padx 8
or 0
EZ_PADY pady 6
or 0
EZ_IPADX iPadx 0
EZ_IPADY iPady 0
EZ_EXPAND expand false
EZ_PROPAGATE propagate true
EZ_TRANSIENT transient false
EZ_FONT_ID fontID 3
EZ_FONT_NAME fontName "*fixed*"
EZ_CURSOR cursor "XC_xterm"
EZ_BUBBLE_STRING bubbleString null
EZ_CALLBACK N/A null null
EZ_MOTION_CALLBACK N/A null null
EZ_DESTROY_CALLBACK N/A null null
EZ_EVENT_HANDLER N/A null null
EZ_FOREGROUND foreground "black"
EZ_BACKGROUND background "gray74
EZ_BG_IMAGE_FILE bgImageFile null
EZ_BG_PIXMAP N/A none
EZ_BG_IMAGE_FILE_B bgImageFileB null
EZ_BG_PIXMAP_B N/A none
EZ_CLIENT_PTR_DATA N/A null
EZ_CLIENT_INT_DATA clientIntData 0
EZ_DND_DRAG_CURSOR dndDragCursor none
EZ_DND_BUBBLE_STRING dndBubbleString null
EZ_OPTIONAL_VSCROLLBAR optionalVScrollbar true
EZ_SCROLLBAR_WIDTH scrollbarWidth 10
EZ_SCROLLBAR_BORDER_WIDTH scrollbarBorderWidth 2
EZ_VSCROLL_INCREMENT vScrollIncrement 1
EZ_TEXT_BACKGROUND textBackground
EZ_TERM_COLOR_N termColorN
EZ_TERM_CURSOR_COLOR termCursorColor
EZ_TERM_SAVE_LINES termSaveLines 64
EZ_TERM_REVERSE_VIDEO termReverseVideo false