Re: Getting native colors in GTK/GDK?

2010-09-22 Thread Tor Lillqvist
(Sending a copy also to the gtk-app-devel-list. Please keep discussions that start on a public mailing list public unless you specifically have private personal or confidential matters to discuss in some messages.). I just found libwimp.dll off in some subfolder, but I don't think I added that

Take part in gkt+ development

2010-09-22 Thread Alexander Kuleshov
Hello list, First of all let me introduce myself. My name is Alexander Kuleshov. Now I m student, programmer. I have some expirience in C/gtk+ programming (i took part in Google summer of Code in this year) And I want to take part in gtk+/glib development. I have some question: 1) If i write

Re: Take part in gkt+ development

2010-09-22 Thread Michael Cronenworth
Alexander Kuleshov wrote: 1) If i write patch, where must i send it? gtk-devel might be a more appropriate list. This list is for developers of GTK applications and not for GTK development. :) 2) What version of gtk+, must i use for development? From git? I am not a gtk developer (I am a

GtkSocket in GtkNotebook

2010-09-22 Thread Prof. MAAD
Hi everyone! I am currently developing an application where I have one component that is basically a GtkNotebook, where every page contains a GtkSocket as the widget. On creating many pages, at some point something starts terribly misbehaving: The newly created GtkSocket steadily gets

[ann] gsettings support in waf

2010-09-22 Thread Sam Thursfield
Hi everyone! I wrote a patch to add gsettings support to waf, which has just been merged into SVN. Here is how it is used: http://code.google.com/p/waf/source/browse/trunk/demos/glib2/wscript Presumably it will be released in waf 1.6.0, whenever that is released, or you can easily use waf SVN

How to know if a window got a child window?

2010-09-22 Thread Till Harbaum
Hi, i am trying to save power in my gpxview geocaching app. Thus i keep track whenever the main window looses focus and disable the GPS receiver after some time. Unfortunately this also happens if dialogs are being shown as this also causes the main window to loose focus. I could now add some

obtaining current viewport/scrolled window dimensions

2010-09-22 Thread James Morris
Hi, I have a GtkDrawingArea within a GtkViewport within a GtkScrolledWindow. I need the viewport dimensions so I can center the contents of the drawing area when the drawn contents are smaller than the viewport/window. There is a vague mention of page_size in the documentation for scrolled window

Re: obtaining current viewport/scrolled window dimensions

2010-09-22 Thread James Morris
On 22 September 2010 23:49, James Morris jwm.art@gmail.com wrote: Hi, I have a GtkDrawingArea within a GtkViewport within a GtkScrolledWindow. I need the viewport dimensions so I can center the contents of the drawing area when the drawn contents are smaller than the viewport/window.

scrolled window adjustment 'changed' signal question

2010-09-22 Thread James Morris
Hi, As from my previous email, I require the dimensions of the scrolled window. I decided to detect when they change (due to the top level window being resized) by using the 'changed' signal emitted by the hadjustment and vadjustment respectively. So I create two user functions one for when

events for no-window widgets

2010-09-22 Thread Havoc Pennington
Hi, I've been exploring how widgets with no GdkWindow could receive events. Here are some notes so far in case people have thoughts. Event Types === Events separate very cleanly into weird lowlevel stuff only matters for GdkWindow and things widgets in general including no-window widgets care

Re: events for no-window widgets

2010-09-22 Thread Emmanuele Bassi
On Wed, 2010-09-22 at 02:11 -0400, Havoc Pennington wrote: During capture, a signal like ::event-captured seems logical. During bubble, a signal like ::event seems logical. Unfortunately that signal already exists but its GdkEvent is window-relative to the original event window, rather than

Re: events for no-window widgets

2010-09-22 Thread Paul Davis
On Wed, Sep 22, 2010 at 2:11 AM, Havoc Pennington h...@pobox.com wrote: Hi, I've been exploring how widgets with no GdkWindow could receive events. Here are some notes so far in case people have thoughts. Event Types === Events separate very cleanly into weird lowlevel stuff only matters

Re: events for no-window widgets

2010-09-22 Thread Havoc Pennington
Hi, On Wed, Sep 22, 2010 at 8:55 AM, Paul Davis p...@linuxaudiosystems.com wrote: i think you might want to consider MAP and UNMAP I was thinking the vfuncs (already called on no-window) and map/unmap signals would be fine. i.e. I agree map is interesting for no-window, but I don't think

Re: events for no-window widgets

2010-09-22 Thread Matthias Clasen
On Wed, Sep 22, 2010 at 9:14 AM, Havoc Pennington h...@pobox.com wrote: Hi, (and possibly VISIBILITY_NOTIFY too) as being in section A2. i know that as they stand, these refer to GdkWindows, but by implication they also apply to widgets within the window. Some kind of are we covered up

Take part in gkt+ development

2010-09-22 Thread Alexander Kuleshov
Hello list, First of all let me introduce myself. My name is Alexander Kuleshov. Now I m student, programmer. I have some expirience in C/gtk+ programming (i took part in Google summer of Code in this year) And I want to take part in gtk+/glib development. I have some question: 1) If i write

Re: Take part in gkt+ development

2010-09-22 Thread Tristan Van Berkom
On Wed, 2010-09-22 at 15:09 +, Alexander Kuleshov wrote: Hello list, First of all let me introduce myself. My name is Alexander Kuleshov. Now I m student, programmer. I have some expirience in C/gtk+ programming (i took part in Google summer of Code in this year) And I want to take part

Re: Take part in gkt+ development

