|
1 | | ----------------------------------------------------------------main.c--------------------------------------------------------------- |
| 1 | +-----------------------------------------------------------------main.c----------------------------------------------------------------- |
2 | 2 |
|
3 | 3 | You should know: |
4 | 4 | - D_ prefix is used for Diploma Holder functions. |
@@ -75,4 +75,24 @@ void create_diploma_interface(GtkWidget *container) |
75 | 75 | NOTE: The `create_diploma_interface` function plays a key role in providing a user interface for diploma holders to |
76 | 76 | enter their results and choose their department for subsequent actions or calculations in the application. |
77 | 77 |
|
78 | | ------------------------------------------------------------------------------------------------------------------------------------- |
| 78 | +GtkWidget *content_area; |
| 79 | +- This global widget serves as the main container for the content in the application. |
| 80 | + It is where different interfaces are loaded and displayed. |
| 81 | + |
| 82 | +GtkWidget *ssc_entry, *hsc_entry; |
| 83 | +- These global entry widgets are used for inputting SSC (Secondary School Certificate) and HSC (Higher Secondary Certificate) results |
| 84 | + in the undergraduate interface. |
| 85 | + |
| 86 | +GtkWidget *department_combo; |
| 87 | +- This global combo box widget allows users to select a department from a list of options in both undergraduate and diploma interfaces. |
| 88 | + |
| 89 | +GtkWidget *result_view; |
| 90 | +- This global text view widget is used to display results or messages back to the user. It is set to be non-editable. |
| 91 | + |
| 92 | +GtkTextBuffer *result_buffer; |
| 93 | +- Associated with `result_view`, this global buffer stores the text displayed in the text view widget. |
| 94 | + |
| 95 | +GtkWidget *diploma_entry; |
| 96 | +- Similar to `ssc_entry` and `hsc_entry`, this global entry widget is used for inputting diploma results in the diploma interface. |
| 97 | + |
| 98 | +---------------------------------------------------------------------------------------------------------------------------------------- |
0 commit comments