Hello.
I have a program that has besides the main GUI thread another thread
that creates some labels and pack them into a vbox. Before I do GUI
stuff in the thread I call gdk_threads_enter() and when I'm done I have
while (gtk_events_pending())
gtk_main_iteration();
gdk_threads_leave();
On Wed, 2007-03-14 at 11:49 +0100, Luka Napotnik wrote:
while (gtk_events_pending())
gtk_main_iteration();
gdk_threads_leave();
I don't think it's correct to try to run the main loop (which is what
the gtk_events_pending/gtk_main_iteration does) from a second thread. I
can't promise this
I fixed this issue by making g_timeout() calls to a function that checks
a queue for requests to change the UI.
Greets,
Luka
On sre, 2007-03-14 at 08:40 -0500, Michael Ekstrand wrote:
On Wed, 2007-03-14 at 11:49 +0100, Luka Napotnik wrote:
while (gtk_events_pending())
You don't need to poll: in your non-GUI thread you can call
g_idle_add, and the callback will be executed by the main GUI thread
'soon'.
Eg.:
worker_fn() {
for(;;) {
void *stuff = g_malloc( );
calculate_stuff( stuff );
g_idle_add( update_with_stuff, stuff );
}
Dear all,
I just start to learn to use gtk+, and there are something that I
can not find solutions on references. As below:
1. What is the signal of GtkLabel on mouse hover, click and double
click? I user enter-notify-event and leave-notify-event for the hover
thing, and it does not work
Dear gtk-app-devel-list,
I have been trying to download the GTK+ exec files from www.gtk.org (ftp) so
that I can install on my system but all to no avail. Please help out with
suggestions on what to do.
Thanks.
Kayode Arowolo
Computer Science Dept.
University of the Witwatersrand
On 3/14/07, Tim Janik [EMAIL PROTECTED] wrote:
we appreciate contributions, e.g. patches against the SVN
module that hosts the web site:
http://svn.gnome.org/svn/gtk-web/
such a patch should change the pages needing updates and update the
gtk-web/ChangeLog. also patches should be
hi;
On Wed, 2007-03-14 at 13:59 +0200, Tshepang Lekhonkhobe wrote:
On 3/14/07, Tim Janik [EMAIL PROTECTED] wrote:
we appreciate contributions, e.g. patches against the SVN
module that hosts the web site:
http://svn.gnome.org/svn/gtk-web/
such a patch should change the pages
On Wed, 14 Mar 2007, Tshepang Lekhonkhobe wrote:
On 3/14/07, Tim Janik [EMAIL PROTECTED] wrote:
we appreciate contributions, e.g. patches against the SVN
module that hosts the web site:
http://svn.gnome.org/svn/gtk-web/
such a patch should change the pages needing updates and update
dear sir or madam,
i'm trying to get into gtk-programming and while i was trying to get
information from the gnome development sites i discovered, that several
pages can't be accessed from http://developer.gnome.org/doc/API/api-toc.html
one link for example heads to
GTK+ 2.10.11 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.10/
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/
gtk+-2.10.11.tar.bz2 md5sum: 3b32eab43bf5195d981867d25ba55d66
gtk+-2.20.11.tar.gzmd5sum: 770aa9106b79cad9563566217d942b2b
This is a quick followup release to
Hello Foundation Board.
The Gtk+ project is in dire lack of new maintainers, mostly to review
patches, so that bugs can be fixed and new features can be introduced.
We need suggestions for candidates, probably for particular sub-sections
of Gtk+. Ideally, these candidates would be employed to
Hi,
please file a bug into bugzilla - there is a website module:
http://bugzilla.gnome.org/enter_bug.cgi?product=website
Stefan
Henk Freimuth wrote:
dear sir or madam,
i'm trying to get into gtk-programming and while i was trying to get
information from the gnome development sites i
quote who=Tim Janik
So for the foundation board, there are two things that can be done
to improve the current situation:
1) Please present the issue at hand (this email and the email linked
to above) to the advisory board members, to make sure the companies
involved are aware of the
On 3/14/07, Tshepang Lekhonkhobe [EMAIL PROTECTED] wrote:
On 3/14/07, Tim Janik [EMAIL PROTECTED] wrote:
On Wed, 14 Mar 2007, Tshepang Lekhonkhobe wrote:
Should we send patches to this list I suppose?
for the moment, yes.
and please let us know if you already have commit access or not.
On Wed, Mar 14, 2007 at 10:53:08AM +0530, Varun Singla wrote:
---
||__1_ | |
|| textentry | |
| 2|_3__ |4 | Diagram - 2
||___5_|___|
...
Hi,
thanks a lot for your suggestion, it pointed me in the right direction: I
managed to use gtk_tree_view_get_path_at_pos within the motion-notify-event
callback to get the currently `prelighted' row from the GtkTreeView.
Thanks again,
Stefano
Hi,
you may connect to the signals
GTK+ 2.10.11 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.10/
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/
gtk+-2.10.11.tar.bz2 md5sum: 3b32eab43bf5195d981867d25ba55d66
gtk+-2.20.11.tar.gzmd5sum: 770aa9106b79cad9563566217d942b2b
This is a quick followup release to
In gkeyfile.c, g_key_file_to_data() unconditionally
appends a newline between groups (the comment is
simply separate groups by at least an empty line).
The resulting string is, therefore, different from the
original contents of the file, by 1 newline character
per group. If one writes back the
Dear gtk-list,
I have been trying to download the GTK+ exec files from www.gtk.org (ftp) so
that I can install on my system but all to no avail. Please help out with
suggestions on what to do.
Thanks.
Kayode Arowolo
School of Computer Science
University of the Witwatersrand
Johannesburg.
20 matches
Mail list logo