Re: Newbie questions

2001-04-26 Thread skip
Ed, I'm new to gtk as well, but will give you my perspective nonetheless (as I'm sure several other people will). Ed> I know that there are other GIU development tools out there, like Ed> Qt. Is GTK+ the best place for me to be starting? I know, I'm Ed> asking to start a flame war

Re: best gtk structure for selecting multiple files for further processing

2001-04-26 Thread Helmethead
On Thu, Apr 26, 2001 at 05:02:22PM -0400, Glitch wrote: > hello, > > > after fixing my previous gtktree problem i've come to realize that, > unless i just have to add more functionality to it on my own, gtktree > isn't what i'm looking for to work with my application. > > > I need a widget t

Re: Newbie questions

2001-04-26 Thread Helmethead
On Thu, Apr 26, 2001 at 06:37:18PM -0400, Paul Davis wrote: > >I plan to install the latest 2.4 kernel, Red Hat 7.1 distro. I'm sure > >it will include GTK+, glibc, etc. Will that be GTK+ 1.2 or 2.0, or > >both? Is there a reason why I would want one over the other? Also, I > >have probably ev

Re: Newbie questions

2001-04-26 Thread Paul Davis
>I know that there are other GIU development tools out there, like Qt. >Is GTK+ the best place for me to be starting? I know, I'm asking to >start a flame war, and this is not my desire. I really don't know, and >want to know. Its mostly a stylistic thing. AFAIK, Qt is a C++ toolkit. GTK+ is a

focus and sensitivity bug

2001-04-26 Thread Davina Armstrong
Hi! There was some discussion last November about the bug in 1.2 where insensitive widgets could still get focus. Does anyone know if this is fixed in 2.0? Thanks! Davina ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listi

Re: freeing text

2001-04-26 Thread January Weiner 3
> Do people think that is the correct way to document memory management? The more you write, the better. Memory allocation problems are sometimes hard to track (at least for me) and can cause severe thinking pains for lamers like yours truly -- speaking from my humble experience. I must admit tha

best gtk structure for selecting multiple files for further processing

2001-04-26 Thread Glitch
hello, after fixing my previous gtktree problem i've come to realize that, unless i just have to add more functionality to it on my own, gtktree isn't what i'm looking for to work with my application. I need a widget that allows me to peruse a directory structure anywhere, highlight the fil

Re: disabling auto background clear

2001-04-26 Thread Havoc Pennington
John Cupitt <[EMAIL PROTECTED]> writes: > I looked at gdk, and I think gdk_window_set_background() does > XSetWindowBackground( color->pixel ), so I'm not sure this will work :-( > > You can give NULL to gdk_window_set_back_pixmap(), but that doesn't seem > to help me either. It looks like set

Newbie questions

2001-04-26 Thread Ed Winchester
Hello, folks, First to set the scene, I'm an old guy, in the computer field since 1965. I have to build a small simulator to simulate a big device that doesn't exist yet, but its interface is well defined. It will simulate that device by communicating via a MIL-STD-1397 type A parallel interfac

Re: disabling auto background clear

2001-04-26 Thread John Cupitt
Helmethead wrote: > > On Thu, Apr 26, 2001 at 02:53:22PM +0100, John Cupitt wrote: > > This is an easy one ... how do I stop my widget being automatically > > cleared to the background colour on a configure? I want to redraw this > > case myself. > > > > I looked over the GIMP sources, but I can'

Re: disabling auto background clear

2001-04-26 Thread John Cupitt
Havoc Pennington wrote: > > John Cupitt <[EMAIL PROTECTED]> writes: > > This is an easy one ... how do I stop my widget being automatically > > cleared to the background colour on a configure? I want to redraw this > > case myself. > > > > I looked over the GIMP sources, but I can't see what they

Re: disabling auto background clear

2001-04-26 Thread Havoc Pennington
John Cupitt <[EMAIL PROTECTED]> writes: > This is an easy one ... how do I stop my widget being automatically > cleared to the background colour on a configure? I want to redraw this > case myself. > > I looked over the GIMP sources, but I can't see what they're doing that > I'm not :-( > > Th

Re: GTK rc binding question

2001-04-26 Thread Owen Taylor
Neil Bird <[EMAIL PROTECTED]> writes: > Havoc Pennington wrote: > > >bind "g" > > >{ > > > "debug-msg" ("") > > > "clicked" () > > >} > > > > It's simply that GtkEntry has no "clicked" signal. It does have an > > "activate" signal which is what happens when you press the

Re: GTK+ on AIX4.3

