dialog from within a thread

2003-11-18 Thread Peter Van Osta
rror that only 1 "main" can exist ? The thread runs detached form the main process and I want to keep it that way in order not to block the main process while a very long procedure runs in the thread. Polling in the main processfor the thread would use resources. Best regards, Peter V

Changing cursor

2003-11-13 Thread Peter Van Osta
, Peter Van Osta Union Biometrica N.V./S.A. European Scientific Operations (ESO) Cipalstraat 3 B-2440 Geel Belgium Tel.: +32 (0)14 570 620 Fax.: +32 (0)14 570 621 http://www.unionbio-eu.com/ http://ourworld.compuserve.com/homepages/pvosta/cvwww.htm ___ gtk

Re: emitting a signal for refeshing entries

2003-10-24 Thread Peter Van Osta
it looks now I will have to send an "expose_event" signal to each widget individually as this signal cannot be emitted/sent to all the widgets at once ? There si no way to send a signal to all widgets at once ? Best regards, Peter Van Osta Union Biometrica N.V./S.A. European Scientifi

Re: emitting a signal for refeshing entries

2003-10-23 Thread Peter Van Osta
= John Cupitt wrote: Yes, just call gtk_widget_queue_draw() for your window. It will invalidate the window and queue a redraw for all the widgets. Peter Van Osta wrote: Hi, I have a window in which there are several other elements, such as spinbuttons, combo boxes, etc. . There

emitting a signal for refeshing entries

2003-10-22 Thread Peter Van Osta
h one of the widgets in the main window ? Best regards, Peter Van Osta ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Image viwer using Orbit and Bonob

2003-10-02 Thread Peter Van Osta
esting and debugging it and making everything ready for delivery. Many thanks to you and the ORBit and GTK community for all the help I got, I wouldn't have managed it without all the help from all of you. Best regards, Peter Van Osta Union Biometrica N.V./S.A. European Scientific

Image viwer using Orbit and Bonob

2003-10-01 Thread Peter Van Osta
Hi, I am looking for an example of a simple image viewer, using Orbit and Bonobo for displaying image(-streams). I have no experience with Bonobo at the moment. Best regards, Peter Van Osta Union Biometrica N.V./S.A. European Scientific Operations (ESO) Cipalstraat 3 B-2440 Geel Belgium Tel

accessing elements of a gnome_dialog box

2003-09-19 Thread Peter Van Osta
Hi, On creation of a GNOME dialog box, it comes with a text already in it. How to access this text later on and change it in GTK 1.2 ? Best regards, Peter Van Osta Union Biometrica N.V./S.A. European Scientific Operations (ESO) Cipalstraat 3 B-2440 Geel Belgium Tel.: +32 (0)14 570 620 Fax

blocking signals

2003-09-09 Thread Peter Van Osta
k function respond also to the change of the spinbutton value. What is the best way to temporarily block or interrupt the "changed" signal to the callback function ? Best regards, Peter Van Osta ___ gtk-list mailing list [EMAIL PROTECTED] h

Filebrowser widget over CORBA

2003-07-23 Thread Peter Van Osta
a way to "redirect" the filebrowser so that it connects to the server instead and only shows directories and files from the server transparently ? Best regards, Peter Van Osta ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.o

Get value of GtkHscale created with Galde

2003-06-26 Thread Peter Van Osta
I can't find out how to do it afterwards. The GtkHScale deos not seem to emmit any signals itself, so I need to get to the GtkAdjustment ? e.g: my_hscale = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (1, 1, 320, 1, 10, 10))); Best regards, Peter Van Osta _

porting from GTK+12. to GTK+2.x

2003-06-05 Thread Peter Van Osta
upgrade on a whimp. Best regards, Peter Van Osta Union Biometrica N.V./S.A. European Scientific Operations (ESO) Cipalstraat 3 B-2440 Geel Belgium Tel.: +32 (0)14 570 619 Fax.: +32 (0)14 570 621 http://www.unionbio.com/ http://ourworld.compuserve.com/homepages/pvosta/cvwww.htm

cannot set value of GtkDial

2003-06-04 Thread Peter Van Osta
o have tried to find the reference of the command to get a pointer to a widget by using its name, so I do not ahve to use global varaiables to manipulate widgets from outside a callback function ? Best regards, Peter Van Osta Union Biometrica N.V./S.A. European Scientific Operations (ESO) Cipal

retrieving status of GtkMenuItem

2003-06-03 Thread Peter Van Osta
e.g.: void on_menu_mode_1_activate (GtkMenuItem *menuitem, gpointer user_data) { return; } Best regards, Peter Van Osta Union Biometrica N.V./S.A. European Scientific Operations (ESO) Cipalstraat 3 B-2440 Geel Belgium Tel.: +32 (0)14 570 619 Fax.: +32 (0)14 570 621 http://www.unionbio.

catching destroying a window

