GtkAda 2.0.0 released

2002-03-12 Thread Arnaud Charlet
GtkAda 2.0.0 release GtkAda is an Ada95 graphical toolkit based on Gtk+. It allows you to develop graphical applications in Ada95 using Gtk+. The primary download site is http://libre.act-europe.fr/GtkAda This version represents a major update to the Gtk+ 2.0 API. Most of

GTK+-DirectFB version 2.0.0 released

2002-03-12 Thread Sven Neumann
Hi, GTK+-DirectFB implements a GDK backend for GTK+-2.0.0 based on DirectFB, a graphics hardware abstraction layer for the Linux framebuffer. As DirectFB provides drawing functions, a windowing stack and manages input devices, this is a lightweight GDK port. Due to the use of DirectFB, graphic

Problem with autogen.sh configure

2002-03-12 Thread Flávio Alberto Lopes Soares
Hello, I installed Dedian Potato 2.2r5 in my machine, and tryied to compile one program that I was making, the interface was made by Glade, and when I run ./autogen.sh it creates the configure file and attempts to run it, but the configure file has an error in some macros (I don't know if this

Re: Problem with autogen.sh configure

2002-03-12 Thread Flávio Alberto Lopes Soares
I saw more one thing : my Glade doesn't generates the intl directory inside my project directory, I believe that this is the problem, but I don't know why this occurs and how to fix it. Thanks a lot Flavio Alberto Em 12 Mar 2002 08:51:34 -0300, Flávio Alberto Lopes Soares escreveu: Hello, I

Re: frozen GUI!!! urgent help required!

2002-03-12 Thread Dave Reed
From: [EMAIL PROTECTED] X-Priority: 3 (Normal) X-Authenticated-Sender: #[EMAIL PROTECTED] X-Authenticated-IP: [128.131.86.231] X-Flags: 0001 Content-Type: text/plain; charset=us-ascii Sender: [EMAIL PROTECTED] X-BeenThere: [EMAIL PROTECTED] X-Loop: [EMAIL PROTECTED] X-Mailman-Version:

Sockets

2002-03-12 Thread Nicolas web
Hi. Anyone can tell me how to make a connection IPC with GTK? I work with sockets without GTK. Exist sockets by GTK? Thanks. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/

Re: Sockets

2002-03-12 Thread Paul Davis
Hi. Anyone can tell me how to make a connection IPC with GTK? I work with sockets without GTK. Exist sockets by GTK? GTK is a toolkit for creating graphical user interfaces. It has nothing to do with sockets or other IPC mechanisms, though it has some builtin support to make integrating I/O

Release of GVD 1.2.5

2002-03-12 Thread Arnaud Charlet
We are pleased to announce the availability of GVD, the GNU Visual Debugger, a general purpose graphical debugger front-end licensed under the GNU General Public License. Besides providing all the features of other debugger GUIs, GVD includes advanced data display and visualization capabilities.

gtk develop question

2002-03-12 Thread 21cn
GtkWidget *win; GtkWidget *lbl1;/* create a window */ win = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_signal_connect(GTK_OBJECT (win), "destroy", GTK_SIGNAL_FUNC(destroy), NULL); gtk_container_set_border_width(GTK_CONTAINER (win), 10); /* create a label */ lbl1= gtk_label_new("And now

Gtk+ 2.0.0 no compile

2002-03-12 Thread manuel . op . de . coul
Hi, I have a problem compiling Gtk 2.0.0 on a Compaq Alpha running osf 4.0e. gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\Gdk\ -I.. -I../gdk -I../gdk-p ixbuf -DG_DISABLE_CAST_CHECKS -I/usr/users/coul1358/local/include/glib-2.0 -I/us r/users/coul1358/local/lib/glib-2.0/include

How to change a Label of a button

2002-03-12 Thread hunchback
Hi, I'm trying to change the label of a button, but i don't see any method to use.. Does anyone know the method? Afonso ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Pango-1.0.0 compilation

2002-03-12 Thread Alberto Simões/EPL
Hi! I use slackware, and I think all slack users will have the same problem. Freetype 1.x and 2.x come installed together under /usr/X11R6 and when compiling pango, if /usr/X11R6/include is before than /usr/X11R6/include/freetype2 in the INCLUDES variable, gcc will try to use

Re: How to change a Label of a button

2002-03-12 Thread A R Hummaida
here to set the label: gtk_label_set_text(GTK_LABEL(GTK_BIN(you_button)-child),your_text); to get the label gtk_label_get (GTK_LABEL (GTK_BIN (your_button)-child), text_in_label); HTH A R [EMAIL PROTECTED] wrote: Hi, I'm trying to change the label of a button, but i don't see any

Re: How to change a Label of a button

2002-03-12 Thread Paul Davis
here to set the label: gtk_label_set_text(GTK_LABEL(GTK_BIN(you_button)-child),your_text); to get the label gtk_label_get (GTK_LABEL (GTK_BIN (your_button)-child), text_in_label); alternatively: GtkWidget *label = gtk_label_new (); GtkWidget *button =

Re: frozen GUI!!! urgent help required!

2002-03-12 Thread RevX
Oh hell!!! Now I'm scared! Why did nobody tell me before? Is that common with all GUI toolkits? Not unless you create a separate thread for the calculations. When the calculations finish, you should be able to interact with the GUI again. The problem is: I'm no (good) thread programmer and

Re: frozen GUI!!! urgent help required!

2002-03-12 Thread Paul Davis
yes, it is common to more or less all GUI toolkits, regardless of OS platform. Isn't there a way to shortly stop calculations (for a necessary minimum of time) and let the GUI gather possible events? Could this work this way somehow? Any suggestions? somewhere inside your calculations, call

Re: frozen GUI!!! urgent help required!

2002-03-12 Thread rsteinke
From: Paul Davis [EMAIL PROTECTED] yes, it is common to more or less all GUI toolkits, regardless of OS platform. Isn't there a way to shortly stop calculations (for a necessary minimum of time) and let the GUI gather possible events? Could this work this way somehow? Any suggestions?

Re: expose event pixmap question

2002-03-12 Thread Christian Seberino
Paul It is slowly becoming clearer thanks to you. We can draw on a pixmap which is associated with a window which is part of a drawing area. Configure/Expose events that *just* modify pixmaps work great. I assume at the end of one of those callbacks that some hidden routine says, OK, now we

Re: frozen GUI!!! urgent help required!

2002-03-12 Thread Joe Pfeiffer
[EMAIL PROTECTED] writes: Oh hell!!! Now I'm scared! Why did nobody tell me before? Is that common with all GUI toolkits? Pretty much (it's true of all X toolits that I know of). And every new GUI programmer gets bitten by it. Not unless you create a separate thread for the

Re: expose event pixmap question

2002-03-12 Thread rsteinke
From: Christian Seberino [EMAIL PROTECTED] Paul It is slowly becoming clearer thanks to you. We can draw on a pixmap which is associated with a window which is part of a drawing area. Configure/Expose events that *just* modify pixmaps work great. I assume at the end of one of those

can't get height during expose-event

2002-03-12 Thread Joachim Klhn
Hello, trying out example 1 of section GtkDrawinArea of GTK2.0.0 Reference Manual (sample code at the end of the mail) I got some trouble. I'm using GTK2.0.0 The sample draws a filled circle in a window. Changing the width of the window changes the circle's diameter to. Changing the height of

Re: expose event pixmap question

2002-03-12 Thread Sven Neumann
Hi, Christian Seberino [EMAIL PROTECTED] writes: It is slowly becoming clearer thanks to you. We can draw on a pixmap which is associated with a window which is part of a drawing area. Configure/Expose events that *just* modify pixmaps work great. I assume at the end of one of those

Re: can't get height during expose-event

2002-03-12 Thread Havoc Pennington
[EMAIL PROTECTED] (Joachim Klähn) writes: trying out example 1 of section GtkDrawinArea of GTK2.0.0 Reference Manual (sample code at the end of the mail) I got some trouble. I'm using GTK2.0.0 The sample draws a filled circle in a window. Changing the width of the window changes the

Max value set for slider is not actual max value in use.

2002-03-12 Thread Christian Seberino
If I make a slider for a value that goes from 0 to 2000, then leftmost value is 0 *BUT*, rightmost value is 1999!!! Why do I lose the last number? Chris -- === | Dr. Christian Seberino || (619) 553-7940 (office) | | SPAWARSYSCEN 2363

Re: Max value set for slider is not actual max value in use.

2002-03-12 Thread Valdis . Kletnieks
On Tue, 12 Mar 2002 12:58:16 PST, Christian Seberino [EMAIL PROTECTED] said: If I make a slider for a value that goes from 0 to 2000, then leftmost value is 0 *BUT*, rightmost value is 1999!!! Why do I lose the last number? Sounds like a fencepost error to me. Is it min 0 max 2000, or

Re: {SPAM?} Re: expose event pixmap question

2002-03-12 Thread Christian Seberino
Sven Thanks! I'm getting the impression NOTHING should be done in configure_handler. Why even bother to bind it to *anything* then? Am I wrong? Chris On Tue, Mar 12, 2002 at 09:29:08PM +0100, Sven Neumann wrote: Hi, Christian Seberino [EMAIL PROTECTED] writes: It is slowly becoming

Re: expose event pixmap question

2002-03-12 Thread Christian Seberino
Ron Thanks for the reply. It seems that NOTHING should be done in configure event handler. I'm wondering why even bind it to ANY function!?!?!? This is why I'm confused by suggestion to add gdk_draw_pixmap to configure event handler. Do you mean (or is it OK) to do drawing in expose event

Re: expose event pixmap question

2002-03-12 Thread rsteinke
From: Christian Seberino [EMAIL PROTECTED] Thanks for the reply. It seems that NOTHING should be done in configure event handler. I'm wondering why even bind it to ANY function!?!?!? If you care specifically about the user resizing or moving your window, it's useful. It's not really

gtk+ 2.0 compile on HP-UX 10.20

2002-03-12 Thread brenden grace
I am very close to getting GTK+2.0 to compile on HP-UX 10.26 SecureWare but I am running into a minor problem with png support when I am 'make'ing In my ./configure it appears that I have picked up my proper png libs config.log: configure:13101: checking for png_read_info in -lpng

Re: {SPAM?} Re: expose event pixmap question

2002-03-12 Thread Sven Neumann
Hi, Christian Seberino [EMAIL PROTECTED] writes: Thanks! I'm getting the impression NOTHING should be done in configure_handler. Why even bother to bind it to *anything* then? Am I wrong? there are cases where it makes sense to use the configure event but in most cases you just ignore it

reverse function to g_flags_register_static()

2002-03-12 Thread Oliver Singla
In GTK 2.0: Funtion gdk_event_mask_get_type() return a GType. How could I retrieve the GFlagsValue structure values from this type ? So basically I am looking for the reverse functions as g_flags_register_static() and g_enum_register_static(). TIA, Olivier

newbie simple graphics contexts *color* question

2002-03-12 Thread Christian Seberino
I've noticed if one wants to draw on a pixmap with a certain color they pull some component off the drawing area like so: myDrawingArea1-style-black_gc myDrawingArea2-style-black_gc Q1: Is black_gc on drawing area1 different from black_gc on number 2??? Can I get these pointers from