[Gtk-sharp-list] I really need some sort of tutorial

Kenneth D Weinert kenw at quarter-flash.com
Mon Jun 2 10:14:34 EDT 2008

Hash: SHA1

on interactive applications.

I am working on a Powerball simulator and I'm just completely lost on
how to make the application part responsive.

Basically, there are a lot of fields (you can see an image at
http://quarter-flash.com/powerball.png) and the [Play] button kicks
off either a thread or just starts the loop that starts running the

Because the actual code for updating fields is part of a separate
class (separate from the GUI) I am not seeing the UI update at all.

I have seen a lot of very simple tutorials on how to make a GUI
responsive, but I'm not seeing two way communications happening. That
is, I need to grab values from the text entry fields, process them,
and then update the text entry fields with the new values.

I'm most likely just being very dense here, and I'm finding it very
difficult to wrap my mind around how this works. I think I understand
that if the user was editing the fields I could attach callbacks for
the fields, but since it's the program editing the fields I'm just not
making the connection (literally :) in how this works.

The interface was designed in Glade and perhaps there are some
properties there that I've set incorrectly that are hindering my attempts.

Any pointers/references that you can point me to would be *greatly*

I don't have any previous experience with using GTK in C or C++.

Thank you.


- --
Ken Weinert
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Gtk-sharp-list mailing list