Re: Xft problem during pango installation

2004-06-30 Thread Chad A Daelhousen
At Wed, Jun 30, 2004 at 06:13:00PM -0400, Mariusz wrote:
> During installation pango, ./configure brake process with that result:
[snip]
> config.status: executing pango/module-defs-x.c commands
> config.status: executing pango/module-defs-fc.c commands
> config.status: executing pango/module-defs-win32.c commands
> configuration:
> backends: FreeType X Xft
> [EMAIL PROTECTED] pango-1.4.0]# pkg-config --modversion xft
> 2.1.2
> [EMAIL PROTECTED] pango-1.4.0]#
> 
> What this mean : backends :FreeType X Xft?
> 
> According to last problem what during instaltion gtk+ I had missing pango or 
> xft, how we can above pango create file 
> pangoxft.pc 
> during installation.

It looks to me like a normal configure run with an informative message
about what backends (used by Pango itself to finally render and display
the text) will be built. Continue the install process. It should make
the pangoxft.pc file this time, because Xft is listed as a backend.

-- 
Chad Daelhousen
My opinions are my own, unless UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: problem building gtk

2004-05-07 Thread Chad A Daelhousen
At Fri, May 07, 2004 at 11:29:59AM -0400, Dov Kruger wrote:
> Sorry about the previous post. I didn't include enough information.

Oops, I should read all the mail before starting replies.

> rehat9 comes with libglib-1.2.so.0.0.10. It works.
> I did an rpm install:
> 
> rpm -i glib-2.4.1-1.i686.rpm
> glib successfully installs, but there isn't a file labelled 2.4,
> instead, in /usr/lib:
> -rwxr-xr-x1 root root   514472 Apr 30 13:38
> /usr/lib/libglib-2.0.so.0.400.1
> lrwxrwxrwx1 root root   22 May  6 11:06
> /usr/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.400.1
> 
> I would have simply assumed this is correct,

Looks fine to me.

>  were it not for the fact
> that building pango 1.4:
> 
> conftest.c:27:18: glib.h: No such file or directory

Is there a -devel RPM that needs installed? Does 'pkg-config --cflags
glib-2.0' produce -I flags for a couple of directories that actually
exist and have header files in them? (That's only a sane question if
'pkg-config --modversion glib-2.0' comes up with '2.4.1'.)

-- 
Chad Daelhousen
My opinions are my own, unless UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: problem building gtk2.4.1

2004-05-07 Thread Chad A Daelhousen
At Fri, May 07, 2004 at 09:02:44AM -0400, Dov Kruger wrote:
> Going to the lowest level, I downloaded glib-2.4.1 source.
> I built using ./configure, make, and make install.
> The only files I see generated are glib-2.0.so.0.400.1,
> and pango-1.4 configure fails, saying I need version >= 2.4
> Can anyone clarify what's going on?

Have you read the installation guide, linked to from the download page?
http://developer.gnome.org/doc/API/2.4/gtk/gtk-building.html

Have you read config.log? Sounds like /usr/bin/pkg-config isn't looking
in /usr/local/lib/pkgconfig. You'll need to set PKG_CONFIG_PATH, and
probably LD_LIBRARY_PATH too or the next run will complain pkg-config
found 2.4 but the linker didn't.

-- 
Chad Daelhousen
My opinions are my own, unless UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: missing module in path

2004-04-23 Thread Chad A Daelhousen
At Thu, Apr 22, 2004 at 05:47:14PM -0400, Robert Krueger wrote:
> "Unable to locate loadable module in module_path: "libqtpixmap.so"'
> 
> I do have this file in two locations:
>  /opt/gnome/lib/gtk-2.0/2.2.0/engines/
>  /opt/gnome/lib/gtk/themes/engines/
> 
> I can find no information on "module_path", so I do not know where it
> expects to find this file, although I'm sure one of you folks does.I
> would guess a symlink in the correct place would do it, but that's a guess.
> Can someone help?

Google can ;)

