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 source

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: How to get the label's height?

2006-08-17 Thread Nickolai Dobrynin
Hi Damian, First, you typically don't call 'realize' directly, and doing so is completely unnecessary in your particular case. The library will do it for you when appropriate. The simplest scenario for adding widgets is: you first add them to the window and then call gtk_widget_show_all on that p

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 m

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: GtkT

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 -- Fro

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 ___ gtk-app-devel

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, &ite

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: 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+ wi

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 SCI

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

GObject and threads

2006-08-17 Thread Tomasz Jankowski
Hi! I have simple question ;) Are gobject's functions: g_object_set () and g_object_get () threadsafe? -- Pozdrawiam! Tom ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

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; e

How can I compile a real static applicati on?

2006-08-17 Thread rh_work
Hi, I compiled a application on redhat linux 9 with gtk on my computer, but it can not work on a another computer without gtk, how can I compile a real static application , or how can I find all the libraies that my application needs ,then I can package them into my application. thanks a

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 respons