From 88b4e6fab6c8dae1057567a67ec31718fa9c4649 Mon Sep 17 00:00:00 2001
From: Matthias Melcher
The second form sets the vertical scrollbar position to p.
This method returns the bounding box for the interior of the list, inside +
[protected] This method returns the bounding box for the interior of the list, inside the scrollbars.
This method should be used when an item is deleted from the list. +
[protected] This method should be used when an item is deleted from the list. It allows the Fl_Browser_ to discard any cached data it has on the item. @@ -140,16 +140,16 @@ callback function for the widget.
This method returns non-zero if item p is currently visible in +
[protected] This method returns non-zero if item p is currently visible in the list.
The first form draws the list within the normal widget bounding box. +
[protected] The first form draws the list within the normal widget bounding box. -
The second form draws the contents of the browser within the +
[protected] The second form draws the contents of the browser within the specified bounding box. @@ -161,14 +161,14 @@ displayed at that position then NULL is returned.
This method may be provided by the subclass to indicate the full height +
[protected] This method may be provided by the subclass to indicate the full height of the item list in pixels. The default implementation computes the full height from the item heights.
This method may be provided by the subclass to indicate the full width +
[protected] This method may be provided by the subclass to indicate the full width of the item list in pixels. The default implementation computes the full width from the item widths. @@ -178,7 +178,7 @@ width from the item widths.
The first form handles an event within the normal widget bounding box. -
The second form handles an event within the specified bounding box. +
[protected] The second form handles an event within the specified bounding box.
This method may be provided to return the average height of all items, to +
[protected] This method may be provided to return the average height of all items, to be used for scrolling. The default implementation uses the height of the first item.
This method should be used when an item is added to the list. +
[protected] This method should be used when an item is added to the list. It allows the Fl_Browser_ to update its cache data as needed.
This method must be provided by the subclass to draw the item +
[protected] This method must be provided by the subclass to draw the item p in the area indicated by x, y, w, and h.
This method must be provided by the subclass to return the first item in +
[protected] This method must be provided by the subclass to return the first item in the list.
This method must be provided by the subclass to return the height of the +
[protected] This method must be provided by the subclass to return the height of the item p in pixels. Allow for two additional pixels for the list selection box.
This method must be provided by the subclass to return the item in +
[protected] This method must be provided by the subclass to return the item in the list after p.
This method must be provided by the subclass to return the item in +
[protected] This method must be provided by the subclass to return the item in the list before p.
This method may be provided by the subclass to return the height of the +
[protected] This method may be provided by the subclass to return the height of the item p in pixels. Allow for two additional pixels for the list selection box. This method differs from item_height in that it is only @@ -277,34 +277,34 @@ calls item_height.
This method must be implemented by the subclass if it supports +
[protected] This method must be implemented by the subclass if it supports multiple selections in the browser. The s argument specifies the selection state for item p: 0 = off, 1 = on.
This method must be implemented by the subclass if it supports +
[protected] This method must be implemented by the subclass if it supports multiple selections in the browser. The method should return 1 if p is selected and 0 otherwise.
This method must be provided by the subclass to return the width of the +
[protected] This method must be provided by the subclass to return the width of the item p in pixels. Allow for two additional pixels for the list selection box.
This method returns the X position of the left edge of the list area +
[protected] This method returns the X position of the left edge of the list area after adjusting for the scrollbar and border, if any.
This method should be called when the list data is completely replaced +
[protected] This method should be called when the list data is completely replaced or cleared. It informs the Fl_Browser_ widget that any cached information it has concerning the items is invalid. @@ -319,18 +319,18 @@ area.
This method should be called when the contents of an item have changed +
[protected] This method should be called when the contents of an item have changed but not changed the height of the item.
This method will cause the entire list to be redrawn. +
[protected] This method will cause the entire list to be redrawn.
This method should be used when an item is replaced in the list. +
[protected] This method should be used when an item is replaced in the list. It allows the Fl_Browser_ to update its cache data as needed. @@ -375,7 +375,7 @@ callback function for the widget.
Returns the item currently selected, or NULL if there is no selection. +
[protected] Returns the item currently selected, or NULL if there is no selection.
For multiple selection browsers this call returns the currently focused item, even if it is not selected. To find all selected items, call @@ -412,7 +412,7 @@ browser.
Returns the item the appears at the top of the list. +
[protected] Returns the item the appears at the top of the list.