Highlight row in tree view

2006-08-17 Thread Donald Malcolm
How do I set a row in a tree view list to be selected in the same manner as if it were clicked upon? The tree view that I am using is populated with two columns. The first is not visible, and the second is displayed. So the user sees a one column selection where they are able to select one of the

Your command, Delivery failed, was invalid

2006-08-17 Thread PGP Key Server Administrator
OpenPGP Public Key Server For questions or comments regarding this key server site, contact PGP Key Server Administrator [EMAIL PROTECTED] Current version: 0.9.6 NOTE! This service is provided to facilitate public-key cryptography for demonstration and educational purposes. It is the

Re: problem displaying rgb images on window

2006-08-17 Thread Richard Boaz
hi, the gtk_widget_queue_draw_area() creates/forces an expose event on the drawing area in question; this event, then, to be processed by the mainLoop. the while loop, then, forces all outstanding events sitting in the mainLoop event queue to be processed until all events are exahusted;

Re: How to get the label's height?

2006-08-17 Thread Damián Cinich
2006/8/16, Nickolai Dobrynin [EMAIL PROTECTED]: Damian, Just a guess. Are you certain that the widget has been realized by the time you start querying it for size? The size is only meaningful if your widget had previously been realized. Putting your label inside an EventBox would hardly

A problem with SCIM: runs, but doesn't work

2006-08-17 Thread jan
This one may seem a bit off-topic, but I hope you will bear with me. The reason I ask here rather than on the gtk-list@gnome.org is that I think people on this are more likely to be able to pinpoint what is going wrong; please let me know if I'm wrong. I have installed the latest version of

Re: GObject and threads

2006-08-17 Thread Tristan Van Berkom
Tomasz Jankowski wrote: Hi! I have simple question ;) Are gobject's functions: g_object_set () and g_object_get () threadsafe? No. A GObject can be owned by you or gtk+, you must protect it inside critical sections with mutexes and the like - gobjects that are owned and accessed by gtk+ will

GtkTreeView, GtkListStore and more...

2006-08-17 Thread Fernando Apesteguía
Hi List! I have a problem dealing with my GtkTreView and related objects. In a first step, I need to add some rows to my GtkTreeView, so I used a pair of: gtk_list_store_append(model,iter); gtk_list_store_set(model,iter,0,data1,1,data2,-1); functions inside a loop. After this, I will

Re: GtkTreeView, GtkListStore and more...

2006-08-17 Thread Iago Rubio
On Thu, 2006-08-17 at 17:43 +0200, Fernando Apesteguía wrote: for(){ ... if(should_be_deleted) gtk_list_store_remove(model,iter); gtk_tree_model_iter_next(GTK_TREE_MODEL(model),iter); } Try: if(should_be_deleted) gtk_list_store_remove(model, iter);

how to clear out a ComboBoxEntry

2006-08-17 Thread shawn bright
Hey there, i am using pygtk to build an app. i am using a gtk ComboBoxEntry with the convienence methods like insert_text() , remove_text() Does anyone know how to completely empty one out ? ie, remove all entries at once ? thanks shawn ___

Fwd: GtkTreeView, GtkListStore and more...

2006-08-17 Thread Fernando Apesteguía
Thanks, I'll take it into account, but it doesn't fix the problem. The iter is not incremented... I don't know why. The compilation shows no errors as the debug terminal does not. Can you point me to an example on how to traverse a GtkListStore? Thanks -- Forwarded message --

Fwd: GtkTreeView, GtkListStore and more...

2006-08-17 Thread Fernando Apesteguía
I re-checked my code and I think I fixed it. It was a problem of sorting (bad sorting, of course). Now it appears to work find. Thanks for your advices Best regards -- Forwarded message -- From: Fernando Apesteguía [EMAIL PROTECTED] Date: Aug 17, 2006 6:34 PM Subject: Fwd:

GDK Threads, gtk_main_iteration, and freeze

2006-08-17 Thread Sadrul H Chowdhury
Hi. Many applications use the following loop: /* START */ while (gtk_events_pending()) gtk_main_iteration(); /* END */ This loop is also there in Gaim. But this started causing problems when gdk_threads_init() was introduced to the code. The problem is: when this loop is executed while a

Re: Highlight row in tree view

2006-08-17 Thread Donald Malcolm
I have a tree view. In my program I want to highlight (select/set focus) one row of the tree view. That highlighted row should be the same as if the user had clicked on that row. Please let me know how I may set the row. Any assistance or suggestions are much appreciated. On Thu, 2006-08-17 at

