Skip to content

Commit 862442a

Browse files
added global widget documentation
1 parent e6ff319 commit 862442a

File tree

1 file changed

+22
-2
lines changed
  • NUB_Admission_Costing_Calculator/docs

1 file changed

+22
-2
lines changed

NUB_Admission_Costing_Calculator/docs/main.txt

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---------------------------------------------------------------main.c---------------------------------------------------------------
1+
-----------------------------------------------------------------main.c-----------------------------------------------------------------
22

33
You should know:
44
- D_ prefix is used for Diploma Holder functions.
@@ -75,4 +75,24 @@ void create_diploma_interface(GtkWidget *container)
7575
NOTE: The `create_diploma_interface` function plays a key role in providing a user interface for diploma holders to
7676
enter their results and choose their department for subsequent actions or calculations in the application.
7777

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

Comments
 (0)