Re: drawing area and events win32

2005-08-16 Thread HuamiSoft Hubert Sokolowski
On Tue, 16 Aug 2005 16:40:54 +0530 jaykumar [EMAIL PROTECTED] wrote: Hi, I am new to gtk development, currently I have used gtk -win32 version 2.6.7 for creating a video player. first of all, please use latest stable gtk for windows from Tor's site http://www.gimp.org/~tml/gimp/win32/ which

RE: Modularization

2005-08-16 Thread Freddie Unpenstein
I'm beginning to learn and use GTK+. Here is the steps that I believe are needed to build an GTK+ application: 1. Initialize the library. Generally happens in main... 2. Create widgets and set attributes. 3. Register callback routines. Those two go together... Either load a glade UI and

Re[2]: A springs and struts widget for GTK+

2005-08-16 Thread andrey
Hi, Russell Shaw wrote: Greg Breland wrote: On Tue, 2005-08-16 at 00:50, andrey wrote: hi, i have a question in accordance with your message. Is there in GTK+ Position Layout, like in most of gui-libraries? For example i want to place label or button in position x=100,

Re: A springs and struts widget for GTK+

2005-08-16 Thread Gustavo J. A. M. Carneiro
Hi, just some comments below. On Tue, 2005-08-16 at 00:52 -0400, Matthias Clasen wrote: During last weeks gazpacho hackfest here in the RedHat desktop grotto, I started to work on an implementation of a springs-and-struts layout container for GTK+, similar to the java SpringLayout. The

Re: A springs and struts widget for GTK+

2005-08-16 Thread Matthias Clasen
On Tue, 2005-08-16 at 16:15 +0100, Gustavo J. A. M. Carneiro wrote: Hi, just some comments below. On Tue, 2005-08-16 at 00:52 -0400, Matthias Clasen wrote: During last weeks gazpacho hackfest here in the RedHat desktop grotto, I started to work on an implementation of a

Re: A springs and struts widget for GTK+

2005-08-16 Thread Havoc Pennington
On Tue, 2005-08-16 at 16:15 +0100, Gustavo J. A. M. Carneiro wrote: I find the current container-based system easier on newbies, although this spring layout system does sound promising for more complex layout needs. Moreover, with recent canvas discussions, this layout system at first

Re: A springs and struts widget for GTK+

2005-08-16 Thread Michael Torrie
On Tue, 2005-08-16 at 11:43 -0400, Matthias Clasen wrote: I am left wondering why this new layout system? Maybe it's great, but why was it introduced? To solve something that can't be solved without it, I suppose?.. Would the current container-based layout system be deprecated in the

Signal when the content of a GtkEntry is changed

2005-08-16 Thread Thym
Good evening all, First, sorry for my english, I speak French. I would like to know when the content of a GtkEntry is changed. A signal certainly, but what's its name ? Thank you. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread David Necas (Yeti)
On Tue, Aug 16, 2005 at 07:50:59PM +0200, Thym wrote: I would like to know when the content of a GtkEntry is changed. A signal certainly, but what's its name ? http://developer.gnome.org/doc/API/2.0/gtk/GtkEditable.html#GtkEditable-changed Yeti ___

Re: A springs and struts widget for GTK+

2005-08-16 Thread Paul Pogonyshev
Gustavo J. A. M. Carneiro wrote: Hi, just some comments below. On Tue, 2005-08-16 at 00:52 -0400, Matthias Clasen wrote: During last weeks gazpacho hackfest here in the RedHat desktop grotto, I started to work on an implementation of a springs-and-struts layout container for GTK+,

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Douglas Vechinski
I've had a similar/relate question that I've been curious about for some time. This emits a signal evertime the contents is changed. Unfortunately, taking action everytime it is changed may not be what is desired. What may be desired is when the changes are done. Suppose the entry contained a

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Bill Medland
On August 16, 2005 11:13 am, Douglas Vechinski wrote: I've had a similar/relate question that I've been curious about for some time. This emits a signal evertime the contents is changed. Unfortunately, taking action everytime it is changed may not be what is desired. What may be desired is

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread John Coppens
On Tue, 16 Aug 2005 13:13:08 -0500 Douglas Vechinski [EMAIL PROTECTED] wrote: What may be desired is when the changes are done. Suppose the entry contained a value like 9.8 and someone wants to change the value to 12.2. This might be done my backspacing, deleting all the characters and

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Thym
Thanks for all this answers :] I choosed the focus-out-event solution : I connect the signal to my entry : g_signal_connect_swapped(pMyApp-pEntryMenuName, focus-out-event, G_CALLBACK(entryMenuName_changed), (gpointer)pMyApp); pMyApp is a structure contain some pointer like pEntryMenuName or

invisible button

2005-08-16 Thread Boncek, John
I'm completely baffled. I have a GtkButton on top of a complex hierarchy of other widgetry. It does not appear despite anything I've done, but it's there because it returns click events (as proven with debugging breakpoints) throughout the area in which it should be. I've tried all sorts of

Best place to call gtk_widget_show()?

2005-08-16 Thread Markus Lausser
Hello, I wonder, in which order should the following tasks be done: * show widget * add widget to parent container * add childs to widget Which order is the fastest (CPU)? First add childs, then show? First show then add to parent? etc... Or maybe call gtk_widget_show_all() for the toplevel

Re: Best place to call gtk_widget_show()?

2005-08-16 Thread Maciej Katafiasz
2005-08-16 (火) の 22:45 +0200 に Markus Lausser さんは書きました: I wonder, in which order should the following tasks be done: * show widget * add widget to parent container * add childs to widget Which order is the fastest (CPU)? Heh. CPU has exactly nothing to do with it. What you care about is

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread Bill Medland
On August 16, 2005 12:05 pm, John Coppens wrote: On Tue, 16 Aug 2005 13:13:08 -0500 Then you have two choices: One is the activate signal, which gets sent when you press enter and such. (I wish the API actually documented this stuff). Can you expand on and such? I could build an

Re: Signal when the content of a GtkEntry is changed

2005-08-16 Thread John Coppens
On Tue, 16 Aug 2005 16:48:35 -0700 Bill Medland [EMAIL PROTECTED] wrote: (I wish the API actually documented this stuff). Can you expand on and such? I could build an experiment and try to find out, but I would rather hear what the designers intended it to do. Me too. The docs on such

zooming

2005-08-16 Thread Rahul Sood
Hi, I'm using a DrawingArea widget to display some graphics. I want to implement zoom function so the user could specify a zoom percentage, in the range 25%-200% and the graphics in the DrawingArea should be scaled accordingly. Is there any function in gtk that would be useful to do this.