active and inactive

2002-04-12 Thread Liu.Jeffrey
Title: active and inactive Dear sir, I use gtk_widget_set_state(button1,GTK_STATE_INSENSITIVE) to inactive the button1. It works !!! But then when using gtk_widget_set_state(button1,GTK_STATE_NORMAL) or gtk_widget_set_state(button1,GTK_STATE_ACTIVE) to restore button1 active.

gtk_rc_get_module_dir() returns wrong path

2002-04-12 Thread Sergey I. Kuzminov
Hi all, gtk_rc_get_module_dir() returns the directory which GTK+ looks for theme engines in (see docs). But it looks like this directory doesn't exist in built space. What's wrong ? Where gtk_rc_find_module_in_path() will search theme engine modules ? Thanks for any help, Sergey

How can I choose only the round button from square button space?

2002-04-12 Thread bkna
Hi, I would put pixmaped buttons, instead of labeled buttons. Thus, I have made round-shaped button XPM files. As I know I can not remove the edge space. I used the function, gdk_pixmap_colormap_create_from_xpm_d (). However, even I make them transparent, buttons have the unnecessary edges. I

Re: glib-config

2002-04-12 Thread Szalai Ferenc
Hello, I have searched the mailinglist archive and found out that 'glib-config' needs to be in the path. Only one problem though ... where is glib-config? It didn't install here I think..(?) I have tried to locate it but I can't find it anywhere. Did I do something wrong in the install? (I

Re: active and inactive

2002-04-12 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I use gtk_widget_set_state(button1,GTK_STATE_INSENSITIVE) to inactive the button1. It works !!! But then when using gtk_widget_set_state(button1,GTK_STATE_NORMAL) or gtk_widget_set_state(button1,GTK_STATE_ACTIVE) to restore button1 active. It fails.

xoffset,yoffset be removed in gtk2.0,but some app need it?

2002-04-12 Thread sandy_21
Hi there: some app such as dillo,are developed in gtk1.2. In order to render, they use gtklayout widget.Now since xoffset and yoffset removed,the display of apps is absnormal in Gtk 2.0 because I simple assume xoffset and yoffset equal zero but in fact it isn't.Anything can replace of

My gtk is does'nt work ??? :(

2002-04-12 Thread aminetti
dear all, for the 1st chance, i wanna introduce my self, my name Muhaimin. indnesian. :) i've problem with ny gtk. i've install my gtk. and the configure file gtk, gtk-config at this location: gtk/gtk.h - /usr/include/gtk-1.2/ gtk-config - /usr/bin/ my gtk is gtk-1.2.10 version

RE: My gtk is does'nt work ??? :(

2002-04-12 Thread Daniel Morgan
Are you using ` instead of ' when compiling? Use the backquote ` instead of the quote '. So, try using this instead: cc namefile.c -o namefile `gtk-config --libs --cflags` -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of aminetti Sent: Friday, April

Re: Solaris 8 Xinerama GDK BadMatch

2002-04-12 Thread Erwann Chenede
Hi David, Which version of gtk are you using ? Erwann From: David F. Newman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Solaris 8 Xinerama GDK BadMatch Hello, I'm not really sure where to start with regards to reporting this problem, but the error message has GDK in it so I figure it best

Menu accelerators

2002-04-12 Thread Colin Leroy
Hello, I couldn't find anything related to this in gtk.org's FAQ nor tutorial. Where could I find information about user-defined accelerators saving ? I looked in Pan and Sylpheed source, but didn't find the relevant things :-/ Thanks for any hint or pointer, -- Colin Dinner not ready:

RE: My gtk is does'nt work ??? :(

2002-04-12 Thread Nicolas web
I use this: gcc -Wall -g x.c -o x 'gtk-config --libs' 'gtk-config --cflags' --- Daniel Morgan [EMAIL PROTECTED] wrote: Are you using ` instead of ' when compiling? Use the backquote ` instead of the quote '. So, try using this instead: cc namefile.c -o namefile `gtk-config --libs

Re: My gtk is does'nt work ??? :(

