Re: Not show selection of a tree view column

2007-07-26 Thread amol
Hi, instead of depending on treeview default key handling. you can capture key press event on treeview and try to use gtk_tree_view_set_cursor (). with treeviewcolumn set to text column. hope this solves ur problem. regards, Amol. On Thu, 2007-07-26 at 09:35 -0400, Dave Foster wrote: > Hi folks,

GtkIconview item size.

2007-07-26 Thread amol
Hi , Is there any way to restrict item width in GtkIconView. I tried gtk_icon_view_set_item_width () but it is not working as expected. I am using iconview to display images. Suppose image width is 100 and i set item width to 70 than it is not restricting item width to 70 it takes value suitable to

Re: Performance of GMainLoop

2007-07-26 Thread Andreas Stricker
Tomasz Jankowski wrote: > Second thing is GMainLoop's code. I'd like to know how it works. I read > code, but it isn't to understand it for me. Are there any articles about it > or so interesting threads in mailing list's archive? If i will find > something interesting in archive, please tel me whe

Re: Not show selection of a tree view column

2007-07-26 Thread Peter Clifton
On Thu, 2007-07-26 at 15:06 +0100, Dave Howorth wrote: > Peter Clifton wrote: > > I think a brand new widget might be needed - one which has a more > > "table" like rendering model. > > I presume a GtkTable isn't table-like enough :) GtkTable is a container for widgets, and (as far as I know) do

Re: Not show selection of a tree view column

2007-07-26 Thread Dave Howorth
Peter Clifton wrote: > I think a brand new widget might be needed - one which has a more > "table" like rendering model. I presume a GtkTable isn't table-like enough :) Cheers, Dave ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http:/

Re: Not show selection of a tree view column

2007-07-26 Thread Dave Foster
On 7/26/07, Peter Clifton <[EMAIL PROTECTED]> wrote: > I love the screen-shots, but I fear doing this properly is something > which GtkTreeView can't do. > > In an application I'm working on, I would really love to use a row which > spans columns for the purpose of rendering a: > "Click here to ad

Re: Not show selection of a tree view column

2007-07-26 Thread Peter Clifton
On Thu, 2007-07-26 at 09:35 -0400, Dave Foster wrote: > Hi folks, > > Was wondering if it was possible to have a column omitted from the selection > bar in a gtk treeview. I've made a custom renderer which displays a strip > of an image, so you can split that image over a number of rows. It look

Not show selection of a tree view column

2007-07-26 Thread Dave Foster
Hi folks, Was wondering if it was possible to have a column omitted from the selection bar in a gtk treeview. I've made a custom renderer which displays a strip of an image, so you can split that image over a number of rows. It looks terrible with selection rectangles behind it, even worse with

Performance of GMainLoop

2007-07-26 Thread Tomasz Jankowski
Hello! I'm working on network application (both server and client). I decided to implement asynchronous socket in my code. I want do this using GMainLoop to avoid writing multi thread application. I will add new GSource to main GMainContext, which will handle each socket or add one GSource, which