Cursor missing from TreeStore

2006-03-24 Thread Nikolaj Kiær Thygesen
Hi list Has anyone experienced a missing cursor when editing string columns in a tree store. Editing works fine, and the cursor is practically there, but I can't see it :o) I can select a sub string with the mouse or shift+arrow keys, with the selection highlighted, but still the regula

SV: Using: g_key_file_load_from_file() in homedir

2006-02-28 Thread Nikolaj Kiær Thygesen
in glib, but it just ain't quite as cool :o) br - N :o) -Oprindelig meddelelse- Fra: Christian Neumair [mailto:[EMAIL PROTECTED] Sendt: 22. februar 2006 16:40 Til: Santhosh Cc: Nikolaj Kiær Thygesen; gtk-app-devel-list@gnome.org Emne: Re: Using: g_key_file_load_from_file() i

SV: Using: gtk_button_set_image() gives small empty buttons

2006-02-28 Thread Nikolaj Kiær Thygesen
Christian Neumair [mailto:[EMAIL PROTECTED] Sendt: 22. februar 2006 16:37 Til: Nikolaj Kiær Thygesen Cc: gtk-app-devel-list@gnome.org Emne: Re: Using: gtk_button_set_image() gives small empty buttons Am Mittwoch, den 22.02.2006, 12:45 +0100 schrieb Nikolaj Kiær Thygesen: > GtkWid

Using: gtk_button_set_image() gives small empty buttons

2006-02-22 Thread Nikolaj Kiær Thygesen
Hi again, Another little problem of mine is that no matter what I seem to do, I can't get my buttons to contain small png's read from disk like this: GtkWidget *button = gtk_button_new(); gtk_button_set_image(GTK_BUTTON(button), gtk_image_new_from_file(filename)); gtk_widget_show(button)

Using: g_key_file_load_from_file() in homedir

2006-02-22 Thread Nikolaj Kiær Thygesen
Howdy list, In my program I'd like to store user private settings in the homedir of the current user in a Key_File. When loading the file this way: key_file = g_key_file_new(); g_key_file_load_from_file( key_file, "/home/nikolaj/.DiamondBOX

Multi-threaded "gtk_main()"s

2006-01-16 Thread Nikolaj Kiær Thygesen
Hey list, I'm currently writing a multi threaded gtk-app, and knowing that calling gtk_main() simultaneously from different threads is a no-go, I was quite surprised to find that the following fragment seemed to work when being accidentally called from a thread different from the one wh

RE: Inner window size issue

2005-11-26 Thread Nikolaj Kiær Thygesen
nome.org Cc: Subject:Re: Inner window size issue Nikolaj Kiær Thygesen wrote: > How on earth do I open a window containing a couple of widgets, > one of which is a ScrolledWindow?? This ScrolledWindow displays > an image, and now I'd like to fit the size of the Sc

Inner window size issue

2005-11-23 Thread Nikolaj Kiær Thygesen
Hey List, How on earth do I open a window containing a couple of widgets, one of which is a ScrolledWindow?? This ScrolledWindow displays an image, and now I'd like to fit the size of the ScrolledWindow to the size of the image in pixels. I have read up on the geometry stuff, but it doe

Invisible/missing cursor in editable

2005-10-17 Thread Nikolaj Kiær Thygesen
Hey list, Has anyone here experienced (and solved) a case of missing cursors when inline editing a string in a GtkTreeView?? If so, I would sure like to see the solution. Everything else works, it's just a bit confusing not knowing where in the string the next character will appear. I h

SV: Failure to allocate gtk object

2005-10-06 Thread Nikolaj Kiær Thygesen
t old-fashioned. br - N :o) -Oprindelig meddelelse- Fra: John Cupitt [mailto:[EMAIL PROTECTED] Sendt: 6. oktober 2005 00:25 Til: Nikolaj Kiær Thygesen Cc: gtk-app-devel-list@gnome.org Emne: Re: Failure to allocate gtk object On 10/5/05, Nikolaj Kiær Thygesen <[EMAIL PROTECTED]> wrote: &g

Failure to allocate gtk object

2005-10-05 Thread Nikolaj Kiær Thygesen
Hey list Just a quickie... What happens if the gtk_*_new() function fails to allocate memory for a widget??? From looking at sources I'm under the impression that the program will simply exit, but, if so, is there any way of keeping it afloat and reveive a NULL-pointer-return instead???

Using different MainContexts for GTK widgets

2005-07-05 Thread Nikolaj Kiær Thygesen
Hi, I am currently in the process of writing (actually porting) my first GTK program, which is heavily multithreaded. Basically I wanted to create a unique MainLoop + MainContext combo for each thread. This, I hoped, would dispatch Sources and GTK-widget-signals pertaining to a particular