Re: GTK_STATE_SELECTED for bg

2001-03-28 Thread Havoc Pennington
Andrei Zmievski <[EMAIL PROTECTED]> writes: > I tried setting bg[GTK_STATE_SELECTED] to a different color for > GtkCList, but it still stays the default one when I select a row - the > other states seem to work fine. Is there anything special I have to do? > clist rows are in base color, not bg

Re: Gdk-WARNING **: shmget failed!

2001-03-28 Thread Steven M. Castellotti
I had the same problem a couple of weeks ago. The following link helped me greatly, I hope it helps you too: http://www.linux.org.uk/~telsa/GDP/gnome-faq/problems.html#AEN864 Matt Hillebrand wrote: > > I run into this warning during execution sometimes. I never know when it > is going

Re: Gdk-WARNING **: shmget failed!

2001-03-28 Thread Owen Taylor
Matt Hillebrand <[EMAIL PROTECTED]> writes: > Yes, it is 1.2.9. What could I have done to generate this kind of warning? > Is there a way to turn that warning off? My program still works perfectly > no matter how many times the warning appears. You haven't told us anything about what operating

Re: Gdk-WARNING **: shmget failed!

2001-03-28 Thread Matt Hillebrand
Yes, it is 1.2.9. What could I have done to generate this kind of warning? Is there a way to turn that warning off? My program still works perfectly no matter how many times the warning appears. Thanks, Matthew P. Hillebrand On 28 Mar 2001, Owen Taylor wrote: > > Matt Hillebrand <[EMAIL PROTEC

Re: Gdk-WARNING **: shmget failed!

2001-03-28 Thread Owen Taylor
Matt Hillebrand <[EMAIL PROTECTED]> writes: > I run into this warning during execution sometimes. I never know when it > is going to show up. Sometimes I see it immediately after execution, > sometimes mid-session, and sometimes never! > > I think I started seeing it after I added icons to my w

Re: C++ keyword embedded and others

2001-03-28 Thread Owen Taylor
Mario Motta <[EMAIL PROTECTED]> writes: > Hi all, > could be the wrong place.. however in latest gtk cvs snapshot i noticed: > > - in gtkwidget.h at line 618 and following > /* widget style properties > */ > void gtk_widget_class_install_style_property(GtkWidgetClass *class, >

C++ keyword embedded and others

2001-03-28 Thread Mario Motta
Hi all, could be the wrong place.. however in latest gtk cvs snapshot i noticed: - in gtkwidget.h at line 618 and following /* widget style properties */ void gtk_widget_class_install_style_property(GtkWidgetClass *class, GParamSpec *pspec

Gdk-WARNING **: shmget failed!

2001-03-28 Thread Matt Hillebrand
I run into this warning during execution sometimes. I never know when it is going to show up. Sometimes I see it immediately after execution, sometimes mid-session, and sometimes never! I think I started seeing it after I added icons to my windows. Any advice? Thanks, Matt __

Re: GtkDrawingArea...

2001-03-28 Thread Paolo Molaro
On 03/28/01 Arjan J. Molenaar wrote: > > I`m trying to switch from Perl-Tk to Perk-Gtk because > > Gtk has a lot more advantages in this case. I got only > > one problem and alas I did not find a sample program > > which helps me. > > > > I`m trying to setup a Gtk::DrawingArea which should > > c

[ANNOUNCE] Gtk-Perl version 0.7006 released

2001-03-28 Thread Paolo Molaro
Gtk-Perl version 0.7006 code named "More Meat For Less Bucks" is available on your nearest CPAN mirror at: http://www.cpan.org/authors/id/L/LU/LUPUS/Gtk-Perl-0.7006.tar.gz The changes include: * More documentation (also available in pod format now!): reference manuals and Gtk:cookbo

Re: GtkEntry and default buttons. GtkEntry eats the "Enter"

2001-03-28 Thread Norman Black
Thanks, > Hook up the "activate" signal of the entry to > emit the "clicked" signal on your default button. So I have to write code for every dialog. A pain but at least it works. Luckily for me I use an encapsulation library so I only write the code once. I have additional code to deal with sin

Window classes

2001-03-28 Thread Alexander Deruwe
Howdy all, I've been trying to find more information about GTK and gtk_window_set_wmclass, but it seems to be heard to find. Can anyone point me to a good source of information on this topic? If not, the thing I'd like to know is: what is exactly the good part about using them, what advantage doe

RE: embedding radio buttons in a clist

2001-03-28 Thread Ronald Bultje
On 2001.03.28 16:30:54 +0200 Matt Eisemann wrote: > Just thought I would send again since have not heard anything from > anyone. > Should not be that hard of a question, just can't seem to find the > answer. > > > > Right now I am modifying an application I wrote a while back but I want a >

RE: embedding radio buttons in a clist

2001-03-28 Thread Matt Eisemann
Just thought I would send again since have not heard anything from anyone. Should not be that hard of a question, just can't seem to find the answer. Right now I am modifying an application I wrote a while back but I want a way to include a single column of radio buttons in my clist. This w

GTK_STATE_SELECTED for bg

2001-03-28 Thread Andrei Zmievski
I tried setting bg[GTK_STATE_SELECTED] to a different color for GtkCList, but it still stays the default one when I select a row - the other states seem to work fine. Is there anything special I have to do? -Andrei * The future has arrived, it's just not evenly distributed. -W. Gibson *

RC files and themese

2001-03-28 Thread Andrei Zmievski
If I load an RC file via gtk_rc_parse(), the Gtk+ theme seems to override the pixmap and color settings loaded that way. Any idea why? -Andrei Commitment, n.: Commitment can be illustrated by a breakfast of ham and eggs. The chicken was involved, the pig was committed. _

RE: GtkDrawingArea...

2001-03-28 Thread Arjan J. Molenaar
> > Hi, > > I`m trying to switch from Perl-Tk to Perk-Gtk because > Gtk has a lot more advantages in this case. I got only > one problem and alas I did not find a sample program > which helps me. > > I`m trying to setup a Gtk::DrawingArea which should > contain several pixmaps to be selected w

text entry problem

2001-03-28 Thread David Eduardo Gomez Noguera
Hello. I have this doubt. is there any issue about writing spaces, or double quotes into a text entry widget? or maybe a clist? have got this problem. I read the info from a clist. the first col has a double quote, the next a space and the next two just plain text (all have text) I used the sam

RE: How to display bmp files to button widget?

2001-03-28 Thread id072647
Hi, There is an .c example in /usr/include/gtk... (createbutton I think) for adding images to buttons. Fabrisio -Original Message- From: Helmethead [mailto:[EMAIL PROTECTED]] Sent: Tuesday 27 March 2001 08:22 To: À¯´ë»ó Cc: [EMAIL PROTECTED] Subject: Re: How t

Re: GtkEntry and default buttons. GtkEntry eats the "Enter"

2001-03-28 Thread John Cupitt
Hi Norman, you can also do a grab_default to get the OK button to highlight when the entry has focus. gtkfilesel does this: -- gtk_signal_connect_object (GTK_OBJECT (entry), "focus_in_event", GTK_SIGNAL_FUNC (gtk_widget_grab_default), GTK_OBJECT (ok_button)); gtk_signal_connect_object (G