Could someone help me writing a new widget?
- From: Maurizio Colucci <seguso forever tin it>
- To: gtk-app-devel-list gnome org
- Subject: Could someone help me writing a new widget?
- Date: Thu, 8 Jan 2004 10:26:58 +0000
Hello,
for the FREE project http:/segusoland.sourceforge.net (see screenshots!)
I need some kind soul to help me writing a new CheckListBox widget which is
faster than the current one.
Its requirements are better specified in the file TODO-helping.txt, but I will
copy them here:
=========
* I need some gtk expert that rewrites the CheckListBox in order to
speed up selection and deselection of items.
We should exploit the fact that the CheckListBox can contain many
files, even thousands, but there are only a few visible files at
once.
In order to speed up, the interface of the new CheckListBox might
include methods such as "Lock" and "Unlock". This way you can 1)
lock 2) add many items without the CheckListBox to readraw itself
each time 3) unlock, and the changes are displayed all at once.
Also, the new Checklistbox should not have an elevator, but buttons
for moving one line at a time and one screen at a time. These
buttons should be big.
The mouse wheel should continue to work though.
Also, the new CheckListBox should be able to contain any widget
(derived from some base class CheckListBox::Item).
The new CheckListBox should continue to group selected items on top,
and keep them always visible.
The CheckListBox should be able to contain special items, called
"Separator", that cannot be selected.
The selectable items (those derived from CheckListBox::Item) should
have the following possible states: hidden, deselected, strongly-
selected, weakly-selected. Alternatively, we could merge
strongly-selected and weakly-selected into one, but then it should
be possible to set the colour of the selected items.
The items in the checklistbox should be sortable according to a
user-defined logic. Maybe the ::Item class should have a pure
virtual method "comparer".
=================
Thanks a lot :-)
Maurizio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]