Re: Highlight row in tree view

2006-08-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Aug 18, 2006 at 09:03:44AM +1000, Donald Malcolm wrote: I have a tree view. In my program I want to highlight (select/set focus) one row of the tree view. That highlighted row should be the same as if the user had clicked on that row.

GTK+ 2.10.2 released

2006-08-17 Thread Matthias Clasen
GTK+ 2.10.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.10/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/ gtk+-2.10.2.tar.bz2 md5sum: 9039804dfd115e40a70a6ba096f418a2 gtk+-2.10.2.tar.gzmd5sum: 2a18d8b4c7c19cd2417d6e778b1738f0 This is a bug fix release and is

gtkglarea in core gtk+

2006-08-17 Thread C.J. Adams-Collier
Hey all, Now that gtk+ depends on glitz, I'd like to see an OpenGL widget make its way in to the gtk+ core. I am interested in seeing gtkglarea be used as the base of that widget, since its footprint is small and would be easy to maintain. I'd prefer to put my time in to building the widget in

vasnprintf SEGV when %s arg is NULL

2006-08-17 Thread David Jafferian
Hi - After about two weeks of evenings, I finally got gnucash 2.0.1 built and running on my Solaris 9 x86 PC. But upon attempting to bring up the Edit-Preferences dialog, it received a SIGSEGV : libc.so.1`_waitid+0xc(2af4, 804615c, 0) libthread.so.1`waitpid+0x5c()

Re: vasnprintf SEGV when %s arg is NULL

2006-08-17 Thread David Hampton
On Tue, 2006-08-15 at 10:54 -0400, Derek Atkins wrote: David Jafferian [EMAIL PROTECTED] writes: It looks like that NULL has been there since this function was first created, but something should replace it. I don't know enough about this code to suggest what should be put there, but

Re: property API vs fields

2006-08-17 Thread Murray Cumming
On Sun, 6 Aug 2006, Steph Fox wrote: Hi GTK people, The PHP-GTK doc team have hit a point of confusion over the property API in GTK 2, mostly because publicly accessible fields hanging over from GTK 1 are still publicly accessible. We don't know whether to promote the use of

Re: gtkglarea in core gtk+

2006-08-17 Thread James Henstridge
On 16/08/06, C.J. Adams-Collier [EMAIL PROTECTED] wrote: Hey all, Now that gtk+ depends on glitz, I'd like to see an OpenGL widget make its way in to the gtk+ core. I am interested in seeing gtkglarea be used as the base of that widget, since its footprint is small and would be easy to

Re: about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches

2006-08-17 Thread didier .
Hi On 8/17/06, Owen Taylor [EMAIL PROTECTED] wrote: It really needs to work both ways ... for non-latin accelerators when the keyboard is in a latin layout as well as vice versa. Yep (Plus you need gdk_keyval_to_unicode() and a real script check ...) Don't see how it will solve it. As a

Re: property API vs fields

2006-08-17 Thread Owen Taylor
On Thu, 2006-08-17 at 11:25 +0200, Murray Cumming wrote: On Sun, 6 Aug 2006, Steph Fox wrote: Hi GTK people, The PHP-GTK doc team have hit a point of confusion over the property API in GTK 2, mostly because publicly accessible fields hanging over from GTK 1 are still publicly

