Re: gdk_window_set_decorations doesn't work

2002-04-02 Thread Neil Bird
Around about 02/04/02 18:51, Christian Biesinger typed ... > On Tue, Apr 02, 2002 at 12:35:37PM -0500, Paul Davis wrote: >>AFAIK, gdk_window_set_decorations() is intended to be used before the >>window is shown, and does not do anything after the window has been >>mapped (shown). i could be wrong

Re: gtk2 Segmentation faults

2002-03-18 Thread Neil Bird
Around about 17/03/02 22:47, Kristian Peters typed ... > Program received signal SIGSEGV, Segmentation fault. > gdk_window_get_geometry (window=0x0, x=0x0, y=0x0, width=0x4067ef5c, >height=0x4067ef60, depth=0x0) at gdkwindow-x11.c:2147 > in gdkwindow-x11.c > (gdb) Do a 'bt' command in g

Re: gtknotebook & pixmap

2002-03-01 Thread Neil Bird
Around about 01/03/02 01:15, mrzali scribbled ... > Actually i want to put pixmap on the "label" (tittle of the tab). Erm - what do you /think/ the following line does, then? > gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), > gtk_notebook_get_nth_page (GTK_NOTEBOOK (noteboo

Re: gtknotebook & pixmap

2002-02-28 Thread Neil Bird
Around about 28/02/02 09:48, mrzali scribbled ... > How i want to attach pixmap into gtk-notebook-tab? > As far i know we can only set label on it. > Any suggestion. Do it in glade! Here's an edited example of how glade does it: notebook1 = gtk_notebook_new (); empty_notebook_page

Re: Howto put multiple widgets into a single notebook page

2001-11-26 Thread Neil Bird
Around about 11/26/01 07:44, thomas wong scribbled ... > I am wondering how to put multiple widgets into a Notebook page. > I tried to pack two labels into a table. Then add the table widget into the notebook. > When I run it the page is shown but contain nothing. The command prompt show a err

Creeping gaps in GtkToolbar

2001-11-14 Thread Neil Bird
This was noticed in ther GTK+ (1.2.10) build of vim, but looking at the code, it seems more likely to be a bug in GTK. What happens is that when an item in a toolbar is removed*, a small gap is left behind - continued adding/removal of an item at a specific point causes an ever expandin

Re: 2 pixmap on atransparent window

2001-10-31 Thread Neil Bird
[EMAIL PROTECTED] wrote: > please how to modify the weelbarrow exemple to have 2 pixmap showen?? You can only 'shape' to one bitmap. You'll have to load both pixmaps, get the sizes of them (gdk_window_get_size((GdkWindow *)pixmap,&w,&h)), then create a new bitmap of the correct size; fi

Re: gtk_widget_shape_combine_mask ()???

2001-10-30 Thread Neil Bird
[EMAIL PROTECTED] wrote: > please can you explain to me the diffrent parameters of the function : > gtk_widget_shape_combine_mask?? See if the GTK+ example (from the distribution) wheelbarrow.c helps. -- [neil@fnx ~]# rm -f .signature [neil@fnx ~]# ls -l .signature ls: .signature: No such

Re: howto exchange one widget with another widget

2001-10-22 Thread Neil Bird
Caspar Bothmer wrote: > I want to show a frame/button/whatsoever in one window and on user > interaction I want to exchange it against another one of the same size. Two things spring to mind: you could create a dummy holder (not visible) for the alternate widget. Then have the widget to b

Re: GtkNotebook Sloppy Focus

2001-10-12 Thread Neil Bird
Daniel Erat wrote: >> I don't know about that; I though 'motion' events represented >> mouse-drags with buttons held down, not 'mere' random mouse >> movements. > Could be; it's entirely possible I'm wrong. :) In Galeon's draggable > tabs code, the motion handler is only connected after the n

Re: GtkNotebook Sloppy Focus

2001-10-10 Thread Neil Bird
Daniel Erat wrote: > I think that one way to do this would be something like the following (this > very well may have bugs... I haven't tested it, but it's similar to some of > the code that I'm using for draggable tabs): > > gtk_widget_add_events (notebook, GDK_POINTER_MOTION_MASK); I don't

GtkVim widget - anyone interested?

2001-09-27 Thread Neil Bird
I've written a basic GtkVim widget to supplement the new vim 6.0 release. I've not yet the time to set up a web page off which to hang it; would there be enough interest here (use or comments) to warrant my posting it? FWIW, it's a subclass of GtkSocket, as I doubt we'll ever be a

GtkSocket focus control?

2001-07-25 Thread Neil Bird
ished? -- =- http://www.thalesgroup.com/ - Neil Bird Principal Engineer | work - mailto:[EMAIL PROTECTED] | $> cd /pub personal - mailto:[EMAIL PROTECTED] | $> more beer ___ gtk

Re: New Container Widget RFC

2001-06-15 Thread Neil Bird
gravity, but I've not looked very hard. -- =- http://www.thalesgroup.com/ -= Neil Bird Principal Engineer | work - mailto:[EMAIL PROTECTED]|$> cd /pub personal - mailto:[EMAIL PROTECTED] |$> more beer __

Re: Vertical strings in a PixMap

2001-05-04 Thread Neil Bird
Havoc Pennington wrote: > Neil Bird <[EMAIL PROTECTED]> writes: > > Am I right in remembering that GTK has a pixmap rotation jobby? > Nope. ;-) That's the fatal flaw in your plan! muhahahaha @rse. I know asclock does rotation somehow from when I was poking around insid

Re: Vertical strings in a PixMap

2001-05-04 Thread Neil Bird
gle routine :-) -- =- http://www.thalesgroup.com/ -===== Neil Bird Principal Engineer | work - mailto:[EMAIL PROTECTED]|$> cd /pub personal - mailto:[EMAIL PROTECTED] |$> more beer ___

Re: GTK rc binding question

2001-04-27 Thread Neil Bird
tp://www.thalesgroup.com/ -= Neil Bird Principal Engineer | work - mailto:[EMAIL PROTECTED]|$> cd /pub personal - mailto:[EMAIL PROTECTED] |$> more beer ___ gtk-list mailing list [EMAIL PR

Re: GTK rc binding question

2001-04-26 Thread Neil Bird
t to having given up trying to understand what's going on enough to counter it :-( IMHO, it's a bug, if not only because the binding code's called in the wrong place/environment. But there may bve a good reason. -- =- http://www.thalesgro

Re: GTK rc binding question

2001-04-26 Thread Neil Bird
Neil Bird wrote: > I've tried following the code through, but it's a maze of signals & > event-queues - I got hopelessly lost! Further info. In the gtkbindings code, if one of the buttons has the focus, *it* gets the key_press event

Re: GTK rc binding question

2001-04-26 Thread Neil Bird
there an editable-specific way of doing this, then? I've tried following the code through, but it's a maze of signals & event-queues - I got hopelessly lost! -- =- http://www.thalesgroup.com/ -= Neil Bird Principal Engineer |

GTK rc binding question

2001-04-25 Thread Neil Bird
tr?, user-data? ); } }; widget "*.GtkEditable" binding "clipboard_binding"; But how am I supposed to pre-guess the args. for the signal handler? -- =- http://www.thalesgroup.com/ -= Neil Bird Principal Engineer

