Recent

Author Topic: Tlistview.OnItemChecked and Gtk2  (Read 6810 times)

Yogi

  • New Member
  • *
  • Posts: 42
Tlistview.OnItemChecked and Gtk2
« on: August 27, 2011, 01:17:14 am »
Hi All

I am using Gtk2 on Linux and there the OnItemChecked event of the TListView does not work for me.

In the bugtracker I found issue #17042; there in note 42428 Zelian Rikalo stated that this event would not work correctly under Gtk2.

It looks like this is still not solved for Gtk2, perhaps even not possible to solve.
Or did I miss something?

best regards
Yogi
Lazarus 1.3 SVN 44197 * FPC 2.7.1 SVN 26822
Linux: 3.2.0-4-686-pae * Debian wheezy
Windows: W98

zeljko

  • Hero Member
  • *****
  • Posts: 1668
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Tlistview.OnItemChecked and Gtk2
« Reply #1 on: February 13, 2012, 05:59:19 pm »
It should work when you change checkbox ON SELECTED item, but won't work if you just click checkbox on an unselected item.

zeljko

  • Hero Member
  • *****
  • Posts: 1668
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Tlistview.OnItemChecked and Gtk2
« Reply #2 on: February 17, 2012, 10:37:51 am »
@Yogi, I've fixed that in trunk lazarus 0.9.31 r35411

Yogi

  • New Member
  • *
  • Posts: 42
Re: Tlistview.OnItemChecked and Gtk2
« Reply #3 on: February 17, 2012, 11:24:59 am »
@zeljko: Thanks very much; will take a look at it over the weekend
Lazarus 1.3 SVN 44197 * FPC 2.7.1 SVN 26822
Linux: 3.2.0-4-686-pae * Debian wheezy
Windows: W98

Yogi

  • New Member
  • *
  • Posts: 42
Re: Tlistview.OnItemChecked and Gtk2
« Reply #4 on: February 18, 2012, 11:39:03 am »
 :)Works Perfect ;D
Lazarus 1.3 SVN 44197 * FPC 2.7.1 SVN 26822
Linux: 3.2.0-4-686-pae * Debian wheezy
Windows: W98

 

TinyPortal © 2005-2018