Re: CTree vs CList



David Robin <david robin st com> writes:
> 
> I'd like to find a widget with the following features:
> -hierarchical (?) view (eg. directories, subdirs and files) .
> - ability to left-click, double-click & right-click on a row, to call
> differents methods (eg: 'launch', 'expand' or 'show context-menu' ).
> 
> I thought Ctree was the right widget for me, because of the hierarchy feature,
> but it seems that row can't be left-clicked or double-clicked. There's only the
> 'select-row' event, which is not enough.
> At the opposite, CList captures left-click and double-click events, but there
> is no hierarchy feature.
> 

Certainly CTree supports left and double click. you are perhaps
missing that it inherits the signals from GtkCList and GtkWidget -
e.g. button_press_event from GtkWidget.

Havoc




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