Re: Spontaneous background colors in treeview

2007-10-03 Thread Mikael Hallendal
4 okt 2007 kl. 06.26 skrev Jeffrey Barish: Hik > Kristian Rietveld wrote: > >> Hi, >> >> On Mon, Oct 01, 2007 at 11:30:58AM -0600, Jeffrey Barish wrote: >>> Stop presses. It's the number of columns. All data sets that >>> require 3 >>> columns have a background. All data sets that require 2

Re: Spontaneous background colors in treeview

2007-10-03 Thread Jeffrey Barish
Kristian Rietveld wrote: > Hi, > > On Mon, Oct 01, 2007 at 11:30:58AM -0600, Jeffrey Barish wrote: >> Stop presses. It's the number of columns. All data sets that require 3 >> columns have a background. All data sets that require 2 columns do not. >> >> Here it is. If I comment out the line

Re: timeout function not called

2007-10-03 Thread James Scott Jr
On Tue, 2007-10-02 at 10:51 -0400, [EMAIL PROTECTED] wrote: > I'm still muddling my way through my first GTK application (and I'm a > relative newbie on all software matters). > > I have the following in one of my callbacks: > > timer = g_timout_add(50, (GSourceFunc) progress_update, > (gpoint

GnomeVFS, gvfs, and FUSE

2007-10-03 Thread Micah Carrick
I have been reading that GnomeVFS should be avoided in the future. I have a GNOME application which works on text files opened locally or remotely via FTP and SSH using GnomeVFS. Should I move towards other options, such as FUSE? Is GVFS going to be the "next" GnomeVFS? -- - Micah Carrick

Re: Auto-scrolling the scrollbar on a TreeView

2007-10-03 Thread Kristian Rietveld
Hi, On Tue, Oct 02, 2007 at 06:29:31PM -0500, Rob Hoelz wrote: > ScrolledWindow to compensate. I've tried scroll_to_cell, but to no > avail. Any hints? I've posted the source code at > http://cs.wisc.edu/~hoelz/TodoList.pl; the problem is in the callback > at line 157. Both GtkTreeView and Gtk

Re: Spontaneous background colors in treeview

2007-10-03 Thread Kristian Rietveld
Hi, On Mon, Oct 01, 2007 at 11:30:58AM -0600, Jeffrey Barish wrote: > Stop presses. It's the number of columns. All data sets that require 3 > columns have a background. All data sets that require 2 columns do not. > > Here it is. If I comment out the line that sets the sort indicator, I do >

RE: Auto-scrolling the scrollbar on a TreeView

2007-10-03 Thread j.g.karssenberg
Hi, The behavior you want should happen automatically - works for me. Certain widgets, like the TreeView and the TextView understand if they are nested within a scrolled window and scroll automatically when needed. Probably there is something wrong with the way you set up the scrolled window a

Re: gcolorsel-2.0 released

2007-10-03 Thread Ian Zimmerman
Ian> I just uploaded a tarball of gcolorsel-2.0.1, the enhanced gtk-2.x Ian> color selector, to Ian> http://primate.net/~itz/gcolorsel/ That location has now changed to http://madbat.mine.nu/public/gcolorsel/ There is a redirect in effect for now, but it won't be there forever. Enjoy, Ian. --

How to set the window size to max height, but not the max width?

2007-10-03 Thread TualatriX
Hello Gtk+ Mailling Lists: I'm a beginner of GTK+ Development. I want my application run like this: when it opens, the window's width is set to 1024, and its height will be set to the current available max height size. It's not the size of resolution of current screen. Just the maximize window's

Re: Theory of good signal/event API design?

2007-10-03 Thread Federico Mena Quintero
On Sun, 2007-09-16 at 18:28 +0200, Sander Marechal wrote: > My question: How do I determine what signals/events I should send out so > that together they make for a nice module API? For now, I am simply > building modules and adding signals to the application as I need them, > but I bet there is a

Re: 16 bits grayscale images

2007-10-03 Thread Sergei Steshenko
--- David Neèas (Yeti) <[EMAIL PROTECTED]> wrote: > > On Thu, Sep 27, 2007 at 04:45:10PM +0200, alex wrote: > > I want to create a grayscale image from a CCD camera. > > Data are from a function wich gives me an 16 bits array corresponding to > > the CCD's pixels. > > I take a look at the pixbuf

Re: 16 bits grayscale images

2007-10-03 Thread Sergei Steshenko
--- alex <[EMAIL PROTECTED]> wrote: > Hello list, > > I want to create a grayscale image from a CCD camera. > Data are from a function wich gives me an 16 bits array corresponding to > the CCD's pixels. > I take a look at the pixbuf class, but it seems to use a RGB structure. > How can I do my j