Re: G-Inspector ?
- From: AOSASA Shigeru <lrr tree odn ne jp>
- To: gtk-list gnome org
- Subject: Re: G-Inspector ?
- Date: Tue, 22 May 2007 02:43:55 +0900 (JST)
Hi.
> Can anyone tell me what is G-Inspector ?.
G-Inspector is a tool that inspect a GTK application internals at run-time.
No special modification to the GTK application is required on inspection.
Screenshots:
+ http://sourceforge.net/project/screenshots.php?group_id=134778
Similar tools:
+ Qt Object Inspector - http://doc.trolltech.com/solutions/qtobjectinspector/overview.html
+ editres - http://xorg.freedesktop.org/archive/X11R6.9.0/doc/html/editres.1.html
Mentioned by:
+ http://www.freax.be/blog/index.php/2005/03/25/g-inspector-is-so-cool
> I was searching for any documents regarding it but in vain.
> It will be great if somebody suggest me the link of its reference manual
Due to my laziness, reference manual is not yet released.
> (or) how to use it ?.
* How to use G-Inspector
1. prepare G-Inspector
(a) install binary package
+ [debian] http://packages.debian.org/unstable/devel/ginspector
or
(b) build from source
i. source tarballs
+ http://sourceforge.net/project/showfiles.php?group_id=134778&package_id=149086&release_id=330740
+ http://sourceforge.net/project/showfiles.php?group_id=134780&package_id=149083&release_id=330738
+ http://sourceforge.net/project/showfiles.php?group_id=134780&package_id=149085&release_id=330739
ii. compile
% cd /path/to/builddir
% bzcat glrr-20050529.tar.bz2 | tar xf -
% bzcat glrr-widgets-20050529.tar.bz2 | tar xf -
% bzcat ginspector-20050529.tar.bz2 | tar xf -
% cd glrr-20050529
% ./configure
% make
% cd ../glrr-widgets-20050529
% PKG_CONFIG_PATH=../glrr-20050529/pkgconfig ./configure
% make
% cd ../ginspector-20050529
% PKG_CONFIG_PATH=../glrr-20050529/pkgconfig:../glrr-widgets-20050529/pkgconfig ./configure
% make
iii. (OPTIONAL) install
% cd /path/to/builddir
% su
# cd glrr-20050529
# make install
# cd ../glrr-widgets-20050529
# make install
# cd ../ginspector-20050529
# make install
2. run application with G-Inspector
% /path/to/g-inspector GTK-APPLICATION [ARGS-FOR-GTK-APPLICATION ...]
e.g.
% /path/to/g-inspector gimp
3. inspection
After invoking the GTK application,
extra window that created by G-Inspector will appear.
If you want to inspect a widget,
i. select menu item - [View]/[Pickup List]
ii. select menu item - [View]/[Widget Picker]
iii. click "Pick" button on Widget Picker window
iv. click target widget
v. right click at list item on Pickup List window
vi. select popup menu item - [View Widget Detail]
If you want to inspect a GType,
i. select menu item - [View]/[GType Tree]
ii. right click at tree item on GType Tree window
iii. select popup menu item - [View GType Detail]
Notes:
G-Inspecotr is still developing, silently.
New version will be released at near future.
Regards,
--
AOSASA Shigeru
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]