[Gtk-sharp-list] Issue with Mono/GTK# app after threading (NewB)
john at meadowsonline.com
Tue Jul 12 06:07:43 EDT 2005
I certainly appreciate your offer!
Here are links to the source code (I hope posting links does not violate
netiquette for the group!)
Main app. source code:
The following are source two assemblies I use in the app.
And a link to the app. documentation:
(Don't use the links on this page -- they refer to an older version; in
the code links above I have pointed to newer code).
Francis Brosnan Blazquez wrote:
>El mar, 12-07-2005 a las 05:44 -0400, John Meadows escribió:
>>I am working on my first application written in Gnome/GTK# and mono
>>1.1.8 / Monodevelop; and I have run into an issue (if this is a NewB
>>issue, I apologize in advance).
>>This application has a couple of methods that are run via threads
>>(basically for filecopying, as my app. is a utility for managing MP3
>>files on my MP3 player), and I have tried to use the examples I have
>>seen online. Everything seems to work OK, but after I run one of these
>>threaded methods the first time I see one of the following issues:
>>1. If I display a FileSelection widget it comes up, but the text inside
>>the widget (the list of files basically) is not visible, even though it
>>appears to be there (as I have some debug code that fires off a line to
>>the console whenever a file is selected, so I think something is there
>>even if it is not displaying)
>>2. The main window of my application also uses a Treeview control. In a
>>manner similar to #1 above, after running one of my threaded methods
>>once, if I run a method to populate the treeview, neither the column
>>headings or the test for the items in the Treeview appear (although
>>again I have debug code writing to the console that shows there are
>>items in the Treeview; it's just the text that is not appearing properly).
>>I am not sure where to go with this from a debugging point of view. I
>>have put some sample code below, as maybe the issue is there, but I
>>don't know, and of course I did not want to post everything. Is there
>>some other refresh I need to call?
>>Any suggestions on what to try would be most appreciated!! Thanks in
>I'm interested on such application. Could you provide full sources so I
>can help you (or maybe someone else).
More information about the Gtk-sharp-list