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 windo

Re: obtaining current viewport/scrolled window dimensions

2010-09-22 Thread James Morris
On 22 September 2010 23:49, James Morris 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. There is a vague me

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 windo

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

[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 (b

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 plug-added

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

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 patc

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 > tha