Add this line to the appropriate gtkrc:
module_path "/opt/gnome/lib/gtk-2.0/2.2.0/engines"

I suspect that is for gtk-2 and the other engine might be for gtk-1.

HTH.

-- 
Chad Daelhousen
My opinions are my own, unless UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Size of Gtk Libs ?

2004-03-27 Thread Chad A Daelhousen
At Fri, Mar 26, 2004 at 04:52:12PM -0300, Flavio Alberto Lopes Soares wrote:
> But my doubt is if can I putting only the files that ldd gives me in
> other system (with X files of course) I will have my code runing OK ?
> I will do some experiments to see what happens and I will report.

That should be fine; that's how I build my chroot jails. :)

You should really look into static linking (-static flag to gcc) for
your program, though. If nothing else is running to share the libraries
with, you're not going to see any advantage from using shared libraries.

-- 
Chad Daelhousen
My opinions are my own, unless UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Error in compiling GTK+ applications

2004-02-24 Thread Chad A Daelhousen
At Tue, Feb 24, 2004 at 09:39:22AM +0100, Kendl Tibor wrote:
> Dear list members, GTK team!
> 
> I've compiled and installed a gtk-2.3.2, and tried to compile a gtk 
> application, in this case a mozilla-1.6 browser. It's configure script 
> exited with an error that it cannot find the 'gtk-config' script. I 
> checked the whole / directory with mc's find file and it did not found 
> any gtk-config. Can anyone tell me what is this 'gtk-config' and why it 
> is needed?
[snip]

As stated, Mozilla is looking for GTK 1.x. If you want to compile
against GTK 2.x instead, you can put this line in .mozconfig (or pass
the argument to configure, depending on how you're building):

ac_add_options --enable-default-toolkit=gtk2

I assume pkg-config will work since you managed to install GTK.

HTH. Further questions about building Mozilla should probably go to a
Mozilla-specific list/newsgroup/forum.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
Do not BCC me; it is considered spam and deleted.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: glib-2.2.3 vs. pkgconfig-0.15.0

2004-02-01 Thread Chad A Daelhousen
At Sun, Feb 01, 2004 at 08:11:16PM -, [EMAIL PROTECTED] wrote:
> checking for GLIB - version >= 2.0.0...
> *** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.0.6)
> *** was found! If pkg-config was correct, then it is best
> *** to remove the old version of GLib. You may also be able to fix the error
> *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is
> *** required on your system.

pkg-config is right, the linker is wrong. All possible solutions are
listed in that block of text. More information can be found in the
installation guide:
http://developer.gnome.org/doc/API/2.2/gtk/gtk-building.html

You might also try searching the list archives:
http://mail.gnome.org/archives/gtk-list/

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
Do not BCC me; it is considered spam and deleted.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: problems with glib installation

2004-01-19 Thread Chad A Daelhousen
At Mon, Jan 19, 2004 at 02:15:35PM -0800, Jeff Heath wrote:
> I'm trying to install gnome.  Discovered that I needed to update gtk,
> then discovered that I need to update glib, and install pango and atk. 

First and foremost, read the installation guide if you haven't already:
http://developer.gnome.org/doc/API/2.2/gtk/gtk-building.html

