Re: here's my problem
- From: Marcelo Yezzi <myezzi gmail com>
- To: gtk-list gnome org
- Subject: Re: here's my problem
- Date: Thu, 22 Feb 2007 18:38:07 -0500
thanks to both Mariano and Zenatra.
I finally took Zenatra's advice and used part of wmctrl code to create the app I needed.
Marcelo
On Thu, 2007-02-22 at 12:01, gtk-list-request gnome org wrote:
Send gtk-list mailing list submissions to
gtk-list gnome org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.gnome.org/mailman/listinfo/gtk-list
or, via email, send a message with subject or body 'help' to
gtk-list-request gnome org
You can reach the person managing the list at
gtk-list-owner gnome org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-list digest..."
Today's Topics:
1. Unable to compile gtk+-2.10.9 on solaris 10 (Luc Rocheleau)
2. here's my problem (Marcelo Yezzi)
3. Re: here's my problem (Mariano Su?rez-Alvarez)
4. configuring gtk+ and gtkmm with dev-c++ on windows (Joey Carter)
5. Re: configuring gtk+ and gtkmm with dev-c++ on windows
(Michael Ott)
6. Re: configuring gtk+ and gtkmm with dev-c++ on windows
(Tor Lillqvist)
7. Re: here's my problem (zentara)
From: Luc Rocheleau <luc crt umontreal ca>
To: gtk-list gnome org
Subject: Unable to compile gtk+-2.10.9 on solaris 10
Date: Wed, 21 Feb 2007 15:53:06 -0500
Hi,
When I try to compile gtk+-2.10.9 on solaris 10 (SunOS 5.10
Generic_118855-33 i86pc i386 i86pc), I've warnings when I run the
configure:
[~/gtk+-2.10.9]# ./configure --prefix=/opt/gtk+-2.10.9 --disable-shared
config.status: creating po/Makefile.in
config.status: WARNING: po/Makefile.in.in seems to ignore the
--datarootdir setting
config.status: creating po-properties/Makefile.in
config.status: WARNING: po-properties/Makefile.in.in seems to ignore
the --datarootdir setting
This way, when I try the compilation, I get these errors related(I think
so) to the configure's warnings:
[~/gtk+-2.10.9]# gmake
....
(cd .libs && rm -f im-viqr.la && ln -s ../im-viqr.la im-viqr.la)
.../../gtk/gtk-query-immodules-2.0 im-xim.la im-am-et.la im-cedilla.la
im-cyrillic-translit.la im-inuktitut.la im-ipa.la im-thai.la im-ti-er.la
im-ti-et.la im-viqr.la > gtk.immodules
Cannot load module /root/gtk+-2.10.9/modules/input/im-xim.la: ld.so.1:
gtk-query-immodules-2.0: fatal: /root/gtk+-2.10.9/modules/input/.libs/:
Is a directory
/root/gtk+-2.10.9/modules/input/im-xim.la does not export GTK+ IM module
API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module /root/gtk+-2.10.9/modules/input/im-am-et.la: ld.so.1:
gtk-query-immodules-2.0: fatal: /root/gtk+-2.10.9/modules/input/.libs/:
Is a directory
/root/gtk+-2.10.9/modules/input/im-am-et.la does not export GTK+ IM
module API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module /root/gtk+-2.10.9/modules/input/im-cedilla.la:
ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
/root/gtk+-2.10.9/modules/input/im-cedilla.la does not export GTK+ IM
module API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module
/root/gtk+-2.10.9/modules/input/im-cyrillic-translit.la: ld.so.1:
gtk-query-immodules-2.0: fatal: /root/gtk+-2.10.9/modules/input/.libs/:
Is a directory
/root/gtk+-2.10.9/modules/input/im-cyrillic-translit.la does not export
GTK+ IM module API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module /root/gtk+-2.10.9/modules/input/im-inuktitut.la:
ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
/root/gtk+-2.10.9/modules/input/im-inuktitut.la does not export GTK+ IM
module API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module /root/gtk+-2.10.9/modules/input/im-ipa.la: ld.so.1:
gtk-query-immodules-2.0: fatal: /root/gtk+-2.10.9/modules/input/.libs/:
Is a directory
/root/gtk+-2.10.9/modules/input/im-ipa.la does not export GTK+ IM module
API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module /root/gtk+-2.10.9/modules/input/im-thai.la: ld.so.1:
gtk-query-immodules-2.0: fatal: /root/gtk+-2.10.9/modules/input/.libs/:
Is a directory
/root/gtk+-2.10.9/modules/input/im-thai.la does not export GTK+ IM
module API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module /root/gtk+-2.10.9/modules/input/im-ti-er.la: ld.so.1:
gtk-query-immodules-2.0: fatal: /root/gtk+-2.10.9/modules/input/.libs/:
Is a directory
/root/gtk+-2.10.9/modules/input/im-ti-er.la does not export GTK+ IM
module API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module /root/gtk+-2.10.9/modules/input/im-ti-et.la: ld.so.1:
gtk-query-immodules-2.0: fatal: /root/gtk+-2.10.9/modules/input/.libs/:
Is a directory
/root/gtk+-2.10.9/modules/input/im-ti-et.la does not export GTK+ IM
module API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
Cannot load module /root/gtk+-2.10.9/modules/input/im-viqr.la: ld.so.1:
gtk-query-immodules-2.0: fatal: /root/gtk+-2.10.9/modules/input/.libs/:
Is a directory
/root/gtk+-2.10.9/modules/input/im-viqr.la does not export GTK+ IM
module API: ld.so.1: gtk-query-immodules-2.0: fatal:
/root/gtk+-2.10.9/modules/input/.libs/: Is a directory
gmake[3]: *** [gtk.immodules] Error 1
gmake[3]: Leaving directory `/root/gtk+-2.10.9/modules/input'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/root/gtk+-2.10.9/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/gtk+-2.10.9'
gmake: *** [all] Error 2
I've installed pre-requisites:
cairo-1.2.6
glib-2.12.9
atk-1.17.0
gettext-0.16
libsigc++-2.0.17
pango-1.15.6
cairomm-1.2.4
glibmm-2.12.5
Any idea what I can do to solve this problem.
Thanks and regards
Luc Rocheleau
From: Marcelo Yezzi <myezzi gmail com>
To: gtk-list gnome org
Subject: here's my problem
Date: Wed, 21 Feb 2007 18:43:15 -0500
Hello all
I'm trying to figure out what is the title text of the active window in
my screen. I need that information to name a file that will be later
used in another application.
As an example, if I had to name a file right now it should be something
like "here's_my_problem", since that's the tile of the currently active
window in my system
So my questions are:
1. How do I get information about the currently selected window?
2. How do I get the title of that window? (I've been reading about
Gtk::Window::get_title(), but I'm not sure)
I'm open to pretty much any programming language although I'd prefer
either C or Perl.
Thanks in advance for any hint
Marcelo
From: Mariano Suárez-Alvarez <msuarezalvarez arnet com ar>
To: Marcelo Yezzi <myezzi gmail com>
Cc: gtk-list gnome org
Subject: Re: here's my problem
Date: Wed, 21 Feb 2007 20:58:01 -0300
On Wed, 2007-02-21 at 18:43 -0500, Marcelo Yezzi wrote:
> Hello all
>
> I'm trying to figure out what is the title text of the active window in
> my screen. I need that information to name a file that will be later
> used in another application.
>
> As an example, if I had to name a file right now it should be something
> like "here's_my_problem", since that's the tile of the currently active
> window in my system
>
> So my questions are:
>
> 1. How do I get information about the currently selected window?
> 2. How do I get the title of that window? (I've been reading about
> Gtk::Window::get_title(), but I'm not sure)
>
> I'm open to pretty much any programming language although I'd prefer
> either C or Perl.
>
> Thanks in advance for any hint
You can use libwnck, which has a
wnck_screen_get_active_window function. Once you get a WnckWindow object
you can query pretty much any window-manager-y aspect of it.
There is documentation from libwnck in the source tarball, and once it
is installed, you can look at it useing devhelp, for example.
HTH.
-- m
--
Mariano Suárez-Alvarez
http://www.gnome.org/~mariano
From: Joey Carter <kaosfrack gmail com>
To: gtk-list gnome org
Subject: configuring gtk+ and gtkmm with dev-c++ on windows
Date: Wed, 21 Feb 2007 21:19:51 -0800
I've searched the internet for a detailed step-by-step instructions on
how to configure gtk+ and gtkmm with dev-c++, but didn't find any up
to date installation instructions.
Many of you must already be using them, so if any of you could post
how you did that, i would be very grateful and create a blog about the
topic so that it is not addressed any more.
What files do I need to download?
What directories should I add in the PATH environmental variable?
What include, lib and bin directories should I add in Dev-C++?
Etc...
Thanks
From: Michael Ott <michael king-coder de>
To: Joey Carter <kaosfrack gmail com>
Cc: gtk-list gnome org
Subject: Re: configuring gtk+ and gtkmm with dev-c++ on windows
Date: Thu, 22 Feb 2007 09:32:35 +0100
Hello Joey!
> I've searched the internet for a detailed step-by-step instructions on
> how to configure gtk+ and gtkmm with dev-c++, but didn't find any up
> to date installation instructions.
> Many of you must already be using them, so if any of you could post
> how you did that, i would be very grateful and create a blog about the
> topic so that it is not addressed any more.
> What files do I need to download?
> What directories should I add in the PATH environmental variable?
> What include, lib and bin directories should I add in Dev-C++?
You can use the pkg-config in the command line to see what you need and
add this entries into the library and lib entries.
CU
Michael
--
,''`. Michael Ott, e-mail: michael at zolnott dot de
: :' : Debian SID on Thinkpad T43:
`. `' http://www.zolnott.de/laptop/ibm-t43-uc34nge.html
`-
Jeden Mittwoch von 21 - 24 Uhr. Zosh! auf Radio Z.
Das Härteste, was der Musikmarkt zu bieten hat. http://www.zosh.de
Online hören: http://www.radio-z.net
From: Tor Lillqvist <tml iki fi>
To: Joey Carter <kaosfrack gmail com>
Cc: gtk-list gnome org
Subject: Re: configuring gtk+ and gtkmm with dev-c++ on windows
Date: Thu, 22 Feb 2007 12:05:00 +0200
Joey Carter writes:
> I've searched the internet for a detailed step-by-step instructions on
> how to configure gtk+ and gtkmm with dev-c++, but didn't find any up
> to date installation instructions.
Why not ask on some Dev-C++ list then? Why not learn by experimenting?
If you are a programmer, it shouldn't be that hard to find out the
answer to your questions just by educated guessing and trial and
error. (If you aren't a programmer, well, why do you want to use GTK+
then?) Then submit your results to the Dev-C++ FAQ (if there is one)?
The answer is roughly (note that I have never used Dev-C++: Add the
"bin" folder(s) to PATH, and then run the command:
pkg-config --cflags gtk+-2.0
to find out what to add to the compiler flags, and run:
pkg-config --libs gtk+-2.0
to find out that to add to the linker flags. (It would of course be
most elegant if Dev-C++ could be told to do that itself to find out
the flags.) If you don't have pkg-config, download it, from
ftp://ftp.gtk.org/pub/gtk/v2.10/win32/dependencies . If you downloaded
some "easy to use" single-file-that-includes-everything GTK+
development bundle and it didn't include pkg-config, tell those who
packaged it that they really should include pkg-config,
too. pkg-config is the only supported (as in, "supported by the actual
maintainers of upstream GTK+") way to find out the compiler flags to
use.
--tml
From: zentara <zentara1 sbcglobal net>
To: gtk-list gnome org
Subject: Re: here's my problem
Date: Thu, 22 Feb 2007 10:30:58 -0500
On Wed, 21 Feb 2007 18:43:15 -0500
Marcelo Yezzi <myezzi gmail com> wrote:
>I'm trying to figure out what is the title text of the active window in
>my screen. I need that information to name a file that will be later
>used in another application.
>
>As an example, if I had to name a file right now it should be something
>like "here's_my_problem", since that's the tile of the currently active
>window in my system
>
>So my questions are:
>
>1. How do I get information about the currently selected window?
>2. How do I get the title of that window? (I've been reading about
>Gtk::Window::get_title(), but I'm not sure)
>
>I'm open to pretty much any programming language although I'd prefer
>either C or Perl.
There is also wmctrl, which has a c program and a perl module.
It does everything you want except identify the active window.
It does have an :ACTIVE: identifier, but it seems that it dosn't
give you the current active window ( since the current active
is itself running :-) )
See:
http://sweb.cz/tripie/utils/wmctrl/
There are also a link to a focusfinder.c program at
http://gnomesupport.org/forums/viewtopic.php?t=10379
zentara
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]