Re: Adding Columns to Gtk::TreeView
- From: "Surya Kiran Gullapalli" <suryakiran gullapalli gmail com>
- To: "Richard Boaz" <riboaz xs4all nl>, gtkmm-list gnome org
- Cc: Mark Kegel <mark kegel gmail com>
- Subject: Re: Adding Columns to Gtk::TreeView
- Date: Fri, 4 Aug 2006 16:52:57 +0530
Hi,
I'm into trouble again.
Gtk::ListStore has to be initialized with Gtk::TreeModelColumnRecord. (hence the number of columns should be specified at compile time itself), using Gtk::ListStore::create() function
how can i initialize gtk::liststore with out any column information. (the default constructor is protected).
consider 2 cases.
1. I've to add n number of columns but every column is of type string only, in that case, i can initialize some m columns all of type string (m is a huge number), But if i accidentally add m+1 th column, then i'm in soup.
2. If the n columns are of different types, then i cannot initialize the list store with some m columns.
Am i missing something here?
Surya
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]