2003-05-28 Thread Peter Van Osta
and to make it possible to reopen the window again ? Best regards, Peter Van Osta ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Scripts for building an interface

2002-10-07 Thread Peter Van Osta
Hi, I am looking for tools/scripts which would enable me to put a lot of functions into dialogboxes in a GTK-based interface. I am currently converting our software from an old Motif-based interface into a GTK-based interface and one of the jobs to be done is to put a lot of functions into the me

rescaling for display

2002-08-02 Thread Peter Van Osta
Hi, I have built a GTK1.2 based application in which I want to display images to the screen in an GdkDrawingArea. I have declared: guchar my_img[MY_WIDTH * MY_HEIGHT * 3]; and I display the in the GDHDrawingArea with 'gdk_draw_rgb_image" e.g.: gdk_draw_rgb_image (widget->window, widget->style-

problem compiling GTK-interface combined with image prcessin lib

2002-08-01 Thread Peter Van Osta
Hi, I have built an interface with GTK1.2 and I am now trying to add an image processing library. I am using GTK1.2 on Redhat Linux 7.2 (Linux linux-1 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown). The compilation stops due to a conflict in the definition of "create_image": GdkImlibIma

Solved: gtk_widget_add_events and GtkDrawingArea

2002-07-30 Thread Peter Van Osta
Hi, I solved the "problem" that I had with having to add some event handlers to a GtkDrawingArea. The GtkDrawingArea object is not known in the main section of an application built with glade (or any other multi-section application). By adding "gtk_widget_add_events" in the "expose_event" callba

show and hide a window

2002-07-30 Thread Peter Van Osta
Hi, I wan to hide and show a window, but simply doing a "gtk_widget_show" after hiding the window gives the following error: Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed. I thought that simply hiding the Window/widget did not destroy

gtk_widget_set_events

2002-07-30 Thread Peter Van Osta
Hi, When the pointer "drawing_area" is not declared in the main-section of an application, how to reference it to use "gtk_widget_set_events" on it ? e.g.: gtk_widget_set_events (drawing_area, GDK_EXPOSURE_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_BUTT

gtk_widget_add_events and GtkDrawingArea

2002-07-30 Thread Peter Van Osta
Hi, How do I use gtk_widget_add_events and GtkDrawingArea ? The GtkDrawingArea pointer is unknown in the main loop of a program created with Glade ? I need to let GtkDrawingArea catch mouse clicks. I have about 3 different GtkDrawingArea's in my application and each of them needs to respond to m

gtk_widget_set_events on drawing area in interface built with Glade

2002-07-29 Thread Peter Van Osta
Hi, I want to connect some events to a Gtk drawing area, but where should I put this in the source code built with Glade ??? The drawingarea1 is local to "interface.c", but I cannot edit this file as it might be overwritten ? e.g.: gtk_widget_set_events (drawingarea1, GDK_EXPOSURE_MASK

All windows pop up at once ?

2002-07-24 Thread Peter Van Osta
Hi, I have created an application with GLADE and have created and compiled the C source code. The compilation went smoothly and the generated code looked allright. There are however a few problems when I run the application. The program consists of several windows of which one is the main window

gdk_draw_gray_image problem

2002-02-28 Thread Peter Van Osta
Hi, I ahve problem with "gdk_draw_gray_image". The code to display a greyvalue image is shown below. If I take gdk_draw_gray_image" out of the loop or reduce the number of loops below 3, either a solid grey image window display is shown (0 loops ) or only the lower half of the image (2 loops) ?

list of functions in menu

2002-02-25 Thread Peter Van Osta
Hi, I want to build software on RedHat Linux 7.2 with a frontend based on GTK. I already have several C-functions that will be the "backend" of the application. I am now looking for a way to use a list of these functions with their arguments to put them "automatically" into menus and submenus in

g_signal_connect_swapped

2002-02-22 Thread Peter Van Osta
Hi, I am studying the "helloworld.c" example on the gtk.org website, but as the examples are already a mixture of GTK1.2 and GTK2.0, things do not compile as it should. "g_signal_connect_swapped" doesn't compile. eg.: g_signal_connect_swapped (GTK_OBJECT (button), "clicked",

upgrading GTK1.2 to GTK2.0 and displaying images

2002-02-20 Thread Peter Van Osta
ork. For an example of what I intend to "modernise", you can have a look at my persoanl website: http://ourworld.compuserve.com/homepages/pvosta/cvwww.htm Best regards and lots of thanks in advance, Peter Dr. Peter Van Osta Union Biometrica N.V./S.A. European Scient

signal_connect depreciated ?

2002-02-19 Thread Peter Van Osta
hat "g_signal_connect" is depreciated, but I have no clue what should be replacing it ? Best regards, Peter -- Dr. Peter Van Osta Union Biometrica N.V./S.A. European Scientific Operations Cipalstraat 3 B-2440 Geel Belgium tel.: +32 (0