Re: gtk_clist_clear bug?

2001-04-25 Thread Neil Bird
-O2, gcc 2.95.2]. -- =- http://www.thalesgroup.com/ -= Neil Bird Principal Engineer | work - mailto:[EMAIL PROTECTED]|$> cd /pub personal - mailto:[EMAIL PROTECTED] |$> more beer __

Re: New widget - style inheritance?

2001-03-12 Thread Neil Bird
d widget, cloned from the GtkButton widget code. -- =- http://www.thalesgroup.com/ -= Neil Bird Principal Engineer | work - mailto:[EMAIL PROTECTED]|$> cd /pub personal - mailto:[EMAIL PROTECTED] |$> more beer

New widget - style inheritance?

2001-03-09 Thread Neil Bird
tp://www.thalesgroup.com/ -= Neil Bird Principal Engineer | work - mailto:[EMAIL PROTECTED]|$> cd /pub personal - mailto:[EMAIL PROTECTED] |$> more beer ___ gtk-list maili

Formally request *X* focus?

2001-03-06 Thread Neil Bird
What's the proper way to ask the WM to give input focus to a newly popped-up dialogue box? I can't see any obvious or non-obvious GTK/GDK calls/hints/etc. -- =- http://www.thalesgroup.com/ -===== Neil Bird Principa

Re: Erroneous colors problem

2001-02-22 Thread Neil Bird
Neil Bird wrote: > What could cause GTK to start picking daft colours like this? It's not > my theme, as it happens for other users with diff. themes, inc. the > default. Ah. I'd thought I was being clever and 'optimising' the checks that GTK would have to m

Erroneous colors problem

2001-02-22 Thread Neil Bird
es, inc. the default. -- =- http://www.thalesgroup.com/ -= Neil Bird Principal Engineer | work - mailto:[EMAIL PROTECTED]|$> cd /pub personal - mailto:[EMAIL PROTECTED] |$> more beer __

Re: Redrawing a widget

2001-02-01 Thread Neil Bird
ally force the thing to be drawn? e.g., XFlush( GDK_DISPLAY() ); -- =- http://www.thalesgroup.com/ -= Neil Bird | If this .signature | work mailto:[EMAIL PROTECTED] | looks pants, then| $> cd /pub personal mailto:[EM

Identifying a widget in any app.

2001-01-29 Thread Neil Bird
st place to put that sort of thing? Is there a standard GTK/GNOME to put app-specific gtkrc files? Or does everything go in ~/.gtkrc.mine ? -- =- http://www.thalesgroup.com/ -= Neil Bird | If this .signature | work mailto:[EMAI

Re: 2 events with the GDK

2001-01-24 Thread Neil Bird
end of your for-loop, then set a flag upon the second click (when your routine's called for the 'second' time) that can cause your for-loop to terminate. -- =====- http://www.thalesgroup.com/ -= Neil Bird | If thi

Re: gtk themes

2001-01-22 Thread Neil Bird
: why haven't *any* of the theme authors noticed? Or have they got a secret fix they've implemented globally? -- =- http://www.thalesgroup.com/ -= Neil Bird | If this .signature | work mailto:[EMAIL PROTE

Re: GTK tooltips theming fixed?

2001-01-11 Thread Neil Bird
do it. I have to add (assuming the theme uses a "default" style): widget "gtk-tooltips" style "default" ... to the gtkrc of each theme. That then makes it work. And even then, I'm not sure why (I cribbed it from a 1-2 year old GTK mailing-list archi

GTK tooltips theming fixed?

2001-01-10 Thread Neil Bird
w on from that - should I be wary of installing GTK 1.3.x, or jump in feet first? I've not seen anything WRT compatibility issues. -- =- http://www.thalesgroup.com/ -= Neil Bird | If this .signature | work mailto:[EMAIL PRO