Disabling menu And Modal dialog boxes!

2005-03-23 Thread APR Trainees
Hello, We're making an application using gnome 2.0 that adds an icon on the statusbar.We've added a context menu to display the menu when the icon is clicked using the right mouse button. tride to do the follwoing in glade too but cudnt! 2 QUERIES 1. Now we need to disable(i.e. gray the

Disabling menu And Modal dialog boxes!

2005-03-23 Thread APR Trainees
Hello, We're making an application using gnome 2.0 that adds an icon on the statusbar.We've added a context menu to display the menu when the icon is clicked using the right mouse button. tride to do the follwoing in glade too but cudnt! 2 QUERIES 1. Now we need to disable(i.e. gray the

Re: Disabling menu And Modal dialog boxes!

2005-03-23 Thread Iago Rubio
On Wed, 2005-03-23 at 14:34 +0530, APR Trainees wrote: Hello, We're making an application using gnome 2.0 that adds an icon on the statusbar.We've added a context menu to display the menu when the icon is clicked using the right mouse button. tride to do the follwoing in glade too but

And the clipboards lives on...

2005-03-23 Thread Freddie Unpenstein
I'm wondering if anyone could give me pointers on placing some text in the clipboard, without it vanishing as soon as the program closes. I write these two little test applications to see if I could put some text into the clipboard, and then read it back out again... // test program to

Encoding

2005-03-23 Thread Din%$h
Hi Guys, I'm trying to get encoding support for simple xml parser. For the time being it has only ascii support only. As the first implementaion I want to get utf-8 support to it. In order to do this I want to get convert utf-8 stream to ascii format.Do u have any ideas ?. Can

Re: Encoding

2005-03-23 Thread David Necas (Yeti)
On Wed, Mar 23, 2005 at 08:18:39PM +0600, Din%$h wrote: I'm trying to get encoding support for simple xml parser. For the time being it has only ascii support only. As the first implementaion I want to get utf-8 support to it. In order to do this I want to get convert utf-8 stream

Re: Encoding

2005-03-23 Thread André Pedralho
Use the simple xml parser and the string utilities when parsing your code! http://developer.gnome.org/doc/API/2.0/glib/glib-Simple-XML-Subset-Parser.html http://developer.gnome.org/doc/API/2.0/glib/glib-String-Utility-Functions.html On Wed, 23 Mar 2005 20:18:39 +0600, Din%$h [EMAIL PROTECTED]

GtkComboBox(Entry) questions

2005-03-23 Thread Robert Staudinger
Hello, in the progress of porting to GtkComboBoxEntry the following things are not clear to me: + Is the changed signal (supposed to be) fired when text is entered via keyboard and confirmed with enter? + Is is possible (without hooking internals) to to get notification about keystrokes on the

Change color of widgets

2005-03-23 Thread Adrian Hoe
Hi, I am new to this list and am developing some gui application on linux. My application would require to toggle between day or night mode. When the application is in day mode, the widgets will be displayed in normal desktop colors. When it is in night mode, the widgets must be displayed in

Re: Change color of widgets

2005-03-23 Thread Hubert Sokołowski
On Wed, 23 Mar 2005 12:58:22 -0500 Tristan Van Berkom [EMAIL PROTECTED] wrote: Adrian Hoe wrote: Hi, I am new to this list and am developing some gui application on linux. My application would require to toggle between day or night mode. When the application is in day mode,

RE: Using arguments in callbacks

2005-03-23 Thread Irwin Michael G DLVA
Thanks, but this doesn't seem to help. I typed GINT_TO_POINTER(1) in the object box, so that the .glade file looks like this: ... child widget class=GtkToggleButton id=trajectoryTB ... signal name=toggled handler=trajectoryCb after=yes object=GINT_TO_POINTER(1)/ /widget /child ...

Re: Using arguments in callbacks

2005-03-23 Thread Tristan Van Berkom
Irwin Michael G DLVA wrote: I'm not sure what exactly you mean by not supporting dlsym lookups for user data. If I just want to pass a single integer as an argument to my callback, is that even possible? And if so, how do I do it? You are correct that I am trying to build the source with glade.

RE: Using arguments in callbacks

2005-03-23 Thread Irwin Michael G DLVA
Well, I guess I'm making progress, but I still can't get this to work. I have now added the Object trajectoryTB to the toggled Signal with Handler named trajectoryCb for the Widget named trajectoryTB (i.e., it's specifying itself as the object). I no longer get the error I mentioned previously,

Gnome::Canvas::CanvasAA scrolling

2005-03-23 Thread Rose Cumming
Hello, I have a Gtkmm application that uses a Gnome Canvas. On the canvas I draw a grid (using Gnome::Canvas::Line) and some texts (using Gnome::Canvas::Text). When I call the scroll_to method from Gnome::Canvas, the region is scrolled nicely to an offscreen region where I have other plot/pixel