#include <ctk.h>
For the CTK, each window is repessented by a ctk_window structure. All open windows are kept on a doubly linked list, linked by the next and prev fields in the ctk_window struct. The window structure holds all widgets that is contained in the window as well as a pointer to the currently selected widget.
Definition at line 489 of file ctk.h.
Data Fields | |
ctk_window * | next |
The next window in the doubly linked list of open windows. | |
ctk_window * | prev |
The previous window in the doubly linked list of open windows. | |
ctk_desktop * | desktop |
The desktop on which this window is open. | |
process * | owner |
The process that owns the window. | |
char * | title |
The title of the window. | |
unsigned char | titlelen |
The length of the title, cached for speed reasons. | |
ctk_label | closebutton |
ctk_label | titlebutton |
unsigned char | x |
The x coordinate of the window, in characters. | |
unsigned char | y |
The y coordinate of the window, in characters. | |
unsigned char | w |
The width of the window, excluding window borders. | |
unsigned char | h |
The height of the window, excluding window borders. | |
ctk_widget * | inactive |
The list if widgets that cannot be selected by the user. | |
ctk_widget * | active |
The list of widgets that can be selected by the user. | |
ctk_widget * | focused |
A pointer to the widget on the active list that is currently selected, or NULL if no widget is selected. |
|
The list of widgets that can be selected by the user. Buttons, hyperlinks, text entry fields, etc., are placed on this list. Definition at line 539 of file ctk.h. Referenced by ctk_window_clear(), and PROCESS_THREAD(). |
|
The list if widgets that cannot be selected by the user. Labels and separator widgets are placed on this list. Definition at line 535 of file ctk.h. Referenced by ctk_window_clear(). |
|
The process that owns the window. This process will be the receiver of all CTK signals that pertain to this window. Definition at line 498 of file ctk.h. Referenced by PROCESS_THREAD(). |
|
The title of the window. Used for constructing the "Dekstop" menu. |