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

SV: Using: gtk_button_set_image() gives small empty buttons

2006-02-28 Thread Nikolaj Kiær Thygesen
:[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: GtkWidget *button = gtk_button_new

SV: Using: g_key_file_load_from_file() in homedir

2006-02-28 Thread Nikolaj Kiær Thygesen
) 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() in homedir Am Mittwoch, den 22.02.2006, 19:52 +0530

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,

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

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

RE: Inner window size issue

2005-11-26 Thread Nikolaj Kiær Thygesen
: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 ScrolledWindow to the size

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

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

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