Definition in file ctk-textedit.h.
#include "ctk/ctk.h"
Go to the source code of this file.
Data Structures | |
struct | ctk_textedit |
Defines | |
#define | CTK_TEXTEDIT(tx, ty, tw, th, ttext) {CTK_LABEL(tx, ty, tw, th, ttext)}, 0, 0 |
Instantiating macro for the CTK textedit widget. | |
Functions | |
void | ctk_textedit_init (struct ctk_textedit *t) |
void | ctk_textedit_add (struct ctk_window *w, struct ctk_textedit *t) |
Add a CTK textedit widget to a window. | |
void | ctk_textedit_eventhandler (struct ctk_textedit *t, process_event_t s, process_data_t data) |
The CTK textedit signal handler. |
|
Instantiating macro for the CTK textedit widget.
Definition at line 57 of file ctk-textedit.h. |
|
Add a CTK textedit widget to a window.
Definition at line 70 of file ctk-textedit.c. References CTK_WIDGET_ADD, CTK_WIDGET_FLAG_MONOSPACE, and CTK_WIDGET_SET_FLAG. |
|
The CTK textedit signal handler. This function must be called as part of the normal signal handler of the process that contains the CTK textentry structure.
Definition at line 89 of file ctk-textedit.c. References ctk_signal_keypress, ctk_signal_widget_activate, CTK_WIDGET_FOCUS, CTK_WIDGET_REDRAW, ctk_label::h, ctk_textedit::label, ctk_label::text, ctk_label::w, ctk_label::window, ctk_textedit::xpos, and ctk_textedit::ypos. |