GTK TreeView change the column header color

2015-06-13 Thread Juan L. Freniche
I am trying to change the color of the column headers of a treeview, with no sucess at all. I followed the way indicated in an old post in Nov. 2003: I tried: for each column in the treeview: when defining the column, set_widget (col, label) now show the widget (i.e., the

Gtk TreeView emits a beep

2013-11-07 Thread raum
Hello, I'm programming a tool using Vala langage. I need to manipulate a treeview, delete an item for example. I'm trapped the release key event but for certain keys, treeview emits a beep (left or right arrow, del keys). How can I remove this beep ? CODE sample.vala

GTK+ TreeView: Different CellRenderers on the same Column

2011-10-17 Thread Stefan Salewski
I am working on a configuration file editor for an graphical application. Configuration consists of strings, numbers and boolean values. About 25 values total. I can use individual widgets for each property, but for larger quantities a listview is a more compact form. It would we nice to have

Re: GTK+ TreeView: Different CellRenderers on the same Column

2011-10-17 Thread Colomban Wendling
Le 17/10/2011 13:53, Stefan Salewski a écrit : I am working on a configuration file editor for an graphical application. Configuration consists of strings, numbers and boolean values. About 25 values total. I can use individual widgets for each property, but for larger quantities a listview

Re: GTK+ TreeView: Different CellRenderers on the same Column

2011-10-17 Thread Stefan Salewski
On Mon, 2011-10-17 at 15:11 +0200, Colomban Wendling wrote: [...] The other solution I know is to pack all CellRenderer that might be used for editing, and only make one visible/sensitive, depending on the row's value type. This is what we current use in the implementation of Geany's stash

Re: gtk treeview windows

2009-02-07 Thread Matthew Talbert
Oh, sorry. I assume you have verified that you don't have any heap corruption by running the code under valgrind on Linux? Other than that I really can't give any specific advice. Perhaps ask somebody else to read the code carefully. If the problem did not occur at some earlier stage, then

Re: gtk treeview windows

2009-02-07 Thread Larry Reaves
On Sat, 2009-02-07 at 14:25 -0500, Matthew Talbert wrote: Oh, sorry. I assume you have verified that you don't have any heap corruption by running the code under valgrind on Linux? Other than that I really can't give any specific advice. Perhaps ask somebody else to read the code

Re: gtk treeview windows

2009-02-06 Thread Tor Lillqvist
Not trying to be offensive, but if I could reproduce this every time, I wouldn't be asking for debugging suggestions. Oh, sorry. I assume you have verified that you don't have any heap corruption by running the code under valgrind on Linux? Other than that I really can't give any specific

gtk treeview windows

2009-02-05 Thread Matthew Talbert
Hi all, I am a developer for Xiphos (previously GnomeSword) and I'm heavily involved in our Windows port effort. Most things have gone smoothly, but one issue really has me stumped. Occasionally all of the treeviews in the application will freeze. By this I mean that they will not expand or

Re: gtk treeview windows

2009-02-05 Thread Tor Lillqvist
I would appreciate any suggestions as to how to debug this further. Write a minimal sample program that exhibits the problem, file a bug, and attach the sample program (as a single source file in C; no binaries, not zip archives, no makefiles) to the bug. -tml

Re: Can I make a not aligned gtk treeview?

2007-12-17 Thread Mikael Hallendal
17 dec 2007 kl. 08.29 skrev Binary Chen: Hi, A TreeView will always align the columns. However, to achieve the behavior you look for you can pack two cell renderers into the same column. Cheers, Mikael Hallendal Hi, I have a gtktreeview with two column, the first one is pixbuf, the

Can I make a not aligned gtk treeview?

2007-12-16 Thread Binary Chen
Hi, I have a gtktreeview with two column, the first one is pixbuf, the second one is a string. something happen bad if in a row the first pixbuf is NULL, so it doesn't occupy any place, but in the following row there is a pixbuf and occupy some place. the default behavior of gtktreeview will

GTK treeview very slow?

2007-09-02 Thread Binary Chen
Hi, I am running GTK treeview in a slow machine, say, with a 200MHz CPU, I am using a treeview with about 20 nodes as total. When I scroll the treeview scroll bar, the image get to freeze for a while... I then try with a simpler table with 1 column, the speed is quite fast, I can aware

Re: [Gtk#] TreeView.

2005-09-22 Thread Christian Neumair
Am Dienstag, den 20.09.2005, 20:05 +0200 schrieb Nicolas Cormier: I have a Treeview and I want to active the EnterNotifyEvent when a the user's cursor is on a row. I active the EnterNotifyEvent for the treeview but it works only for the entire of the widget. See [1] for a patch against

Re: [Gtk#] TreeView.

2005-09-22 Thread Nicolas Cormier
On 9/22/05, Christian Neumair [EMAIL PROTECTED] wrote: Am Dienstag, den 20.09.2005, 20:05 +0200 schrieb Nicolas Cormier: I have a Treeview and I want to active the EnterNotifyEvent when a the user's cursor is on a row. I active the EnterNotifyEvent for the treeview but it works only for

Gtk# - Treeview

2005-09-20 Thread Nicolas Cormier
Hi, I have a Treeview and I want to active the EnterNotifyEvent when a the user's cursor is on a row. I active the EnterNotifyEvent for the treeview but it works only for the entire of the widget. Thanks in advance for your help. ___ gtk-app-devel-list

Gtk treeview use with large data sources

2005-09-06 Thread Kim Adil
I have been searching for some time now to figure out how to approach using gtk treeview ( with a list model) with a sql database. I am using odbc on multiple platforms , hence gnomedb is not appropriate. Ideally the scrollwindow will behave as per using the standard list model. My questions: (1