Re: [Vala] custom widget and File observer

2012-05-15 Thread Andrea Del Signore
Hi, On Mon, 2012-05-14 at 08:18 -0400, D.H. Bahr wrote: > Hello everyone! > > I'm working on a teaching exercise: implementing a LifeStream > application (for those not aware: LifeStream is an alternative for the > desktop metaphor; more info can be found on the book 'Beyond the > Desktop > Metap

Re: [Vala] custom widget and File observer

2012-05-14 Thread Antono Vasiljev
D.H. Bahr writes: >> > The application would consist solely on a "Stream Browser" providing >> > access to (and only to) user own files, that is: all files within the >> > user dirs (e.g: Documents, Pictures, Videos, Music, Public, Download >> > and >> > Home directories, recursively off course)

Re: [Vala] custom widget and File observer

2012-05-14 Thread D.H. Bahr
El lun, 14-05-2012 a las 19:39 +0200, Andrea Del Signore escribió: > Hi, > > On Mon, 2012-05-14 at 08:18 -0400, D.H. Bahr wrote: > > Hello everyone! > > > > I'm working on a teaching exercise: implementing a LifeStream > > application (for those not aware: LifeStream is an alternative for the > >

custom widget and File observer

2012-05-14 Thread D.H. Bahr
Hello everyone! I'm working on a teaching exercise: implementing a LifeStream application (for those not aware: LifeStream is an alternative for the desktop metaphor; more info can be found on the book 'Beyond the Desktop Metaphor' published by MIT Press). The application would consist solely on

Looking for comments on how to handle my custom widget

2011-08-11 Thread Sam Hocevar
I would like to write a document about gtkglarea and how to use it properly in an application, because I am under the impression that most people don't use it properly, and I am not even sure I am doing the right thing. gtkglarea creates an OpenGL context inside a GTK widget. In the expose_e

Re: How to detect display speed in custom widget?

2007-09-28 Thread Daniel Yek
Federico Mena Quintero wrote: > On Thu, 2007-09-06 at 20:47 -0700, Daniel Yek wrote: > >> I'm wondering if anybody is experienced in writing smart widget that >> would react differently depending on whether the current display is >> local/fast for graphics animation or remote/slow where all a

Re: How to detect display speed in custom widget?

2007-09-28 Thread Federico Mena Quintero
On Thu, 2007-09-06 at 20:47 -0700, Daniel Yek wrote: > I'm wondering if anybody is experienced in writing smart widget that > would react differently depending on whether the current display is > local/fast for graphics animation or remote/slow where all animation > should be kept to the minimu

How to detect display speed in custom widget?

2007-09-06 Thread Daniel Yek
Hi, (I didn't get a response at [EMAIL PROTECTED] Technical-wise, gtk-devel-list is the best list for this question...I'm hoping someone would have an answer for me.) I'm wondering if anybody is experienced in writing smart widget that would react differently depending on whether the current d

Re: custom widget

2006-09-27 Thread Owen Taylor
On Wed, 2006-09-27 at 11:26 -0700, Mark Richardson wrote: > Thanks for the input - it helped! > I changed the calls from _gtk* functions to my own versions. Seems > kinda silly to re-implement marshalling functions - is there a > standard set of these available to all, or do custom widgets have to

Re: custom widget

2006-09-27 Thread Mark Richardson
gt; Sorry about posting in the gtk dev area, but this is borderline app> dev/gtk dev.> > Anyway, I'm making a custom widget, and when I try to create a> signal...> signals[MOVE_CURSOR]=g_signal_new("move_cursor",> G_OBJECT_CLASS_TYPE(gobject_class), G_SIGNAL_R

Re: custom widget

2006-09-26 Thread Owen Taylor
On Tue, 2006-09-26 at 19:08 -0700, Mark Richardson wrote: > Sorry about posting in the gtk dev area, but this is borderline app > dev/gtk dev. > > Anyway, I'm making a custom widget, and when I try to create a > signal... > signals[MOVE_CURSOR]=g_signal_new("move_cu

custom widget

2006-09-26 Thread Mark Richardson
Sorry about posting in the gtk dev area, but this is borderline app dev/gtk dev.   Anyway, I'm making a custom widget, and when I try to create a signal... signals[MOVE_CURSOR]=g_signal_new("move_cursor", G_OBJECT_CLASS_TYPE(gobject_class), G_SIGNAL_RUN_LAS | G_SIGNAL_ACTION,