Re: charset issue on Windows help needed

2014-09-11 Thread zz
, take a look at this code, maybe it helps: ZZ char *file_selector(char *title, GtkFileChooserAction fs_action, gboolean local_only, gboolean show_hidden, char *name, char *folder, char *shortcut_folder) { GtkWidget *dialog; char *tmp

Re: Segmentation fault in creating basic app using GTK+ (with C)

2014-07-14 Thread zz
On Tuesday 01 July 2014 10:39:03 Anoop Neem wrote: Hi, try: p-two = label = gtk_label_new(a); p-one = textEntry = gtk_entry_new() hope this helps, zz ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Re: GTK+2 - GtkFileChooserButton shows (none) as selected folder and crashes

2013-10-20 Thread zz
on xp and win7. if (folder) { tmp = g_locale_to_utf8((folder), -1, NULL, NULL, NULL); gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dialog), tmp); g_free(tmp); } Ciao, zz ___ gtk-app-devel

Re: Invisible GtkImage

2013-06-23 Thread zz
), NULL); Just an idea. Ciao, ZZ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: open an existing file in buffer and write on it

2013-01-30 Thread zz
to be able to manipulate bibtex file fields. So you maybe can call it from your program with the correct args or take a look at the source to see how things are done. Ciao, ZZ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Re: open an existing file in buffer and write on it

2013-01-25 Thread zz
. So I tried to open the file in buffer. But this implementation makes the program crash as soon as enter some value. Please help PS.: at the first glance it seems to me you need a database backend like sqlite to save, store, change and retrieve your data. Ciao, ZZ

Re: edit and use treeview cell

2013-01-24 Thread zz
-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list Hi, i used something like that in gtk2 and it used to work, hope it helps and is understandable as my code is sometimes a little bit convoluted as I'm self-taught, Ciao, ZZ static void

Re: oops

2012-02-29 Thread zz
() ? Ciao, zz ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: need help getting this right

2012-02-26 Thread zz
of vertical space between my three or four horizontal bars. i've tried the 'separator' bar. no joy, at least AFAICT. thanks much in advance, gary Hi, gtk_widget_set_usize (GTK_WIDGET (hscale), 200, -1); works for me. Ciao, zz ___ gtk-app-devel

Re: gtk 2.24 on Windows

2012-01-27 Thread zz
On Friday 27 January 2012 22:11:52 Allin Cottrell wrote: For a long time I've built the Windows version of my app against gtk 2.16 (and included the corresponding runtime in the app's installer). After hearing of progress with gtk 2.24 on Windows I thought I'd give that a try, so today I

Re: Strange glibc detected invalid pointer with gtk_entry

2011-07-05 Thread zz
) != TRUE) { tmp = g_locale_to_utf8(data, -1, NULL, NULL, NULL); gtk_entry_set_text(entry, tmp); xfree(tmp); } else { gtk_entry_set_text(entry, data); } } Hope this helps. ZZ

Re: Strange glibc detected invalid pointer with gtk_entry

