GTK+ 2.17.4 released

2009-07-10 Thread Matthias Clasen
GTK+ 2.17.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.17/ http://download.gnome.org/sources/gtk+/2.17/ md5 sums: fab0833657d241ee92580d589caeee64 gtk+-2.17.4.tar.bz2 99b85814e449a57632f3ce1be6463996 gtk+-2.17.4.tar.gz sha1 sums: e7cef27363f5f2f77674aad6475602e21c790bf0 g

Re: usb plug/unplug notifications

2009-07-10 Thread Andrew W. Nosenko
On Fri, Jul 10, 2009 at 05:15, Michael Cronenworth wrote: > > I'd advice against programming to HAL unless your environment requires it. If your target is Linux only, then yes, sure. If you want to run on any other OS, then... Fortunately or not, but you should either play the HAL game, or OS speci

Re: inter process communication

2009-07-10 Thread Chris Vine
On Fri, 10 Jul 2009 16:56:28 +0200 Luka Napotnik wrote: > If you need more advanced IPC, take a look at D-BUS. For basic IPC you > could use unix local sockets or shared memory. ... or named pipes/fifos (man 3 mkfifo) for the most basic IPC. Chris ___

Re: usb plug/unplug notifications

2009-07-10 Thread Brian J. Tarricone
On 2009/07/09 15:38, Garth's KidStuff wrote: Hi All, I'd like to know how to intercept usb events. Right now, I'm polling for changes, but that isn't the "right" way to handle device discovery. Is there a way to get a notification when something happens in the usb world? Not really on-topic f

Re: g_spawn_async_with_pipes() & ssh based IPC

2009-07-10 Thread Brian J. Tarricone
On 2009/07/09 13:25, Michael Cronenworth wrote: SSH is great for remote terminal sessions, but not much more. I think the sshfs guys might beg to differ with you on that one. As would anyone who uses subversion or git (etc.) over ssh. Or anyone who's tunneled various protocols using ssh's

Re: GtkBuilder and GtkHScale

2009-07-10 Thread Matteo Landi
On Thu, Jul 2, 2009 at 7:54 PM, Tadej Borovšak wrote: > Hello. > >> hi all, >> i'm trying to develope a small application with the help of glade. Is it a >> normal behaviour that when i set the upper limit of a GtkHscale, i need tu >> use >> a value bigger than the needed one by 10 units? (if i ne

Re: inter process communication

2009-07-10 Thread Luka Napotnik
If you need more advanced IPC, take a look at D-BUS. For basic IPC you could use unix local sockets or shared memory. Greets, Luka Dne 10.07.2009 (pet) ob 09:17 -0500 je Garth's KidStuff zapisal(a): > Hey All, > What's the best way to communicate between 2 applications? And can you > point me to

Re: getting the requested size of a widget

2009-07-10 Thread Julian Bradfield
>How do I get a widget to tell me truly how much size it would like? >gtk_widget_size_request does not appear to work. It appears that an answer is to call gtk_widget_size_allocate with a very large allocation before calling gtk_widget_size_request. -- The University of Edinburgh is a charitabl

re: best way to communicate between 2 applications

2009-07-10 Thread Garth's KidStuff
More details: I'm running a large application written in gtkmm on an Ubuntu (8.1 or 9.04) machine. I'd like to know when a usb device has been attached or detached. Some other kind people on this list pointed me to udev for the usb event handling, and told me how I could run a little program when

Re:inter process communication

2009-07-10 Thread donglongchao
It depends on what you need and what you want to do.If you tell us some more details about your requirments,it may becomes easier to decide. Wish you happy. Longchao 在2009-07-10,"Garth's KidStuff" 写道: >Hey All, >What's the best way to communicate between 2 applications? And can you >point

inter process communication

2009-07-10 Thread Garth's KidStuff
Hey All, What's the best way to communicate between 2 applications? And can you point me to some nice C/C++ sample code? Thanks in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http:

Re: getting the requested size of a widget

2009-07-10 Thread Julian Bradfield
>textview problem I guess. And probably there is a simple solution. You >need to apply gtk_widget_size_request AFTER all your pages and notebook I tried that (i.e. realizing everything and showing all bar the toplevel window). No joy. >things. And if you fixed the size of your textview widgets,

Re: getting the requested size of a widget

2009-07-10 Thread Carlos Pereira
Hi, size with gtk_widget_size_request, and then using gtk_widget_set_size_request >each page contains a textview wrapped in a scrolledwindow I use the technique you described in all my notebooks, with a wide range of pages, and it works fine. However I don't have textviews. This is a textvi

getting the requested size of a widget

2009-07-10 Thread Julian Bradfield
How do I get a widget to tell me truly how much size it would like? gtk_widget_size_request does not appear to work. Specifically, I have a dialog window that contains a notebook with five pages; each page contains a textview wrapped in a scrolledwindow. Some information arrives, I stuff it into t