Broken Input Shaping

2008-05-15 Thread natan yellin
Hello, I've been trying to get gdk_window_set_child_input_shapes() to work without success. Interestingly, if I don't use an input shape and I just call gdk_window_set_child_shapes then it works fine. As far as I can tell, the function is totally broken. If someone can confirm that it doesn't

Disabling print range settings?

2008-05-15 Thread Enrico Tröger
Hi, is there any way to disable or overwrite the print range in GtkPrintSettings? The implementation of printing in my application currently doesn't support a range of pages. So I'd like to disable the selection of such or at least to overwrite the user's choice. I tried this in the begin-print

Multi-Color Buttons?

2008-05-15 Thread Schumi Imor
Hello, I'm new to GTK+ 2.0 and would like to get some ideas or expert advice on how to do or if this is doable. I have a button (vertically-rectangular shaped with 3 lines = shown below), line 1: a letter, line 2: a seperator - line 3: a letter. What it the best way to make this button

Re: Is this a bug of GMainLoop?

2008-05-15 Thread Tor Lillqvist
But I don't know whether it affects other part of glib program. That is indeed the problem;) The code in giowin32.c is extremely fragile and somewhat ad-hoc. I spent several hours yesterday going over the debugging output, attempting small changes here and there. (I didn't come up with your

Re: Minutes of the GTK+ Team IRC meeting - 2008-05-13

2008-05-15 Thread Mikkel Kamstrup Erlandsen
2008/5/14 Emmanuele Bassi [EMAIL PROTECTED]: On Wed, 2008-05-14 at 22:15 +0300, Stefan Kost wrote: * rework the gobject tutorial - it is old and unmaintained - the signals section is broken - teaches bad practises I can go over it. Please send me pointers to what you want to

Re: Minutes of the GTK+ Team IRC meeting - 2008-05-13

2008-05-15 Thread Alberto Ruiz
2008/5/15 Mikkel Kamstrup Erlandsen [EMAIL PROTECTED]: 2008/5/14 Emmanuele Bassi [EMAIL PROTECTED]: On Wed, 2008-05-14 at 22:15 +0300, Stefan Kost wrote: * rework the gobject tutorial - it is old and unmaintained - the signals section is broken - teaches bad practises I can go

placing a cursor and scrolling automatically

2008-05-15 Thread Jacques Le Normand
Hello gtk-devel, I've created a text view in a scrolled window and I'd like my scrolled window to automatically scroll whenever the cursor goes offscreen. Here's my code(in ocaml) open Gobject let _ = let source_window = GWindow.window () in let scrolled_window = GBin.scrolled_window

Re: proposal: substantial change to keyboard-driven action handling

2008-05-15 Thread Federico Mena Quintero
On Tue, 2008-05-06 at 10:47 -0400, Paul Davis wrote: Any given GtkWidget has zero or more maps that connect a key event tuple to a closure. When a key event is received by a GtkWindow, the window first allows the focus widget to look up an event in its map(s) of tuples/closures. If the event

Re: problem finding the position of a button in the gtk dialog ( sample code inside )

2008-05-15 Thread Federico Mena Quintero
On Wed, 2008-05-07 at 11:33 +0530, chirag juneja wrote: approach i am using is : i will find the distance of the button from its parent, and then its parent's distance form its parent .. and so on, till i get toplevel window. then i am adding the decoration's height, border's width and

Re: Gdk patch review request

2008-05-15 Thread Federico Mena Quintero
On Wed, 2008-05-14 at 15:31 +0200, Danny Baumann wrote: since a couple of weeks, I have two patches pending in Bugzilla that fix problems which seemingly are bugs in Compiz, but actually are Gdk problems. As we (== Compiz people) are getting quite some bug reports about both issues, I want to