Pango advice?

2006-08-30 Thread kadil
Hi, I want to use pango in an app to render text to a drawingarea. I have seen examples that show how to render text in a textview, but not to a drawingarea. Can you specify the width of the layout to be rendered, into a drawingarea, with text wrapping and determine the height of the layout. Is

Single click with eggstatusicon.c: possible?

2006-08-30 Thread Colossus
Hi, I have an icon in the systray with eggstatusicon.c. I connected the activated signal to it and I can receive double click events. Is it possible to detect single click also? I know I can do it with eggtrayicon.c but using it I will miss blinking facility I have with eggstatusicon.c

Re: help on scrollbars

2006-08-30 Thread zz
-Messaggio Originale- From: Paul Pogonyshev Sent: 29/8/2006 8:25:05 PM To: gtk-app-devel-list@gnome.org Cc: [EMAIL PROTECTED] Subject: Re: help on scrollbars [EMAIL PROTECTED] wrote: Hi, I'm working on an app and I'm facing the need to access the button at the end of a vertical

Re: help on scrollbars

2006-08-30 Thread zz
-Messaggio Originale- From: David Neèas \(Yeti\) Sent: 29/8/2006 6:38:20 PM To: gtk-app-devel-list@gnome.org Subject: Re: help on scrollbars On Tue, Aug 29, 2006 at 02:11:09PM +0200, [EMAIL PROTECTED] wrote: I'm working on an app and I'm facing the need to access the button at the end

Re: Dealing with drawingArea update (refresh) for multiple drawings.

2006-08-30 Thread Gustavo Sikora
Thanks for all replies =) I manage to get it work a few days, I'm in a hurry to finish some other things now... yet I'm still drawing some data stuctures. It's good to have all of this help. Once again, thanks a lot ppl. On 8/29/06, Ivan Baldo [EMAIL PROTECTED] wrote: If you have the

Re: Single click with eggstatusicon.c: possible?

2006-08-30 Thread Edward Catmur
On Wed, 2006-08-30 at 11:05 +0200, Colossus wrote: Hi, I have an icon in the systray with eggstatusicon.c. I connected the activated signal to it and I can receive double click events. Is it possible to detect single click also? I know I can do it with eggtrayicon.c but using it I will

ProgressBar

2006-08-30 Thread Fernando Apesteguía
Hi All! I would like to know if it is possible that the progress bar behaves like a thermometer, this is, change the color of the progress bar in certain regions, and maybe I want to have a specific text for each of these regions. Which functions should I look for? I see

Unsolved clipping problem

2006-08-30 Thread Tintin72
Hi, I'm programming GTK under Windows Xp and I have a clipping problem I just can't solve. My application consist in a window with a drawing area wrapped by a scrolled_window. So when I move the slider a little fast I get clipping effect on the edges (up or down) of the drawing area. Maybe it's

Re: Search for a widget that can completion and option_box

