Re: 16 bits grayscale images

2007-10-01 Thread alex
Le dimanche 30 septembre 2007 à 14:49 -0600, Michael L Torrie a écrit : alex wrote: Actually I am porting a Windows .NET software to GTK. So some procedure I use (as false color convertion) is written. I will use it as is because it's not depending on GTK or else... Are you porting it to

Switch contents in the same window

2007-10-01 Thread omar . crea
Hi everybody. How can I switch two contents in the same main window? I have a tabbed application, and I want to create a searching page where, when I click the find button, it switches and showes the search results, and when I click the Back button it returns to the searching page again (for a new

Fwd: Reading row from a ComboBox

2007-10-01 Thread omar . crea
Thanks Damien, it works fine! - Forwarded message from [EMAIL PROTECTED] - Date: Fri, 28 Sep 2007 16:05:46 +0200 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: Reading row from a ComboBox To: GTK+ mailing list gtk-app-devel-list@gnome.org Hi everybody. I have

Re: Switch contents in the same window

2007-10-01 Thread omar . crea
Sorry Yeti, but it's not what I'm searching for: I cannot implement GtkAssistant because I'm working on GTK+ 2.6 on an embedded system... Is there another way to obtain what I deserve? Thanks in advance, Omar Quoting [EMAIL PROTECTED]: Hi everybody. How can I switch two contents in the same

Re: Switch contents in the same window

2007-10-01 Thread Yeti
On Mon, Oct 01, 2007 at 10:54:32AM +0200, [EMAIL PROTECTED] wrote: Sorry Yeti, but it's not what I'm searching for: I cannot implement GtkAssistant because I'm working on GTK+ 2.6 on an embedded system... You can still look at GtkAssistant source code as an example implementation (although

Re: Fast ways to draw brush outlines on a DrawingArea

2007-10-01 Thread jcupitt
On 9/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On 9/30/07, Keith Feesh [EMAIL PROTECTED] wrote: The way that I do things now includes redrawing the entire canvas every time the mouse is moved, in order to clear the old outline's drawing, and then to redraw the outline once again.

Re: Switch contents in the same window

2007-10-01 Thread Peter Clifton
On Mon, 2007-10-01 at 10:11 +0200, David Nečas (Yeti) wrote: On Mon, Oct 01, 2007 at 10:10:57AM +0200, [EMAIL PROTECTED] wrote: How can I switch two contents in the same main window? I have a tabbed application, and I want to create a searching page where, when I click the find button,

Problems using GtkWindow configure_event to resize a GdkPixbuf

2007-10-01 Thread Gnaural
I have a GtkImage in a GtkWindow that I am animating by toggling a GtkImage between two GdkPixbufs, via gtk_image_set_from_pixbuf(). As a double-buffering approach allowing me to quickly alter the pixels, it seems to work fine (let me know if there is a better approach). The only problem I have is

pixbuf color count

2007-10-01 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Once I have loaded a pixbuf using gdk_pixbuf_new_from_file(filename, error); Is there a way to get the number of unique colors in that pixbuf. I looked at the docs for ColorMap and it says it only applies to pseudo color images, but I'm not

Re: pixbuf color count

2007-10-01 Thread Yeti
On Mon, Oct 01, 2007 at 10:49:06AM -0600, Kevin DeKorte wrote: Is there a way to get the number of unique colors in that pixbuf. gdk-pixbuf is not a full-fledged image manipulation library, it provides just a few basic functions related to loading, saving and on-screen rendering. So you have to

Re: Switch contents in the same window

2007-10-01 Thread Peter Clifton
On Mon, 2007-10-01 at 10:54 +0200, [EMAIL PROTECTED] wrote: Sorry Yeti, but it's not what I'm searching for: I cannot implement GtkAssistant because I'm working on GTK+ 2.6 on an embedded system... Is there another way to obtain what I deserve? Thanks in advance, Take a look at using a

Re: Spontaneous background colors in treeview

2007-10-01 Thread Jeffrey Barish
Kristian Rietveld wrote: To get the alternating colors you would set the rules-hint property on GtkTreeView to TRUE (the default is FALSE).  If you do not set this property to TRUE, the background should always be a solid color.  Also note that rules-hint is only a hint to the theme engine;

ComboBoxEntry

2007-10-01 Thread brad smith
Hello everyone, I am trying to populate a combobox entry. I cant seem to find any examples for C. I just want to add some entry's to the box? Thanks in advance, Brad ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org