On Tue, Jul 01, 2014 at 01:39:03AM -0700, Anoop Neem wrote:
> This application is intended to convert value entered in Text entry
> field (in Celcius) to Farenheit in label. I was having hard time in
> altering the properties of two widgets (other than calling widget) in
> the same callback, hence
On Tuesday 01 July 2014 10:39:03 Anoop Neem wrote:
Hi,
try:
p->two = label = gtk_label_new(a);
p->one = textEntry = gtk_entry_new()
hope this helps,
zz
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.o
On Tue, Jul 01, 2014 at 01:39:03AM -0700, Anoop Neem wrote:
> p->one = textEntry;
> p->two = label;
Here the unititialised textEntry and label pointers are assigned to the
struct fields.
> textEntry = gtk_entry_new();
> calButton = gtk_button_new_with_label("Calculate");
This application is intended to convert value entered in Text entry
field (in Celcius) to Farenheit in label. I was having hard time in
altering the properties of two widgets (other than calling widget) in
the same callback, hence created a structure 'struct mulptr' for passing
two widgets. But whe