Re: porting gdk - cairo

2010-08-18 Thread Allin Cottrell
On Wed, 18 Aug 2010, Dov Grobgeld wrote: I don't know if you noticed it in another thread, but I created a working example of the approach that I described in my earlier email. See: http://github.com/dov/dovtk-lasso See the program test-dovtk-lasso.c for an example of how to use it.

Re: Performance issues of GDK deprecation in favour of Cairo

2010-08-18 Thread Stefan Kost
hi, On 17.08.2010 12:01, James Morris wrote: Hi, I see that some GDK drawing functions and graphics contexts have been deprecated in favour of using Cairo. Yesterday I spent a few hours *removing* Cairo code from my fledgling GTK application and replacing it with gdk_draw_rectangle,

Re: GTK+ 2.21.6

2010-08-18 Thread Bastien Nocera
On Wed, 2010-08-18 at 11:52 -0400, Paul Davis wrote: On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for download at: is this really a correct description of 2.21: Overview of Changes from GTK+ 2.21.5 to 2.21.6

Re: GTK+ 2.21.6

2010-08-18 Thread Bastien Nocera
On Wed, 2010-08-18 at 12:14 -0400, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:04 PM, Bastien Nocera had...@hadess.net wrote: On Wed, 2010-08-18 at 11:52 -0400, Paul Davis wrote: On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for

Re: GTK+ 2.21.6

2010-08-18 Thread Matthias Clasen
On Wed, Aug 18, 2010 at 12:27 PM, Paul Davis p...@linuxaudiosystems.com wrote: On Wed, Aug 18, 2010 at 12:21 PM, Bastien Nocera had...@hadess.net wrote: New functionality is available in both when it makes sense to do so, and deprecated functionality is marked as much. You shouldn't see any

Re: GTK+ 2.21.6

2010-08-18 Thread Behdad Esfahbod
On 08/18/10 12:50, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:44 PM, Matthias Clasen matthias.cla...@gmail.com wrote: I don't see how that follows. All that is happening in 2.22 is that some things are getting deprecated. You can still use them. We are not going to take them away from you

ms-windows engine on Windows 7

2010-08-18 Thread Allin Cottrell
A user of my GTK app recently remarked on this: when he uses the ms-windows theme engine on Windows 7, the highlight on the currently selected menu item misbehaves: the text of the highlighted item goes white, while the background for that item goes almost-white, making the item unreadable. On MS

Re: Performance issues of GDK deprecation in favour of Cairo

2010-08-18 Thread James Morris
On 18 August 2010 15:57, Stefan Kost enso...@hora-obscura.de wrote: hi, On 17.08.2010 12:01, James Morris wrote: Hi, I see that some GDK drawing functions and graphics contexts have been deprecated in favour of using Cairo. Yesterday I spent a few hours *removing* Cairo code from my

Re: Minutes of the GTK+ Team Meeting - 2010-08-17

2010-08-18 Thread jp0409
Hi, - GAction, allows named actions + parameters (local+remote invocation) + only name, no visual/UI-related attributes + :enabled + (optional) state - GActionGroup, allows grouping of actions - GApplication, handles groups of actions - parametrized actions will be available on D-Bus -

Re: gtk_widget_draw()

2010-08-18 Thread Alexander Larsson
On Tue, 2010-08-17 at 16:04 -0500, Federico Mena Quintero wrote: On Tue, 2010-08-17 at 21:10 +0200, Alexander Larsson wrote: Additionally I was thinking one could specify a border on the window such that for clipping purposes and calculation of what has to be repainted we grow the window

Re: GTK+ 2.90.6

2010-08-18 Thread Petr Tomasek
Overview of Changes from GTK+ 2.90.5 to 2.90.6 == ... * Allow windows to be dragged by clicking on empty areas in menubars and toolbars Can this be disabled, please? P.T. -- Petr Tomasek http://www.etf.cuni.cz/~tomasek Jabber:

Re: cairo drawing commands to gdk_invalidate_region

2010-08-18 Thread Paul Davis
On Tue, Aug 17, 2010 at 4:22 PM, Dov Grobgeld dov.grobg...@gmail.com wrote: The solution won't work if the default expose-event handler returns TRUE. I would still like to resolve the issues that Paul has with my description of the code. Paul, why don't you like the fact that I call draw()

Re: gtk_widget_draw()

