Re: gtk_entry_get_text() - having problems with return type

2003-03-05 Thread Keith Sharp
On Wed, 2003-03-05 at 01:16, Raymond Wan wrote: Hi, On Wed, 5 Mar 2003, Ben LeMasurier wrote: warning: assignment makes pointer from integer without a cast gethostbyname() requests a char * and gtk_entry_get_text() returns G_CONST_RETURN gchar* According to the glib docs, a

Re: Destroying a Dialog Box....

2003-11-30 Thread Keith Sharp
On Sun, 2003-11-30 at 08:52, Hari Prasad Nadig wrote: [Snip] Basically, I'm trying to put a cancel button which closes the dialog.. Is this a proper method or is there any 'proper' way of doing this? How about using a GtkDialog?

Re: gtktree functions

2003-12-26 Thread Keith Sharp
On Fri, 2003-12-26 at 15:20, Ashok Chauhan wrote: where i can get gtk_tree_view_set_model functions descriptions? there functionalities. Start at: http://developer.gnome.org/doc/API/2.0/gtk/TreeWidgetObjects.html and in particular:

Re: helpon porting gtk-1.2 to gtk-2.x

2003-12-30 Thread Keith Sharp
On Tue, 2003-12-30 at 13:49, [EMAIL PROTECTED] wrote: I had references to god web pages on this subject, but I have lost them. Can someone point me in the right direction? Try: http://developer.gnome.org/dotplan/porting/ Keith. ___

Re: GTK-Treeview ( unallocate listStore )

2004-01-17 Thread Keith Sharp
On Fri, 2004-01-16 at 18:33, Chris De Maeyer wrote: On Fri, 2004-01-16 at 13:50, Brice LEROY wrote: Hello, I looking for a solution to deallocate a liststore loaded in a treeview. If you know a function to get the pointer to the gtk_list_store loaded in a treeview to delete with

Re: Create Makefile

2004-01-19 Thread Keith Sharp
On Mon, 2004-01-19 at 14:10, Manoj tr wrote: Hai How to create Makefile.am , Makefile and Makefile.in for a group of source programs in c Have a look at this tutorial: http://bo.majewski.name/bluear/gnu/GTK/plain/index.htm Keith. ___ gtk-list

Re: GTK+ books

2004-02-06 Thread Keith Sharp
On Fri, 2004-02-06 at 10:45, Serdar Ozgur ATA wrote: Hello Could you give me your advices about books on GTK+ which you're familiar with, As I can see on the NET , there are quite a few GTK+ programming books available in the market and unfortunately many of them are not good according to

Re: gtK+ tutorials

2004-04-06 Thread Keith Sharp
On Tue, 2004-04-06 at 07:17, rohit goel wrote: i m newbie in gtk+ . from where to download gtk+ tutorials please let me know ...rohit Try: http://www.gtk.org/tutorial/ Keith. ___ gtk-list mailing list [EMAIL PROTECTED]

Re: How to get Source code of gtk FileSelection widget

2004-04-14 Thread Keith Sharp
On Wed, 2004-04-14 at 16:26, Chaitanya RD Kulkarni wrote: I need to modify the FileSelection widget-i want to add a few more buttons to it i would like to change the name of Cancel button to Next.What shall i do? how can i get the source code of FileSelection widget so that i can modify it?or

Re: learning gtk - callbacks

2004-09-25 Thread Keith Sharp
On Fri, 2004-09-24 at 16:30 -0700, greg wolski wrote: Hi there, I am trying to learn gtk and I have a hard time to understand signals. This comes from helloworld in tutorial g_signal_connect (G_OBJECT (window), delete_event, G_CALLBACK (delete_event), NULL);

Re: Source compiling for gtk+ 2.2 and 2.4

2004-12-11 Thread Keith Sharp
On Sat, 2004-12-11 at 14:42 +0100, antongiulio wrote: Hi, in my little app I have used 'gtkcombobox' widget. In a system with gtk+ 2.4.x installed, it works, but in system with gtk+ = 2.2 I got errors on compiling. Since v2.4 GtkComboBox has replaced 'deprecated' GtkOptionMenu. Is there

Re: Beginner questions ...

2004-12-15 Thread Keith Sharp
On Wed, 2004-12-15 at 18:29 +0100, Sam B wrote: Hello and thank you for reading my post ! I have a few questions about gtk+, sorry, I am a beginner : 1) I use the widget to get a filename with a menu (I don't remember its name). I connected the Cancel button signal to widget_destroy and

Re: simple text editing

2004-12-21 Thread Keith Sharp
On Tue, 2004-12-21 at 08:34 -0800, [EMAIL PROTECTED] wrote: Hello, I'm very new to GTK and Linux programming in general-- I come from a Win32 background. I am very fond of the free software movement and for that reason, among others, have chosen gnome to use as my environment and have

Re: How to use Gtk+1.2 Load a PNG Graphic.(duanjf)

2005-04-12 Thread Keith Sharp
On Tue, 2005-04-12 at 17:23 +0800, wrote: Hello. I want to usr Gtk+1.2 Load a Png picture. How can I do? GdkPixbuf: http://developer.gnome.org/doc/API/gdk-pixbuf/index.html Keith. ___ gtk-list mailing list gtk-list@gnome.org

Re: glib.2.6.0.pc

2005-07-17 Thread Keith Sharp
On Sun, 2005-07-17 at 14:16 +0530, Abhishek Misra wrote: Hello, for glib-2.6.0 i have done /configure make rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h make install all this comleted without any errors but /usr/lib/pkgconfig/ still does not contaion

Re: Icon in a tray - how?

2005-12-01 Thread Keith Sharp
On Tue, 2005-11-29 at 12:43 +0300, Igor Gorbounov wrote: Tell me, please, what widget (or anything else) can be used to represent an application by an icon in the tray (or notification area applet?)? I think you want libegg: http://cvs.gnome.org/viewcvs/libegg/ In particular,

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 call to

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 , or

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

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