Daveski
November 3rd, 2006, 11:12 PM
Hi there.
I am playing with creating my first simple GUI app but having trouble finding documentation and examples that I can understand.
I have Glade installed and this seems quite easy to use, but I am trying to find out how to get and set Widget properties in plain old c. For example I have found:
gtk_label_set_text(GTK_LABEL(label), "Some Text");
To set the text property of a Label Widget, but I really cannot find this documented anywhere - I have ruined my eyes browsing through the GTK+ API Docs. How for example can I get the 'Active' property of say a CheckButton or a ToggleButton?
If anyone can point me in the direction that I have obviously missed, I would be most grateful.
I am playing with creating my first simple GUI app but having trouble finding documentation and examples that I can understand.
I have Glade installed and this seems quite easy to use, but I am trying to find out how to get and set Widget properties in plain old c. For example I have found:
gtk_label_set_text(GTK_LABEL(label), "Some Text");
To set the text property of a Label Widget, but I really cannot find this documented anywhere - I have ruined my eyes browsing through the GTK+ API Docs. How for example can I get the 'Active' property of say a CheckButton or a ToggleButton?
If anyone can point me in the direction that I have obviously missed, I would be most grateful.