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
"0" and "100" are clear. the rest are displayed as if
> torn [??]; i would like lots of vertical space between my three or
> four horizontal bars. i've tried the 'separator' bar. no joy, at
> least AFAICT.
>
> thank
e that
> vsalue?? if so, how exactly?
>
> scratching my head... -gk.
>
>
>
>
>
Hi,
gtk_adjustment_get_value () ?
Ciao,
zz
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
code is sometimes
a little bit convoluted as I'm self-taught,
Ciao,
ZZ
static void list_edited(GtkCellRendererText * cell, gchar * path_string, gchar
* new_text, gpointer user_data)
{
GtkTreeView *treeview = (GtkTreeView *)user_data;
GtkTreeModel *model;
GtkTreeIter
; directly, an approach that I was advised against. 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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
uot;);
> column = GPOINTER_TO_UINT(columnptr);
>
>
> if (g_ascii_strcasecmp (new_text, "") != 0)
> {
> model = gtk_tree_view_get_model (treeview);
> if (gtk_tree_model_get_iter_from_string (model, &iter, path))
> gtk_list_store_set (GTK
order
events."
g_signal_connect(G_OBJECT(window), "configure-event",
G_CALLBACK(your_callback), 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
remains for “someone”.
>
>
> Did anyone ever experience this bug? Is it reported somewhere? Am I doing
> something wrong in my code?
>
>
>
>
> Thank you!
>
> Ale
Hi,
this worked for me on xp and win7.
if (folder) {
tmp = g_locale_to_utf8(
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
app-devel-list
> >>
> >> Well gchar is a typedef for char so it only supports ascii. I think you'll
> >> probably have to use Win32 API calls on Windows to access multibyte file
> >> names.
> >>
> >> Also according to the documentation you
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 mailin
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, thoug
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 ?
>
>
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
>
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.
gtk_tree_view_column_set_alignment((GtkTreeV
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.
This
<-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
<-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
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
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
> app
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
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
GtkFileSelect
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).
>> Whil
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
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
w_scroll_to_cell(GTK_TREE_VIEW(tree), path, NULL,
TRUE, 0.0, 0.0);
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
model = gtk_tree_view_get_model(GTK_TREE_VIEW(tree));
> path = gtk_tree_model_get_path(GTK_TREE_MODEL(model), &iter);
> gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(tree), path, NULL,
> TRUE, 0.0, 0.0);
> gtk_tree_path_free(pa
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-ba
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
{
GTK_FILE_CHOOSER_ACTION_OPEN
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 wid
n zip it,hand it to my
> teacher so that he can view the application anywhere?
> Thanks for your helps and notices:-D
HI,
maybe what you need is at:
http://www.gtk.org/download-windows.html
and
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-bundle_2.14.6-20081216_win32.zip
Z
;
> Hey All,
>
> I'm running under Ubuntu 8.10 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();
http://www.codeblocks.org/. There you'll find a IDE that can be
installed
both on linux and windows (and on windows comes with a bundled gcc compiler).
For me it worked very well and even allowed to port projetcs from linux to
windows
with minimal effort. if you prefer a newer version of gcc you can find one with
installer at http://tdm-gcc.tdragon.net/.
Hope this helps.
ZZ
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ntry *entry, char *data)
{
char *tmp;
if (!data) data = "";
if (g_utf8_validate(data, -1, NULL) != 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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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) {
> >
35 matches
Mail list logo