X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07a84e7bbb3ed346fff59aa3570a1f687a3c4d7b..166c3ef0f9a77a66143968be2c1b58747994d32e:/include/wx/gtk/dataview.h diff --git a/include/wx/gtk/dataview.h b/include/wx/gtk/dataview.h index 2dac9cc212..6965502b28 100644 --- a/include/wx/gtk/dataview.h +++ b/include/wx/gtk/dataview.h @@ -196,7 +196,14 @@ public: virtual void SetTitle( const wxString &title ); virtual void SetBitmap( const wxBitmap &bitmap ); + + 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 ); @@ -208,7 +215,12 @@ public: 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) }; @@ -254,13 +266,15 @@ public: virtual int GetSelection() const; virtual int GetSelections(wxArrayInt& aSelections) const; - 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)