Handling Customized the keypad events

2006-05-09 Thread Supreet.Mysore
Hi All, I am wishing to develop a phone application using GTk+. Can anybody suggest how I can make GTK+ recognize Phone Keypad events. Thanks, Supreet ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Directory tree library?

2006-05-09 Thread Fernando Apesteguía
You should use a GtkTreeView object. Read more at: http://developer.gnome.org/doc/API/2.0/gtk/TreeWidgetObjects.html Best regards -- Forwarded message -- From: raul o [EMAIL PROTECTED] Date: 08-may-2006 15:47 Subject: Directory tree library? To: gtk-app-devel-list@gnome.org

Re: gtk_statusbar

2006-05-09 Thread Iago Rubio
On Mon, 2006-05-08 at 16:48 +0200, [EMAIL PROTECTED] wrote: Hi!! I need to create a window with an status bar and an open dialog. Each time i select a file,i want to write into the status bar this two sentences: Opening filename... and then after the processing time File open How can i

mouse click problem

2006-05-09 Thread rachit goel
hi i am facing a problem in mouse click. i am using iconview to display some items to the user. I want the items to be activated at single mouse click only. and even in case of double or triple mouse clicks it should be fired only once. Now here is the problem How should i ignore

Re: Is it possible to implement Zoom/Shrink of a backing bitmap using only GTK+/GDK/GLIB ?

2006-05-09 Thread Carlos Eduardo Rodrigues Diógenes
Hi, GdkPixbuf was made for you ;-) Take a look in it's API at http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/index.html For creating the pixbuf, read http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-creating.html#gdk-pixbuf-new Best regards, Carlos. Em Qui, 2006-05-04 às 14:32

gobject interface

2006-05-09 Thread Morten O. Hansen
Hi, I have created an interface with base_init and base_finalize, and I have derived on class from it. When i create the object, the base_init is run, but the base_finalize is never run.. is there something besides g_object_unref(object) i should run? do i have to unref the interface somehow?

Re: gobject, dynamic loading of classes

2006-05-09 Thread Philip Kovacs
I am working with GTypeModule to load gobject types that register types dynamically. These types derive from an abstract base class defined statically in the main code. It works fine, but one thing I notice is that any header files you distribute for the dynamic plugin types cannot define

Re: gobject interface

2006-05-09 Thread Tristan Van Berkom
Morten O. Hansen wrote: Hi, I have created an interface with base_init and base_finalize, and I have derived on class from it. When i create the object, the base_init is run, but the base_finalize is never run.. is there something besides g_object_unref(object) i should run? do i have to unref

gtk.symbols

2006-05-09 Thread Raju S N
Hi, Iam new to the GTK compilation environment. Can anyone tell me whether gtk.symbols file in GTK-MAIN/gtk directory is generated with some tools or is it hand-coded ? From Makefile.am, it appears that gtk.symbols is used to generate gtkalias.h and other files. Why these alias

GtkComboBox size allocations magic?

2006-05-09 Thread Tommi Komulainen
Hi, I've been trying to figure out how gtkcombobox handles size allocations and I'm puzzled, it seems to have some very interesting magic involved. I guess the '/* WELCOME, to THE house of evil code */' isn't kidding. I was hoping maybe you could clarify some of issues here? Anyway, for one in

Re: [RFC] Simple file monitoring API for GLib

2006-05-09 Thread Emmanuele Bassi
Hi Matthias, On Mon, 2006-05-08 at 20:54 -0400, Matthias Clasen wrote: On 5/8/06, Emmanuele Bassi [EMAIL PROTECTED] wrote: [...] The file monitoring API is as simple as the current API for idle and timeout sources: [...] General comments: - In general, I like the proposed API.

Re: GtkComboBox size allocations magic?

2006-05-09 Thread Kristian Rietveld
Tommi Komulainen wrote: Hi, Hello Tommi, I've been trying to figure out how gtkcombobox handles size allocations and I'm puzzled, it seems to have some very interesting magic involved. I guess the '/* WELCOME, to THE house of evil code */' isn't kidding. I was hoping maybe you could clarify

