Re: Call a function after showing something in a DrawingArea

2006-01-04 Thread Christoph Bersch
Hi John! John Cupitt schrieb: > On 1/3/06, Christoph Bersch <[EMAIL PROTECTED]> wrote: >> I want to write a program, that draws something in a DrawingArea, and calls a >> function after _showing_ the changes in the DrawingArea: >> >> 1) call function draw_something() >> 2) show the changes >> 3) c

Re: Call a function after showing something in a DrawingArea

2006-01-04 Thread John Cupitt
Hi Christoph, On 1/4/06, Christoph Bersch <[EMAIL PROTECTED]> wrote: > Great, this seems to work :-) Good! > I thought, that a call of gtk_widget_draw() might be better than > gtk_widget_queue_draw_area(), as it draws immediately, although it is > deprecated. > > So how could a call of gtk_widge

Catch signal

2006-01-04 Thread Fernando Apesteguía
Hi, I've developed an app test to catch a delete_event for a window so I can show some messages and then depending on the user answer close or not the window. My question is if there is a way to handle this signal from an external application. This is The application B detects when the delete

Fwd: Catch signal

2006-01-04 Thread Daniel Espinosa
-- Forwarded message -- From: Daniel Espinosa <[EMAIL PROTECTED]> Date: 04-ene-2006 14:12 Subject: Re: Catch signal To: Fernando Apesteguía <[EMAIL PROTECTED]> Yes I think. You may need a interprocess comunication, like D-BUS see: http://www.freedesktop.org/wiki/Software_2fdbus

Tiled Image with GdkFill?

2006-01-04 Thread Ronald Vincent Tarrant
Hi all, Does anyone know how to tile an image as a background in a widget? I'm thinking it has something to do with GdkFill types (such as GDK_TILED) but I don't see any example code. In fact, I'm not at all clear on how to use a GdkFill type at all. Any suggestions, anyone? -Ron T. ___

Re: Tiled Image with GdkFill?

2006-01-04 Thread Tristan Van Berkom
Ronald Vincent Tarrant wrote: Hi all, Does anyone know how to tile an image as a background in a widget? I'm thinking it has something to do with GdkFill types (such as GDK_TILED) but I don't see any example code. In fact, I'm not at all clear on how to use a GdkFill type at all. Any suggesti

Re: Fwd: Catch signal

2006-01-04 Thread Christian Neumair
Am Mittwoch, den 04.01.2006, 14:13 -0600 schrieb Daniel Espinosa: > -- Forwarded message -- > From: Daniel Espinosa <[EMAIL PROTECTED]> > Date: 04-ene-2006 14:12 > Subject: Re: Catch signal > To: Fernando Apesteguía <[EMAIL PROTECTED]> > > Yes I think. > > You may need a interproc

How invoke a menu and menu items on key press

2006-01-04 Thread Suresh Stephen
Hello all, I need to know how to add a shortcut key for a menu so that i can invoke that menu by pressing alt+ and |||ly for menu items also so when the menu is pooped i just want to press a key and invoke a functionality also i want to know how u can underline that a letter in the me