Re: xml messaging

2007-03-16 Thread Keith Sharp
On Fri, 2007-03-16 at 22:23 +1000, Kim Adil wrote: > I'm think about incorporating a communications feature into an app and I > want to send xml data between my gtk/glib network connected clients. If > you know of any convenient glib features or other libraries that are > coded in a similar or comp

Re: GUI programming vs encapsulation

2005-02-04 Thread Keith Sharp
On Fri, 2005-02-04 at 09:23 -0500, John (J5) Palmieri wrote: > C's not flat. Use gobject or at least structs to organize your code. > Never use globals and only use static variables sparingly. Look how > other large projects organize their code. Open Source is good in that > way. Usually larg

Re: http://www.gtk.org/tutorial/sec-anupgradedhelloworld.html

2005-02-17 Thread Keith Sharp
On Thu, 2005-02-17 at 13:05 +0100, Gert Cuykens wrote: > static void callback( GtkWidget *widget, gpointer data ){ > g_print ("Hello again - %s was pressed\n", (gchar *) data); > } > > why do they put () around gchar ? > why can it not be gchar *data ? gpointer is a void pointer and the cal

Re: Which widget can I use for play a video file in GTK

2005-03-22 Thread Keith Sharp
On Tue, 2005-03-22 at 17:01 +0530, vishwahg wrote: > Hi, > > I have a video(mp4) file and I want it to play using GTK based application. > My question is which widget(Gtkpixmap/GTkimage) is fit for play a video file > in GTK?. > Let me your thoughts. You want to look at the bacon-video-widget tha

RE: Which widget can I use for play a video file in GTK

2005-03-24 Thread Keith Sharp
On Thu, 2005-03-24 at 14:06 +0530, vishwahg wrote: > Thanks keith, > I have couple of questions here, > > I have codec, it just decode the mp4 file as YUV file or It can directly > display it on frame buffer (whare x-server is not come into picture). > Here I need to write a GTK application so tha

Re: GTK Coding Conventions

2005-04-13 Thread Keith Sharp
On Tue, 2005-04-12 at 21:31 -0400, Rick Sutphin wrote: > Hello, > > I am a noob to GTK+ programming, and GUI programming in general. I have > worked through the example, and done a few simple programs of my own. > > I would like to improve my programs. Particularly I would like to do > away with

Re: GtkSizeGroup in glade2?

2005-06-13 Thread Keith Sharp
On Mon, 2005-06-13 at 03:09 -0400, Freddie Unpenstein wrote: > Here's a quick question for all you glade fans... > > Anyone know how to use a GtkSizeGroup in glade2? I can't see it anywhere in > the tool palette. > > Failing that, here's what I need to do: > A GtkTable with three rows of four c