Hi,
could anyone please say if this should be considered a bug -- if so,
I'd file an issue at bugzilla:
* use win32 (not yet tested on linux)
* create toplevel window
* gtk_window_set_deletable(window,FALSE) [this is the critical part]
* place a FileChooserWidget into window
* show window
*
what does temporarily mean here:
gdk_threads_set_lock_functions: [...] When GTK+ unlocks the GTK+ lock
when entering a recursive main loop, the application must temporarily
release its lock as well.
What ever that means...
my recursive locks
... had a bug.
Thanks
Felix
hi,
what does temporarily mean here:
gdk_threads_set_lock_functions: [...] When GTK+ unlocks the GTK+ lock
when entering a recursive main loop, the application must temporarily
release its lock as well.
Does that mean (A) that GTK+ sometimes simply tells me that it has
done its tasks and I can
Could anyone please explain this behaviour:
Imagine a simple window with 1 box and 2 buttons in it. If you press
the first button, the second is destroyed, and a newly created button
packed into the box. This *works* on linux and win32 (gtk+-2.10.13).
Now, let button 1 start a thread which does
Kevin DeKorte [EMAIL PROTECTED] wrote:
- From my limited GTK experience I have found that g_idle_add always
seems to work better than using gtk_threads_enter/leave.
Yes, the reason why idle functions work in any case is most probably
because they are running in the same thread as where gtk was
Vivien Malerba [EMAIL PROTECTED] wrote:
I'd like to create a two column list with simple text display on the
left but each row having a different renderer on the right (combo,
spin, entry).
I suggest you then create a custom cell renderer which will adapt
itself to the display you want
hi,
I am new to GtkTreeView:
Are cell renderers bound to columns or can they change between rows of
the same column?
I'd like to create a two column list with simple text display on the
left but each row having a different renderer on the right (combo,
spin, entry).
Thanks
Felix
typo in subject line:
GtkTreeView: different renderers within one COLUMN?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Thu, 24 May 2007 01:03:25 +1000
Andrew Cowie [EMAIL PROTECTED] wrote:
http://research.operationaldynamics.com/blogs/andrew/#gtk-thread-awareness
Keep on. :-)
I didn't quite agree with this conclusion:
do not use gdk_threads_set_lock_functions() to facilitate (a)
as that was rather
Hi,
is there a solution for this (please consider the toggle button as an
example only for various cases like these I am interested in):
For example: The clicked signal handler is connected to a toggle
button. Now, different threads call gtk_toggle_button_set_active() to
toggle it, however, for
Hi,
here is my short summery of how to use gtk with threads, ordered by the
main problems to be worked around. I aimed to find a small set of
*general* rules to follow rather than solutions for individual cases.
So this guides shall turn gtk's thread awareness into thread
safety--for those who
Hi,
gtk_scrolled_window_set_shadow_type() works correctly, however,
probably not in the way the user expects: The function sets the shadow
type of the (outer) window, and leaves the (inner) shadow type of the
viewport as is.
So, if not created manually, the user never gets the viewport in her
In gthread-win32.c, the link to
http://www2.awl.com/cseng/titles/0-201-63465-1/csmutx.htm
seems to be redirected to a bookstore. I have searched cseng csmutx
and found this (which was probably meant):
http://world.std.com/~jmhart/csmutx.htm
Felix
Hi,
when glib spawns processes it starts a helper process first which
itself then starts the wanted process.
I've studied the gspawn(-win32).c and the win32 helper code, too,
however, I simply don't understand the need of the helper process. :-/
If made some tests with the Windows' _spawn*()
On Wed, 22 Nov 2006 10:38:31 +0100
Gabriele Greco [EMAIL PROTECTED] wrote:
There is a guide not aimed to programmers about theme writing for GTK
(I'm mostly intrested in pixbuf themes, but also a generic guide
could be useful)?
I've to explain a graphic artist how to design a theme for a
Hi,
g_module_* is a great thing -- I just wonder if there is a way to not
create function pointers for each single function I need but just
import all of them at once?
Felix
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Hi,
here some remarks about the documentation of some g_slist* functions:
g_slist_remove():
It is not explicitly said if the data which the element points to is
freed as well. If you read g_slist_remove_link() below then you might
understand that, however, indirectly only.
Hi,
I am looking for a solution to display gtk+/gdk and other X
applications like firefox across 4 monitors connected to one
computer. The task is to show different content (e.g. 4 different gtk +
apps) on each screen but also perform text marquee effects across all
of them (like one big
On Thu, 4 May 2006 23:33:18 +0200
David Nečas (Yeti) [EMAIL PROTECTED] wrote:
On Thu, May 04, 2006 at 11:12:32PM +0200, Felix Kater wrote:
To achieve this I assume I need to do two things: tell the table to expand
itself to the maximum, and tell it to expand the second row only
Hi,
my table widget simply contains a label (first row) and a scrolled window
(second row). I need the scrolled window (with a large drawing area inside) to
expand. However, it doesn't.
To achieve this I assume I need to do two things: tell the table to expand
itself to the maximum, and tell
Hi,
I use glib on windows to allocate memory for a camera. Its DLL then
uses the memory and pass it to the kernel and fill it via DMA. I have
to be sure that windows doesn't move my buffer(s) later since the
kernel has built its allocation table using it.
With windows there are functions to
Hi,
to sum up:
With g_get_current_time() / win32 it seems that I get UTC instead of
the local time. How can I get the local time?
Long version:
I use g_get_current_time() / win32 to set GTimeVal and calculate the
current hour of the
day (0-23) like this:
hour_of_the_day=
my_gtimeval.tv_sec %
Hi,
I use g_get_current_time() / win32 to set GTimeVal and calculate the
current hour of the
day (0-23) like this:
hour_of_the_day=
my_gtimeval.tv_sec % (3600*24) / 3600
My windows timezone is set to UTC+1 == GMT+1 == CET, however, this is
not respected. What ever I select as the windows
Hi,
I use g_get_current_time() to set GTimeVal get the current hour of the
day (0-23) like this:
hour_of_the_day=
my_gtimeval.tv_sec % (3600*24) / 3600
My windows timezone is set to UTC+1 == GMT+1 == CET, however, this is
not respected. What ever I select as the windows timezone the above
On 9/19/05, Tristan Van Berkom [EMAIL PROTECTED] wrote:
Fe Kater wrote:
Hi,
I wonder if the callback function I connect to a widget's signal (like
toggled signal of a checkbutton) is already inside the gdk lock--or if I
have to take care of gdk_threads_enter/leave with any code inside
First, thanks again for your answer!
Tristan Van Berkom [EMAIL PROTECTED] wrote:
I never call gtk+ directly but have my own wrappers which take care of
gdk_threads_enter/leave. So I am sure I haven't forgotton it somewhere.
This could be dangerous, you'll deadlock if you call
Hi,
I am using the same code on win32/mingw and linux/gcc, however, when I execute
the code on linux, the programm hangs at the second (nested) call of
gdk_threads_enter(), see below.
Am I doing something illegal to use nested calls of gdk_threads_enter()?
If not, is there a flag to
Hi,
first let me thank you!
Juergen Dankoweit [EMAIL PROTECTED] wrote:
Funny. On FreeBSD I have no problems with nested calls of
gdk_threads_enter()/gdk_threads_leave().
[...]
This mutex-semaphore is gdk-wide.
[...]
As you can see, you MUST not call them nested!
If you don't have
Hi,
I switched from gtk+2.4 to gtk+-2.6.4 (using fabulous win32 version by
tor).
There are at least 2 new things concerning combobox which make life
a bit harder:
* Having many entries and, a combox near to the screen's edge, the
combobox first shows a half empty box, then is slowly
Felix Kater:
To sum up:
If the mouse pointer on a button which was insensitive and gets
sensitive (by another thread), then the button is never highlighted
and doesn't receive the click signal when clicked.
Me again.
I found out that this issue is known as bug 56070 which is open since
Hubert Soko__owski:
do you synchronize these threads somehow? if it is possible to set
sensitive on this button by the main thread then try to do this.
I don't get your point.
I do it this way: With the button click event all concerned buttons are
set insensitive, at the same time a timer is
Hi,
gdk_window_process_update() freezes my application (gtk-2.4.13/win32) in
case that it is performed on a gdk-window of a button which is created
in a gtk-main-window which was never shown.
In case that I show the window (and hide it) before
gdk_window_process_update() there is no problem.
Is
Hi,
can I pass (a pointer to) user data to a button's callback? The compiler
wants me to create button callbacks like void (*)(void) -- but what I
need is void (*)(void*), at least for the pressed and released
signals
How could I do that?
Felix
___
33 matches
Mail list logo