Re: Access to all widgets on the screen

2010-05-03 Thread Jordi Rubio
thanks, I'll try today On Mon, May 3, 2010 at 7:45 PM, Nischal Rao wrote: > > You can use Accessibility APIs [1]. It will let you access any object(frames, text field, buttons etc) of a "GTK" based application. > > If you want to access only windows, you can use the Libwnck API [2]. ( using the w

Re: GLib Kill Process

2010-05-03 Thread Ardhan Madras
Hi, Using Win32 APIs: CreateProcess() for forking, WaitForSingleObject() for waiting, GetExitCodeProcess() for exit code and CloseHandle() for closing process's handle are quite easily than by using GLib's g_spawn* wrapper!. Ardhan --- morshed.na...@gmail.com wrote: From: Nade

Re: Pango underline does not work with cairo scale.

2010-05-03 Thread Magicloud Magiclouds
Hi, could someone help me on this? Thanks. On Fri, Apr 30, 2010 at 2:53 PM, Magicloud Magiclouds wrote: > Hi, the code is following. In a scaled cairo context, the underline is > not scaled as the text. test.png shows that the underline is ever > larger than the "00". > The version of pango is 1.

Re: GLib Kill Process

2010-05-03 Thread Allin Cottrell
On Mon, 3 May 2010, Nader Morshed wrote: > As a note, using the built-in Windows function > "TerminateProcess" ( > http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx ) > fails with the error: "The handle is invalid"... Are you sure that you specified the flag G_SPAWN_DO_NOT_REAP_CHILD

Re: GLib Kill Process

2010-05-03 Thread Nader Morshed
As a note, using the built-in Windows function "TerminateProcess" ( http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx ) fails with the error: "The handle is invalid", I don't have access to a POSIX environment to test kill() on though On Mon, 3 May 2010 14:43:34 -0700 Nader Morshed

GLib Kill Process

2010-05-03 Thread Nader Morshed
Is there any way to kill a process in GLib, using the pid given by g_spawn_async()? I guess a fallback could be to use the GPid with the kill() function provided by signal.h, but that specific function has not yet been implemented on Windows through mingw :( -- Nader Morshed _

Re: Access to all widgets on the screen

2010-05-03 Thread Nischal Rao
You can use Accessibility APIs [1]. It will let you access *any*object(frames, text field, buttons etc) of a "GTK" based application. If you want to access only windows, you can use the Libwnck API [2]. ( using the wnck_screen_get_windows() function ) [1] http://library.gnome.org/devel/at-spi-csp

Strange gnome-config problem

2010-05-03 Thread John Coppens
I know, gnome-config is deprecated. This is an older test program, and, if I can avoid it, I'd rather not modify the code too much. I have plenty programs that have similar code which works fine. The program is rather simple: I have a line (the first one actually), that does: var = gnome_config

Access to all widgets on the screen

2010-05-03 Thread Jordi Rubio
Hi, I need to list all windows and objects from all the GTK (not only my application) I tried to use GDK function gdk_window_get_children, but only recives my windows... Anyone can help me? Thanks paste code from my test: GdkScreen *screen; GdkWindow *root; GList *windows; screen = gdk_screen_g

Re: libgnomecanvas

2010-05-03 Thread John Emmas
On 3 May 2010, at 03:05, Javier Jardón wrote: > > note that GnomeCanvas is deprecated, maybe you want to use GooCanvas > [1] instead. > Thanks for the suggestion Javier but this is a pre-existing project so I'm pretty much stuck with the same canvas that everyone else is using. No matter what

Re: libgnomecanvas

2010-05-03 Thread Vincent Torri
On Mon, 3 May 2010, Emmanuele Bassi wrote: On Mon, 2010-05-03 at 10:39 +0200, Vincent Torri wrote: that page is just for canvases can be used by/integrated in GTK+; QtGraphicsView was added as a reference point. that wiki page is not meant to be "let's list all canvases in existence so that

Re: libgnomecanvas

2010-05-03 Thread Emmanuele Bassi
On Mon, 2010-05-03 at 10:39 +0200, Vincent Torri wrote: > > that page is just for canvases can be used by/integrated in GTK+; > > QtGraphicsView was added as a reference point. that wiki page is not > > meant to be "let's list all canvases in existence so that people can use > > them". > > from t

Re: libgnomecanvas

2010-05-03 Thread Vincent Torri
On Mon, 3 May 2010, Emmanuele Bassi wrote: On Mon, 2010-05-03 at 10:02 +0200, Vincent Torri wrote: I've updated the informations of the Evas canvas in that page (very fast canvas, btw). It is not vector-based, contrary to most other canvas libraries listed in the page above (as they use cair

Re: libgnomecanvas

2010-05-03 Thread Emmanuele Bassi
On Mon, 2010-05-03 at 10:02 +0200, Vincent Torri wrote: > I've updated the informations of the Evas canvas in that page (very fast > canvas, btw). It is not vector-based, contrary to most other canvas > libraries listed in the page above (as they use cairo for the rendering). please, don't. th

Re: libgnomecanvas

2010-05-03 Thread Vincent Torri
Hey, 2010/5/1 John Emmas : Is this an appropriate forum for asking questions about libgnomecanvas or does it have its own separate mailing list? Hello John, note that GnomeCanvas is deprecated, maybe you want to use GooCanvas [1] instead. Also, this page has info about some canvas librari