[Mono-list] Gtk objects

Mario Carrión mario.carrion at gmail.com
Fri Mar 31 11:42:31 EST 2006


On 3/31/06, Tomas Olofsson <hobbe at acc.umu.se> wrote:
> Hi
Hello

> I'm writing a client/server application and have divided the client in two
> classes. I have a gui-class and a functional-class.
> I have a big problem that I can't access and change the gtk object properties
> from the functional class, the program just "hangs" on the codeline and
> doesn't do anything. I can change "regular" variables
> like strings, int, double and so on but gtk objects don't respond.
> I have tried to set the gtk objects to public and also fetch them with
> set- and get-methods.
>
> Does anyone have an idea of what I have done wrong?
If you are changing from another Thread different than main see the
Responsive Applications article[1] for getting a solution.

[1] http://www.mono-project.com/Responsive_Applications

Cheers
-----
Mario Carrión <mario.carrion at gmail.com>


More information about the Mono-list mailing list