Re: Hi

2001-07-10 Thread Helmethead
On Fri, Jun 29, 2001 at 09:33:24AM +0800, linuxfun wrote: > Dear Craig Emery: > Thank you very much for your reply. > I am a Chinese boy and begin to learn programming on Linux.It's my interest.But at >the very beginning ,everything seems too difficult.:) Anyway I love this. > at # ,I type gtk-co

Re: Hi

2001-07-10 Thread Helmethead
On Thu, Jun 28, 2001 at 09:02:42AM +0100, Craig Emery wrote: > Yup. Looks like you're using the wrong quotes in your compile command. > > You've got "single quotation marks" (i.e. ' ) but you need apostrophies > (i.e. ` ) > On my keyboard, the apostrophy is up by the non-keypad 1 key. > > Apostr

Re: copying pixmaps

2001-06-25 Thread Helmethead
On Mon, Jun 25, 2001 at 12:15:51AM -0500, Joel Uckelman wrote: > Hi, > > I writing something for which I need two separate copies of the same > GdkPixmap--one of which will be drawn to, while the other is used to > restore areas of the first to their initial state. Since the XPMs I'm > loading

Re: gdk-pixbuf: partial image loading

2001-06-25 Thread Helmethead
On Sun, Jun 24, 2001 at 08:57:17PM +0200, Nicolas George wrote: > Is it possible, with gdk pixbuf, tu partially load an image? By that, I > mean to get a pixbuf with only a sub-image or a shrinked image, without > loading all in memory. This would be really useful in order to load parts > of huges

Re: is this a Gtk-problem?

2001-06-11 Thread Helmethead
On Mon, Jun 11, 2001 at 08:46:46PM +0200, Ronald Bultje wrote: > gdb shows no backtrace for this error (because it's not a segfault). And > the program starts up, the window appears for 0,1 second but he doesn't > get the the notice that it got past gtk_widget_show(window) so something > is going

Re: GDK-PixBuf

2001-06-11 Thread Helmethead
On Tue, Jun 12, 2001 at 12:52:59AM +0200, Andrej Prsa wrote: > Hello! > > I'm going nuts with GDK-Pixbuf... I searched all over the net for a small example >but failed to find it. The examples I did find utilize gnome.h, which I try to avoid. > > Here's my problem: I have to put simple jpg or g

Re: Installing gtk without root access

2001-06-07 Thread Helmethead
On Thu, Jun 07, 2001 at 12:07:30PM -0700, Ian King wrote: > Is LD_LIBRARY_PATH available in GNU ld (on linux)? If I had an older > version of gtk 1.2 (say 1.2.0) and I wanted to install 1.2.9 without root > access. How would I get my application to dynamically use the 1.2.9 shared > libraries (w

Re: Installing gtk without root access

2001-06-07 Thread Helmethead
On Thu, Jun 07, 2001 at 11:43:07PM +1000, Raymond Wan wrote: > > Hi all, > > A few weeks ago, someone posted a message about having problems > installing GTK without root access. I'm having problems with it now, but > before I go digging through the scripts, can someone confirm to me whet

Re: (gtk_pixmap_new): assertion `val != NULL' failed

2001-06-07 Thread Helmethead
On Thu, Jun 07, 2001 at 01:52:56PM +0200, Ignacio Nodal wrote: > Helmethead wrote: > > >Sigh :) > hehehe, be patient with me :))) No worries, I have nothing else to do ;) > > > > Have you ever tried doing this when you were learning C: > > void foo (int i) &

Re: (gtk_pixmap_new): assertion `val != NULL' failed

2001-06-07 Thread Helmethead
On Thu, Jun 07, 2001 at 01:42:54PM +0200, Ronald Bultje wrote: > Hi Helmethead, > > >Have you ever tried doing this when you were learning C: > [nice code] > > This is true. > > >That's the same reason why ronald's proposal won't work. Mine will th

Re: (gtk_pixmap_new): assertion `val != NULL' failed

2001-06-07 Thread Helmethead
On Thu, Jun 07, 2001 at 11:10:38AM +0200, Ignacio Nodal wrote: > Why isn't my _pixmap field being updated? > > Thanks again and again and again ;) > > Ignacio Nodal Sigh :) Have you ever tried doing this when you were learning C: void foo (int i) { i = 10; printf ("%d\n", i); }

Re: (2) Segmetation fault assigning a GdkPixmap* to a GdkPixmap& parameter (using C++)

2001-06-06 Thread Helmethead
On Wed, Jun 06, 2001 at 11:16:37PM +0200, Ignacio Nodal wrote: > Sorry,there was a fault on the function I pasted ;)) > > gboolean ParameterKernel::ReadPixmap(gchar **pixstring, GdkPixmap& pix) > //Reads a pixmap from a xpm-format string & stores it in GdkPixmap& pix > { > > GdkPixmap *pixma

Re: Help

2001-06-05 Thread Helmethead
On Tue, Jun 05, 2001 at 05:02:58AM -0700, Masaru Natsu Cardenas wrote: > Hello i'm new in the gtk programming subject.. i ave only 3 days > programming in Gtk and im trayng to make a simple prog: > > i'm trayng to open a xpm file and dsiplay it into a window and thats all. > > if anyone know wh

Re: where I can find more API information about GdkImlib

2001-06-05 Thread Helmethead
On Tue, Jun 05, 2001 at 09:30:45AM -0600, Jiang XU wrote: > Guys, > > I try to use GdkImlib to load transparent pixmap, such as using > gdk_imlib_XXX calls. > I wonder where I can find more API document about GdkImlib? > > Thanks > > Jiang Imlib api docs should have come with your imlib develo

Re: wait for a condition to be satisfied

2001-06-04 Thread Helmethead
On Mon, Jun 04, 2001 at 03:42:41PM +0200, Ronald Bultje wrote: > Hi there, > > I'm looking for a function which returns if a certain condition is > satisfied. I'm now using: > > /* now, we need to pause until scene detection is done */ > while (scene_detection_reply == 1) > usleep(10);

Re: Data Types

2001-05-24 Thread Helmethead
On Thu, May 24, 2001 at 09:07:44PM +0200, Erik Mouw wrote: > Depends on the architecture. On most architectures guint8 is unsigned > char, but on 64 bit architectures (like alpha or mips) guint32 (32 bit > datatype) is not the same as unsigned int (64 bit datatype). If ints are 64 bits, how do yo

Re: problems to read a "from widget independent" pixmap (Resending...)

2001-05-24 Thread Helmethead
On Thu, May 24, 2001 at 07:29:29PM +0100, Ignacio Nodal wrote: > Hi, > > I want to write a function to read a pixmap string and store it into a > GdkPixmap, but without having to know which widget it will be added into.By > the way the widget could be still not created at all. > The problem is if

Re: What's the "Hangul shaper"? Sounds like a power tool...

2001-05-24 Thread Helmethead
On Fri, May 25, 2001 at 11:53:36AM +1000, Neil Hodgson wrote: > Havoc Pennington: > > "Neil Hodgson" <[EMAIL PROTECTED]> writes: > > >Not only is it Broken On Purpose but some Tk users insist it is the > Right > > > Thing To Do, to the extent that they want this behaviour added to > Scintilla,

Re: gtk+-1.2.9 compile problem

2001-05-23 Thread Helmethead
On Wed, May 23, 2001 at 11:22:01PM -0700, N/A Nguyen wrote: > when i compile gtk+-1.2.9 i get an error when i tries to find X, then it > tells me it can't find X library or include files. i set the option to tell > where it can find it, /usr/X11R6/lib for the libraries, and > /usr/X11R6/includ

Re: parameter mask for pixmaps

2001-05-22 Thread Helmethead
On Tue, May 22, 2001 at 05:12:01PM +0200, Ignacio Nodal wrote: > Hi, I'm adding a xpm into a button but i don't really understand how to > use the "mask" parameter. > > The Reference Manual says: > "GdkPixmap* gdk_pixmap_create_from_xpm (GdkWindow *window, >

Re: gdk_window_set_background?

2001-05-18 Thread Helmethead
On Fri, May 18, 2001 at 08:50:25PM -0500, Vicki Stanfield wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > What is the function gdk_window_set_background used for? I have used > gtk_windows, but I don't understand how a gdk_window fits into the > scheme. Can someone explain it to me (

Re: How to save textbox content.

2001-05-16 Thread Helmethead
On Wed, May 16, 2001 at 02:54:25AM -0700, Metallicaau wrote: > Hello > I am writing one program using gtk. I am got stuck. I > need some help. > I want to save the content of textbox in the file > using buttons. > also how to clear the textbox using again button. > > Any one can help me with this

Re: status/progress bars (revisited)

2001-05-15 Thread Helmethead
On Tue, May 15, 2001 at 07:53:54PM -0700, Matt Hillebrand wrote: > I have been posting this question every few weeks for the past year, and I > have never received a response: > > How do I force a status bar (or progress bar) to update when the computer > is really busy? I can tell the status bar

Re: GtkLabel trouble #2

2001-05-10 Thread Helmethead
On Thu, May 10, 2001 at 02:16:50PM +0200, Ronald Bultje wrote: > > On 2001.05.10 14:05:37 +0200 Jered Bolton wrote: > > Original posting reproduce for context: > > > > >Why is it that if I use gtk_label_get, I get a seg fault if I then try > > >and use gtk_label_set_text ? > > > > > >e.g. I want

Re: scrollbar once again

2001-05-08 Thread Helmethead
On Wed, May 09, 2001 at 08:19:11AM +0200, Ronald Bultje wrote: > > On 2001.05.09 01:16:45 +0200 Havoc Pennington wrote: > > > > Ronald Bultje <[EMAIL PROTECTED]> writes: > > > On 2001.05.08 20:53:10 +0200 Havoc Pennington wrote: > > > > Do you gtk_main_quit() to exit gtk_main()? > > > > > > yes

Re: Image type 'png' is not supported

2001-05-08 Thread Helmethead
On Tue, May 08, 2001 at 05:07:26PM +0200, Rodrigo Moya wrote: > On 07 May 2001 19:48:40 -0400, Havoc Pennington wrote: > > > > Rodrigo Moya <[EMAIL PROTECTED]> writes: > > > > > > I'm trying to compile GTK+ HEAD, and, on the gtk/stock-icons directory, > > > it complains about > > > > > > Image

Re: GIOChannel close vs. unref

2001-05-07 Thread Helmethead
On Sun, May 06, 2001 at 09:52:30AM -0700, Ron Steinke wrote: > > From: Owen Taylor <[EMAIL PROTECTED]> > > > > Generally, mixing up memory management with actions such as closing > > a stream is a bad idea, though more of an argument could be made > > for it if the underlying stream was created a

Re: Trying to do a "personal" install of gtk+1.2.10

2001-05-05 Thread Helmethead
On Fri, May 04, 2001 at 03:13:35PM -1000, David Goldsmith wrote: > I'm trying to do a "personal" install - because I don't have root access - > of gtk+1.2.10 in Solaris 5.7. As near as I can tell (none of the steps in > the install instructions terminated w/ an error or warning), I > successfully

Re: GTK & Sound

2001-05-05 Thread Helmethead
On Sat, May 05, 2001 at 04:33:17PM +0530, abhinababasu wrote: > I appears that the use of sound in Gtk application has raised enough debate. > But would some body please tell me how I can incorporate sound in Gtk+ > applications. I don't care if the method is not that portable as I have a > very d

Re: GtkScrolled windows

2001-05-01 Thread Helmethead
On Tue, May 01, 2001 at 03:31:37PM -0600, Esteban Quijano Vincenzi wrote: > I found GtkScrolled windows as a good choice for this! > > But I have a question: > When you have a widget contained in a window, you normally can't resize > that window to a size smaller than the widget, aren't you? > >

Re: scrollbar display options

2001-04-27 Thread Helmethead
On Fri, Apr 27, 2001 at 02:41:16PM +0100, Bill Haneman wrote: > Hey, while we're on the topic... > > Is the GTK+ scrollbar sensitive to the mousewheel (I don't know, I don't > have one) ? I do, and it is I bought my flashy mouseman+ in my quake days ;) _

Re: best gtk structure for selecting multiple files for further processing

2001-04-26 Thread Helmethead
On Thu, Apr 26, 2001 at 05:02:22PM -0400, Glitch wrote: > hello, > > > after fixing my previous gtktree problem i've come to realize that, > unless i just have to add more functionality to it on my own, gtktree > isn't what i'm looking for to work with my application. > > > I need a widget t

Re: Newbie questions

2001-04-26 Thread Helmethead
On Thu, Apr 26, 2001 at 06:37:18PM -0400, Paul Davis wrote: > >I plan to install the latest 2.4 kernel, Red Hat 7.1 distro. I'm sure > >it will include GTK+, glibc, etc. Will that be GTK+ 1.2 or 2.0, or > >both? Is there a reason why I would want one over the other? Also, I > >have probably ev

Re: disabling auto background clear

2001-04-26 Thread Helmethead
On Thu, Apr 26, 2001 at 02:53:22PM +0100, John Cupitt wrote: > This is an easy one ... how do I stop my widget being automatically > cleared to the background colour on a configure? I want to redraw this > case myself. > > I looked over the GIMP sources, but I can't see what they're doing that >

Re: problem with gtk filetree

2001-04-26 Thread Helmethead
On Thu, Apr 26, 2001 at 04:22:57AM -0400, Glitch wrote: > Helmethead wrote: > > > On Wed, Apr 25, 2001 at 11:58:36PM -0400, Glitch wrote: > > > >> hello, > >> > >> I got Developing Linux Applications Using GTK+ (written by Eric Harlow). > >

Re: problem with gtk filetree

2001-04-25 Thread Helmethead
On Wed, Apr 25, 2001 at 11:58:36PM -0400, Glitch wrote: > hello, > > I got Developing Linux Applications Using GTK+ (written by Eric Harlow). > > In it there is an example of a Gtk Tree and Gtk List. It basically uses > the directories and files in the CWD and displays the contents in a tree

Re: Suggestion for GTK+ 2.0 distribution...

2001-04-20 Thread Helmethead
On Fri, Apr 20, 2001 at 03:34:23PM +, Bart Kuik wrote: > . I'm using Gtk-Perl now because I don't like the > c-implementation of a object-system on a non-object-oriented language, Pray tell, why does that amuse me so?? :) > Bart ___ g

Re: Broken Pipe?

2001-04-19 Thread Helmethead
On Thu, Apr 19, 2001 at 03:37:18PM -0500, Michael P. Jarreau wrote: > I am working on a client/server app. The server app works fine in the > background. It accepts and processes new clients all day long. > > The client side appears to work fine. But after about 15 minutes of > apparently norm

Re: gdk-pixbuf for gnomeicu (let me know if this is the wrong place)

2001-04-19 Thread Helmethead
On Wed, Apr 18, 2001 at 02:48:05PM -0400, Glitch wrote: > Helmethead wrote: > > > On Mon, Apr 16, 2001 at 11:53:23AM -0400, [EMAIL PROTECTED] wrote: > > > > > >>> gcc -g -O2 -Wall -Wunused -DUSE_XSCREENSAVER -o gnomeicu applet.o > >>>

Re: need help with passing a GSList of GtkWidget's as a gpointer

2001-04-19 Thread Helmethead
On Wed, Apr 18, 2001 at 06:50:07PM +0200, Sven Neumann wrote: > Helmethead <[EMAIL PROTECTED]> writes: > > > Only hint I can think of is set button_list to null before appending to it. and >appending is inefficient btw u might consider prepending or using a GList :) but

Re: need help with passing a GSList of GtkWidget's as a gpointer

2001-04-18 Thread Helmethead
Only hint I can think of is set button_list to null before appending to it. and appending is inefficient btw u might consider prepending or using a GList :) but either way set it to NULL first. On Wed, Apr 04, 2001 at 04:28:41PM -0500, Sean Scanlon wrote: > Hi. I've read through the GTK+ API,

Re: gdk-pixbuf for gnomeicu (let me know if this is the wrong place)

2001-04-17 Thread Helmethead
On Mon, Apr 16, 2001 at 11:53:23AM -0400, [EMAIL PROTECTED] wrote: > > gcc -g -O2 -Wall -Wunused -DUSE_XSCREENSAVER -o gnomeicu applet.o > > autoaway.o autohide.o awaymsglist.o changeaway.o changeinfo.o > > changenick.o chat.o chatdlg.o dialog.o dirbrowser.o dragdrop.o events.o > > sendco

Re: how do I map pkg-config functionality to glib-config-2.0?

2001-04-10 Thread Helmethead
On Tue, Apr 10, 2001 at 12:59:39PM -0500, Skip Montanaro wrote: > Glib 1.3.3 contains an alert version of glib-config-2.0: > > #!/bin/sh > > echo glib-config-2.0 is no longer supported. Please use pkg-config instead 2>&1 > exit 1 > > Unfortunately, any tools that use glib-config-2.0

Re: a segfault-handler?

2001-04-10 Thread Helmethead
On Tue, Apr 10, 2001 at 11:33:52AM +0200, Ronald Bultje wrote: > Hi, > > is it possible to conect a signal handler to a segmentation fault? I would > like to stop child processes (the pipe-processes, to prevent "ghost > processes") and release the hardware devices I use before quitting and > dump

Re: JPEG image viewer?

2001-04-09 Thread Helmethead
On Mon, Apr 09, 2001 at 05:35:14PM -0500, Michael P. Jarreau wrote: > Hi. > > I know this must be in some FAQ somewhere, but I can't find it: Is there a > simple image viewer that can display JPGE images? > > Thanks, > Mike if you're looking for a program, try gqview, if ur looking to make a pr

Re: Error code

2001-04-06 Thread Helmethead
On Fri, Apr 06, 2001 at 01:56:57AM +0200, Valery Avaux wrote: > hello, > > i'got trouble with an error code while running my own apps generated by > Glade. Everything worked fine until I programmed a drawing area inside > the main window. Here are the error codes: > > Gdk-CRITICAL **: file gdkgc

Re: how to build and install gtk-config-2.0?

2001-04-06 Thread Helmethead
On Wed, Apr 04, 2001 at 11:43:46PM -0500, Skip Montanaro wrote: > > >> uh.. gtk-config, glib-config and all that have kicked the bucket in > >> favour of the pkg-config Centralized Master -Configer in 2.0. Where > >> you would use gtk-config-2.0 you are supposed to use 'pkg-config >

Re: Concurrent processes

2001-04-04 Thread Helmethead
On Tue, Apr 03, 2001 at 11:31:44PM +0200, Valery Avaux wrote: > Hello, > > I'm trying to build up a physics simulation with Glade and GTK. The main > function of the simulation is a function called isingflip(). This > function must do interations up to 100 times but the calculation is > based

Re: how to build and install gtk-config-2.0?

2001-04-04 Thread Helmethead
On Tue, Apr 03, 2001 at 04:53:29PM -0500, Skip Montanaro wrote: > > Thanks to Havoc's help I got gtk+ built and installed. Unfortunately, > gtk-config-2.0 wasn't built from gtk-config-2.0.in. I managed to finagle > that by adding this to configure.in: > > *** /tmp/skip/configure.in.~1.200~

Re: Not work "gdk_imlib_copy_image"! why?

2001-04-04 Thread Helmethead
haven't touched imlib for a while, but one thing is you must call gdk_imlib_render() before gdk_imlib_load_image() I think On Sun, Apr 01, 2001 at 10:37:40PM +0900, À¯´ë»ó wrote: > /* > * Usage : test > * > */ > > > > #include > #include > > int main(int argc, char **argv) > { >

Re: Error output - completion with code

2001-03-30 Thread Helmethead
On Fri, Mar 30, 2001 at 02:47:30PM +0100, Christian. Schleippmann wrote: > Hi again, > below is the part of my code. By the way, I have used parts of the tutorial > point 6 (gtk.org) "buttons.c" example programme. There happens the same > problem! So, if we find the bug, we can also improve the (a

Re: How to display bmp files to button widget?

2001-03-26 Thread Helmethead
On Mon, Mar 26, 2001 at 12:03:41PM +0900, À¯´ë»ó wrote: > hi! > > I am trying to display bmp images at Button Widget by Mouse Actions(Enter, Leave, >Up, Down). > > How to display bmp files on a Button Widget? > > or where is an Image Button, an Image Toggle Button? > > thank you for reply.

Re: further to previous problem

2001-03-26 Thread Helmethead
On Mon, Mar 26, 2001 at 08:19:13PM +0100, Eamonn Martin Galvin wrote: > In fact, if I call gtk_label_set_text at all the variable gets screwed up. > Even if I just do this: > > gtk_label_set_text(GTK_LABEL(label),"BLA"); > > the same problem arises. Is this a bug in gtk or am I doing somet

Re: my app segfault, but why?

2001-03-25 Thread Helmethead
On Mon, Mar 26, 2001 at 01:51:24AM +0200, Ronald Bultje wrote: > Hey there, > > I have the problem that after a few minutes of use (generally after 5 to 30 > minutes), my application dumps core with a segfault. The core doesn't say > much, neither does running the app itself in gdb. All I get is:

Re: expanding horizontally but not vertically

2001-03-25 Thread Helmethead
On Sun, Mar 25, 2001 at 10:33:23AM -0600, Brian Smith wrote: > On Sun, 25 Mar 2001 10:44:35 -0500, Paul Davis wrote: > > +-+ > |Username: Password: | > +--+--+ > | | | >

Re: Table size too big !

2001-03-22 Thread Helmethead
On Thu, Mar 22, 2001 at 03:49:24PM +, Mike Holme wrote: > Hi, > >I have an application that uses a table to layout various widget. The > Table is 28 by 20 and I intend it to be homogenous. However when I > select homogenous the table causes the window to be 3 times the width of > the scre

Re: jpeg images

2001-03-05 Thread Helmethead
On Mon, Mar 05, 2001 at 10:40:53AM +, John Cupitt wrote: > Ronald Bultje wrote: > > I would like to display jpeg images on the screen, for example using the > > GtkPreview or something similar. But how would I load the jpeg image from > > the file? > > Hi Ronald, libjpeg has an API for decomp

Re: on gtktypebuiltins.h

2001-03-05 Thread Helmethead
On Sun, Mar 04, 2001 at 10:00:36PM -0800, winterlion wrote: > well - first of all, anoncvs1 is old, anoncvs3.gnome.org seems to work.. > (anoncvs2 doesn't seem to exist) > there's also anoncvs4 anoncvs.gnome.org has address 192.58.206.110 anoncvs.gnome.org has address 130.239.18.151 anoncvs.gno

Re: Destroy Signal

2001-03-04 Thread Helmethead
On Sun, Mar 04, 2001 at 11:02:44PM +0100, Sven Neumann wrote: > Hi, > > Jeff Shipman <[EMAIL PROTECTED]> writes: > > > I think this should work: > > > > gtk_widget_connect_object(GTK_OBJECT(mydialog), "delete_event", > > GTK_SIGNAL_FUNC(gtk_widget_hide), > >

Re: hrm (CVS-11am Sat) anoncvs1.gnome.org

2001-03-03 Thread Helmethead
On Sat, Mar 03, 2001 at 09:19:04AM -0800, winterlion wrote: > oh - this one's missing gtk+/gdk/x11/gdkcc-x11.c > (there's no sign this is autogenerated like my last probs - which I -can- > now blame on corrupt CVS combo) > > is this the right CVS? (anoncvs1.gnome.org) That's GdkColorContext, an

Re: Man pages

2001-02-26 Thread Helmethead
> -Original Message- > From: Paulo Schreiner [mailto:[EMAIL PROTECTED]] > Sent: Sunday 25 February 2001 18:19 > To: [EMAIL PROTECTED] > Subject: Man pages > > > Is there a "man pages" version of the reference of Gtk+, glib, gdk, > gnomelib, etc? > I just find it annoying to have netscape

Re: A function for ls?

2001-02-23 Thread Helmethead
On Fri, Feb 23, 2001 at 08:25:56PM +, Dave Neary wrote: > On Fri, Feb 23, 2001 at 04:24:04PM +0100, Germano Rizzo wrote: > > Hi! > > is there a library function that gives the contents of a directory? > > Something like 'ls'... or a way to do it using other functions? At least, > > may you

Re: ***BUG in Autoconf--please report*** AC_DISABLE_FAST_INSTALL

2001-02-22 Thread Helmethead
On Thu, Feb 22, 2001 at 12:15:04PM +0200, Vladimir V. Zolotych wrote: > Would you mind to explain me the sequence of actions > if I want to install GLIB/GTK/PANGO stuff in /some/dir > (not /usr/local) ? At first I should specified > --prefix=/some/dir also LD_LIBRARY_PATH=/some/dir/lib. > But comp

Re: How to compile with Gdk-Pixbuf

2001-02-18 Thread Helmethead
On Sun, Feb 18, 2001 at 11:05:34AM +0100, [EMAIL PROTECTED] wrote: > Hi! > I'm trying to learn how to replace ImLib with GdkPixBuf... I included > (was it right?) and the compilation phase goes ok; but when >it links the .o, it gives... > > face.o: In function `loadpix': > /home/mano/Gnom

Re: more pipe questions

2001-02-16 Thread Helmethead
On Fri, Feb 16, 2001 at 01:58:48AM -0800, George MacDonald wrote: > Ronald Bultje wrote: > > > > > sprintf(cmd,"tail -0f %s/%s/%s",getenv("HOME"),".studio", > > "lavrec.log"); > > -0f What's that do. I tried it via the shell on my system and it > produces no ouput! Nothing to do

Re: more pipe questions

2001-02-15 Thread Helmethead
On Thu, Feb 15, 2001 at 03:29:41PM +1100, Helmethead wrote: > On Thu, Feb 15, 2001 at 02:53:02AM +0100, Ronald Bultje wrote: > > I remember this question being asked before, but deleted it, I think... > > > > If I write data to a file (continuously, a logfile kinda thing)

Re: more pipe questions

2001-02-15 Thread Helmethead
Ah yes, you are using gdk_input_add, which does mean non-blocking, which means streams stuff (like fgets()) don't work properly with it. cleanest to do popen() and fgets() kind of stuff manually, then. you've hassled us enough for me to play with what you have been trying to do ;) I have attache

Re: more pipe questions

2001-02-14 Thread Helmethead
On Thu, Feb 15, 2001 at 02:53:02AM +0100, Ronald Bultje wrote: > I remember this question being asked before, but deleted it, I think... > > If I write data to a file (continuously, a logfile kinda thing), how can I > check this file for "being updated"? I now use a read-pipe and popen("cat > fil

Re: about two-way pipes or threads

2001-02-12 Thread Helmethead
> I inserted fcntl(inp_pipe, O_NONBLOCK); and fcntl(out_pipe, O_NONBLOCK); > but still no change... Or am I using fcntl() in the wrong way? > > Ronald fcntl (inp_pipe, F_SETFL, O_NONBLOCK); or something similar rtfm? :) ___ gtk-list mailing list [EMAI

Re: gdk_input_add

2001-02-09 Thread Helmethead
On Fri, Feb 09, 2001 at 05:38:33PM -0500, Dugas, Alan wrote: > Currently I'm trying to read a file that gets updated asynchronously. > gtk_timeout_add() seems to cause racing conditions. gdk_input_add() locks > up my cpu. Does anyone have a method for asynchonously reading a file that > works? >

Re: Compiler

2001-02-09 Thread Helmethead
On Fri, Feb 09, 2001 at 02:16:30AM -0800, khairy noor wrote: > Hi, > > Could anyone help me. I just heard about gtk/gnome programming and I'm > interested in studying it. But I'm having problem in compiling gtk program. > Whenever I try to compile a gtk program, this message will appear. > > $ g

Re: gtk1.2 tutorial

2001-02-04 Thread Helmethead
> Okay, thanks. I did that and it went okay. but now when I try to compile I > get the following: > > gcc: gtk-config --cflags --libs: No such file or directory this error is a big no no you are running the command to compile properly, not backquoting "gtk-config --cflags --libs". perhaps you a

Re: another bother in today's CVS

2001-02-04 Thread Helmethead
On Sat, Feb 03, 2001 at 08:30:10AM -0800, winterlion wrote: > On 3 Feb 2001, Havoc Pennington wrote: > > > > > winterlion <[EMAIL PROTECTED]> writes: > > > (now that I remember I had to manually patch this before) > > > > > > but gtk-config-2.0 is not constructed. > > > configure.in (and configur

style xthickness and ythickness

2001-02-02 Thread Helmethead
*sigh* Sorry if this is a 100% braindead question, but what are style.xthickness and style.ythickness exactly? ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: on CVS of Feb 1, 8:20am

2001-02-01 Thread Helmethead
Your problem seems to be that a glib header tries to use the GSystemThread typedef and it isn't defined it is defined in /usr/lib/glib-2.0/include/glibconfig.h... but for some reasons /usr/lib/glib/include is -I'd before /usr/lib/glib-2.0/include, and guess what that means, glib-1.x's glibconfig

Re: GTK+ API reference in source distribution?

2001-01-31 Thread Helmethead
On Tue, Jan 30, 2001 at 08:29:48PM -0800, Eric Monsler wrote: > Hi all, > > I was trying to locate the source files for the API reference on the > gtk.org website. Are they in the source distribution somewhere? > > And, you might ask "Why?" > > I was considering modifying the documentation for

Re: Help with transparent pixmaps

2001-01-30 Thread Helmethead
On Tue, Jan 30, 2001 at 04:43:54PM +0100, Germano Rizzo wrote: > | umm > | try calling gdk_imlib_render() before trying to move the pixmap and mask > out of a GdkImlibImage > > HahA! > it works! :) Thanx, now I have 2 methods! One last thing... where can I > get dox on the (gdk_)ImLib functio

gdk-pixbuf and image caching

2001-01-30 Thread Helmethead
I think the docs said gdk-pixbuf will not have any cache. Why? What should we do instead? :) maybe I'm missing something but a cache seems like a no brainer to put in there better yet, generalise one and stick it in glib ;) ___ gtk-list mailing list

Re: Help with transparent pixmaps

2001-01-30 Thread Helmethead
umm try calling gdk_imlib_render() before trying to move the pixmap and mask out of a GdkImlibImage On Tue, Jan 30, 2001 at 12:59:33PM +0100, Germano Rizzo wrote: > Hi, > I have a problem: I am in need of displaying a pixmap widget with a > transparent area... but I want to control and chan

Re: How to show system messages

2001-01-28 Thread Helmethead
Both of these methods use polling right, I don't think there's any way to be notified or block till there's new data or anything... you just have to keep testing the file for new data. And sleep() or usleep() some amount of time between checks so cpu usage don't go nuts. you can popen ("tail -

Re: size requests/allocations of own widgets

2001-01-26 Thread Helmethead
On Fri, Jan 26, 2001 at 05:21:52PM +0100, Ronald Bultje wrote: > Hello there, > > I have made my own simple widget, it works, but one thing I don't like is > that if I request a size (width/height) and one of them gets bigger, the > other doesn't. Now, I really want the ration width:height to be

Re: popen() works, but now?

2001-01-18 Thread Helmethead
On Thu, Jan 18, 2001 at 04:04:02PM +0100, Joachim Backes wrote: > > On 18-Jan-2001 Sven Neumann wrote: > > "Timothy M. Shead" <[EMAIL PROTECTED]> writes: > > > > > I believe the output from fprintf is buffered - you probably need to > > > flush the stream: > > > > > > fflush(some_pipe); > >

viewports and stuff

2001-01-08 Thread Helmethead
I've been mildly irritated by the behaviour of viewports (tested with scrolled windows too) when their child changes it's size requisition. Specifically I'm talking about when the child widget requests a smaller size than it has. What happens is this: The child of a viewport has reduced it's re

[helmet: Re: including gettext libintl.a with Borland]

2000-12-31 Thread Helmethead
damn.. gotta stop replying to individuals when I meant the list On Sat, Dec 30, 2000 at 07:10:13PM +0100, Erik Mouw wrote: > Note: gettext was the first library that supported I18N. In order to > give GNU software a compatitive advantage, it was released with a GPL > license instead of the LG