Images in database

2007-10-15 Thread Matí­as Alejandro Torres
Hi, I'm building an application which handles, let's say... "people's information". This information is stored using sqlite which until now consisted only in human-readable data (text/integers/dates). But... now I need to handle images (GdkPixbufs) and I don't know how to store it, is perfectl

Re: Tooltips on GtkTreeView

2007-10-15 Thread Enrico Tröger
On Mon, 15 Oct 2007 23:14:56 +0800, Binary Chen <[EMAIL PROTECTED]> wrote: > On Mon, 2007-10-15 at 09:08 -0600, Kevin DeKorte wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Hi All, > > > > Is there an easy way to set a tooltip on a GtkTreeView for the row > > that the user

Re: Tooltips on GtkTreeView

2007-10-15 Thread Binary Chen
On Mon, 2007-10-15 at 09:08 -0600, Kevin DeKorte wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi All, > > Is there an easy way to set a tooltip on a GtkTreeView for the row that > the user is hovering their cursor over. It is not guaranteed that the > row the user is over is the s

Tooltips on GtkTreeView

2007-10-15 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, Is there an easy way to set a tooltip on a GtkTreeView for the row that the user is hovering their cursor over. It is not guaranteed that the row the user is over is the selected row. Also if the tooltip can be set on row addition that is fine

Re: Don't understand valgrind output

2007-10-15 Thread Thomas Stover
> Date: Sun, 14 Oct 2007 10:24:14 -0400 (EDT) > From: Allin Cottrell <[EMAIL PROTECTED]> > Subject: Re: Don't understand valgrind output > To: Michael Lamothe <[EMAIL PROTECTED]> > Cc: gtk-app-devel-list@gnome.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: TEXT/PLAIN; charset=US-ASC

Re: Help to create an custom control for calendar

2007-10-15 Thread Gian Mario Tagliaretti
2007/10/15, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: ciao Gerardo, > i need create an custom control similar to calendar of iCal. > What can I use? > An canvas ?? On PyGTK ML we had a similar discussion [1] about calendar widget, Samuel Abels implemented one on top of goocanvas (using python bind

Help to create an custom control for calendar

2007-10-15 Thread [EMAIL PROTECTED]
hi, i need create an custom control similar to calendar of iCal. What can I use? An canvas ?? Ciao, Gerardo Di Iorio ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

How can I get the gnome-panel's size?

2007-10-15 Thread TualatriX
Hello everyone: I want to get something about gnome-panel. 1. How can I get the number of gnome-panel? In the normal case, there are two gnome-panel in the GNOME desktop environment. But how to use gtk+ to get the information? 2. If I get the gnome-panel, how can I get the panel's siz

GTK+ window startup notification

2007-10-15 Thread Binary Chen
Hi, I know in X there is a machnism called startup notification, one "launcher" can listen to the various windowing message to draw a task list window accordingly. But I now use GTK+ on a different backend(directfb) which seems no startup notification implemented, so I seek if the GTK+ has built

rc file only works outside gnome

2007-10-15 Thread Richard Kettlewell
My GTK+ application uses colors in its user interface for various purposes, and calls gtk_rc_parse_string() at startup to set some defaults. This works fine on my Mac and under KDE, but if I run it in a Gnome session (under Debian etch), none of the colors appear. I infer that they have been over

Re: GtkTextBuffer crashes

2007-10-15 Thread Michael Lamothe
In short, I think that's it much better if you don't make GTK calls from the second thread, it's a sure-fire way to avoid multi-threading UI issues. But, all you need to do is, 1. wrap gtk_main(), ie., g_thread_init (NULL); // Add this line gdk_threads_init (); // Add this line gdk_thr

Re: GtkTextBuffer crashes

2007-10-15 Thread Michael Lamothe
Hi AlannY, I'm new to this mail thread but I think that I know what your issue is. Basically, GTK/GDK is not designed to be called from multiple at the same time. Doing so causes all kinds of strange issues such as the ones that you are seeing. There are many ways to get around this issue but r

Re: GtkTextBuffer crashes

2007-10-15 Thread AlannY
AlannY wrote: > Hi there. > > I have trouble in my program. > > First of all, I'm using latest GTK and got many assertion in console > when using GtkTextBuffer. > > Second. I have 2 threads. First one is a gtk_main_loop. Second one is my > (pthread) thread. In second thread I'm trying to set thi

GtkTextBuffer crashes

2007-10-15 Thread AlannY
Hi there. I have trouble in my program. First of all, I'm using latest GTK and got many assertion in console when using GtkTextBuffer. Second. I have 2 threads. First one is a gtk_main_loop. Second one is my (pthread) thread. In second thread I'm trying to set this: gtk_text_buffer_set_text(win

Re: GtkTreeModelFilter and GtkTreeSortable

2007-10-15 Thread Kristian Rietveld
On Wed, Oct 10, 2007 at 07:38:22PM -0300, Mat??as Alejandro Torres wrote: > - I have to create a new GtkTreeModelSort everytime the child model is > modified? or it gets resorted automatically? Example: > > fiter = self.sortedModel.convert_iter_to_child_iter (None, siter) > miter = self.f