Re: What is the proper way of markig translations of static array initializers

2007-02-07 Thread Sven Neumann
Hi, On Wed, 2007-02-07 at 01:06 +0200, Alexander Shopov wrote: Hi guys, The docs: http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html state that N_() Marks a string for translation, gets replaced with the untranslated string at runtime. This is useful in situations where the

GtkTreeView and fixed_height mode

2007-02-07 Thread Emmanuel Briot
A customer of ours has recently moved from gtk+ 2.4 to gtk+2.8. He was using the fixed_height mode to speed the rendering (time goes down from 4 minutes down to 30s when it is activated, and that is still the case with gtk+ 2.8, so they of course want to preserve this setup). However, there was

Re: GtkTreeView and fixed_height mode

2007-02-07 Thread Kristian Rietveld
On Wed, Feb 07, 2007 at 12:58:18PM +0100, Emmanuel Briot wrote: The assertion above checks that all columns are also using a fixed sizing. The comment doesn't really indicate *why* this was necessary though, and that is change compared to older versions of gtk+ 2.4. Note that this change

Re: GtkTreeView and fixed_height mode

2007-02-07 Thread Morten Welinder
Which other resizing mode would you want to use for your column? AUTOSIZE doesn't make any sense, the point of fixed height mode is to speed up GtkTreeView by not measuring every row. AUTOSIZE. Or maybe GROW_ONLY. You would measure cells only as they become visible and adjust the width of

Re: Bug in GtkEventBox / mouse-motion-event?

2007-02-07 Thread Daniel F Moisset
On Fri, 2007-02-02 at 17:12 -0300, Daniel F Moisset wrote: I think I have found a GTK+ bug, but wanted to tell you guys before going to bugzilla, because perhaps it is just me doing something stupid. OK, checking the GTK source makes me more convinced that it is really a bug. I filed a report

missing function in gdk-quartz

2007-02-07 Thread Taybin Rutkin
In order to link gtkmm against gdk-quartz, I had to add a stub implementation of gdk_display_add_client_message_filter() to gdkevents-quartz.c. Taybin ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: Gtk engine development

2007-02-07 Thread Daniel Kasak
Andreas Volz wrote: Hello, I'm currently working on a gtk engine that does all drawing operation with Evas[1]. It works so far, but I've some problems. Evas doesn't work like most other canvas. It's only single buffered and does only redraw that parts that are changed since a last

Access file system using GTK+

2007-02-07 Thread Tomasz Jankowski
Hi! I'm trying to implement simple file browser in my program. Of course my program is based on GTK+ and I'm wondering if there is any way to use code from GTK+, which can help me in it. GtkFileChooser seems to have some interesting code, which is operating on MIME types, am I right? -- Cya!

Re: Generic CClosure marshaller using libffi

2007-02-07 Thread Soeren Sandmann
Johan Dahlin [EMAIL PROTECTED] writes: Attached is a patch that adds a generic cclosure marshaller using libffi to gobject. The reason for this is to allow signals of GObjects written in a language binding to call signal callbacks in C. It's not just a theoretical case, Edward Hervey recently

Re: Gtk engine development

2007-02-07 Thread Ross Burton
On Thu, 2007-02-08 at 09:32 +1100, Daniel Kasak wrote: I don't have a direct answer to your question, however I know that work is being done on Etk, which aims to be API-compatible with gtk+ http://enlightenment.org/etk/ I just had a quick look at an Etk code example, and whilst it's certainly

Re: scrolledview

2007-02-07 Thread myasar
Selon James Scott Jr [EMAIL PROTECTED]: If you have caused the GtkVBox to be Realized, meaning all the widget have done their size negotiations OK, so I just need to catch the realized signal. Another question : suppose I'm adding gtktextviews to a GtkVbox which is already visible (realized

RE: transparent gtkwindow

2007-02-07 Thread Suma H.S
thanks...shall look into that. But, do u by any chance know how to use multiple masks for the function gtk_widget_shape_combine_mask ()? If I try to call this function multiple times using different mask everytime, only the effect of the last call is seen. I want to have the effect of

pixel position of a point

2007-02-07 Thread ferri_marllo
Hello!! I have plot points in an X-Y plot using this code: void grafica(GtkWidget *plot) { GdkColor color; GtkPlotAxis *axis; int i,j,k,l; int np_x,np_y; np_x=0; np_y=0; t1a=g_array_new(FALSE,FALSE,sizeof(gdouble)); t2a=g_array_new(FALSE,FALSE,sizeof(gdouble));

Newby question on Glade2

2007-02-07 Thread Gerald I. Evenden
Host hardware: amd64. OS-flavor: kubuntu I managed to successfully complete one of the tutorials on Glade2 by getting an example up and running and making a few personal tweaks to the project. I feel that I am ready to progress to using Glade2 to provide a gui to frontend some software that is

Re: scrolledview

2007-02-07 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Feb 07, 2007 at 10:06:26AM +0100, [EMAIL PROTECTED] wrote: Selon James Scott Jr [EMAIL PROTECTED]: If you have caused the GtkVBox to be Realized, meaning all the widget have done their size negotiations OK, so I just need to catch

Re: scrolledview

2007-02-07 Thread Mehmet YASAR
[EMAIL PROTECTED] a écrit : Another question : suppose I'm adding gtktextviews to a GtkVbox which is already visible (realized and mapped). how can I know that all the widget have done their size negotiations ? I can't rely on the realized signal since the gtkvbox is already realized ...

Re: GtkFileChooserDialog: response from Location

2007-02-07 Thread Braden McDaniel
On Wed, 2007-02-07 at 20:56 -0500, Braden McDaniel wrote: It seems that--by default, at least--pressing Enter in the Location entry of a GtkFileChooserDialog does not constitute a response (that is, it does not close the dialog). Can this be changed? Or can it be fudged? Nevermind. I just

GObject docs improvements

2007-02-07 Thread Stefan Kost
hi, yesterday I committed a first batch of cleanups to the GObject docs. http://developer.gnome.org/doc/API/2.0/gobject/index.html IMHO this is a crucial documentation for the GNOME platform and it can be improved further. Marc-Andre Lureau and Zeeshan Ali already joined in the quest to