2002-04-12 Thread Sven Neumann
Hi, Nicolas web [EMAIL PROTECTED] writes: gcc -Wall -g x.c -o x 'gtk-config --libs' 'gtk-config --cflags' which won't work since you need to use backticks (`) instead of apostrophes ('). Apart from that the output of `gtk-config --cflags` `gtk-config --libs` is equivalent to `gtk-config

GtkDrawingArea signal

2002-04-12 Thread Jean-Yves Lamoureux
Hi all I would like to get events on a GtkDrawingArea, especially the mouse clicks and mouse position. I wrote that : gtk_signal_connect (GTK_OBJECT (MyWindow-MyDrawingArea), clicked, GTK_SIGNAL_FUNC (MyHandler), GTK_OBJECT (file_menu)); gtk_widget_set_events (GTK_OBJECT

Re: GtkDrawingArea signal

2002-04-12 Thread Steph
'clicked' is a gtkbutton signal. mouse click signals are button press/release event signals. - Original Message - From: Jean-Yves Lamoureux [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 12, 2002 12:27 PM Subject: GtkDrawingArea signal Hi all I would like to get

Re: GtkDrawingArea signal

2002-04-12 Thread Sven Neumann
Hi, Jean-Yves Lamoureux [EMAIL PROTECTED] writes: I would like to get events on a GtkDrawingArea, especially the mouse clicks and mouse position. I wrote that : gtk_signal_connect (GTK_OBJECT (MyWindow-MyDrawingArea), clicked, GTK_SIGNAL_FUNC (MyHandler), GTK_OBJECT (file_menu));

Re: Re: glib-config

2002-04-12 Thread kada
I have searched the mailinglist archive and found out that 'glib-config' needs to be in the path. Only one problem though ... where is glib-config? It didn't install here I think..(?) I have tried to locate it but I can't find it anywhere. Did I do something wrong in the install? (I

glib and gtk+ problems

2002-04-12 Thread Alberto Manuel Brandão Simões
- glib: I had a program with module loading working. Now, my code does not work. The error reported by glib says some function (I have it defined in the caller application) is not defined. This is, indeed weird, and I would like to know how can I debug this to check it's problem. - gtk+:

Re: glib and gtk+ problems

2002-04-12 Thread Szalai Ferenc
I had a program with module loading working. Now, my code does not work. The error reported by glib says some function (I have it defined in the caller application) is not defined. This is, indeed weird, and I would like to know how can I debug this to check it's problem. Use gdb or

Re: glib and gtk+ problems

2002-04-12 Thread Alberto Manuel Brandão Simões
On Fri, 2002-04-12 at 13:10, Szalai Ferenc wrote: I had a program with module loading working. Now, my code does not work. The error reported by glib says some function (I have it defined in the caller application) is not defined. This is, indeed weird, and I would like to know how

Re: GtkDrawingArea signal

2002-04-12 Thread Jean-Yves Lamoureux
Ok works great, thanks a lot Le Vendredi 12 Avril 2002 13:44, Sven Neumann a écrit : Hi, Have a look at the scribble-simple example in the gtk+ docs to see how button_press events are properly handled. Basically you need something like: gtk_widget_add_events (widget,

Re: Solaris 8 Xinerama GDK BadMatch

2002-04-12 Thread David F. Newman
On Fri, 12 Apr 2002, Erwann Chenede wrote: Hi David, Which version of gtk are you using ? gtk+ 1.2.10 -Dave ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

text on a pixmap

2002-04-12 Thread Jean-Yves Lamoureux
Re-Hi all I'm looking for a way to print some text ON a pixmap. Imagine I've a window, with a background pixmap. How can I print text on it ? (in other way, how can I define a background image/pixmap ?) Thanks -- Jean-Yves Lamoureux Software Developper

Re: text on a pixmap

2002-04-12 Thread Chris Nystrom
On Fri, 12 Apr 2002, Jean-Yves Lamoureux wrote: I'm looking for a way to print some text ON a pixmap. Imagine I've a window, with a background pixmap. How can I print text on it ? You draw the pixmap in the expose event: gint expose_event( GtkWidget *widget,

Fwd: Re: text on a pixmap

2002-04-12 Thread Jean-Yves Lamoureux
-- Message transmis -- Subject: Re: text on a pixmap Date: Fri, 12 Apr 2002 17:46:53 +0200 From: Jean-Yves Lamoureux [EMAIL PROTECTED] To: Chris Nystrom [EMAIL PROTECTED] You draw the pixmap in the expose event: gint expose_event( GtkWidget *widget,

Re: Fwd: Re: text on a pixmap

2002-04-12 Thread Nuno Afonso
What you can do is draw the image on a drawing area, and then draw the text.. You can also use GtkFixed to order the layout of your widgets and put the drawing area in it, and then put a GtkLabel on top of the drawing area.. Or, you can create a GtkPixmap (if you are using gtk 1.2, i think that

Re: Fwd: Re: text on a pixmap

2002-04-12 Thread Nuno Afonso
Oh.. i forgot, you can put a pixmap on the background also... void gdk_window_set_back_pixmap (GdkWindow *window, GdkPixmap *pixmap, gint parent_relative); An then you simply put a GtkFixed and you place a GtkLabel wherever you

Has anyone made a GdkPixmap with transparent areas?

2002-04-12 Thread Nuno Afonso
Hi, did anyone made a drawing area showing on it a GdkPixmap with transparencies? If so, please mail me.. i just can't make it. Afonso ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list