Space as an accel key??

2005-12-19 Thread Daniel Pekelharing
Hi all, Is there some reason why I cant use the space key as an accelerator ?? I set it using GDK_space like this: gtk_accel_map_add_entry("/Select/None", GDK_space, 0); But it doesn't seem to work, no label appears in the menu, and pressing space does nothing... Any ideas? Thanks! -- Daniel

si_code: 2 - SEGV_ACCERR - Invalid Permissions for object. on HP-UX with GTK 2.6.8.

2005-12-19 Thread Gowri Kandasamy
HI . I have a failure with firefox build with GTK 2.6.8 on HP-UX ipf only. This works fine with firefox built on GTK 1.2.X. Has anyone seen the following failure ? Program received signal SIGSEGV, Segmentation fault si_code: 2 - SEGV_ACCERR - Invalid Permissions for object. 0x0 in () (gdb)

Re: Block-diagram libraries?

2005-12-19 Thread Luca Cavalli
On Tue, 2005-12-20 at 00:08 +0100, Emanuele wrote: > I need to develop an application that dump a config file (an ASCII file) > for a simulation framework. > The user drag & drop the component (cpu, memory, comunication channel, > etc) from a library into a "work-area" and link the component (lik

Block-diagram libraries?

2005-12-19 Thread Emanuele
I need to develop an application that dump a config file (an ASCII file) for a simulation framework. The user drag & drop the component (cpu, memory, comunication channel, etc) from a library into a "work-area" and link the component (like a Dia diagram). Are there any library that semplify th

Re: Gtk+ Version compatibilty?

2005-12-19 Thread Matt Hull
On Mon, 19 Dec 2005, Daniel Pekelharing wrote: > On Mon, 2005-12-19 at 13:55 -0600, Matt Hull wrote: > > > > On Mon, 19 Dec 2005, Daniel Pekelharing wrote: > > > > > On Mon, 2005-12-19 at 19:49 +0100, Maciej Piechotka wrote: > > > > 2005/12/19, Matt Hull <[EMAIL PROTECTED]>: > > > > > On Sun, 18

G_GNUC_... - MALLOC, PURE or both

2005-12-19 Thread Maciej Piechotka
I've an function which takes one argument(object) and return some string(gchar *). Becouse it's getting read-only propertis[1]) it shouldn't be the same as in object. Should I: - Always allocate new gchar * and mark it as gchar *object_get(const Object *) G_GNUC_MALLOC; - Keep gchar * inside and ma

Re: Gtk+ Version compatibilty?

2005-12-19 Thread Daniel Pekelharing
On Mon, 2005-12-19 at 13:55 -0600, Matt Hull wrote: > > On Mon, 19 Dec 2005, Daniel Pekelharing wrote: > > > On Mon, 2005-12-19 at 19:49 +0100, Maciej Piechotka wrote: > > > 2005/12/19, Matt Hull <[EMAIL PROTECTED]>: > > > > On Sun, 18 Dec 2005, Daniel Pekelharing wrote: > > > > > On Sun, 2005-12

Re: Gtk+ Version compatibilty?

2005-12-19 Thread Matt Hull
On Mon, 19 Dec 2005, Daniel Pekelharing wrote: > On Mon, 2005-12-19 at 19:49 +0100, Maciej Piechotka wrote: > > 2005/12/19, Matt Hull <[EMAIL PROTECTED]>: > > > On Sun, 18 Dec 2005, Daniel Pekelharing wrote: > > > > On Sun, 2005-12-18 at 15:29 +0100, David Necas (Yeti) wrote: > > > > > I'd recom

Re: Gtk+ Version compatibilty?

2005-12-19 Thread Daniel Pekelharing
On Mon, 2005-12-19 at 19:49 +0100, Maciej Piechotka wrote: > 2005/12/19, Matt Hull <[EMAIL PROTECTED]>: > > On Sun, 18 Dec 2005, Daniel Pekelharing wrote: > > > On Sun, 2005-12-18 at 15:29 +0100, David Necas (Yeti) wrote: > > > > I'd recommend to simply compile and *test* the app > > > > successive

Drawing colored text efficiently

2005-12-19 Thread Chad Robinson
I have an application that's a rewrite of an old "green screen" terminal application. It presents columns of data much like a table, but this information updates VERY rapidly. It's not suitable for display in a table, because rows will get deleted and added in a hurry (sometimes dozen of updates

Re: Gtk+ Version compatibilty?

2005-12-19 Thread Maciej Piechotka
2005/12/19, Matt Hull <[EMAIL PROTECTED]>: > On Sun, 18 Dec 2005, Daniel Pekelharing wrote: > > On Sun, 2005-12-18 at 15:29 +0100, David Necas (Yeti) wrote: > > > I'd recommend to simply compile and *test* the app > > > successively with Gtk+ 2.4, 2.2, 2.0 till it stops to > > > build/work. Althou

Re: Problem with glib-mkenums

2005-12-19 Thread Maciej Piechotka
2005/12/19, David Necas (Yeti) <[EMAIL PROTECTED]>: > On Mon, Dec 19, 2005 at 05:54:27PM +0100, Maciej Piechotka wrote: > > > > % glib-mkenums --template gwyddiontypes.h.template > > Where is the list of headers containing enum declarations? > > Yeti > In this project for example gwyddionenums.h?

Re: Problem with glib-mkenums

2005-12-19 Thread David Necas (Yeti)
On Mon, Dec 19, 2005 at 05:54:27PM +0100, Maciej Piechotka wrote: > > % glib-mkenums --template gwyddiontypes.h.template Where is the list of headers containing enum declarations? Yeti -- That's enough. ___ gtk-app-devel-list mailing list gtk-app-dev

Re: Problem with glib-mkenums

2005-12-19 Thread Maciej Piechotka
I'm so sorry. It's my bug or glib bug: % ls gwyddiontypes.c.template gwyddiontypes.h.template % cat gwyddiontypes.h.template /*** BEGIN file-header ***/ #ifndef __GWYDDION_TYPES_H__ #define __GWYDDION_TYPES_H__ #include G_BEGIN_DECLS /*** END file-header ***/ /*** BEGIN value-header ***/ GTyp

Re: Gtk+ Version compatibilty?

2005-12-19 Thread Matt Hull
On Sun, 18 Dec 2005, Daniel Pekelharing wrote: > On Sun, 2005-12-18 at 15:29 +0100, David Necas (Yeti) wrote: > > Unless you depend on a particular bugfix, you should require > > 2.y.0 as the minimum version (e.g., 2.6.0), as microversions > > are quite compatible. > > > > Each class, method, or

Re: Problem with glib-mkenums

2005-12-19 Thread Maciej Piechotka
2005/12/19, David Necas (Yeti) <[EMAIL PROTECTED]>: > On Mon, Dec 19, 2005 at 08:59:26AM +0100, Maciej Piechotka wrote: > > > > Ok. In makefile it's more clear. But what's $(enum_headers)? > > Headers that contain the enum declarations you want to > process with glib-mkenums. > > Yeti > Thanks a l

Re: Problem with glib-mkenums

2005-12-19 Thread David Necas (Yeti)
On Mon, Dec 19, 2005 at 08:59:26AM +0100, Maciej Piechotka wrote: > > Ok. In makefile it's more clear. But what's $(enum_headers)? Headers that contain the enum declarations you want to process with glib-mkenums. Yeti -- That's enough. ___ gtk-app-de