Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Adeel Malik
Hi, I was wondering how to update the gtk_main_thread function after a fixed time interval (in milliseconds) as g_timer_add function provides a quick solution to that. Could someone suggest how to go about it ?.   Thanks, Adeel --- On Sat, 5/9/09, Ardhan Madras aj...@knac.com wrote: From:

Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Vlad Volodin
Hello, What is the purpose of your update? Do you want to refresh a widget, or anything else? Vlad Volodin 2009/5/11 Adeel Malik adeelmali...@yahoo.com: Hi, I was wondering how to update the gtk_main_thread function after a fixed time interval (in milliseconds) as g_timer_add function

Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Adeel Malik
Hi,   The main gtk thread needs to refresh an image widget (for status indication, GREEN or RED) along with a couple of 'status variables' e.g Block/Symbol error rate using labels. There is a start button in the GUI associated with a data acquisition routine that computes the value of the

Check out my photos on Facebook

2009-05-11 Thread Sandeep Cashyap
Hi Gtk-app-devel-list, I invited you to join Facebook a while back and wanted to remind you that once you join, we'll be able to connect online, share photos, organize groups and events, and more. Thanks, Sandeep To sign up for Facebook, follow the link below:

Re:Check out my photos on Facebook

2009-05-11 Thread donglongchao
oh~,it is cool... 在2009-05-11,Sandeep Cashyap invite+kjdmu_kd~...@facebookmail.com 写道: Hi Gtk-app-devel-list, I invited you to join Facebook a while back and wanted to remind you that once you join, we'll be able to connect online, share photos, organize groups and

Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Vlad Volodin
It looks like you've already asked the question before: http://mail.gnome.org/archives/gtk-app-devel-list/2009-March/msg00115.html as I understood, you have Main Loop (read about it in Gtk and GLib), a thread which get data from your stuff and calculates the average value. So, don't try to make

Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Adeel Malik
The structure of my code is that when I click on the 'start button', the callback function needs to continuously acquire data from a daq card in a while loop, a functionality that I am not supposed to change. Now I want to send a refesh signal to control (during the course of button callback

Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Vlad Volodin
there is a gtk_timeout_add (the new name is g_timeout_add). Maybe this one? 2009/5/11 Adeel Malik adeelmali...@yahoo.com: The structure of my code is that when I click on the 'start button', the callback function needs to continuously acquire data from a daq card in a while loop, a

How to set a tool tip on a gtk_tree_store ?

2009-05-11 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I have a gtk_tree_store (a GtkTreeView, which I gtk_tree_store_append) rows to. I wish to have a tooltip in the form of a pixbuf. I further wish the tooltip ONLY on certain entries in one of the columns, and not on other rows, or other

Re: How to set a tool tip on a gtk_tree_store ?

2009-05-11 Thread Kristian Rietveld
On Mon, May 11, 2009 at 6:55 PM, Gregory Hosler ghos...@redhat.com wrote: The problem I'm facing is getting the GtkTooltip of a cell of the GtkTreeStore. You should keep in mind that tooltips operate on GtkWidgets; a GtkTreeStore is not a widget. Instead you use the widget GtkTreeView which

Re: How to set a tool tip on a gtk_tree_store ?

2009-05-11 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kristian Rietveld wrote: On Mon, May 11, 2009 at 6:55 PM, Gregory Hosler ghos...@redhat.com wrote: The problem I'm facing is getting the GtkTooltip of a cell of the GtkTreeStore. You should keep in mind that tooltips operate on GtkWidgets This

How to create transparent dialog in GTK

2009-05-11 Thread Raju
Dear all, Any one can help me to create transparent dialog in GTK. Regards, Raju ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: windows [Re: Review of gnio, round 2]

2009-05-11 Thread Alexander Larsson
On Sun, 2009-05-10 at 10:53 -0400, Dan Winship wrote: Alexander Larsson wrote: I was going to say we could make g_socket_listen() set it but actually, you need to do it before calling bind(). I'm not really familiar with the use cases of bind() on client sockets, but it seems like

Re: windows [Re: Review of gnio, round 2]

2009-05-11 Thread Simon McVittie
On Sun, 10 May 2009 at 10:53:01 -0400, Dan Winship wrote: But if you bind() and then connect() (eg, like the rcmd/rsh/rlogin suite) then maybe you don't want SO_REUSEADDR. (And looking at the glibc source for rresvport(), it doesn't use SO_REUSEADDR, and instead just keeps trying different

Re: Review of gnio, round 1

2009-05-11 Thread Alexander Larsson
On Sun, 2009-05-10 at 17:29 +0300, Stefan Kost wrote: Alexander Larsson schrieb: With gnome 2.26 out and the GResolver branch landed it is time to start look at merging the gnio network code into gio. I'm posting this here, plus CC:ing the involved people instead of on bugzilla in order to

Re: windows [Re: Review of gnio, round 2]

2009-05-11 Thread Dan Winship
On 05/11/2009 03:47 AM, Alexander Larsson wrote: On Sun, 2009-05-10 at 10:53 -0400, Dan Winship wrote: But if you bind() and then connect() (eg, like the rcmd/rsh/rlogin suite) then maybe you don't want SO_REUSEADDR. (And looking at the glibc source for rresvport(), it doesn't use

Re: Review of gnio, round 1

2009-05-11 Thread Stefan Kost
Alexander Larsson schrieb: On Sun, 2009-05-10 at 17:29 +0300, Stefan Kost wrote: Alexander Larsson schrieb: With gnome 2.26 out and the GResolver branch landed it is time to start look at merging the gnio network code into gio. I'm posting this here, plus CC:ing the involved people

Gtk+ problem with time-consuming threads

2009-05-11 Thread patkhor
Hi, I'm trying to add GUI for my application and I choose to do it with Gtk+. I've asked on this forum before about multithreading, but I still can't get it right. I found few examples on how to use gthread on the web, but none of them answers my question. My problem is: (FYI: I programs

Re: Review of gnio, round 1

2009-05-11 Thread Dan Winship
On 05/11/2009 10:30 AM, Stefan Kost wrote: Alexander Larsson schrieb: GResolver is already in gio, yes. NameResolver isn't really less generic than GResolver though. What else would it resolve but names? Could be GDNSResolver though. That sounds good. I was just wondering as there are

Re: Gtk+ problem with time-consuming threads

2009-05-11 Thread Sven Herzberg
Am Dienstag, den 05.05.2009, 18:57 -0700 schrieb patkhor: I provide the user with the OK button, when user click on that button, the program will create some number of threads (more than 10) and each threads will do time-consuming work in the background. I successfully compiled my program, but

tree model

2009-05-11 Thread Ryan Lortie
are there any 3ish plans for GtkTreeModel - GTreeModel? cheers ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Gtk+ problem with time-consuming threads

2009-05-11 Thread Tor Lillqvist
(FYI: I programs using C language and compile it with gcc compiler on MinGW.) You can't use GTK+ from multiple threads on Windows. That is just how it is. It is a consequence of GTK+ originally being written just for X11. Could someone please give me little sample code that provide only one

Re: Review of gnio, round 1

2009-05-11 Thread Christian Dywan
Am Mon, 11 May 2009 10:49:31 -0400 schrieb Dan Winship d...@gnome.org: On 05/11/2009 10:30 AM, Stefan Kost wrote: Alexander Larsson schrieb: GResolver is already in gio, yes. NameResolver isn't really less generic than GResolver though. What else would it resolve but names? Could be

Re: tree model

2009-05-11 Thread Szilárd Pfeiffer
What do you want to do with that? What about GNode? Isn't it good for you? regards, Szilárd Ryan Lortie wrote: are there any 3ish plans for GtkTreeModel - GTreeModel? cheers ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: Review of gnio, round 1

2009-05-11 Thread Xavier Claessens
Le lundi 11 mai 2009 à 19:26 +0200, Alexander Larsson a écrit : On Mon, 2009-05-11 at 10:49 -0400, Dan Winship wrote: On 05/11/2009 10:30 AM, Stefan Kost wrote: Alexander Larsson schrieb: GResolver is already in gio, yes. NameResolver isn't really less generic than GResolver though.

Re: Review of gnio, round 1

2009-05-11 Thread Alexander Larsson
On Mon, 2009-05-11 at 10:49 -0400, Dan Winship wrote: On 05/11/2009 10:30 AM, Stefan Kost wrote: Alexander Larsson schrieb: GResolver is already in gio, yes. NameResolver isn't really less generic than GResolver though. What else would it resolve but names? Could be GDNSResolver though.

Re: tree model

2009-05-11 Thread Szilárd Pfeiffer
I see. In this case unfortunately I am the person who can help you. Jamie McCracken wrote: I would hope iterators and models will be part of glib 3.0 to avoid 3rd party duplication as well as all other Libgee functionality this would also make it more vala friendly jamie On Mon,

Re: Review of gnio, round 1

2009-05-11 Thread Ross Burton
On Mon, 2009-05-11 at 15:08 -0300, Vovo ^^ wrote: Also will it always resolve names using only DNS? Not sure if this was rhetorical or not but no, GResolver uses NSS so could end up using LDAP, mDNS and so on. Ross -- Ross Burton mail: r...@burtonini.com

Re: 3.0-related deprecations

2009-05-11 Thread Kristian Rietveld
Hi Cody, On Sun, May 10, 2009 at 12:19 AM, Cody Russell brats...@gnome.org wrote: gtk+ currently does not build with GSEAL enabled, and I want to remedy this so we can make progress on 3.0.  I'm planning to post a large series of patches unless someone has a suggestion for how better to do

Re: tree model

2009-05-11 Thread Ryan Lortie
Szilárd Pfeiffer wrote: What do you want to do with that? What about GNode? Isn't it good for you? I should have been slightly more clear: I am interested in being able to provide a GtkTreeModel for those people who wish to use it without having to link to libgtk myself. So the problem

Re: tree model

2009-05-11 Thread Matthias Clasen
I should have been slightly more clear:  I am interested in being able to provide a GtkTreeModel for those people who wish to use it without having to link to libgtk myself. So the problem with using GNode: GtkTreeView doesn't use it. I don't see why this is something we should be eager to

Re: How to create transparent dialog in GTK

2009-05-11 Thread Vovo ^^
2009/5/11 Raju nagar...@lge.com: Dear all, Hello Raju.     Any one can help me to create transparent dialog in GTK. Take a look at this page: http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-set-opacity Hopefully it will help you. Regards, Raju Vo