,
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
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
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
), 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
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
. 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
-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
() ?
Ciao,
zz
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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
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
) != 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
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 =
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
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
{
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.
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
);
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
(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
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,
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
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
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
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
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
-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
-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
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.
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.
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
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 ?
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
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.
32 matches
Mail list logo