Re: closing a window

2004-04-16 Thread Olexiy Avramchenko
Chaitanya RD Kulkarni wrote: hi! i have developed an application using gtk2.0.in my application,along with other windows, there's a window with a button on it.i want to destroy this window when i click the button. i tried using gtk_widget_destroy, with (gpointer)window as the function to be

Re: Set Label on Button with Resource File

2004-04-16 Thread Paul Davis
Hey there, Is that possible to change the Label of a button using just the resource files ? I tried something like widget mywindow.GtkLabel.my_button style white-label in foo.c: gtk_widget_set_name (button, MyFoo); in the RC file: widget *MyFoo style my-button

Re: Set Label on Button with Resource File

2004-04-16 Thread John Cupitt
Olexiy Avramchenko wrote: Hey there, Is that possible to change the Label of a button using just the resource files ? No. You can change only the style stuff like colours, fonts, etc. I tried something like widget mywindow.GtkLabel.my_button style white-label Does anybody have

Re: Performance problems with 8-bit display

2004-04-16 Thread B McAndrews
Thanks John, You mentioned the colors are not correct. Do they become correct when you focus on that window? (The wm you use may have a little influence also). I can't think of anything useful to say regarding the slow rendering. No the colors stay the same when focused. Interestingly, when

problem building gtk+ 2.3.2 under Solaris 2.8/gcc 3.3

2004-04-16 Thread Ziying Sherwin
We are trying to build gtk+ 2.3.2 under Solaris 2.8 using gcc 3.3. We installed pango 1.3.6, libxft 2.1.5, atk 1.5.2, glib 2.3.2 and pkgconfig 0.15.0. During the configuration we got the following message: sh: gnome-config: not found configure: error: Xft version 2 is required for x11 target

GtkEntry and hiding tabs in notebooks

2004-04-16 Thread Fredrik Arnerup
Hello, I have a notebook in which I sometimes want some of the tab to be hidden. Now, I can accomplish this by hiding the page, but the problem is showing it again. If there are GtkEntries on a page, those are shown even if the page itself isn't the active one. I am assuming this because

'synchronous redraw' with a DrawingArea

2004-04-16 Thread Pascal Ognibene
Hi all, I've an application with one main window where I draw some diagrams, and a collection of dialog boxes, always transient for the main window (that is, they're always on the top). When I do modifications in a dialog box and close it it should refresh the diagram immediately then close the

RE: Set Label on Button with Resource File

2004-04-16 Thread Marcos Leal
Thanks Paul, That was exactly what I needed. But is there any way to use just the name of the button that I configured with my Glade (libglade xml) project ? I mean, is there any way of doing that without having to name it on my program (using gtk_widget_set_name) ? []z

Re: Pango 1.2.0 and Xft back end

2004-04-16 Thread busmanus
Original Message Subject: Re: Pango 1.2.0 and Xft back end Date: Fri, 16 Apr 2004 23:01:18 +0200 From: busmanus [EMAIL PROTECTED] To: Chris Bruyere [EMAIL PROTECTED] References: [EMAIL PROTECTED] Chris Bruyere wrote: Hi All. This is my first email to this list. So if I make

Re: 'synchronous redraw' with a DrawingArea

2004-04-16 Thread Sven Neumann
Hi, Pascal Ognibene [EMAIL PROTECTED] writes: I've an application with one main window where I draw some diagrams, and a collection of dialog boxes, always transient for the main window (that is, they're always on the top). When I do modifications in a dialog box and close it it should

Re: Performance problems with 8-bit display

2004-04-16 Thread Valdis . Kletnieks
On Thu, 15 Apr 2004 08:50:04 CDT, B McAndrews [EMAIL PROTECTED] said: Hi, As anyone had performance problems on an 8-bit display? Specifically what I am seeing is extremely slow rendering and when it does, finally render, colors are totally messed up. The conditions that this occurs

Problem compiling gtk+=2.4.0 `ft2build.h' hasn't been included yet!

2004-04-16 Thread bob.snyder
I am trying to build gtk 2.4.0 on an what once was a Slackware 8 system. I have installed atk-1.6.0, glib-2.4.0, pango-1.4.0, and freetype-2.1.7. I am getting the following error. I expect this may have something to do with the fact that older versions of some of these things were in installed