Re: TreeView Question: how does one use TreeModelColumn<enum MyEnum>
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Edward Leaver" <eleaver sterlingseismic com>
- Cc: gtkmm mailing list <gtkmm-list gnome org>
- Subject: Re: TreeView Question: how does one use TreeModelColumn<enum MyEnum>
- Date: Fri, 4 Aug 2006 12:02:48 +0200 (CEST)
> Here's what I would like to do:
> -------------------------------------------------------
> enum Checksum_t {NONE, ADLER32, CRC32, MD5};
>
> class C_Columns : public Gtk::TreeModel::ColumnRecord {
> public:
> Gtk::TreeModelColumn<Checksum_t> m_chksum_type;
> C_Columns(){
> add(m_chksum_type);
> };
> };
I'm quite sure that this should work, and is probably done quite often.
Please try creating a simple test case, or creating a small patch for an
existing example.
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]