2010-08-18 Thread Paul Davis
On Tue, Aug 17, 2010 at 5:04 PM, Federico Mena Quintero feder...@ximian.com wrote: [ ... ] its quite amusing to me how what is being described is slowly converging on something extremely close to a canvas model in many of its most fundamental aspects. am i the only one seeing this? does it

Re: gtk_widget_draw()

2010-08-18 Thread Matthias Clasen
On Wed, Aug 18, 2010 at 3:37 AM, Alexander Larsson al...@redhat.com wrote: There are all sorts of ways you can hack it into GtkButton or any specific widget, I'm sure. However, its hard to do in a more generic way for a theme. I was thinking the theme could just set a style property to have

Re: GTK+ 2.90.6

2010-08-18 Thread Matthias Clasen
* Allow windows to be dragged by clicking on empty   areas in menubars and toolbars Can this be disabled, please? Yes, it can (per theme) ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

RE: GLib 2.25.14

2010-08-18 Thread Matthias Clasen
On Wed, 2010-08-18 at 10:36 +0800, Zhang, Qiang Z wrote: Thanks for your quick reply. As glib is the low level library, so I think it would be released ahead of time. Right? Can glib 2.26 be released end of August? Then we feel better about including it in MeeGo 1.1, and we have enough

Re: gtk_widget_draw()

2010-08-18 Thread Federico Mena Quintero
On Wed, 2010-08-18 at 07:56 -0400, Paul Davis wrote: its quite amusing to me how what is being described is slowly converging on something extremely close to a canvas model in many of its most fundamental aspects. am i the only one seeing this? does it matter? In my mind a canvas does two

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for download at: is this really a correct description of 2.21: Overview of Changes from GTK+ 2.21.5 to 2.21.6 == * Most drawing done by GTK+

Re: GTK+ 2.21.6

2010-08-18 Thread Bastien Nocera
On Wed, 2010-08-18 at 11:52 -0400, Paul Davis wrote: On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for download at: is this really a correct description of 2.21: Overview of Changes from GTK+ 2.21.5 to 2.21.6

Re: gtk_widget_draw()

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 11:49 AM, Federico Mena Quintero feder...@ximian.com wrote: On Wed, 2010-08-18 at 07:56 -0400, Paul Davis wrote: its quite amusing to me how what is being described is slowly converging on something extremely close to a canvas model in many of its most fundamental

Re: gtk_widget_draw()

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:06 PM, Paul Davis p...@linuxaudiosystems.com wrote: sometimes i hate gmail keybindings ... so, to finish what i was saying ... in my mind,  a canvas does two things: 1) composites together the result of a variety of different objects drawing themselves/ it does

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:04 PM, Bastien Nocera had...@hadess.net wrote: On Wed, 2010-08-18 at 11:52 -0400, Paul Davis wrote: On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for download at: is this really a correct description of

Re: gtk_widget_draw()

2010-08-18 Thread Federico Mena Quintero
On Wed, 2010-08-18 at 09:37 +0200, Alexander Larsson wrote: [Border around windows so you can glow around a widget] There are all sorts of ways you can hack it into GtkButton or any specific widget, I'm sure. However, its hard to do in a more generic way for a theme. I was thinking the theme

Re: GTK+ 2.21.6

2010-08-18 Thread Bastien Nocera
On Wed, 2010-08-18 at 12:14 -0400, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:04 PM, Bastien Nocera had...@hadess.net wrote: On Wed, 2010-08-18 at 11:52 -0400, Paul Davis wrote: On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:21 PM, Bastien Nocera had...@hadess.net wrote: New functionality is available in both when it makes sense to do so, and deprecated functionality is marked as much. You shouldn't see any difference in usage if you don't use the new functionality. We distribute a

Re: gtk_widget_draw()

2010-08-18 Thread Havoc Pennington
Hi, On Wed, Aug 18, 2010 at 7:56 AM, Paul Davis p...@linuxaudiosystems.com wrote: On Tue, Aug 17, 2010 at 5:04 PM, Federico Mena Quintero feder...@ximian.com wrote:  [ ... ] its quite amusing to me how what is being described is slowly converging on something extremely close to a canvas

Re: GTK+ 2.21.6

2010-08-18 Thread Matthias Clasen
On Wed, Aug 18, 2010 at 12:27 PM, Paul Davis p...@linuxaudiosystems.com wrote: On Wed, Aug 18, 2010 at 12:21 PM, Bastien Nocera had...@hadess.net wrote: New functionality is available in both when it makes sense to do so, and deprecated functionality is marked as much. You shouldn't see any

