Using GtkFileChooserWidget

2007-09-06 Thread Nikolaj Thygesen
could do something to prepare the widget for the later re-appearance?? best regards - Nikolaj Thygesen ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Using GtkFileChooserWidget

2007-09-09 Thread Nikolaj Thygesen
k_container_add(GTK_CONTAINER(window), file_widget); gtk_widget_show_all(window); gtk_main(); return 0; } br - N :o) Nikolaj Thygesen wrote: > Hi list, > > I wonder if anyone here has ever used the GtkFileChooserWidget > directly?? When I create the widget and add it to a window

Re: Textview cursor disappears sometimes

2008-05-11 Thread Nikolaj Thygesen
MD Tsai wrote: > Is there any reason the cursor disappears at this condition? > > Regards, > > Eric Tsai > I experienced similar behaviour once. The reason was that for other reasons I had added a keypress-signal handler to my widget and this handler swalloved some signals needed by the widget

Re: Size negotiation and initial top-window size

2008-09-10 Thread Nikolaj Thygesen
Olivier Guilyardi wrote: Hi all, Isn't there a way for a widget to say "I would like this size, but I can shrink" during the size negotiation process ? Regards, As I understand your question, I believe what you need is: gtk_window_set_default_size(GTK_WINDOW(window), width, height); N

Re: struggling with the non-recursive gdk_threads_enter

2009-01-04 Thread Nikolaj Thygesen
Alexander Larsson wrote: On Tue, 2008-12-30 at 21:47 -0500, Yu Feng wrote: Dear Devels: I am having troubles because the GMutex used gdk_threads_enter/leave can be non-recursive. IMHO that is a Gtk+ bug. When loading the modules from GTK_MODULE it should take the Gdk lock in order to

HOWTO: Center window on screen.

2009-03-16 Thread Nikolaj Thygesen
Hi list, I've seen this question asked several times and even asked it myself, so as I finally made it happen, I thought I'd share my success with others in need. Simply putting: gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); at any creative point in your code seems t

Known gtk_tree_view_set_enable_tree_lines()-issues??

2009-04-26 Thread Nikolaj Thygesen
Hi list, Am I the only one having issues with "gtk_tree_view_set_enable_tree_lines()" and "gtk_tree_view_set_grid_lines()"??? I use GTK-2.16.1 under freebsd 7.1 and even last year my program would crash whenever I used the function "gtk_tree_view_set_grid_lines()", but lately even "gtk_tr

Current GtkProgressBar usage

2009-11-22 Thread Nikolaj Thygesen
Hi list, I have used GtkProgressBar's for a while, and back when I started some years ago, it was necessary to call something like: while(g_main_context_iteration(0, FALSE)); to have the UI updated. These days it seems like this is no longer necessary - is that correct? I'm doing i

Re: pulseaudio and gtk events issues

2010-02-07 Thread Nikolaj Thygesen
I can't tell you what you're specific issue is (as I'm running fbsd), but recently I spent months chasing a bug in my own app, which ended up being a thread related bug in pulseaudio, so you might be right there. I too had to disable window and button sounds. It appeared the gdk lock wasn't ha

Re: GtkProgressBar state update issue

2010-05-28 Thread Nikolaj Thygesen
Timofei Istomin wrote: Hello, I'm developing an embedded application using GTK+ (2.16.6) on the DirectFB backend. I use the gtk_progress_bar_set_fraction() to set the progress value, but it doesn't affect the visible state of the widget until the touchscreen is tapped. Other GUI elements (butto