Help with compile.

2002-04-19 Thread Wyatt Greenway
Hello, I need help with my compile! Here is my source, I am just learning gtk, and I am kinda new to linux. I have Linux 7.1, on an i686, I don't know the kernal version (I don't even know if this is relevent). But any way, I try to compile, and it says, [root@abc gtk]# gcc `pkg-config --cflags -

Help with compile!!!

2002-04-19 Thread Wyatt Greenway
Hello, I need help with my compile! Here is my source, I am just learning gtk, and I am kinda new to linux. I have Linux 7.1, on an i686, I don't know the kernal version (I don't even know if this is relevent). But any way, I try to compile, and it says, [root@abc gtk]# gcc `pkg-config --cflags -

Re: libgnomeprint request

2002-04-19 Thread Havoc Pennington
Alberto Manuel Brandão Simões <[EMAIL PROTECTED]> writes: > If we can't do this, help me finding a solution to get that stupid font > from my hundreds fonts. > As a workaround, you could try using strace on the gnome print font scanner, and see which font file was open()'d just before the cras

Re: Accessing context popup menues through keyboard

2002-04-19 Thread Havoc Pennington
Luciano Chavez <[EMAIL PROTECTED]> writes: > > As an aside, CTree is pretty inherently not accessible by the definition > > we're using for GNOME 2. > > The GtkTreeView which replaces it is though, right? Yep, absolutely. > Hmmm. I checked but didn't see one. That's why I borrowed those macro

Re: Accessing context popup menues through keyboard

2002-04-19 Thread Luciano Chavez
On Fri, 2002-04-19 at 16:33, Havoc Pennington wrote: > > Luciano Chavez <[EMAIL PROTECTED]> writes: > > > > I have an app that displays a GtkCTree which registers a signal handler > > for the button_press_event. When the signal handler is invoked, it > > checks to see if the x and y pixel coordi

Re: Accessing context popup menues through keyboard

