GtkTreeView: speed optimization with display problems

2005-09-12 Thread Razvan Gavril
In the search of optimizing the code i have written to populate a treeview, I've stumbled to the following problems: The insertion (1000 rows) in the treemodel i get it to be blazing fast but when i attach/reattach the model to the view there is a big delay before the display is drawn/redrawn

Re: Tool tip with out Mouse ?

2005-09-12 Thread Rajaram
It should be possible, but sorry it should not be called as tool tip! sadhees kumar wrote: hi friends, In my application, i am not using mouse. But i want to display the tool tips. If i get the focus for any particular widget, i need to display the tool tips for that widget... Is that

Re: long line in GtkTextBuffer

2005-09-12 Thread Olivier Sessink
Nick Watts wrote: I would probably never have realised except that I tried to open a very complex svg file made with inkscape in my editor and it opened fine but when the text was rendered, the really long line (one extremely complex path element generated with the trace bitmap function)

Re: long line in GtkTextBuffer

2005-09-12 Thread Mystilleef
On 9/12/05, Olivier Sessink [EMAIL PROTECTED] wrote: Nick Watts wrote: I would probably never have realised except that I tried to open a very complex svg file made with inkscape in my editor and it opened fine but when the text was rendered, the really long line (one extremely complex

gtk_window_set_default does not work (for me)

2005-09-12 Thread Deekshit Mantampady
Hi all, I have a window where I want to make the OK button to repond to enter keys. I used gtk_window_set_default(window, okbtn); I also set GTK_CAN_DEFAULT flag before using that. But pressing the entre key does not work. Any help...? I am using GTK 2.4.x on windows. Xp Thanks Deekshit M

Re: Internationalizing a simple Gnome Panel Applet .........? the solution

2005-09-12 Thread Christophe Combelles
Christophe Combelles a écrit : I could easily i12ize a simple GTK hello world application, but I can't do the same for a panel applet. OK, autoconf gave me the hint : I just forgot -DENABLE_NLS So I summarize the minimum internationalized hello world gnome panel applet:

Re: GtkImage size

2005-09-12 Thread Barry Demchak
Thanks, John ... it worked very nicely indeed, and I learned more about Gtk. All in all, a pretty good win. At 08:10 AM 9/11/2005, John Vetterli wrote: On Sat, 10 Sep 2005, Barry Demchak wrote: Can anyone tell me how I find out the height and width of a GtkImage widget?? I also need to know

Re: canvas notes

2005-09-12 Thread Alexander Larsson
On Fri, 2005-09-09 at 20:23 -0400, Havoc Pennington wrote: On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: * OpenGL Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be able to mix OpenGL and Cairo at will, but it isn't clear to me what that really means.

Re: canvas notes

2005-09-12 Thread Alexander Larsson
On Sat, 2005-09-10 at 13:03 +1000, Russell Shaw wrote: Havoc Pennington wrote: On Fri, 2005-09-09 at 09:53 +0200, Alexander Larsson wrote: * OpenGL Any thoughts on that 3D vs. 2D thing? i.e. it seems like we want to be able to mix OpenGL and Cairo at will, but it isn't clear to me