> installed glib-2.2.3 and everything seemed to go well, but when I tried
> to install pango-1.2.5, I got the following error message during
> configure (see below). 
> 
> checking for fontconfig >= 1.0.1... Package fontconfig was not found in
> the pkg-config search path. 
> Perhaps you should add the directory containing `fontconfig.pc' 
> to the PKG_CONFIG_PATH environment variable 
> No package 'fontconfig' found 
> configure: WARNING: No fontconfig found, skipping tests for FreeType and
> Xft 

You probably want to install fontconfig, freetype, and xft as well...
although they may be on the system already. Try with
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig before doing
anything drastic.

> checking for pkg-config... (cached) /usr/local/bin/pkg-config 
> checking for GLIB - version >= 2.1.3... 
> *** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.0.6) 
> *** was found! If pkg-config was correct, then it is best 
> *** to remove the old version of GLib. You may also be able to fix the
> error 
> *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is 
> *** required on your system. 
> *** If pkg-config was wrong, set the environment variable
> PKG_CONFIG_PATH 
> *** to point to the correct configuration files 
> no 
> configure: error: 
> *** Glib 2.1.3 or better is required. The latest version of 
> *** Glib is always available from ftp://ftp.gtk.org/.
> 
> 
> It seems that maybe the glib installation didn't go as well as I
> thought.  I'm a Linux newbie, so I'm hesitant to remove the old version
> of glib (as suggested below), nor do I know how to do so.  I did a
> search on files named glib* and came up with about 350.  Lots of them
> glib-2.0 something. 

This error says "pkg-config is working fine, but the linker isn't"; so
you can either set LD_LIBRARY_PATH, or add /usr/local/lib to
/etc/ld.so.conf (and run ldconfig). I forget which way is recommended.

> Is /root/.bash_profile where I should change the environment
> variable mentioned above?  here's the /root/.bash_profile file: 

Instead of "forever", it's also possible to set it for one command:
prompt$ LD_LIBRARY_PATH=/usr/local/lib ./configure

Or for every command until exiting the shell:
prompt$ export LD_LIBRARY_PATH=/usr/local/lib

> Thanks in advance for any help, 
> 
> Jeff

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
Do not BCC me; it is considered spam and deleted.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Best practice for installing GTK 2.2.4 on Mandrake 9.0

2004-01-06 Thread Chad A Daelhousen
At Mon, Jan 05, 2004 at 09:40:32PM -, mond wrote:
> Hi,
> 
> I am about to install gtk 2.2.4 on Mandrake 9.0 and I am not sure of the
> best way to go about installing all the related packages.
> 
> These are the packages I want to install (all source):
> 
> - gtk+-2.2.4
> - glib-2.2.3
> - atk-1.2.4
> - pango-1.2.5
> - pkgconfig-0.14.0
> - jpegsrc.v6b
> - libpng-1.2.5
> - tiff-v3.5.7
> 
> Are there any more dependencies?
> 
> In which order should I install them (i.e. ./configure --prefix=/usr; make;
> make install)?

If you haven't seen the install guide, have a look at it:
http://developer.gnome.org/doc/API/2.2/gtk/gtk-building.html

> What will happen to the previous versions installed on my machine?  Will
> they just get overridden?  Or will I have to manually uninstall them first
> (some are rpms and others have been installed from source)?

gtk-1.x should be left alone; gtk-2 won't disturb it at all. At minimum,
the gtk-2 versions under the same prefix would have to be removed.
(Compiling with other versions later would probably require setting
PKG_CONFIG_PATH.)

> Finally, when I (eventually) get them installed what will I have to do to
> make them available? (Alter pkg-config .pc files?)
> 
> Thanks in advance for any help,
> 
> -- mond

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
Do not BCC me; it is considered spam and deleted.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Problem compiling GTK application...

2003-12-13 Thread Chad A Daelhousen
At Sat, Dec 13, 2003 at 08:00:04PM +0100, Alain D'eurveilher wrote:
> ---
> Hi,
> I just installed GTK 2.2.4 and when I want to compile, i've got those
> warning messages.
> Can anybody help me on this please?
>  
>  
> 15:41 [EMAIL PROTECTED] ~/gtk/reboot%  LC_ALL=C make
> cc reboot.c -c -o  reboot.o `pkg-config --cflags --libs gtk+-2.0`
> cc: -lpango-1.0: linker input file unused because linking not done
[more of the same snipped]
> cc reboot.o -o reboot `pkg-config --cflags --libs gtk+-2.0
> [EMAIL PROTECTED] ~/gtk/reboot%
> 
> Thanks :-)
> 
> AlaiN.

