Re: How to set a transparent style?

2002-04-01 Thread rsteinke
> From: Paul Davis <[EMAIL PROTECTED]> > > >> From: <[EMAIL PROTECTED]> > >> > >> Hi, > >> > >> i'm doing something that involves GtkDrawingArea, in which i paint > >> some GdkPixmaps, and some of this GdkPixmaps have some > >> transparent areas, the problem is when i paint them, the transparent

Gtk+2.0 define signal callback function,but it doesn't be called

2002-04-01 Thread robbie
code:   char *signals[] = {  "button_press_event",  "button_release_event",  "motion_notify_event",  "key_press_event"     };   for (i = 0; i < sizeof (signals) / sizeof (signals[0]); i++) {    gtk_signal_connect_object (GTK_OBJECT (G

Re: How to set a transparent style?

2002-04-01 Thread Paul Davis
>> From: <[EMAIL PROTECTED]> >> >> Hi, >> >> i'm doing something that involves GtkDrawingArea, in which i paint >> some GdkPixmaps, and some of this GdkPixmaps have some >> transparent areas, the problem is when i paint them, the transparent >> areas are painted in white! How do i do so that the

Re: that gives 2 blank windows:( Re: hello, Mr. Ronald Bultje

2002-04-01 Thread guo li
Is there  some function like pixbuf = gdk_pixbuf_new_from_buffer(buf)? since pixbuf = gdk_pixbuf_new_from_file(file) has to handle a file on disk, what if my image data are stored in the memory already? I do not want to write it into a file on disk then use pixbuf = gdk_pixbuf_new_from_file(f

about destruct class object?

2002-04-01 Thread 黃慶 Kason Huang
hi: after i create a gtkbutton(useing gtk_button_new()),when i want to destruct the gtkbutton, whether i need call gtk_widget_destroy(button) in my destruct function of CGtkButton class encapsulated by myself. thanks a lot! kason ___ gtk-list mailing

about control signal and event.........

2002-04-01 Thread 黃慶 Kason Huang
hi: i am doing a project.in that i must contrast the mouse clicked signal with key pressed event. i doing a testing code. like following: #include GtkWidget *xpm_label_box( GtkWidget *parent, gchar *xpm_filename, gchar *label_text )

Re: Swedish characters

2002-04-01 Thread Thierry BRICHLER
Hello, In order a C program (with or without gtk+) can operate satisfactorily beyond the ASCII table (for german "umlauts", french accentuated characters, swedish characters...), the LC_ALL environment variable should be set to blank, in order the other LC_* environment variables could be se

Re: How to set a transparent style?

2002-04-01 Thread rsteinke
> From: <[EMAIL PROTECTED]> > > Hi, > > i'm doing something that involves GtkDrawingArea, in which i paint > some GdkPixmaps, and some of this GdkPixmaps have some > transparent areas, the problem is when i paint them, the transparent > areas are painted in white! How do i do so that the transpa

How to set a transparent style?

2002-04-01 Thread hunchback
Hi, i'm doing something that involves GtkDrawingArea, in which i paint some GdkPixmaps, and some of this GdkPixmaps have some transparent areas, the problem is when i paint them, the transparent areas are painted in white! How do i do so that the transparent areas aren't painted? Thanks for a

Question about GDK_ROOT_PARENT

2002-04-01 Thread Stephen Chubb
I have been working on writing a (supercool, obviously) screensaver under GTK and am having trouble getting hold of the root window. I have seen a fair number of posts on this here in the archives along with useful code posts, but my problem seems to be different. The simplest way of gettin

help with strange stack back trace

2002-04-01 Thread Ramsés Morales
Hi. I was going to debug a program with electric fence, using EF_PROTECT_FREE=1 to detect access to freed memory. My program segfaults in a place it shouldn't, here is the backtrace: #0 0x404c9066 in strlen () from /lib/i686/libc.so.6 #1 0x403f6ea8 in g_strdup () from /usr/local/lib/libgl

Editing Report !!

2002-04-01 Thread [EMAIL PROTECTED]
Hi ! Please, can any one help me to edit some report using any tools from GTK ! (something like Cristal Report) Thank you for advance !! Yours !! Faites un voeu et puis Voila ! www.voila.fr Avec Voila Mail, consultez vos e-ma

Swedish characters

2002-04-01 Thread Johan
How do I insert none-english characters in labels, lists and entryboxs ? -- // Johan ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list