All,
Please give me a hand - I believe there is a loop around here somewhere, and
I am out of it.
I don't want to take too much of your time, but I think a little bit of
background will help you understand what I am looking for.
I've written a bunch of number crunching C++ code and wan
Hello,
I use gtk+ for my soft's graphic interface.
But valgrind make an log file containing approximately 22700 lines for an
simple source code like :
#include
int main(int argc, char **argv) {
gtk_init(&argc, &argv);
GtkWidget *win= gtk_window_new(GTK_WINDOW_TOPLEVEL);
I just download GTK for win32 , developing win32 GTK
applications using VC++ GUI.
But what i am wondering is ... many stdio functions cannot
work???
(It's ok to compile , but no reaction for running!)
Such like ... printf、file read/write doesn't work!
Could someone give me a guide?
_
Hi all i am trying to crosscompile Gtk application to arm-linux.
I created crossdevelopment tools and installed .
But the Gtk application is giving problem when linking.
The error message is as follows.
/opt/mtwk/usr/local/gcc-3.4.3-glibc-2.3.4/arm-linux/lib/gcc/arm-linux/3.4.3/../../../../arm-lin
Hi, I have a problem with keeping an animated gif running while the gtk main
loop is blocked.
The gif (called waitImage) is placed on a GtkDialog (waitDialog). The
GdkPixbufAnimation "behind" waitImage is called waitImageAnimated.
I tried to do it like this:
while(...) {
gtk_widget_queue_draw(
On Sat, 5 Aug 2006, chabayo wrote:
> ...fork() creates a copy (or less a copy if kernel has a workaround - i
> dont now how that's handled) of memory?
fork() does indeed create a copy. If you have a variable in the original
process (= the parent), the child process will also have a variable --
-- Forwarded message --
From: chabayo <[EMAIL PROTECTED]>
Date: Aug 5, 2006 8:41 PM
Subject: AW: threads & gtk
To: gtk-app-devel-list@gnome.org
Am 05.08.2006 19:38:58 schrieb(en) Peter "Firefly" Lund:
> I think you are looking for g_thread_create() and related functions.
...oh, y
Am 05.08.2006 19:38:58 schrieb(en) Peter "Firefly" Lund:
> I think you are looking for g_thread_create() and related functions.
...oh, yes. I found two links
http://s1x.homelinux.net/documents/gtk/gtk_threads.html
http://yolinux.com/TUTORIALS/GDK_Threads.html
both make me focus the near advanta
On Sat, 2006-08-05 at 18:22 +0200, chabayo wrote:
> Hello, i'll ask for help with gtk & threading.
>
>
> The rules of my template:
>
> Create an output Window.
> Listen on a Socket for commands.
> Listen on a Socket for data.
>
>
> I wanna have 3 threads - naturally.
This kind of situation le
On Sat, 5 Aug 2006, chabayo wrote:
> pid_t pid=fork ();
> gdk_threads_enter ();
threads and processes are not quite the same...
(threads share address space, processes don't. Threads share file
handles, processes don't (with a few exceptions).)
I think you are looking for g_thread_create() an
On Sat, 2006-08-05 at 18:22 +0200, chabayo wrote:
> Hello, i'll ask for help with gtk & threading.
>
> The rules of my template:
>
> Create an output Window.
> Listen on a Socket for commands.
> Listen on a Socket for data.
>
> I wanna have 3 threads - naturally.
Usually you may want two threads,
I'm not sure about what are you asking...
Bur I think that you should check the fork() return value in order to guess
if you are the parent or if you are the child (forked) process.
In addition... you could consider to use GThreads instead of the libc fork()
system call. It's not a good idea to mi
Hello, i'll ask for help with gtk & threading.
The rules of my template:
Create an output Window.
Listen on a Socket for commands.
Listen on a Socket for data.
I wanna have 3 threads - naturally.
Therefor i built that scheme:
main () {
...
/* init threads */
g_thread_init(NULL);
gd
On Sat, Aug 05, 2006 at 10:18:24AM +0200, rupert wrote:
> On 8/3/06, David Ne?as (Yeti) <[EMAIL PROTECTED]> wrote:
[...]
> but how can I pass all the Information like the treestore, itert.., with the
> g_timeout_add(), because it only allows me one filed for data to pass.
As Yeti already pointed o
Thank you for your help!
Your hints made it work. I was able to constrict the paths that can be chosen
in my file chooser.
But there ist one Problem left: On the left side of my file chooser Dialog
there are many shortcuts shown which now can not be chosen any more.
This is not very nice.
But t
On Sat, Aug 05, 2006 at 10:18:24AM +0200, rupert wrote:
> >
> >Change the pixbuf in the model:
> >
> >pixbuf = gdk_pixbuf_new_from_file(...);
> >gtk_tree_store_set(treestore, &iter, column_id, pixbuf, -1);
> >g_object_unref(pixbuf);
>
>
> but how can I pass all the Information like th
On 8/3/06, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote:
>
> On Thu, Aug 03, 2006 at 09:15:56PM +0200, rupert wrote:
> >
> > One thing beside this that bothers me is that i now kicked the idea of
> > having buttons in the table, now I use a list and have only one pair of
> > buttons for all of them
17 matches
Mail list logo