Re: gtk_widget_draw()

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:27 PM, Havoc Pennington h...@pobox.com wrote: Hi, On Wed, Aug 18, 2010 at 7:56 AM, Paul Davis p...@linuxaudiosystems.com wrote: On Tue, Aug 17, 2010 at 5:04 PM, Federico Mena Quintero feder...@ximian.com wrote:  [ ... ] its quite amusing to me how what is

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:44 PM, Matthias Clasen matthias.cla...@gmail.com wrote: I don't see how that follows. All that is happening in 2.22 is that some things are getting deprecated. You can still use them. We are not going to take them away from you during 2.x i wasn't really worried

Re: GTK+ 2.21.6

2010-08-18 Thread Behdad Esfahbod
On 08/18/10 12:50, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:44 PM, Matthias Clasen matthias.cla...@gmail.com wrote: I don't see how that follows. All that is happening in 2.22 is that some things are getting deprecated. You can still use them. We are not going to take them away from you

Re: GTK+ 2.21.6

2010-08-18 Thread Jose Aliste
Hi, On Wed, Aug 18, 2010 at 1:12 PM, Paul Davis p...@linuxaudiosystems.com wrote: On Wed, Aug 18, 2010 at 12:57 PM, Behdad Esfahbod behdad.esfah...@gmail.com wrote: On 08/18/10 12:50, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:44 PM, Matthias Clasen matthias.cla...@gmail.com wrote: I

Re: [Gobject Introspection] GIRepository.gir seems incorrect

2010-08-18 Thread Steve Frécinaux
On 08/18/2010 07:32 PM, Mildred Ki'Lya wrote: Hi, I'm trying to use the GIRepository library in order to access GI information and create a compile time binding for the Lisaac language. I don't like C very much, and I'm going to use Vala. But the vala compiler complains that it can't find the

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 2:01 PM, Jose Aliste jose.ali...@gmail.com wrote: After looking at the git log, you interpret correctly, but  I fail to see why do you perceive this as being bad. So, some GDK API is marked as deprecated, it seems fair to me that Gtk+ maintainers ensure the deprecated

Re: cairo drawing commands to gdk_invalidate_region

2010-08-18 Thread Dov Grobgeld
The problem of deciding what areas to expose are imho opinion too hard for the motion handler to deal with. E.g. if the rubberband is e.g. of an ellipse outline then you need quite a bit of mathematics to figure out what areas to expose. You can of course expose the entire bounding box, but that

Re: GTK+ 2.21.6

2010-08-18 Thread Jose Aliste
On Wed, Aug 18, 2010 at 4:15 PM, Paul Davis p...@linuxaudiosystems.com wrote: On Wed, Aug 18, 2010 at 2:01 PM, Jose Aliste jose.ali...@gmail.com wrote: After looking at the git log, you interpret correctly, but  I fail to see why do you perceive this as being bad. So, some GDK API is marked

Memory fonts in pangocairo

2010-08-18 Thread Andrei Bucur
Hello! I was wandering if there is a way to use fonts placed in memory with the pangocairo API in Linux. I've tried to implement my own PangoCairoFontMap but it seems that the API was not written with extension in mind (for example I need the structures defined in pangocairo-private.h). I'm very

Makefile for GTK2 programs?

2010-08-18 Thread Juhana Sadeharju
What CFLAGS and LIBS I should use in Makefiles? I installed GTK2 to home directory, and thus I won't use lddconfig. My programs should take all from ~/gtk2/, and nothing from /usr/include/gtk-1.2/ and nothing gtk-related from /usr/lib/. GTK2 does not have gtk-config program. It made things

Re: Makefile for GTK2 programs?

2010-08-18 Thread Jean Brefort
Le mercredi 18 août 2010 à 10:26 +0300, Juhana Sadeharju a écrit : What CFLAGS and LIBS I should use in Makefiles? I installed GTK2 to home directory, and thus I won't use lddconfig. My programs should take all from ~/gtk2/, and nothing from /usr/include/gtk-1.2/ and nothing gtk-related from

Re: Makefile for GTK2 programs?

2010-08-18 Thread Chris Vine
On Wed, 18 Aug 2010 10:26:45 +0300 Juhana Sadeharju kou...@nic.funet.fi wrote: This is so frustating. I will return to GTK 1.2 soon. First Ubuntu failed to install GTK2, and now this! If you are using ubuntu it will already have gtk2 installed, as it depends on it. No distribution has used

Re: Makefile for GTK2 programs?