2002-04-19 Thread Havoc Pennington
Luciano Chavez <[EMAIL PROTECTED]> writes: > > I have an app that displays a GtkCTree which registers a signal handler > for the button_press_event. When the signal handler is invoked, it > checks to see if the x and y pixel coordinates are within a valid row in > the GtkCTree (I use gtk_clist_g

Re: Accessing context popup menues through keyboard

2002-04-19 Thread Luciano Chavez
On Thu, 2002-04-18 at 18:38, Paul Davis wrote: > >I have an app that displays a GtkCTree which registers a signal handler > >for the button_press_event. When the signal handler is invoked, it > >checks to see if the x and y pixel coordinates are within a valid row in > >the GtkCTree (I use gtk_cli

Re: Problem installing glib on Solaris

2002-04-19 Thread Dan Espen
anita setty <[EMAIL PROTECTED]> writes: > I think you need to use gmake. > Hope this helps. It did, thanks. I'd previosly tried gnumake with Suns compiler, but that didn't help. Using gcc and gnumake, the make completed. Thanks again. > --- Dan Espen <[EMAIL PROTECTED]> wrote: > > > > I'm ha

Re: Problem installing glib on Solaris

2002-04-19 Thread anita setty
I think you need to use gmake. Hope this helps. --- Dan Espen <[EMAIL PROTECTED]> wrote: > > I'm having a little trouble installing glib 2.0.1 on > a Solaris 2.6 system. > > I've installed pkg-config 0.12.0, that seemed to go > OK. > > For glib, I did: > > ./configure --prefix=/opt/public > m

Re: Problem installing glib on Solaris

2002-04-19 Thread Dan Espen
Dan Espen <[EMAIL PROTECTED]> writes: > > I'm having a little trouble installing glib 2.0.1 on a Solaris 2.6 system. > > I've installed pkg-config 0.12.0, that seemed to go OK. > > For glib, I did: > > ./configure --prefix=/opt/public > make > > The make ran for a while, but then produced thi

libgnomeprint request

2002-04-19 Thread Alberto Manuel Brandão Simões
Hi all! Libgnomeprint has a installer program to check all the fonts in the system. This is beautifull, but freetype 2 has problems. And one of the problems is that it crashes with one of my ttf fonts (don't know which). And this makes the installer program abort. Couldn't we add an option to sho

Problem installing glib on Solaris

2002-04-19 Thread Dan Espen
I'm having a little trouble installing glib 2.0.1 on a Solaris 2.6 system. I've installed pkg-config 0.12.0, that seemed to go OK. For glib, I did: ./configure --prefix=/opt/public make The make ran for a while, but then produced this: Making all in gobject /u/tools/dane/glib-2.0.1/gobject /

Re: problem with gdk_pixbuf_xlib library

2002-04-19 Thread anita setty
Hi, Yes, I need to use gdk_pixbuf_xlib, we are developing a product in which we are using XLib and OGL for graphics. I can not change the X drawable to GDK drawable as it will result in lot of code changes and will affect other subsystems. So I thought of using the gdk_pixbuf_xlib library to get

Re: upgrading to 2.0.1

2002-04-19 Thread Nick Soffe
Hi Peter, Sorry I haven't tried it yet. I will be doing it over the weekend. I'll let you know if it doesn't work. Can't see why it would touch the 1.2 installation. Perhaps one of the experts on this list can help you. Nick Soffe. On Fri, 19 Apr 2002, Peter Van Osta wrote: > Nick Soffe wrote:

Re: GnomeCanvas

2002-04-19 Thread Mohamed
> thats not what most people mean by "zoom". "zooming" normally means > that the widget size stays the same, and what is displayed within it > is scaled up or down. zooming when the size changes compounds the > effect of the size change, which is hard to imagine as the right thing > unless you wer

Re: GnomeCanvas

2002-04-19 Thread Paul Davis
>I using gnomecanvas to do some vectordrawing , >I want to set the canvas to be able to zoom (out /in) when ever the size >of his parent container changed . thats not what most people mean by "zoom". "zooming" normally means that the widget size stays the same, and what is displayed within it is

Re: (no subject)

2002-04-19 Thread John . Cupitt
xinsir wrote: > i want to use rc file to set window style > like this code : > > style "mybutton" > { > fg[NORMAL] ={1.0,0,0} > bg[NORMAL] ={0.9,0.9,0} > } > > widget_class "btnOk.GtkButton" style "mybutton" > > > but it is invaild. what is the matter? Hi, to set the style for all

Re: query about editable

2002-04-19 Thread John . Cupitt
gdk_window_lookup() only works for windows which have been created by the program you call it from. What are you trying to do? Maybe there is another way. John Jyothi wrote: > But I tried using it . gdk_window_lookup function is always returning > zero. Is there any other function or any

GnomeCanvas

2002-04-19 Thread Mohamed
all, I using gnomecanvas to do some vectordrawing , I want to set the canvas to be able to zoom (out /in) when ever the size of his parent container changed . i have to preserve the proportion between xSize and ySize and the world positions of the items inside the canvas .. which signal schoul

Re: problem with gdk_pixbuf_xlib library

2002-04-19 Thread Sven Neumann
Hi, anita setty <[EMAIL PROTECTED]> writes: > I need to use gdk_pixbuf_xlib_get_from_drawable() > function to get the image from X drawable and store in > pixbuf, so that i can later resize and rescale the > image. > To use gdk_pixbuf_xlib, I think we need to first > initialise with gdk_pixbuf_x

(no subject)

2002-04-19 Thread xinsir
  hi! i want to use rc file to set window style like this code :   style "mybutton" {     fg[NORMAL] ={1.0,0,0}     bg[NORMAL] ={0.9,0.9,0} }   widget_class "btnOk.GtkButton" style "mybutton"     but it is invaild. what is the matter? thanks!