ok that nearly works.

2001-12-17 Thread Ingo Krabbe
Using automake 1.4 works, ok. But configuring atk gives a strange error ./configure: line 5946: syntax error near unexpected token `PKG_CHECK_MODULES(DEP,' ./configure: line 5946: `PKG_CHECK_MODULES(DEP, glib-2.0 = $GLIB_REQUIRED_VERSION $GLIB_PACKAGES, , { echo configure: error: ' and the

Re: A problem about programming with gtk+ in multiprocess.

2001-12-17 Thread Jean-Christophe Berthon
Hy, Is it possible so to free the memory of the child process of any Gtk library? Has the memory is duplicate, this can be rather interesting to save a bit of it... Thanks, Best regards, --- Jean-Christophe Berthon - Original Message - From: Paul Davis [EMAIL PROTECTED] To: [EMAIL

Re: ok that nearly works.

2001-12-17 Thread Sven Neumann
Hi, Ingo Krabbe [EMAIL PROTECTED] writes: Using automake 1.4 works, ok. But configuring atk gives a strange error ./configure: line 5946: syntax error near unexpected token `PKG_CHECK_MODULES(DEP,' ./configure: line 5946: `PKG_CHECK_MODULES(DEP, glib-2.0 = $GLIB_REQUIRED_VERSION

Re: A problem about programming with gtk+ in multiprocess.

2001-12-17 Thread Rusty Conover
On Mon, 2001-12-17 at 02:14, Jean-Christophe Berthon wrote: Hy, Is it possible so to free the memory of the child process of any Gtk library? Has the memory is duplicate, this can be rather interesting to save a bit of it... Thanks, Hi Jean-Christophe, Freeing memory in

Re: A problem about programming with gtk+ in multiprocess.

2001-12-17 Thread Jean-Christophe Berthon
Hello Rusty Thanks for your reply :-) but I have a question So in the case the child is doing computation while the father show progress information and allow the user to stop the computation. I'm modifying the memory of Gtk -- updating the value of progress bar and some labels and status bar.

question about gtk_events_pending() and gtk_main_iteration()

2001-12-17 Thread Sergey I. Kuzminov
Hi ! I have one question about loop: while (gtk_events_pending()) gtk_main_iteration(); Documenation says what gtk_events_pending() method can be used to update the GUI. I want to see toplevel window with my widget (for example, GtkSpinButton). If I invoke g_usleep (1) during the loop I

Re: [OT] Re: ok that nearly works.

2001-12-17 Thread Paul Davis
Lots of configure.in scripts have this workaround in them: # Honor aclocal flags ACLOCAL=$ACLOCAL $ACLOCAL_FLAGS *now* he tells me! :)) --p ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

binary package for SUN/Sparc?

2001-12-17 Thread Yang Qu
HI! Help! I have some questions about the GTKWave. It seems the installation of GTKWave viewer needs some pre-installed gtk and glib. For now, I need your GTKWave to inspect some VCD files, but I'm not willing to install lots of other staffs, like gtk and glib. is there any binary files

Help needed: Create pixmap with 8 bit color depth under X Server don't support 8 bit color depth pixmap!

2001-12-17 Thread Kalvin
To whom it may concern, Recently I am trying to write a small program which will have the following features: Create pixmap (8 bits color depth) and drawstring on top of it and output the result pixmap as rgb buffer. every 33ms. The problem I was facing now is how to create pixmap with 8

Menu accels

2001-12-17 Thread Rick
Hi guys, What would cause accelerators for menu items not being loaded? It is being saved in ~/.gnome/accels/application file but never gets loaded. What could be wrong in application that would cause this? Thanks, Rick ___ gtk-list mailing list

(no subject)

2001-12-17 Thread thota uma kanth
hai, How do you set the back ground color of the GTree Control from white to blue. Please respond ASAP Regards Umakanth ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

gtk_timeout_add() wierdness

2001-12-17 Thread Kris Kersey
Hi, I'm a new gtk programmer and having a stabge problem when using gtk_timeout_add(). I am calling gtk_timeout_add() with: timer = gtk_timeout_add( 1000, (GtkFunction) update_sensor_data, (gpointer) data ); My update function looks like: gint update_sensor_data( gpointer data )

GtkBGBin widget

2001-12-17 Thread Markus Fischer
Hello, I just notices that the sit which hosted the GtkBGBin widget [1] doesn't exist anymore. If anyone still has copy can you send it to me? thanks, Markus [1] http://members.aol.com/suboner/code/Gtk/widgets.html ___ gtk-list mailing list

Re: GtkBGBin widget

2001-12-17 Thread Markus Fischer
Sorry forgot, please reply privately as I'm not subscribed. thanks you, Markus On Sun, Oct 21, 2001 at 09:14:09AM +0200, Markus Fischer wrote : I just notices that the sit which hosted the GtkBGBin widget [1] doesn't exist anymore. If anyone still has copy can you send it to me?

(draging a PIxmap)(ASAP)

2001-12-17 Thread thota uma kanth
can any one help me out in how to drag a pixmap from one place of the screen to another place and place it over there one more thing regarding GtkTree, how to change the background of the tree. Please any one help me out in doing so ASAP Thanks in advance Umakanth

Gtk 1.3.[56789] binaries for win32

2001-12-17 Thread Vianney Lecroart
Hi there, I would to know if anybody tried to compile all one of the last Gtk version greater than 1.3.5 on win32 with visual C++ 6.0. If yes, is there a ftp/www or other where I could get the binaries. Vianney Lecroart --- lead network programmer / nevrax.com icq#: 6870415 homepage:

GtkListItem backgrounds?

2001-12-17 Thread Evan Van Dyke
I'm working on an application in which I have a GtkList of custom widgets. Each item is an assembly of other widgets that I've packed into(of course) a GtkListItem. HOwever, I want to have the background color of the items to be different than the base color of the GtkList. I have tried setting

/usr/include/glib-2.0/glib/gmarkup.h:43: warning: functiondeclaration isn't a prototype

2001-12-17 Thread Ross Golder
Using latest glib CVS, trying to port gnet to glib-2.0. I've added the PKG_CHECK_MODULES stuff to configure.in, and I've run make. However, the compiler error occurs within the glib headers : make[2]: Entering directory `/net/home/rossg/workshop/gnome/gnet/src' /bin/sh ../libtool --mode=compile

how to get gtk to draw without waiting for an event

2001-12-17 Thread William Hanlon
Hi, I would like to make a program that will draw a dot on the screen and just make it move in a circle continuously. I've written a gtk program that creates a drawing area and uses gdk_draw_rectangle() but nothing is drawn until gtk_main() is executed and then of course it will not do anything

Re: changing a combo's popdown strings from select-list callback?

2001-12-17 Thread Cosmin Bonea
On Tue, 30 Oct 2001, you wrote: I can stimulate a segmentation violation if I change the popdown strings of a GtkCombo while it is popped up. This simple Python script is sufficient to generate a core file: #!/usr/bin/env python import gtk recursive = 0 def

status of win32 port

2001-12-17 Thread J . A . Magallon
Hi, all... (I am not subscribed, so please CC me in the possible answers) I want to use gtk both in Unix and Windows boxes. My final goal would be to use the C++ versions (gtkmm). The binaries for win32 in the gimp page are pretty old. My questions are: - Is the win32 port integrated in the

Re: Please, a little exemple with html widget

2001-12-17 Thread Charles Iliya Krempeaux
On Wed, 2001-10-31 at 00:23, [EMAIL PROTECTED] wrote: Hi all, pplease, can you send me any little exemple using a html widget. any help is important for me. Hva a good time Youssa You can go take a look at: http://www.mozilla.org/unix/gtk-embedding.html But basically, to use it, you

application open problem

2001-12-17 Thread neeraj sharma
Sir, I am working on gtk and I want to run an already created application from my program on button click.I am unable to find any solution till now.Please help me as it is very important. Regards Neeraj

Connecting signals to widgets/windows

2001-12-17 Thread Bart Van den Bosch
Hello, I am writing a small C++ app, to be used as a informational counter at a sporting event. It forks itself a few times, and 1 of the processes will become the input window, and another will become the display window. The display window takes its info from the input window, through a pipe

SML/NJ bindings for GTK+?

2001-12-17 Thread Will Benton
Hello, all. Does anyone know of SML/NJ bindings for GTK+? (I am aware of the Moscow ML ones, which seem to have been untouched since May -- I am looking for bindings for the SML/NJ system, though.) Please copy me on any replies, as I do not track this list. thanks, wb --- Will Benton

Status of GNOME vs. Gtk 2.0 API?

2001-12-17 Thread Skip Montanaro
Is work being done on the GNOME libraries that will get them running under the Gtk 2.0 API? I tried some simple wrangling of GnomeCanvas last week and got stuck pretty fast. The gnome-libs/README file says 1.2.x required. -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/

Can I mix Xlib and Gtk+ in one app?

2001-12-17 Thread sandyfox
Hi, I'm writing an app using xlib, but I need some buttons and menus. Can I mix my own event loop (while(true) { XNextEvent(Display *, XEvent*); switch(event.type) ...}) with Gtk+'s main loop? Can I mix bare Xlib Window with Gtk+ widgets? Sorry I'm not familiar with Gtk+ and I have never

[Fwd: Examples of GObject modules and plugins?]

2001-12-17 Thread Eric Lemings
Why not? Anybody else have or know of some good examples? Thanks, Eric. ---BeginMessage--- Eric Lemings [EMAIL PROTECTED] writes: Hello all, Can anyone point me to some good examples that use the GObject plugin and module mechanism? Why not ask gtk-list? Other people would be

Question: Using GTypeModule

2001-12-17 Thread Eric Lemings
Suppose I want to create a dynamic type/class Z using GTypePlugin. If Z is derived directly from GObject, then I can utilize GTypeModule (I assume). If Z however is derived from one or more other parent classes that derive from GObject, can you still utilize GTypeModule or do you have to

Problems with highlight of clicked button

2001-12-17 Thread Preben Randhol
Hi I'm making an app that has a main window where I have put a menu a vbox and a statusbar. In the vbox I put and remove different Frames depending on where in the program I am. I do this by calling gtk_widget_ref (or Gtk.Widget.Ref as I use Ada 95 and not C) when I make the particular frame so

Major grievance with Gdk interface to GdkPixbuf.

2001-12-17 Thread Vasco Alexandre Da Silva Costa
Hello, Here is my problem: gdk_pixbuf_render_to_drawable(), gdk_pixbuf_render_to_drawable_alpha() and friends don't do clipping. They merely give an error message when the src coordinates aren't inside the GdkPixbuf. This a a major nuisance to the programmer, very easy to fix in the library,

Re: Using excerpts from the GTK+ Tutorial in a LablGTK tutorial?

2001-12-17 Thread Ian Main
I personally have no problem at all with it. I think there may be a license .. ah yes: http://www.gtk.org/tutorial/ch-copyright.html If this isn't liberal enough, lemme know. Though I don't know what Tony will have to say on it. As far as my interests are concerned, you can do anything you

Gdk and Pth on NetBSD

2001-12-17 Thread Kevin Phuoc Duy NGUYEN
Hi all, Has anyone managed to get multithreading to work using gtk and pth on NetBSD? Apparently, GNU-Pth on NetBSD is non-preemptive and for most of the time the gtk thread never yields control to any other thread. If anyone has done something similar I'd really appreciate any help...

Re: how to update the content of a vbox???

2001-12-17 Thread Preben Randhol
[EMAIL PROTECTED] wrote on 19/11/2001 (19:24) : Hi, in my user interface there's a vbox which contains a pixmap (image) at the moment. But I want to update this (vbox) by the click on a button (replace old pixmap with ie. another pixmap). You hook a function to the button through a clicked

Re: Using excerpts from the GTK+ Tutorial in a LablGTK tutorial?

2001-12-17 Thread Tony Gale
I think the license is pretty clear. If you use large chunks of the tutorial then you just need to maintain a copy of the license with it. Otherwise just go ahead and use bits of it how you wish. You can take that as an official statement. Thanks -tony On Wed, 2001-11-21 at 08:57, Ian Main

Re: gtk_timeout_add() wierdness

2001-12-17 Thread Sven Neumann
Hi, Kris Kersey [EMAIL PROTECTED] writes: I'm a new gtk programmer and having a stabge problem when using gtk_timeout_add(). I am calling gtk_timeout_add() with: timer = gtk_timeout_add( 1000, (GtkFunction) update_sensor_data, (gpointer) data ); My update function looks

GTK+2 questions

2001-12-17 Thread Cedric Marcone
Hi, I'm currently developing a Linux/win32 application. As a gnome user, I naturally made the choice of using gtk, in its v2 flavor for the benefit of portability and eye candy ;) First of all, I just subscribed to this list so please forgive me if my questions are redundant... 1. is the

Building Pango Examples

2001-12-17 Thread Eric Lemings
Just a quick summary of my latest build of the examples in pango-0.22. First of all, I find it kinda ironic that Pango is required to build Gtk+, but Pango's example program use Qt. But I suppose that's a dead horse. Aside from that, the Pango examples will not build with GCC 3.0 or greater

GString in GLib

2001-12-17 Thread Anthony Graphics
Does anyone mind if I add something like g_string_newa(const gchar *init); That will create the string and its contents on stack. I just hate having to deallocate GString on all exit paths out of the function. And I would rather not use anything like C++ autoobject (the project I'm modifying

how may I create a label with the symbol font ?

2001-12-17 Thread Pablo De Napoli
Hi! I want to report I think is a bug in gtk, but may be that I'm not using gtk styles in a right way. I'm using gtk+ version 1.2.10 (I've tried to send this mail to the gnome bug-reporting system ([EMAIL PROTECTED]), but thishas failed.) What I want to do is to create a toolbar with a button

(no subject)

2001-12-17 Thread fullsail
hello all, I have a question when use gtk+, would you help me ? thanks first. i want get a notify when selection is OK in GtkText, i think it must use selection-notify-event signal, but its 2nd argument type of callback is struct GdkEventSelection { GdkEventType type;

Display wide char (CJK fonts) without setting locale???

2001-12-17 Thread kalvin
To whom it may concern, Currently, I am trying to write a program to display multinational font. (similar to browser which can shown CJK fonts at the same time). I would like to know is it possible to display CJK fonts (chinese font/Japanese font/Korean font, etc) under GTK without setting the

Thread Compilation Errors on Solaris

2001-12-17 Thread Dan Schenck
I am trying to compile glib-1.2.9 on Solaris 5.8 using gcc version 2.95.2. I am getting errors compiling gthread.c. Errors are as follows: gthread-solaris.c: In function `g_mutex_new_solaris_impl': gthread-solaris.c:52: `mutex_t' undeclared (first use in this function) gthread-solaris.c:52:

Re: MacOS Classic Windows CE/PocketPC support?

2001-12-17 Thread Eric M. Monsler
Barry, 2) Since I know GIMP and GTK+ have been ported to Win32 (http://www.gimp.org/~tml/gimp/win32) and that automake and autoconf work under CygWin, (I've never tried using them from an MS-DOS prompt) I'm assuming (see #1) that I can build GLADE-produced UIs on Windows. Has anyone tried

cannot find libgdmb.so.2

2001-12-17 Thread Hans-Cees Speel
Hello, i have updtaes my gtk+ and glib to 1.2.10 on a suse 7.3 box. I have been able to compile with it. But now when I do man man I get the message that cannot find libgdmb.so.2 I cannot find it on my system at all, I can find libgdbm.so What should I re-install to get this library? Or

Could you add this to glib, please?

2001-12-17 Thread Anthony Graphics
void g_string_vprintf (GString *string, const gchar *fmt, va_list args) { gchar *buffer; buffer = g_strdup_vprintf (fmt, args); g_string_assign (string, buffer); g_free (buffer); } ___

The gtk+ and XConfigureEvent

2001-12-17 Thread thhsieh
Hello, I am writing a X Window program based directly on Xlib. This program need to trace the positions of other windows. This program seems worked very well with the most X Apps which are based directly on Xlib. However, I suddently found that it will fault to the X Apps which are based on

GTK+ Download

2001-12-17 Thread Stephen Lok
Hi, I have trouble downloading the GTK+ libraries from the www.gtk.org website. Is the website down or file removed from the ftp site? Regards Stephen ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Customizing GC's in a GtkEntry ?

2001-12-17 Thread Ishan Chattopadhyaya
As for the color of the text in GtkEntry, GtkText, GtkLadel etc., try this code: // GdkColor red = { 0, 65535, 0, 0 }; // Choose any color by altering the params GtkRcStyle *rc_style = gtk_rc_style_new (); rc_style-fg[GTK_STATE_NORMAL] = red;

GTK, autoconf and FreeBSD

2001-12-17 Thread Philip Kendall
Hi. First of all, apologies if this has already been answered. I have attempted to RTFFAQ and RTF list archives, but couldn't find anything relevant. On FreeBSD, the gtk-config script is renamed to gtkversion-config, and the following change is made to gtk.m4 so that the autoconf macros work:

compiling using gtk program

2001-12-17 Thread aza yas
hi all, i recently had started programming using GTK, i have developed a program , i want that user can give the command to compile a C file using my program. how can i do that. replay me plz thanks azDo You Yahoo!? Send your FREE holiday greetings online at Yahoo! Greetings.

GtkList: changing the list from select_child

2001-12-17 Thread Arto Huusko
Hi, I stumbled upon a bug, or misfeature, or just lack of feature: What happened in my application is that the strings of a GtkCombo widget were changed from inside the GTK_COMBO(widget)-list widget's select-child signal. The result was a core dump. While it is true that there actually was no

Re: GTK, autoconf and FreeBSD

2001-12-17 Thread Havoc Pennington
Philip Kendall [EMAIL PROTECTED] writes: Has anyone else tried doing this and got it to work, or is it just that the FreeBSD patch is broken? I don't have the faintest clue why freebsd is doing that... Havoc ___ gtk-list mailing list [EMAIL

Re: Gdk and Pth on NetBSD

2001-12-17 Thread Paul Davis
Has anyone managed to get multithreading to work using gtk and pth on NetBSD? Apparently, GNU-Pth on NetBSD is non-preemptive and for most of the time the gtk thread never yields control to any other thread. GNU-Pth is always non-preemptive: its part of the design of the library. More than

Re: Connecting signals to widgets/windows

2001-12-17 Thread Paul Davis
I am not that proficient in C/C++, so I do have a couple of questions: Is there a way of connecting the signal directly to a function internal to the class (can I connect OutputWindow::keyEnterPressed(...) directly?) yes, but you'd be better off use gtkmm. see http://gtkmm.sf.net/ --p

Re: GTK+ Download

2001-12-17 Thread Raymond Wan
On Thu, 13 Dec 2001, Stephen Lok wrote: I have trouble downloading the GTK+ libraries from the www.gtk.org website. Is the website down or file removed from the ftp site? Hi Stephen, For some reason, I had a similar problem when I tried to download GTK+ v1.3.10 and v1.3.11 .

Re: GTK, autoconf and FreeBSD

2001-12-17 Thread Ralf Corsepius
Am Mon, 2001-12-17 um 18.47 schrieb Philip Kendall: Hi. First of all, apologies if this has already been answered. I have attempted to RTFFAQ and RTF list archives, but couldn't find anything relevant. On FreeBSD, the gtk-config script is renamed to gtkversion-config, and the following

Regarding GdkEventButton

2001-12-17 Thread Jyothi
Hi, I have text area and when I click on that I should get the current cursor position. So I am using gdk_button_press event for that. But when I click on that at some position, I get the cursor postion of the last event. that is If I have some text of 8 letters already in the text area, if i