Re: selecting an iter in a single liststore

On Sep 17, 2004, at 7:04 AM, Alexandre Jousset wrote:

I have a problem to select a item in a ListStore when the list is in 'single' or 'browse' mode. When the list is in 'multiple' mode, the problem does not occur. Here is the code:

this is a known bug:

fixed already in gtk+ 2.4.10. the fix was committed last tuesday on both HEAD and the stable branch: rev=1.414&view=log

as a workaround, make your list not be the first widget in the focus chain of your dialog (or just upgrade gtk+).

my $win = Gtk2::Window->new('toplevel');

my $dialog = Gtk2::Dialog->new_with_buttons("title",

if the only reason you created $win was for the dialog to have a parent, you didn't need to; you can pass undef for $parent and the dialog will use the desktop as its parent window. (you don't want to do that for a modal dialog in a normal app, of course.)

Eight, eight, eight, eight ounces to gooooo, you're gonna be sedated!
  -- Elysse, singing while feeding rice cereal formula to
    fussy infant Yvonne

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