2006-08-30 Thread Matias Torres
I had the same problem a few weeks ago. I modified a function i found in a webpage (put koders in google), this is the fuction: /* * This function returns a GtkComboBox with a GtkEntryCompletion inside instead a GtkEntry * it needs a GtkTreeModel containing the data and the column used to

Re: Question about Data Exchange

2006-08-30 Thread Michael Ekstrand
On Aug 29, 2006, at 12:51 AM, chao yeaj wrote: Hello everyone You know ,in an application one widget may associated with one data member For example,there is a entry widget ,the user can write some data into the entry widget;In the application, there must be a data variable named

libpng-1.2.10 failed while cross compiling as the dependency for GTK lib

2006-08-30 Thread harshavardhanreddy mandeepala
Hi All, I am trying to cross compile Gtk-2.8 library for my ARM11. So as the dependency files 1. I cross compiled Glib-2.8.6 2. Cross compiled atk-1.10.3 3. freetype-2.1.9 cross compiled 4. zlib-1.2.3 But libpng-1.2.10 failed to cross compile. I did In myconfigure.sh i wrote #!/bin/bash -e

Re: Pango advice?

2006-08-30 Thread John Coppens
On Wed, 30 Aug 2006 18:07:01 +1000 kadil [EMAIL PROTECTED] wrote: Hi, I want to use pango in an app to render text to a drawingarea. I have seen examples that show how to render text in a textview, but not to a drawingarea. Can you specify the width of the layout to be rendered, into a

GtkMenu doesn't recognize it's parents?

2006-08-30 Thread Jim George
In glade, I created a window, with a vbox. In the vbox, I created a menu bar (called menubar), then add a menu called help and a menu item called about, and set an event handler for the menu item. In the menu event handler, I have code which does the following: void on_about_cb(GtkMenuItem

Re: Reverting to non-async file chooser

2006-08-30 Thread Vincent Untz
Le jeudi 17 août 2006, à 21:43, Federico Mena Quintero a écrit : OK, so here's the plan of action. [snip the plan and everything] I'm getting kind of nervous that RC1 for GNOME 2.16 is a few days away. Help is much appreciated to finish the tasks above that are not done. Any news on this? We

GTK+ canvas?

2006-08-30 Thread W. Borgert
Hi, sorry, if this is an FAQ, my checks didn't reveal anything: AFAIK, GTK+ does not have a standard canvas widget. GNOME does have a canvas widget, but it seems to be not very popular. And having it in the GNOME libraries is not useful for programs that should run on multiple platforms (win32).

Re: Design decisions for GLib and GTK+ on Win32

2006-08-30 Thread John Ehresman
Tor Lillqvist wrote: - Can the support for 256-colour (palettized) display mode be dropped from GTK+ HEAD? I'm not doing this, not yet at least. If I can figure out a way to test whether 256-colour mode works currently, and it doesn't, I will drop it though... 256 color compatibility

[GTK+ on Mac OS X] Questions about gdk_drawable_get_image

2006-08-30 Thread Malik NakaMura
Hi, I dont understand the code of this function : gdk_drawable_get_image the back trace of gdb shows that : #0 gdk_drawable_real_get_composite_drawable (drawable=0x482e558, x=0, y=0, width=359, height=322, composite_x_offset=0xbfffe428, composite_y_offset=0xbfffe42c) at gdkdraw.c:1189 #1

GLib 2.12.3 released

2006-08-30 Thread Matthias Clasen
GLib 2.12.3 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.12/ http://download.gnome.org/sources/glib/2.12/ glib-2.12.3.tar.bz2 md5sum: cbf663f8bc733e2f6c90599942f6616a glib-2.12.3.tar.gzmd5sum: bffadd97168590d175b157957006e8ce GLib is the low-level core library that

Re: GTK+ canvas?

2006-08-30 Thread Emmanuele Bassi
On Wed, 2006-08-30 at 15:52 +0200, W. Borgert wrote: Hi, sorry, if this is an FAQ, my checks didn't reveal anything: AFAIK, GTK+ does not have a standard canvas widget. GNOME does have a canvas widget, but it seems to be not very popular. And having it in the GNOME libraries is not useful

GtkEntry wrapping problem

2006-08-30 Thread Adam Roper
Hi, I have a problem with GtkEntry widgets wrapping when I get to the end of the line. Firstly I should explain that I am developing for an embedded flavour of Linux (arcom embedded linux) and the little poota that is displaying this thing has a custom keyboard that includes a delete key that

Re: Design decisions for GLib and GTK+ on Win32

2006-08-30 Thread Jernej Simončič
On Tue, 29 Aug 2006 10:24:05 +0300, Tor Lillqvist wrote: (It's for 256-colour mode that I don't seem to even have anything to test with. Not even in a virtual machine (running XP) does Display Settings offer a 256-colour mode. Is it really so that modern Windows graphics card drivers only

Re: GTK+ canvas?

2006-08-30 Thread W. Borgert
On Wed, Aug 30, 2006 at 04:55:12PM +0100, Emmanuele Bassi wrote: There has been an effort (as part of Project Ridley) on creating a new canvas widget using Cairo; at least two canvases have been written that I recall: Goocanvas (which has had Python bindings recently added) and CCC - probably

Re: GTK+ canvas?

2006-08-30 Thread Gian Mario Tagliaretti
2006/8/30, W. Borgert [EMAIL PROTECTED]: OK, as both GooCanvas and CCC come with a demo application, I just tried out both. At first glance I can only say, that the GooCanvas demo is more impressive than the CCC one. Maybe GooCanvas is more feature-rich, but the library is also a little bit

Re: GTK+ canvas?

2006-08-30 Thread Johan Dahlin
Gian Mario Tagliaretti wrote: 2006/8/30, W. Borgert [EMAIL PROTECTED]: OK, as both GooCanvas and CCC come with a demo application, I just tried out both. At first glance I can only say, that the GooCanvas demo is more impressive than the CCC one. Maybe GooCanvas is more feature-rich, but

Re: GtkEntry wrapping problem

2006-08-30 Thread Matthias Clasen
On 8/30/06, Adam Roper [EMAIL PROTECTED] wrote: This seems to be a pointer bug within the GtkEntry code of Gtk itself, it this known? No such bug has been observed so far, so it is most likely something specific to your environment. You didn't give enough details to make a guess what could be

Re: GTK+ canvas?

2006-08-30 Thread Havoc Pennington
Hi, I posted some sort of blue-sky canvas ideas a year ago: http://mail.gnome.org/archives/gtk-devel-list/2005-August/msg00067.html Since then I've learned HTML/CSS much more thoroughly and also used Flash a bit. And in the last week needed to write a canvas in 2-3 days to use for Mugshot.

Re: GTK+ canvas?

2006-08-30 Thread W. Borgert
In-Reply-To: [EMAIL PROTECTED] On Wed, Aug 30, 2006 at 08:38:22PM +0200, Gian Mario Tagliaretti wrote: As Emmanuele already said we have just released python bindings for GooCanvas, maybe you want to try them out: Hm, my PyGObject is too old, so I cannot try it now. Anyway, Python bindings are

Re: GTK+ canvas?

2006-08-30 Thread Gustavo J. A. M. Carneiro
Qua, 2006-08-30 às 16:17 -0400, Havoc Pennington escreveu: Hi, I posted some sort of blue-sky canvas ideas a year ago: http://mail.gnome.org/archives/gtk-devel-list/2005-August/msg00067.html Since then I've learned HTML/CSS much more thoroughly and also used Flash a bit. And in the

Re: GTK+ canvas?

2006-08-30 Thread Havoc Pennington
Gustavo J. A. M. Carneiro wrote: It seems this HippoCanvas has no model-view split, yet I remember you designed GtkTextBuffer/View with model/view. Do you consider model-view unimportant, or simply just got prioritized away? I'm not sure, I'd have to look at GooCanvas or experiment

Re: GTK+ canvas?

2006-08-30 Thread Rick L Vinyard Jr
As many others have, I needed a canvas and adapted an existing OpenGL canvas library I had sitting around. It's written in C++ and based on cairo (well, cairomm): http://libpapyrus.sf.net Havoc Pennington wrote: - we need to be able to do animations, which may involve adding some kind of

Re: GTK+ canvas?

2006-08-30 Thread Tristan Van Berkom
Havoc Pennington wrote: Gustavo J. A. M. Carneiro wrote: [...] Thanks Havoc for sharing that wealth of notes with us ! I didnt really look deeply into any of these implementations and I'm not commenting on them per se, but will happily share my thoughts with you :-) Havoc I think

Re: GTK+ canvas?

2006-08-30 Thread Havoc Pennington
Tristan Van Berkom wrote: Havoc My opinion is that the canvas should replace the GTK core in a way, i.e. GtkWidget becomes a specialized thing you can embed in a canvas. This obviously makes the canvas into a pretty big project. Kindof disagree here - I think that in most cases a

Re: GTK+ canvas?

2006-08-30 Thread Michael Lawrence
Gustavo J. A. M. Carneiro wrote: However, I would argue that to display a very large document in a canvas creating a canvas item for each document item is not the best solution; I'd rather have a pool, or cache, of visible canvas items, and just reconfigure them on the fly to show the

Re: Reverting to non-async file chooser

2006-08-30 Thread Federico Mena Quintero
On Wed, 2006-08-30 at 10:57 +0200, Vincent Untz wrote: I'm getting kind of nervous that RC1 for GNOME 2.16 is a few days away. Help is much appreciated to finish the tasks above that are not done. Any news on this? We could roll a RC2 soonish if this helps with testing. Kris has a fix