Re: Inplace Tips for GtkTreeView (#346992)

2006-08-17 Thread Kristian Rietveld
On Thu, Aug 03, 2006 at 09:29:04AM -0500, Michael Urman wrote: That fits my assessment. It looks a lot like a tooltip, but it doesn't act much like one, and thus should be separate from tooltips. So what more do you need to know to help you become sure whether or not this belongs in GTK+?

Re: Inplace Tips for GtkTreeView (#346992)

2006-08-17 Thread Tim Janik
On Thu, 17 Aug 2006, Kristian Rietveld wrote: On Thu, Aug 03, 2006 at 09:29:04AM -0500, Michael Urman wrote: * From the user perspective, it catches us up to Windows usability in TreeViews. Last time I used Windows it didn't put some popup window over the tree view row. stock windows XP

Re: Inplace Tips for GtkTreeView (#346992)

2006-08-17 Thread Michael Urman
On 8/17/06, Tim Janik [EMAIL PROTECTED] wrote: stock windows XP has actually quite a lot of dialogs where only partial cell contents are visible, and on occasions you're even unable to resize the windows/trees up to a dimension where the full text would be visible. so there it's quite

Re: Docking widget

2006-08-17 Thread Cole
A docking widget is a must have in gtk. Think about how much apps should benefit from this (inkscape, gimp, anjuta...) Many apps reinvent the wheel by integrating their own code for these purpose. I think this should be on the top part of gtk's ToDo list. Is anyone working or expecting to

Re: vasnprintf SEGV when %s arg is NULL

2006-08-17 Thread Owen Taylor
[ Leaving the cross-cc for the moment ] On Mon, 2006-08-14 at 19:49 -0400, David Jafferian wrote: GTypeInstance* g_type_check_instance_cast (GTypeInstance *type_instance, GType iface_type) ... g_warning (invalid uninstantiatable type `%s' in cast

Re: gtkglarea in core gtk+

2006-08-17 Thread Behdad Esfahbod
On Tue, 2006-08-15 at 15:47 -0400, C.J. Adams-Collier wrote: Hey all, Now that gtk+ depends on glitz, I'd like to see an OpenGL widget make its way in to the gtk+ core. I am interested in seeing gtkglarea be used as the base of that widget, since its footprint is small and would be easy to

Re: Docking widget

2006-08-17 Thread cole-anstey
A docking widget is a must have in gtk. Think about how much apps should benefit from this (inkscape, gimp, anjuta...) Many apps reinvent the wheel by integrating their own code for these purpose. I think this should be on the top part of gtk's ToDo list. Is anyone working or expecting

Re: Help Needed

2006-08-17 Thread Federico Mena Quintero
On Wed, 2006-08-16 at 15:39 +0530, Kaustubh Atrawalkar wrote: I am working on glib optimization for our product. I just need to know what is the use of G_QUARK_BLOCK_SIZE (defined in gdataset.c) and used while allocating memory for any types? Also why we need the size 512 bytes for that

Re: gtkglarea in core gtk+

2006-08-17 Thread C.J. Adams-Collier
On Thu, 2006-17-08 at 18:24 +0800, James Henstridge wrote: GTK doesn't depend on glitz. It does depend on Cairo, which may be linked to glitz, but never creates a glitz surface. If you build cairo without glitz, GTK will build and run identically. So a discussion of an OpenGL widget would

Reverting to non-async file chooser

2006-08-17 Thread Federico Mena Quintero
Here's your bearer of bad news... The async file chooser is extremely broken in gtk+-2.10 right now: - Overwrite-confirmation doesn't work. - Large chunks of the test suite just fail. It looks like the automated test suite never got run after the merge of the async code got done. - It leaks

Re: Reverting to non-async file chooser

2006-08-17 Thread Federico Mena Quintero
On Thu, 2006-08-17 at 16:38 -0500, Federico Mena Quintero wrote: The async file chooser is extremely broken in gtk+-2.10 right now: ... plus brilliant things like a ton of compiler warnings in libgnomeui, which indicate that the code wasn't even built with -Wall: gtkfilesystemgnomevfs.c:979:

Re: Reverting to non-async file chooser

2006-08-17 Thread Matthias Clasen
- Large chunks of the test suite just fail. It looks like the automated test suite never got run after the merge of the async code got done. I hate to say it, but the blame for that goes largely to the person doing the merge. ... plus brilliant things like a ton of compiler warnings in

build script error for mac os x aqua build

2006-08-17 Thread matt mead
Hi. I'm looking to help out with some of the porting effort to the native mac os x gui. I'm trying to do an initial build and running into the following after executing sh build-gtk.sh build all -- /bin/sh ../mkinstalldirs /opt/gtk/share/omf/gossip /opt/local/bin/ginstall -c -m 644

Re: Reverting to non-async file chooser

2006-08-17 Thread Federico Mena Quintero
On Thu, 2006-08-17 at 20:03 -0400, Matthias Clasen wrote: I hate to say it, but the blame for that goes largely to the person doing the merge. So yes, it is in large part my fault :( Right after Kris merged his async branch into HEAD, I did run autotestfilechooser, but erroneously assumed

GTK+ 2.10.2 released

2006-08-17 Thread Matthias Clasen
GTK+ 2.10.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.10/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/ gtk+-2.10.2.tar.bz2 md5sum: 9039804dfd115e40a70a6ba096f418a2 gtk+-2.10.2.tar.gzmd5sum: 2a18d8b4c7c19cd2417d6e778b1738f0 This is a bug fix release and is

Re: [gtk-i18n-list] Mac font choices

2006-08-17 Thread mpsuzuki
Hi, Here's next issue :-) On Fri, 04 Aug 2006 15:51:39 +0200 Ulrich von Zadow [EMAIL PROTECTED] wrote: is it possible to tell pango (or fontconfig or freetype - not sure who's in charge of this) to ignore mac .dfont files when choosing which font to use? Background is that I'm experiencing

Re: [gtk-i18n-list] Bold fonts not bold on MAC?

2006-08-17 Thread mpsuzuki
Sorry, I slipped to attach GIF. On Thu, 17 Aug 2006 14:52:54 +0900 [EMAIL PROTECTED] wrote: The comparison of results is shown in attached GIF. libavg-0.5.8-ftmac.gif Description: GIF image ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org

no pango_win32_font_get_type in pangowin32.c

2006-08-17 Thread Alok Verma
Hi,I have downloaded source code of pango 1.12.3 for windows. I am trying to build it on windows. I was going through the code in pangowin32.c. I found no definition for pango_win32_font_get_type from where pango_win32_font_get_type is to be called. The same problem is there in 1.12.4. Could

GtkPrint PangoLayout extents

2006-08-17 Thread Francisco Moraes
Hi,I am trying to use the new GtkPrint from GTK 2.10. I am creating a pangolayout from the cairo reference, setting the font and text and callingpango_layout_get_pixel_extents. This seems to work well, except that the returned width seems to be about twice of what it is printed either onpreview or

Re: GtkPrint PangoLayout extents

2006-08-17 Thread Paul Davis
On Thu, 2006-08-17 at 09:27 -0400, Francisco Moraes wrote: Hi, I am trying to use the new GtkPrint from GTK 2.10. I am creating a pango layout from the cairo reference, setting the font and text and calling pango_layout_get_pixel_extents. This seems to work well, except that the returned

Books for Cross compile Libraries

2006-08-17 Thread harshavardhanreddy mandeepala
HI, Is there any book or document on How to crosscompile Libraries. I want to cross compile Libraries from i386 to ARM11(Which are Needed for Gtk Application). Thanks in advance, Regards, Harsha ___ gtk-list mailing list gtk-list@gnome.org

Re: Books for Cross compile Libraries

2006-08-17 Thread Baurzhan Ismagulov
Hello Harsha, On Thu, Aug 17, 2006 at 07:33:21PM +0530, harshavardhanreddy mandeepala wrote: Is there any book or document on How to crosscompile Libraries. I want to cross compile Libraries from i386 to ARM11(Which are Needed for Gtk Application). Googling for cross compile libraries finds

new AppsFromScratch.20060710.20060817.tar.gz release

2006-08-17 Thread Sergei Steshenko
Hello All, I am pleased to announce new release of AppsFromScratch: http://prdownload.berlios.de/appsfromscratch/AppsFromScratch.20060710.20060817.tar.gz . The homepage: http://appsfromscratch.berlios.de/ . News/Changes: - * Added generation of 'binsh' directories and 'sh'

Simple (?) question about GtkLabel

2006-08-17 Thread hm
Hi ! Is it possible to stretch text in gtk label to fill all parrent space, that is given for GtkLabel ? I mean.. let`s say we`ve got a table. Let`s place GtkLabel in one of the cells. Now.. Let`s say, that window is now maximized, and text insie gtklabel is something short, like : ABC.

GTK+ 2.10.2 released

2006-08-17 Thread Matthias Clasen
GTK+ 2.10.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.10/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/ gtk+-2.10.2.tar.bz2 md5sum: 9039804dfd115e40a70a6ba096f418a2 gtk+-2.10.2.tar.gzmd5sum: 2a18d8b4c7c19cd2417d6e778b1738f0 This is a bug fix release and is

Re: Simple question about SimpleList

2006-08-17 Thread Andrius Aštrauskas
Thank you. It works - I have gtk+ 2.8.18. And I was wrong about the docs - it was me who managed to look for wrapping in man page of CellRenderer instead of CellRendererText ... Andrius ___ gtk-perl-list mailing list gtk-perl-list@gnome.org

Fwd: building glib on win32 MSVC6

2006-08-17 Thread zgrim
Sorry, Torsten got this twice, gmail seems not that intuitive when replying to a list, after all. :/ Forwarding to the list. -- Forwarded message -- From: zgrim [EMAIL PROTECTED] Date: Aug 17, 2006 12:43 PM Subject: Re: building glib on win32 MSVC6 To: Torsten Schoenfeld [EMAIL