2001-04-26 Thread Valdis . Kletnieks
On Thu, 26 Apr 2001 14:14:50 +1000, Nicolas Clemeur said: > some problem to link my application (it's compiling OK). I get > the following errors: > ld: 0711-317 ERROR: Undefined symbol: __dl__FPv > ld: 0711-317 ERROR: Undefined symbol: __PureVirtualCalled This smells suspiciously like a miss

Re: How do I find recommended replacements for deprecated functions?

2001-04-26 Thread Owen Taylor
<[EMAIL PROTECTED]> writes: > If a function is deprecated in the new api the reference manual contains a > fairly generic warning, e.g.: > > gtk_window_set_default_size is deprecated and should not be used in > newly-written code. > > Is there a way to find out what I should be using i

Re: GTK rc binding question

2001-04-26 Thread Neil Bird
Havoc Pennington wrote: > >bind "g" > >{ > > "debug-msg" ("") > > "clicked" () > >} > > It's simply that GtkEntry has no "clicked" signal. It does have an > "activate" signal which is what happens when you press the Return key > normally. Sorry, it's not that simple! Gt

Re: disabling auto background clear

2001-04-26 Thread Helmethead
On Thu, Apr 26, 2001 at 02:53:22PM +0100, John Cupitt wrote: > This is an easy one ... how do I stop my widget being automatically > cleared to the background colour on a configure? I want to redraw this > case myself. > > I looked over the GIMP sources, but I can't see what they're doing that >

disabling auto background clear

2001-04-26 Thread John Cupitt
This is an easy one ... how do I stop my widget being automatically cleared to the background colour on a configure? I want to redraw this case myself. I looked over the GIMP sources, but I can't see what they're doing that I'm not :-( Thanks for any pointers! John ___

Re: problem with gtk filetree

2001-04-26 Thread Helmethead
On Thu, Apr 26, 2001 at 04:22:57AM -0400, Glitch wrote: > Helmethead wrote: > > > On Wed, Apr 25, 2001 at 11:58:36PM -0400, Glitch wrote: > > > >> hello, > >> > >> I got Developing Linux Applications Using GTK+ (written by Eric Harlow). > >> > >> In it there is an example of a Gtk Tree and Gtk

Re: freeing text

2001-04-26 Thread Eric Lemings
Havoc Pennington wrote: > I usually mention it either way, and also we have G_CONST_RETURN now > which will indicate whether you need to free, at least for return > values (though not for out params such as this one). The only thing that a const return value should convey is you can't change the

how can i make gtk work on solaris7?

2001-04-26 Thread Íõ·«
hi,now i met with a problem when i tried to install glib and gtk+ 1.2 on my solaris 7. I found the glib and gtk were installed regularly.but when i installed some applications which need glib and gtk,the error of not finding glib and gtk occured. It seemed that the make process can't find the inst

Seeking help for GTK implimentation

2001-04-26 Thread Ajaya_Kumar
Hi, I ned to know how to impliment the attcahed GUI format using GTK+, adding to that some more clarification I am need of. Some could able to help me for clearing those doubts 1. Which is the call to get the window center( x, y Position), if have the id of the window. 2. How to specify the dim

How do I find recommended replacements for deprecated functions?

2001-04-26 Thread skip
If a function is deprecated in the new api the reference manual contains a fairly generic warning, e.g.: gtk_window_set_default_size is deprecated and should not be used in newly-written code. Is there a way to find out what I should be using instead of any given deprecated function? A

Re: GTK rc binding question

2001-04-26 Thread Havoc Pennington
Neil Bird <[EMAIL PROTECTED]> writes: > Havoc Pennington wrote: > > You don't need to provide the object or user data args. So I think in > > this case there are no args. > > > > You only have to provide e.g. enum args. > > OK; I've got this kind-of going (in ~/.gtkrc.mine) with the GTK examp

Re: GTK+ on AIX4.3

2001-04-26 Thread Nicolas Clemeur
Thank you Valdis! It's work fine now, I am now compiling on Aix4.3.2 (in place of 4.3.0) and I have tried several examples and it work fines. I have also compiled wxGTK (a cross-platform toolkit,more info on http://www.wxwindows.org), but I still have some problem to link my application (it's co

Re: GTK rc binding question

2001-04-26 Thread Neil Bird
Neil Bird wrote: > I've tried following the code through, but it's a maze of signals & > event-queues - I got hopelessly lost! Further info. In the gtkbindings code, if one of the buttons has the focus, *it* gets the key_press event; the widget path is: "GtkWindow.GtkVBox.GtkHBox.GtkCheckBu

Re: GTK rc binding question

2001-04-26 Thread Neil Bird
Havoc Pennington wrote: > You don't need to provide the object or user data args. So I think in > this case there are no args. > > You only have to provide e.g. enum args. OK; I've got this kind-of going (in ~/.gtkrc.mine) with the GTK example 'entry' app. : binding "clipboard-binding" { b

Re: problem with gtk filetree

2001-04-26 Thread Glitch
Helmethead wrote: > On Wed, Apr 25, 2001 at 11:58:36PM -0400, Glitch wrote: > >> hello, >> >> I got Developing Linux Applications Using GTK+ (written by Eric Harlow). >> >> In it there is an example of a Gtk Tree and Gtk List. It basically uses >> the directories and files in the CWD and dis