Re: Why can't scale orientations be changed?

2001-05-04 Thread Havoc Pennington
<[EMAIL PROTECTED]> writes: > You can change the orientation of Toolbar widgets. Why doesn't the Scale > class support an orientation attribute so you can avoid having separate > HScale and VScale widgets? > No good reason, it was just done that way. All the H/V widget pairs are from fairly ea

Re: PROBLEM: Can't compile Gtk+-1.3.4

2001-05-04 Thread skip
Otto> I did look at ld.so.conf but I wasn't sure how to change Otto> it. Adding /usr/local/lib and running ldconfig solved the Otto> problem. Could it be possible to print this library path in the Otto> error text. So I might have been able to fix it myself. When install actions

Re: Vertical strings in a PixMap

2001-05-04 Thread Bernhard Herzog
Havoc Pennington <[EMAIL PROTECTED]> writes: > Colin Thomas <[EMAIL PROTECTED]> writes: > > > > I would like to write a string to a pixmap, but have the string be rotated. > > i.e. vertical text. > > > > I have looked at the gdk_draw_string function, and font objects, and have > > not managed t

Re: Vertical strings in a PixMap

2001-05-04 Thread Ian Britten
On 04 May 2001 09:54:50 -0400 Havoc Pennington <[EMAIL PROTECTED]> wrote: > Colin Thomas <[EMAIL PROTECTED]> writes: > > > > I would like to write a string to a pixmap, but have the string be rotated. > > i.e. vertical text. > > > > I have looked at the gdk_draw_string function, and font object

Re: PROBLEM: Can't compile Gtk+-1.3.4

2001-05-04 Thread Otto Wyss
> > > successfully compiling Glib-1.3.4 and after finally successfully > > > compiling Pango-0.15 I can't configure Gtk+-1.3.4. When I use [...] > Did you look at the config.log errors? Did you look at /etc/ld.so.conf? > > ld.so.conf is just a list of directories where you've installed stuff, > i

problem with gtk with threads

2001-05-04 Thread R.Srinivasan Madusudanan
hi all, i am developing a gui application in gtk with redhat linux6.2. my application uses threads along with gtk. i am creating an gui using gtk in one thread and doing some processing in another thread. based on some results in later thread , i insert some text in the text widget in the gu

Why can't scale orientations be changed?

2001-05-04 Thread skip
You can change the orientation of Toolbar widgets. Why doesn't the Scale class support an orientation attribute so you can avoid having separate HScale and VScale widgets? -- Skip Montanaro ([EMAIL PROTECTED]) (847)971-7098 ___ gtk-list mailing list

Re: Vertical strings in a PixMap

2001-05-04 Thread Ronald Bultje
On 2001.05.04 17:12:36 +0200 Neil Bird wrote: > 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

Re: Vertical strings in a PixMap

2001-05-04 Thread Gary Wong
Havoc Pennington <[EMAIL PROTECTED]> writes: > Colin Thomas <[EMAIL PROTECTED]> writes: > > I would like to write a string to a pixmap, but have the string be rotated. > > i.e. vertical text. > > You are doomed, GTK just uses the underlying X string-drawing > mechanism, and X does not support thi

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 inside it, but now I come to

Re: Vertical strings in a PixMap

2001-05-04 Thread Mark Leisher
Havoc> You are doomed, GTK just uses the underlying X string-drawing Havoc> mechanism, and X does not support this. X itself doesn't, but the cool little "xvertext" package does. It can be found in one of the contrib directories on the X.Org sites (http://www.x.org or ftp://ftp.x.org).

Re: Question re configure_event.

2001-05-04 Thread Havoc Pennington
Colin Thomas <[EMAIL PROTECTED]> writes: > Now I need to write to one of the drawing areas BEFORE the window has ever been > displayed, and had a configure_event. > Assuming you could do this, it would be a no-op; X/GTK does not "remember" the contents of the drawing area. Only the visible con

Re: Vertical strings in a PixMap

2001-05-04 Thread Havoc Pennington
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 Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listi

Re: Vertical strings in a PixMap

2001-05-04 Thread Neil Bird
Havoc Pennington wrote: > You are doomed, GTK just uses the underlying X string-drawing > mechanism, and X does not support this. Am I right in remembering that GTK has a pixmap rotation jobby? If so, you could write a /fairly/ simple wrapper to write the text to a temporary 1-bit pixmap (there

Re: Using gifs/jpegs for icons

2001-05-04 Thread Havoc Pennington
Andrei Zmievski <[EMAIL PROTECTED]> writes: > If I wanted to use gif/jpeg files for icons or other images in the > application, what's my best route to take? GdkPixbuf and then use its > gdk_pixbuf_render_to_drawable() function? > Yep, since pixbuf will be in GTK 2 it's the clear choice for ima

Re: Vertical strings in a PixMap

2001-05-04 Thread Bill Haneman
>You are doomed, GTK just uses the underlying X string-drawing >mechanism, and X does not support this. > >The only thing you can do is use some sort of client-side font >rendering, then push a big bitmap of your string onto the X >server. People sometimes use FreeType for that. > >Havoc If you

Question re configure_event.

2001-05-04 Thread Colin Thomas
Hi .. I have an application with a number of windows, each with a drawing area, and pixmap associated with it. At start-up all of the windows are created, but NOT displayed - various buttons display these as required. Now I need to write to one of the drawing areas BEFORE the window has ever b

Re: Vertical strings in a PixMap

2001-05-04 Thread Havoc Pennington
Colin Thomas <[EMAIL PROTECTED]> writes: > > I would like to write a string to a pixmap, but have the string be rotated. > i.e. vertical text. > > I have looked at the gdk_draw_string function, and font objects, and have > not managed to locate a switch to control text rotation. > > Any hints

Re: What are map and realize for?

2001-05-04 Thread Havoc Pennington
Esteban Quijano Vincenzi <[EMAIL PROTECTED]> writes: > What are map and realize functions for? > Why are they so important? > See http://mail.gnome.org/archives/gtk-app-devel-list/2001-April/msg00317.html for some discussion. realize puts the widget on a display, realizing its conceptual prope

Using gifs/jpegs for icons

2001-05-04 Thread Andrei Zmievski
If I wanted to use gif/jpeg files for icons or other images in the application, what's my best route to take? GdkPixbuf and then use its gdk_pixbuf_render_to_drawable() function? -Andrei "Perl - the only language that looks the same before and after RSA encryption." -Keith Bostic _

Vertical strings in a PixMap

2001-05-04 Thread Colin Thomas
Hi, I would like to write a string to a pixmap, but have the string be rotated. i.e. vertical text. I have looked at the gdk_draw_string function, and font objects, and have not managed to locate a switch to control text rotation. Any hints on where I should be looking ?? I look forward to you