Re: GTK+ 2.9.0 released

2006-05-09 Thread Emmanuel Briot
We are really falling far behing the current versions of gtk+. Should I put on my list to start updating GtkAda ? I believe we are using recent versions of gtk+ on all machines now, anyway (maybe not 2.9.0 yet, but close enough). In particular, all the GtkCellRender* widgets could be useful for

Re: Print dialog mockup (re: tabs changing tabs sucks)

2006-05-09 Thread Christian Persch
Hi, Larry Ewing caught me on irc this morning to ask why an element in the print dialog notebook widget (namely the printer list) affect the tabs in the notebook itself. I agree with him that it can be confusing and the general consensus was printing dialogs suck in general. I spent a

Re: [RFC] Simple file monitoring API for GLib

2006-05-09 Thread Federico Mena Quintero
On Tue, 2006-05-09 at 13:11 +0100, Emmanuele Bassi wrote: This little API should be more useful that just monitoring the recent files storage, indeed; this task just forced me to sit down and implement this API. :-) That's the thing - people will see that gnome-vfs has a file monitoring API,

Re: [RFC] Simple file monitoring API for GLib

2006-05-09 Thread Matthias Clasen
On 5/9/06, Federico Mena Quintero [EMAIL PROTECTED] wrote: That's the thing - people will see that gnome-vfs has a file monitoring API, and that Glib has one as well, and they'll think the Glib one is at a lower level, so it must be BETTER!. And they'll start abusing it, they'll see that it

GTK+ team irc meeting

2006-05-09 Thread Matthias Clasen
We should have a team meeting again this week, to discuss the road to 2.10. The meeting is intended for the GTK+ team, but everybody is welcome to come and listen. The meeting logs will be posted on the GTK+ website (http://www.gtk.org/plan/meetings). Place: irc.gnome.org:#gtk-devel Time:

Re: [RFC] Simple file monitoring API for GLib

2006-05-09 Thread Joe Shaw
Hi, On Mon, 2006-05-08 at 22:49 +0100, Emmanuele Bassi wrote: typedef enum { G_FILE_CREATED_EVENT, G_FILE_CHANGED_EVENT, G_FILE_REMOVED_EVENT, G_FILE_UNKNOWN_EVENT } GFileEvent; Would G_FILE_CHANGED_EVENT be fired on file attribute change (like chmod, chown, or an

Re: [RFC] Simple file monitoring API for GLib

2006-05-09 Thread Nicolas Collignon
Why not simply use a flags mask. We could have: - an API function that tell which flags are supported on the running arch. - an API function that allow the user to modify an watcher events mask. In linux/inotify.h we have: /* the following are legal, implemented events that user-space can watch

Re: [RFC] Simple file monitoring API for GLib

2006-05-09 Thread Emmanuele Bassi
On Tue, 2006-05-09 at 13:06 -0400, Joe Shaw wrote: Hi, On Mon, 2006-05-08 at 22:49 +0100, Emmanuele Bassi wrote: typedef enum { G_FILE_CREATED_EVENT, G_FILE_CHANGED_EVENT, G_FILE_REMOVED_EVENT, G_FILE_UNKNOWN_EVENT } GFileEvent; Would G_FILE_CHANGED_EVENT be

Re: [RFC] Simple file monitoring API for GLib

2006-05-09 Thread Emmanuele Bassi
Hi Nicolas, On Tue, 2006-05-09 at 22:44 +0200, Nicolas Collignon wrote: Why not simply use a flags mask. Because if you need a really fine grained check you're better of with gnome-vfs. Really, the point is a *simple* file monitoring API. Unless, of course, you want to get gnome-vfs and

Re: [RFC] Simple file monitoring API for GLib

2006-05-09 Thread Nicolas Collignon
On 5/9/06, Emmanuele Bassi [EMAIL PROTECTED] wrote: Hi Nicolas, On Tue, 2006-05-09 at 22:44 +0200, Nicolas Collignon wrote: Why not simply use a flags mask. Because if you need a really fine grained check you're better of with gnome-vfs. Really, the point is a *simple* file monitoring API.