Re: GObject constructors

2006-12-08 Thread Yeti
On Fri, Dec 08, 2006 at 12:32:25AM -0500, Samuel Cormier-Iijima wrote: I was wondering if there was a way for GObject *constructors* (not some_object_new, but some_object_constructor which is overridden in class_init) to raise an error or somehow prevent the object from being constructed if

Learning Gtk+ from C#

2006-12-08 Thread Jesper K. Pedersen
I have taken it upon myself to learn a new programming language and not least learn to work with graphical user interface for which I ended up selecting Gtk+ (Gtk#) Having started to just make a small calculator as a getting started project I have run into a small issue with the text entry kind

Using existing cairo context for GtkDrawingArea

2006-12-08 Thread asubedi
Hi, I am trying to create a Graph widget using Cairo. I am using Ruby, but you can reply in any language you prefer. In the examples I have seen about using cairo in gtk application, most create a cairo context from GtkDrawingArea in the handler of expose event. However, I would like to create a

Need to disable system menu

2006-12-08 Thread Anurag Chaudhary
I need to stop the popping up of the system menu that appears on right-clicking on the title bar. Any help?? Thanks Anurag _ Discover. Explore. Connect-Windows Live Spaces. Check out!

Re: Need to disable system menu

2006-12-08 Thread Gian Mario Tagliaretti
2006/12/8, Anurag Chaudhary [EMAIL PROTECTED]: I need to stop the popping up of the system menu that appears on right-clicking on the title bar. Any help?? If you are talking about the window decorations that's window manager stuff and AFAIK you can't stop the emission of the right-click mouse

Re: API to send keyboard events to kernel

2006-12-08 Thread Michael 'Mickey' Lauer
[EMAIL PROTECTED] wrote: Is there any API by which I can send any keyboard event to kernel? Look into the uinput subsystem. Regards, :M: -- Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de ___ gtk-app-devel-list mailing list

Re: Using existing cairo context for GtkDrawingArea

2006-12-08 Thread Ivan Baldo
Hello. You can't AFAIK. GTK is double buffered, for every expose event, it draws to a different place. When you draw on the expose event, you are not drawing into the visible area of the screen, when the expose event is finished, GTK switches the drawing you just did offscreen to

Re: Need to disable system menu

2006-12-08 Thread Michael Torrie
On Fri, 2006-12-08 at 15:46 +0530, Anurag Chaudhary wrote: I need to stop the popping up of the system menu that appears on right-clicking on the title bar. Any help?? This is not something you can reliably do from GTK. The system menu and titlebar is a function of the running window manager,

Re: Learning Gtk+ from C#

2006-12-08 Thread Edward Catmur
On Thu, 2006-12-07 at 20:27 +0100, Jesper K. Pedersen wrote: Having started to just make a small calculator as a getting started project I have run into a small issue with the text entry kind of widget. I have disabled entering data into the entry (as I am to limit content to only numbers

events description

2006-12-08 Thread giovanni gherdovich
Hello. Where can I find a description for each event I can handle with Gtk? example: the configure_event occurs when widget changes size, the expose_event occurs when a widget ... and so on. Best regards, Giovanni Gherdovich __ Do You Yahoo!?

Re: events description

2006-12-08 Thread wallace . owen
On Fri, 2006-12-08 at 22:57 +0100, giovanni gherdovich wrote: Hello. Where can I find a description for each event I can handle with Gtk? example: the configure_event occurs when widget changes size, the expose_event occurs when a widget ... and so on. gtk widgets handle expose