On Mon, 11 Dec 2006 23:38:57 +0100
Enrico Tröger <[EMAIL PROTECTED]> wrote:
ET> Is there any way to select single cells?
ET> Or should I use another widget? I thought of a GtkTable and fill it
ET> with GtkButtons but I assume this would heavily slow down the process of
ET> realising the dialog.
L
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, Dec 11, 2006 at 06:24:17AM -0700, Jim George wrote:
> [...]. I suppose one advantage
> of using threads to do the calculation (as opposed to an idle
> callback) is that the app will run smoother on a dua
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi *,
I'm looking for a property to change the color of a CellRenderer(i'm
using the java-gnome bindings, but a c/c++ approach must work) when it
is selected, but i just found the way to change the background color ,
not when i select the row.
Lookin
>2006/12/7, sunzysjzri <[EMAIL PROTECTED]>:
>> hi, How to change a gtkwindow's background? I want use a specify background
>> for my window.
>
>you didn't specify if you mean a custom color or a custom image,
>anyway for custom color:
>http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-
Hi list,
I want to build a dialog for choosing special characters and insert
them into a text widget. The reason is to show a list of HTML entities.
So, I want a column fpr the real character(e.g. ©), a column for the
HTML entity with ascii name(e.g. ©) and a column for the HTML
entity with Unico
On Monday 11 December 2006 15:16, Christopher Bland wrote:
> I had the same requirement. I also needed to write to a status bar from
> my other threads. Based on feedback from this mailing list here is what
> worked perfectly for me:
[snip]
That's a good solution, but that is what g_idle_add() do
I use g_timeout_add all the time in a Windows/*nix app, and haven't had
a problem. You can use a timeout of 0 and it'll update your status bar
as soon as the main iteration runs through. Make sure you return false
in the timeout function, otherwise your status bar will be continually
updated.
On 12/11/06, Christopher Bland <[EMAIL PROTECTED]> wrote:
> I had the same requirement. I also needed to write to a status bar from
> my other threads. Based on feedback from this mailing list here is what
> worked perfectly for me:
This is a good solution, but will not be portable to non-unix sys
I had the same requirement. I also needed to write to a status bar from
my other threads. Based on feedback from this mailing list here is what
worked perfectly for me:
Open a pipe in your main GUI code and monitor it.
[code]
/* Create the pipe and then set the watch function */
if (pipe(stat
If you use the threads approach and want to make your app portable to
other platforms, you should use the g_thread library. pthreads will
only work under Linux. The biggest problem of using threads is that
the secondary threads must not try to directly update the GUI, unless
you use g_threads_enter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, Dec 11, 2006 at 11:13:31AM +0100, Paolo Franzetti wrote:
> Hi.
>
> I would like to put in a GTK application a button which is
> "connected" to a function that performs a very long computational
> task which do not freezes the application.
[...
In your callback , try to use g_thread_create.
在 星期一 11 十二月 2006 18:13,Paolo Franzetti 写道:
> Hi.
>
> I would like to put in a GTK application a button which is
> "connected" to a function that performs a very long computational
> task which do not freezes the application.
>
> In other word I woul
Hi.
I would like to put in a GTK application a button which is
"connected" to a function that performs a very long computational
task which do not freezes the application.
In other word I would like to press the button and start the computation
that should work "in the background" while the main
13 matches
Mail list logo