Gnumed.wxpython.gmListWidgets.cReportListCtrl

Package Gnumed :: Package wxpython :: Module gmListWidgets :: Class cReportListCtrl |
[frames] | no frames]

# Class cReportListCtrl

source code

    wx.lib.mixins.listctrl.ListCtrlAutoWidthMixin --+
                                                    |
         wx.lib.mixins.listctrl.ColumnSorterMixin --+
                                                    |
                                      wx.ListCtrl --+
                                                    |
                                                   cReportListCtrl

Instance Methods
__init__(self, *args, **kwargs) | source code
CacheBestSize(self, *args, **kwargs) | source code
Fit(self, *args, **kwargs) | source code
FitInside(self, *args, **kwargs) | source code
InvalidateBestSize(self, *args, **kwargs) | source code
SetBestFittingSize(self, *args, **kwargs) | source code
SetInitialSize(self, *args, **kwargs) | source code
SetClientSize(self, *args, **kwargs) | source code
SetClientSizeWH(self, *args, **kwargs) | source code
SetMaxClientSize(self, *args, **kwargs) | source code
SetMaxSize(self, *args, **kwargs) | source code
SetMinClientSize(self, *args, **kwargs) | source code
SetMinSize(self, *args, **kwargs) | source code
SetSize(self, *args, **kwargs) | source code
SetSizeHints(self, *args, **kwargs) | source code
SetSizeHintsSz(self, *args, **kwargs) | source code
SetSizeWH(self, *args, **kwargs) | source code
SetVirtualSize(self, *args, **kwargs) | source code
SetVirtualSizeHints(self, *args, **kwargs) | source code
SetVirtualSizeHintsSz(self, *args, **kwargs) | source code
SetVirtualSizeWH(self, *args, **kwargs) | source code
GetAdjustedBestSize(self, *args, **kwargs) | source code
GetEffectiveMinSize(self, *args, **kwargs) | source code
GetBestSize(self, *args, **kwargs) | source code
GetBestSizeTuple(self, *args, **kwargs) | source code
GetBestVirtualSize(self, *args, **kwargs) | source code
GetClientSize(self, *args, **kwargs) | source code
GetMaxClientSize(self, *args, **kwargs) | source code
GetMaxHeight(self, *args, **kwargs) | source code
GetMaxSize(self, *args, **kwargs) | source code
GetMaxWidth(self, *args, **kwargs) | source code
GetMinClientSize(self, *args, **kwargs) | source code
GetMinHeight(self, *args, **kwargs) | source code
GetMinSize(self, *args, **kwargs) | source code
GetMinWidth(self, *args, **kwargs) | source code
GetSize(self, *args, **kwargs) | source code
GetVirtualSize(self, *args, **kwargs) | source code
GetVirtualSizeTuple(self, *args, **kwargs) | source code
set_columns(self, columns=None) (Re)define the columns. | source code
set_column_widths(self, widths=None) Set the column width policy. | source code
set_resize_column(self, column='LAST') | source code
remove_items_safely(self, max_tries=3) | source code
set_string_items(self, items=None, reshow=True, unwrap=True) All item members must be str()able or None. | source code
get_string_items(self) | source code
append_string_items_and_data(self, new_items, new_data=None, allow_dupes=False) | source code
set_data(self, data=None) <data> assumed to be a list corresponding to the item indices | source code
set_selections(self, selections=None) | source code
get_column_labels(self) | source code
get_item(self, item_idx=None) | source code
get_items(self) | source code
get_selected_items(self, only_one=False) | source code
get_selected_string_items(self, only_one=False) | source code
get_item_data(self, item_idx=None) | source code
get_selected_item_data(self, only_one=False) | source code
deselect_selected_item(self) | source code
remove_item(self, item_idx=None) | source code
GetListCtrl(self) | source code
OnSortOrderChanged(self) | source code
GetSecondarySortValues(self, primary_sort_col, primary_item1_idx, primary_item2_idx) | source code

Class Variables
| sort_order_tags = `{True: ' [\u03b1\u0391 \u2192 \u03c9\u03A9]'`...``
| string_items = `property(get_string_items, set_string_items)`
| data = `property(_get_data, set_data)`
| selections = `property(__get_selections, set_selections)`
| column_labels = `property(get_column_labels, lambda x: x)`
| items = `property(get_items, lambda x: x)`
| selected_items = `property(get_selected_items, lambda x: x)`
| selected_string_items = `property(get_selected_string_items, la`...``
| item_data = `property(get_item_data, lambda x: x)`
| selected_item_data = `property(get_selected_item_data, lambda x`...``
| searchable_columns = `property(lambda x: x, _set_searchable_cols)`
| activate_callback = `property(_get_activate_callback, _set_acti`...``
| select_callback = `property(_get_select_callback, _set_select_c`...``
| deselect_callback = `property(_get_deselect_callback, _set_dese`...``
| delete_callback = `property(_get_delete_callback, _set_delete_c`...``
| new_callback = `property(_get_new_callback, _set_new_callback)`
| edit_callback = `property(_get_edit_callback, _set_edit_callback)`
| item_tooltip_callback = `property(lambda x: x, _set_item_toolti`...``
| extend_popup_menu_callback = `property(lambda x: x, _set_extend`...``
| secondary_sort_column = `property(__get_secondary_sort_col, __s`...``

Method Details

### set_columns(self, columns=None) | source code
(Re)define the columns. Note that this will (have to) delete the items.

### set_column_widths(self, widths=None) | source code
    Set the column width policy.

    widths = None:
            use previous policy if any or default policy
    widths != None:
            use this policy and remember it for later calls

    options:
            wx.LIST_AUTOSIZE_USEHEADER
            wx.LIST_AUTOSIZE

    This means there is no way to *revert* to the default policy :-(

Class Variable Details

  ### sort_order_tags Value:
      {True: ' [\u03b1\u0391 \u2192 \u03c9\u03A9]', False: ' [\u03c9\u03A9 \
      u2192 \u03b1\u0391]'}

  ### selected_string_items Value:
      property(get_selected_string_items, lambda x: x)

  ### selected_item_data Value:
      property(get_selected_item_data, lambda x: x)

  ### activate_callback Value:
      property(_get_activate_callback, _set_activate_callback)

  ### select_callback Value:
      property(_get_select_callback, _set_select_callback)

  ### deselect_callback Value:
      property(_get_deselect_callback, _set_deselect_callback)

  ### delete_callback Value:
      property(_get_delete_callback, _set_delete_callback)

  ### item_tooltip_callback Value:
      property(lambda x: x, _set_item_tooltip_callback)

  ### extend_popup_menu_callback Value:
      property(lambda x: x, _set_extend_popup_menu_callback)

  ### secondary_sort_column Value:
      property(__get_secondary_sort_col, __set_secondary_sort_col)