Re: unset default row in a treeview (treesort)



"Thomas Funk" <t funk web de> writes:

     my $treeselection = &set_treeview_row($treeview_object, "Theme Manager");
     $start_init = FALSE;
   }

Oh, a set_cursor() under a "cursor-changed" might immediately recurse to
run "cursor-changed again.  Perhaps clear the $start_init before doing
the set_cursor().  Assuming a set_cursor() is in fact what you want!

Are you sure you don't want to make the initial selection and/or cursor
position when first setting in a model?  Or when the model is first
populated?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]