Wrapped text in GtkTreeView

2005-06-15 Thread Slou
Hi! I have list of a very long lines which I want to be accessible to user with no penalty (additional clicking etc.). So the solution is obvious - wrapped text in TreeView, but I found no way to create such CellRenderer. All discussions on this subject I found are at least a year old.

Re: Wrapped text in GtkTreeView

2005-06-15 Thread Slou
Vivien Malerba wrote: I have list of a very long lines which I want to be accessible to user with no penalty (additional clicking etc.). So the solution is obvious - wrapped text in TreeView, but I found no way to create such CellRenderer. All discussions on this subject I found are at least a

gtk_clist

2005-06-15 Thread srinivas
hi ; i have pbm in gtk_clist, i can able to insert in to the list. but the inserted text is appearing only after when i show the window using gtk_widget_show(widget), but i want it as, the inserted text has to display at that time. not after gtk_widget_show. is there any refresh

Re: Wrapped text in GtkTreeView

2005-06-15 Thread Vivien Malerba
On 6/15/05, Slou [EMAIL PROTECTED] wrote: Vivien Malerba wrote: I have list of a very long lines which I want to be accessible to user with no penalty (additional clicking etc.). So the solution is obvious - wrapped text in TreeView, but I found no way to create such CellRenderer. All

Re: Typing Right-To-Left language characters in GtkEntry

2005-06-15 Thread Mohammed Sameer
Try mlterm! On Wed, Jun 15, 2005 at 11:12:33AM +0530, Viraj Chatterjee wrote: It should work with gnome-terminal. -vc - Original Message - From: Gaurav Jain [EMAIL PROTECTED] To: Mohammed Sameer [EMAIL PROTECTED] Cc: gtk-app-devel-list@gnome.org Sent: Wednesday, June 15, 2005

button press signal in fixed contrainer

2005-06-15 Thread Jirka Pirko
hi i have button in fixed contrainer now if i emit press signat to the button with gtk_button_pressed(GTK_BUTTON(button)); or g_signal_emit_by_name (G_OBJECT (button), pressed); nothing happens if button it outside fixed, it works fine thanks fo any suggestions jirka pirko

Re: GtkListStore and Threads problems

2005-06-15 Thread Lorena Salinas
Here is part of the function... valid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (my_model), iter); while (valid) { gtk_tree_model_get (GTK_TREE_MODEL (my_model), iter, MYMODEL_COL_STATUS, status, -1); /* do some long calculations */ gdk_threads_enter(); /* get GTK thread lock */

Re: GtkListStore and Threads problems

2005-06-15 Thread Peter Bloomfield
On 06/15/2005 10:11:53 AM Wed, Lorena Salinas wrote: Here is part of the function... valid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (my_model), iter); while (valid) { gtk_tree_model_get (GTK_TREE_MODEL (my_model), iter, MYMODEL_COL_STATUS, status, -1); /* do some long

(no subject)

2005-06-15 Thread Andrey K
can i use tray icon in gtk? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

radio button size

2005-06-15 Thread Boncek, John
I'm creating a set of radio buttons using gtk_radio_button_new, etc., without labels attached to the buttons. How do you control the size of a radio button? (I need smaller buttons.) I've tried gtk_widget_set_size_request, but that seems to control the area in which the button displays, with

Acquring RGB values from GdkPixbuf

2005-06-15 Thread Michal Porzuczek
Hi, I am getting RGB videofeed from a camera and I am storing it in a PixBuf, from this PixBuf I wish to be able to acquire the shade (grayscale) value of pixels located at a particular x and y location. I have looked at the put_pixel() example in the API reference

Re: Acquring RGB values from GdkPixbuf

2005-06-15 Thread Christopher Anderson
Are you displaying the captured pixbuf to the screen so you can see what it looks like? If so, does it look as you would expect? Chris Anderson On 6/15/05, Michal Porzuczek [EMAIL PROTECTED] wrote: Hi, I am getting RGB videofeed from a camera and I am storing it in a PixBuf, from this

Re: Acquring RGB values from GdkPixbuf

2005-06-15 Thread Christopher Anderson
To convert to greyscale, just look through each pixel, apply the transformation you mentioned, and then set all three components to that value: value = 0.299*Red+0.587*Green+0.114*Blue; Red = value; Green = value; Blue = value; Chris On 6/15/05, Christopher Anderson [EMAIL PROTECTED] wrote:

GtkImage and background color

2005-06-15 Thread Juergen Dankoweit
Hello to list, how do set a background color within a GtkImage-widget? The standard color is grey, but I want a black background. I have tried the functions gtk_widget_modify_fg/text/base with all flavours of GtkStateType, but I didn't have any success. Many thanks for your answers Jrgen

Re: gtk performance testing [was Re: GNOME 2.11/2.12 targeting GTK+ 2.8 (ie cairo based)]

2005-06-15 Thread Owen Taylor
On Wed, 2005-06-15 at 11:16 +0100, Rob Taylor wrote: On Fri, 2005-06-10 at 09:33 -0400, Owen Taylor wrote: On Fri, 2005-06-10 at 15:12 +0200, Jeroen Zwartepoorte wrote: Since everybody is talking about how glitz will eventually speedup drawing operations by using hardware accelerated

GTK+ 2.6.8 released

2005-06-15 Thread Matthias Clasen
GTK+ 2.6.8 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.6/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.6/ gtk+-2.6.8.tar.bz2 md5sum: 535fa4b62d219445b99953f679b5cf8e gtk+-2.6.8.tar.gzmd5sum: 2a2abebef0f511e1f93874bfae8ff790 This is a bug fix release and is source and