2010-08-18 Thread Patrick Welche
On Wed, Aug 18, 2010 at 10:26:45AM +0300, Juhana Sadeharju wrote: I have now the following in Makefile. Very messy. It does not work; I get errors: undefined reference to `gtk_text_view_new' and the like. When does the error happen? If it is at run time, you may want to add

Re: Re: Makefile for GTK2 programs?

2010-08-18 Thread american . communist . party
On Aug 18, 2010 1:57am, Chris Vine ch...@cvine.freeserve.co.uk wrote: You probably just need to install the ubuntu development package containing the gtk2 headers. apt-get install libgtk2.0-dev? And maybe libglib2.0-dev? ___ gtk-list mailing list

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for download at: is this really a correct description of 2.21: Overview of Changes from GTK+ 2.21.5 to 2.21.6 == * Most drawing done by GTK+

Re: GTK+ 2.21.6

2010-08-18 Thread Bastien Nocera
On Wed, 2010-08-18 at 11:52 -0400, Paul Davis wrote: On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for download at: is this really a correct description of 2.21: Overview of Changes from GTK+ 2.21.5 to 2.21.6

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:04 PM, Bastien Nocera had...@hadess.net wrote: On Wed, 2010-08-18 at 11:52 -0400, Paul Davis wrote: On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for download at: is this really a correct description of

Re: GTK+ 2.21.6

2010-08-18 Thread Bastien Nocera
On Wed, 2010-08-18 at 12:14 -0400, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:04 PM, Bastien Nocera had...@hadess.net wrote: On Wed, 2010-08-18 at 11:52 -0400, Paul Davis wrote: On Mon, Aug 16, 2010 at 8:48 PM, Matthias Clasen mcla...@redhat.com wrote: GTK+ 2.21.6 is now available for

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:21 PM, Bastien Nocera had...@hadess.net wrote: New functionality is available in both when it makes sense to do so, and deprecated functionality is marked as much. You shouldn't see any difference in usage if you don't use the new functionality. We distribute a

Re: GTK+ 2.21.6

2010-08-18 Thread Matthias Clasen
On Wed, Aug 18, 2010 at 12:27 PM, Paul Davis p...@linuxaudiosystems.com wrote: On Wed, Aug 18, 2010 at 12:21 PM, Bastien Nocera had...@hadess.net wrote: New functionality is available in both when it makes sense to do so, and deprecated functionality is marked as much. You shouldn't see any

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:44 PM, Matthias Clasen matthias.cla...@gmail.com wrote: I don't see how that follows. All that is happening in 2.22 is that some things are getting deprecated. You can still use them. We are not going to take them away from you during 2.x i wasn't really worried

Re: GTK+ 2.21.6

2010-08-18 Thread Behdad Esfahbod
On 08/18/10 12:50, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:44 PM, Matthias Clasen matthias.cla...@gmail.com wrote: I don't see how that follows. All that is happening in 2.22 is that some things are getting deprecated. You can still use them. We are not going to take them away from you

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 12:57 PM, Behdad Esfahbod behdad.esfah...@gmail.com wrote: On 08/18/10 12:50, Paul Davis wrote: On Wed, Aug 18, 2010 at 12:44 PM, Matthias Clasen matthias.cla...@gmail.com wrote: I don't see how that follows. All that is happening in 2.22 is that some things are

Installing GTK Binary Packages Into MINGW on MS Windows Using Wascana and Eclipse

2010-08-18 Thread Peter Willis
Hello, I would like to use mingw to port and compile a simple GTK application under MS Windows. The download page for windows located at: http://www.gtk.org/download-windows.html recommends the mingw tool chain and contains tables of relevant packages as well as dependencies. I have

Re: GTK+ 2.21.6

2010-08-18 Thread Paul Davis
On Wed, Aug 18, 2010 at 2:01 PM, Jose Aliste jose.ali...@gmail.com wrote: After looking at the git log, you interpret correctly, but  I fail to see why do you perceive this as being bad. So, some GDK API is marked as deprecated, it seems fair to me that Gtk+ maintainers ensure the deprecated

Re: Installing GTK Binary Packages Into MINGW on MS Windows Using Wascana and Eclipse

2010-08-18 Thread Øystein Schønning-Johansen
On Wed, Aug 18, 2010 at 8:07 PM, Peter Willis pwil...@aslenv.com wrote: Hello, I would like to use mingw to port and compile a simple GTK application under MS Windows. The download page for windows located at: http://www.gtk.org/download-windows.html recommends the mingw tool chain and