Best way to get data from an http URL

2008-06-24 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm looking at trying to get a simple xml file back from a web site and I'm wondering if glib has anything that can do that for me, or do I need to go to another lib like libsoup. Any recommendations? Thanks, Kevin - -- Get my public GnuPG key from

Re: Interaction of Pango Wrapping and Alignment

2008-06-24 Thread John Boncek
I just showed that it works in a small test program (and should have done that before posting, sorry), so there must be something else going wrong in the application. We've knocked our heads on this one for a long time. Thanks. John Behdad Esfahbod-3 wrote: > > > Works here: > > $ pango-vi

Re: GtkSocket and GtkPlug

2008-06-24 Thread natan yellin
Hello, On Tue, Jun 24, 2008 at 7:14 PM, ali abdallah <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to write a small application with can load plugins using gtk and > glib. > > i create a gtksocket and then i pass the socket_id to the gtkplug, > everything seems to be fine, but i need to add

Re: Interaction of Pango Wrapping and Alignment

2008-06-24 Thread Behdad Esfahbod
On Tue, 2008-06-24 at 09:43 -0700, John Boncek wrote: > pango_layout_set_alignment with either PANGO_ALIGN_CENTER or > PANGO_ALIGN_RIGHT apparently has no effect when wrapping is turned off. Works here: $ pango-view --align center --text $'tes\ning' Gives me something that looks like this:

Interaction of Pango Wrapping and Alignment

2008-06-24 Thread John Boncek
pango_layout_set_alignment with either PANGO_ALIGN_CENTER or PANGO_ALIGN_RIGHT apparently has no effect when wrapping is turned off. I have been unable to find any statement in the documentation or mailing list about this, or with extensive use of Google. Perhaps this was a design choice reflect

Re: ui tweaking tips

2008-06-24 Thread Christopher Harvey
Message: 1 Date: Tue, 24 Jun 2008 11:47:53 +0300 From: "natan yellin" <[EMAIL PROTECTED]> Subject: Re: tips for making pretty ui To: gtk-app-devel-list@gnome.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Hello, On Tue, Jun 24, 2008 at 3:34 AM, Christ

GtkSocket and GtkPlug

2008-06-24 Thread ali abdallah
Hi all, I'm trying to write a small application with can load plugins using gtk and glib. i create a gtksocket and then i pass the socket_id to the gtkplug, everything seems to be fine, but i need to add a menu when the widget shown in the gtkplug container got clicked, connecting to button-press

Re: IME and GTK Input Method Contexts

2008-06-24 Thread Girish
aniket ray wrote: Hi, Is there a way to find out if an IME is active or not, within a gtk application. I tried sending key events to the GtkIMContext using gtk_im_context_filter_keypress. This seems to be returning true, even if no ime is active. What i want to achieve is that if no IME is acti

Re: tips for making pretty ui

2008-06-24 Thread natan yellin
Hello, On Tue, Jun 24, 2008 at 3:34 AM, Christopher Harvey <[EMAIL PROTECTED]> wrote: > Hi, > I think I've got the ropes of gtk down pat, except that I don't know how to > create cool and unique windows. I want to create a small window that sits in > the dock most of the time, then pops up a smal