Re: Rotated text

2002-11-21 Thread amitjain
I guess to render rotated text is not a matter of gtk . you can do it easily.it's a matter of logic. isn't it ? - Original Message - From: Ian King [ES] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 21, 2002 4:24 AM Subject: Rotated text Hi, Is is possible to render

gtk-config

2002-11-21 Thread Richard Brunelle
Hi, I'm trying to install gtk+2.0.8 to be able to run another package called LTT. I successfully installed Gtk+. But LTT is asking for gtk-config. I can find it in the source tree. Is is still supported? If yes, what am I missing? Thanks Richard

upgrading from GLIB1.2 to GLIB2.0 ..

2002-11-21 Thread Patrick Quinnett
I have installed 2.0 onto a SuSE system that came with 1.2. Now when I try to install ATK, it does not see the 2.0, just the 1.2. What do you do to disable the 1.2 and enable the 2.0 ??? thanks

Re: Why this comportment ?

2002-11-21 Thread Olexiy Avramchenko
lomba wrote: Hello, i've a big problem with gtk... I create a window, with many elements and a simple button which has to destroy the window when I click on it. I use a gtk_signal_connect with the fonction _widget_destroy and the name of the window in parameter. Unfortunately, this is my button

Re: Creating threads within widget draw routines ..

2002-11-21 Thread Havoc Pennington
On Thu, Nov 21, 2002 at 09:30:42AM -0500, Paul Davis wrote: thread wake up and draw the updates. A simple way to wake up the main thread is to just gtk_widget_queue_draw() on the display area from the secondary thread, or just add a one-shot idle function yourself to the main GMainContext. Or

Events list

2002-11-21 Thread Arthur Barlow
I'm sure it's in the documentation, but I haven't found it yet. Is there a complete list of all valid events for the g_signal_connect() function? ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: drawing area to image file ???

2002-11-21 Thread Olexiy Avramchenko
42052670 wrote: Can I save or snap my Drawing Area into image file such as JPG, GIF? /* VERY SIMPLIFIED and UNTESTED example */ static void save_2_jpeg(GtkWidget *area) { GdkPixbuf *pixbuf; pixbuf = gdk_pixbuf_get_from_drawable( NULL,

Re: upgrading from GLIB1.2 to GLIB2.0 ..

2002-11-21 Thread Murray Cumming
On Thu, 2002-11-21 at 13:39, Patrick Quinnett wrote: I have installed 2.0 onto a SuSE system that came with 1.2. Now when I try to install ATK, it does not see the 2.0, just the 1.2. What do you do to disable the 1.2 and enable the 2.0 ??? Tell us how you installed it. From binaries or

Re: Rotated text

2002-11-21 Thread Mark Mielke
On Thu, Nov 21, 2002 at 09:56:10AM -0800, Ian King [ES] wrote: What makes you think this is so easy? For 90, 180 and 270 degrees it's fairly simple but what about 45? I have played about with the gimp and they only support limited (90, 180, 270) rotation. Am I missing something here, gdk

Re: Rotated text

2002-11-21 Thread Valdis . Kletnieks
On Thu, 21 Nov 2002 13:16:52 EST, Mark Mielke said: To rotate text, do the following: 1) Draw the text onto an offscreen image area. 2) For each pixel: 2a) Determine the offset and angle for the pixel from the 'center'. 2b) Plot the pixel (with transparency

Re: Rotated text

2002-11-21 Thread Sven Neumann
Hi, Ian King [ES] [EMAIL PROTECTED] writes: What makes you think this is so easy? For 90, 180 and 270 degrees it's fairly simple but what about 45? I have played about with the gimp and they only support limited (90, 180, 270) rotation. Am I missing something here, gdk allows me to render

Row Drag and Drop in Treeview

2002-11-21 Thread Kent Schumacher
Hi, Has anyone implemented dragging a row from a GtkTreeView and dropping it somewhere else? Can you post a procedure, or some code, or point me towards some source code that does this? I'm at a total loss as to what to do to implement this in some sort of 'sanctioned' fashion. Thanks, kent

How can I save a drawinf area into impage file ?

2002-11-21 Thread 42052670 [EMAIL PROTECTED]
Hello, I have some question... Can I save or snap my Drawing Area into image file such as JPG, GIF? Please, tell me. Thank you

Re: gtk-config

2002-11-21 Thread Cédric Marcone
It seems that LTT depends on gtk+1.x which is incompatible with gtk+2.x... but parallel installable. On Wed, 2002-11-20 at 23:15, Richard Brunelle wrote: Hi, I'm trying to install gtk+2.0.8 to be able to run another package called LTT. I successfully installed Gtk+. But LTT is asking for