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

The API probably has that covered

2005-04-13 Thread Athanasios Anastasiou
Hello Timothy What is the MP3 API that you are using? It probably has a "Play" function that is synchronous, or a polling function to check for the end of a song, or it could even have a callback for that purpose. GTKs timeouts could be used for this purpose but first check the MP3 API. All the

gtk_widget_show

2005-04-13 Thread trupthi n t
Hi, I am working on gtk+1.2.10 redhat linux. How do i use gtk_widget_show. When i used it in the following program i got the following error: [EMAIL PROTECTED] test]# make gcc `gtk-config --cflags` foc.c -o foc `gtk-config --libs` [EMAIL PROTECTED] test]# ./foc

Re: GTK Coding Conventions

2005-04-13 Thread Rick Sutphin
Hi Stefan, Thanks for the response. I am currently trying to work my way through the GObject turorial; it is somewhat beyond my current coding ability. Is there other ways of coding that would let me write more modular programs that are not as complex as GObject? Thanks, Rick Stefan Kost wrote:

Re: GTK Coding Conventions

2005-04-13 Thread Rick Sutphin
Thanks for the response. I appreciate the suggestion. I was hoping for something along the lines of an object oriented 'HelloWorld' example (I am not a very experinenced coder). I am currently working through the GObject tutorial. Though I was hoping to find something simpler I could use until

Re: GTK Coding Conventions

2005-04-13 Thread Roger Leigh
Rick Sutphin <[EMAIL PROTECTED]> writes: > Thanks for the response. I appreciate the suggestion. I was hoping for > something along the lines of an object oriented 'HelloWorld' example > (I am not a very experinenced coder). > > I am currently working through the GObject tutorial. Though I was > h

Problem with gtk_message dialog_new

2005-04-13 Thread dimitri PIEL
Hi I got a problem with gtk_message_dialog_new function :I pass a gchar* as a parameter to a function for creating message dialog box and it only writes a part of the whole string. In main : ... quick_message (" message bla bla "); ... Function quick_message : void quick_message(gchar *mes

RE: Report Generation

2005-04-13 Thread Eckhoff, Michael A
On Tue, 12 Apr 2005 Abhishek Samuel wrote > I need to generate a report which will have images as well > as some text related to each image in a particular format. > I also need to print the report. > ... > Could someone please give me a few suggestions of how to go about. I suggest you look i

Re: running a function

2005-04-13 Thread Paolo Costabel
Yes, just use gboolean(*timeout_callback)(gpointer data); int tag = gtk_timeout_add( 100, timeout_callback, user_data); to add your function and gtk_timeout_remove(tag); to turn it off. timothy johnson wrote: I am new to gtk, and trying my hand at writing a mp3player, I am working on th

Adding i18n support to gtk+ app

2005-04-13 Thread Vladislav Grinchenko
I want to add i18n support to one of my gtk+ apps. There seems to be two ways of doing it: 1. with glib-gettextize 2. with autopoint glib-gettextize doesn't create neither intl/ nor m4/ directories, but po/Makefile.in.in it generates is incomplete (CATALOGS and MSGMERGE are not set) and running '

Re: running a function

2005-04-13 Thread Stefan Kost
Hi timothy check out gstreamer [1]. It has an eos signal that gets emited at the end of stream. Stefan [1] http://gstreamer.freedesktop.net I am new to gtk, and trying my hand at writing a mp3player, I am working on the point of the player that when one song is done playing it will load and play t

A grid with gtk

2005-04-13 Thread Giovanni Manenti
Hi, I'm using GtkSheet from GtkExtra because I need to use grids in my application. There is another widget like GtkSheet in gtk? Giovanni ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-de

Re: A grid with gtk

2005-04-13 Thread Hubert Sokolowski
Hi. > Hi, I'm using GtkSheet from GtkExtra because I need to use grids in my > application. There is another widget like GtkSheet in gtk? > you can always use plain GtkTreeView for grids. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: A grid with gtk

2005-04-13 Thread Stefan Kost
Hi Hubert, not really. GtkTreeView 1.) misses a selection mode for rectangualr areas. 2.) can't show row-headings (like the columns headers) Apart - anyone knows who is maintaing the TreeView widget and if possibly the one has becom less involved? Stefan Hi. Hi, I'm using GtkSheet from GtkExtra