virtual void SetTitle( const wxString &title );
virtual void SetBitmap( const wxBitmap &bitmap );
+
+ virtual void SetOwner( wxDataViewCtrl *owner );
+
+ virtual void SetAlignment( wxAlignment align );
+ virtual void SetSortable( bool sortable );
+ virtual bool GetSortable();
+ virtual void SetSortOrder( bool ascending );
+ virtual bool IsSortOrderAscending();
+
virtual int GetWidth();
virtual void SetFixedWidth( int width );
private:
// holds the GTK handle
void* m_column;
-
+
+ // delayed connection to mouse events
+ friend class wxDataViewCtrl;
+ void OnInternalIdle();
+ bool m_isConnected;
+
protected:
DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewColumn)
};
virtual bool IsSelected( unsigned int row ) const;
virtual int GetSelection() const;
virtual int GetSelections(wxArrayInt& aSelections) const;
-
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
private:
friend class wxDataViewCtrlDC;
+ friend class wxDataViewColumn;
friend class wxGtkDataViewListModelNotifier;
GtkWidget *m_treeview;
wxDataViewListModelNotifier *m_notifier;
+ virtual void OnInternalIdle();
+
private:
DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)
DECLARE_NO_COPY_CLASS(wxDataViewCtrl)