How to access gtktreeview header widgets ?

2005-03-11 Thread Miroslav Rajcic
I am having treeview with visible headers. What I need to do is to remove GTK_CAN_FOCUS flag from the header button widgets (GTK_WIDGET_UNSET_FLAGS(view, GTK_CAN_FOCUS)) . My problem is that I don't know how to access header widget(s). Is this possible ? TIA, Miroslav Rajcic

How to make toolbar without GTK_CAN_FOCUS

2005-03-11 Thread Miroslav Rajcic
I am trying to make my toolbar (with tool buttons) not to receive focus when Tab is used to move focus along the window widgets. I've tried to call GTK_WIDGET_UNSET_FLAGS(widget, GTK_CAN_FOCUS); to both toolbar widget and every single tool button, but it doesn't seem to work. Toolbar still gets

grub focus

2005-03-11 Thread dnk
how i can grub focus to my program. i what to write a small xlocker. #include gtk/gtk.h #include stdio.h #include stdlib.h gboolean delete_event(GtkWidget* widget, GdkEvent* event, gpointer data) { fprintf(stderr,delete event\n); return TRUE; } gboolean focus_in_event (GtkWidget

Re: howto compile static gtk app?

2005-03-11 Thread Jan Kratochvil
On Wed, 09 Mar 2005 18:29:42 +0100, Andreas Rottmann wrote: Jan Kratochvil [EMAIL PROTECTED] writes: On Wed, 09 Mar 2005 11:22:50 +0100, Yang Hong wrote: ... I wan to compile a static gtk app, then it can run in a everiment without gtk libs. [...] GNU/Linux really is not suitable

Re: library dependency reduction (gtkhtml)

2005-03-11 Thread Owen Taylor
On Fri, 2005-03-11 at 13:30 +0100, Philippe De Swert wrote: PS: Is there a gtkhtml related list? I could not find one, and it might be good to discuss this matter further with the relevant developers/users, without having to contact them personally.

Re: library dependency reduction (gtkhtml)

2005-03-11 Thread Philippe De Swert
Thanks! On Fri, 2005-03-11 at 13:30 +0100, Philippe De Swert wrote: PS: Is there a gtkhtml related list? I could not find one, and it might be good to discuss this matter further with the relevant developers/users, without having to contact them personally.

Re: big treeviews on win32

2005-03-11 Thread Ivan Wong
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | If somebody else feels like having a go, please do, and keep the list | informed. It should be prettty obvious, from a high-level point of | view, what to do. The devil is in the details. Mail me if you want the | diffs of how far I got in an

Re: g_file_write()

2005-03-11 Thread Soeren Sandmann
Alexis S. L. Carvalho [EMAIL PROTECTED] writes: +static gchar * +write_to_temp_file (const gchar *contents, + gsize length, nitpick gssize to be consistent with g_file_replace? /nitpick I have changed it, but I don't see why it matters. write_to_temp_file() is not called