Re: dynamic menus

2007-02-21 Thread Yeti
On Wed, Feb 21, 2007 at 10:40:07PM -0500, Dan McMahill wrote: > Question #1 > >- is it possible to keep certain menuitems in the xml and the > associated GtkActionEntry but toggle if they are visible or not? > Something like gtk_widget_hide() and gtk_widget_show()? Or do I have to > basica

Re: keeping track of specific characters in a GtkTextBuffer

2007-02-21 Thread Adam Tertial
--- [EMAIL PROTECTED] wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, Feb 21, 2007 at 04:44:27PM +, Adam > Tertial wrote: > > Hi, > > > > I need to be able to keep track of the location of > > specific characters in a GtkTextBuffer, and I was > > wondering what the most

Re: keeping track of specific characters in a GtkTextBuffer

2007-02-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Feb 21, 2007 at 04:44:27PM +, Adam Tertial wrote: > Hi, > > I need to be able to keep track of the location of > specific characters in a GtkTextBuffer, and I was > wondering what the most efficient way of doing that > was. Is it possible

dynamic menus

2007-02-21 Thread Dan McMahill
Hello, I have two questions about menus in gtk. I've created the menus via an xml description and the gtk UI manager. Question #1 - is it possible to keep certain menuitems in the xml and the associated GtkActionEntry but toggle if they are visible or not? Something like gtk_widget_hide()

Re: spec for accelerator string

2007-02-21 Thread Dan McMahill
Peter Clifton wrote: > On Fri, 2007-02-16 at 00:42 -0500, Dan McMahill wrote: > >>quoting from: >> >> > > http://developer.gnome.org/doc/API/2.0/gtk/gtk-Keyboard-Accelerators.html#gtk-accelerator-parse > >> >>"Parses a string representing an accelerator. The format looks like >>"a" or "F1" or "

Re: Application for finding all Windows

2007-02-21 Thread Liam R E Quin
On Wed, 2007-21-02 at 17:11 +0530, Udayan Singh wrote: > Hi, > > I want to develop an application where I can get a list of all the windows > that are open in the GNOME Screen and find any activity being performed on > any other window on the GUI screen (and not only my application) e.g. > mous

keeping track of specific characters in a GtkTextBuffer

2007-02-21 Thread Adam Tertial
Hi, I need to be able to keep track of the location of specific characters in a GtkTextBuffer, and I was wondering what the most efficient way of doing that was. Is it possible to have pointers to characters in the buffer? I had thought about inserting a GtkTextMarker whenever the user types the c

Re: Application for finding all Windows

2007-02-21 Thread Tor Lillqvist
> > > I want to develop an application where I can get a list of all > > > the windows that are open in the GNOME Screen and find any > > > activity being performed on any other window on the GUI screen > > > (and not only my application) e.g. mouse click on window of > > > another applicatio

Re: Application for finding all Windows

2007-02-21 Thread Udayan Singh
"Vivien Malerba" <[EMAIL PROTECTED]> wrote on 02/21/2007 08:33:52 PM: > On 2/21/07, Udayan Singh <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to develop an application where I can get a list of all the windows > > that are open in the GNOME Screen and find any activity being performed on >

Re: Application for finding all Windows

2007-02-21 Thread Vivien Malerba
On 2/21/07, Udayan Singh <[EMAIL PROTECTED]> wrote: > Hi, > > I want to develop an application where I can get a list of all the windows > that are open in the GNOME Screen and find any activity being performed on > any other window on the GUI screen (and not only my application) e.g. > mouse click

Application for finding all Windows

2007-02-21 Thread Udayan Singh
Hi, I want to develop an application where I can get a list of all the windows that are open in the GNOME Screen and find any activity being performed on any other window on the GUI screen (and not only my application) e.g. mouse click on window of another application sends me a signal. Any po

RE: Cairo in tooltips

2007-02-21 Thread Freddie Unpenstein
This message appears to have been cross-posted from gtk-devel-list, so I guess I'd better cross-post it back again. Anyhow... > The rectangle drawing code is from cairo snippets. My first > idea was to put a balloon, but I don't know how to draw it quickly > yet since I've just started learnin

Re: libglade frustration redux

2007-02-21 Thread Yeti
On Wed, Feb 21, 2007 at 02:58:29AM -0500, Freddie Unpenstein wrote: > > Surely we can agree that theres no point in asking the maintainers > > of the tarball to please give better documentation and examples, if > > you've never even looked at the tarball right ? > > He shouldn't, but as a user of