Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-16 Thread Tristan Van Berkom
On Tue, Jan 17, 2012 at 10:53 AM, Gary Kline wrote: > On Sun, Jan 15, 2012 at 10:46:21PM +0100, David Ne??as wrote: >> Date: Sun, 15 Jan 2012 22:46:21 +0100 >> From: David Ne??as >> Subject: Re: any easy way of having a YES/NO dialog return a 1 or 0? >> To: Gary Kline >> Cc: GTK Devel List >> >

Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-16 Thread Gary Kline
On Sun, Jan 15, 2012 at 10:46:21PM +0100, David Ne??as wrote: > Date: Sun, 15 Jan 2012 22:46:21 +0100 > From: David Ne??as > Subject: Re: any easy way of having a YES/NO dialog return a 1 or 0? > To: Gary Kline > Cc: GTK Devel List > > On Sun, Jan 15, 2012 at 01:26:53PM -0800, Gary Kline wrote:

Re: Re : Iconview stock items

2012-01-16 Thread Neil Munro
On 16 January 2012 19:01, Nicolas SOUBEIRAN wrote: > Use gtk_widget_render_icon_pixbuf > If you need a custom size, you may look after gtk_icon_size_register > > Is this a gtk3 function as I cannot find it as a function of a gtk2 widget: http://www.gtk.org/api/2.6/gtk/GtkWidget.html _

progress bar use

2012-01-16 Thread jcupitt
On Monday, 16 January 2012, Nick Belshaw wrote: > I would like to implement a progress-bar to make clear to users stuff is > happening. > Specifics involve loading and pre-processing of files. Some files might be > very big requiring some 10's of seconds to do all stuff. > At the moment the proces

Re : Iconview stock items

2012-01-16 Thread Nicolas SOUBEIRAN
Use gtk_widget_render_icon_pixbuf If you need a custom size, you may look after gtk_icon_size_register ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

progress bar use

2012-01-16 Thread Nick Belshaw
HI - hope this is the best mailing list... I would like to implement a progress-bar to make clear to users stuff is happening. Specifics involve loading and pre-processing of files. Some files might be very big requiring some 10's of seconds to do all stuff. At the moment the processing of the fil

gtk FilechooserWidget

2012-01-16 Thread John Emmas
I'm working with a Gtk::FileChooserWidget (where the user can select multiple files). Even though multiple selections are possible, as the user selects each file I want to display some information about it in a separate box. But how can I found out which file just got selected? According to th

a problem about gtk_window_set_gravity

2012-01-16 Thread 孙建希
hello everyone: i'm a chinese,my english is poor. when i use gtk_window_set_gravity ,i encount a problem. my source code: #include int main(int argc, const char *argv[]) { GtkWidget *window; gtk_init(&argc,&argv); window=gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk