Re: searching the word in treeview



On Thu, 2007-05-31 at 18:35 +0530, Govinda Parida wrote:
> 
> 
> Hi 
> 
> In my application i am using treeview. I want to search a particular
> string in the treeview  if it  found  then  then that will be high
> lated in the treeview with different color.

Do you want the user to be able to do this manually:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeView.html#63e68b7d085da11dffaacbe2693547da
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeView.html#561e31b2f5fceb35c441c6daec8a3689
or
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeView.html#68a6c99becef724d20d8e671b3ddb93f

or do you want to always highlight certain columns? For that you can use
set_cell_data_func()
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeViewColumn.html#765296845c9e9757ba405becbbc13d96
and a background color on the cellrenderer

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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