Can GTK+ make use of XSHM extension from MIT

2008-01-10 Thread Bin Chen
Hello, I am running GTK+ in a singal machine, the machine is slow so I want make GTK+ use XSHM extension to accelerate the drawing speed. By taking a look at both GTK+ source code and the MIT-SHM paper, my conclusion is : 1) The XSHM can only support XImage and Pixmap. 2) The GTK+ engine update

Re: Can GTK+ make use of XSHM extension from MIT

2008-01-10 Thread Bin Chen
On Jan 10, 2008 4:26 PM, Tapani Pälli [EMAIL PROTECTED] wrote: Hello; ext Bin Chen wrote: Hello, I am running GTK+ in a singal machine, the machine is slow so I want make GTK+ use XSHM extension to accelerate the drawing speed. By taking a look at both GTK+ source code and the

Re: Can GTK+ make use of XSHM extension from MIT

2008-01-10 Thread Tapani Pälli
Hello; ext Bin Chen wrote: Hello, I am running GTK+ in a singal machine, the machine is slow so I want make GTK+ use XSHM extension to accelerate the drawing speed. By taking a look at both GTK+ source code and the MIT-SHM paper, my conclusion is : 1) The XSHM can only support XImage and

Re: Can GTK+ make use of XSHM extension from MIT

2008-01-10 Thread Tapani Pälli
Hello; ext Bin Chen wrote: On Jan 10, 2008 4:26 PM, Tapani Pälli [EMAIL PROTECTED] wrote: Hello; ext Bin Chen wrote: Hello, I am running GTK+ in a singal machine, the machine is slow so I want make GTK+ use XSHM extension to accelerate the drawing speed. By taking a look at

Re: Whats the purpose of libegg

2008-01-10 Thread Nigel Tao
On 06/01/2008, Bin Chen [EMAIL PROTECTED] wrote: I searched the internet for libegg and found some tips but still can't got whats libegg working for? Is it another useful widget lib? After I check out the libegg and catch the README: - All features are intended to end up in a stable

Re: OpenGL interface

2008-01-10 Thread Jon Harrop
On Thursday 03 January 2008 19:02:03 Peter Hildebrandt wrote: Happy new year everyone, I'd like to use opengl in my gtk application. I've come across GtkGLArea [1] and GtkGLExt [2]. The former appears to be undocumented, while the latter is according to the website no longer actively

gtk and color in a GtkTextview

2008-01-10 Thread exhortae
Hi, First of all sorry for my bad english . I would like to know how I can color text entered in a GtkTextView (in real time), let me explain. first when the user enter text it is displayed normally, then if my lexer recognize the text, I want to be able to color it, I have the lexer, the

Re: Can GTK+ make use of XSHM extension from MIT

2008-01-10 Thread Emmanuele Bassi
On Thu, 2008-01-10 at 16:50 +0800, Bin Chen wrote: The GTK+ can draw pixbuf and image to the drawable, is there any existing method for me to choose to force the low level gdk to use SHM extension? if the Xshm extension is available at compile time, gtk+ will use it; there's no need to force

Test

2008-01-10 Thread 张飞
Just a test! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

menu sensitivity setup hook

2008-01-10 Thread Steve Splonskowski
Hello, I have been searching around to find the appropriate way (hook) to know when to setup the sensitivity of the menu and toolbar (action) items in my GTK app. All other UI frameworks that I have ever worked with had a well defined way to get notified that the menu items needed their

Destroying a GtkNotebook

2008-01-10 Thread Cyril Dupuit
Hello, I am delopping an application on Windows XP that uses a GtkNotebook but I don't know how can I destroy it without destoying the application. At the initialization of my application, I create the menu, the toolbar and when I open a file, a GtkNotebook is created to draw some information.

How to program a simple dialog?

2008-01-10 Thread Florian Harmuth
Hello all, i try to program a simple dialog without success. Here is my actual code: code #include unistd.h #include stdlib.h #include gtk/gtk.h void quick_message () { GtkWidget *system_dialog, *label; /* Create the widgets */ system_dialog = gtk_dialog_new ();

Re: How to program a simple dialog?

2008-01-10 Thread Eduardo M KALINOWSKI
Florian Harmuth wrote: Hello all, i try to program a simple dialog without success. Here is my actual code: code #include unistd.h #include stdlib.h #include gtk/gtk.h void quick_message () { GtkWidget *system_dialog, *label; /* Create the widgets */ system_dialog =

Re: Destroying a GtkNotebook

2008-01-10 Thread Eduardo M KALINOWSKI
Cyril Dupuit wrote: Hello, I am delopping an application on Windows XP that uses a GtkNotebook but I don't know how can I destroy it without destoying the application. At the initialization of my application, I create the menu, the toolbar and when I open a file, a GtkNotebook is created

Re: Destroying a GtkNotebook

2008-01-10 Thread Cyril Dupuit
Thank you for your help, It works fine ! Cyril - Original Message - From: Eduardo M KALINOWSKI [EMAIL PROTECTED] To: Cyril Dupuit [EMAIL PROTECTED] Cc: gtk-app-devel-list@gnome.org Sent: Thursday, January 10, 2008 10:03 PM Subject: Re: Destroying a GtkNotebook Cyril Dupuit wrote:

Re: Can GTK+ make use of XSHM extension from MIT

2008-01-10 Thread Bin Chen
在 2008-01-10四的 17:40 +0200,Eero Tamminen写道: Hi, ext Bin Chen wrote: I am not doing very detailed profiling against this, but by comparing the frame rate in my player against using pure framebuffer implementation. The performance difference is large. If not using shared memory to

transparents widget and back image of menu

2008-01-10 Thread zfei
I want to make a widget transparent ! I have no ideahow to do it! Is there anybody can help me! Ps: If i want to chang the back pixmap of a menu how to do that? Thanks a lot! Fei Zhang ___ gtk-app-devel-list mailing list