2011-07-05 Thread zz
On Tuesday 05 July 2011 16:19:00 Emmanuele Bassi wrote: On 2011-07-05 at 15:05, z...@excite.it wrote: void my_gtk_entry_set_text(GtkEntry *entry, char *data) { char *tmp; if (!data) data = ; if (g_utf8_validate(data, -1, NULL) != TRUE) { tmp =

Re: How to make a simple beep?

2009-03-10 Thread zz
and want to make a simple beep -- like the Windows Beep function which takes a frequency (in Hz) and a duration (in milliseconds). Does anyone have a place to point me? TIA -Garth Hi, gdk_beep(); Ciao, ZZ ___ gtk-app-devel-list mailing list

Gtkfilechooser question

2008-08-23 Thread zz
Hi, i'm facing a problem in the use of the gtk_file_chooser_dialog. I'm developing a frontend for an antivirus scanner and i need to pass to the scanner the path of the file OR folder to scan. At the moment due to the nature of the GtkFileChooserAction typedef enum {

Re: Gtkfilechooser question

2008-08-23 Thread zz
On Saturday 23 August 2008 15:26:55 Martin (OpenGeoMap) wrote: Hi: GTK_FILE_CHOOSER_ACTION_SELECT_FILE_FOLDER action but i doubt the gtk people will implement it for me :-). I don`t see any reason to implement that in gtk. I believe you have design your own widget Regards.

Re: Embedded Gtk+ system: HTML display

2008-07-21 Thread zz
Hi, you could take a look at the old gtk1 based dillo web browser. dillo is quite good for simple html like help or man pages. You can find an enhanced version at http://teki.jpn.ph/pc/software/index-e.shtml Ciao, ZZ On Monday 21 July 2008 21:13:52 John Boncek wrote: In an embedded ARM-based

Re: How to make gtktextview automatically scroll to cursor?

2008-05-19 Thread zz
); gtk_tree_path_free(path); } Ciao, ZZ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to make gtktextview automatically scroll to cursor?

2008-05-19 Thread zz
(GTK_TREE_VIEW(tree), path, NULL, TRUE, 0.0, 0.0); gtk_tree_path_free(path); } Ciao, ZZ Sorry for the noise, mis-read gtktextview as gtktreeeview ciao, zz ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Locale definitions, dots and commas

2008-03-12 Thread zz
On Wednesday 12 March 2008 17:31:32 Andrew W. Nosenko wrote: On Wed, Mar 12, 2008 at 6:09 PM, Carlos Pereira [EMAIL PROTECTED] wrote: Thanks for your answers, I realize this is not Gtk stuff, but certainly affects every GTK app involving decimal numbers... After setting in my .bashrc,

Re: GtkFileChooserDialog and GtkFileChooser problem

2007-11-13 Thread zz
On Monday 12 November 2007 23:24:51 [EMAIL PROTECTED] wrote: Hi, I'm experiencing a little problem with GtkFileChooserDialog and GtkFileChooser: I'm writing an app that needs to select a path to operate on it. This path could be a file or a directory (to be handled recursively). While it was

GtkFileChooserDialog and GtkFileChooser problem

2007-11-12 Thread zz
Hi, I'm experiencing a little problem with GtkFileChooserDialog and GtkFileChooser: I'm writing an app that needs to select a path to operate on it. This path could be a file or a directory (to be handled recursively). While it was possible to select a file OR a directory with the old

Re: Editing in GtkTreeView - Automatic Edit and Unwanted Edit Box?

2007-08-19 Thread zz
On Sunday 19 August 2007 18:34:32 David Nečas wrote: On Sun, Aug 19, 2007 at 05:16:49PM +0100, Tony Cowderoy wrote: First question - is there any (preferably easy) way with a GtkTreeView to make any editable cell that is selected automatically enter edit mode and automatically commit

Re: SIGINT with gtk_main

2007-03-21 Thread zz
On Wednesday 21 March 2007 18:50:38 Michiel Jan Laurens de Hoon wrote: For my application, I need to run gtk_main but I want to quit gtk_main when either input is available on stdin or the user presses Ctrl-C. The former is easy (using g_io_add_watch), but I am not sure what the best

Re: Glade-2 and deprecated gdk_pixbuf_unref() call / Glade-3

2006-12-27 Thread zz
On Wednesday 27 December 2006 20:23, Daniel Yek wrote: Hi, Glade-3 was released as stable a few months ago, right? I saw http://glade.gnome.org stated that Glade-3 requires GTK+ 2.8. Does it mean that the resulting application requires GTK+2.8 too? Or was it a requirement for the

Re: help on scrollbars

2006-08-30 Thread zz
-Messaggio Originale- From: Paul Pogonyshev Sent: 29/8/2006 8:25:05 PM To: gtk-app-devel-list@gnome.org Cc: [EMAIL PROTECTED] Subject: Re: help on scrollbars [EMAIL PROTECTED] wrote: Hi, I'm working on an app and I'm facing the need to access the button at the end of a vertical

Re: help on scrollbars

2006-08-30 Thread zz
-Messaggio Originale- From: David Neèas \(Yeti\) Sent: 29/8/2006 6:38:20 PM To: gtk-app-devel-list@gnome.org Subject: Re: help on scrollbars On Tue, Aug 29, 2006 at 02:11:09PM +0200, [EMAIL PROTECTED] wrote: I'm working on an app and I'm facing the need to access the button at the end

help on scrollbars

2006-08-29 Thread zz
Hi, I'm working on an app and I'm facing the need to access the button at the end of a vertical scrollbar of a scrolled window to do something like a gtk_button_clicked() to ensure that the widget (a treeview) contained in it gets scrolled to the end with whatever screen resolution is used.

Help about GtkTreeViewColumn

2006-07-24 Thread zz
Hi, I'm developing an app that uses a mysql database so I'm doing a lot of work with tree views. Now I'm wondering if it is possible to align the text in the cells of the single columns of the tree view in the same way you can do it with the headers.

Re: callback and menu item

2006-03-31 Thread zz
On Thursday 30 March 2006 14:49, Jerome Le Saux wrote: 2006/3/30, [EMAIL PROTECTED] [EMAIL PROTECTED]: On Thursday 30 March 2006 12:15, Jerome Le Saux wrote: If you want to do this at program startup you have to call OnOpenDskFile by yourself in main() Ciao, Tito Thanks for

Re: callback and menu item

2006-03-30 Thread zz
On Thursday 30 March 2006 12:15, Jerome Le Saux wrote: If you want to do this at program startup you have to call OnOpenDskFile by yourself in main() Ciao, Tito I want to fill the DirList Widget in the OnOpenDskFile function and to be displayed in the scrolled_window. What's wrong ?

Question about gtk_file_selection_new

2006-03-19 Thread zz
Hi, is there a way to make file selection dialog box created with gtk_file_selection_new also display hidden files?? I RTFM and studied the source but was not able to figure it out. Thanks in advance for your time. Tito ___ gtk-app-devel-list

Re: Question about gtk_file_selection_new

2006-03-19 Thread zz
On Sunday 19 March 2006 14:27, you wrote: Am Sonntag, den 19.03.2006, 11:44 +0100 schrieb [EMAIL PROTECTED]: is there a way to make file selection dialog box created with gtk_file_selection_new also display hidden files?? gtk_file_chooser_set_show_hidden. I wonder why you need this, though.