* Diego Zuccato ([EMAIL PROTECTED]) wrote:
Carl B. Constantine wrote:
Thanks for the reply. That confirms what I suspected, but IMHO very bad
design as it creates extra overhead for memory and storage in the
TreeModel (ListStore in this case) instead of being able to determine
the
The Gnome 2.0 porting docs contain the following information on the
GtkCellRender widget (under new widgets in the docs):
* Cell renderer properties can be set per-renderer or per-cell (based on
data in the model). So for example, the text renderer has a foreground
property for the foreground
Carl B. Constantine wrote:
...Also, with GtkTreeViewColumn, you can bind a property to a value in a
GtkTreeModel. For example, you can bind the text property on the cell
renderer to a string value in the model, thus rendering a different string in
each row of the GtkTreeView.
When you add a
Hi,
Carl B. Constantine [EMAIL PROTECTED] writes:
However, I can't really find any code examples of how to do anything
suggested in these docs. For example, I have a GtkTextView that only
has a single column in it. When I click a button in my window, I
want to find out the current selection
* Diego Zuccato ([EMAIL PROTECTED]) wrote:
Carl B. Constantine wrote:
...Also, with GtkTreeViewColumn, you can bind a property to a value in a
GtkTreeModel. For example, you can bind the text property on the cell
renderer to a string value in the model, thus rendering a different string
Hi,
Carl B. Constantine [EMAIL PROTECTED] writes:
Thanks for the reply. That confirms what I suspected, but IMHO very bad
design as it creates extra overhead for memory and storage in the
TreeModel (ListStore in this case) instead of being able to determine
the property programatically. What
* Sven Neumann ([EMAIL PROTECTED]) wrote:
the API reference is not exactly the place where you'd look for code
examples. The gtk-demo as found in the demos directory of the GTK+
source tree seems like a good place to look for such examples.
I didn't look there, I looked at the various examples
On Tue, 2003-03-04 at 17:51, Sven Neumann wrote:
How can I change attributes on a single cell without having extra
data in my model or do I really need the extra data in my model? I'm
sure I'm missing something obvious but the docs are confusing. Also,
storing extra attribute data in my