2010-09-22 Thread Javier Jardón
2010/9/22 Alexander Kuleshov kuleshovm...@gmail.com: Hello list, Hello Alexander, First of all let me introduce myself. My name is Alexander Kuleshov. Now I m student, programmer. I have some expirience in C/gtk+ programming (i took part in Google summer of Code in this year) And I want to

Re: events for no-window widgets

2010-09-22 Thread Havoc Pennington
Hi, On Wed, Sep 22, 2010 at 10:28 AM, Matthias Clasen matthias.cla...@gmail.com wrote: Isn't that handled by containers simply not calling draw on covered up or hidden children ? yeah, quite possibly. Especially if we move animations into a magic master clock that would also be stopped.

Re: Minutes of the GTK+ Team Meeting - 2010-09-21

2010-09-22 Thread Stefan Kost
Am 22.09.2010 22:21, schrieb Behdad Esfahbod: On 09/21/10 18:02, Emmanuele Bassi wrote: - possibly deprecate ::destroy altogether: use weak-pointer/weak-ref Everyone knows that weak pointers as implemented currently are racy and unsafe, right? this one:

gobject-introspection: continue searching include path on parse error or version conflict of .gir files

2010-09-22 Thread Mongoose
I was trying out the latest GIT and putting it off in /var/opt/gnome to avoid conflict with my stable libraries, but I noticed something about g-object-introspection that messed that up. In /usr/share/gir-1.0 I have for instance a file called GModule-2.0.gir and within it is the stable version for

Re: [directfb-dev] Gtk DirectFB backend

2010-09-22 Thread Ilyes Gouta
Hi Lionel, Can you tell us a bit more about the missing features and the unfinished bits of the back-end in order to get gtk2+-2.20/directfb swinging again? -Ilyes Gouta On Wed, Aug 25, 2010 at 8:49 PM, Lionel Landwerlin llandwer...@gmail.com wrote: Hi, There is a bug report for this :

Re: [directfb-dev] Gtk DirectFB backend

2010-09-22 Thread Lionel Landwerlin
Hi Ilyes, Last time I checked, the remaining issues where : - dragdrop stuff, - scrolling (leaves trash in moved areas) - window resize Regards, -- Lionel Le jeudi 26 août 2010 à 18:14 +0100, Ilyes Gouta a écrit : Hi Lionel, Can you tell us a bit more about the

Re: [GObjectIntrospection] Cleaning up GIRepository

2010-09-22 Thread Giovanni Campagna
Il giorno lun, 23/08/2010 alle 09.10 -0300, Johan Dahlin ha scritto: [not on gtk-devel, so CC me replies] On Fri, 20 Aug 2010 01:59:09 Giovanni Campagna scampa giovanni gmail com wrote: First of all, sorry if this is not the correct mailing list but I did not find a more suited one (and

Re: GTK+ 2.21.7 for updating Android

2010-09-22 Thread Hans Nieuwenhuizen
Dear Mr Clasen, I must say I was surprized to find that if I try to reply to somebody with Redhat, my answer wil be directed to gnome. I must also say that I oppose graphics since it uses most computerfacilities undue. When I want to send a 40 chars long message saying that I will be a little

Errors creating GdkPixbuf

2010-09-22 Thread Andrew Wood
Im getting errors when trying to create a GdkPixbuf using: GdkPixbuf* unviewedicon = gdk_pixbuf_new_from_file(/home/andrew/txe2mdr/unviewedicon.png, NULL); When it runs it spews out: (process:2153): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to

Dropping DirectFB backend from GTK 3

2010-09-22 Thread Jerry McCarthy
Did anyone contact the guys over at: http://www.directfb.org/index.php?path=Main%2FContact -- Without fear we must walk forward and without doubt we must not look back. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: Errors creating GdkPixbuf

2010-09-22 Thread Nicolas Dufresne
Le dimanche 05 septembre 2010 à 12:42 +0100, Andrew Wood a écrit : (process:2153): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call g_type_init() What's you answer to GLib question (Did you forgot to call g_type_init() ?) ? signature.asc

Re: [PATCH] Not getting a keymap should not be fatal

2010-09-22 Thread Matthias Clasen
On Wed, Sep 15, 2010 at 2:58 AM, Lubomir Rintel lkund...@v3.sk wrote: All GTK+ applications abort upon first key press in case XKB extension is not present. This is probably less optimal than it could be, because in case of lack of XKB extension, this causes a XkbGetMap() call on each key

gobject-introspection AIX 6.1 porting problems

2010-09-22 Thread Steve Talmage
I've been trying to compile the current Gnome desktop on my AIX 6.1 system for over a month now, but I keep getting stuck on gobject-introspection. I've tried everything I can think of (I've even blown away and rebuilt my entire build environment twice), but I just can't get it to build. I'm

Re: Take part in gkt+ development

2010-09-22 Thread Alexander Kuleshov
You should file bugs in bugzilla and attach patches there for review (or attach patches for existing bugs): https://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B Ok, i understand. The current development focus is the master branch (future GTK+3) I clone: git clone git://git.gnome.org/gtk+ and

Re: Take part in gkt+ development

2010-09-22 Thread Tristan Van Berkom
On Thu, 2010-09-23 at 05:05 +, Alexander Kuleshov wrote: You should file bugs in bugzilla and attach patches there for review (or attach patches for existing bugs): https://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B Ok, i understand. The current development focus is the master

Re: Take part in gkt+ development

2010-09-22 Thread Alexander Kuleshov
True, except I really recommend you use jhbuild[0] to do this for you. Yes, now i just installed and learning jhbuild. To build GTK+ master you're going to also need development (or at least up-to-date) versions of dependant libraries such as gobject-introspection, gdk-pixbuf, cairo, pango