It looks like it worked just fine: the messages look like warnings
because the first invocation uses -c (compile only) with the libraries.
Editing the Makefile so that the rules to generate .o files didn't
include "--libs" should fix that.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
Do not BCC me; it is considered spam and deleted.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GLIB not being found

2003-10-21 Thread Chad A Daelhousen
At Wed, Oct 22, 2003 at 12:34:08AM -0400, WC Jones wrote:
> I am at a loss as to why this error shows up - especially since I have 
> glib-2.2.3 installed.
> 
> 
> Platform is Solaris 5.9; the config.log (pango) is attached.  What is a little 
> confusing is that ATK configured && make && make install without error.
> 
> Any ideas of how I can resolve this issue?
> 
> Thx/Sx
> 
> 
> checking for fontconfig >= 1.0.1... sh: gnome-config: not found
> sh: gnome-config: not found
> Package fontconfig was not found in the pkg-config search path.
> Perhaps you should add the directory containing `fontconfig.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'fontconfig' found
> configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for GLIB - version >= 2.1.3... no
> *** Could not run GLIB test program, checking why...
> *** The test program failed to compile or link. See the file config.log for the
> *** exact error that occured. This usually means GLIB is incorrectly installed.
> configure: error:
> *** Glib 2.1.3 or better is required. The latest version of
> *** Glib is always available from ftp://ftp.gtk.org/.

This isn't the real config.log; it's the output of configure. configure
should have produced the config.log in the same directory, and near the
end, it should contain the exact program, compiler command, and error
messages involved.

However, given that it's picking up /usr/bin/pkg-config, the most likely
culprit is that GLib is installed under /usr/local or whatever you
passed as --prefix to its configure script. Thus, it may help to run as:

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure

Modify as appropriate for your environment. If you haven't seen it, the
full install guide may also be handy:

http://developer.gnome.org/doc/API/2.2/gtk/gtk-building.html

HTH.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: why is gtk install so difficult?

2003-10-20 Thread Chad A Daelhousen
At Mon, Oct 20, 2003 at 03:19:40PM -0400, Ruben Safir Secretary NYLXS wrote:
> > If you're so unsure about its location that you're resorting to 'find', you
> > just bought yourself a 'find /'.  Yes, over *all* the file systems.  
> 
> Not really.  You just need to check /opt /usr/include and /lib

/usr/lib, /usr/local/lib, $(PREFIX), $LDFLAGS, anything nonstandard in
/etc/ld.so.conf on Linux... and that's just for libraries, not includes.
The cure is worse than the disease.

GTK+ simply expects anyone compiling from source to give it a clean
system to run on. If things were broken before it arrived, that can
hardly be blamed on GTK+ itself.

> While find is a HOG, you are only perhaps doing this once, writing results
> to a file in /tmp which can be timestamped for future installed system.

/tmp is traditionally cleaned on boot. In certain environments, random
files may also get removed by the system administrator if the partition
gets full.

Incidentally, trying to store *another* file somewhere is going to run
into all the same configure problems as finding the files in the first
place.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: why is gtk install so difficult?

2003-10-16 Thread Chad A Daelhousen
At Wed, Oct 15, 2003 at 09:26:46AM -0400, Paul Davis wrote:
> >At Tue, Oct 14, 2003 at 11:47:12PM -0600, Michael Torrie wrote:
> >> All the compilation problems I've seen lately on this list stem from
> >> users not understanding what happens when you  install to /usr/local and
> >> try to use pkg-config without telling it to look for your .pc files in
> >> /usr/local/lib/pkgconfig (it defaults to /usr/lib/pkgconfig).
> >
> >That suggests pkg-config needs ${PREFIX}/lib/pkgconfig included in its
> >default path. It's not user error if a piece of software doesn't pay
> >attention to where it installed itself (or was asked to install itself).
> 
> that's not what is happening in such situations. linux (and unix in
> general) has been plagued by two different installation
> conventions. "system installs" go into /usr, "user installs" go into
> /usr/local. with the dawn of package systems like RPM, deb etc., most
> of them default to an install in /usr. if the user then installs
> something from a source tarball, it normally ends up in
> /usr/local. this is modelled on some old ideas about backups, system
> reinstalls and so forth that often no longer apply.

Oh, I misunderstood the problem. /usr/bin/pkg-config is _still there_,
oblivious to /usr/local/*, and run by default because it's earlier in
$PATH.

In that case, is there any situation in which /usr/bin/pkg-config should
NOT look in /usr/local/lib/pkgconfig? Havoc, as maintainer, what are
your thoughts? Should this be changed?

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: why is gtk install so difficult?

2003-10-15 Thread Chad A Daelhousen
At Tue, Oct 14, 2003 at 11:47:12PM -0600, Michael Torrie wrote:
> All the compilation problems I've seen lately on this list stem from
> users not understanding what happens when you  install to /usr/local and
> try to use pkg-config without telling it to look for your .pc files in
> /usr/local/lib/pkgconfig (it defaults to /usr/lib/pkgconfig).

That suggests pkg-config needs ${PREFIX}/lib/pkgconfig included in its
default path. It's not user error if a piece of software doesn't pay
attention to where it installed itself (or was asked to install itself).

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Compiling gtkFB problems

2003-10-14 Thread Chad A Daelhousen
At Mon, Oct 13, 2003 at 07:59:15PM +0200, Rodolfo Giometti wrote:
> I'm trying to compiling a gtkFB library for a i386 based machine.
> 
> The problem is that I tried different packages versions of atk, glib,
> pango, freetype and gtk+ but I get each time a compiling error... can
> someone please tell me which version of several packages I should use
> and (possibly) the relative "configure" options?

Have you read:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

It explains all the dependencies and (eventually) what order to compile
everything in. Generally, all the latest packages should work together;
if you can find the release announcements, it should also list the
versions of dependent libraries of that release.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Bus failure using focus events

2003-10-02 Thread Chad A Daelhousen
At Thu, Oct 02, 2003 at 07:35:27PM -0400, Ian Schorr wrote:
> On Thursday, October 2, 2003, at 01:06 PM, Ian Schorr wrote:
> >However, I noticed the different params and I'm not sure that I'm 
> >handling this properly (I don't believe I understand signals terribly 
> >well, to be honest with you).  I had assumed that in none of the code 
> >I've implemented, do I have to worry about the signal params - those 
> >were handled by GTK.  I just connect to the signal, and pass the 
> >signal-connect params.  Are you saying that I somehow have to build a 
> >GdkEventFocus object and pass it to focus-out-event?  I'm not sure 
> >that I'm actually generating the call with the GtkEntry or gpointer 
> >when I connect to "activate" now, so I'm not sure at what point this 
> >would be done.
> >
> Can someone maybe point me to example code implementing 
> "focus-out-event", particularly against a Text Entry widget?  That 
> might help me even more.  I've seen several references to it being used 
> this way, but I haven't found a good example (and the GTK docs need to 
> be taken out and shot).

In case you didn't understand what Peter said, the focus-out-event and
activate signals have different call signatures. If you change the
signal, the callback function needs to be modified accordingly.
Normally, the compiler catches improper numbers of arguments, but that
doesn't work here due to unavoidable casting to GCallback.

void activate_callback(GtkEntry *entry, gpointer user_data) {
  ...
}

gboolean focus_out_callback(GtkWidget *widget, GdkEventFocus *event,
gpointer user_data) {
  ...
}

...
  g_signal_connect(entry_box, "signal-name", signal_callback, data);

GTK/GDK takes care of passing in the relevant entry/widget/event, but
the same function can't be used in both cases. user_data is whatever
user_data was supplied to the g_signal_connect() call.

HTH

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Images / printing / positionning with PHPP GTK

2003-08-30 Thread Chad A Daelhousen
At Fri, Aug 29, 2003 at 01:59:23PM -0300, decio.osiris wrote:
> Thanks Chad for your answer.
> 
> So, since it is better not to lock the size of the box 
> containners, how can I garantee the right size of the 
> boxes?
> For example, I was playing around with it and tried out 
> a tipical windows environment design, withe a menubas on 
> top, a vbox with a button box of a toolbar reght bellow 
> it, a status bar on the botton of the window and in the 
> middle, enough space and forms for inputting information 
> (like to create a directory of companies and their 
> adresses) inside a scrolling box.
> But but I just can't get the size of the button box 
> (toolbar) and the middle scrolling box right! 
> How can I fix it?

Try gtk_widget_set_size_request():
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-set-size-request

> As for printing, what do you suggest in your email? 
> (sorry, newbie to it all and trying to understand this 
> new world). That means I can't send the reporting 
> directly from the application to the printer?

I'm not very familiar with printing, but I don't think GTK supports it
itself. I believe GNOME offers printing capability, but I'm not sure of
what; I don't know if it can print random GTK widgets.

> As for the images, please could some one explain if PHP 
> is really limited to xmp images? If not, what are the 
> best formats I can use and how? If so, does that mean I 
> have to insert the ascii code for the image inside the 
> application? Or are there any software to convert other 
> image formats to xpm on windows?
> 
> Thanks everyone
> 

GTK supports several formats (e.g. PNG and JPEG) through pixbuf loaders.
Whether PHP-GTK can use them isn't really a question for gtk-list.

> At Tue, Aug 26, 2003 at 02:10:58PM -0300, decio.osiris 
> wrote:
> > 3. Lastly, in web designing, we use transparent images 
> > to lock the size of boxes and tables so we can create 
> > our deisng acordingly. Tn PHP GTK, is there any way to 
> > do anything like that? Locking the tables or spaces so 
> > the design we create looks always the same?
> 
> I can't answer the rest of your questions, but for this 
> one: no, that's
> considered harmful. Translations, themes, user 
> configuration (font faces
> and sizes), and probably more variables affect the size 
> of text to be
> laid out. It's probably possible with an image-only 
> design, but that's
> not as generally useful.
> 
> For something to be printed, you should probably 
> consider using an
> actual page description language like PostScript or 
> possibly TeX (which
> I am not so familiar with).
> 
> -- 
> Chad Daelhousen
> My opinions are my own, until UB purchases my soul.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Images in PHP GTK /

2003-08-27 Thread Chad A Daelhousen
At Tue, Aug 26, 2003 at 02:10:58PM -0300, decio.osiris wrote:
> 3. Lastly, in web designing, we use transparent images 
> to lock the size of boxes and tables so we can create 
> our deisng acordingly. Tn PHP GTK, is there any way to 
> do anything like that? Locking the tables or spaces so 
> the design we create looks always the same?

I can't answer the rest of your questions, but for this one: no, that's
considered harmful. Translations, themes, user configuration (font faces
and sizes), and probably more variables affect the size of text to be
laid out. It's probably possible with an image-only design, but that's
not as generally useful.

For something to be printed, you should probably consider using an
actual page description language like PostScript or possibly TeX (which
I am not so familiar with).

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: gtk_config

2003-08-14 Thread Chad A Daelhousen
At Tue, Aug 12, 2003 at 11:06:02PM +, Gray Handcock wrote:
> Hello, I am trying to get the latest stable version of the Gimp 
> (gimp-1.2.5) installed. atk-1.2.4 installed fine, as did glib-2.2.2 and 
[snip]

GIMP 1.2.x relies on GTK 1.2. The development GIMP (1.3.x) uses GTK 2.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Callback prototypes and parameters

2003-08-14 Thread Chad A Daelhousen
At Tue, Aug 12, 2003 at 08:10:50AM -0700, John Goetz wrote:
> When an event occurs and a signal is emitted, the system finds and invokes 
> a callback. How does the system know what information/arguments to send to 
> the callback?

Check out the tutorial, especially the Theory of Signals and Callbacks.




A detailed reference for GTK+, GLib, and friends is at
, once you're done with the tutorial.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list